/*! This file is auto-generated */
/*!
 * imagesLoaded PACKAGED v4.1.4
 * JavaScript is all like "You images are done yet or what?"
 * MIT License
 */

!function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return n.indexOf(t)==-1&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{},n=i[e]=i[e]||{};return n[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return n!=-1&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],o=0;o<i.length;o++){var r=i[o],s=n&&n[r];s&&(this.off(e,r),delete n[r]),r.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),function(e,t){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(i){return t(e,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter")):e.imagesLoaded=t(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(e,t){function i(e,t){for(var i in t)e[i]=t[i];return e}function n(e){if(Array.isArray(e))return e;var t="object"==typeof e&&"number"==typeof e.length;return t?d.call(e):[e]}function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);var s=e;return"string"==typeof e&&(s=document.querySelectorAll(e)),s?(this.elements=n(s),this.options=i({},this.options),"function"==typeof t?r=t:i(this.options,t),r&&this.on("always",r),this.getImages(),h&&(this.jqDeferred=new h.Deferred),void setTimeout(this.check.bind(this))):void a.error("Bad element for imagesLoaded "+(s||e))}function r(e){this.img=e}function s(e,t){this.url=e,this.element=t,this.img=new Image}var h=e.jQuery,a=e.console,d=Array.prototype.slice;o.prototype=Object.create(t.prototype),o.prototype.options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),this.options.background===!0&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&u[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var r=e.querySelectorAll(this.options.background);for(n=0;n<r.length;n++){var s=r[n];this.addElementBackgroundImages(s)}}}};var u={1:!0,9:!0,11:!0};return o.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,e),n=i.exec(t.backgroundImage)}},o.prototype.addImage=function(e){var t=new r(e);this.images.push(t)},o.prototype.addBackground=function(e,t){var i=new s(e,t);this.images.push(i)},o.prototype.check=function(){function e(e,i,n){setTimeout(function(){t.progress(e,i,n)})}var t=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(t){t.once("progress",e),t.check()}):void this.complete()},o.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&a&&a.log("progress: "+i,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},r.prototype=Object.create(t.prototype),r.prototype.check=function(){var e=this.getIsImageComplete();return e?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},r.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},r.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},r.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},r.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},r.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},r.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype=Object.create(r.prototype),s.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url;var e=this.getIsImageComplete();e&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},s.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},o.makeJQueryPlugin=function(t){t=t||e.jQuery,t&&(h=t,h.fn.imagesLoaded=function(e,t){var i=new o(this,e,t);return i.jqDeferred.promise(h(this))})},o.makeJQueryPlugin(),o});
!(function (e, i) {
  "function" == typeof define && define.amd
    ? define("jquery-bridget/jquery-bridget", ["jquery"], function (t) {
        return i(e, t);
      })
    : "object" == typeof module && module.exports
    ? (module.exports = i(e, require("jquery")))
    : (e.jQueryBridget = i(e, e.jQuery));
})(window, function (t, e) {
  "use strict";
  function i(h, s, c) {
    (c = c || e || t.jQuery) &&
      (s.prototype.option ||
        (s.prototype.option = function (t) {
          c.isPlainObject(t) && (this.options = c.extend(!0, this.options, t));
        }),
      (c.fn[h] = function (t) {
        if ("string" == typeof t) {
          var e = d.call(arguments, 1);
          return (
            (a = e),
            (l = "$()." + h + '("' + (o = t) + '")'),
            (i = this).each(function (t, e) {
              var i = c.data(e, h);
              if (i) {
                var n = i[o];
                if (n && "_" != o.charAt(0)) {
                  var s = n.apply(i, a);
                  r = void 0 === r ? s : r;
                } else u(l + " is not a valid method");
              } else u(h + " not initialized. Cannot call methods, i.e. " + l);
            }),
            void 0 !== r ? r : i
          );
        }
        var i, o, a, r, l, n;
        return (
          (n = t),
          this.each(function (t, e) {
            var i = c.data(e, h);
            i ? (i.option(n), i._init()) : ((i = new s(e, n)), c.data(e, h, i));
          }),
          this
        );
      }),
      n(c));
  }
  function n(t) {
    !t || (t && t.bridget) || (t.bridget = i);
  }
  var d = Array.prototype.slice,
    s = t.console,
    u =
      void 0 === s
        ? function () {}
        : function (t) {
            s.error(t);
          };
  return n(e || t.jQuery), i;
}),
  (function (t, e) {
    "function" == typeof define && define.amd
      ? define("ev-emitter/ev-emitter", e)
      : "object" == typeof module && module.exports
      ? (module.exports = e())
      : (t.EvEmitter = e());
  })("undefined" != typeof window ? window : this, function () {
    function t() {}
    var e = t.prototype;
    return (
      (e.on = function (t, e) {
        if (t && e) {
          var i = (this._events = this._events || {}),
            n = (i[t] = i[t] || []);
          return -1 == n.indexOf(e) && n.push(e), this;
        }
      }),
      (e.once = function (t, e) {
        if (t && e) {
          this.on(t, e);
          var i = (this._onceEvents = this._onceEvents || {});
          return ((i[t] = i[t] || {})[e] = !0), this;
        }
      }),
      (e.off = function (t, e) {
        var i = this._events && this._events[t];
        if (i && i.length) {
          var n = i.indexOf(e);
          return -1 != n && i.splice(n, 1), this;
        }
      }),
      (e.emitEvent = function (t, e) {
        var i = this._events && this._events[t];
        if (i && i.length) {
          (i = i.slice(0)), (e = e || []);
          for (
            var n = this._onceEvents && this._onceEvents[t], s = 0;
            s < i.length;
            s++
          ) {
            var o = i[s];
            n && n[o] && (this.off(t, o), delete n[o]), o.apply(this, e);
          }
          return this;
        }
      }),
      (e.allOff = function () {
        delete this._events, delete this._onceEvents;
      }),
      t
    );
  }),
  (function (t, e) {
    "function" == typeof define && define.amd
      ? define("get-size/get-size", e)
      : "object" == typeof module && module.exports
      ? (module.exports = e())
      : (t.getSize = e());
  })(window, function () {
    "use strict";
    function v(t) {
      var e = parseFloat(t);
      return -1 == t.indexOf("%") && !isNaN(e) && e;
    }
    function _(t) {
      var e = getComputedStyle(t);
      return (
        e ||
          i(
            "Style returned " +
              e +
              ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"
          ),
        e
      );
    }
    function y(t) {
      if (
        ((function () {
          if (!j) {
            j = !0;
            var t = document.createElement("div");
            (t.style.width = "200px"),
              (t.style.padding = "1px 2px 3px 4px"),
              (t.style.borderStyle = "solid"),
              (t.style.borderWidth = "1px 2px 3px 4px"),
              (t.style.boxSizing = "border-box");
            var e = document.body || document.documentElement;
            e.appendChild(t);
            var i = _(t);
            (w = 200 == Math.round(v(i.width))),
              (y.isBoxSizeOuter = w),
              e.removeChild(t);
          }
        })(),
        "string" == typeof t && (t = document.querySelector(t)),
        t && "object" == typeof t && t.nodeType)
      ) {
        var e = _(t);
        if ("none" == e.display)
          return (function () {
            for (
              var t = {
                  width: 0,
                  height: 0,
                  innerWidth: 0,
                  innerHeight: 0,
                  outerWidth: 0,
                  outerHeight: 0,
                },
                e = 0;
              e < x;
              e++
            )
              t[b[e]] = 0;
            return t;
          })();
        var i = {};
        (i.width = t.offsetWidth), (i.height = t.offsetHeight);
        for (
          var n = (i.isBorderBox = "border-box" == e.boxSizing), s = 0;
          s < x;
          s++
        ) {
          var o = b[s],
            a = e[o],
            r = parseFloat(a);
          i[o] = isNaN(r) ? 0 : r;
        }
        var l = i.paddingLeft + i.paddingRight,
          h = i.paddingTop + i.paddingBottom,
          c = i.marginLeft + i.marginRight,
          d = i.marginTop + i.marginBottom,
          u = i.borderLeftWidth + i.borderRightWidth,
          p = i.borderTopWidth + i.borderBottomWidth,
          f = n && w,
          g = v(e.width);
        !1 !== g && (i.width = g + (f ? 0 : l + u));
        var m = v(e.height);
        return (
          !1 !== m && (i.height = m + (f ? 0 : h + p)),
          (i.innerWidth = i.width - (l + u)),
          (i.innerHeight = i.height - (h + p)),
          (i.outerWidth = i.width + c),
          (i.outerHeight = i.height + d),
          i
        );
      }
    }
    var w,
      i =
        "undefined" == typeof console
          ? function () {}
          : function (t) {
              console.error(t);
            },
      b = [
        "paddingLeft",
        "paddingRight",
        "paddingTop",
        "paddingBottom",
        "marginLeft",
        "marginRight",
        "marginTop",
        "marginBottom",
        "borderLeftWidth",
        "borderRightWidth",
        "borderTopWidth",
        "borderBottomWidth",
      ],
      x = b.length,
      j = !1;
    return y;
  }),
  (function (t, e) {
    "use strict";
    "function" == typeof define && define.amd
      ? define("desandro-matches-selector/matches-selector", e)
      : "object" == typeof module && module.exports
      ? (module.exports = e())
      : (t.matchesSelector = e());
  })(window, function () {
    "use strict";
    var i = (function () {
      var t = window.Element.prototype;
      if (t.matches) return "matches";
      if (t.matchesSelector) return "matchesSelector";
      for (var e = ["webkit", "moz", "ms", "o"], i = 0; i < e.length; i++) {
        var n = e[i] + "MatchesSelector";
        if (t[n]) return n;
      }
    })();
    return function (t, e) {
      return t[i](e);
    };
  }),
  (function (e, i) {
    "function" == typeof define && define.amd
      ? define("fizzy-ui-utils/utils", [
          "desandro-matches-selector/matches-selector",
        ], function (t) {
          return i(e, t);
        })
      : "object" == typeof module && module.exports
      ? (module.exports = i(e, require("desandro-matches-selector")))
      : (e.fizzyUIUtils = i(e, e.matchesSelector));
  })(window, function (h, o) {
    var c = {
        extend: function (t, e) {
          for (var i in e) t[i] = e[i];
          return t;
        },
        modulo: function (t, e) {
          return ((t % e) + e) % e;
        },
      },
      e = Array.prototype.slice;
    (c.makeArray = function (t) {
      return Array.isArray(t)
        ? t
        : null == t
        ? []
        : "object" == typeof t && "number" == typeof t.length
        ? e.call(t)
        : [t];
    }),
      (c.removeFrom = function (t, e) {
        var i = t.indexOf(e);
        -1 != i && t.splice(i, 1);
      }),
      (c.getParent = function (t, e) {
        for (; t.parentNode && t != document.body; )
          if (((t = t.parentNode), o(t, e))) return t;
      }),
      (c.getQueryElement = function (t) {
        return "string" == typeof t ? document.querySelector(t) : t;
      }),
      (c.handleEvent = function (t) {
        var e = "on" + t.type;
        this[e] && this[e](t);
      }),
      (c.filterFindElements = function (t, n) {
        t = c.makeArray(t);
        var s = [];
        return (
          t.forEach(function (t) {
            if (t instanceof HTMLElement) {
              if (!n) return void s.push(t);
              o(t, n) && s.push(t);
              for (var e = t.querySelectorAll(n), i = 0; i < e.length; i++)
                s.push(e[i]);
            }
          }),
          s
        );
      }),
      (c.debounceMethod = function (t, e, n) {
        n = n || 100;
        var s = t.prototype[e],
          o = e + "Timeout";
        t.prototype[e] = function () {
          var t = this[o];
          clearTimeout(t);
          var e = arguments,
            i = this;
          this[o] = setTimeout(function () {
            s.apply(i, e), delete i[o];
          }, n);
        };
      }),
      (c.docReady = function (t) {
        var e = document.readyState;
        "complete" == e || "interactive" == e
          ? setTimeout(t)
          : document.addEventListener("DOMContentLoaded", t);
      }),
      (c.toDashed = function (t) {
        return t
          .replace(/(.)([A-Z])/g, function (t, e, i) {
            return e + "-" + i;
          })
          .toLowerCase();
      });
    var d = h.console;
    return (
      (c.htmlInit = function (r, l) {
        c.docReady(function () {
          var t = c.toDashed(l),
            s = "data-" + t,
            e = document.querySelectorAll("[" + s + "]"),
            i = document.querySelectorAll(".js-" + t),
            n = c.makeArray(e).concat(c.makeArray(i)),
            o = s + "-options",
            a = h.jQuery;
          n.forEach(function (e) {
            var t,
              i = e.getAttribute(s) || e.getAttribute(o);
            try {
              t = i && JSON.parse(i);
            } catch (t) {
              return void (
                d &&
                d.error("Error parsing " + s + " on " + e.className + ": " + t)
              );
            }
            var n = new r(e, t);
            a && a.data(e, l, n);
          });
        });
      }),
      c
    );
  }),
  (function (t, e) {
    "function" == typeof define && define.amd
      ? define("outlayer/item", [
          "ev-emitter/ev-emitter",
          "get-size/get-size",
        ], e)
      : "object" == typeof module && module.exports
      ? (module.exports = e(require("ev-emitter"), require("get-size")))
      : ((t.Outlayer = {}), (t.Outlayer.Item = e(t.EvEmitter, t.getSize)));
  })(window, function (t, e) {
    "use strict";
    function i(t, e) {
      t &&
        ((this.element = t),
        (this.layout = e),
        (this.position = { x: 0, y: 0 }),
        this._create());
    }
    var n = document.documentElement.style,
      s = "string" == typeof n.transition ? "transition" : "WebkitTransition",
      o = "string" == typeof n.transform ? "transform" : "WebkitTransform",
      a = {
        WebkitTransition: "webkitTransitionEnd",
        transition: "transitionend",
      }[s],
      r = {
        transform: o,
        transition: s,
        transitionDuration: s + "Duration",
        transitionProperty: s + "Property",
        transitionDelay: s + "Delay",
      },
      l = (i.prototype = Object.create(t.prototype));
    (l.constructor = i),
      (l._create = function () {
        (this._transn = { ingProperties: {}, clean: {}, onEnd: {} }),
          this.css({ position: "absolute" });
      }),
      (l.handleEvent = function (t) {
        var e = "on" + t.type;
        this[e] && this[e](t);
      }),
      (l.getSize = function () {
        this.size = e(this.element);
      }),
      (l.css = function (t) {
        var e = this.element.style;
        for (var i in t) {
          e[r[i] || i] = t[i];
        }
      }),
      (l.getPosition = function () {
        var t = getComputedStyle(this.element),
          e = this.layout._getOption("originLeft"),
          i = this.layout._getOption("originTop"),
          n = t[e ? "left" : "right"],
          s = t[i ? "top" : "bottom"],
          o = parseFloat(n),
          a = parseFloat(s),
          r = this.layout.size;
        -1 != n.indexOf("%") && (o = (o / 100) * r.width),
          -1 != s.indexOf("%") && (a = (a / 100) * r.height),
          (o = isNaN(o) ? 0 : o),
          (a = isNaN(a) ? 0 : a),
          (o -= e ? r.paddingLeft : r.paddingRight),
          (a -= i ? r.paddingTop : r.paddingBottom),
          (this.position.x = o),
          (this.position.y = a);
      }),
      (l.layoutPosition = function () {
        var t = this.layout.size,
          e = {},
          i = this.layout._getOption("originLeft"),
          n = this.layout._getOption("originTop"),
          s = i ? "paddingLeft" : "paddingRight",
          o = i ? "left" : "right",
          a = i ? "right" : "left",
          r = this.position.x + t[s];
        (e[o] = this.getXValue(r)), (e[a] = "");
        var l = n ? "paddingTop" : "paddingBottom",
          h = n ? "top" : "bottom",
          c = n ? "bottom" : "top",
          d = this.position.y + t[l];
        (e[h] = this.getYValue(d)),
          (e[c] = ""),
          this.css(e),
          this.emitEvent("layout", [this]);
      }),
      (l.getXValue = function (t) {
        var e = this.layout._getOption("horizontal");
        return this.layout.options.percentPosition && !e
          ? (t / this.layout.size.width) * 100 + "%"
          : t + "px";
      }),
      (l.getYValue = function (t) {
        var e = this.layout._getOption("horizontal");
        return this.layout.options.percentPosition && e
          ? (t / this.layout.size.height) * 100 + "%"
          : t + "px";
      }),
      (l._transitionTo = function (t, e) {
        this.getPosition();
        var i = this.position.x,
          n = this.position.y,
          s = t == this.position.x && e == this.position.y;
        if ((this.setPosition(t, e), !s || this.isTransitioning)) {
          var o = t - i,
            a = e - n,
            r = {};
          (r.transform = this.getTranslate(o, a)),
            this.transition({
              to: r,
              onTransitionEnd: { transform: this.layoutPosition },
              isCleaning: !0,
            });
        } else this.layoutPosition();
      }),
      (l.getTranslate = function (t, e) {
        return (
          "translate3d(" +
          (t = this.layout._getOption("originLeft") ? t : -t) +
          "px, " +
          (e = this.layout._getOption("originTop") ? e : -e) +
          "px, 0)"
        );
      }),
      (l.goTo = function (t, e) {
        this.setPosition(t, e), this.layoutPosition();
      }),
      (l.moveTo = l._transitionTo),
      (l.setPosition = function (t, e) {
        (this.position.x = parseFloat(t)), (this.position.y = parseFloat(e));
      }),
      (l._nonTransition = function (t) {
        for (var e in (this.css(t.to),
        t.isCleaning && this._removeStyles(t.to),
        t.onTransitionEnd))
          t.onTransitionEnd[e].call(this);
      }),
      (l.transition = function (t) {
        if (parseFloat(this.layout.options.transitionDuration)) {
          var e = this._transn;
          for (var i in t.onTransitionEnd) e.onEnd[i] = t.onTransitionEnd[i];
          for (i in t.to)
            (e.ingProperties[i] = !0), t.isCleaning && (e.clean[i] = !0);
          if (t.from) {
            this.css(t.from);
            this.element.offsetHeight;
            null;
          }
          this.enableTransition(t.to),
            this.css(t.to),
            (this.isTransitioning = !0);
        } else this._nonTransition(t);
      });
    var h =
      "opacity," +
      o.replace(/([A-Z])/g, function (t) {
        return "-" + t.toLowerCase();
      });
    (l.enableTransition = function () {
      if (!this.isTransitioning) {
        var t = this.layout.options.transitionDuration;
        (t = "number" == typeof t ? t + "ms" : t),
          this.css({
            transitionProperty: h,
            transitionDuration: t,
            transitionDelay: this.staggerDelay || 0,
          }),
          this.element.addEventListener(a, this, !1);
      }
    }),
      (l.onwebkitTransitionEnd = function (t) {
        this.ontransitionend(t);
      }),
      (l.onotransitionend = function (t) {
        this.ontransitionend(t);
      });
    var c = { "-webkit-transform": "transform" };
    (l.ontransitionend = function (t) {
      if (t.target === this.element) {
        var e = this._transn,
          i = c[t.propertyName] || t.propertyName;
        if (
          (delete e.ingProperties[i],
          (function (t) {
            for (var e in t) return !1;
            return !0;
          })(e.ingProperties) && this.disableTransition(),
          i in e.clean &&
            ((this.element.style[t.propertyName] = ""), delete e.clean[i]),
          i in e.onEnd)
        )
          e.onEnd[i].call(this), delete e.onEnd[i];
        this.emitEvent("transitionEnd", [this]);
      }
    }),
      (l.disableTransition = function () {
        this.removeTransitionStyles(),
          this.element.removeEventListener(a, this, !1),
          (this.isTransitioning = !1);
      }),
      (l._removeStyles = function (t) {
        var e = {};
        for (var i in t) e[i] = "";
        this.css(e);
      });
    var d = {
      transitionProperty: "",
      transitionDuration: "",
      transitionDelay: "",
    };
    return (
      (l.removeTransitionStyles = function () {
        this.css(d);
      }),
      (l.stagger = function (t) {
        (t = isNaN(t) ? 0 : t), (this.staggerDelay = t + "ms");
      }),
      (l.removeElem = function () {
        this.element.parentNode.removeChild(this.element),
          this.css({ display: "" }),
          this.emitEvent("remove", [this]);
      }),
      (l.remove = function () {
        return s && parseFloat(this.layout.options.transitionDuration)
          ? (this.once("transitionEnd", function () {
              this.removeElem();
            }),
            void this.hide())
          : void this.removeElem();
      }),
      (l.reveal = function () {
        delete this.isHidden, this.css({ display: "" });
        var t = this.layout.options,
          e = {};
        (e[
          this.getHideRevealTransitionEndProperty("visibleStyle")
        ] = this.onRevealTransitionEnd),
          this.transition({
            from: t.hiddenStyle,
            to: t.visibleStyle,
            isCleaning: !0,
            onTransitionEnd: e,
          });
      }),
      (l.onRevealTransitionEnd = function () {
        this.isHidden || this.emitEvent("reveal");
      }),
      (l.getHideRevealTransitionEndProperty = function (t) {
        var e = this.layout.options[t];
        if (e.opacity) return "opacity";
        for (var i in e) return i;
      }),
      (l.hide = function () {
        (this.isHidden = !0), this.css({ display: "" });
        var t = this.layout.options,
          e = {};
        (e[
          this.getHideRevealTransitionEndProperty("hiddenStyle")
        ] = this.onHideTransitionEnd),
          this.transition({
            from: t.visibleStyle,
            to: t.hiddenStyle,
            isCleaning: !0,
            onTransitionEnd: e,
          });
      }),
      (l.onHideTransitionEnd = function () {
        this.isHidden &&
          (this.css({ display: "none" }), this.emitEvent("hide"));
      }),
      (l.destroy = function () {
        this.css({
          position: "",
          left: "",
          right: "",
          top: "",
          bottom: "",
          transition: "",
          transform: "",
        });
      }),
      i
    );
  }),
  (function (s, o) {
    "use strict";
    "function" == typeof define && define.amd
      ? define("outlayer/outlayer", [
          "ev-emitter/ev-emitter",
          "get-size/get-size",
          "fizzy-ui-utils/utils",
          "./item",
        ], function (t, e, i, n) {
          return o(s, t, e, i, n);
        })
      : "object" == typeof module && module.exports
      ? (module.exports = o(
          s,
          require("ev-emitter"),
          require("get-size"),
          require("fizzy-ui-utils"),
          require("./item")
        ))
      : (s.Outlayer = o(
          s,
          s.EvEmitter,
          s.getSize,
          s.fizzyUIUtils,
          s.Outlayer.Item
        ));
  })(window, function (t, e, s, o, n) {
    "use strict";
    function a(t, e) {
      var i = o.getQueryElement(t);
      if (i) {
        (this.element = i),
          h && (this.$element = h(this.element)),
          (this.options = o.extend({}, this.constructor.defaults)),
          this.option(e);
        var n = ++c;
        (this.element.outlayerGUID = n),
          (d[n] = this)._create(),
          this._getOption("initLayout") && this.layout();
      } else l && l.error("Bad element for " + this.constructor.namespace + ": " + (i || t));
    }
    function r(t) {
      function e() {
        t.apply(this, arguments);
      }
      return ((e.prototype = Object.create(t.prototype)).constructor = e);
    }
    var l = t.console,
      h = t.jQuery,
      i = function () {},
      c = 0,
      d = {};
    (a.namespace = "outlayer"),
      (a.Item = n),
      (a.defaults = {
        containerStyle: { position: "relative" },
        initLayout: !0,
        originLeft: !0,
        originTop: !0,
        resize: !0,
        resizeContainer: !0,
        transitionDuration: "0.4s",
        hiddenStyle: { opacity: 0, transform: "scale(0.001)" },
        visibleStyle: { opacity: 1, transform: "scale(1)" },
      });
    var u = a.prototype;
    o.extend(u, e.prototype),
      (u.option = function (t) {
        o.extend(this.options, t);
      }),
      (u._getOption = function (t) {
        var e = this.constructor.compatOptions[t];
        return e && void 0 !== this.options[e]
          ? this.options[e]
          : this.options[t];
      }),
      (a.compatOptions = {
        initLayout: "isInitLayout",
        horizontal: "isHorizontal",
        layoutInstant: "isLayoutInstant",
        originLeft: "isOriginLeft",
        originTop: "isOriginTop",
        resize: "isResizeBound",
        resizeContainer: "isResizingContainer",
      }),
      (u._create = function () {
        this.reloadItems(),
          (this.stamps = []),
          this.stamp(this.options.stamp),
          o.extend(this.element.style, this.options.containerStyle),
          this._getOption("resize") && this.bindResize();
      }),
      (u.reloadItems = function () {
        this.items = this._itemize(this.element.children);
      }),
      (u._itemize = function (t) {
        for (
          var e = this._filterFindItemElements(t),
            i = this.constructor.Item,
            n = [],
            s = 0;
          s < e.length;
          s++
        ) {
          var o = new i(e[s], this);
          n.push(o);
        }
        return n;
      }),
      (u._filterFindItemElements = function (t) {
        return o.filterFindElements(t, this.options.itemSelector);
      }),
      (u.getItemElements = function () {
        return this.items.map(function (t) {
          return t.element;
        });
      }),
      (u.layout = function () {
        this._resetLayout(), this._manageStamps();
        var t = this._getOption("layoutInstant"),
          e = void 0 !== t ? t : !this._isLayoutInited;
        this.layoutItems(this.items, e), (this._isLayoutInited = !0);
      }),
      (u._init = u.layout),
      (u._resetLayout = function () {
        this.getSize();
      }),
      (u.getSize = function () {
        this.size = s(this.element);
      }),
      (u._getMeasurement = function (t, e) {
        var i,
          n = this.options[t];
        n
          ? ("string" == typeof n
              ? (i = this.element.querySelector(n))
              : n instanceof HTMLElement && (i = n),
            (this[t] = i ? s(i)[e] : n))
          : (this[t] = 0);
      }),
      (u.layoutItems = function (t, e) {
        (t = this._getItemsForLayout(t)),
          this._layoutItems(t, e),
          this._postLayout();
      }),
      (u._getItemsForLayout = function (t) {
        return t.filter(function (t) {
          return !t.isIgnored;
        });
      }),
      (u._layoutItems = function (t, i) {
        if ((this._emitCompleteOnItems("layout", t), t && t.length)) {
          var n = [];
          t.forEach(function (t) {
            var e = this._getItemLayoutPosition(t);
            (e.item = t), (e.isInstant = i || t.isLayoutInstant), n.push(e);
          }, this),
            this._processLayoutQueue(n);
        }
      }),
      (u._getItemLayoutPosition = function () {
        return { x: 0, y: 0 };
      }),
      (u._processLayoutQueue = function (t) {
        this.updateStagger(),
          t.forEach(function (t, e) {
            this._positionItem(t.item, t.x, t.y, t.isInstant, e);
          }, this);
      }),
      (u.updateStagger = function () {
        var t = this.options.stagger;
        return null == t
          ? void (this.stagger = 0)
          : ((this.stagger = (function (t) {
              if ("number" == typeof t) return t;
              var e = t.match(/(^\d*\.?\d*)(\w*)/),
                i = e && e[1],
                n = e && e[2];
              return i.length ? (i = parseFloat(i)) * (p[n] || 1) : 0;
            })(t)),
            this.stagger);
      }),
      (u._positionItem = function (t, e, i, n, s) {
        n ? t.goTo(e, i) : (t.stagger(s * this.stagger), t.moveTo(e, i));
      }),
      (u._postLayout = function () {
        this.resizeContainer();
      }),
      (u.resizeContainer = function () {
        if (this._getOption("resizeContainer")) {
          var t = this._getContainerSize();
          t &&
            (this._setContainerMeasure(t.width, !0),
            this._setContainerMeasure(t.height, !1));
        }
      }),
      (u._getContainerSize = i),
      (u._setContainerMeasure = function (t, e) {
        if (void 0 !== t) {
          var i = this.size;
          i.isBorderBox &&
            (t += e
              ? i.paddingLeft +
                i.paddingRight +
                i.borderLeftWidth +
                i.borderRightWidth
              : i.paddingBottom +
                i.paddingTop +
                i.borderTopWidth +
                i.borderBottomWidth),
            (t = Math.max(t, 0)),
            (this.element.style[e ? "width" : "height"] = t + "px");
        }
      }),
      (u._emitCompleteOnItems = function (e, t) {
        function i() {
          s.dispatchEvent(e + "Complete", null, [t]);
        }
        function n() {
          ++a == o && i();
        }
        var s = this,
          o = t.length;
        if (t && o) {
          var a = 0;
          t.forEach(function (t) {
            t.once(e, n);
          });
        } else i();
      }),
      (u.dispatchEvent = function (t, e, i) {
        var n = e ? [e].concat(i) : i;
        if ((this.emitEvent(t, n), h))
          if (((this.$element = this.$element || h(this.element)), e)) {
            var s = h.Event(e);
            (s.type = t), this.$element.trigger(s, i);
          } else this.$element.trigger(t, i);
      }),
      (u.ignore = function (t) {
        var e = this.getItem(t);
        e && (e.isIgnored = !0);
      }),
      (u.unignore = function (t) {
        var e = this.getItem(t);
        e && delete e.isIgnored;
      }),
      (u.stamp = function (t) {
        (t = this._find(t)) &&
          ((this.stamps = this.stamps.concat(t)), t.forEach(this.ignore, this));
      }),
      (u.unstamp = function (t) {
        (t = this._find(t)) &&
          t.forEach(function (t) {
            o.removeFrom(this.stamps, t), this.unignore(t);
          }, this);
      }),
      (u._find = function (t) {
        if (t)
          return (
            "string" == typeof t && (t = this.element.querySelectorAll(t)),
            o.makeArray(t)
          );
      }),
      (u._manageStamps = function () {
        this.stamps &&
          this.stamps.length &&
          (this._getBoundingRect(),
          this.stamps.forEach(this._manageStamp, this));
      }),
      (u._getBoundingRect = function () {
        var t = this.element.getBoundingClientRect(),
          e = this.size;
        this._boundingRect = {
          left: t.left + e.paddingLeft + e.borderLeftWidth,
          top: t.top + e.paddingTop + e.borderTopWidth,
          right: t.right - (e.paddingRight + e.borderRightWidth),
          bottom: t.bottom - (e.paddingBottom + e.borderBottomWidth),
        };
      }),
      (u._manageStamp = i),
      (u._getElementOffset = function (t) {
        var e = t.getBoundingClientRect(),
          i = this._boundingRect,
          n = s(t);
        return {
          left: e.left - i.left - n.marginLeft,
          top: e.top - i.top - n.marginTop,
          right: i.right - e.right - n.marginRight,
          bottom: i.bottom - e.bottom - n.marginBottom,
        };
      }),
      (u.handleEvent = o.handleEvent),
      (u.bindResize = function () {
        t.addEventListener("resize", this), (this.isResizeBound = !0);
      }),
      (u.unbindResize = function () {
        t.removeEventListener("resize", this), (this.isResizeBound = !1);
      }),
      (u.onresize = function () {
        this.resize();
      }),
      o.debounceMethod(a, "onresize", 100),
      (u.resize = function () {
        this.isResizeBound && this.needsResizeLayout() && this.layout();
      }),
      (u.needsResizeLayout = function () {
        var t = s(this.element);
        return this.size && t && t.innerWidth !== this.size.innerWidth;
      }),
      (u.addItems = function (t) {
        var e = this._itemize(t);
        return e.length && (this.items = this.items.concat(e)), e;
      }),
      (u.appended = function (t) {
        var e = this.addItems(t);
        e.length && (this.layoutItems(e, !0), this.reveal(e));
      }),
      (u.prepended = function (t) {
        var e = this._itemize(t);
        if (e.length) {
          var i = this.items.slice(0);
          (this.items = e.concat(i)),
            this._resetLayout(),
            this._manageStamps(),
            this.layoutItems(e, !0),
            this.reveal(e),
            this.layoutItems(i);
        }
      }),
      (u.reveal = function (t) {
        if ((this._emitCompleteOnItems("reveal", t), t && t.length)) {
          var i = this.updateStagger();
          t.forEach(function (t, e) {
            t.stagger(e * i), t.reveal();
          });
        }
      }),
      (u.hide = function (t) {
        if ((this._emitCompleteOnItems("hide", t), t && t.length)) {
          var i = this.updateStagger();
          t.forEach(function (t, e) {
            t.stagger(e * i), t.hide();
          });
        }
      }),
      (u.revealItemElements = function (t) {
        var e = this.getItems(t);
        this.reveal(e);
      }),
      (u.hideItemElements = function (t) {
        var e = this.getItems(t);
        this.hide(e);
      }),
      (u.getItem = function (t) {
        for (var e = 0; e < this.items.length; e++) {
          var i = this.items[e];
          if (i.element == t) return i;
        }
      }),
      (u.getItems = function (t) {
        t = o.makeArray(t);
        var i = [];
        return (
          t.forEach(function (t) {
            var e = this.getItem(t);
            e && i.push(e);
          }, this),
          i
        );
      }),
      (u.remove = function (t) {
        var e = this.getItems(t);
        this._emitCompleteOnItems("remove", e),
          e &&
            e.length &&
            e.forEach(function (t) {
              t.remove(), o.removeFrom(this.items, t);
            }, this);
      }),
      (u.destroy = function () {
        var t = this.element.style;
        (t.height = ""),
          (t.position = ""),
          (t.width = ""),
          this.items.forEach(function (t) {
            t.destroy();
          }),
          this.unbindResize();
        var e = this.element.outlayerGUID;
        delete d[e],
          delete this.element.outlayerGUID,
          h && h.removeData(this.element, this.constructor.namespace);
      }),
      (a.data = function (t) {
        var e = (t = o.getQueryElement(t)) && t.outlayerGUID;
        return e && d[e];
      }),
      (a.create = function (t, e) {
        var i = r(a);
        return (
          (i.defaults = o.extend({}, a.defaults)),
          o.extend(i.defaults, e),
          (i.compatOptions = o.extend({}, a.compatOptions)),
          (i.namespace = t),
          (i.data = a.data),
          (i.Item = r(n)),
          o.htmlInit(i, t),
          h && h.bridget && h.bridget(t, i),
          i
        );
      });
    var p = { ms: 1, s: 1e3 };
    return (a.Item = n), a;
  }),
  (function (t, e) {
    "function" == typeof define && define.amd
      ? define("isotope-layout/js/item", ["outlayer/outlayer"], e)
      : "object" == typeof module && module.exports
      ? (module.exports = e(require("outlayer")))
      : ((t.Isotope = t.Isotope || {}), (t.Isotope.Item = e(t.Outlayer)));
  })(window, function (t) {
    "use strict";
    function e() {
      t.Item.apply(this, arguments);
    }
    var i = (e.prototype = Object.create(t.Item.prototype)),
      n = i._create;
    (i._create = function () {
      (this.id = this.layout.itemGUID++), n.call(this), (this.sortData = {});
    }),
      (i.updateSortData = function () {
        if (!this.isIgnored) {
          (this.sortData.id = this.id),
            (this.sortData["original-order"] = this.id),
            (this.sortData.random = Math.random());
          var t = this.layout.options.getSortData,
            e = this.layout._sorters;
          for (var i in t) {
            var n = e[i];
            this.sortData[i] = n(this.element, this);
          }
        }
      });
    var s = i.destroy;
    return (
      (i.destroy = function () {
        s.apply(this, arguments), this.css({ display: "" });
      }),
      e
    );
  }),
  (function (t, e) {
    "function" == typeof define && define.amd
      ? define("isotope-layout/js/layout-mode", [
          "get-size/get-size",
          "outlayer/outlayer",
        ], e)
      : "object" == typeof module && module.exports
      ? (module.exports = e(require("get-size"), require("outlayer")))
      : ((t.Isotope = t.Isotope || {}),
        (t.Isotope.LayoutMode = e(t.getSize, t.Outlayer)));
  })(window, function (e, i) {
    "use strict";
    function n(t) {
      (this.isotope = t) &&
        ((this.options = t.options[this.namespace]),
        (this.element = t.element),
        (this.items = t.filteredItems),
        (this.size = t.size));
    }
    var s = n.prototype;
    return (
      [
        "_resetLayout",
        "_getItemLayoutPosition",
        "_manageStamp",
        "_getContainerSize",
        "_getElementOffset",
        "needsResizeLayout",
        "_getOption",
      ].forEach(function (t) {
        s[t] = function () {
          return i.prototype[t].apply(this.isotope, arguments);
        };
      }),
      (s.needsVerticalResizeLayout = function () {
        var t = e(this.isotope.element);
        return (
          this.isotope.size &&
          t &&
          t.innerHeight != this.isotope.size.innerHeight
        );
      }),
      (s._getMeasurement = function () {
        this.isotope._getMeasurement.apply(this, arguments);
      }),
      (s.getColumnWidth = function () {
        this.getSegmentSize("column", "Width");
      }),
      (s.getRowHeight = function () {
        this.getSegmentSize("row", "Height");
      }),
      (s.getSegmentSize = function (t, e) {
        var i = t + e,
          n = "outer" + e;
        if ((this._getMeasurement(i, n), !this[i])) {
          var s = this.getFirstItemSize();
          this[i] = (s && s[n]) || this.isotope.size["inner" + e];
        }
      }),
      (s.getFirstItemSize = function () {
        var t = this.isotope.filteredItems[0];
        return t && t.element && e(t.element);
      }),
      (s.layout = function () {
        this.isotope.layout.apply(this.isotope, arguments);
      }),
      (s.getSize = function () {
        this.isotope.getSize(), (this.size = this.isotope.size);
      }),
      (n.modes = {}),
      (n.create = function (t, e) {
        function i() {
          n.apply(this, arguments);
        }
        return (
          ((i.prototype = Object.create(s)).constructor = i),
          e && (i.options = e),
          (n.modes[(i.prototype.namespace = t)] = i)
        );
      }),
      n
    );
  }),
  (function (t, e) {
    "function" == typeof define && define.amd
      ? define("masonry-layout/masonry", [
          "outlayer/outlayer",
          "get-size/get-size",
        ], e)
      : "object" == typeof module && module.exports
      ? (module.exports = e(require("outlayer"), require("get-size")))
      : (t.Masonry = e(t.Outlayer, t.getSize));
  })(window, function (t, h) {
    var e = t.create("masonry");
    e.compatOptions.fitWidth = "isFitWidth";
    var i = e.prototype;
    return (
      (i._resetLayout = function () {
        this.getSize(),
          this._getMeasurement("columnWidth", "outerWidth"),
          this._getMeasurement("gutter", "outerWidth"),
          this.measureColumns(),
          (this.colYs = []);
        for (var t = 0; t < this.cols; t++) this.colYs.push(0);
        (this.maxY = 0), (this.horizontalColIndex = 0);
      }),
      (i.measureColumns = function () {
        if ((this.getContainerWidth(), !this.columnWidth)) {
          var t = this.items[0],
            e = t && t.element;
          this.columnWidth = (e && h(e).outerWidth) || this.containerWidth;
        }
        var i = (this.columnWidth += this.gutter),
          n = this.containerWidth + this.gutter,
          s = n / i,
          o = i - (n % i);
        (s = Math[o && o < 1 ? "round" : "floor"](s)),
          (this.cols = Math.max(s, 1));
      }),
      (i.getContainerWidth = function () {
        var t = this._getOption("fitWidth")
            ? this.element.parentNode
            : this.element,
          e = h(t);
        this.containerWidth = e && e.innerWidth;
      }),
      (i._getItemLayoutPosition = function (t) {
        t.getSize();
        var e = t.size.outerWidth % this.columnWidth,
          i = Math[e && e < 1 ? "round" : "ceil"](
            t.size.outerWidth / this.columnWidth
          );
        i = Math.min(i, this.cols);
        for (
          var n = this[
              this.options.horizontalOrder
                ? "_getHorizontalColPosition"
                : "_getTopColPosition"
            ](i, t),
            s = { x: this.columnWidth * n.col, y: n.y },
            o = n.y + t.size.outerHeight,
            a = i + n.col,
            r = n.col;
          r < a;
          r++
        )
          this.colYs[r] = o;
        return s;
      }),
      (i._getTopColPosition = function (t) {
        var e = this._getTopColGroup(t),
          i = Math.min.apply(Math, e);
        return { col: e.indexOf(i), y: i };
      }),
      (i._getTopColGroup = function (t) {
        if (t < 2) return this.colYs;
        for (var e = [], i = this.cols + 1 - t, n = 0; n < i; n++)
          e[n] = this._getColGroupY(n, t);
        return e;
      }),
      (i._getColGroupY = function (t, e) {
        if (e < 2) return this.colYs[t];
        var i = this.colYs.slice(t, t + e);
        return Math.max.apply(Math, i);
      }),
      (i._getHorizontalColPosition = function (t, e) {
        var i = this.horizontalColIndex % this.cols;
        i = 1 < t && i + t > this.cols ? 0 : i;
        var n = e.size.outerWidth && e.size.outerHeight;
        return (
          (this.horizontalColIndex = n ? i + t : this.horizontalColIndex),
          { col: i, y: this._getColGroupY(i, t) }
        );
      }),
      (i._manageStamp = function (t) {
        var e = h(t),
          i = this._getElementOffset(t),
          n = this._getOption("originLeft") ? i.left : i.right,
          s = n + e.outerWidth,
          o = Math.floor(n / this.columnWidth);
        o = Math.max(0, o);
        var a = Math.floor(s / this.columnWidth);
        (a -= s % this.columnWidth ? 0 : 1), (a = Math.min(this.cols - 1, a));
        for (
          var r =
              (this._getOption("originTop") ? i.top : i.bottom) + e.outerHeight,
            l = o;
          l <= a;
          l++
        )
          this.colYs[l] = Math.max(r, this.colYs[l]);
      }),
      (i._getContainerSize = function () {
        this.maxY = Math.max.apply(Math, this.colYs);
        var t = { height: this.maxY };
        return (
          this._getOption("fitWidth") &&
            (t.width = this._getContainerFitWidth()),
          t
        );
      }),
      (i._getContainerFitWidth = function () {
        for (var t = 0, e = this.cols; --e && 0 === this.colYs[e]; ) t++;
        return (this.cols - t) * this.columnWidth - this.gutter;
      }),
      (i.needsResizeLayout = function () {
        var t = this.containerWidth;
        return this.getContainerWidth(), t != this.containerWidth;
      }),
      e
    );
  }),
  (function (t, e) {
    "function" == typeof define && define.amd
      ? define("isotope-layout/js/layout-modes/masonry", [
          "../layout-mode",
          "masonry-layout/masonry",
        ], e)
      : "object" == typeof module && module.exports
      ? (module.exports = e(
          require("../layout-mode"),
          require("masonry-layout")
        ))
      : e(t.Isotope.LayoutMode, t.Masonry);
  })(window, function (t, e) {
    "use strict";
    var i = t.create("masonry"),
      n = i.prototype,
      s = { _getElementOffset: !0, layout: !0, _getMeasurement: !0 };
    for (var o in e.prototype) s[o] || (n[o] = e.prototype[o]);
    var a = n.measureColumns;
    n.measureColumns = function () {
      (this.items = this.isotope.filteredItems), a.call(this);
    };
    var r = n._getOption;
    return (
      (n._getOption = function (t) {
        return "fitWidth" == t
          ? void 0 !== this.options.isFitWidth
            ? this.options.isFitWidth
            : this.options.fitWidth
          : r.apply(this.isotope, arguments);
      }),
      i
    );
  }),
  (function (t, e) {
    "function" == typeof define && define.amd
      ? define("isotope-layout/js/layout-modes/fit-rows", ["../layout-mode"], e)
      : "object" == typeof exports
      ? (module.exports = e(require("../layout-mode")))
      : e(t.Isotope.LayoutMode);
  })(window, function (t) {
    "use strict";
    var e = t.create("fitRows"),
      i = e.prototype;
    return (
      (i._resetLayout = function () {
        (this.x = 0),
          (this.y = 0),
          (this.maxY = 0),
          this._getMeasurement("gutter", "outerWidth");
      }),
      (i._getItemLayoutPosition = function (t) {
        t.getSize();
        var e = t.size.outerWidth + this.gutter,
          i = this.isotope.size.innerWidth + this.gutter;
        0 !== this.x && e + this.x > i && ((this.x = 0), (this.y = this.maxY));
        var n = { x: this.x, y: this.y };
        return (
          (this.maxY = Math.max(this.maxY, this.y + t.size.outerHeight)),
          (this.x += e),
          n
        );
      }),
      (i._getContainerSize = function () {
        return { height: this.maxY };
      }),
      e
    );
  }),
  (function (t, e) {
    "function" == typeof define && define.amd
      ? define("isotope-layout/js/layout-modes/vertical", ["../layout-mode"], e)
      : "object" == typeof module && module.exports
      ? (module.exports = e(require("../layout-mode")))
      : e(t.Isotope.LayoutMode);
  })(window, function (t) {
    "use strict";
    var e = t.create("vertical", { horizontalAlignment: 0 }),
      i = e.prototype;
    return (
      (i._resetLayout = function () {
        this.y = 0;
      }),
      (i._getItemLayoutPosition = function (t) {
        t.getSize();
        var e =
            (this.isotope.size.innerWidth - t.size.outerWidth) *
            this.options.horizontalAlignment,
          i = this.y;
        return (this.y += t.size.outerHeight), { x: e, y: i };
      }),
      (i._getContainerSize = function () {
        return { height: this.y };
      }),
      e
    );
  }),
  (function (a, r) {
    "function" == typeof define && define.amd
      ? define([
          "outlayer/outlayer",
          "get-size/get-size",
          "desandro-matches-selector/matches-selector",
          "fizzy-ui-utils/utils",
          "isotope-layout/js/item",
          "isotope-layout/js/layout-mode",
          "isotope-layout/js/layout-modes/masonry",
          "isotope-layout/js/layout-modes/fit-rows",
          "isotope-layout/js/layout-modes/vertical",
        ], function (t, e, i, n, s, o) {
          return r(a, t, e, i, n, s, o);
        })
      : "object" == typeof module && module.exports
      ? (module.exports = r(
          a,
          require("outlayer"),
          require("get-size"),
          require("desandro-matches-selector"),
          require("fizzy-ui-utils"),
          require("isotope-layout/js/item"),
          require("isotope-layout/js/layout-mode"),
          require("isotope-layout/js/layout-modes/masonry"),
          require("isotope-layout/js/layout-modes/fit-rows"),
          require("isotope-layout/js/layout-modes/vertical")
        ))
      : (a.Isotope = r(
          a,
          a.Outlayer,
          a.getSize,
          a.matchesSelector,
          a.fizzyUIUtils,
          a.Isotope.Item,
          a.Isotope.LayoutMode
        ));
  })(window, function (t, i, e, n, o, s, a) {
    var r = t.jQuery,
      h = String.prototype.trim
        ? function (t) {
            return t.trim();
          }
        : function (t) {
            return t.replace(/^\s+|\s+$/g, "");
          },
      c = i.create("isotope", {
        layoutMode: "masonry",
        isJQueryFiltering: !0,
        sortAscending: !0,
      });
    (c.Item = s), (c.LayoutMode = a);
    var l = c.prototype;
    (l._create = function () {
      for (var t in ((this.itemGUID = 0),
      (this._sorters = {}),
      this._getSorters(),
      i.prototype._create.call(this),
      (this.modes = {}),
      (this.filteredItems = this.items),
      (this.sortHistory = ["original-order"]),
      a.modes))
        this._initLayoutMode(t);
    }),
      (l.reloadItems = function () {
        (this.itemGUID = 0), i.prototype.reloadItems.call(this);
      }),
      (l._itemize = function () {
        for (
          var t = i.prototype._itemize.apply(this, arguments), e = 0;
          e < t.length;
          e++
        ) {
          t[e].id = this.itemGUID++;
        }
        return this._updateItemsSortData(t), t;
      }),
      (l._initLayoutMode = function (t) {
        var e = a.modes[t],
          i = this.options[t] || {};
        (this.options[t] = e.options ? o.extend(e.options, i) : i),
          (this.modes[t] = new e(this));
      }),
      (l.layout = function () {
        return !this._isLayoutInited && this._getOption("initLayout")
          ? void this.arrange()
          : void this._layout();
      }),
      (l._layout = function () {
        var t = this._getIsInstant();
        this._resetLayout(),
          this._manageStamps(),
          this.layoutItems(this.filteredItems, t),
          (this._isLayoutInited = !0);
      }),
      (l.arrange = function (t) {
        this.option(t), this._getIsInstant();
        var e = this._filter(this.items);
        (this.filteredItems = e.matches),
          this._bindArrangeComplete(),
          this._isInstant
            ? this._noTransition(this._hideReveal, [e])
            : this._hideReveal(e),
          this._sort(),
          this._layout();
      }),
      (l._init = l.arrange),
      (l._hideReveal = function (t) {
        this.reveal(t.needReveal), this.hide(t.needHide);
      }),
      (l._getIsInstant = function () {
        var t = this._getOption("layoutInstant"),
          e = void 0 !== t ? t : !this._isLayoutInited;
        return (this._isInstant = e);
      }),
      (l._bindArrangeComplete = function () {
        function t() {
          e &&
            i &&
            n &&
            s.dispatchEvent("arrangeComplete", null, [s.filteredItems]);
        }
        var e,
          i,
          n,
          s = this;
        this.once("layoutComplete", function () {
          (e = !0), t();
        }),
          this.once("hideComplete", function () {
            (i = !0), t();
          }),
          this.once("revealComplete", function () {
            (n = !0), t();
          });
      }),
      (l._filter = function (t) {
        var e = this.options.filter;
        e = e || "*";
        for (
          var i = [], n = [], s = [], o = this._getFilterTest(e), a = 0;
          a < t.length;
          a++
        ) {
          var r = t[a];
          if (!r.isIgnored) {
            var l = o(r);
            l && i.push(r),
              l && r.isHidden ? n.push(r) : l || r.isHidden || s.push(r);
          }
        }
        return { matches: i, needReveal: n, needHide: s };
      }),
      (l._getFilterTest = function (e) {
        return r && this.options.isJQueryFiltering
          ? function (t) {
              return r(t.element).is(e);
            }
          : "function" == typeof e
          ? function (t) {
              return e(t.element);
            }
          : function (t) {
              return n(t.element, e);
            };
      }),
      (l.updateSortData = function (t) {
        var e;
        t ? ((t = o.makeArray(t)), (e = this.getItems(t))) : (e = this.items),
          this._getSorters(),
          this._updateItemsSortData(e);
      }),
      (l._getSorters = function () {
        var t = this.options.getSortData;
        for (var e in t) {
          var i = t[e];
          this._sorters[e] = d(i);
        }
      }),
      (l._updateItemsSortData = function (t) {
        for (var e = t && t.length, i = 0; e && i < e; i++) {
          t[i].updateSortData();
        }
      });
    var d = function (t) {
      if ("string" != typeof t) return t;
      var e,
        i,
        n = h(t).split(" "),
        s = n[0],
        o = s.match(/^\[(.+)\]$/),
        a = o && o[1],
        r =
          ((i = s),
          (e = a)
            ? function (t) {
                return t.getAttribute(e);
              }
            : function (t) {
                var e = t.querySelector(i);
                return e && e.textContent;
              }),
        l = c.sortDataParsers[n[1]];
      return l
        ? function (t) {
            return t && l(r(t));
          }
        : function (t) {
            return t && r(t);
          };
    };
    (c.sortDataParsers = {
      parseInt: function (t) {
        return parseInt(t, 10);
      },
      parseFloat: function (t) {
        return parseFloat(t);
      },
    }),
      (l._sort = function () {
        if (this.options.sortBy) {
          var t = o.makeArray(this.options.sortBy);
          this._getIsSameSortBy(t) ||
            (this.sortHistory = t.concat(this.sortHistory));
          var e =
            ((a = this.sortHistory),
            (r = this.options.sortAscending),
            function (t, e) {
              for (var i = 0; i < a.length; i++) {
                var n = a[i],
                  s = t.sortData[n],
                  o = e.sortData[n];
                if (o < s || s < o)
                  return (
                    (o < s ? 1 : -1) * ((void 0 !== r[n] ? r[n] : r) ? 1 : -1)
                  );
              }
              return 0;
            });
          this.filteredItems.sort(e);
        }
        var a, r;
      }),
      (l._getIsSameSortBy = function (t) {
        for (var e = 0; e < t.length; e++)
          if (t[e] != this.sortHistory[e]) return !1;
        return !0;
      }),
      (l._mode = function () {
        var t = this.options.layoutMode,
          e = this.modes[t];
        if (!e) throw new Error("No layout mode: " + t);
        return (e.options = this.options[t]), e;
      }),
      (l._resetLayout = function () {
        i.prototype._resetLayout.call(this), this._mode()._resetLayout();
      }),
      (l._getItemLayoutPosition = function (t) {
        return this._mode()._getItemLayoutPosition(t);
      }),
      (l._manageStamp = function (t) {
        this._mode()._manageStamp(t);
      }),
      (l._getContainerSize = function () {
        return this._mode()._getContainerSize();
      }),
      (l.needsResizeLayout = function () {
        return this._mode().needsResizeLayout();
      }),
      (l.appended = function (t) {
        var e = this.addItems(t);
        if (e.length) {
          var i = this._filterRevealAdded(e);
          this.filteredItems = this.filteredItems.concat(i);
        }
      }),
      (l.prepended = function (t) {
        var e = this._itemize(t);
        if (e.length) {
          this._resetLayout(), this._manageStamps();
          var i = this._filterRevealAdded(e);
          this.layoutItems(this.filteredItems),
            (this.filteredItems = i.concat(this.filteredItems)),
            (this.items = e.concat(this.items));
        }
      }),
      (l._filterRevealAdded = function (t) {
        var e = this._filter(t);
        return (
          this.hide(e.needHide),
          this.reveal(e.matches),
          this.layoutItems(e.matches, !0),
          e.matches
        );
      }),
      (l.insert = function (t) {
        var e = this.addItems(t);
        if (e.length) {
          var i,
            n,
            s = e.length;
          for (i = 0; i < s; i++)
            (n = e[i]), this.element.appendChild(n.element);
          var o = this._filter(e).matches;
          for (i = 0; i < s; i++) e[i].isLayoutInstant = !0;
          for (this.arrange(), i = 0; i < s; i++) delete e[i].isLayoutInstant;
          this.reveal(o);
        }
      });
    var u = l.remove;
    return (
      (l.remove = function (t) {
        t = o.makeArray(t);
        var e = this.getItems(t);
        u.call(this, t);
        for (var i = e && e.length, n = 0; i && n < i; n++) {
          var s = e[n];
          o.removeFrom(this.filteredItems, s);
        }
      }),
      (l.shuffle = function () {
        for (var t = 0; t < this.items.length; t++) {
          this.items[t].sortData.random = Math.random();
        }
        (this.options.sortBy = "random"), this._sort(), this._layout();
      }),
      (l._noTransition = function (t, e) {
        var i = this.options.transitionDuration;
        this.options.transitionDuration = 0;
        var n = t.apply(this, e);
        return (this.options.transitionDuration = i), n;
      }),
      (l.getFilteredItemElements = function () {
        return this.filteredItems.map(function (t) {
          return t.element;
        });
      }),
      c
    );
  }),
  (function (i) {
    "function" == typeof define && define.amd
      ? define(["jquery"], i)
      : "object" == typeof module && module.exports
      ? (module.exports = function (t, e) {
          return (
            void 0 === e &&
              (e =
                "undefined" != typeof window
                  ? require("jquery")
                  : require("jquery")(t)),
            i(e),
            e
          );
        })
      : i(jQuery);
  })(function (r) {
    var s = "okayNav",
      n = {
        parent: "",
        toggle_icon_class: "okayNav__menu-toggle",
        toggle_icon_content: "<span /><span /><span />",
        align_right: !0,
        swipe_enabled: !0,
        threshold: 50,
        resize_delay: 10,
        beforeOpen: function () {},
        afterOpen: function () {},
        beforeClose: function () {},
        afterClose: function () {},
        itemHidden: function () {},
        itemDisplayed: function () {},
      };
    function o(t, e) {
      var i = this;
      (i.options = r.extend({}, n, e)),
        (i.navigation = r(t)),
        (i.document = r(document)),
        (i.window = r(window)),
        "" == i.options.parent &&
          (this.options.parent = this.navigation.parent()),
        (i.nav_open = !1),
        (i.parent_full_width = 0),
        (i.radCoef = 180 / Math.PI),
        (i.sTouch = { x: 0, y: 0 }),
        (i.cTouch = { x: 0, y: 0 }),
        (i.sTime = 0),
        (i.nav_position = 0),
        (i.percent_open = 0),
        (i.nav_moving = !1),
        i.init();
    }
    (o.prototype = {
      init: function () {
        var t = this;
        r("body").addClass("okayNav-loaded"),
          t.navigation
            .addClass("okayNav loaded")
            .children("ul")
            .addClass("okayNav__nav--visible"),
          t.options.align_right
            ? t.navigation
                .append(
                  '<ul class="okayNav__nav--invisible transition-enabled nav-right" />'
                )
                .append(
                  '<a href="#" class="' +
                    t.options.toggle_icon_class +
                    ' okay-invisible">' +
                    t.options.toggle_icon_content +
                    "</a>"
                )
            : t.navigation
                .prepend(
                  '<ul class="okayNav__nav--invisible transition-enabled nav-left" />'
                )
                .prepend(
                  '<a href="#" class="' +
                    t.options.toggle_icon_class +
                    ' okay-invisible">' +
                    t.options.toggle_icon_content +
                    "</a>"
                ),
          (t.nav_visible = t.navigation.children(".okayNav__nav--visible")),
          (t.nav_invisible = t.navigation.children(".okayNav__nav--invisible")),
          (t.toggle_icon = t.navigation.children(
            "." + t.options.toggle_icon_class
          )),
          (t.toggle_icon_width = t.toggle_icon.outerWidth(!0)),
          (t.default_width = t.getChildrenWidth(t.navigation)),
          (t.parent_full_width = r(t.options.parent).outerWidth(!0)),
          (t.last_visible_child_width = 0),
          t.initEvents(),
          t.nav_visible
            .contents()
            .filter(function () {
              return (this.nodeType =
                Node.TEXT_NODE && !1 === /\S/.test(this.nodeValue));
            })
            .remove(),
          1 == t.options.swipe_enabled && t.initSwipeEvents();
      },
      initEvents: function () {
        var i = this;
        i.options.parent.on("click.okayNav", function (t) {
          var e = r(t.target);
          !0 === i.nav_open &&
            0 == e.closest(".okayNav").length &&
            i.closeInvisibleNav(),
            e.hasClass(i.options.toggle_icon_class) &&
              (t.preventDefault(), i.toggleInvisibleNav());
        }),
          r(document).on("mouseup.okayNav", function (t) {
            r(t.target);
            0 < !r(t.target).parents(".okayNav").length &&
              i.closeInvisibleNav();
          });
        var t = i._debounce(function () {
          i.recalcNav();
        }, i.options.recalc_delay);
        i.window.on("load.okayNav ready.okayNav resize.okayNav", t),
          r(document).on("ready.okayNav", t),
          t();
      },
      initSwipeEvents: function () {
        var i = this;
        i.document
          .on("touchstart.okayNav", function (t) {
            if (
              (i.nav_invisible.removeClass("transition-enabled"),
              1 == t.originalEvent.touches.length)
            ) {
              var e = t.originalEvent.touches[0];
              ((e.pageX < 25 && 0 == i.options.align_right) ||
                (e.pageX > r(i.options.parent).outerWidth(!0) - 25 &&
                  1 == i.options.align_right) ||
                !0 === i.nav_open) &&
                ((i.sTouch.x = i.cTouch.x = e.pageX),
                (i.sTouch.y = i.cTouch.y = e.pageY),
                (i.sTime = Date.now()));
            }
          })
          .on("touchmove.okayNav", function (t) {
            var e = t.originalEvent.touches[0];
            i._triggerMove(e.pageX, e.pageY), (i.nav_moving = !0);
          })
          .on("touchend.okayNav", function (t) {
            (i.sTouch = { x: 0, y: 0 }),
              (i.cTouch = { x: 0, y: 0 }),
              (i.sTime = 0),
              i.percent_open > 100 - i.options.threshold
                ? ((i.nav_position = 0), i.closeInvisibleNav())
                : 1 == i.nav_moving &&
                  ((i.nav_position = i.nav_invisible.width()),
                  i.openInvisibleNav()),
              (i.nav_moving = !1),
              i.nav_invisible.addClass("transition-enabled");
          });
      },
      _getDirection: function (t) {
        return this.options.align_right ? (0 < t ? -1 : 1) : t < 0 ? -1 : 1;
      },
      _triggerMove: function (t, e) {
        var i = this;
        (i.cTouch.x = t), (i.cTouch.y = e);
        var n = Date.now(),
          s = i.cTouch.x - i.sTouch.x,
          o = i.cTouch.y - i.sTouch.y,
          a = o * o,
          r = Math.sqrt(s * s + a),
          l = Math.sqrt(a),
          h = Math.asin(Math.sin(l / r)) * i.radCoef;
        i.sTime;
        if (((i.sTouch.x = t), (i.sTouch.y = e), h < 20)) {
          var c = i._getDirection(s),
            d = i.nav_position + c * r,
            u = i.nav_invisible.width(),
            p = 0;
          d < 0 ? (p = -d) : u < d && (p = u - d);
          var f = ((u - (i.nav_position + c * r + p)) / u) * 100;
          (i.nav_position += c * r + p), (i.percent_open = f);
        }
      },
      getParent: function () {
        return this.options.parent;
      },
      getVisibleNav: function () {
        return this.nav_visible;
      },
      getInvisibleNav: function () {
        return this.nav_invisible;
      },
      getNavToggleIcon: function () {
        return this.toggle_icon;
      },
      _debounce: function (n, s, o) {
        var a;
        return function () {
          var t = this,
            e = arguments,
            i = o && !a;
          clearTimeout(a),
            (a = setTimeout(function () {
              (a = null), o || n.apply(t, e);
            }, s)),
            i && n.apply(t, e);
        };
      },
      openInvisibleNav: function () {
        var t = this;
        t.options.enable_swipe || t.options.beforeOpen.call(),
          t.toggle_icon.addClass("icon--active"),
          t.nav_invisible.addClass("nav-open"),
          (t.nav_open = !0),
          t.options.afterOpen.call();
      },
      closeInvisibleNav: function () {
        var t = this;
        t.options.enable_swipe || t.options.beforeClose.call(),
          t.toggle_icon.removeClass("icon--active"),
          t.nav_invisible.removeClass("nav-open"),
          (t.nav_open = !1),
          t.options.afterClose.call();
      },
      toggleInvisibleNav: function () {
        this.nav_open ? this.closeInvisibleNav() : this.openInvisibleNav();
      },
      getChildrenWidth: function (t) {
        for (var e = 0, i = r(t).children(), n = 0; n < i.length; n++)
          e += r(i[n]).outerWidth(!0);
        return e;
      },
      getVisibleItemCount: function () {
        return r("li", this.nav_visible).length;
      },
      getHiddenItemCount: function () {
        return r("li", this.nav_invisible).length;
      },
      recalcNav: function () {
        var t = this,
          e = r(t.options.parent).outerWidth(!0),
          i = t.getChildrenWidth(t.options.parent),
          n = t.navigation.outerWidth(!0),
          s = t.getVisibleItemCount(),
          o = t.nav_visible.outerWidth(!0) + t.toggle_icon_width,
          a = i + t.last_visible_child_width + t.toggle_icon_width;
        if (i - n + t.default_width < e)
          return (
            t._expandAllItems(), void t.toggle_icon.addClass("okay-invisible")
          );
        0 < s && n <= o && e <= a && t._collapseNavItem(),
          e > a + t.toggle_icon_width + 15 && t._expandNavItem(),
          0 == t.getHiddenItemCount()
            ? t.toggle_icon.addClass("okay-invisible")
            : t.toggle_icon.removeClass("okay-invisible");
      },
      _collapseNavItem: function () {
        var t = this,
          e = r("li:last-child", t.nav_visible);
        (t.last_visible_child_width = e.outerWidth(!0)),
          t.document.trigger("okayNav:collapseItem", e),
          e.detach().prependTo(t.nav_invisible),
          t.options.itemHidden.call(),
          t.recalcNav();
      },
      _expandNavItem: function () {
        var t = r("li:first-child", this.nav_invisible);
        this.document.trigger("okayNav:expandItem", t),
          t.detach().appendTo(this.nav_visible),
          this.options.itemDisplayed.call();
      },
      _expandAllItems: function () {
        r("li", this.nav_invisible).detach().appendTo(this.nav_visible),
          this.options.itemDisplayed.call();
      },
      _collapseAllItems: function () {
        r("li", this.nav_visible).detach().appendTo(this.nav_invisible),
          this.options.itemHidden.call();
      },
      destroy: function () {
        var t = this;
        r("li", t.nav_invisible).appendTo(t.nav_visible),
          t.nav_invisible.remove(),
          t.nav_visible.removeClass("okayNav__nav--visible"),
          t.toggle_icon.remove(),
          t.document.unbind(".okayNav"),
          t.window.unbind(".okayNav");
      },
    }),
      (r.fn[s] = function (e) {
        var i,
          n = arguments;
        return void 0 === e || "object" == typeof e
          ? this.each(function () {
              r.data(this, "plugin_" + s) ||
                r.data(this, "plugin_" + s, new o(this, e));
            })
          : "string" == typeof e && "_" !== e[0] && "init" !== e
          ? (this.each(function () {
              var t = r.data(this, "plugin_" + s);
              t instanceof o &&
                "function" == typeof t[e] &&
                (i = t[e].apply(t, Array.prototype.slice.call(n, 1))),
                "destroy" === e && r.data(this, "plugin_" + s, null);
            }),
            void 0 !== i ? i : this)
          : void 0;
      });
  }),
  (function (t, e) {
    var i = (function (n, h) {
      "use strict";
      if (!h.getElementsByClassName) return;
      var d,
        c = h.documentElement,
        o = n.Date,
        s = n.HTMLPictureElement,
        a = "addEventListener",
        u = "getAttribute",
        e = n[a],
        p = n.setTimeout,
        i = n.requestAnimationFrame || p,
        r = n.requestIdleCallback,
        f = /^picture$/i,
        l = ["load", "error", "lazyincluded", "_lazyloaded"],
        g = {},
        m = Array.prototype.forEach,
        v = function (t, e) {
          return (
            g[e] || (g[e] = new RegExp("(\\s|^)" + e + "(\\s|$)")),
            g[e].test(t[u]("class") || "") && g[e]
          );
        },
        _ = function (t, e) {
          v(t, e) ||
            t.setAttribute("class", (t[u]("class") || "").trim() + " " + e);
        },
        y = function (t, e) {
          var i;
          (i = v(t, e)) &&
            t.setAttribute("class", (t[u]("class") || "").replace(i, " "));
        },
        w = function (e, i, t) {
          var n = t ? a : "removeEventListener";
          t && w(e, i),
            l.forEach(function (t) {
              e[n](t, i);
            });
        },
        b = function (t, e, i, n, s) {
          var o = h.createEvent("CustomEvent");
          return o.initCustomEvent(e, !n, !s, i || {}), t.dispatchEvent(o), o;
        },
        x = function (t, e) {
          var i;
          !s && (i = n.picturefill || d.pf)
            ? i({ reevaluate: !0, elements: [t] })
            : e && e.src && (t.src = e.src);
        },
        j = function (t, e) {
          return (getComputedStyle(t, null) || {})[e];
        },
        C = function (t, e, i) {
          for (
            i = i || t.offsetWidth;
            i < d.minSize && e && !t._lazysizesWidth;

          )
            (i = e.offsetWidth), (e = e.parentNode);
          return i;
        },
        z =
          ((bt = []),
          (xt = []),
          (jt = function () {
            var t = bt;
            for (bt = xt, wt = !(yt = !0); t.length; ) t.shift()();
            yt = !1;
          }),
          (Ct = function (t, e) {
            yt && !e
              ? t.apply(this, arguments)
              : (bt.push(t), wt || ((wt = !0), (h.hidden ? p : i)(jt)));
          }),
          (Ct._lsFlush = jt),
          Ct),
        t = function (i, t) {
          return t
            ? function () {
                z(i);
              }
            : function () {
                var t = this,
                  e = arguments;
                z(function () {
                  i.apply(t, e);
                });
              };
        },
        T = function (t) {
          var e,
            i,
            n = function () {
              (e = null), t();
            },
            s = function () {
              var t = o.now() - i;
              t < 99 ? p(s, 99 - t) : (r || n)(n);
            };
          return function () {
            (i = o.now()), e || (e = p(s, 99));
          };
        },
        k =
          ((it = /^img$/i),
          (nt = /^iframe$/i),
          (st = "onscroll" in n && !/glebot/.test(navigator.userAgent)),
          (ot = 0),
          (at = 0),
          (rt = -1),
          (lt = function (t) {
            at--,
              t && t.target && w(t.target, lt),
              (!t || at < 0 || !t.target) && (at = 0);
          }),
          (ht = function (t, e) {
            var i,
              n = t,
              s =
                "hidden" == j(h.body, "visibility") ||
                "hidden" != j(t, "visibility");
            for (
              B -= e, Q += e, F -= e, Y += e;
              s && (n = n.offsetParent) && n != h.body && n != c;

            )
              (s = 0 < (j(n, "opacity") || 1)) &&
                "visible" != j(n, "overflow") &&
                ((i = n.getBoundingClientRect()),
                (s =
                  Y > i.left &&
                  F < i.right &&
                  Q > i.top - 1 &&
                  B < i.bottom + 1));
            return s;
          }),
          (ct = function () {
            var t, e, i, n, s, o, a, r, l;
            if (($ = d.loadMode) && at < 8 && (t = L.length)) {
              (e = 0),
                rt++,
                null == U &&
                  ("expand" in d ||
                    (d.expand =
                      500 < c.clientHeight && 500 < c.clientWidth ? 500 : 370),
                  (X = d.expand),
                  (U = X * d.expFactor)),
                ot < U && at < 1 && 2 < rt && 2 < $ && !h.hidden
                  ? ((ot = U), (rt = 0))
                  : (ot = 1 < $ && 1 < rt && at < 6 ? X : 0);
              for (; e < t; e++)
                if (L[e] && !L[e]._lazyRace)
                  if (st)
                    if (
                      (((r = L[e][u]("data-expand")) && (o = 1 * r)) ||
                        (o = ot),
                      l !== o &&
                        ((N = innerWidth + o * G),
                        (q = innerHeight + o),
                        (a = -1 * o),
                        (l = o)),
                      (i = L[e].getBoundingClientRect()),
                      (Q = i.bottom) >= a &&
                        (B = i.top) <= q &&
                        (Y = i.right) >= a * G &&
                        (F = i.left) <= N &&
                        (Q || Y || F || B) &&
                        ((M && at < 3 && !r && ($ < 3 || rt < 4)) ||
                          ht(L[e], o)))
                    ) {
                      if ((vt(L[e]), (s = !0), 9 < at)) break;
                    } else
                      !s &&
                        M &&
                        !n &&
                        at < 4 &&
                        rt < 4 &&
                        2 < $ &&
                        (W[0] || d.preloadAfterLoad) &&
                        (W[0] ||
                          (!r &&
                            (Q ||
                              Y ||
                              F ||
                              B ||
                              "auto" != L[e][u](d.sizesAttr)))) &&
                        (n = W[0] || L[e]);
                  else vt(L[e]);
              n && !s && vt(n);
            }
            ft();
          }),
          (V = ct),
          (J = 0),
          (K = 66),
          (tt = function () {
            (Z = !1), (J = o.now()), V();
          }),
          (et = r
            ? function () {
                r(tt, { timeout: K }), 66 !== K && (K = 66);
              }
            : t(function () {
                p(tt);
              }, !0)),
          (dt = function (t) {
            var e;
            (t = !0 === t) && (K = 44),
              Z ||
                ((Z = !0),
                (e = 125 - (o.now() - J)) < 0 && (e = 0),
                t || (e < 9 && r) ? et() : p(et, e));
          }),
          (ut = function (t) {
            _(t, d.loadedClass), y(t, d.loadingClass), y(t, d.afterLoadedClass);
          }),
          (pt = function (t) {
            _(t.target, d.afterLoadedClass), ft();
          }),
          (ft = function () {
            if (0 < R.length)
              for (
                var t, e, i = d.animateExpand, n = 0, s = 0;
                s < R.length;
                s++
              ) {
                var o = R[s],
                  a = o[u]("data-animate");
                a && (i = a),
                  (t = R[s].getBoundingClientRect()),
                  e !== i &&
                    ((N = innerWidth + i * G),
                    (q = innerHeight + i),
                    (n = -1 * i),
                    (e = i)),
                  (Q = t.bottom) >= n &&
                    (B = t.top) <= q &&
                    (Y = t.right) >= n * G &&
                    (F = t.left) <= N &&
                    (Q || Y || F || B) &&
                    v(o, d.afterLoadedClass) &&
                    ut(o);
              }
          }),
          (gt = function (t) {
            var e,
              i,
              n = t[u](d.srcsetAttr);
            (e = d.customMedia[t[u]("data-media") || t[u]("media")]) &&
              t.setAttribute("media", e),
              n && t.setAttribute("srcset", n),
              e &&
                ((i = t.parentNode).insertBefore(t.cloneNode(), t),
                i.removeChild(t));
          }),
          (mt = t(function (t, e, i, n, s) {
            var o, a, r, l, h, c;
            (h = b(t, "lazybeforeunveil", e)).defaultPrevented ||
              (n && (i ? _(t, d.autosizesClass) : t.setAttribute("sizes", n)),
              (a = t[u](d.srcsetAttr)),
              (o = t[u](d.srcAttr)),
              s && ((r = t.parentNode), (l = r && f.test(r.nodeName || ""))),
              (c = e.firesLoad || ("src" in t && (a || o || l))),
              (h = { target: t }),
              c &&
                (w(t, lt, !0),
                clearTimeout(P),
                (P = p(lt, 2500)),
                _(t, d.loadingClass),
                w(t, pt, !0)),
              l && m.call(r.getElementsByTagName("source"), gt),
              a
                ? t.setAttribute("srcset", a)
                : o &&
                  !l &&
                  (nt.test(t.nodeName)
                    ? (function (e, i) {
                        try {
                          e.contentWindow.location.replace(i);
                        } catch (t) {
                          e.src = i;
                        }
                      })(t, o)
                    : (t.src = o)),
              (a || l) && x(t, { src: o })),
              t._lazyRace && delete t._lazyRace,
              y(t, d.lazyClass),
              z(function () {
                (c &&
                  !(function (t) {
                    if (!t.complete) return !1;
                    if (void 0 !== t.naturalWidth && 0 === t.naturalWidth)
                      return !1;
                    return !0;
                  })(t)) ||
                  (c ? lt(h) : at--);
              }, !0);
          })),
          (vt = function (t) {
            var e,
              i = it.test(t.nodeName),
              n = i && (t[u](d.sizesAttr) || t[u]("sizes")),
              s = "auto" == n;
            ((!s && M) ||
              !i ||
              (!t.src && !t.srcset) ||
              t.complete ||
              v(t, d.errorClass)) &&
              ((e = b(t, "lazyunveilread").detail),
              s && S.updateElem(t, !0, t.offsetWidth),
              (t._lazyRace = !0),
              at++,
              mt(t, e, s, n, i));
          }),
          (_t = function () {
            if (!M)
              if (o.now() - H < 999) p(_t, 999);
              else {
                var t = T(function () {
                  (d.loadMode = 3), dt();
                });
                (M = !0),
                  (d.loadMode = 3),
                  dt(),
                  e(
                    "scroll",
                    function () {
                      3 == d.loadMode && (d.loadMode = 2), t();
                    },
                    !0
                  );
              }
          }),
          {
            _: function () {
              (H = o.now()),
                (L = h.getElementsByClassName(d.lazyClass)),
                (R = h.getElementsByClassName(d.afterLoadedClass)),
                (W = h.getElementsByClassName(
                  d.lazyClass + " " + d.preloadClass
                )),
                (G = d.hFac),
                e("scroll", dt, !0),
                e("resize", dt, !0),
                n.MutationObserver
                  ? new MutationObserver(dt).observe(c, {
                      childList: !0,
                      subtree: !0,
                      attributes: !0,
                    })
                  : (c[a]("DOMNodeInserted", dt, !0),
                    c[a]("DOMAttrModified", dt, !0),
                    setInterval(dt, 999)),
                e("hashchange", dt, !0),
                [
                  "focus",
                  "mouseover",
                  "click",
                  "load",
                  "transitionend",
                  "animationend",
                  "webkitAnimationEnd",
                ].forEach(function (t) {
                  h[a](t, dt, !0);
                }),
                /d$|^c/.test(h.readyState)
                  ? _t()
                  : (e("load", _t), h[a]("DOMContentLoaded", dt), p(_t, 2e4)),
                L.length ? (ct(), z._lsFlush()) : dt();
            },
            checkElems: dt,
            unveil: vt,
          }),
        S =
          ((D = t(function (t, e, i, n) {
            var s, o, a;
            if (
              ((t._lazysizesWidth = n),
              (n += "px"),
              t.setAttribute("sizes", n),
              f.test(e.nodeName || ""))
            )
              for (
                s = e.getElementsByTagName("source"), o = 0, a = s.length;
                o < a;
                o++
              )
                s[o].setAttribute("sizes", n);
            i.detail.dataAttr || x(t, i.detail);
          })),
          (A = function (t, e, i) {
            var n,
              s = t.parentNode;
            s &&
              ((i = C(t, s, i)),
              (n = b(t, "lazybeforesizes", { width: i, dataAttr: !!e }))
                .defaultPrevented ||
                ((i = n.detail.width) &&
                  i !== t._lazysizesWidth &&
                  D(t, s, n, i)));
          }),
          (O = T(function () {
            var t,
              e = I.length;
            if (e) for (t = 0; t < e; t++) A(I[t]);
          })),
          {
            _: function () {
              (I = h.getElementsByClassName(d.autosizesClass)), e("resize", O);
            },
            checkElems: O,
            updateElem: A,
          }),
        E = function () {
          E.i || ((E.i = !0), S._(), k._());
        };
      var I, D, A, O;
      var L,
        W,
        M,
        P,
        $,
        H,
        R,
        N,
        q,
        B,
        F,
        Y,
        Q,
        X,
        U,
        G,
        V,
        Z,
        J,
        K,
        tt,
        et,
        it,
        nt,
        st,
        ot,
        at,
        rt,
        lt,
        ht,
        ct,
        dt,
        ut,
        pt,
        ft,
        gt,
        mt,
        vt,
        _t;
      var yt, wt, bt, xt, jt, Ct;
      return (
        (function () {
          var t,
            e = {
              lazyClass: "lazyload",
              loadedClass: "lazyloaded",
              loadingClass: "lazyloading",
              afterLoadedClass: "afterloading",
              preloadClass: "lazypreload",
              errorClass: "lazyerror",
              autosizesClass: "lazyautosizes",
              srcAttr: "data-src",
              srcsetAttr: "data-srcset",
              sizesAttr: "data-sizes",
              minSize: 40,
              customMedia: {},
              init: !0,
              expFactor: 1.5,
              hFac: 0.8,
              loadMode: 2,
              animateExpand: 0,
            };
          for (t in ((d = n.lazySizesConfig || n.lazysizesConfig || {}), e))
            t in d || (d[t] = e[t]);
          (n.lazySizesConfig = d),
            p(function () {
              d.init && E();
            });
        })(),
        {
          cfg: d,
          autoSizer: S,
          loader: k,
          init: E,
          uP: x,
          aC: _,
          rC: y,
          hC: v,
          fire: b,
          gW: C,
          rAF: z,
        }
      );
    })(t, t.document);
    (t.lazySizes = i),
      "object" == typeof module && module.exports && (module.exports = i);
  })(window),
  (function (t, e) {
    var i = function () {
      e(t.lazySizes), t.removeEventListener("lazyunveilread", i, !0);
    };
    (e = e.bind(null, t, t.document)),
      "object" == typeof module && module.exports
        ? e(require("lazysizes"))
        : t.lazySizes
        ? i()
        : t.addEventListener("lazyunveilread", i, !0);
  })(window, function (t, d, u) {
    "use strict";
    if (t.addEventListener) {
      var p = /\s+/g,
        f = /\s*\|\s+|\s+\|\s*/g,
        g = /^(.+?)(?:\s+\[\s*(.+?)\s*\])?$/,
        s = /\(|\)|'/,
        o = { contain: 1, cover: 1 },
        m = function (t) {
          if (t.target._lazybgset) {
            var e = t.target,
              i = e._lazybgset,
              n = e.currentSrc || e.src;
            n &&
              (i.style.backgroundImage =
                "url(" + (s.test(n) ? JSON.stringify(n) : n) + ")"),
              e._lazybgsetLoading &&
                (u.fire(i, "_lazyloaded", {}, !1, !0),
                delete e._lazybgsetLoading);
          }
        };
      addEventListener("lazybeforeunveil", function (t) {
        var e, i, n, s, o, a, r, l, h, c;
        !t.defaultPrevented &&
          (e = t.target.getAttribute("data-bgset")) &&
          ((n = t.target),
          ((i = d.createElement("img")).alt = ""),
          (i._lazybgsetLoading = !0),
          (t.detail.firesLoad = !0),
          (s = e),
          (o = n),
          (a = i),
          (r = d.createElement("picture")),
          (l = o.getAttribute(lazySizesConfig.sizesAttr)),
          (h = o.getAttribute("data-ratio")),
          (c = o.getAttribute("data-optimumx")),
          o._lazybgset &&
            o._lazybgset.parentNode == o &&
            o.removeChild(o._lazybgset),
          Object.defineProperty(a, "_lazybgset", { value: o, writable: !0 }),
          Object.defineProperty(o, "_lazybgset", { value: r, writable: !0 }),
          (s = s.replace(p, " ").split(f)),
          (r.style.display = "none"),
          (a.className = lazySizesConfig.lazyClass),
          1 != s.length || l || (l = "auto"),
          s.forEach(function (t) {
            var e = d.createElement("source");
            l && "auto" != l && e.setAttribute("sizes", l),
              t.match(g) &&
                (e.setAttribute(lazySizesConfig.srcsetAttr, RegExp.$1),
                RegExp.$2 &&
                  e.setAttribute(
                    "media",
                    lazySizesConfig.customMedia[RegExp.$2] || RegExp.$2
                  )),
              r.appendChild(e);
          }),
          l &&
            (a.setAttribute(lazySizesConfig.sizesAttr, l),
            o.removeAttribute(lazySizesConfig.sizesAttr),
            o.removeAttribute("sizes")),
          c && a.setAttribute("data-optimumx", c),
          h && a.setAttribute("data-ratio", h),
          r.appendChild(a),
          o.appendChild(r),
          setTimeout(function () {
            u.loader.unveil(i),
              u.rAF(function () {
                u.fire(i, "_lazyloaded", {}, !0, !0),
                  i.complete && m({ target: i });
              });
          }));
      }),
        d.addEventListener("load", m, !0),
        t.addEventListener(
          "lazybeforesizes",
          function (t) {
            var e, i;
            if (
              t.detail.instance == u &&
              t.target._lazybgset &&
              t.detail.dataAttr
            ) {
              var n = t.target._lazybgset,
                s =
                  ((e = n),
                  (i = (
                    getComputedStyle(e) || { getPropertyValue: function () {} }
                  ).getPropertyValue("background-size")),
                  !o[i] &&
                    o[e.style.backgroundSize] &&
                    (i = e.style.backgroundSize),
                  i);
              o[s] &&
                ((t.target._lazysizesParentFit = s),
                u.rAF(function () {
                  t.target.setAttribute("data-parent-fit", s),
                    t.target._lazysizesParentFit &&
                      delete t.target._lazysizesParentFit;
                }));
            }
          },
          !0
        ),
        d.documentElement.addEventListener("lazybeforesizes", function (t) {
          var e, i;
          !t.defaultPrevented &&
            t.target._lazybgset &&
            t.detail.instance == u &&
            (t.detail.width =
              ((e = t.target._lazybgset),
              (i = u.gW(e, e.parentNode)),
              (!e._lazysizesWidth || i > e._lazysizesWidth) &&
                (e._lazysizesWidth = i),
              e._lazysizesWidth));
        });
    }
  }),
  (function (t) {
    "function" == typeof define && define.amd
      ? define(["jquery"], t)
      : "object" == typeof exports
      ? (module.exports = t(require("jquery")))
      : t(jQuery);
  })(function (mt) {
    (mt.fn.jScrollPane = function (i) {
      function n(v, t) {
        var _,
          y,
          w,
          b,
          x,
          j,
          C,
          z,
          T,
          k,
          S,
          E,
          I,
          D,
          A,
          O,
          L,
          W,
          M,
          e,
          P,
          $,
          H,
          R,
          N,
          q,
          B,
          F,
          Y,
          Q,
          X,
          U,
          G,
          V,
          Z = this,
          a = !0,
          r = !0,
          l = !1,
          h = !1,
          i = v.clone(!1, !1).empty(),
          J = mt.fn.mwheelIntent ? "mwheelIntent.jsp" : "mousewheel.jsp";
        function K(t) {
          var e,
            i,
            n,
            s,
            o,
            a,
            r,
            l,
            h,
            c,
            d,
            u,
            p,
            f,
            g = !1,
            m = !1;
          if (((_ = t), void 0 === y))
            (o = v.scrollTop()),
              (a = v.scrollLeft()),
              v.css({ overflow: "hidden", padding: 0 }),
              (w = v.innerWidth() + G),
              (b = v.innerHeight()),
              v.width(w),
              (y = mt('<div class="jspPane" />')
                .css("padding", U)
                .append(v.children())),
              (x = mt('<div class="jspContainer" />')
                .css({ width: w + "px", height: b + "px" })
                .append(y)
                .appendTo(v));
          else {
            if (
              (v.css("width", ""),
              (g = _.stickToBottom && 20 < (l = C - b) && l - ft() < 10),
              (m = _.stickToRight && 20 < (r = j - w) && r - pt() < 10),
              (s = v.innerWidth() + G != w || v.outerHeight() != b) &&
                ((w = v.innerWidth() + G),
                (b = v.innerHeight()),
                x.css({ width: w + "px", height: b + "px" })),
              !s && V == j && y.outerHeight() == C)
            )
              return void v.width(w);
            (V = j),
              y.css("width", ""),
              v.width(w),
              x.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end();
          }
          y.css("overflow", "auto"),
            (j = t.contentWidth ? t.contentWidth : y[0].scrollWidth),
            (C = y[0].scrollHeight),
            y.css("overflow", ""),
            (k = 1 < (T = C / b)),
            (S = 1 < (z = j / w)) || k
              ? (v.addClass("jspScrollable"),
                (e = _.maintainPosition && (D || L)) &&
                  ((i = pt()), (n = ft())),
                k &&
                  (x.append(
                    mt('<div class="jspVerticalBar" />').append(
                      mt('<div class="jspCap jspCapTop" />'),
                      mt('<div class="jspTrack" />').append(
                        mt('<div class="jspDrag" />').append(
                          mt('<div class="jspDragTop" />'),
                          mt('<div class="jspDragBottom" />')
                        )
                      ),
                      mt('<div class="jspCap jspCapBottom" />')
                    )
                  ),
                  (W = x.find(">.jspVerticalBar")),
                  (M = W.find(">.jspTrack")),
                  (E = M.find(">.jspDrag")),
                  _.showArrows &&
                    ((H = mt('<a class="jspArrow jspArrowUp" />')
                      .bind("mousedown.jsp", nt(0, -1))
                      .bind("click.jsp", gt)),
                    (R = mt('<a class="jspArrow jspArrowDown" />')
                      .bind("mousedown.jsp", nt(0, 1))
                      .bind("click.jsp", gt)),
                    _.arrowScrollOnHover &&
                      (H.bind("mouseover.jsp", nt(0, -1, H)),
                      R.bind("mouseover.jsp", nt(0, 1, R))),
                    it(M, _.verticalArrowPositions, H, R)),
                  (P = b),
                  x
                    .find(
                      ">.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow"
                    )
                    .each(function () {
                      P -= mt(this).outerHeight();
                    }),
                  E.hover(
                    function () {
                      E.addClass("jspHover");
                    },
                    function () {
                      E.removeClass("jspHover");
                    }
                  ).bind("mousedown.jsp", function (t) {
                    mt("html").bind("dragstart.jsp selectstart.jsp", gt),
                      E.addClass("jspActive");
                    var e = t.pageY - E.position().top;
                    return (
                      mt("html")
                        .bind("mousemove.jsp", function (t) {
                          at(t.pageY - e, !1);
                        })
                        .bind("mouseup.jsp mouseleave.jsp", ot),
                      !1
                    );
                  }),
                  tt()),
                S &&
                  (x.append(
                    mt('<div class="jspHorizontalBar" />').append(
                      mt('<div class="jspCap jspCapLeft" />'),
                      mt('<div class="jspTrack" />').append(
                        mt('<div class="jspDrag" />').append(
                          mt('<div class="jspDragLeft" />'),
                          mt('<div class="jspDragRight" />')
                        )
                      ),
                      mt('<div class="jspCap jspCapRight" />')
                    )
                  ),
                  (N = x.find(">.jspHorizontalBar")),
                  (q = N.find(">.jspTrack")),
                  (A = q.find(">.jspDrag")),
                  _.showArrows &&
                    ((Y = mt('<a class="jspArrow jspArrowLeft" />')
                      .bind("mousedown.jsp", nt(-1, 0))
                      .bind("click.jsp", gt)),
                    (Q = mt('<a class="jspArrow jspArrowRight" />')
                      .bind("mousedown.jsp", nt(1, 0))
                      .bind("click.jsp", gt)),
                    _.arrowScrollOnHover &&
                      (Y.bind("mouseover.jsp", nt(-1, 0, Y)),
                      Q.bind("mouseover.jsp", nt(1, 0, Q))),
                    it(q, _.horizontalArrowPositions, Y, Q)),
                  A.hover(
                    function () {
                      A.addClass("jspHover");
                    },
                    function () {
                      A.removeClass("jspHover");
                    }
                  ).bind("mousedown.jsp", function (t) {
                    mt("html").bind("dragstart.jsp selectstart.jsp", gt),
                      A.addClass("jspActive");
                    var e = t.pageX - A.position().left;
                    return (
                      mt("html")
                        .bind("mousemove.jsp", function (t) {
                          lt(t.pageX - e, !1);
                        })
                        .bind("mouseup.jsp mouseleave.jsp", ot),
                      !1
                    );
                  }),
                  (B = x.innerWidth()),
                  et()),
                (function () {
                  if (S && k) {
                    var t = q.outerHeight(),
                      e = M.outerWidth();
                    (P -= t),
                      mt(N)
                        .find(">.jspCap:visible,>.jspArrow")
                        .each(function () {
                          B += mt(this).outerWidth();
                        }),
                      (B -= e),
                      (b -= e),
                      (w -= t),
                      q
                        .parent()
                        .append(
                          mt('<div class="jspCorner" />').css("width", t + "px")
                        ),
                      tt(),
                      et();
                  }
                  S && y.width(x.outerWidth() - G + "px");
                  (C = y.outerHeight()),
                    (T = C / b),
                    S &&
                      ((F = Math.ceil((1 / z) * B)) > _.horizontalDragMaxWidth
                        ? (F = _.horizontalDragMaxWidth)
                        : F < _.horizontalDragMinWidth &&
                          (F = _.horizontalDragMinWidth),
                      A.width(F + "px"),
                      (O = B - F),
                      ht(L));
                  k &&
                    (($ = Math.ceil((1 / T) * P)) > _.verticalDragMaxHeight
                      ? ($ = _.verticalDragMaxHeight)
                      : $ < _.verticalDragMinHeight &&
                        ($ = _.verticalDragMinHeight),
                    E.height($ + "px"),
                    (I = P - $),
                    rt(D));
                })(),
                e && (dt(m ? j - w : i, !1), ct(g ? C - b : n, !1)),
                y
                  .find(":input,a")
                  .unbind("focus.jsp")
                  .bind("focus.jsp", function (t) {
                    ut(t.target, !1);
                  }),
                x.unbind(J).bind(J, function (t, e, i, n) {
                  L || (L = 0), D || (D = 0);
                  var s = L,
                    o = D,
                    a = t.deltaFactor || _.mouseWheelSpeed;
                  return Z.scrollBy(i * a, -n * a, !1), s == L && o == D;
                }),
                (f = !1),
                x
                  .unbind(
                    "touchstart.jsp touchmove.jsp touchend.jsp click.jsp-touchclick"
                  )
                  .bind("touchstart.jsp", function (t) {
                    var e = t.originalEvent.touches[0];
                    (h = pt()),
                      (c = ft()),
                      (d = e.pageX),
                      (u = e.pageY),
                      (f = !(p = !1));
                  })
                  .bind("touchmove.jsp", function (t) {
                    if (f) {
                      var e = t.originalEvent.touches[0],
                        i = L,
                        n = D;
                      return (
                        Z.scrollTo(h + d - e.pageX, c + u - e.pageY),
                        (p =
                          p ||
                          5 < Math.abs(d - e.pageX) ||
                          5 < Math.abs(u - e.pageY)),
                        i == L && n == D
                      );
                    }
                  })
                  .bind("touchend.jsp", function (t) {
                    f = !1;
                  })
                  .bind("click.jsp-touchclick", function (t) {
                    if (p) return (p = !1);
                  }),
                _.enableKeyboardNavigation &&
                  (function () {
                    var n,
                      s,
                      o = [];
                    S && o.push(N[0]),
                      k && o.push(W[0]),
                      y.bind("focus.jsp", function () {
                        v.focus();
                      }),
                      v
                        .attr("tabindex", 0)
                        .unbind("keydown.jsp keypress.jsp")
                        .bind("keydown.jsp", function (t) {
                          if (
                            t.target === this ||
                            (o.length && mt(t.target).closest(o).length)
                          ) {
                            var e = L,
                              i = D;
                            switch (t.keyCode) {
                              case 40:
                              case 38:
                              case 34:
                              case 32:
                              case 33:
                              case 39:
                              case 37:
                                (n = t.keyCode), a();
                                break;
                              case 35:
                                ct(C - b), (n = null);
                                break;
                              case 36:
                                ct(0), (n = null);
                            }
                            return !(s = (t.keyCode == n && e != L) || i != D);
                          }
                        })
                        .bind("keypress.jsp", function (t) {
                          if (
                            (t.keyCode == n && a(),
                            t.target === this ||
                              (o.length && mt(t.target).closest(o).length))
                          )
                            return !s;
                        }),
                      _.hideFocus
                        ? (v.css("outline", "none"),
                          "hideFocus" in x[0] && v.attr("hideFocus", !0))
                        : (v.css("outline", ""),
                          "hideFocus" in x[0] && v.attr("hideFocus", !1));
                    function a() {
                      var t = L,
                        e = D;
                      switch (n) {
                        case 40:
                          Z.scrollByY(_.keyboardSpeed, !1);
                          break;
                        case 38:
                          Z.scrollByY(-_.keyboardSpeed, !1);
                          break;
                        case 34:
                        case 32:
                          Z.scrollByY(b * _.scrollPagePercent, !1);
                          break;
                        case 33:
                          Z.scrollByY(-b * _.scrollPagePercent, !1);
                          break;
                        case 39:
                          Z.scrollByX(_.keyboardSpeed, !1);
                          break;
                        case 37:
                          Z.scrollByX(-_.keyboardSpeed, !1);
                      }
                      return (s = t != L || e != D);
                    }
                  })(),
                _.clickOnTrack &&
                  (function () {
                    st(),
                      k &&
                        M.bind("mousedown.jsp", function (s) {
                          if (
                            void 0 === s.originalTarget ||
                            s.originalTarget == s.currentTarget
                          ) {
                            var o,
                              a = mt(this),
                              t = a.offset(),
                              r = s.pageY - t.top - D,
                              l = !0,
                              h = function () {
                                var t = a.offset(),
                                  e = s.pageY - t.top - $ / 2,
                                  i = b * _.scrollPagePercent,
                                  n = (I * i) / (C - b);
                                if (r < 0) e < D - n ? Z.scrollByY(-i) : at(e);
                                else {
                                  if (!(0 < r)) return void c();
                                  D + n < e ? Z.scrollByY(i) : at(e);
                                }
                                (o = setTimeout(
                                  h,
                                  l ? _.initialDelay : _.trackClickRepeatFreq
                                )),
                                  (l = !1);
                              },
                              c = function () {
                                o && clearTimeout(o),
                                  (o = null),
                                  mt(document).unbind("mouseup.jsp", c);
                              };
                            return h(), mt(document).bind("mouseup.jsp", c), !1;
                          }
                        });
                    S &&
                      q.bind("mousedown.jsp", function (s) {
                        if (
                          void 0 === s.originalTarget ||
                          s.originalTarget == s.currentTarget
                        ) {
                          var o,
                            a = mt(this),
                            t = a.offset(),
                            r = s.pageX - t.left - L,
                            l = !0,
                            h = function () {
                              var t = a.offset(),
                                e = s.pageX - t.left - F / 2,
                                i = w * _.scrollPagePercent,
                                n = (O * i) / (j - w);
                              if (r < 0) e < L - n ? Z.scrollByX(-i) : lt(e);
                              else {
                                if (!(0 < r)) return void c();
                                L + n < e ? Z.scrollByX(i) : lt(e);
                              }
                              (o = setTimeout(
                                h,
                                l ? _.initialDelay : _.trackClickRepeatFreq
                              )),
                                (l = !1);
                            },
                            c = function () {
                              o && clearTimeout(o),
                                (o = null),
                                mt(document).unbind("mouseup.jsp", c);
                            };
                          return h(), mt(document).bind("mouseup.jsp", c), !1;
                        }
                      });
                  })(),
                (function () {
                  if (location.hash && 1 < location.hash.length) {
                    var t,
                      e,
                      i = escape(location.hash.substr(1));
                    try {
                      t = mt("#" + i + ', a[name="' + i + '"]');
                    } catch (t) {
                      return;
                    }
                    t.length &&
                      y.find(i) &&
                      (0 === x.scrollTop()
                        ? (e = setInterval(function () {
                            0 < x.scrollTop() &&
                              (ut(t, !0),
                              mt(document).scrollTop(x.position().top),
                              clearInterval(e));
                          }, 50))
                        : (ut(t, !0),
                          mt(document).scrollTop(x.position().top)));
                  }
                })(),
                _.hijackInternalLinks &&
                  (function () {
                    if (mt(document.body).data("jspHijack")) return;
                    mt(document.body).data("jspHijack", !0),
                      mt(document.body).delegate(
                        'a[href*="#"]',
                        "click",
                        function (t) {
                          var e,
                            i,
                            n,
                            s,
                            o,
                            a = this.href.substr(0, this.href.indexOf("#")),
                            r = location.href;
                          if (
                            (-1 !== location.href.indexOf("#") &&
                              (r = location.href.substr(
                                0,
                                location.href.indexOf("#")
                              )),
                            a === r)
                          ) {
                            e = escape(
                              this.href.substr(this.href.indexOf("#") + 1)
                            );
                            try {
                              i = mt("#" + e + ', a[name="' + e + '"]');
                            } catch (t) {
                              return;
                            }
                            i.length &&
                              ((n = i.closest(".jspScrollable")),
                              n.data("jsp").scrollToElement(i, !0),
                              n[0].scrollIntoView &&
                                ((s = mt(window).scrollTop()),
                                ((o = i.offset().top) < s ||
                                  o > s + mt(window).height()) &&
                                  n[0].scrollIntoView()),
                              t.preventDefault());
                          }
                        }
                      );
                  })())
              : (v.removeClass("jspScrollable"),
                y.css({ top: 0, left: 0, width: x.width() - G }),
                x.unbind(J),
                y.find(":input,a").unbind("focus.jsp"),
                v
                  .attr("tabindex", "-1")
                  .removeAttr("tabindex")
                  .unbind("keydown.jsp keypress.jsp"),
                y.unbind(".jsp"),
                st()),
            _.autoReinitialise && !X
              ? (X = setInterval(function () {
                  K(_);
                }, _.autoReinitialiseDelay))
              : !_.autoReinitialise && X && clearInterval(X),
            o && v.scrollTop(0) && ct(o, !1),
            a && v.scrollLeft(0) && dt(a, !1),
            v.trigger("jsp-initialised", [S || k]);
        }
        function tt() {
          M.height(P + "px"),
            (D = 0),
            (e = _.verticalGutter + M.outerWidth()),
            y.width(w - e - G);
          try {
            0 === W.position().left && y.css("margin-left", e + "px");
          } catch (t) {}
        }
        function et() {
          x
            .find(
              ">.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow"
            )
            .each(function () {
              B -= mt(this).outerWidth();
            }),
            q.width(B + "px"),
            (L = 0);
        }
        function it(t, e, i, n) {
          var s,
            o = "before",
            a = "after";
          "os" == e && (e = /Mac/.test(navigator.platform) ? "after" : "split"),
            e == o ? (a = e) : e == a && ((o = e), (s = i), (i = n), (n = s)),
            t[o](i)[a](n);
        }
        function nt(t, e, i) {
          return function () {
            return (
              (function (t, e, i, n) {
                i = mt(i).addClass("jspActive");
                var s,
                  o,
                  a = !0,
                  r = function () {
                    0 !== t && Z.scrollByX(t * _.arrowButtonSpeed),
                      0 !== e && Z.scrollByY(e * _.arrowButtonSpeed),
                      (o = setTimeout(
                        r,
                        a ? _.initialDelay : _.arrowRepeatFreq
                      )),
                      (a = !1);
                  };
                r(),
                  (s = n ? "mouseout.jsp" : "mouseup.jsp"),
                  (n = n || mt("html")).bind(s, function () {
                    i.removeClass("jspActive"),
                      o && clearTimeout(o),
                      (o = null),
                      n.unbind(s);
                  });
              })(t, e, this, i),
              this.blur(),
              !1
            );
          };
        }
        function st() {
          q && q.unbind("mousedown.jsp"), M && M.unbind("mousedown.jsp");
        }
        function ot() {
          mt("html").unbind(
            "dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp"
          ),
            E && E.removeClass("jspActive"),
            A && A.removeClass("jspActive");
        }
        function at(t, e) {
          if (k) {
            t < 0 ? (t = 0) : I < t && (t = I);
            var i = new mt.Event("jsp-will-scroll-y");
            if ((v.trigger(i, [t]), !i.isDefaultPrevented())) {
              var n = t || 0,
                s = 0 === n,
                o = n == I,
                a = -(t / I) * (C - b);
              void 0 === e && (e = _.animateScroll),
                e
                  ? Z.animate(E, "top", t, rt, function () {
                      v.trigger("jsp-user-scroll-y", [-a, s, o]);
                    })
                  : (E.css("top", t),
                    rt(t),
                    v.trigger("jsp-user-scroll-y", [-a, s, o]));
            }
          }
        }
        function rt(t) {
          void 0 === t && (t = E.position().top), x.scrollTop(0);
          var e,
            i,
            n = 0 === (D = t || 0),
            s = D == I,
            o = -(t / I) * (C - b);
          (a == n && l == s) ||
            ((a = n), (l = s), v.trigger("jsp-arrow-change", [a, l, r, h])),
            (e = n),
            (i = s),
            _.showArrows &&
              (H[e ? "addClass" : "removeClass"]("jspDisabled"),
              R[i ? "addClass" : "removeClass"]("jspDisabled")),
            y.css("top", o),
            v.trigger("jsp-scroll-y", [-o, n, s]).trigger("scroll");
        }
        function lt(t, e) {
          if (S) {
            t < 0 ? (t = 0) : O < t && (t = O);
            var i = new mt.Event("jsp-will-scroll-x");
            if ((v.trigger(i, [t]), !i.isDefaultPrevented())) {
              var n = t || 0,
                s = 0 === n,
                o = n == O,
                a = -(t / O) * (j - w);
              void 0 === e && (e = _.animateScroll),
                e
                  ? Z.animate(A, "left", t, ht, function () {
                      v.trigger("jsp-user-scroll-x", [-a, s, o]);
                    })
                  : (A.css("left", t),
                    ht(t),
                    v.trigger("jsp-user-scroll-x", [-a, s, o]));
            }
          }
        }
        function ht(t) {
          void 0 === t && (t = A.position().left), x.scrollTop(0);
          var e,
            i,
            n = 0 === (L = t || 0),
            s = L == O,
            o = -(t / O) * (j - w);
          (r == n && h == s) ||
            ((r = n), (h = s), v.trigger("jsp-arrow-change", [a, l, r, h])),
            (e = n),
            (i = s),
            _.showArrows &&
              (Y[e ? "addClass" : "removeClass"]("jspDisabled"),
              Q[i ? "addClass" : "removeClass"]("jspDisabled")),
            y.css("left", o),
            v.trigger("jsp-scroll-x", [-o, n, s]).trigger("scroll");
        }
        function ct(t, e) {
          at((t / (C - b)) * I, e);
        }
        function dt(t, e) {
          lt((t / (j - w)) * O, e);
        }
        function ut(t, e, i) {
          var n,
            s,
            o,
            a,
            r,
            l,
            h,
            c,
            d,
            u = 0,
            p = 0;
          try {
            n = mt(t);
          } catch (t) {
            return;
          }
          for (
            s = n.outerHeight(),
              o = n.outerWidth(),
              x.scrollTop(0),
              x.scrollLeft(0);
            !n.is(".jspPane");

          )
            if (
              ((u += n.position().top),
              (p += n.position().left),
              (n = n.offsetParent()),
              /^body|html$/i.test(n[0].nodeName))
            )
              return;
          (l = (a = ft()) + b),
            u < a || e
              ? (c = u - _.horizontalGutter)
              : l < u + s && (c = u - b + s + _.horizontalGutter),
            isNaN(c) || ct(c, i),
            (h = (r = pt()) + w),
            p < r || e
              ? (d = p - _.horizontalGutter)
              : h < p + o && (d = p - w + o + _.horizontalGutter),
            isNaN(d) || dt(d, i);
        }
        function pt() {
          return -y.position().left;
        }
        function ft() {
          return -y.position().top;
        }
        function gt() {
          return !1;
        }
        "border-box" === v.css("box-sizing")
          ? (G = U = 0)
          : ((U =
              v.css("paddingTop") +
              " " +
              v.css("paddingRight") +
              " " +
              v.css("paddingBottom") +
              " " +
              v.css("paddingLeft")),
            (G =
              (parseInt(v.css("paddingLeft"), 10) || 0) +
              (parseInt(v.css("paddingRight"), 10) || 0))),
          mt.extend(Z, {
            reinitialise: function (t) {
              K((t = mt.extend({}, _, t)));
            },
            scrollToElement: function (t, e, i) {
              ut(t, e, i);
            },
            scrollTo: function (t, e, i) {
              dt(t, i), ct(e, i);
            },
            scrollToX: function (t, e) {
              dt(t, e);
            },
            scrollToY: function (t, e) {
              ct(t, e);
            },
            scrollToPercentX: function (t, e) {
              dt(t * (j - w), e);
            },
            scrollToPercentY: function (t, e) {
              ct(t * (C - b), e);
            },
            scrollBy: function (t, e, i) {
              Z.scrollByX(t, i), Z.scrollByY(e, i);
            },
            scrollByX: function (t, e) {
              lt(((pt() + Math[t < 0 ? "floor" : "ceil"](t)) / (j - w)) * O, e);
            },
            scrollByY: function (t, e) {
              at(((ft() + Math[t < 0 ? "floor" : "ceil"](t)) / (C - b)) * I, e);
            },
            positionDragX: function (t, e) {
              lt(t, e);
            },
            positionDragY: function (t, e) {
              at(t, e);
            },
            animate: function (t, e, i, n, s) {
              var o = {};
              (o[e] = i),
                t.animate(o, {
                  duration: _.animateDuration,
                  easing: _.animateEase,
                  queue: !1,
                  step: n,
                  complete: s,
                });
            },
            getContentPositionX: function () {
              return pt();
            },
            getContentPositionY: function () {
              return ft();
            },
            getContentWidth: function () {
              return j;
            },
            getContentHeight: function () {
              return C;
            },
            getPercentScrolledX: function () {
              return pt() / (j - w);
            },
            getPercentScrolledY: function () {
              return ft() / (C - b);
            },
            getIsScrollableH: function () {
              return S;
            },
            getIsScrollableV: function () {
              return k;
            },
            getContentPane: function () {
              return y;
            },
            scrollToBottom: function (t) {
              at(I, t);
            },
            hijackInternalLinks: mt.noop,
            destroy: function () {
              var t, e;
              (t = ft()),
                (e = pt()),
                v.removeClass("jspScrollable").unbind(".jsp"),
                y.unbind(".jsp"),
                v.replaceWith(i.append(y.children())),
                i.scrollTop(t),
                i.scrollLeft(e),
                X && clearInterval(X);
            },
          }),
          K(t);
      }
      return (
        (i = mt.extend({}, mt.fn.jScrollPane.defaults, i)),
        mt.each(
          ["arrowButtonSpeed", "trackClickSpeed", "keyboardSpeed"],
          function () {
            i[this] = i[this] || i.speed;
          }
        ),
        this.each(function () {
          var t = mt(this),
            e = t.data("jsp");
          e
            ? e.reinitialise(i)
            : (mt("script", t)
                .filter('[type="text/javascript"],:not([type])')
                .remove(),
              (e = new n(t, i)),
              t.data("jsp", e));
        })
      );
    }),
      (mt.fn.jScrollPane.defaults = {
        showArrows: !1,
        maintainPosition: !0,
        stickToBottom: !1,
        stickToRight: !1,
        clickOnTrack: !0,
        autoReinitialise: !1,
        autoReinitialiseDelay: 500,
        verticalDragMinHeight: 0,
        verticalDragMaxHeight: 99999,
        horizontalDragMinWidth: 0,
        horizontalDragMaxWidth: 99999,
        contentWidth: void 0,
        animateScroll: !1,
        animateDuration: 300,
        animateEase: "linear",
        hijackInternalLinks: !1,
        verticalGutter: 4,
        horizontalGutter: 4,
        mouseWheelSpeed: 3,
        arrowButtonSpeed: 0,
        arrowRepeatFreq: 50,
        arrowScrollOnHover: !1,
        trackClickSpeed: 0,
        trackClickRepeatFreq: 70,
        verticalArrowPositions: "split",
        horizontalArrowPositions: "split",
        enableKeyboardNavigation: !0,
        hideFocus: !1,
        keyboardSpeed: 0,
        initialDelay: 300,
        speed: 30,
        scrollPagePercent: 0.8,
      });
  }),
  (function () {
    "use strict";
    var e = 0,
      o = {};
    function i(t) {
      if (!t) throw new Error("No options passed to Waypoint constructor");
      if (!t.element)
        throw new Error("No element option passed to Waypoint constructor");
      if (!t.handler)
        throw new Error("No handler option passed to Waypoint constructor");
      (this.key = "waypoint-" + e),
        (this.options = i.Adapter.extend({}, i.defaults, t)),
        (this.element = this.options.element),
        (this.adapter = new i.Adapter(this.element)),
        (this.callback = t.handler),
        (this.axis = this.options.horizontal ? "horizontal" : "vertical"),
        (this.enabled = this.options.enabled),
        (this.triggerPoint = null),
        (this.group = i.Group.findOrCreate({
          name: this.options.group,
          axis: this.axis,
        })),
        (this.context = i.Context.findOrCreateByElement(this.options.context)),
        i.offsetAliases[this.options.offset] &&
          (this.options.offset = i.offsetAliases[this.options.offset]),
        this.group.add(this),
        this.context.add(this),
        (o[this.key] = this),
        (e += 1);
    }
    (i.prototype.queueTrigger = function (t) {
      this.group.queueTrigger(this, t);
    }),
      (i.prototype.trigger = function (t) {
        this.enabled && this.callback && this.callback.apply(this, t);
      }),
      (i.prototype.destroy = function () {
        this.context.remove(this), this.group.remove(this), delete o[this.key];
      }),
      (i.prototype.disable = function () {
        return (this.enabled = !1), this;
      }),
      (i.prototype.enable = function () {
        return this.context.refresh(), (this.enabled = !0), this;
      }),
      (i.prototype.next = function () {
        return this.group.next(this);
      }),
      (i.prototype.previous = function () {
        return this.group.previous(this);
      }),
      (i.invokeAll = function (t) {
        var e = [];
        for (var i in o) e.push(o[i]);
        for (var n = 0, s = e.length; n < s; n++) e[n][t]();
      }),
      (i.destroyAll = function () {
        i.invokeAll("destroy");
      }),
      (i.disableAll = function () {
        i.invokeAll("disable");
      }),
      (i.enableAll = function () {
        for (var t in (i.Context.refreshAll(), o)) o[t].enabled = !0;
        return this;
      }),
      (i.refreshAll = function () {
        i.Context.refreshAll();
      }),
      (i.viewportHeight = function () {
        return window.innerHeight || document.documentElement.clientHeight;
      }),
      (i.viewportWidth = function () {
        return document.documentElement.clientWidth;
      }),
      (i.adapters = []),
      (i.defaults = {
        context: window,
        continuous: !0,
        enabled: !0,
        group: "default",
        horizontal: !1,
        offset: 0,
      }),
      (i.offsetAliases = {
        "bottom-in-view": function () {
          return this.context.innerHeight() - this.adapter.outerHeight();
        },
        "right-in-view": function () {
          return this.context.innerWidth() - this.adapter.outerWidth();
        },
      }),
      (window.Waypoint = i);
  })(),
  (function () {
    "use strict";
    function e(t) {
      window.setTimeout(t, 1e3 / 60);
    }
    var i = 0,
      n = {},
      m = window.Waypoint,
      t = window.onload;
    function s(t) {
      (this.element = t),
        (this.Adapter = m.Adapter),
        (this.adapter = new this.Adapter(t)),
        (this.key = "waypoint-context-" + i),
        (this.didScroll = !1),
        (this.didResize = !1),
        (this.oldScroll = {
          x: this.adapter.scrollLeft(),
          y: this.adapter.scrollTop(),
        }),
        (this.waypoints = { vertical: {}, horizontal: {} }),
        (t.waypointContextKey = this.key),
        (n[t.waypointContextKey] = this),
        (i += 1),
        m.windowContext ||
          ((m.windowContext = !0), (m.windowContext = new s(window))),
        this.createThrottledScrollHandler(),
        this.createThrottledResizeHandler();
    }
    (s.prototype.add = function (t) {
      var e = t.options.horizontal ? "horizontal" : "vertical";
      (this.waypoints[e][t.key] = t), this.refresh();
    }),
      (s.prototype.checkEmpty = function () {
        var t = this.Adapter.isEmptyObject(this.waypoints.horizontal),
          e = this.Adapter.isEmptyObject(this.waypoints.vertical),
          i = this.element == this.element.window;
        t && e && !i && (this.adapter.off(".waypoints"), delete n[this.key]);
      }),
      (s.prototype.createThrottledResizeHandler = function () {
        var t = this;
        function e() {
          t.handleResize(), (t.didResize = !1);
        }
        this.adapter.on("resize.waypoints", function () {
          t.didResize || ((t.didResize = !0), m.requestAnimationFrame(e));
        });
      }),
      (s.prototype.createThrottledScrollHandler = function () {
        var t = this;
        function e() {
          t.handleScroll(), (t.didScroll = !1);
        }
        this.adapter.on("scroll.waypoints", function () {
          (t.didScroll && !m.isTouch) ||
            ((t.didScroll = !0), m.requestAnimationFrame(e));
        });
      }),
      (s.prototype.handleResize = function () {
        m.Context.refreshAll();
      }),
      (s.prototype.handleScroll = function () {
        var t = {},
          e = {
            horizontal: {
              newScroll: this.adapter.scrollLeft(),
              oldScroll: this.oldScroll.x,
              forward: "right",
              backward: "left",
            },
            vertical: {
              newScroll: this.adapter.scrollTop(),
              oldScroll: this.oldScroll.y,
              forward: "down",
              backward: "up",
            },
          };
        for (var i in e) {
          var n = e[i],
            s = n.newScroll > n.oldScroll ? n.forward : n.backward;
          for (var o in this.waypoints[i]) {
            var a = this.waypoints[i][o];
            if (null !== a.triggerPoint) {
              var r = n.oldScroll < a.triggerPoint,
                l = n.newScroll >= a.triggerPoint;
              ((r && l) || (!r && !l)) &&
                (a.queueTrigger(s), (t[a.group.id] = a.group));
            }
          }
        }
        for (var h in t) t[h].flushTriggers();
        this.oldScroll = { x: e.horizontal.newScroll, y: e.vertical.newScroll };
      }),
      (s.prototype.innerHeight = function () {
        return this.element == this.element.window
          ? m.viewportHeight()
          : this.adapter.innerHeight();
      }),
      (s.prototype.remove = function (t) {
        delete this.waypoints[t.axis][t.key], this.checkEmpty();
      }),
      (s.prototype.innerWidth = function () {
        return this.element == this.element.window
          ? m.viewportWidth()
          : this.adapter.innerWidth();
      }),
      (s.prototype.destroy = function () {
        var t = [];
        for (var e in this.waypoints)
          for (var i in this.waypoints[e]) t.push(this.waypoints[e][i]);
        for (var n = 0, s = t.length; n < s; n++) t[n].destroy();
      }),
      (s.prototype.refresh = function () {
        var t,
          e = this.element == this.element.window,
          i = e ? void 0 : this.adapter.offset(),
          n = {};
        for (var s in (this.handleScroll(),
        (t = {
          horizontal: {
            contextOffset: e ? 0 : i.left,
            contextScroll: e ? 0 : this.oldScroll.x,
            contextDimension: this.innerWidth(),
            oldScroll: this.oldScroll.x,
            forward: "right",
            backward: "left",
            offsetProp: "left",
          },
          vertical: {
            contextOffset: e ? 0 : i.top,
            contextScroll: e ? 0 : this.oldScroll.y,
            contextDimension: this.innerHeight(),
            oldScroll: this.oldScroll.y,
            forward: "down",
            backward: "up",
            offsetProp: "top",
          },
        }))) {
          var o = t[s];
          for (var a in this.waypoints[s]) {
            var r,
              l,
              h,
              c,
              d = this.waypoints[s][a],
              u = d.options.offset,
              p = d.triggerPoint,
              f = 0,
              g = null == p;
            d.element !== d.element.window &&
              (f = d.adapter.offset()[o.offsetProp]),
              "function" == typeof u
                ? (u = u.apply(d))
                : "string" == typeof u &&
                  ((u = parseFloat(u)),
                  -1 < d.options.offset.indexOf("%") &&
                    (u = Math.ceil((o.contextDimension * u) / 100))),
              (r = o.contextScroll - o.contextOffset),
              (d.triggerPoint = Math.floor(f + r - u)),
              (l = p < o.oldScroll),
              (h = d.triggerPoint >= o.oldScroll),
              (c = !l && !h),
              !g && l && h
                ? (d.queueTrigger(o.backward), (n[d.group.id] = d.group))
                : !g && c
                ? (d.queueTrigger(o.forward), (n[d.group.id] = d.group))
                : g &&
                  o.oldScroll >= d.triggerPoint &&
                  (d.queueTrigger(o.forward), (n[d.group.id] = d.group));
          }
        }
        return (
          m.requestAnimationFrame(function () {
            for (var t in n) n[t].flushTriggers();
          }),
          this
        );
      }),
      (s.findOrCreateByElement = function (t) {
        return s.findByElement(t) || new s(t);
      }),
      (s.refreshAll = function () {
        for (var t in n) n[t].refresh();
      }),
      (s.findByElement = function (t) {
        return n[t.waypointContextKey];
      }),
      (window.onload = function () {
        t && t(), s.refreshAll();
      }),
      (m.requestAnimationFrame = function (t) {
        (
          window.requestAnimationFrame ||
          window.mozRequestAnimationFrame ||
          window.webkitRequestAnimationFrame ||
          e
        ).call(window, t);
      }),
      (m.Context = s);
  })(),
  (function () {
    "use strict";
    function a(t, e) {
      return t.triggerPoint - e.triggerPoint;
    }
    function r(t, e) {
      return e.triggerPoint - t.triggerPoint;
    }
    var e = { vertical: {}, horizontal: {} },
      i = window.Waypoint;
    function n(t) {
      (this.name = t.name),
        (this.axis = t.axis),
        (this.id = this.name + "-" + this.axis),
        (this.waypoints = []),
        this.clearTriggerQueues(),
        (e[this.axis][this.name] = this);
    }
    (n.prototype.add = function (t) {
      this.waypoints.push(t);
    }),
      (n.prototype.clearTriggerQueues = function () {
        this.triggerQueues = { up: [], down: [], left: [], right: [] };
      }),
      (n.prototype.flushTriggers = function () {
        for (var t in this.triggerQueues) {
          var e = this.triggerQueues[t],
            i = "up" === t || "left" === t;
          e.sort(i ? r : a);
          for (var n = 0, s = e.length; n < s; n += 1) {
            var o = e[n];
            (o.options.continuous || n === e.length - 1) && o.trigger([t]);
          }
        }
        this.clearTriggerQueues();
      }),
      (n.prototype.next = function (t) {
        this.waypoints.sort(a);
        var e = i.Adapter.inArray(t, this.waypoints);
        return e === this.waypoints.length - 1 ? null : this.waypoints[e + 1];
      }),
      (n.prototype.previous = function (t) {
        this.waypoints.sort(a);
        var e = i.Adapter.inArray(t, this.waypoints);
        return e ? this.waypoints[e - 1] : null;
      }),
      (n.prototype.queueTrigger = function (t, e) {
        this.triggerQueues[e].push(t);
      }),
      (n.prototype.remove = function (t) {
        var e = i.Adapter.inArray(t, this.waypoints);
        -1 < e && this.waypoints.splice(e, 1);
      }),
      (n.prototype.first = function () {
        return this.waypoints[0];
      }),
      (n.prototype.last = function () {
        return this.waypoints[this.waypoints.length - 1];
      }),
      (n.findOrCreate = function (t) {
        return e[t.axis][t.name] || new n(t);
      }),
      (i.Group = n);
  })(),
  (function () {
    "use strict";
    var i = window.jQuery,
      t = window.Waypoint;
    function n(t) {
      this.$element = i(t);
    }
    i.each(
      [
        "innerHeight",
        "innerWidth",
        "off",
        "offset",
        "on",
        "outerHeight",
        "outerWidth",
        "scrollLeft",
        "scrollTop",
      ],
      function (t, e) {
        n.prototype[e] = function () {
          var t = Array.prototype.slice.call(arguments);
          return this.$element[e].apply(this.$element, t);
        };
      }
    ),
      i.each(["extend", "inArray", "isEmptyObject"], function (t, e) {
        n[e] = i[e];
      }),
      t.adapters.push({ name: "jquery", Adapter: n }),
      (t.Adapter = n);
  })(),
  (function () {
    "use strict";
    var s = window.Waypoint;
    function t(n) {
      return function () {
        var e = [],
          i = arguments[0];
        return (
          n.isFunction(arguments[0]) &&
            ((i = n.extend({}, arguments[1])).handler = arguments[0]),
          this.each(function () {
            var t = n.extend({}, i, { element: this });
            "string" == typeof t.context &&
              (t.context = n(this).closest(t.context)[0]),
              e.push(new s(t));
          }),
          e
        );
      };
    }
    window.jQuery && (window.jQuery.fn.waypoint = t(window.jQuery)),
      window.Zepto && (window.Zepto.fn.waypoint = t(window.Zepto));
  })(),
  (function (l, i, s, o) {
    function h(t, e) {
      (this.settings = null),
        (this.options = l.extend({}, h.Defaults, e)),
        (this.$element = l(t)),
        (this._handlers = {}),
        (this._plugins = {}),
        (this._supress = {}),
        (this._current = null),
        (this._speed = null),
        (this._coordinates = []),
        (this._breakpoint = null),
        (this._width = null),
        (this._items = []),
        (this._clones = []),
        (this._mergers = []),
        (this._widths = []),
        (this._invalidated = {}),
        (this._pipe = []),
        (this._drag = {
          time: null,
          target: null,
          pointer: null,
          stage: { start: null, current: null },
          direction: null,
        }),
        (this._states = {
          current: {},
          tags: {
            initializing: ["busy"],
            animating: ["busy"],
            dragging: ["interacting"],
          },
        }),
        l.each(
          ["onResize", "onThrottledResize"],
          l.proxy(function (t, e) {
            this._handlers[e] = l.proxy(this[e], this);
          }, this)
        ),
        l.each(
          h.Plugins,
          l.proxy(function (t, e) {
            this._plugins[t.charAt(0).toLowerCase() + t.slice(1)] = new e(this);
          }, this)
        ),
        l.each(
          h.Workers,
          l.proxy(function (t, e) {
            this._pipe.push({ filter: e.filter, run: l.proxy(e.run, this) });
          }, this)
        ),
        this.setup(),
        this.initialize();
    }
    (h.Defaults = {
      items: 3,
      loop: !1,
      center: !1,
      rewind: !1,
      mouseDrag: !0,
      touchDrag: !0,
      pullDrag: !0,
      freeDrag: !1,
      margin: 0,
      stagePadding: 0,
      merge: !1,
      mergeFit: !0,
      autoWidth: !1,
      startPosition: 0,
      rtl: !1,
      smartSpeed: 250,
      fluidSpeed: !1,
      dragEndSpeed: !1,
      responsive: {},
      responsiveRefreshRate: 200,
      responsiveBaseElement: i,
      fallbackEasing: "swing",
      info: !1,
      nestedItemSelector: !1,
      itemElement: "div",
      stageElement: "div",
      refreshClass: "epress-owl-refresh",
      loadedClass: "epress-owl-loaded",
      loadingClass: "epress-owl-loading",
      rtlClass: "epress-owl-rtl",
      responsiveClass: "epress-owl-responsive",
      dragClass: "epress-owl-drag",
      itemClass: "epress-owl-item",
      stageClass: "epress-owl-stage",
      stageOuterClass: "epress-owl-stage-outer",
      grabClass: "epress-owl-grab",
    }),
      (h.Width = { Default: "default", Inner: "inner", Outer: "outer" }),
      (h.Type = { Event: "event", State: "state" }),
      (h.Plugins = {}),
      (h.Workers = [
        {
          filter: ["width", "settings"],
          run: function () {
            this._width = this.$element.width();
          },
        },
        {
          filter: ["width", "items", "settings"],
          run: function (t) {
            t.current =
              this._items && this._items[this.relative(this._current)];
          },
        },
        {
          filter: ["items", "settings"],
          run: function () {
            this.$stage.children(".cloned").remove();
          },
        },
        {
          filter: ["width", "items", "settings"],
          run: function (t) {
            var e = this.settings.margin || "",
              i = !this.settings.autoWidth,
              n = this.settings.rtl,
              s = {
                width: "auto",
                "margin-left": n ? e : "",
                "margin-right": n ? "" : e,
              };
            !i && this.$stage.children().css(s), (t.css = s);
          },
        },
        {
          filter: ["width", "items", "settings"],
          run: function (t) {
            var e =
                (this.width() / this.settings.items).toFixed(3) -
                this.settings.margin,
              i = null,
              n = this._items.length,
              s = !this.settings.autoWidth,
              o = [];
            for (t.items = { merge: !1, width: e }; n--; )
              (i = this._mergers[n]),
                (i =
                  (this.settings.mergeFit &&
                    Math.min(i, this.settings.items)) ||
                  i),
                (t.items.merge = 1 < i || t.items.merge),
                (o[n] = s ? e * i : this._items[n].width());
            this._widths = o;
          },
        },
        {
          filter: ["items", "settings"],
          run: function () {
            var t = [],
              e = this._items,
              i = this.settings,
              n = Math.max(2 * i.items, 4),
              s = 2 * Math.ceil(e.length / 2),
              o = i.loop && e.length ? (i.rewind ? n : Math.max(n, s)) : 0,
              a = "",
              r = "";
            for (o /= 2; o--; )
              t.push(this.normalize(t.length / 2, !0)),
                (a += e[t[t.length - 1]][0].outerHTML),
                t.push(this.normalize(e.length - 1 - (t.length - 1) / 2, !0)),
                (r = e[t[t.length - 1]][0].outerHTML + r);
            (this._clones = t),
              l(a).addClass("cloned").appendTo(this.$stage),
              l(r).addClass("cloned").prependTo(this.$stage);
          },
        },
        {
          filter: ["width", "items", "settings"],
          run: function () {
            for (
              var t = this.settings.rtl ? 1 : -1,
                e = this._clones.length + this._items.length,
                i = -1,
                n = 0,
                s = 0,
                o = [];
              ++i < e;

            )
              (n = o[i - 1] || 0),
                (s = this._widths[this.relative(i)] + this.settings.margin),
                o.push(n + s * t);
            this._coordinates = o;
          },
        },
        {
          filter: ["width", "items", "settings"],
          run: function () {
            var t = this.settings.stagePadding,
              e = this._coordinates,
              i = {
                width: Math.ceil(Math.abs(e[e.length - 1])) + 2 * t,
                "padding-left": t || "",
                "padding-right": t || "",
              };
            this.$stage.css(i);
          },
        },
        {
          filter: ["width", "items", "settings"],
          run: function (t) {
            var e = this._coordinates.length,
              i = !this.settings.autoWidth,
              n = this.$stage.children();
            if (i && t.items.merge)
              for (; e--; )
                (t.css.width = this._widths[this.relative(e)]),
                  n.eq(e).css(t.css);
            else i && ((t.css.width = t.items.width), n.css(t.css));
          },
        },
        {
          filter: ["items"],
          run: function () {
            this._coordinates.length < 1 && this.$stage.removeAttr("style");
          },
        },
        {
          filter: ["width", "items", "settings"],
          run: function (t) {
            (t.current = t.current
              ? this.$stage.children().index(t.current)
              : 0),
              (t.current = Math.max(
                this.minimum(),
                Math.min(this.maximum(), t.current)
              )),
              this.reset(t.current);
          },
        },
        {
          filter: ["position"],
          run: function () {
            this.animate(this.coordinates(this._current));
          },
        },
        {
          filter: ["width", "position", "items", "settings"],
          run: function () {
            var t,
              e,
              i,
              n,
              s = this.settings.rtl ? 1 : -1,
              o = 2 * this.settings.stagePadding,
              a = this.coordinates(this.current()) + o,
              r = a + this.width() * s,
              l = [];
            for (i = 0, n = this._coordinates.length; i < n; i++)
              (t = this._coordinates[i - 1] || 0),
                (e = Math.abs(this._coordinates[i]) + o * s),
                ((this.op(t, "<=", a) && this.op(t, ">", r)) ||
                  (this.op(e, "<", a) && this.op(e, ">", r))) &&
                  l.push(i);
            this.$stage.children(".active").removeClass("active"),
              this.$stage
                .children(":eq(" + l.join("), :eq(") + ")")
                .addClass("active"),
              this.settings.center &&
                (this.$stage.children(".center").removeClass("center"),
                this.$stage.children().eq(this.current()).addClass("center"));
          },
        },
      ]),
      (h.prototype.initialize = function () {
        var t, e, i;
        (this.enter("initializing"),
        this.trigger("initialize"),
        this.$element.toggleClass(this.settings.rtlClass, this.settings.rtl),
        this.settings.autoWidth && !this.is("pre-loading")) &&
          ((t = this.$element.find("img")),
          (e = this.settings.nestedItemSelector
            ? "." + this.settings.nestedItemSelector
            : o),
          (i = this.$element.children(e).width()),
          t.length && i <= 0 && this.preloadAutoWidthImages(t));
        this.$element.addClass(this.options.loadingClass),
          (this.$stage = l(
            "<" +
              this.settings.stageElement +
              ' class="' +
              this.settings.stageClass +
              '"/>'
          ).wrap('<div class="' + this.settings.stageOuterClass + '"/>')),
          this.$element.append(this.$stage.parent()),
          this.replace(this.$element.children().not(this.$stage.parent())),
          this.$element.is(":visible")
            ? this.refresh()
            : this.invalidate("width"),
          this.$element
            .removeClass(this.options.loadingClass)
            .addClass(this.options.loadedClass),
          this.registerEventHandlers(),
          this.leave("initializing"),
          this.trigger("initialized");
      }),
      (h.prototype.setup = function () {
        var e = this.viewport(),
          t = this.options.responsive,
          i = -1,
          n = null;
        t
          ? (l.each(t, function (t) {
              t <= e && i < t && (i = Number(t));
            }),
            delete (n = l.extend({}, this.options, t[i])).responsive,
            n.responsiveClass &&
              this.$element.attr(
                "class",
                this.$element
                  .attr("class")
                  .replace(
                    new RegExp(
                      "(" + this.options.responsiveClass + "-)\\S+\\s",
                      "g"
                    ),
                    "$1" + i
                  )
              ))
          : (n = l.extend({}, this.options)),
          (null !== this.settings && this._breakpoint === i) ||
            (this.trigger("change", {
              property: { name: "settings", value: n },
            }),
            (this._breakpoint = i),
            (this.settings = n),
            this.invalidate("settings"),
            this.trigger("changed", {
              property: { name: "settings", value: this.settings },
            }));
      }),
      (h.prototype.optionsLogic = function () {
        this.settings.autoWidth &&
          ((this.settings.stagePadding = !1), (this.settings.merge = !1));
      }),
      (h.prototype.prepare = function (t) {
        var e = this.trigger("prepare", { content: t });
        return (
          e.data ||
            (e.data = l("<" + this.settings.itemElement + "/>")
              .addClass(this.options.itemClass)
              .append(t)),
          this.trigger("prepared", { content: e.data }),
          e.data
        );
      }),
      (h.prototype.update = function () {
        for (
          var t = 0,
            e = this._pipe.length,
            i = l.proxy(function (t) {
              return this[t];
            }, this._invalidated),
            n = {};
          t < e;

        )
          (this._invalidated.all ||
            0 < l.grep(this._pipe[t].filter, i).length) &&
            this._pipe[t].run(n),
            t++;
        (this._invalidated = {}), !this.is("valid") && this.enter("valid");
      }),
      (h.prototype.width = function (t) {
        switch ((t = t || h.Width.Default)) {
          case h.Width.Inner:
          case h.Width.Outer:
            return this._width;
          default:
            return (
              this._width -
              2 * this.settings.stagePadding +
              this.settings.margin
            );
        }
      }),
      (h.prototype.refresh = function () {
        this.enter("refreshing"),
          this.trigger("refresh"),
          this.setup(),
          this.optionsLogic(),
          this.$element.addClass(this.options.refreshClass),
          this.update(),
          this.$element.removeClass(this.options.refreshClass),
          this.leave("refreshing"),
          this.trigger("refreshed");
      }),
      (h.prototype.onThrottledResize = function () {
        i.clearTimeout(this.resizeTimer),
          (this.resizeTimer = i.setTimeout(
            this._handlers.onResize,
            this.settings.responsiveRefreshRate
          ));
      }),
      (h.prototype.onResize = function () {
        return (
          !!this._items.length &&
          this._width !== this.$element.width() &&
          !!this.$element.is(":visible") &&
          (this.enter("resizing"),
          this.trigger("resize").isDefaultPrevented()
            ? (this.leave("resizing"), !1)
            : (this.invalidate("width"),
              this.refresh(),
              this.leave("resizing"),
              void this.trigger("resized")))
        );
      }),
      (h.prototype.registerEventHandlers = function () {
        l.support.transition &&
          this.$stage.on(
            l.support.transition.end + ".owl.core",
            l.proxy(this.onTransitionEnd, this)
          ),
          !1 !== this.settings.responsive &&
            this.on(i, "resize", this._handlers.onThrottledResize),
          this.settings.mouseDrag &&
            (this.$element.addClass(this.options.dragClass),
            this.$stage.on(
              "mousedown.owl.core",
              l.proxy(this.onDragStart, this)
            ),
            this.$stage.on(
              "dragstart.owl.core selectstart.owl.core",
              function () {
                return !1;
              }
            )),
          this.settings.touchDrag &&
            (this.$stage.on(
              "touchstart.owl.core",
              l.proxy(this.onDragStart, this)
            ),
            this.$stage.on(
              "touchcancel.owl.core",
              l.proxy(this.onDragEnd, this)
            ));
      }),
      (h.prototype.onDragStart = function (t) {
        var e = null;
        3 !== t.which &&
          (l.support.transform
            ? (e = {
                x: (e = this.$stage
                  .css("transform")
                  .replace(/.*\(|\)| /g, "")
                  .split(","))[16 === e.length ? 12 : 4],
                y: e[16 === e.length ? 13 : 5],
              })
            : ((e = this.$stage.position()),
              (e = {
                x: this.settings.rtl
                  ? e.left +
                    this.$stage.width() -
                    this.width() +
                    this.settings.margin
                  : e.left,
                y: e.top,
              })),
          this.is("animating") &&
            (l.support.transform ? this.animate(e.x) : this.$stage.stop(),
            this.invalidate("position")),
          this.$element.toggleClass(
            this.options.grabClass,
            "mousedown" === t.type
          ),
          this.speed(0),
          (this._drag.time = new Date().getTime()),
          (this._drag.target = l(t.target)),
          (this._drag.stage.start = e),
          (this._drag.stage.current = e),
          (this._drag.pointer = this.pointer(t)),
          l(s).on(
            "mouseup.owl.core touchend.owl.core",
            l.proxy(this.onDragEnd, this)
          ),
          l(s).one(
            "mousemove.owl.core touchmove.owl.core",
            l.proxy(function (t) {
              var e = this.difference(this._drag.pointer, this.pointer(t));
              l(s).on(
                "mousemove.owl.core touchmove.owl.core",
                l.proxy(this.onDragMove, this)
              ),
                (Math.abs(e.x) < Math.abs(e.y) && this.is("valid")) ||
                  (t.preventDefault(),
                  this.enter("dragging"),
                  this.trigger("drag"));
            }, this)
          ));
      }),
      (h.prototype.onDragMove = function (t) {
        var e = null,
          i = null,
          n = null,
          s = this.difference(this._drag.pointer, this.pointer(t)),
          o = this.difference(this._drag.stage.start, s);
        this.is("dragging") &&
          (t.preventDefault(),
          this.settings.loop
            ? ((e = this.coordinates(this.minimum())),
              (i = this.coordinates(this.maximum() + 1) - e),
              (o.x = ((((o.x - e) % i) + i) % i) + e))
            : ((e = this.settings.rtl
                ? this.coordinates(this.maximum())
                : this.coordinates(this.minimum())),
              (i = this.settings.rtl
                ? this.coordinates(this.minimum())
                : this.coordinates(this.maximum())),
              (n = this.settings.pullDrag ? (-1 * s.x) / 5 : 0),
              (o.x = Math.max(Math.min(o.x, e + n), i + n))),
          (this._drag.stage.current = o),
          this.animate(o.x));
      }),
      (h.prototype.onDragEnd = function (t) {
        var e = this.difference(this._drag.pointer, this.pointer(t)),
          i = this._drag.stage.current,
          n = (0 < e.x) ^ this.settings.rtl ? "left" : "right";
        l(s).off(".owl.core"),
          this.$element.removeClass(this.options.grabClass),
          ((0 !== e.x && this.is("dragging")) || !this.is("valid")) &&
            (this.speed(this.settings.dragEndSpeed || this.settings.smartSpeed),
            this.current(
              this.closest(i.x, 0 !== e.x ? n : this._drag.direction)
            ),
            this.invalidate("position"),
            this.update(),
            (this._drag.direction = n),
            (3 < Math.abs(e.x) ||
              300 < new Date().getTime() - this._drag.time) &&
              this._drag.target.one("click.owl.core", function () {
                return !1;
              })),
          this.is("dragging") &&
            (this.leave("dragging"), this.trigger("dragged"));
      }),
      (h.prototype.closest = function (i, n) {
        var s = -1,
          o = this.width(),
          a = this.coordinates();
        return (
          this.settings.freeDrag ||
            l.each(
              a,
              l.proxy(function (t, e) {
                return (
                  e - 30 < i && i < e + 30
                    ? (s = t)
                    : this.op(i, "<", e) &&
                      this.op(i, ">", a[t + 1] || e - o) &&
                      (s = "left" === n ? t + 1 : t),
                  -1 === s
                );
              }, this)
            ),
          this.settings.loop ||
            (this.op(i, ">", a[this.minimum()])
              ? (s = i = this.minimum())
              : this.op(i, "<", a[this.maximum()]) && (s = i = this.maximum())),
          s
        );
      }),
      (h.prototype.animate = function (t) {
        var e = 0 < this.speed();
        this.is("animating") && this.onTransitionEnd(),
          e && (this.enter("animating"), this.trigger("translate")),
          l.support.transform3d && l.support.transition
            ? this.$stage.css({
                transform: "translate3d(" + t + "px,0px,0px)",
                transition: this.speed() / 1e3 + "s",
              })
            : e
            ? this.$stage.animate(
                { left: t + "px" },
                this.speed(),
                this.settings.fallbackEasing,
                l.proxy(this.onTransitionEnd, this)
              )
            : this.$stage.css({ left: t + "px" });
      }),
      (h.prototype.is = function (t) {
        return this._states.current[t] && 0 < this._states.current[t];
      }),
      (h.prototype.current = function (t) {
        if (t === o) return this._current;
        if (0 === this._items.length) return o;
        if (((t = this.normalize(t)), this._current !== t)) {
          var e = this.trigger("change", {
            property: { name: "position", value: t },
          });
          e.data !== o && (t = this.normalize(e.data)),
            (this._current = t),
            this.invalidate("position"),
            this.trigger("changed", {
              property: { name: "position", value: this._current },
            });
        }
        return this._current;
      }),
      (h.prototype.invalidate = function (t) {
        return (
          "string" === l.type(t) &&
            ((this._invalidated[t] = !0),
            this.is("valid") && this.leave("valid")),
          l.map(this._invalidated, function (t, e) {
            return e;
          })
        );
      }),
      (h.prototype.reset = function (t) {
        (t = this.normalize(t)) !== o &&
          ((this._speed = 0),
          (this._current = t),
          this.suppress(["translate", "translated"]),
          this.animate(this.coordinates(t)),
          this.release(["translate", "translated"]));
      }),
      (h.prototype.normalize = function (t, e) {
        var i = this._items.length,
          n = e ? 0 : this._clones.length;
        return (
          !l.isNumeric(t) || i < 1
            ? (t = o)
            : (t < 0 || i + n <= t) &&
              (t = ((((t - n / 2) % i) + i) % i) + n / 2),
          t
        );
      }),
      (h.prototype.relative = function (t) {
        return (t -= this._clones.length / 2), this.normalize(t, !0);
      }),
      (h.prototype.maximum = function (t) {
        var e,
          i = this.settings,
          n = this._coordinates.length,
          s = Math.abs(this._coordinates[n - 1]) - this._width,
          o = -1;
        if (i.loop) n = this._clones.length / 2 + this._items.length - 1;
        else if (i.autoWidth || i.merge)
          for (; 1 < n - o; )
            Math.abs(this._coordinates[(e = (n + o) >> 1)]) < s
              ? (o = e)
              : (n = e);
        else
          n = i.center ? this._items.length - 1 : this._items.length - i.items;
        return t && (n -= this._clones.length / 2), Math.max(n, 0);
      }),
      (h.prototype.minimum = function (t) {
        return t ? 0 : this._clones.length / 2;
      }),
      (h.prototype.items = function (t) {
        return t === o
          ? this._items.slice()
          : ((t = this.normalize(t, !0)), this._items[t]);
      }),
      (h.prototype.mergers = function (t) {
        return t === o
          ? this._mergers.slice()
          : ((t = this.normalize(t, !0)), this._mergers[t]);
      }),
      (h.prototype.clones = function (i) {
        var e = this._clones.length / 2,
          n = e + this._items.length,
          s = function (t) {
            return t % 2 == 0 ? n + t / 2 : e - (t + 1) / 2;
          };
        return i === o
          ? l.map(this._clones, function (t, e) {
              return s(e);
            })
          : l.map(this._clones, function (t, e) {
              return t === i ? s(e) : null;
            });
      }),
      (h.prototype.speed = function (t) {
        return t !== o && (this._speed = t), this._speed;
      }),
      (h.prototype.coordinates = function (t) {
        var e = null;
        return t === o
          ? l.map(
              this._coordinates,
              l.proxy(function (t, e) {
                return this.coordinates(e);
              }, this)
            )
          : (this.settings.center
              ? ((e = this._coordinates[t]),
                (e +=
                  ((this.width() - e + (this._coordinates[t - 1] || 0)) / 2) *
                  (this.settings.rtl ? -1 : 1)))
              : (e = this._coordinates[t - 1] || 0),
            e);
      }),
      (h.prototype.duration = function (t, e, i) {
        return (
          Math.min(Math.max(Math.abs(e - t), 1), 6) *
          Math.abs(i || this.settings.smartSpeed)
        );
      }),
      (h.prototype.to = function (t, e) {
        var i = this.current(),
          n = null,
          s = t - this.relative(i),
          o = (0 < s) - (s < 0),
          a = this._items.length,
          r = this.minimum(),
          l = this.maximum();
        this.settings.loop
          ? (!this.settings.rewind && Math.abs(s) > a / 2 && (s += -1 * o * a),
            (n = (((((t = i + s) - r) % a) + a) % a) + r) !== t &&
              n - s <= l &&
              0 < n - s &&
              ((i = n - s), (t = n), this.reset(i)))
          : (t = this.settings.rewind
              ? ((t % (l += 1)) + l) % l
              : Math.max(r, Math.min(l, t))),
          this.speed(this.duration(i, t, e)),
          this.current(t),
          this.$element.is(":visible") && this.update();
      }),
      (h.prototype.next = function (t) {
        (t = t || !1), this.to(this.relative(this.current()) + 1, t);
      }),
      (h.prototype.prev = function (t) {
        (t = t || !1), this.to(this.relative(this.current()) - 1, t);
      }),
      (h.prototype.onTransitionEnd = function (t) {
        if (
          t !== o &&
          (t.stopPropagation(),
          (t.target || t.srcElement || t.originalTarget) !== this.$stage.get(0))
        )
          return !1;
        this.leave("animating"), this.trigger("translated");
      }),
      (h.prototype.viewport = function () {
        var t;
        if (this.options.responsiveBaseElement !== i)
          t = l(this.options.responsiveBaseElement).width();
        else if (i.innerWidth) t = i.innerWidth;
        else {
          if (!s.documentElement || !s.documentElement.clientWidth)
            throw "Can not detect viewport width.";
          t = s.documentElement.clientWidth;
        }
        return t;
      }),
      (h.prototype.replace = function (t) {
        this.$stage.empty(),
          (this._items = []),
          t && (t = t instanceof jQuery ? t : l(t)),
          this.settings.nestedItemSelector &&
            (t = t.find("." + this.settings.nestedItemSelector)),
          t
            .filter(function () {
              return 1 === this.nodeType;
            })
            .each(
              l.proxy(function (t, e) {
                (e = this.prepare(e)),
                  this.$stage.append(e),
                  this._items.push(e),
                  this._mergers.push(
                    1 *
                      e
                        .find("[data-merge]")
                        .andSelf("[data-merge]")
                        .attr("data-merge") || 1
                  );
              }, this)
            ),
          this.reset(
            l.isNumeric(this.settings.startPosition)
              ? this.settings.startPosition
              : 0
          ),
          this.invalidate("items");
      }),
      (h.prototype.add = function (t, e) {
        var i = this.relative(this._current);
        (e = e === o ? this._items.length : this.normalize(e, !0)),
          (t = t instanceof jQuery ? t : l(t)),
          this.trigger("add", { content: t, position: e }),
          (t = this.prepare(t)),
          0 === this._items.length || e === this._items.length
            ? (0 === this._items.length && this.$stage.append(t),
              0 !== this._items.length && this._items[e - 1].after(t),
              this._items.push(t),
              this._mergers.push(
                1 *
                  t
                    .find("[data-merge]")
                    .andSelf("[data-merge]")
                    .attr("data-merge") || 1
              ))
            : (this._items[e].before(t),
              this._items.splice(e, 0, t),
              this._mergers.splice(
                e,
                0,
                1 *
                  t
                    .find("[data-merge]")
                    .andSelf("[data-merge]")
                    .attr("data-merge") || 1
              )),
          this._items[i] && this.reset(this._items[i].index()),
          this.invalidate("items"),
          this.trigger("added", { content: t, position: e });
      }),
      (h.prototype.remove = function (t) {
        (t = this.normalize(t, !0)) !== o &&
          (this.trigger("remove", { content: this._items[t], position: t }),
          this._items[t].remove(),
          this._items.splice(t, 1),
          this._mergers.splice(t, 1),
          this.invalidate("items"),
          this.trigger("removed", { content: null, position: t }));
      }),
      (h.prototype.preloadAutoWidthImages = function (t) {
        t.each(
          l.proxy(function (t, e) {
            this.enter("pre-loading"),
              (e = l(e)),
              l(new Image())
                .one(
                  "load",
                  l.proxy(function (t) {
                    e.attr("src", t.target.src),
                      e.css("opacity", 1),
                      this.leave("pre-loading"),
                      !this.is("pre-loading") &&
                        !this.is("initializing") &&
                        this.refresh();
                  }, this)
                )
                .attr(
                  "src",
                  e.attr("src") ||
                    e.attr("data-src") ||
                    e.attr("data-src-retina")
                );
          }, this)
        );
      }),
      (h.prototype.destroy = function () {
        for (var t in (this.$element.off(".owl.core"),
        this.$stage.off(".owl.core"),
        l(s).off(".owl.core"),
        !1 !== this.settings.responsive &&
          (i.clearTimeout(this.resizeTimer),
          this.off(i, "resize", this._handlers.onThrottledResize)),
        this._plugins))
          this._plugins[t].destroy();
        this.$stage.children(".cloned").remove(),
          this.$stage.unwrap(),
          this.$stage.children().contents().unwrap(),
          this.$stage.children().unwrap(),
          this.$element
            .removeClass(this.options.refreshClass)
            .removeClass(this.options.loadingClass)
            .removeClass(this.options.loadedClass)
            .removeClass(this.options.rtlClass)
            .removeClass(this.options.dragClass)
            .removeClass(this.options.grabClass)
            .attr(
              "class",
              this.$element
                .attr("class")
                .replace(
                  new RegExp(this.options.responsiveClass + "-\\S+\\s", "g"),
                  ""
                )
            )
            .removeData("owl.carousel");
      }),
      (h.prototype.op = function (t, e, i) {
        var n = this.settings.rtl;
        switch (e) {
          case "<":
            return n ? i < t : t < i;
          case ">":
            return n ? t < i : i < t;
          case ">=":
            return n ? t <= i : i <= t;
          case "<=":
            return n ? i <= t : t <= i;
        }
      }),
      (h.prototype.on = function (t, e, i, n) {
        t.addEventListener
          ? t.addEventListener(e, i, n)
          : t.attachEvent && t.attachEvent("on" + e, i);
      }),
      (h.prototype.off = function (t, e, i, n) {
        t.removeEventListener
          ? t.removeEventListener(e, i, n)
          : t.detachEvent && t.detachEvent("on" + e, i);
      }),
      (h.prototype.trigger = function (t, e, i, n, s) {
        var o = { item: { count: this._items.length, index: this.current() } },
          a = l.camelCase(
            l
              .grep(["on", t, i], function (t) {
                return t;
              })
              .join("-")
              .toLowerCase()
          ),
          r = l.Event(
            [t, "owl", i || "carousel"].join(".").toLowerCase(),
            l.extend({ relatedTarget: this }, o, e)
          );
        return (
          this._supress[t] ||
            (l.each(this._plugins, function (t, e) {
              e.onTrigger && e.onTrigger(r);
            }),
            this.register({ type: h.Type.Event, name: t }),
            this.$element.trigger(r),
            this.settings &&
              "function" == typeof this.settings[a] &&
              this.settings[a].call(this, r)),
          r
        );
      }),
      (h.prototype.enter = function (t) {
        l.each(
          [t].concat(this._states.tags[t] || []),
          l.proxy(function (t, e) {
            this._states.current[e] === o && (this._states.current[e] = 0),
              this._states.current[e]++;
          }, this)
        );
      }),
      (h.prototype.leave = function (t) {
        l.each(
          [t].concat(this._states.tags[t] || []),
          l.proxy(function (t, e) {
            this._states.current[e]--;
          }, this)
        );
      }),
      (h.prototype.register = function (i) {
        if (i.type === h.Type.Event) {
          if (
            (l.event.special[i.name] || (l.event.special[i.name] = {}),
            !l.event.special[i.name].owl)
          ) {
            var e = l.event.special[i.name]._default;
            (l.event.special[i.name]._default = function (t) {
              return !e ||
                !e.apply ||
                (t.namespace && -1 !== t.namespace.indexOf("owl"))
                ? t.namespace && -1 < t.namespace.indexOf("owl")
                : e.apply(this, arguments);
            }),
              (l.event.special[i.name].owl = !0);
          }
        } else
          i.type === h.Type.State &&
            (this._states.tags[i.name]
              ? (this._states.tags[i.name] = this._states.tags[i.name].concat(
                  i.tags
                ))
              : (this._states.tags[i.name] = i.tags),
            (this._states.tags[i.name] = l.grep(
              this._states.tags[i.name],
              l.proxy(function (t, e) {
                return l.inArray(t, this._states.tags[i.name]) === e;
              }, this)
            )));
      }),
      (h.prototype.suppress = function (t) {
        l.each(
          t,
          l.proxy(function (t, e) {
            this._supress[e] = !0;
          }, this)
        );
      }),
      (h.prototype.release = function (t) {
        l.each(
          t,
          l.proxy(function (t, e) {
            delete this._supress[e];
          }, this)
        );
      }),
      (h.prototype.pointer = function (t) {
        var e = { x: null, y: null };
        return (
          (t =
            (t = t.originalEvent || t || i.event).touches && t.touches.length
              ? t.touches[0]
              : t.changedTouches && t.changedTouches.length
              ? t.changedTouches[0]
              : t).pageX
            ? ((e.x = t.pageX), (e.y = t.pageY))
            : ((e.x = t.clientX), (e.y = t.clientY)),
          e
        );
      }),
      (h.prototype.difference = function (t, e) {
        return { x: t.x - e.x, y: t.y - e.y };
      }),
      (l.fn.epressOwlCarousel = function (e) {
        var n = Array.prototype.slice.call(arguments, 1);
        return this.each(function () {
          var t = l(this),
            i = t.data("owl.carousel");
          i ||
            ((i = new h(this, "object" == typeof e && e)),
            t.data("owl.carousel", i),
            l.each(
              [
                "next",
                "prev",
                "to",
                "destroy",
                "refresh",
                "replace",
                "add",
                "remove",
              ],
              function (t, e) {
                i.register({ type: h.Type.Event, name: e }),
                  i.$element.on(
                    e + ".owl.carousel.core",
                    l.proxy(function (t) {
                      t.namespace &&
                        t.relatedTarget !== this &&
                        (this.suppress([e]),
                        i[e].apply(this, [].slice.call(arguments, 1)),
                        this.release([e]));
                    }, i)
                  );
              }
            )),
            "string" == typeof e && "_" !== e.charAt(0) && i[e].apply(i, n);
        });
      }),
      (l.fn.epressOwlCarousel.Constructor = h);
  })(window.Zepto || window.jQuery, window, document),
  (function (e, i, t, n) {
    var s = function (t) {
      (this._core = t),
        (this._interval = null),
        (this._visible = null),
        (this._handlers = {
          "initialized.owl.carousel": e.proxy(function (t) {
            t.namespace && this._core.settings.autoRefresh && this.watch();
          }, this),
        }),
        (this._core.options = e.extend({}, s.Defaults, this._core.options)),
        this._core.$element.on(this._handlers);
    };
    (s.Defaults = { autoRefresh: !0, autoRefreshInterval: 500 }),
      (s.prototype.watch = function () {
        this._interval ||
          ((this._visible = this._core.$element.is(":visible")),
          (this._interval = i.setInterval(
            e.proxy(this.refresh, this),
            this._core.settings.autoRefreshInterval
          )));
      }),
      (s.prototype.refresh = function () {
        this._core.$element.is(":visible") !== this._visible &&
          ((this._visible = !this._visible),
          this._core.$element.toggleClass("owl-hidden", !this._visible),
          this._visible &&
            this._core.invalidate("width") &&
            this._core.refresh());
      }),
      (s.prototype.destroy = function () {
        var t, e;
        for (t in (i.clearInterval(this._interval), this._handlers))
          this._core.$element.off(t, this._handlers[t]);
        for (e in Object.getOwnPropertyNames(this))
          "function" != typeof this[e] && (this[e] = null);
      }),
      (e.fn.epressOwlCarousel.Constructor.Plugins.AutoRefresh = s);
  })(window.Zepto || window.jQuery, window, document),
  (function (r, o, t, e) {
    var i = function (t) {
      (this._core = t),
        (this._loaded = []),
        (this._handlers = {
          "initialized.owl.carousel change.owl.carousel": r.proxy(function (t) {
            if (
              t.namespace &&
              this._core.settings &&
              this._core.settings.lazyLoad &&
              ((t.property && "position" == t.property.name) ||
                "initialized" == t.type)
            )
              for (
                var e = this._core.settings,
                  i = (e.center && Math.ceil(e.items / 2)) || e.items,
                  n = (e.center && -1 * i) || 0,
                  s =
                    ((t.property && t.property.value) || this._core.current()) +
                    n,
                  o = this._core.clones().length,
                  a = r.proxy(function (t, e) {
                    this.load(e);
                  }, this);
                n++ < i;

              )
                this.load(o / 2 + this._core.relative(s)),
                  o && r.each(this._core.clones(this._core.relative(s)), a),
                  s++;
          }, this),
        }),
        (this._core.options = r.extend({}, i.Defaults, this._core.options)),
        this._core.$element.on(this._handlers);
    };
    (i.Defaults = { lazyLoad: !1 }),
      (i.prototype.load = function (t) {
        var e = this._core.$stage.children().eq(t),
          i = e && e.find(".owl-lazy");
        !i ||
          -1 < r.inArray(e.get(0), this._loaded) ||
          (i.each(
            r.proxy(function (t, e) {
              var i,
                n = r(e),
                s =
                  (1 < o.devicePixelRatio && n.attr("data-src-retina")) ||
                  n.attr("data-src");
              this._core.trigger("load", { element: n, url: s }, "lazy"),
                n.is("img")
                  ? n
                      .one(
                        "load.owl.lazy",
                        r.proxy(function () {
                          n.css("opacity", 1),
                            this._core.trigger(
                              "loaded",
                              { element: n, url: s },
                              "lazy"
                            );
                        }, this)
                      )
                      .attr("src", s)
                  : (((i = new Image()).onload = r.proxy(function () {
                      n.css({
                        "background-image": "url(" + s + ")",
                        opacity: "1",
                      }),
                        this._core.trigger(
                          "loaded",
                          { element: n, url: s },
                          "lazy"
                        );
                    }, this)),
                    (i.src = s));
            }, this)
          ),
          this._loaded.push(e.get(0)));
      }),
      (i.prototype.destroy = function () {
        var t, e;
        for (t in this.handlers) this._core.$element.off(t, this.handlers[t]);
        for (e in Object.getOwnPropertyNames(this))
          "function" != typeof this[e] && (this[e] = null);
      }),
      (r.fn.epressOwlCarousel.Constructor.Plugins.Lazy = i);
  })(window.Zepto || window.jQuery, window, document),
  (function (n, t, e, i) {
    var s = function (t) {
      (this._core = t),
        (this._handlers = {
          "initialized.owl.carousel refreshed.owl.carousel": n.proxy(function (
            t
          ) {
            t.namespace && this._core.settings.autoHeight && this.update();
          },
          this),
          "changed.owl.carousel": n.proxy(function (t) {
            t.namespace &&
              this._core.settings.autoHeight &&
              "position" == t.property.name &&
              this.update();
          }, this),
          "loaded.owl.lazy": n.proxy(function (t) {
            t.namespace &&
              this._core.settings.autoHeight &&
              t.element.closest("." + this._core.settings.itemClass).index() ===
                this._core.current() &&
              this.update();
          }, this),
        }),
        (this._core.options = n.extend({}, s.Defaults, this._core.options)),
        this._core.$element.on(this._handlers);
    };
    (s.Defaults = { autoHeight: !1, autoHeightClass: "epress-owl-height" }),
      (s.prototype.update = function () {
        var t = this._core._current,
          e = t + this._core.settings.items,
          i = this._core.$stage.children().toArray().slice(t, e);
        (heights = []),
          (maxheight = 0),
          n.each(i, function (t, e) {
            heights.push(n(e).height());
          }),
          (maxheight = Math.max.apply(null, heights)),
          this._core.$stage
            .parent()
            .height(maxheight)
            .addClass(this._core.settings.autoHeightClass);
      }),
      (s.prototype.destroy = function () {
        var t, e;
        for (t in this._handlers) this._core.$element.off(t, this._handlers[t]);
        for (e in Object.getOwnPropertyNames(this))
          "function" != typeof this[e] && (this[e] = null);
      }),
      (n.fn.epressOwlCarousel.Constructor.Plugins.AutoHeight = s);
  })(window.Zepto || window.jQuery, window, document),
  (function (c, t, e, i) {
    var n = function (t) {
      (this._core = t),
        (this._videos = {}),
        (this._playing = null),
        (this._handlers = {
          "initialized.owl.carousel": c.proxy(function (t) {
            t.namespace &&
              this._core.register({
                type: "state",
                name: "playing",
                tags: ["interacting"],
              });
          }, this),
          "resize.owl.carousel": c.proxy(function (t) {
            t.namespace &&
              this._core.settings.video &&
              this.isInFullScreen() &&
              t.preventDefault();
          }, this),
          "refreshed.owl.carousel": c.proxy(function (t) {
            t.namespace &&
              this._core.is("resizing") &&
              this._core.$stage.find(".cloned .owl-video-frame").remove();
          }, this),
          "changed.owl.carousel": c.proxy(function (t) {
            t.namespace &&
              "position" === t.property.name &&
              this._playing &&
              this.stop();
          }, this),
          "prepared.owl.carousel": c.proxy(function (t) {
            if (t.namespace) {
              var e = c(t.content).find(".owl-video");
              e.length &&
                (e.css("display", "none"), this.fetch(e, c(t.content)));
            }
          }, this),
        }),
        (this._core.options = c.extend({}, n.Defaults, this._core.options)),
        this._core.$element.on(this._handlers),
        this._core.$element.on(
          "click.owl.video",
          ".owl-video-play-icon",
          c.proxy(function (t) {
            this.play(t);
          }, this)
        );
    };
    (n.Defaults = { video: !1, videoHeight: !1, videoWidth: !1 }),
      (n.prototype.fetch = function (t, e) {
        var i = t.attr("data-vimeo-id") ? "vimeo" : "youtube",
          n = t.attr("data-vimeo-id") || t.attr("data-youtube-id"),
          s = t.attr("data-width") || this._core.settings.videoWidth,
          o = t.attr("data-height") || this._core.settings.videoHeight,
          a = t.attr("href");
        if (!a) throw new Error("Missing video URL.");
        if (
          -1 <
          (n = a.match(
            /(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/
          ))[3].indexOf("youtu")
        )
          i = "youtube";
        else {
          if (!(-1 < n[3].indexOf("vimeo")))
            throw new Error("Video URL not supported.");
          i = "vimeo";
        }
        (n = n[6]),
          (this._videos[a] = { type: i, id: n, width: s, height: o }),
          e.attr("data-video", a),
          this.thumbnail(t, this._videos[a]);
      }),
      (n.prototype.thumbnail = function (e, t) {
        var i,
          n,
          s =
            t.width && t.height
              ? 'style="width:' + t.width + "px;height:" + t.height + 'px;"'
              : "",
          o = e.find("img"),
          a = "src",
          r = "",
          l = this._core.settings,
          h = function (t) {
            '<div class="owl-video-play-icon"></div>',
              (i = l.lazyLoad
                ? '<div class="owl-video-tn ' +
                  r +
                  '" ' +
                  a +
                  '="' +
                  t +
                  '"></div>'
                : '<div class="owl-video-tn" style="opacity:1;background-image:url(' +
                  t +
                  ')"></div>'),
              e.after(i),
              e.after('<div class="owl-video-play-icon"></div>');
          };
        if (
          (e.wrap('<div class="owl-video-wrapper"' + s + "></div>"),
          this._core.settings.lazyLoad && ((a = "data-src"), (r = "owl-lazy")),
          o.length)
        )
          return h(o.attr(a)), o.remove(), !1;
        "youtube" === t.type
          ? ((n = "http://img.youtube.com/vi/" + t.id + "/hqdefault.jpg"), h(n))
          : "vimeo" === t.type &&
            c.ajax({
              type: "GET",
              url: "http://vimeo.com/api/v2/video/" + t.id + ".json",
              jsonp: "callback",
              dataType: "jsonp",
              success: function (t) {
                (n = t[0].thumbnail_large), h(n);
              },
            });
      }),
      (n.prototype.stop = function () {
        this._core.trigger("stop", null, "video"),
          this._playing.find(".owl-video-frame").remove(),
          this._playing.removeClass("owl-video-playing"),
          (this._playing = null),
          this._core.leave("playing"),
          this._core.trigger("stopped", null, "video");
      }),
      (n.prototype.play = function (t) {
        var e,
          i = c(t.target).closest("." + this._core.settings.itemClass),
          n = this._videos[i.attr("data-video")],
          s = n.width || "100%",
          o = n.height || this._core.$stage.height();
        this._playing ||
          (this._core.enter("playing"),
          this._core.trigger("play", null, "video"),
          (i = this._core.items(this._core.relative(i.index()))),
          this._core.reset(i.index()),
          "youtube" === n.type
            ? (e =
                '<iframe width="' +
                s +
                '" height="' +
                o +
                '" src="//www.youtube.com/embed/' +
                n.id +
                "?autoplay=1&v=" +
                n.id +
                '" frameborder="0" allowfullscreen></iframe>')
            : "vimeo" === n.type &&
              (e =
                '<iframe src="//player.vimeo.com/video/' +
                n.id +
                '?autoplay=1" width="' +
                s +
                '" height="' +
                o +
                '" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'),
          c('<div class="owl-video-frame">' + e + "</div>").insertAfter(
            i.find(".owl-video")
          ),
          (this._playing = i.addClass("owl-video-playing")));
      }),
      (n.prototype.isInFullScreen = function () {
        var t =
          e.fullscreenElement ||
          e.mozFullScreenElement ||
          e.webkitFullscreenElement;
        return t && c(t).parent().hasClass("owl-video-frame");
      }),
      (n.prototype.destroy = function () {
        var t, e;
        for (t in (this._core.$element.off("click.owl.video"), this._handlers))
          this._core.$element.off(t, this._handlers[t]);
        for (e in Object.getOwnPropertyNames(this))
          "function" != typeof this[e] && (this[e] = null);
      }),
      (c.fn.epressOwlCarousel.Constructor.Plugins.Video = n);
  })(window.Zepto || window.jQuery, window, document),
  (function (a, t, e, i) {
    var n = function (t) {
      (this.core = t),
        (this.core.options = a.extend({}, n.Defaults, this.core.options)),
        (this.swapping = !0),
        (this.previous = void 0),
        (this.next = void 0),
        (this.handlers = {
          "change.owl.carousel": a.proxy(function (t) {
            t.namespace &&
              "position" == t.property.name &&
              ((this.previous = this.core.current()),
              (this.next = t.property.value));
          }, this),
          "drag.owl.carousel dragged.owl.carousel translated.owl.carousel": a.proxy(
            function (t) {
              t.namespace && (this.swapping = "translated" == t.type);
            },
            this
          ),
          "translate.owl.carousel": a.proxy(function (t) {
            t.namespace &&
              this.swapping &&
              (this.core.options.animateOut || this.core.options.animateIn) &&
              this.swap();
          }, this),
        }),
        this.core.$element.on(this.handlers);
    };
    (n.Defaults = { animateOut: !1, animateIn: !1 }),
      (n.prototype.swap = function () {
        if (
          1 === this.core.settings.items &&
          a.support.animation &&
          a.support.transition
        ) {
          this.core.speed(0);
          var t,
            e = a.proxy(this.clear, this),
            i = this.core.$stage.children().eq(this.previous),
            n = this.core.$stage.children().eq(this.next),
            s = this.core.settings.animateIn,
            o = this.core.settings.animateOut;
          this.core.current() !== this.previous &&
            (o &&
              ((t =
                this.core.coordinates(this.previous) -
                this.core.coordinates(this.next)),
              i
                .one(a.support.animation.end, e)
                .css({ left: t + "px" })
                .addClass("animated owl-animated-out")
                .addClass(o)),
            s &&
              n
                .one(a.support.animation.end, e)
                .addClass("animated owl-animated-in")
                .addClass(s));
        }
      }),
      (n.prototype.clear = function (t) {
        a(t.target)
          .css({ left: "" })
          .removeClass("animated owl-animated-out owl-animated-in")
          .removeClass(this.core.settings.animateIn)
          .removeClass(this.core.settings.animateOut),
          this.core.onTransitionEnd();
      }),
      (n.prototype.destroy = function () {
        var t, e;
        for (t in this.handlers) this.core.$element.off(t, this.handlers[t]);
        for (e in Object.getOwnPropertyNames(this))
          "function" != typeof this[e] && (this[e] = null);
      }),
      (a.fn.epressOwlCarousel.Constructor.Plugins.Animate = n);
  })(window.Zepto || window.jQuery, window, document),
  (function (i, n, s, t) {
    var e = function (t) {
      (this._core = t),
        (this._interval = null),
        (this._paused = !1),
        (this._handlers = {
          "changed.owl.carousel": i.proxy(function (t) {
            t.namespace &&
              "settings" === t.property.name &&
              (this._core.settings.autoplay ? this.play() : this.stop());
          }, this),
          "initialized.owl.carousel": i.proxy(function (t) {
            t.namespace && this._core.settings.autoplay && this.play();
          }, this),
          "play.owl.autoplay": i.proxy(function (t, e, i) {
            t.namespace && this.play(e, i);
          }, this),
          "stop.owl.autoplay": i.proxy(function (t) {
            t.namespace && this.stop();
          }, this),
          "mouseover.owl.autoplay": i.proxy(function () {
            this._core.settings.autoplayHoverPause &&
              this._core.is("rotating") &&
              this.pause();
          }, this),
          "mouseleave.owl.autoplay": i.proxy(function () {
            this._core.settings.autoplayHoverPause &&
              this._core.is("rotating") &&
              this.play();
          }, this),
        }),
        this._core.$element.on(this._handlers),
        (this._core.options = i.extend({}, e.Defaults, this._core.options));
    };
    (e.Defaults = {
      autoplay: !1,
      autoplayTimeout: 5e3,
      autoplayHoverPause: !1,
      autoplaySpeed: !1,
    }),
      (e.prototype.play = function (t, e) {
        (this._paused = !1),
          this._core.is("rotating") ||
            (this._core.enter("rotating"),
            (this._interval = n.setInterval(
              i.proxy(function () {
                this._paused ||
                  this._core.is("busy") ||
                  this._core.is("interacting") ||
                  s.hidden ||
                  this._core.next(e || this._core.settings.autoplaySpeed);
              }, this),
              t || this._core.settings.autoplayTimeout
            )));
      }),
      (e.prototype.stop = function () {
        this._core.is("rotating") &&
          (n.clearInterval(this._interval), this._core.leave("rotating"));
      }),
      (e.prototype.pause = function () {
        this._core.is("rotating") && (this._paused = !0);
      }),
      (e.prototype.destroy = function () {
        var t, e;
        for (t in (this.stop(), this._handlers))
          this._core.$element.off(t, this._handlers[t]);
        for (e in Object.getOwnPropertyNames(this))
          "function" != typeof this[e] && (this[e] = null);
      }),
      (i.fn.epressOwlCarousel.Constructor.Plugins.autoplay = e);
  })(window.Zepto || window.jQuery, window, document),
  (function (o, t, e, i) {
    "use strict";
    var n = function (t) {
      (this._core = t),
        (this._initialized = !1),
        (this._pages = []),
        (this._controls = {}),
        (this._templates = []),
        (this.$element = this._core.$element),
        (this._overrides = {
          next: this._core.next,
          prev: this._core.prev,
          to: this._core.to,
        }),
        (this._handlers = {
          "prepared.owl.carousel": o.proxy(function (t) {
            t.namespace &&
              this._core.settings.dotsData &&
              this._templates.push(
                '<div class="' +
                  this._core.settings.dotClass +
                  '">' +
                  o(t.content)
                    .find("[data-dot]")
                    .andSelf("[data-dot]")
                    .attr("data-dot") +
                  "</div>"
              );
          }, this),
          "added.owl.carousel": o.proxy(function (t) {
            t.namespace &&
              this._core.settings.dotsData &&
              this._templates.splice(t.position, 0, this._templates.pop());
          }, this),
          "remove.owl.carousel": o.proxy(function (t) {
            t.namespace &&
              this._core.settings.dotsData &&
              this._templates.splice(t.position, 1);
          }, this),
          "changed.owl.carousel": o.proxy(function (t) {
            t.namespace && "position" == t.property.name && this.draw();
          }, this),
          "initialized.owl.carousel": o.proxy(function (t) {
            t.namespace &&
              !this._initialized &&
              (this._core.trigger("initialize", null, "navigation"),
              this.initialize(),
              this.update(),
              this.draw(),
              (this._initialized = !0),
              this._core.trigger("initialized", null, "navigation"));
          }, this),
          "refreshed.owl.carousel": o.proxy(function (t) {
            t.namespace &&
              this._initialized &&
              (this._core.trigger("refresh", null, "navigation"),
              this.update(),
              this.draw(),
              this._core.trigger("refreshed", null, "navigation"));
          }, this),
        }),
        (this._core.options = o.extend({}, n.Defaults, this._core.options)),
        this.$element.on(this._handlers);
    };
    (n.Defaults = {
      nav: !1,
      navText: ["prev", "next"],
      navSpeed: !1,
      navElement: "div",
      navContainer: !1,
      navContainerClass: "epress-owl-nav",
      navClass: ["epress-owl-prev", "epress-owl-next"],
      slideBy: 1,
      dotClass: "epress-owl-dot",
      dotsClass: "epress-owl-dots",
      dots: !0,
      dotsEach: !1,
      dotsData: !1,
      dotsSpeed: !1,
      dotsContainer: !1,
    }),
      (n.prototype.initialize = function () {
        var t,
          i = this._core.settings;
        for (t in ((this._controls.$relative = (i.navContainer
          ? o(i.navContainer)
          : o("<div>").addClass(i.navContainerClass).appendTo(this.$element)
        ).addClass("disabled")),
        (this._controls.$previous = o("<" + i.navElement + ">")
          .addClass(i.navClass[0])
          .html(i.navText[0])
          .prependTo(this._controls.$relative)
          .on(
            "click",
            o.proxy(function (t) {
              this.prev(i.navSpeed);
            }, this)
          )),
        (this._controls.$next = o("<" + i.navElement + ">")
          .addClass(i.navClass[1])
          .html(i.navText[1])
          .appendTo(this._controls.$relative)
          .on(
            "click",
            o.proxy(function (t) {
              this.next(i.navSpeed);
            }, this)
          )),
        i.dotsData ||
          (this._templates = [
            o("<div>")
              .addClass(i.dotClass)
              .append(o("<span>"))
              .prop("outerHTML"),
          ]),
        (this._controls.$absolute = (i.dotsContainer
          ? o(i.dotsContainer)
          : o("<div>").addClass(i.dotsClass).appendTo(this.$element)
        ).addClass("disabled")),
        this._controls.$absolute.on(
          "click",
          "div",
          o.proxy(function (t) {
            var e = o(t.target).parent().is(this._controls.$absolute)
              ? o(t.target).index()
              : o(t.target).parent().index();
            t.preventDefault(), this.to(e, i.dotsSpeed);
          }, this)
        ),
        this._overrides))
          this._core[t] = o.proxy(this[t], this);
      }),
      (n.prototype.destroy = function () {
        var t, e, i, n;
        for (t in this._handlers) this.$element.off(t, this._handlers[t]);
        for (e in this._controls) this._controls[e].remove();
        for (n in this.overides) this._core[n] = this._overrides[n];
        for (i in Object.getOwnPropertyNames(this))
          "function" != typeof this[i] && (this[i] = null);
      }),
      (n.prototype.update = function () {
        var t,
          e,
          i = this._core.clones().length / 2,
          n = i + this._core.items().length,
          s = this._core.maximum(!0),
          o = this._core.settings,
          a = o.center || o.autoWidth || o.dotsData ? 1 : o.dotsEach || o.items;
        if (
          ("page" !== o.slideBy && (o.slideBy = Math.min(o.slideBy, o.items)),
          o.dots || "page" == o.slideBy)
        )
          for (this._pages = [], t = i, e = 0; t < n; t++) {
            if (a <= e || 0 === e) {
              if (
                (this._pages.push({
                  start: Math.min(s, t - i),
                  end: t - i + a - 1,
                }),
                Math.min(s, t - i) === s)
              )
                break;
              (e = 0), 0;
            }
            e += this._core.mergers(this._core.relative(t));
          }
      }),
      (n.prototype.draw = function () {
        var t,
          e = this._core.settings,
          i = this._core.items().length <= e.items,
          n = this._core.relative(this._core.current()),
          s = e.loop || e.rewind;
        this._controls.$relative.toggleClass("disabled", !e.nav || i),
          e.nav &&
            (this._controls.$previous.toggleClass(
              "disabled",
              !s && n <= this._core.minimum(!0)
            ),
            this._controls.$next.toggleClass(
              "disabled",
              !s && n >= this._core.maximum(!0)
            )),
          this._controls.$absolute.toggleClass("disabled", !e.dots || i),
          e.dots &&
            ((t =
              this._pages.length - this._controls.$absolute.children().length),
            e.dotsData && 0 !== t
              ? this._controls.$absolute.html(this._templates.join(""))
              : 0 < t
              ? this._controls.$absolute.append(
                  new Array(t + 1).join(this._templates[0])
                )
              : t < 0 && this._controls.$absolute.children().slice(t).remove(),
            this._controls.$absolute.find(".active").removeClass("active"),
            this._controls.$absolute
              .children()
              .eq(o.inArray(this.current(), this._pages))
              .addClass("active"));
      }),
      (n.prototype.onTrigger = function (t) {
        var e = this._core.settings;
        t.page = {
          index: o.inArray(this.current(), this._pages),
          count: this._pages.length,
          size:
            e &&
            (e.center || e.autoWidth || e.dotsData ? 1 : e.dotsEach || e.items),
        };
      }),
      (n.prototype.current = function () {
        var i = this._core.relative(this._core.current());
        return o
          .grep(
            this._pages,
            o.proxy(function (t, e) {
              return t.start <= i && t.end >= i;
            }, this)
          )
          .pop();
      }),
      (n.prototype.getPosition = function (t) {
        var e,
          i,
          n = this._core.settings;
        return (
          "page" == n.slideBy
            ? ((e = o.inArray(this.current(), this._pages)),
              (i = this._pages.length),
              t ? ++e : --e,
              (e = this._pages[((e % i) + i) % i].start))
            : ((e = this._core.relative(this._core.current())),
              (i = this._core.items().length),
              t ? (e += n.slideBy) : (e -= n.slideBy)),
          e
        );
      }),
      (n.prototype.next = function (t) {
        o.proxy(this._overrides.to, this._core)(this.getPosition(!0), t);
      }),
      (n.prototype.prev = function (t) {
        o.proxy(this._overrides.to, this._core)(this.getPosition(!1), t);
      }),
      (n.prototype.to = function (t, e, i) {
        var n;
        i
          ? o.proxy(this._overrides.to, this._core)(t, e)
          : ((n = this._pages.length),
            o.proxy(this._overrides.to, this._core)(
              this._pages[((t % n) + n) % n].start,
              e
            ));
      }),
      (o.fn.epressOwlCarousel.Constructor.Plugins.Navigation = n);
  })(window.Zepto || window.jQuery, window, document),
  (function (n, s, t, e) {
    "use strict";
    var i = function (t) {
      (this._core = t),
        (this._hashes = {}),
        (this.$element = this._core.$element),
        (this._handlers = {
          "initialized.owl.carousel": n.proxy(function (t) {
            t.namespace &&
              "URLHash" === this._core.settings.startPosition &&
              n(s).trigger("hashchange.owl.navigation");
          }, this),
          "prepared.owl.carousel": n.proxy(function (t) {
            if (t.namespace) {
              var e = n(t.content)
                .find("[data-hash]")
                .andSelf("[data-hash]")
                .attr("data-hash");
              if (!e) return;
              this._hashes[e] = t.content;
            }
          }, this),
          "changed.owl.carousel": n.proxy(function (t) {
            if (t.namespace && "position" === t.property.name) {
              var i = this._core.items(
                  this._core.relative(this._core.current())
                ),
                e = n
                  .map(this._hashes, function (t, e) {
                    return t === i ? e : null;
                  })
                  .join();
              if (!e || s.location.hash.slice(1) === e) return;
              s.location.hash = e;
            }
          }, this),
        }),
        (this._core.options = n.extend({}, i.Defaults, this._core.options)),
        this.$element.on(this._handlers),
        n(s).on(
          "hashchange.owl.navigation",
          n.proxy(function (t) {
            var e = s.location.hash.substring(1),
              i = this._core.$stage.children(),
              n = this._hashes[e] && i.index(this._hashes[e]);
            void 0 !== n &&
              n !== this._core.current() &&
              this._core.to(this._core.relative(n), !1, !0);
          }, this)
        );
    };
    (i.Defaults = { URLhashListener: !1 }),
      (i.prototype.destroy = function () {
        var t, e;
        for (t in (n(s).off("hashchange.owl.navigation"), this._handlers))
          this._core.$element.off(t, this._handlers[t]);
        for (e in Object.getOwnPropertyNames(this))
          "function" != typeof this[e] && (this[e] = null);
      }),
      (n.fn.epressOwlCarousel.Constructor.Plugins.Hash = i);
  })(window.Zepto || window.jQuery, window, document),
  (function (s, t, e, o) {
    var a = s("<support>").get(0).style,
      r = "Webkit Moz O ms".split(" "),
      i = {
        transition: {
          end: {
            WebkitTransition: "webkitTransitionEnd",
            MozTransition: "transitionend",
            OTransition: "oTransitionEnd",
            transition: "transitionend",
          },
        },
        animation: {
          end: {
            WebkitAnimation: "webkitAnimationEnd",
            MozAnimation: "animationend",
            OAnimation: "oAnimationEnd",
            animation: "animationend",
          },
        },
      },
      n = function () {
        return !!c("transform");
      },
      l = function () {
        return !!c("perspective");
      },
      h = function () {
        return !!c("animation");
      };
    function c(t, i) {
      var n = !1,
        e = t.charAt(0).toUpperCase() + t.slice(1);
      return (
        s.each((t + " " + r.join(e + " ") + e).split(" "), function (t, e) {
          if (a[e] !== o) return (n = !i || e), !1;
        }),
        n
      );
    }
    function d(t) {
      return c(t, !0);
    }
    (function () {
      return !!c("transition");
    })() &&
      ((s.support.transition = new String(d("transition"))),
      (s.support.transition.end = i.transition.end[s.support.transition])),
      h() &&
        ((s.support.animation = new String(d("animation"))),
        (s.support.animation.end = i.animation.end[s.support.animation])),
      n() &&
        ((s.support.transform = new String(d("transform"))),
        (s.support.transform3d = l()));
  })(window.Zepto || window.jQuery, window, document),
  (function (t) {
    "function" == typeof define && define.amd
      ? define(["jquery"], t)
      : "object" == typeof exports
      ? (module.exports = t)
      : t(jQuery);
  })(function (u) {
    var p,
      f,
      t = ["wheel", "mousewheel", "DOMMouseScroll", "MozMousePixelScroll"],
      e =
        "onwheel" in document || 9 <= document.documentMode
          ? ["wheel"]
          : ["mousewheel", "DomMouseScroll", "MozMousePixelScroll"],
      g = Array.prototype.slice;
    if (u.event.fixHooks)
      for (var i = t.length; i; ) u.event.fixHooks[t[--i]] = u.event.mouseHooks;
    var m = (u.event.special.mousewheel = {
      version: "3.1.12",
      setup: function () {
        if (this.addEventListener)
          for (var t = e.length; t; ) this.addEventListener(e[--t], n, !1);
        else this.onmousewheel = n;
        u.data(this, "mousewheel-line-height", m.getLineHeight(this)),
          u.data(this, "mousewheel-page-height", m.getPageHeight(this));
      },
      teardown: function () {
        if (this.removeEventListener)
          for (var t = e.length; t; ) this.removeEventListener(e[--t], n, !1);
        else this.onmousewheel = null;
        u.removeData(this, "mousewheel-line-height"),
          u.removeData(this, "mousewheel-page-height");
      },
      getLineHeight: function (t) {
        var e = u(t),
          i = e["offsetParent" in u.fn ? "offsetParent" : "parent"]();
        return (
          i.length || (i = u("body")),
          parseInt(i.css("fontSize"), 10) ||
            parseInt(e.css("fontSize"), 10) ||
            16
        );
      },
      getPageHeight: function (t) {
        return u(t).height();
      },
      settings: { adjustOldDeltas: !0, normalizeOffset: !0 },
    });
    function n(t) {
      var e,
        i = t || window.event,
        n = g.call(arguments, 1),
        s = 0,
        o = 0,
        a = 0,
        r = 0,
        l = 0;
      if (
        (((t = u.event.fix(i)).type = "mousewheel"),
        "detail" in i && (a = -1 * i.detail),
        "wheelDelta" in i && (a = i.wheelDelta),
        "wheelDeltaY" in i && (a = i.wheelDeltaY),
        "wheelDeltaX" in i && (o = -1 * i.wheelDeltaX),
        "axis" in i && i.axis === i.HORIZONTAL_AXIS && ((o = -1 * a), (a = 0)),
        (s = 0 === a ? o : a),
        "deltaY" in i && (s = a = -1 * i.deltaY),
        "deltaX" in i && ((o = i.deltaX), 0 === a && (s = -1 * o)),
        0 !== a || 0 !== o)
      ) {
        if (1 === i.deltaMode) {
          var h = u.data(this, "mousewheel-line-height");
          (s *= h), (a *= h), (o *= h);
        } else if (2 === i.deltaMode) {
          var c = u.data(this, "mousewheel-page-height");
          (s *= c), (a *= c), (o *= c);
        }
        if (
          ((e = Math.max(Math.abs(a), Math.abs(o))),
          (!f || e < f) && _(i, (f = e)) && (f /= 40),
          _(i, e) && ((s /= 40), (o /= 40), (a /= 40)),
          (s = Math[1 <= s ? "floor" : "ceil"](s / f)),
          (o = Math[1 <= o ? "floor" : "ceil"](o / f)),
          (a = Math[1 <= a ? "floor" : "ceil"](a / f)),
          m.settings.normalizeOffset && this.getBoundingClientRect)
        ) {
          var d = this.getBoundingClientRect();
          (r = t.clientX - d.left), (l = t.clientY - d.top);
        }
        return (
          (t.deltaX = o),
          (t.deltaY = a),
          (t.deltaFactor = f),
          (t.offsetX = r),
          (t.offsetY = l),
          (t.deltaMode = 0),
          n.unshift(t, s, o, a),
          p && clearTimeout(p),
          (p = setTimeout(v, 200)),
          (u.event.dispatch || u.event.handle).apply(this, n)
        );
      }
    }
    function v() {
      f = null;
    }
    function _(t, e) {
      return (
        m.settings.adjustOldDeltas && "mousewheel" === t.type && e % 120 == 0
      );
    }
    u.fn.extend({
      mousewheel: function (t) {
        return t ? this.bind("mousewheel", t) : this.trigger("mousewheel");
      },
      unmousewheel: function (t) {
        return this.unbind("mousewheel", t);
      },
    });
  }),
  (function (c) {
    "use strict";
    var s = function (t, e) {
      (this.element = c(t)),
        (this.options = e),
        (this.unique = this.element.data("unique")),
        (this.data = window[this.unique]),
        this.init();
    };
    (s.DEFAULTS = { rtl: !1 }),
      (s.prototype.init = function () {
        var t = this;
        t.element.hasClass("jeg_vertical_playlist")
          ? t.vertical_playlist()
          : t.horizontal_playlist(),
          t.element.find("video").mediaelementplayer(),
          t.bind_click();
      }),
      (s.prototype.horizontal_playlist = function () {
        var t = c(this.element).width(),
          e = Math.floor(t / 160),
          i = e - 1,
          n = this.element.hasClass("jeg_dark_playlist") ? "" : 10;
        this.element
          .find(".jeg_video_playlist_list_inner_wrapper")
          .addClass("epress-owl-carousel")
          .epressOwlCarousel({
            rtl: this.options.rtl,
            lazyLoad: !0,
            navText: ["", ""],
            dots: !1,
            loop: !1,
            nav: !0,
            items: e,
            margin: n,
            autoHeight: !0,
            responsive: {
              0: { items: 2 },
              480: { items: 3 },
              568: { items: 4 },
              768: { items: i },
              1024: { items: e },
            },
          });
      }),
      (s.prototype.vertical_playlist = function () {
        var h = this;
        h.element.find(".jeg_video_playlist_list_inner_wrapper").jScrollPane();
        var t = h.element
          .find(".jeg_video_playlist_list_inner_wrapper")
          .data("jsp");
        (h.vertical_resize = function (t) {
          var e = h.element.find(".jeg_video_playlist_current"),
            i = h.element.find(".jeg_video_playlist_video_content"),
            n = h.element.find(".jeg_video_playlist_list_inner_wrapper"),
            s = i.height(),
            o = c(window).width();
          if (
            (h.element.hasClass("jeg_col_12") && 768 < o) ||
            ((h.element.hasClass("jeg_col_9") ||
              h.element.hasClass("jeg_col_8")) &&
              1024 < o)
          )
            s = i.height() - e.outerHeight();
          else {
            for (
              var a = n.find(".jeg_video_playlist_item"), r = 0, l = 0;
              l < 3;
              l++
            )
              r += c(a[l]).outerHeight();
            s = r;
          }
          n.height(s), t.reinitialise();
        }),
          c(window).bind("resize load", function () {
            h.vertical_resize(t);
          }),
          c(window).bind("load", function () {
            setTimeout(function () {
              h.vertical_resize(t);
            }, 200);
          }),
          h.vertical_resize(t);
      }),
      (s.prototype.load_content = function (t, e) {
        var i = c(t).parent(),
          n = c(i).parents(".jeg_video_playlist_wrapper"),
          s = c(n).find(".jeg_video_holder"),
          o = c(n).find(".jeg_video_playlist_current_info");
        c(s).find(".jeg_preview_slider_loader").remove(),
          c(s).append(e.tag),
          "mediaplayer" === e.type &&
            c(s)
              .find("video")
              .mediaelementplayer({
                success: function (t) {
                  t.play();
                },
              });
        var a =
          "<a href='" +
          c(t).attr("href") +
          "'>" +
          c(t).find(".jeg_video_playlist_title").text() +
          "</a>";
        c(s).css("height", "auto"),
          c(o).find("h2").html(a),
          c(o)
            .find("span")
            .text(c(t).find(".jeg_video_playlist_category").text());
      }),
      (s.prototype.bind_click = function () {
        var o = this;
        o.element.find(".jeg_video_playlist_item").on("click", function (t) {
          t.preventDefault();
          var e = c(this).data("id"),
            i = c(this).parent(),
            n = c(i).parents(".jeg_video_playlist_wrapper"),
            s = c(n).find(".jeg_video_holder");
          return (
            c(n).find("a.jeg_video_playlist_item").removeClass("active"),
            c(this).addClass("active"),
            c(s)
              .css("height", c(s).height())
              .html(
                "<div class='jeg_preview_slider_loader'><div class='jeg_preview_slider_loader_circle'></div></div>"
              ),
            o.load_content(this, o.data[e]),
            !1
          );
        });
      });
    var t = c.fn.jvidplaylist;
    (c.fn.jvidplaylist = function (n) {
      return c(this).each(function () {
        var t = c(this),
          e = c.extend({}, s.DEFAULTS, t.data(), "object" == typeof n && n),
          i = t.data("jeg.vidplaylist");
        i || t.data("jeg.vidplaylist", (i = new s(this, e)));
      });
    }),
      (c.fn.jvidplaylist.Constructor = s),
      (c.fn.jvidplaylist.noConflict = function () {
        return (c.fn.jvidplaylist = t), this;
      });
  })(jQuery),
  (function (s, e) {
    "use strict";
    var o = function (t, e) {
      (this.$element = s(t)),
        (this.options = e),
        (this.current_slider = 0),
        (this.trailing_slider = null),
        (this.previous_slider = null),
        (this.number_slider = 0),
        (this.advance_timeout = null),
        (this.newsticker_item = this.$element.find(".jeg_news_ticker_item")),
        (this.active_class = "jeg_news_ticker_active"),
        (this.horizontal_effect = [
          "fadeInLeft",
          "fadeInRight",
          "fadeOutLeft",
          "fadeOutRight",
        ]),
        (this.vertical_effect = [
          "fadeInUp",
          "fadeInDown",
          "fadeOutDown",
          "fadeOutUp",
        ]),
        (this.slide_effect = null),
        this.init();
    };
    (o.DEFAULT = { autoplay: !0, delay: 3e3, animation: "vertical" }),
      (o.prototype.init = function () {
        var t = this;
        (t.options.animation = s(t.$element).data("animation")),
          (t.options.autoplay = s(t.$element).data("autoplay")),
          (t.options.delay = s(t.$element).data("delay")),
          (t.number_slider = t.newsticker_item.size()),
          1 < t.number_slider
            ? ("horizontal" === t.options.animation
                ? (t.slide_effect = t.horizontal_effect)
                : "vertical" === t.options.animation &&
                  (t.slide_effect = t.vertical_effect),
              t.bind_direction(),
              t.do_autoplay(),
              t.do_slide("next"))
            : s(t.newsticker_item.get(0)).addClass(t.active_class);
      }),
      (o.prototype.do_slide = function (t) {
        this.remove_class_trailing_slider(),
          this.add_active_class(t),
          this.advance_slider(t),
          this.do_autoplay();
      }),
      (o.prototype.do_autoplay = function () {
        this.options.autoplay && this.autoplay();
      }),
      (o.prototype.autoplay = function () {
        var t = this;
        e.clearTimeout(t.advance_timeout),
          (t.advance_timeout = e.setTimeout(function () {
            t.do_slide("next");
          }, t.options.delay));
      }),
      (o.prototype.remove_class_trailing_slider = function () {
        var e = this,
          i = s(e.newsticker_item).get(e.trailing_slider);
        s.each(e.slide_effect, function (t) {
          s(i).removeClass(e.slide_effect[t]);
        });
      }),
      (o.prototype.add_active_class = function (t) {
        var e = this,
          i = s(e.newsticker_item).get(e.current_slider),
          n = s(e.newsticker_item).get(e.previous_slider);
        (e.trailing_slider = e.previous_slider),
          "next" === t
            ? (null !== e.previous_slider &&
                s(n).removeClass(e.active_class).addClass(e.slide_effect[3]),
              s(i).addClass(e.active_class).addClass(e.slide_effect[0]))
            : (null !== e.previous_slider &&
                s(n).removeClass(e.active_class).addClass(e.slide_effect[2]),
              s(i).addClass(e.active_class).addClass(e.slide_effect[1]));
      }),
      (o.prototype.advance_slider = function (t) {
        var e = this;
        (e.previous_slider = e.current_slider),
          "next" === t ? e.current_slider++ : e.current_slider--,
          e.current_slider >= e.number_slider && (e.current_slider = 0),
          e.current_slider < 0 && (e.current_slider = e.number_slider - 1);
      }),
      (o.prototype.bind_direction = function () {
        var t = this;
        t.$element.find(".jeg_news_ticker_next").on("click", function () {
          t.do_slide("next");
        }),
          t.$element.find(".jeg_news_ticker_prev").on("click", function () {
            t.do_slide("prev");
          }),
          s(t.newsticker_item)
            .on("mouseenter", function () {
              clearTimeout(t.advance_timeout);
            })
            .on("mouseleave", function () {
              t.do_autoplay();
            });
      });
    var t = s.fn.epressticker;
    (s.fn.epressticker = function (n) {
      return s(this).each(function () {
        var t = s(this),
          e = s.extend({}, o.DEFAULTS, t.data(), "object" == typeof n && n),
          i = t.data("jeg.newsticker");
        i || ((i = new o(this, e)), t.data("jeg.newsticker", i));
      });
    }),
      (s.fn.epressticker.Constructor = o),
      (s.fn.epressticker.noConflict = function () {
        return (s.fn.epressticker = t), this;
      });
  })(jQuery, window),
  (function (o) {
    "use strict";
    var s = function (t, e) {
      (this.element = o(t)),
        (this.options = e),
        (this.xhr = null),
        (this.xhr_cache = []),
        (this.lock_action = !1),
        (this.unique = this.element.data("unique")),
        (this.data = {
          filter: 0,
          filter_type: "all",
          current_page: 1,
          attribute: window[this.unique],
        }),
        (this.ajax_mode = this.data.attribute.pagination_mode),
        (this.header = this.element.find(".jeg_block_heading")),
        (this.container = this.element.find(".jeg_block_container")),
        (this.nav_block = this.element.find(".jeg_block_navigation")),
        (this.ad_code = this.element.find(".jeg_ad_code").val()),
        (this.nav_next = null),
        (this.nav_prev = null),
        (this.module_overlay = o(t).find(".module-overlay")),
        (this.load_more_block = o(t).find(".jeg_block_loadmore")),
        "nextprev" === this.ajax_mode &&
          ((this.nav_next = this.nav_block.find(".next")),
          (this.nav_prev = this.nav_block.find(".prev")),
          this.nav_next.on("click", o.proxy(this.click_next, this)),
          this.nav_prev.on("click", o.proxy(this.click_prev, this))),
        ("loadmore" !== this.ajax_mode && "scrollload" !== this.ajax_mode) ||
          ((this.nav_next = this.nav_block.find(".jeg_block_loadmore > a")),
          this.nav_next.on("click", o.proxy(this.load_more, this))),
        "scrollload" === this.ajax_mode &&
          ((this.load_limit = parseInt(
            this.data.attribute.pagination_scroll_limit
          )),
          0 < this.load_limit && (this.load_limit += 1),
          this.load_scroll()),
        this.masonry_init(),
        this.init();
    };

    (s.DEFAULTS = {}),
      (s.prototype.init = function () {
        this.element
          .find(".jeg_subcat")
          .okayNav({ swipe_enabled: !1, threshold: 80 }),
          this.assign_header(),
          this.meta_share();
      }),
      (s.prototype.load_scroll = function () {
        var t = this;
        t.nav_next.hasClass("disabled") ||
          ((t.load_limit > t.data.current_page || 0 == t.load_limit) &&
            t.nav_next.waypoint(
              function () {
                (t.data.current_page = t.data.current_page + 1),
                  t.request_ajax("scroll"),
                  this.destroy();
              },
              { offset: "100%", context: window }
            ));
      }),
      (s.prototype.click_next = function (t) {
        var e = this,
          i = e.nav_next;
        t.preventDefault(),
          o(i).hasClass("disabled") ||
            e.lock_action ||
            ((e.data.current_page = e.data.current_page + 1),
            e.request_ajax("next"));
      }),
      (s.prototype.click_prev = function (t) {
        var e = this,
          i = e.nav_prev;
        t.preventDefault(),
          o(i).hasClass("disabled") ||
            e.lock_action ||
            ((e.data.current_page = e.data.current_page - 1),
            e.request_ajax("prev"));
      }),
      (s.prototype.load_more = function (t) {
        var e = this,
          i = e.nav_next;
        t.preventDefault(),
          o(i).hasClass("disabled") ||
            e.lock_action ||
            ((e.data.current_page = e.data.current_page + 1),
            e.request_ajax("more"));
      }),
      (s.prototype.assign_header = function () {
        o(this.header).on(
          "click",
          ".subclass-filter",
          o.proxy(this.subclass_click, this)
        );
      }),
      (s.prototype.subclass_click = function (t) {
        var e = this,
          i = t.target;
        t.preventDefault(),
          e.lock_action ||
            (this.header.find(".subclass-filter").removeClass("current"),
            o(i).addClass("current"),
            (e.data.filter = o(i).data("id")),
            (e.data.filter_type = o(i).data("type")),
            (e.data.current_page = 1),
            e.request_ajax("subclass"));
      }),
      (s.prototype.request_ajax = function (e) {
        var i = this;
        i.lock_action = !0;
        var n = {
            action: epressoption.prefix + i.data.attribute.class,
            module: !0,
            data: i.data,
          },
          t = i.cache_get(n);
        t
          ? (i.before_ajax_request(e, !1),
            setTimeout(function () {
              i.load_ajax(e, n, t);
            }, 100))
          : (i.before_ajax_request(e, !0),
            (i.xhr = o.ajax({
              url: epress_ajax_url,
              type: "post",
              dataType: "json",
              data: n,
              success: function (t) {
                i.load_ajax(e, n, t), i.cache_save(n, t);
              },
            })));
      }),
      (s.prototype.cache_get = function (t) {
        for (var e = JSON.stringify(t), i = 0; i < this.xhr_cache.length; i++)
          if (this.xhr_cache[i].param == e)
            return this.cache_prepare(this.xhr_cache[i].result);
        return !1;
      }),
      (s.prototype.cache_prepare = function (t) {
        t.content = "<div>" + t.content + "</div>";
        var e = o(t.content);
        return (
          e.find("img").each(function () {
            var t = o(this).data("src");
            o(this)
              .attr("src", t)
              .removeClass("lazyload")
              .addClass("lazyloaded");
          }),
          (t.content = e.html()),
          t
        );
      }),
      (s.prototype.cache_save = function (t, e) {
        var i = JSON.stringify(t);
        this.xhr_cache.push({ param: i, result: e });
      }),
      (s.prototype.load_ajax = function (t, e, i) {
        var n = this;
        switch (((n.lock_action = !1), n.ajax_mode)) {
          case "loadmore":
            n.load_ajax_load_more(i, t);
            break;
          case "scrollload":
            n.load_scroll_more(i, t);
            break;
          case "nextprev":
          default:
            n.load_ajax_next_prev(i, t);
        }
      }),
      (s.prototype.before_ajax_request = function (t, e) {
        this.element
          .removeClass("loaded next prev more scroll subclass")
          .addClass("loading"),
          ("next" !== t && "prev" !== t && "subclass" !== t) ||
            !e ||
            this.module_overlay.show(),
          ("more" !== t && "scroll" !== t) ||
            this.load_more_block
              .find("a")
              .text(this.load_more_block.find("a").data("loading"))
              .addClass("active");
      }),
      (s.prototype.after_ajax_request = function (t) {
        this.element
          .removeClass("loading")
          .addClass("loaded")
          .addClass("load-" + t),
          ("next" !== t && "prev" !== t && "subclass" !== t) ||
            this.module_overlay.hide(),
          ("more" !== t && "scroll" !== t) ||
            this.load_more_block
              .find("a")
              .text(this.load_more_block.find("a").data("load"))
              .removeClass("active");
      }),
      (s.prototype.replace_content = function (t) {
        this.container.children().each(function () {
          o(this).hasClass("module-overlay") || o(this).remove();
        }),
          this.container.prepend(t);
      }),
      (s.prototype.load_ajax_next_prev = function (t, e) {
        var i = this;
        i.replace_content(t.content),
          null !== i.nav_next &&
            (t.next
              ? i.nav_next.removeClass("disabled")
              : i.nav_next.addClass("disabled")),
          null !== i.nav_prev &&
            (t.prev
              ? i.nav_prev.removeClass("disabled")
              : i.nav_prev.addClass("disabled")),
          t.next || t.prev
            ? null !== i.nav_prev && i.nav_next.parent().removeClass("inactive")
            : null !== i.nav_next && i.nav_next.parent().addClass("inactive"),
          i.after_ajax_request(e),
          i.masonry_init(),
          i.meta_share(),
          o(window).trigger("resize");
      }),
      (s.prototype.load_ajax_load_more = function (t, e) {
        var i = this,
          n = o(t.content),
          s = 0;
        n.each(function () {
          (o(this).hasClass("jeg_ad_module") &&
            i.ad_code &&
            o(this).find(".ads-wrapper").html(i.ad_code),
          o(this).hasClass("jeg_post"))
            ? o(this).addClass("jeg_ajax_loaded anim_" + s)
            : o(this)
                .find(".jeg_post")
                .each(function () {
                  o(this).addClass("jeg_ajax_loaded anim_" + s), s++;
                });
          s++;
        }),
          i.container.find(".jeg_post").removeClass("jeg_ajax_loaded"),
          i.container.find(".jeg_ad_module").removeClass("jeg_ajax_loaded"),
          1 == i.data.current_page
            ? i.replace_content(n)
            : i.element.find(".jeg_load_more_flag").append(n),
          t.next
            ? i.nav_next.removeClass("disabled")
            : i.nav_next.addClass("disabled"),
          i.after_ajax_request(e),
          i.masonry_load_more(n),
          i.meta_share(),
          o(window).trigger("resize");
      }),
      (s.prototype.load_scroll_more = function (t, e) {
        var i = this,
          n = o(t.content),
          s = 0;
        n.each(function () {
          o(this).hasClass("jeg_post")
            ? o(this).addClass("jeg_ajax_loaded anim_" + s)
            : o(this)
                .find(".jeg_post")
                .each(function () {
                  o(this).addClass("jeg_ajax_loaded anim_" + s), s++;
                });
          s++;
        }),
          i.container.find(".jeg_post").removeClass("jeg_ajax_loaded"),
          i.container.find(".jeg_ad_module").removeClass("jeg_ajax_loaded"),
          1 == i.data.current_page
            ? i.container.html("").html(n)
            : i.element.find(".jeg_load_more_flag").append(n),
          t.next
            ? i.nav_next.removeClass("disabled")
            : i.nav_next.addClass("disabled"),
          i.after_ajax_request(e),
          i.masonry_load_more(n),
          o(window).trigger("resize"),
          setTimeout(function () {
            i.load_scroll(), i.meta_share();
          }, 500);
      }),
      (s.prototype.masonry_load_more = function (t) {
        var e = this;
        e.container.find(".jeg_posts_masonry").length &&
          setTimeout(function () {
            e.masonry.isotope("appended", t);
          }, 150);
      }),
      (s.prototype.masonry_init = function () {
        var t = this;
        t.container.find(".jeg_posts_masonry").length &&
          (setTimeout(function () {
            (t.masonry = t.container
              .find(".jeg_posts_masonry .jeg_posts")
              .isotope({ itemSelector: ".jeg_post", layoutMode: "masonry" })),
              t.masonry.imagesLoaded().progress(function () {
                t.masonry.isotope("layout");
              });
          }, 150),
          o(window).bind("resize", function () {
            t.masonry.isotope("layout"),
              setTimeout(function () {
                t.masonry.isotope("layout");
              }, 1e3);
          }));
      }),
      (s.prototype.meta_share = function () {
        var t = this.container.find(".jeg_meta_share");
        t.length &&
          (o(window).on("click", function () {
            o(".jeg_meta_share").removeClass("active");
          }),
          t.each(function () {
            var t = o(this);
            t.unbind("click").on("click", function (t) {
              var e = o(this),
                i = !1;
              t.preventDefault(),
                t.stopPropagation(),
                e.hasClass("active") && (i = !0),
                o(".jeg_meta_share").removeClass("active"),
                i
                  ? e.removeClass("active")
                  : e.hasClass("active")
                  ? e.removeClass("active")
                  : e.addClass("active");
            }),
              t
                .find(".jeg_sharelist > a")
                .unbind("click")
                .on("click", function (t) {
                  t.stopPropagation();
                });
          }));
      });
    var t = o.fn.jmodule;
    (o.fn.jmodule = function (n) {
      return o(this).each(function () {
        var t = o(this),
          e = o.extend({}, s.DEFAULTS, t.data(), "object" == typeof n && n),
          i = t.data("jeg.module");
        i || t.data("jeg.module", (i = new s(this, e)));
      });
    }),
      (o.fn.jmodule.Constructor = s),
      (o.fn.jmodule.noConflict = function () {
        return (o.fn.jmodule = t), this;
      }),
      o(".jeg_module_hook").jmodule();
  })(jQuery),
  (function (l) {
    "use strict";
    var s = function (t, e) {
      (this.element = l(t)),
        (this.options = e),
        (this.header = l(".jeg_header")),
        (this.loader = l(".jeg_overlay_slider_loader", t)),
        (this.slider_wrapper = l(".jeg_overlay_slider_wrapper", t)),
        (this.slider_bottom = l(".jeg_overlay_slider_bottom", t)),
        (this.slider_bg = l(".jeg_overlay_slider_bg", t)),
        (this.caption_container = l(".jeg_overlay_caption_container", t)),
        (this.activeid = 0),
        (this.previd = 0),
        this.init();
    };
    (s.DEFAULTS = { rtl: !1, fullscreen: !1, breakpoint: 1024 }),
      (s.prototype.init = function () {
        var i = this,
          n = i.header;
        (i.options.fullscreen = l(i.element).data("fullscreen")),
          (i.options.shownav = l(i.element).data("nav")),
          (i.resize_wrapper = function () {
            (n = l(i.header).is(":visible")
              ? i.header
              : l(".jeg_navbar_mobile_wrapper")),
              l(window).width() > i.options.breakpoint
                ? i.element.height(l(window).height() - l(n).height())
                : i.element.attr("style", ""),
              i.resize_wrapper_fix();
          }),
          (i.resize_wrapper_fix = function () {
            if (
              ((n = l(i.header).is(":visible")
                ? i.header
                : l(".jeg_navbar_mobile_wrapper")),
              767 < l(window).width())
            )
              i.slider_wrapper.height(i.element.height() + l(n).height()),
                i.element.height(i.slider_wrapper.height() - l(n).height());
            else {
              var t = l(window).height(),
                e = 414 < t ? 0.45 * t : t;
              i.slider_wrapper.height(e), i.element.height(e - l(n).height());
            }
          }),
          i.options.fullscreen
            ? (i.resize_wrapper(),
              l(window).bind("resize load", i.resize_wrapper))
            : (i.resize_wrapper_fix(),
              l(window).bind("resize load", i.resize_wrapper_fix)),
          i.do_slider(),
          i.bind_click();
      }),
      (s.prototype.do_slider = function () {
        var t = this;
        t.slider_bottom.addClass("epress-owl-carousel").epressOwlCarousel({
          rtl: t.options.rtl,
          lazyLoad: !0,
          margin: 10,
          navText: ["", ""],
          nav: t.options.shownav,
          dots: !1,
          responsive: {
            0: { items: 1 },
            380: { items: 2 },
            768: { items: 3 },
            1024: { items: 4, loop: !0 },
          },
        }),
          t.slider_bottom.on("changed.owl.carousel", function () {
            t.element
              .find('.jeg_overlay_slider_item[data-id="' + t.activeid + '"]')
              .addClass("active");
          });
      }),
      (s.prototype.bind_click = function () {
        var i = this;
        i.element.on("click", ".jeg_overlay_slider_item", function (t) {
          t.preventDefault();
          var e = l(this).data("id");
          (i.previd = i.activeid),
            (i.activeid = e),
            i.change_active(this),
            i.load_background_text(e);
        });
      }),
      (s.prototype.change_active = function (t) {
        this.element.find(".jeg_overlay_slider_item").removeClass("active"),
          l(t).addClass("active");
      }),
      (s.prototype.load_background_text = function (t) {
        var e = this;
        l(e.loader).stop().fadeIn();
        var i = e.slider_bg.get(e.previd),
          n = e.slider_bg.get(t),
          s = l(n).data("bg"),
          o = e.caption_container.get(e.previd),
          a = e.caption_container.get(t);
        if ((l(o).fadeOut(), l(n).hasClass("loaded")))
          e.change_active_background(i, n, a);
        else {
          var r = new Image();
          l(r)
            .load(function () {
              t === e.activeid &&
                (l(n)
                  .css("background-image", "url(" + s + ")")
                  .addClass("loaded"),
                e.change_active_background(i, n, a));
            })
            .attr("src", s);
        }
      }),
      (s.prototype.change_active_background = function (t, e, i) {
        l(this.loader).stop().fadeOut(),
          this.slider_bg.removeClass("active"),
          l(t).stop().fadeOut(),
          l(e)
            .stop()
            .fadeIn(function () {
              l(this).addClass("active");
            }),
          l(i).fadeIn();
      });
    var t = l.fn.joverlayslider;
    (l.fn.joverlayslider = function (n) {
      return l(this).each(function () {
        var t = l(this),
          e = l.extend({}, s.DEFAULTS, t.data(), "object" == typeof n && n),
          i = t.data("jeg.overlayslider");
        i || t.data("jeg.overlayslider", (i = new s(this, e)));
      });
    }),
      (l.fn.joverlayslider.Constructor = s),
      (l.fn.joverlayslider.noConflict = function () {
        return (l.fn.joverlayslider = t), this;
      });
  })(jQuery),
  (function (a) {
    "use strict";
    a.fn.jowlslider = function (o) {
      var t = {
        items: 5,
        responsive: {
          0: { items: 4, nav: !1 },
          768: { items: 6, nav: !1 },
          1024: { items: 7, nav: !0 },
        },
        margin: 10,
        nav: !0,
        autoplay: !0,
        slideSpeed: 500,
        delay: 5e3,
        rtl: !1,
        thumbnail: ".jeg_slider_thumbnail",
        theme: "jeg_owlslider",
        thumbnail_theme: "jeg_owlslider_thumbnail",
      };
      return (
        (o = o ? a.extend(t, o) : a.extend(t)),
        a(this).each(function () {
          var e = this,
            i = !1,
            n = a(e).parent().find(o.thumbnail);
          function s(t) {
            var e = t.relatedTarget.relative(t.item.index),
              i = n.find(".epress-owl-stage").children();
            i.removeClass("current"),
              i.eq(t.relatedTarget.normalize(e)).toggleClass("current");
          }
          (o.autoplay = a(e).data("autoplay")),
            (o.delay = a(e).data("delay")),
            a(e).addClass("epress-owl-carousel").epressOwlCarousel({
              items: 1,
              autoplay: o.autoplay,
              autoplaySpeed: o.slideSpeed,
              autoplayTimeout: o.delay,
              nav: o.nav,
              navText: !1,
              loop: !0,
              lazyLoad: !0,
              callbacks: !0,
              rtl: o.rtl,
            }),
            n
              .on("initialized.owl.carousel", function (t) {
                s(t), n.addClass("disabled_nav");
              })
              .addClass("epress-owl-carousel")
              .epressOwlCarousel({
                nav: !1,
                navText: !1,
                dots: !1,
                navRewind: !1,
                items: o.items,
                margin: o.margin,
                rtl: o.rtl,
                lazyLoad: !0,
                responsive: o.responsive,
              }),
            a(e).on("changed.owl.carousel", function (t) {
              var e = t.relatedTarget.relative(t.property.value, !0);
              i ||
                ((i = !0),
                n.trigger("to.owl.carousel", [e, o.slideSpeed, !0]),
                (i = !1)),
                s(t);
            }),
            n
              .on("changed.owl.carousel", function (t) {
                i ||
                  ((i = !0),
                  a(e).trigger(
                    "to.owl.carousel",
                    t.item.index,
                    o.slideSpeed,
                    !0
                  ),
                  (i = !1));
              })
              .on("click", ".epress-owl-item", function (t) {
                t.preventDefault(),
                  a(e).trigger(
                    "to.owl.carousel",
                    a(this).index(),
                    o.slideSpeed,
                    !0
                  );
              });
        })
      );
    };
  })(jQuery),
  (function (c) {
    "use strict";
    (c.fn.epress_slider = function () {
      c(this).each(function () {
        var t = c(this);
        c(t)
          .find(".jeg_slider_type_1")
          .jowlslider({ rtl: 1 == epressoption.rtl }),
          c(t)
            .find(".jeg_slider_type_2")
            .each(function () {
              var t = c(this).data("autoplay"),
                e = c(this).data("delay");
              c(this)
                .addClass("epress-owl-carousel")
                .epressOwlCarousel({
                  rtl: 1 == epressoption.rtl,
                  nav: !1,
                  items: 1,
                  autoplay: t,
                  autoplayTimeout: e,
                  loop: !0,
                });
            }),
          c(t)
            .find(".jeg_slider_type_3")
            .each(function () {
              var t = c(this).data("autoplay"),
                e = c(this).data("delay"),
                i = c(this).data("items"),
                n = c(this).parent(".jeg_slider_wrapper"),
                s = i,
                o = i < 3 ? i : 3,
                a = i < 2 ? i : 2;
              n.hasClass("jeg_col_2o3")
                ? 3 < s && 1024 == c(window).width() && (s = 3)
                : n.hasClass("jeg_col_1o3") &&
                  ((o = 1), 1024 <= c(window).width() && (s = 1)),
                c(this)
                  .addClass("epress-owl-carousel")
                  .epressOwlCarousel({
                    rtl: 1 == epressoption.rtl,
                    nav: !0,
                    navText: !1,
                    dots: !1,
                    loop: !0,
                    stagePadding: 35,
                    margin: 5,
                    autoplay: t,
                    autoplayTimeout: e,
                    responsive: {
                      0: { items: 1 },
                      568: { items: a },
                      768: { items: o },
                      1024: { items: s },
                    },
                  });
            }),
          c(t)
            .find(".jeg_slider_type_4")
            .each(function () {
              var t = c(this).data("autoplay"),
                e = c(this).data("delay");
              c(this)
                .addClass("epress-owl-carousel")
                .epressOwlCarousel({
                  rtl: 1 == epressoption.rtl,
                  nav: !0,
                  navText: !1,
                  items: 1,
                  loop: !0,
                  autoplay: t,
                  autoplayTimeout: e,
                  animateOut: "fadeOut",
                });
            }),
          c(t)
            .find(".jeg_slider_type_5")
            .each(function () {
              var t = c(this).data("autoplay"),
                e = c(this).data("delay");
              c(this).epressOwlCarousel({
                rtl: 1 == epressoption.rtl,
                nav: !0,
                items: 1,
                navText: !1,
                dots: !1,
                autoplay: t,
                autoplayTimeout: e,
                loop: !0,
              });
            }),
          c(t)
            .find(".jeg_slider_type_6")
            .each(function () {
              var t = this,
                e = c(t).data("autoplay"),
                i = c(t).data("delay");
              c(t).epressOwlCarousel({
                rtl: 1 == epressoption.rtl,
                nav: !0,
                navigation: !0,
                navText: [c(t).data("nav-prev"), c(t).data("nav-next")],
                items: 1,
                dots: !1,
                autoplay: e,
                autoplayTimeout: i,
                loop: !0,
                animateOut: "fadeOut",
                animateIn: "fadeIn",
              });
            }),
          c(t)
            .find(".jeg_slider_type_7")
            .each(function () {
              var e = this,
                t = c(e).data("autoplay"),
                i = c(e).data("delay");
              c(e).epressOwlCarousel({
                rtl: 1 == epressoption.rtl,
                items: 1,
                dots: !1,
                mouseDrag: !1,
                touchDrag: !1,
                pullDrag: !1,
                autoplay: t,
                autoplayTimeout: i,
                loop: !0,
                animateOut: "fadeOut",
                animateIn: "fadeIn",
                smartSpeed: 500,
              }),
                c(e)
                  .find(".jeg_block_nav a")
                  .on("click", function (t) {
                    t.preventDefault(),
                      c(this).hasClass("next")
                        ? c(e).trigger("next.owl.carousel")
                        : c(e).trigger("prev.owl.carousel");
                  });
            }),
          c(t)
            .find(".jeg_slider_type_8")
            .each(function () {
              var i = this,
                t = c(i).data("autoplay"),
                e = c(i).data("delay"),
                n = c(i).data("items"),
                s = c(i).parent(".jeg_slider_wrapper"),
                o = n,
                a = n < 3 ? n : 3,
                r = n < 2 ? n : 2;
              s.hasClass("jeg_col_2o3")
                ? 3 < o && 1024 == c(window).width() && (o = 3)
                : s.hasClass("jeg_col_1o3") &&
                  ((a = 1), 1024 <= c(window).width() && (o = 1));
              var l = function () {
                var t = c(s).find(".owl-nav > div");
                if (c(t).length) {
                  var e = c(i).find(".thumbnail-container"),
                    n = c(e[0]).outerHeight();
                  c(t).each(function () {
                    var t = c(this),
                      e = t.outerHeight(),
                      i = 0.5 * n - 0.5 * e;
                    t.css("top", i + "px");
                  });
                }
              };
              c(this).epressOwlCarousel({
                rtl: 1 == epressoption.rtl,
                nav: !0,
                navText: !1,
                dots: !1,
                loop: !0,
                stagePadding: 35,
                margin: 5,
                autoplay: t,
                autoplayTimeout: e,
                responsive: {
                  0: { items: 1 },
                  568: { items: r },
                  768: { items: a },
                  1024: { items: o },
                },
                onInitialized: function () {
                  l();
                },
              }),
                c(this).on("resized.owl.carousel", function () {
                  l();
                });
            });
      });
    }),
      (c.fn.epress_carousel = function () {
        c(this).each(function () {
          c(this)
            .find(
              ".jeg_postblock_carousel_1, .jeg_postblock_carousel_2, .jeg_postblock_carousel_3"
            )
            .each(function () {
              var t = c(this),
                e = t.find(".jeg_carousel_post"),
                i = {
                  nav: e.data("nav"),
                  autoplay: e.data("autoplay"),
                  items: void 0 === e.data("items") ? 3 : e.data("items"),
                  delay: void 0 === e.data("delay") ? 3e3 : e.data("delay"),
                  rtl: e.data("rtl"),
                  margin: void 0 === e.data("margin") ? 20 : e.data("margin"),
                };
              t.hasClass("jeg_postblock_carousel_1")
                ? (t.hasClass("jeg_col_12") &&
                    (i.items =
                      void 0 === e.data("items") ? 5 : e.data("items")),
                  e.addClass("epress-owl-carousel").epressOwlCarousel({
                    rtl: 1 == epressoption.rtl,
                    nav: i.nav,
                    margin: i.margin,
                    navText: !1,
                    dots: !1,
                    loop: !0,
                    items: i.items,
                    autoplay: i.autoplay,
                    autoplayTimeout: i.delay,
                    animateOut: "fadeOut",
                    autoHeight: !0,
                    responsive: {
                      0: { items: 1 },
                      321: { items: 2, margin: 15 < i.margin ? 15 : i.margin },
                      568: { items: 3, margin: 15 < i.margin ? 15 : i.margin },
                      1024: { items: i.items },
                    },
                  }))
                : t.hasClass("jeg_postblock_carousel_2")
                ? (t.hasClass("jeg_col_12")
                    ? ((i.items =
                        void 0 === e.data("items") ? 3 : e.data("items")),
                      (i.responsive = {
                        0: { items: 1 },
                        568: { items: 2 },
                        768: { items: 3 < i.items ? 3 : i.items },
                        1024: { items: i.items },
                      }))
                    : t.hasClass("jeg_col_8")
                    ? ((i.items =
                        void 0 === e.data("items") ? 2 : e.data("items")),
                      (i.responsive = {
                        0: { items: 1 },
                        568: { items: 2 },
                        1024: { items: i.items },
                      }))
                    : ((i.items = 1),
                      (i.responsive = {
                        0: { items: 1 },
                        568: { items: 2 },
                        768: { items: i.items },
                      })),
                  (i.responsive = {
                    0: { items: 1 },
                    568: { items: 2 },
                    768: { items: 3 < i.items ? 3 : i.items },
                    1024: { items: i.items },
                  }),
                  e.addClass("epress-owl-carousel").epressOwlCarousel({
                    rtl: 1 == epressoption.rtl,
                    nav: i.nav,
                    margin: i.margin,
                    navText: !1,
                    dots: !1,
                    loop: !0,
                    items: i.items,
                    autoplay: i.autoplay,
                    autoplayTimeout: i.delay,
                    animateOut: "fadeOut",
                    autoHeight: !1,
                    responsive: i.responsive,
                  }))
                : t.hasClass("jeg_postblock_carousel_3") &&
                  (t.hasClass("jeg_col_12")
                    ? ((i.items =
                        void 0 === e.data("items") ? 3 : e.data("items")),
                      (i.responsive = {
                        0: { items: 1 },
                        568: { items: 2 },
                        768: { items: 3 < i.items ? 3 : i.items },
                        1024: { items: i.items },
                      }))
                    : t.hasClass("jeg_col_8")
                    ? ((i.items =
                        void 0 === e.data("items") ? 2 : e.data("items")),
                      (i.responsive = {
                        0: { items: 1 },
                        568: { items: 2 },
                        1024: { items: i.items },
                      }))
                    : ((i.items = 1),
                      (i.responsive = {
                        0: { items: 1 },
                        568: { items: 2 },
                        768: { items: i.items },
                      })),
                  (i.responsive = {
                    0: { items: 1 },
                    568: { items: 2 },
                    768: { items: 3 < i.items ? 3 : i.items },
                    1024: { items: i.items },
                  }),
                  e.addClass("epress-owl-carousel").epressOwlCarousel({
                    rtl: 1 == epressoption.rtl,
                    nav: i.nav,
                    margin: i.margin,
                    navText: !1,
                    dots: !1,
                    loop: !0,
                    items: i.items,
                    autoplay: i.autoplay,
                    autoplayTimeout: i.delay,
                    animateOut: "fadeOut",
                    autoHeight: !0,
                    responsive: i.responsive,
                  }));
            });
        });
      }),
      (c.fn.jvideo_background = function () {
        function s(t) {
          var e = (function (t, e) {
            var i,
              n,
              s = 9 / 16,
              o = c(t).height(),
              a = c(t).width(),
              r = o / a,
              l = function () {
                return [(i = (n = a) * s), n, (a - n) / 2, (o - i) / 2];
              },
              h = function () {
                return [(i = o), (n = o / s), (a - n) / 2, (o - i) / 2];
              };
            if ("fit" === e) return s < r ? l() : h();
            if ("zoom" === e) return s < r ? h() : l();
            if ("fitNoUpscale" === e)
              return o < 9 || a < 16
                ? c.new_get_image_container_size(img, t, "fit")
                : [(i = 9), (n = 16), (a - n) / 2, (o - i) / 2];
          })(t.parents(".jeg_block_container"), "zoom");
          t.css({
            height: e[0],
            width: e[1],
            left: e[2] + "px",
            top: e[3] + "px",
            "max-width": "inherit",
          });
        }
        c(this).each(function () {
          var t = c(this),
            e = t.parent(".jeg_videowrapper"),
            i = t.get(0),
            n = t.data("youtubeid");
          new YT.Player(i, {
            width: "100%",
            height: "100%",
            videoId: n,
            playerVars: {
              playlist: n,
              iv_load_policy: 3,
              enablejsapi: 1,
              disablekb: 1,
              autoplay: 1,
              controls: 0,
              showinfo: 0,
              rel: 0,
              loop: 1,
              wmode: "transparent",
            },
            events: {
              onReady: function (t) {
                t.target.mute().setLoop(!0);
              },
            },
          }),
            s(e),
            jQuery(window).bind("resize", function () {
              s(e);
            });
        });
      }),
      c(document).ready(function () {
        c(".jeg_overlay_slider").joverlayslider({ rtl: 1 == epressoption.rtl }),
          c(".jeg_video_playlist").jvidplaylist({ rtl: 1 == epressoption.rtl }),
          c(".jeg_news_ticker").epressticker(),
          (window.onYouTubeIframeAPIReady = function () {
            c(".jeg_blocklink .jeg_videobg").each(function () {
              c(this).jvideo_background();
            });
          });
      }),
      c(window).load(function () {
        var t = c("body");
        t.epress_slider(), t.epress_carousel();
      }),
      (window.epress = window.epress || {}),
      (window.epress.hero = {
        container: null,
        init: function (t) {
          var e = this;
          (e.container = void 0 === t ? c("body") : t),
            c(window).bind(
              "ready resize load",
              function () {
                e.initialize();
              }.bind(this)
            ),
            e.initialize();
        },
        initialize: function () {
          this.dispatch(), this.heroSlider();
        },
        dispatch: function () {
          this.container.find(".jeg_heroblock").each(function () {
            var t = c(this),
              e = t.find(".jeg_heroblock_wrapper"),
              i = t.find(".jeg_heroblock_scroller"),
              n = t.find(".jeg_post"),
              s = t.data("margin");
            667 < c(window).width()
              ? (e.css({
                  "margin-left": -s + "px",
                  "margin-bottom": -s + "px",
                  "margin-right": 0,
                  "margin-top": 0,
                }),
                n.css("padding", "0 0 " + s + "px " + s + "px "))
              : 0 < i.length &&
                (5 < s && (s = 5),
                t.hasClass("epress-owl-carousel") ||
                  i.css("margin-left", "-" + s + "px"),
                e.css({
                  "margin-left": "0px",
                  "margin-bottom": "0px",
                  "margin-right": "0px",
                }),
                n.each(function () {
                  0 < c(this).parent(".jeg_heroblock_scroller").length
                    ? t.hasClass("epress-owl-carousel")
                      ? ((t.hasClass("jeg_heroblock_1") &&
                          c(this).hasClass("jeg_hero_item_4")) ||
                        (t.hasClass("jeg_heroblock_2") &&
                          (c(this).hasClass("jeg_hero_item_3") ||
                            c(this).hasClass("jeg_hero_item_5"))) ||
                        (t.hasClass("jeg_heroblock_3") &&
                          (c(this).hasClass("jeg_hero_item_3") ||
                            c(this).hasClass("jeg_hero_item_4"))) ||
                        (t.hasClass("jeg_heroblock_4") &&
                          c(this).hasClass("jeg_hero_item_3"))
                          ? c(this).css("padding-left", s + "px")
                          : c(this).css("padding-left", "0px"),
                        c(this).css("padding-bottom", s + "px"))
                      : (c(this).css("padding-left", s + "px"),
                        c(this).css("padding-bottom", "0px"))
                    : (c(this).css("padding-left", "0px"),
                      c(this).css("padding-bottom", s + "px"));
                }));
          });
        },
        heroSlider: function () {
          this.container.find(".jeg_heroblock.carousel-hero").each(function () {
            var t = c(this).addClass("epress-owl-carousel"),
              e = t.data("autoplay"),
              i = t.data("delay");
            t.epressOwlCarousel({
              rtl: 1 == epressoption.rtl,
              items: 1,
              navText: !0,
              nav: !0,
              loop: !0,
              autoplay: e,
              autoplayTimeout: i,
            });
          });
        },
      }),
      epress.hero.init();
  })(jQuery);
!function(){var e={7090:function(e){!function(t,n){var a=function(e,t,n){"use strict";var a,i;if(function(){var t,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in i=e.lazySizesConfig||e.lazysizesConfig||{},n)t in i||(i[t]=n[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:i,noSupport:!0};var r=t.documentElement,o=e.HTMLPictureElement,s="addEventListener",l="getAttribute",c=e[s].bind(e),d=e.setTimeout,u=e.requestAnimationFrame||d,f=e.requestIdleCallback,m=/^picture$/i,v=["load","error","lazyincluded","_lazyloaded"],y={},h=Array.prototype.forEach,z=function(e,t){return y[t]||(y[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),y[t].test(e[l]("class")||"")&&y[t]},p=function(e,t){z(e,t)||e.setAttribute("class",(e[l]("class")||"").trim()+" "+t)},g=function(e,t){var n;(n=z(e,t))&&e.setAttribute("class",(e[l]("class")||"").replace(n," "))},C=function(e,t,n){var a=n?s:"removeEventListener";n&&C(e,t),v.forEach((function(n){e[a](n,t)}))},b=function(e,n,i,r,o){var s=t.createEvent("Event");return i||(i={}),i.instance=a,s.initEvent(n,!r,!o),s.detail=i,e.dispatchEvent(s),s},A=function(t,n){var a;!o&&(a=e.picturefill||i.pf)?(n&&n.src&&!t[l]("srcset")&&t.setAttribute("srcset",n.src),a({reevaluate:!0,elements:[t]})):n&&n.src&&(t.src=n.src)},E=function(e,t){return(getComputedStyle(e,null)||{})[t]},_=function(e,t,n){for(n=n||e.offsetWidth;n<i.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n},w=(pe=[],ge=[],Ce=pe,be=function(){var e=Ce;for(Ce=pe.length?ge:pe,he=!0,ze=!1;e.length;)e.shift()();he=!1},Ae=function(e,n){he&&!n?e.apply(this,arguments):(Ce.push(e),ze||(ze=!0,(t.hidden?d:u)(be)))},Ae._lsFlush=be,Ae),M=function(e,t){return t?function(){w(e)}:function(){var t=this,n=arguments;w((function(){e.apply(t,n)}))}},N=function(e){var t,a=0,r=i.throttleDelay,o=i.ricTimeout,s=function(){t=!1,a=n.now(),e()},l=f&&o>49?function(){f(s,{timeout:o}),o!==i.ricTimeout&&(o=i.ricTimeout)}:M((function(){d(s)}),!0);return function(e){var i;(e=!0===e)&&(o=33),t||(t=!0,(i=r-(n.now()-a))<0&&(i=0),e||i<9?l():d(l,i))}},x=function(e){var t,a,i=99,r=function(){t=null,e()},o=function(){var e=n.now()-a;e<i?d(o,i-e):(f||r)(r)};return function(){a=n.now(),t||(t=d(o,i))}},L=(K=/^img$/i,Q=/^iframe$/i,V="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),X=0,Y=0,Z=0,ee=-1,te=function(e){Z--,(!e||Z<0||!e.target)&&(Z=0)},ne=function(e){return null==J&&(J="hidden"==E(t.body,"visibility")),J||!("hidden"==E(e.parentNode,"visibility")&&"hidden"==E(e,"visibility"))},ae=function(e,n){var a,i=e,o=ne(e);for(I-=n,G+=n,j-=n,U+=n;o&&(i=i.offsetParent)&&i!=t.body&&i!=r;)(o=(E(i,"opacity")||1)>0)&&"visible"!=E(i,"overflow")&&(a=i.getBoundingClientRect(),o=U>a.left&&j<a.right&&G>a.top-1&&I<a.bottom+1);return o},ie=function(){var e,n,o,s,c,d,u,f,m,v,y,h,z=a.elements;if((k=i.loadMode)&&Z<8&&(e=z.length)){for(n=0,ee++;n<e;n++)if(z[n]&&!z[n]._lazyRace)if(!V||a.prematureUnveil&&a.prematureUnveil(z[n]))fe(z[n]);else if((f=z[n][l]("data-expand"))&&(d=1*f)||(d=Y),v||(v=!i.expand||i.expand<1?r.clientHeight>500&&r.clientWidth>500?500:370:i.expand,a._defEx=v,y=v*i.expFactor,h=i.hFac,J=null,Y<y&&Z<1&&ee>2&&k>2&&!t.hidden?(Y=y,ee=0):Y=k>1&&ee>1&&Z<6?v:X),m!==d&&($=innerWidth+d*h,q=innerHeight+d,u=-1*d,m=d),o=z[n].getBoundingClientRect(),(G=o.bottom)>=u&&(I=o.top)<=q&&(U=o.right)>=u*h&&(j=o.left)<=$&&(G||U||j||I)&&(i.loadHidden||ne(z[n]))&&(P&&Z<3&&!f&&(k<3||ee<4)||ae(z[n],d))){if(fe(z[n]),c=!0,Z>9)break}else!c&&P&&!s&&Z<4&&ee<4&&k>2&&(R[0]||i.preloadAfterLoad)&&(R[0]||!f&&(G||U||j||I||"auto"!=z[n][l](i.sizesAttr)))&&(s=R[0]||z[n]);s&&!c&&fe(s)}},re=N(ie),oe=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(te(e),p(t,i.loadedClass),g(t,i.loadingClass),C(t,le),b(t,"lazyloaded"))},se=M(oe),le=function(e){se({target:e.target})},ce=function(e,t){var n=e.getAttribute("data-load-mode")||i.iframeLoadMode;0==n?e.contentWindow.location.replace(t):1==n&&(e.src=t)},de=function(e){var t,n=e[l](i.srcsetAttr);(t=i.customMedia[e[l]("data-media")||e[l]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n)},ue=M((function(e,t,n,a,r){var o,s,c,u,f,v;(f=b(e,"lazybeforeunveil",t)).defaultPrevented||(a&&(n?p(e,i.autosizesClass):e.setAttribute("sizes",a)),s=e[l](i.srcsetAttr),o=e[l](i.srcAttr),r&&(u=(c=e.parentNode)&&m.test(c.nodeName||"")),v=t.firesLoad||"src"in e&&(s||o||u),f={target:e},p(e,i.loadingClass),v&&(clearTimeout(D),D=d(te,2500),C(e,le,!0)),u&&h.call(c.getElementsByTagName("source"),de),s?e.setAttribute("srcset",s):o&&!u&&(Q.test(e.nodeName)?ce(e,o):e.src=o),r&&(s||u)&&A(e,{src:o})),e._lazyRace&&delete e._lazyRace,g(e,i.lazyClass),w((function(){var t=e.complete&&e.naturalWidth>1;v&&!t||(t&&p(e,i.fastLoadedClass),oe(f),e._lazyCache=!0,d((function(){"_lazyCache"in e&&delete e._lazyCache}),9)),"lazy"==e.loading&&Z--}),!0)})),fe=function(e){if(!e._lazyRace){var t,n=K.test(e.nodeName),a=n&&(e[l](i.sizesAttr)||e[l]("sizes")),r="auto"==a;(!r&&P||!n||!e[l]("src")&&!e.srcset||e.complete||z(e,i.errorClass)||!z(e,i.lazyClass))&&(t=b(e,"lazyunveilread").detail,r&&W.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,Z++,ue(e,t,r,a,n))}},me=x((function(){i.loadMode=3,re()})),ve=function(){3==i.loadMode&&(i.loadMode=2),me()},ye=function(){P||(n.now()-H<999?d(ye,999):(P=!0,i.loadMode=3,re(),c("scroll",ve,!0)))},{_:function(){H=n.now(),a.elements=t.getElementsByClassName(i.lazyClass),R=t.getElementsByClassName(i.lazyClass+" "+i.preloadClass),c("scroll",re,!0),c("resize",re,!0),c("pageshow",(function(e){if(e.persisted){var n=t.querySelectorAll("."+i.loadingClass);n.length&&n.forEach&&u((function(){n.forEach((function(e){e.complete&&fe(e)}))}))}})),e.MutationObserver?new MutationObserver(re).observe(r,{childList:!0,subtree:!0,attributes:!0}):(r[s]("DOMNodeInserted",re,!0),r[s]("DOMAttrModified",re,!0),setInterval(re,999)),c("hashchange",re,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(e){t[s](e,re,!0)})),/d$|^c/.test(t.readyState)?ye():(c("load",ye),t[s]("DOMContentLoaded",re),d(ye,2e4)),a.elements.length?(ie(),w._lsFlush()):re()},checkElems:re,unveil:fe,_aLSL:ve}),W=(T=M((function(e,t,n,a){var i,r,o;if(e._lazysizesWidth=a,a+="px",e.setAttribute("sizes",a),m.test(t.nodeName||""))for(r=0,o=(i=t.getElementsByTagName("source")).length;r<o;r++)i[r].setAttribute("sizes",a);n.detail.dataAttr||A(e,n.detail)})),F=function(e,t,n){var a,i=e.parentNode;i&&(n=_(e,i,n),(a=b(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented||(n=a.detail.width)&&n!==e._lazysizesWidth&&T(e,i,a,n))},O=x((function(){var e,t=B.length;if(t)for(e=0;e<t;e++)F(B[e])})),{_:function(){B=t.getElementsByClassName(i.autosizesClass),c("resize",O)},checkElems:O,updateElem:F}),S=function(){!S.i&&t.getElementsByClassName&&(S.i=!0,W._(),L._())};var B,T,F,O;var R,P,D,k,H,$,q,I,j,U,G,J,K,Q,V,X,Y,Z,ee,te,ne,ae,ie,re,oe,se,le,ce,de,ue,fe,me,ve,ye;var he,ze,pe,ge,Ce,be,Ae;return d((function(){i.init&&S()})),a={cfg:i,autoSizer:W,loader:L,init:S,uP:A,aC:p,rC:g,hC:z,fire:b,gW:_,rAF:w}}(t,t.document,Date);t.lazySizes=a,e.exports&&(e.exports=a)}("undefined"!=typeof window?window:{})}},t={};function n(a){var i=t[a];if(void 0!==i)return i.exports;var r=t[a]={exports:{}};return e[a](r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=n(7090);n.n(e)().init()}()}();
jQuery(document).ready(function($){"use strict";function togglerAppend(el){$(el).each(function(){$(this).before('<button class="elementpress-menu-hamburger elementpress-menu-toggler">'+'<span class="elementpress-menu-hamburger-icon"></span>'+'<span class="elementpress-menu-hamburger-icon"></span>'+'<span class="elementpress-menu-hamburger-icon"></span>'+'</button>')})}
togglerAppend($('.elementpress-menu-container'));$('.elementpress-menu-container').each(function(__,e){$(e).after('<div class="elementpress-menu-overlay elementpress-menu-offcanvas-elements elementpress-menu-toggler"></div>')});function elementpress_event_manager(_event,_selector,_fn){$(document).on(_event,_selector,_fn)}
elementpress_event_manager('click','.elementpress-dropdown-has > a',function(e){e.preventDefault();var menu=$(this).parents('.elementpress-navbar-nav');var li=$(this).parent();var dropdown=li.find('>.elementpress-dropdown, >.elementpress-megamenu-panel');dropdown.find('.elementpress-dropdown-open').removeClass('elementpress-dropdown-open');jQuery(window).on('resize',function(){if(jQuery(window).width()>991){jQuery(dropdown).removeClass('elementpress-dropdown-open')}})
if(dropdown.hasClass('elementpress-dropdown-open')){dropdown.removeClass('elementpress-dropdown-open')}else{dropdown.addClass('elementpress-dropdown-open')}});elementpress_event_manager('click','.elementpress-menu-toggler',function(e){e.preventDefault();var parent_conatiner=$(this).parents('.elementpress-menu-container').parent();if(parent_conatiner.length<1){parent_conatiner=$(this).parent()}
var off_canvas_class=parent_conatiner.find('.elementpress-menu-offcanvas-elements');jQuery(window).on('resize',function(){if(jQuery(window).width()>991){off_canvas_class.removeClass('active')}})
if(off_canvas_class.hasClass('active')){off_canvas_class.removeClass('active')}else{off_canvas_class.addClass('active')}})});
(function($,w){var $window=$(w);function debounce(fc,wait,immediate){var timeout;return function(){var context=this,args=arguments;var later=function(){timeout=null;if(!immediate)fc.apply(context,args)};var callNow=immediate&&!timeout;clearTimeout(timeout);timeout=setTimeout(later,wait);if(callNow)fc.apply(context,args)}}
$window.on('elementor/frontend/init',function(){var ExtendFloat=elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments);this.container=this.$element.find('.elementor-widget-container')[0];this.initFloatEffect()},getDefaultSettings:function(){return{targets:this.container,loop:!0,direction:'alternate',easing:'easeInOutSine',}},onElementChange:function(randomchange){if(randomchange.indexOf('me_floating')!==-1){this.runOnElementChange()}},runOnElementChange:debounce(function(){this.animation&&this.animation.restart();this.initFloatEffect()},200),getConfig:function(key){return this.getElementSettings('me_floating_effects_'+key)},initFloatEffect:function(){var config=this.getDefaultSettings();if(this.getConfig('translate_toggle')){if(this.getConfig('translate_x.size')||this.getConfig('translate_x.sizes.to')){config.translateX={value:[this.getConfig('translate_x.sizes.from')||0,this.getConfig('translate_x.size')||this.getConfig('translate_x.sizes.to')],duration:this.getConfig('translate_duration.size'),delay:this.getConfig('translate_delay.size')||0}}
if(this.getConfig('translate_y.size')||this.getConfig('translate_y.sizes.to')){config.translateY={value:[this.getConfig('translate_y.sizes.from')||0,this.getConfig('translate_y.size')||this.getConfig('translate_y.sizes.to')],duration:this.getConfig('translate_duration.size'),delay:this.getConfig('translate_delay.size')||0}}}
if(this.getConfig('rotate_toggle')){if(this.getConfig('rotate_x.size')||this.getConfig('rotate_x.sizes.to')){config.rotateX={value:[this.getConfig('rotate_x.sizes.from')||0,this.getConfig('rotate_x.size')||this.getConfig('rotate_x.sizes.to')],duration:this.getConfig('rotate_duration.size'),delay:this.getConfig('rotate_delay.size')||0}}
if(this.getConfig('rotate_y.size')||this.getConfig('rotate_y.sizes.to')){config.rotateY={value:[this.getConfig('rotate_y.sizes.from')||0,this.getConfig('rotate_y.size')||this.getConfig('rotate_y.sizes.to')],duration:this.getConfig('rotate_duration.size'),delay:this.getConfig('rotate_delay.size')||0}}
if(this.getConfig('rotate_z.size')||this.getConfig('rotate_z.sizes.to')){config.rotateZ={value:[this.getConfig('rotate_z.sizes.from')||0,this.getConfig('rotate_z.size')||this.getConfig('rotate_z.sizes.to')],duration:this.getConfig('rotate_duration.size'),delay:this.getConfig('rotate_delay.size')||0}}}
if(this.getConfig('scale_toggle')){if(this.getConfig('scale_x.size')||this.getConfig('scale_x.sizes.to')){config.scaleX={value:[this.getConfig('scale_x.sizes.from')||0,this.getConfig('scale_x.size')||this.getConfig('scale_x.sizes.to')],duration:this.getConfig('scale_duration.size'),delay:this.getConfig('scale_delay.size')||0}}
if(this.getConfig('scale_y.size')||this.getConfig('scale_y.sizes.to')){config.scaleY={value:[this.getConfig('scale_y.sizes.from')||0,this.getConfig('scale_y.size')||this.getConfig('scale_y.sizes.to')],duration:this.getConfig('scale_duration.size'),delay:this.getConfig('scale_delay.size')||0}}}
if(this.getConfig('translate_toggle')||this.getConfig('rotate_toggle')||this.getConfig('scale_toggle')){this.container.style.setProperty('will-change','transform');this.animation=anime(config)}}});$('[me-floatelement-link]').each(function(){var link=$(this).data('me-floatelement-link');$(this).on('click.meFloatElementOnClick',function(){if(link.is_external){window.open(link.url)}else{location.href=link.url}})});var handlersClassMap={'widget':ExtendFloat};$.each(handlersClassMap,function(widgetName,handlerClass){elementorFrontend.hooks.addAction('frontend/element_ready/'+widgetName,function($scope){elementorFrontend.elementsHandler.addHandler(handlerClass,{$element:$scope})})})})}(jQuery,window));
/*
 * anime.js v3.0.1
 * (c) 2019 Julian Garnier
 * Released under the MIT license
 * animejs.com
 */

!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):n.anime=e()}(this,function(){"use strict";var n={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},e={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},r=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective"],t={CSS:{},springs:{}};function a(n,e,r){return Math.min(Math.max(n,e),r)}function o(n,e){return n.indexOf(e)>-1}function i(n,e){return n.apply(null,e)}var u={arr:function(n){return Array.isArray(n)},obj:function(n){return o(Object.prototype.toString.call(n),"Object")},pth:function(n){return u.obj(n)&&n.hasOwnProperty("totalLength")},svg:function(n){return n instanceof SVGElement},inp:function(n){return n instanceof HTMLInputElement},dom:function(n){return n.nodeType||u.svg(n)},str:function(n){return"string"==typeof n},fnc:function(n){return"function"==typeof n},und:function(n){return void 0===n},hex:function(n){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(n)},rgb:function(n){return/^rgb/.test(n)},hsl:function(n){return/^hsl/.test(n)},col:function(n){return u.hex(n)||u.rgb(n)||u.hsl(n)},key:function(r){return!n.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&"targets"!==r&&"keyframes"!==r}};function s(n){var e=/\(([^)]+)\)/.exec(n);return e?e[1].split(",").map(function(n){return parseFloat(n)}):[]}function c(n,e){var r=s(n),o=a(u.und(r[0])?1:r[0],.1,100),i=a(u.und(r[1])?100:r[1],.1,100),c=a(u.und(r[2])?10:r[2],.1,100),f=a(u.und(r[3])?0:r[3],.1,100),l=Math.sqrt(i/o),d=c/(2*Math.sqrt(i*o)),p=d<1?l*Math.sqrt(1-d*d):0,v=1,h=d<1?(d*l-f)/p:-f+l;function g(n){var r=e?e*n/1e3:n;return r=d<1?Math.exp(-r*d*l)*(v*Math.cos(p*r)+h*Math.sin(p*r)):(v+h*r)*Math.exp(-r*l),0===n||1===n?n:1-r}return e?g:function(){var e=t.springs[n];if(e)return e;for(var r=0,a=0;;)if(1===g(r+=1/6)){if(++a>=16)break}else a=0;var o=r*(1/6)*1e3;return t.springs[n]=o,o}}function f(n,e){void 0===n&&(n=1),void 0===e&&(e=.5);var r=a(n,1,10),t=a(e,.1,2);return function(n){return 0===n||1===n?n:-r*Math.pow(2,10*(n-1))*Math.sin((n-1-t/(2*Math.PI)*Math.asin(1/r))*(2*Math.PI)/t)}}function l(n){return void 0===n&&(n=10),function(e){return Math.round(e*n)*(1/n)}}var d=function(){var n=11,e=1/(n-1);function r(n,e){return 1-3*e+3*n}function t(n,e){return 3*e-6*n}function a(n){return 3*n}function o(n,e,o){return((r(e,o)*n+t(e,o))*n+a(e))*n}function i(n,e,o){return 3*r(e,o)*n*n+2*t(e,o)*n+a(e)}return function(r,t,a,u){if(0<=r&&r<=1&&0<=a&&a<=1){var s=new Float32Array(n);if(r!==t||a!==u)for(var c=0;c<n;++c)s[c]=o(c*e,r,a);return function(n){return r===t&&a===u?n:0===n||1===n?n:o(f(n),t,u)}}function f(t){for(var u=0,c=1,f=n-1;c!==f&&s[c]<=t;++c)u+=e;var l=u+(t-s[--c])/(s[c+1]-s[c])*e,d=i(l,r,a);return d>=.001?function(n,e,r,t){for(var a=0;a<4;++a){var u=i(e,r,t);if(0===u)return e;e-=(o(e,r,t)-n)/u}return e}(t,l,r,a):0===d?l:function(n,e,r,t,a){for(var i,u,s=0;(i=o(u=e+(r-e)/2,t,a)-n)>0?r=u:e=u,Math.abs(i)>1e-7&&++s<10;);return u}(t,u,u+e,r,a)}}}(),p=function(){var n=["Quad","Cubic","Quart","Quint","Sine","Expo","Circ","Back","Elastic"],e={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],f],Out:[[.25,.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(n,e){return function(r){return 1-f(n,e)(1-r)}}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(n,e){return function(r){return r<.5?f(n,e)(2*r)/2:1-f(n,e)(-2*r+2)/2}}]},r={linear:[.25,.25,.75,.75]},t=function(t){e[t].forEach(function(e,a){r["ease"+t+n[a]]=e})};for(var a in e)t(a);return r}();function v(n,e){if(u.fnc(n))return n;var r=n.split("(")[0],t=p[r],a=s(n);switch(r){case"spring":return c(n,e);case"cubicBezier":return i(d,a);case"steps":return i(l,a);default:return u.fnc(t)?i(t,a):i(d,t)}}function h(n){try{return document.querySelectorAll(n)}catch(n){return}}function g(n,e){for(var r=n.length,t=arguments.length>=2?arguments[1]:void 0,a=[],o=0;o<r;o++)if(o in n){var i=n[o];e.call(t,i,o,n)&&a.push(i)}return a}function m(n){return n.reduce(function(n,e){return n.concat(u.arr(e)?m(e):e)},[])}function y(n){return u.arr(n)?n:(u.str(n)&&(n=h(n)||n),n instanceof NodeList||n instanceof HTMLCollection?[].slice.call(n):[n])}function b(n,e){return n.some(function(n){return n===e})}function x(n){var e={};for(var r in n)e[r]=n[r];return e}function M(n,e){var r=x(n);for(var t in n)r[t]=e.hasOwnProperty(t)?e[t]:n[t];return r}function w(n,e){var r=x(n);for(var t in e)r[t]=u.und(n[t])?e[t]:n[t];return r}function k(n){return u.rgb(n)?(r=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(e=n))?"rgba("+r[1]+",1)":e:u.hex(n)?(t=n.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(n,e,r,t){return e+e+r+r+t+t}),a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t),"rgba("+parseInt(a[1],16)+","+parseInt(a[2],16)+","+parseInt(a[3],16)+",1)"):u.hsl(n)?function(n){var e,r,t,a=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(n)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(n),o=parseInt(a[1],10)/360,i=parseInt(a[2],10)/100,u=parseInt(a[3],10)/100,s=a[4]||1;function c(n,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?n+6*(e-n)*r:r<.5?e:r<2/3?n+(e-n)*(2/3-r)*6:n}if(0==i)e=r=t=u;else{var f=u<.5?u*(1+i):u+i-u*i,l=2*u-f;e=c(l,f,o+1/3),r=c(l,f,o),t=c(l,f,o-1/3)}return"rgba("+255*e+","+255*r+","+255*t+","+s+")"}(n):void 0;var e,r,t,a}function C(n){var e=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(n);if(e)return e[2]}function O(n,e){return u.fnc(n)?n(e.target,e.id,e.total):n}function P(n,e){return n.getAttribute(e)}function I(n,e,r){if(b([r,"deg","rad","turn"],C(e)))return e;var a=t.CSS[e+r];if(!u.und(a))return a;var o=document.createElement(n.tagName),i=n.parentNode&&n.parentNode!==document?n.parentNode:document.body;i.appendChild(o),o.style.position="absolute",o.style.width=100+r;var s=100/o.offsetWidth;i.removeChild(o);var c=s*parseFloat(e);return t.CSS[e+r]=c,c}function B(n,e,r){if(e in n.style){var t=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),a=n.style[e]||getComputedStyle(n).getPropertyValue(t)||"0";return r?I(n,a,r):a}}function D(n,e){return u.dom(n)&&!u.inp(n)&&(P(n,e)||u.svg(n)&&n[e])?"attribute":u.dom(n)&&b(r,e)?"transform":u.dom(n)&&"transform"!==e&&B(n,e)?"css":null!=n[e]?"object":void 0}function T(n){if(u.dom(n)){for(var e,r=n.style.transform||"",t=/(\w+)\(([^)]*)\)/g,a=new Map;e=t.exec(r);)a.set(e[1],e[2]);return a}}function F(n,e,r,t){var a,i=o(e,"scale")?1:0+(o(a=e,"translate")||"perspective"===a?"px":o(a,"rotate")||o(a,"skew")?"deg":void 0),u=T(n).get(e)||i;return r&&(r.transforms.list.set(e,u),r.transforms.last=e),t?I(n,u,t):u}function N(n,e,r,t){switch(D(n,e)){case"transform":return F(n,e,t,r);case"css":return B(n,e,r);case"attribute":return P(n,e);default:return n[e]||0}}function A(n,e){var r=/^(\*=|\+=|-=)/.exec(n);if(!r)return n;var t=C(n)||0,a=parseFloat(e),o=parseFloat(n.replace(r[0],""));switch(r[0][0]){case"+":return a+o+t;case"-":return a-o+t;case"*":return a*o+t}}function E(n,e){if(u.col(n))return k(n);var r=C(n),t=r?n.substr(0,n.length-r.length):n;return e&&!/\s/g.test(n)?t+e:t}function L(n,e){return Math.sqrt(Math.pow(e.x-n.x,2)+Math.pow(e.y-n.y,2))}function S(n){for(var e,r=n.points,t=0,a=0;a<r.numberOfItems;a++){var o=r.getItem(a);a>0&&(t+=L(e,o)),e=o}return t}function j(n){if(n.getTotalLength)return n.getTotalLength();switch(n.tagName.toLowerCase()){case"circle":return o=n,2*Math.PI*P(o,"r");case"rect":return 2*P(a=n,"width")+2*P(a,"height");case"line":return L({x:P(t=n,"x1"),y:P(t,"y1")},{x:P(t,"x2"),y:P(t,"y2")});case"polyline":return S(n);case"polygon":return r=(e=n).points,S(e)+L(r.getItem(r.numberOfItems-1),r.getItem(0))}var e,r,t,a,o}function q(n,e){var r=e||{},t=r.el||function(n){for(var e=n.parentNode;u.svg(e)&&(e=e.parentNode,u.svg(e.parentNode)););return e}(n),a=t.getBoundingClientRect(),o=P(t,"viewBox"),i=a.width,s=a.height,c=r.viewBox||(o?o.split(" "):[0,0,i,s]);return{el:t,viewBox:c,x:c[0]/1,y:c[1]/1,w:i/c[2],h:s/c[3]}}function $(n,e){function r(r){void 0===r&&(r=0);var t=e+r>=1?e+r:0;return n.el.getPointAtLength(t)}var t=q(n.el,n.svg),a=r(),o=r(-1),i=r(1);switch(n.property){case"x":return(a.x-t.x)*t.w;case"y":return(a.y-t.y)*t.h;case"angle":return 180*Math.atan2(i.y-o.y,i.x-o.x)/Math.PI}}function X(n,e){var r=/-?\d*\.?\d+/g,t=E(u.pth(n)?n.totalLength:n,e)+"";return{original:t,numbers:t.match(r)?t.match(r).map(Number):[0],strings:u.str(n)||e?t.split(r):[]}}function Y(n){return g(n?m(u.arr(n)?n.map(y):y(n)):[],function(n,e,r){return r.indexOf(n)===e})}function Z(n){var e=Y(n);return e.map(function(n,r){return{target:n,id:r,total:e.length,transforms:{list:T(n)}}})}function Q(n,e){var r=x(e);if(/^spring/.test(r.easing)&&(r.duration=c(r.easing)),u.arr(n)){var t=n.length;2===t&&!u.obj(n[0])?n={value:n}:u.fnc(e.duration)||(r.duration=e.duration/t)}var a=u.arr(n)?n:[n];return a.map(function(n,r){var t=u.obj(n)&&!u.pth(n)?n:{value:n};return u.und(t.delay)&&(t.delay=r?0:e.delay),u.und(t.endDelay)&&(t.endDelay=r===a.length-1?e.endDelay:0),t}).map(function(n){return w(n,r)})}function V(n,e){var r=[],t=e.keyframes;for(var a in t&&(e=w(function(n){for(var e=g(m(n.map(function(n){return Object.keys(n)})),function(n){return u.key(n)}).reduce(function(n,e){return n.indexOf(e)<0&&n.push(e),n},[]),r={},t=function(t){var a=e[t];r[a]=n.map(function(n){var e={};for(var r in n)u.key(r)?r==a&&(e.value=n[r]):e[r]=n[r];return e})},a=0;a<e.length;a++)t(a);return r}(t),e)),e)u.key(a)&&r.push({name:a,tweens:Q(e[a],n)});return r}function z(n,e){var r;return n.tweens.map(function(t){var a=function(n,e){var r={};for(var t in n){var a=O(n[t],e);u.arr(a)&&1===(a=a.map(function(n){return O(n,e)})).length&&(a=a[0]),r[t]=a}return r.duration=parseFloat(r.duration),r.delay=parseFloat(r.delay),r}(t,e),o=a.value,i=u.arr(o)?o[1]:o,s=C(i),c=N(e.target,n.name,s,e),f=r?r.to.original:c,l=u.arr(o)?o[0]:f,d=C(l)||C(c),p=s||d;return u.und(i)&&(i=f),a.from=X(l,p),a.to=X(A(i,l),p),a.start=r?r.end:0,a.end=a.start+a.delay+a.duration+a.endDelay,a.easing=v(a.easing,a.duration),a.isPath=u.pth(o),a.isColor=u.col(a.from.original),a.isColor&&(a.round=1),r=a,a})}var H={css:function(n,e,r){return n.style[e]=r},attribute:function(n,e,r){return n.setAttribute(e,r)},object:function(n,e,r){return n[e]=r},transform:function(n,e,r,t,a){if(t.list.set(e,r),e===t.last||a){var o="";t.list.forEach(function(n,e){o+=e+"("+n+") "}),n.style.transform=o}}};function G(n,e){Z(n).forEach(function(n){for(var r in e){var t=O(e[r],n),a=n.target,o=C(t),i=N(a,r,o,n),u=A(E(t,o||C(i)),i),s=D(a,r);H[s](a,r,u,n.transforms,!0)}})}function R(n,e){return g(m(n.map(function(n){return e.map(function(e){return function(n,e){var r=D(n.target,e.name);if(r){var t=z(e,n),a=t[t.length-1];return{type:r,property:e.name,animatable:n,tweens:t,duration:a.end,delay:t[0].delay,endDelay:a.endDelay}}}(n,e)})})),function(n){return!u.und(n)})}function W(n,e){var r=n.length,t=function(n){return n.timelineOffset?n.timelineOffset:0},a={};return a.duration=r?Math.max.apply(Math,n.map(function(n){return t(n)+n.duration})):e.duration,a.delay=r?Math.min.apply(Math,n.map(function(n){return t(n)+n.delay})):e.delay,a.endDelay=r?a.duration-Math.max.apply(Math,n.map(function(n){return t(n)+n.duration-n.endDelay})):e.endDelay,a}var J=0;var K,U=[],_=[],nn=function(){function n(){K=requestAnimationFrame(e)}function e(e){var r=U.length;if(r){for(var t=0;t<r;){var a=U[t];if(a.paused){var o=U.indexOf(a);o>-1&&(U.splice(o,1),r=U.length)}else a.tick(e);t++}n()}else K=cancelAnimationFrame(K)}return n}();function en(r){void 0===r&&(r={});var t,o=0,i=0,u=0,s=0,c=null;function f(n){var e=window.Promise&&new Promise(function(n){return c=n});return n.finished=e,e}var l,d,p,v,h,m,y,b,x=(d=M(n,l=r),p=M(e,l),v=V(p,l),h=Z(l.targets),m=R(h,v),y=W(m,p),b=J,J++,w(d,{id:b,children:[],animatables:h,animations:m,duration:y.duration,delay:y.delay,endDelay:y.endDelay}));f(x);function k(){var n=x.direction;"alternate"!==n&&(x.direction="normal"!==n?"normal":"reverse"),x.reversed=!x.reversed,t.forEach(function(n){return n.reversed=x.reversed})}function C(n){return x.reversed?x.duration-n:n}function O(){o=0,i=C(x.currentTime)*(1/en.speed)}function P(n,e){e&&e.seek(n-e.timelineOffset)}function I(n){for(var e=0,r=x.animations,t=r.length;e<t;){var o=r[e],i=o.animatable,u=o.tweens,s=u.length-1,c=u[s];s&&(c=g(u,function(e){return n<e.end})[0]||c);for(var f=a(n-c.start-c.delay,0,c.duration)/c.duration,l=isNaN(f)?1:c.easing(f),d=c.to.strings,p=c.round,v=[],h=c.to.numbers.length,m=void 0,y=0;y<h;y++){var b=void 0,M=c.to.numbers[y],w=c.from.numbers[y]||0;b=c.isPath?$(c.value,l*M):w+l*(M-w),p&&(c.isColor&&y>2||(b=Math.round(b*p)/p)),v.push(b)}var k=d.length;if(k){m=d[0];for(var C=0;C<k;C++){d[C];var O=d[C+1],P=v[C];isNaN(P)||(m+=O?P+O:P+" ")}}else m=v[0];H[o.type](i.target,o.property,m,i.transforms),o.currentValue=m,e++}}function B(n){x[n]&&!x.passThrough&&x[n](x)}function D(n){var e=x.duration,r=x.delay,l=e-x.endDelay,d=C(n);x.progress=a(d/e*100,0,100),x.reversePlayback=d<x.currentTime,t&&function(n){if(x.reversePlayback)for(var e=s;e--;)P(n,t[e]);else for(var r=0;r<s;r++)P(n,t[r])}(d),!x.began&&x.currentTime>0&&(x.began=!0,B("begin"),B("loopBegin")),d<=r&&0!==x.currentTime&&I(0),(d>=l&&x.currentTime!==e||!e)&&I(e),d>r&&d<l?(x.changeBegan||(x.changeBegan=!0,x.changeCompleted=!1,B("changeBegin")),B("change"),I(d)):x.changeBegan&&(x.changeCompleted=!0,x.changeBegan=!1,B("changeComplete")),x.currentTime=a(d,0,e),x.began&&B("update"),n>=e&&(i=0,x.remaining&&!0!==x.remaining&&x.remaining--,x.remaining?(o=u,B("loopComplete"),B("loopBegin"),"alternate"===x.direction&&k()):(x.paused=!0,x.completed||(x.completed=!0,B("loopComplete"),B("complete"),!x.passThrough&&"Promise"in window&&(c(),f(x)))))}return x.reset=function(){var n=x.direction;x.passThrough=!1,x.currentTime=0,x.progress=0,x.paused=!0,x.began=!1,x.changeBegan=!1,x.completed=!1,x.changeCompleted=!1,x.reversePlayback=!1,x.reversed="reverse"===n,x.remaining=x.loop,t=x.children;for(var e=s=t.length;e--;)x.children[e].reset();(x.reversed&&!0!==x.loop||"alternate"===n&&1===x.loop)&&x.remaining++,I(0)},x.set=function(n,e){return G(n,e),x},x.tick=function(n){u=n,o||(o=u),D((u+(i-o))*en.speed)},x.seek=function(n){D(C(n))},x.pause=function(){x.paused=!0,O()},x.play=function(){x.paused&&(x.completed&&x.reset(),x.paused=!1,U.push(x),O(),K||nn())},x.reverse=function(){k(),O()},x.restart=function(){x.reset(),x.play()},x.reset(),x.autoplay&&x.play(),x}function rn(n,e){for(var r=e.length;r--;)b(n,e[r].animatable.target)&&e.splice(r,1)}return"undefined"!=typeof document&&document.addEventListener("visibilitychange",function(){document.hidden?(U.forEach(function(n){return n.pause()}),_=U.slice(0),U=[]):_.forEach(function(n){return n.play()})}),en.version="3.0.1",en.speed=1,en.running=U,en.remove=function(n){for(var e=Y(n),r=U.length;r--;){var t=U[r],a=t.animations,o=t.children;rn(e,a);for(var i=o.length;i--;){var u=o[i],s=u.animations;rn(e,s),s.length||u.children.length||o.splice(i,1)}a.length||o.length||t.pause()}},en.get=N,en.set=G,en.convertPx=I,en.path=function(n,e){var r=u.str(n)?h(n)[0]:n,t=e||100;return function(n){return{property:n,el:r,svg:q(r),totalLength:j(r)*(t/100)}}},en.setDashoffset=function(n){var e=j(n);return n.setAttribute("stroke-dasharray",e),e},en.stagger=function(n,e){void 0===e&&(e={});var r=e.direction||"normal",t=e.easing?v(e.easing):null,a=e.grid,o=e.axis,i=e.from||0,s="first"===i,c="center"===i,f="last"===i,l=u.arr(n),d=l?parseFloat(n[0]):parseFloat(n),p=l?parseFloat(n[1]):0,h=C(l?n[1]:n)||0,g=e.start||0+(l?d:0),m=[],y=0;return function(n,e,u){if(s&&(i=0),c&&(i=(u-1)/2),f&&(i=u-1),!m.length){for(var v=0;v<u;v++){if(a){var b=c?(a[0]-1)/2:i%a[0],x=c?(a[1]-1)/2:Math.floor(i/a[0]),M=b-v%a[0],w=x-Math.floor(v/a[0]),k=Math.sqrt(M*M+w*w);"x"===o&&(k=-M),"y"===o&&(k=-w),m.push(k)}else m.push(Math.abs(i-v));y=Math.max.apply(Math,m)}t&&(m=m.map(function(n){return t(n/y)*y})),"reverse"===r&&(m=m.map(function(n){return o?n<0?-1*n:-n:Math.abs(y-n)}))}return g+(l?(p-d)/y:d)*(Math.round(100*m[e])/100)+h}},en.timeline=function(n){void 0===n&&(n={});var r=en(n);return r.duration=0,r.add=function(t,a){var o=U.indexOf(r),i=r.children;function s(n){n.passThrough=!0}o>-1&&U.splice(o,1);for(var c=0;c<i.length;c++)s(i[c]);var f=w(t,M(e,n));f.targets=f.targets||n.targets;var l=r.duration;f.autoplay=!1,f.direction=r.direction,f.timelineOffset=u.und(a)?l:A(a,l),s(r),r.seek(f.timelineOffset);var d=en(f);s(d),i.push(d);var p=W(i,n);return r.delay=p.delay,r.endDelay=p.endDelay,r.duration=p.duration,r.seek(0),r.reset(),r.autoplay&&r.play(),r},r},en.easing=v,en.penner=p,en.random=function(n,e){return Math.floor(Math.random()*(e-n+1))+n},en});
jQuery(document).ready(function(){jQuery(document).on('click','.epress-tab-title a',function(e){e.preventDefault();if(!jQuery(this).parent('.epress-tab-title').hasClass('epress-active')){jQuery('.epress-tab-title').removeClass('epress-active');jQuery('.epress-tab-content').slideUp('slow');jQuery(this).parent('.epress-tab-title').addClass('epress-active');jQuery(this).parents('.epress-accordion-item').find('.epress-tab-content').slideDown('slow')}else{jQuery('.epress-tab-title').removeClass('epress-active');jQuery('.epress-tab-content').slideUp('slow')}})});
/*! bdtUIkit 3.16.17 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(me,ve){typeof exports=="object"&&typeof module<"u"?module.exports=ve():typeof define=="function"&&define.amd?define("uikit",ve):(me=typeof globalThis<"u"?globalThis:me||self,me.bdtUIkit=ve())})(this,function(){"use strict";const{hasOwnProperty:me,toString:ve}=Object.prototype;function bt(t,e){return me.call(t,e)}const zo=/\B([A-Z])/g,Kt=dt(t=>t.replace(zo,"-$1").toLowerCase()),Fo=/-(\w)/g,we=dt(t=>(t.charAt(0).toLowerCase()+t.slice(1)).replace(Fo,(e,i)=>i.toUpperCase())),Et=dt(t=>t.charAt(0).toUpperCase()+t.slice(1));function ot(t,e){var i;return(i=t==null?void 0:t.startsWith)==null?void 0:i.call(t,e)}function Zt(t,e){var i;return(i=t==null?void 0:t.endsWith)==null?void 0:i.call(t,e)}function m(t,e){var i;return(i=t==null?void 0:t.includes)==null?void 0:i.call(t,e)}function yt(t,e){var i;return(i=t==null?void 0:t.findIndex)==null?void 0:i.call(t,e)}const{isArray:Q,from:Qt}=Array,{assign:$t}=Object;function it(t){return typeof t=="function"}function Pt(t){return t!==null&&typeof t=="object"}function kt(t){return ve.call(t)==="[object Object]"}function te(t){return Pt(t)&&t===t.window}function Ue(t){return Di(t)===9}function Ve(t){return Di(t)>=1}function ee(t){return Di(t)===1}function Di(t){return!te(t)&&Pt(t)&&t.nodeType}function Bi(t){return typeof t=="boolean"}function D(t){return typeof t=="string"}function Ye(t){return typeof t=="number"}function xt(t){return Ye(t)||D(t)&&!isNaN(t-parseFloat(t))}function be(t){return!(Q(t)?t.length:Pt(t)&&Object.keys(t).length)}function Y(t){return t===void 0}function Mi(t){return Bi(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function St(t){const e=Number(t);return isNaN(e)?!1:e}function $(t){return parseFloat(t)||0}function H(t){return S(t)[0]}function S(t){return Ve(t)?[t]:Array.from(t||[]).filter(Ve)}function ie(t){if(te(t))return t;t=H(t);const e=Ue(t)?t:t==null?void 0:t.ownerDocument;return(e==null?void 0:e.defaultView)||window}function Ge(t,e){return t===e||Pt(t)&&Pt(e)&&Object.keys(t).length===Object.keys(e).length&&It(t,(i,s)=>i===e[s])}function Ni(t,e,i){return t.replace(new RegExp(`${e}|${i}`,"g"),s=>s===e?i:e)}function se(t){return t[t.length-1]}function It(t,e){for(const i in t)if(e(t[i],i)===!1)return!1;return!0}function Xe(t,e){return t.slice().sort(({[e]:i=0},{[e]:s=0})=>i>s?1:s>i?-1:0)}function Dt(t,e){return t.reduce((i,s)=>i+$(it(e)?e(s):s[e]),0)}function Ps(t,e){const i=new Set;return t.filter(({[e]:s})=>i.has(s)?!1:i.add(s))}function zi(t,e){return e.reduce((i,s)=>({...i,[s]:t[s]}),{})}function Z(t,e=0,i=1){return Math.min(Math.max(St(t)||0,e),i)}function k(){}function Fi(...t){return[["bottom","top"],["right","left"]].every(([e,i])=>Math.min(...t.map(({[e]:s})=>s))-Math.max(...t.map(({[i]:s})=>s))>0)}function Je(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function Hi(t,e,i){const s=e==="width"?"height":"width";return{[s]:t[e]?Math.round(i*t[s]/t[e]):t[s],[e]:i}}function _s(t,e){t={...t};for(const i in t)t=t[i]>e[i]?Hi(t,i,e[i]):t;return t}function Ho(t,e){t=_s(t,e);for(const i in t)t=t[i]<e[i]?Hi(t,i,e[i]):t;return t}const Ke={ratio:Hi,contain:_s,cover:Ho};function rt(t,e,i=0,s=!1){e=S(e);const{length:n}=e;return n?(t=xt(t)?St(t):t==="next"?i+1:t==="previous"?i-1:t==="last"?n-1:e.indexOf(H(t)),s?Z(t,0,n-1):(t%=n,t<0?t+n:t)):-1}function dt(t){const e=Object.create(null);return i=>e[i]||(e[i]=t(i))}function p(t,e,i){var s;if(Pt(e)){for(const n in e)p(t,n,e[n]);return}if(Y(i))return(s=H(t))==null?void 0:s.getAttribute(e);for(const n of S(t))it(i)&&(i=i.call(n,p(n,e))),i===null?$e(n,e):n.setAttribute(e,i)}function gt(t,e){return S(t).some(i=>i.hasAttribute(e))}function $e(t,e){S(t).forEach(i=>i.removeAttribute(e))}function tt(t,e){for(const i of[e,`data-${e}`])if(gt(t,i))return p(t,i)}const Lo={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function Li(t){return S(t).some(e=>Lo[e.tagName.toLowerCase()])}function j(t){return S(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const xe="input,select,textarea,button";function Wi(t){return S(t).some(e=>C(e,xe))}const ye=`${xe},a[href],[tabindex]`;function Ze(t){return C(t,ye)}function O(t){var e;return(e=H(t))==null?void 0:e.parentElement}function ke(t,e){return S(t).filter(i=>C(i,e))}function C(t,e){return S(t).some(i=>i.matches(e))}function U(t,e){return ee(t)?t.closest(ot(e,">")?e.slice(1):e):S(t).map(i=>U(i,e)).filter(Boolean)}function B(t,e){return D(e)?!!U(t,e):H(e).contains(H(t))}function ne(t,e){const i=[];for(;t=O(t);)(!e||C(t,e))&&i.push(t);return i}function T(t,e){t=H(t);const i=t?Qt(t.children):[];return e?ke(i,e):i}function oe(t,e){return e?S(t).indexOf(H(e)):T(O(t)).indexOf(t)}function re(t){return t=H(t),t&&["origin","pathname","search"].every(e=>t[e]===location[e])}function Ri(t){if(re(t)){t=H(t);const e=decodeURIComponent(t.hash).substring(1);return document.getElementById(e)||document.getElementsByName(e)[0]}}function at(t,e){return ji(t,Os(t,e))}function Se(t,e){return Ie(t,Os(t,e))}function ji(t,e){return H(Ds(t,H(e),"querySelector"))}function Ie(t,e){return S(Ds(t,H(e),"querySelectorAll"))}const Wo=/(^|[^\\],)\s*[!>+~-]/,As=dt(t=>t.match(Wo));function Os(t,e=document){return D(t)&&As(t)||Ue(e)?e:e.ownerDocument}const Ro=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,jo=dt(t=>t.replace(Ro,"$1 *"));function Ds(t,e=document,i){if(!t||!D(t))return t;if(t=jo(t),As(t)){const s=Uo(t);t="";for(let n of s){let o=e;if(n[0]==="!"){const r=n.substr(1).trim().split(" ");if(o=U(O(e),r[0]),n=r.slice(1).join(" ").trim(),!n.length&&s.length===1)return o}if(n[0]==="-"){const r=n.substr(1).trim().split(" "),a=(o||e).previousElementSibling;o=C(a,n.substr(1))?a:null,n=r.slice(1).join(" ")}o&&(t+=`${t?",":""}${Vo(o)} ${n}`)}e=document}try{return e[i](t)}catch{return null}}const qo=/.*?[^\\](?:,|$)/g,Uo=dt(t=>t.match(qo).map(e=>e.replace(/,$/,"").trim()));function Vo(t){const e=[];for(;t.parentNode;){const i=p(t,"id");if(i){e.unshift(`#${qi(i)}`);break}else{let{tagName:s}=t;s!=="HTML"&&(s+=`:nth-child(${oe(t)+1})`),e.unshift(s),t=t.parentNode}}return e.join(" > ")}function qi(t){return D(t)?CSS.escape(t):""}function x(...t){let[e,i,s,n,o=!1]=Ui(t);n.length>1&&(n=Go(n)),o!=null&&o.self&&(n=Xo(n)),s&&(n=Yo(s,n));for(const r of i)for(const a of e)a.addEventListener(r,n,o);return()=>Bt(e,i,n,o)}function Bt(...t){let[e,i,,s,n=!1]=Ui(t);for(const o of i)for(const r of e)r.removeEventListener(o,s,n)}function L(...t){const[e,i,s,n,o=!1,r]=Ui(t),a=x(e,i,s,l=>{const c=!r||r(l);c&&(a(),n(l,c))},o);return a}function v(t,e,i){return Vi(t).every(s=>s.dispatchEvent(Mt(e,!0,!0,i)))}function Mt(t,e=!0,i=!1,s){return D(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:s})),t}function Ui(t){return t[0]=Vi(t[0]),D(t[1])&&(t[1]=t[1].split(" ")),it(t[2])&&t.splice(2,0,!1),t}function Yo(t,e){return i=>{const s=t[0]===">"?Ie(t,i.currentTarget).reverse().filter(n=>B(i.target,n))[0]:U(i.target,t);s&&(i.current=s,e.call(this,i),delete i.current)}}function Go(t){return e=>Q(e.detail)?t(e,...e.detail):t(e)}function Xo(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function Bs(t){return t&&"addEventListener"in t}function Jo(t){return Bs(t)?t:H(t)}function Vi(t){return Q(t)?t.map(Jo).filter(Boolean):D(t)?Ie(t):Bs(t)?[t]:S(t)}function Ct(t){return t.pointerType==="touch"||!!t.touches}function ae(t){var e,i;const{clientX:s,clientY:n}=((e=t.touches)==null?void 0:e[0])||((i=t.changedTouches)==null?void 0:i[0])||t;return{x:s,y:n}}const Ko={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function h(t,e,i,s){const n=S(t);for(const o of n)if(D(e)){if(e=Qe(e),Y(i))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,xt(i)&&!Ko[e]?`${i}px`:i||Ye(i)?i:"",s)}else if(Q(e)){const r={};for(const a of e)r[a]=h(o,a);return r}else Pt(e)&&(s=i,It(e,(r,a)=>h(o,a,r,s)));return n[0]}const Qe=dt(t=>Zo(t));function Zo(t){if(ot(t,"--"))return t;t=Kt(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const s=`-${i}-${t}`;if(s in e)return s}}function y(t,...e){Ms(t,e,"add")}function M(t,...e){Ms(t,e,"remove")}function Yi(t,e){p(t,"class",i=>(i||"").replace(new RegExp(`\\b${e}\\b\\s?`,"g"),""))}function Gi(t,...e){e[0]&&M(t,e[0]),e[1]&&y(t,e[1])}function P(t,e){return[e]=Xi(e),!!e&&S(t).some(i=>i.classList.contains(e))}function q(t,e,i){const s=Xi(e);Y(i)||(i=!!i);for(const n of S(t))for(const o of s)n.classList.toggle(o,i)}function Ms(t,e,i){e=e.reduce((s,n)=>s.concat(Xi(n)),[]);for(const s of S(t))s.classList[i](...e)}function Xi(t){return String(t).split(/[ ,]/).filter(Boolean)}function Qo(t,e,i=400,s="linear"){return i=Math.round(i),Promise.all(S(t).map(n=>new Promise((o,r)=>{for(const l in e){const c=h(n,l);c===""&&h(n,l,c)}const a=setTimeout(()=>v(n,"transitionend"),i);L(n,"transitionend transitioncanceled",({type:l})=>{clearTimeout(a),M(n,"bdt-transition"),h(n,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),l==="transitioncanceled"?r():o(n)},{self:!0}),y(n,"bdt-transition"),h(n,{transitionProperty:Object.keys(e).map(Qe).join(","),transitionDuration:`${i}ms`,transitionTimingFunction:s,...e})})))}const E={start:Qo,async stop(t){v(t,"transitionend"),await Promise.resolve()},async cancel(t){v(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return P(t,"bdt-transition")}},Ce="bdt-animation-";function Ns(t,e,i=200,s,n){return Promise.all(S(t).map(o=>new Promise((r,a)=>{v(o,"animationcanceled");const l=setTimeout(()=>v(o,"animationend"),i);L(o,"animationend animationcanceled",({type:c})=>{clearTimeout(l),c==="animationcanceled"?a():r(o),h(o,"animationDuration",""),Yi(o,`${Ce}\\S*`)},{self:!0}),h(o,"animationDuration",`${i}ms`),y(o,e,Ce+(n?"leave":"enter")),ot(e,Ce)&&(s&&y(o,`bdt-transform-origin-${s}`),n&&y(o,`${Ce}reverse`))})))}const tr=new RegExp(`${Ce}(enter|leave)`),mt={in:Ns,out(t,e,i,s){return Ns(t,e,i,s,!0)},inProgress(t){return tr.test(p(t,"class"))},cancel(t){v(t,"animationcanceled")}};function er(t){if(document.readyState!=="loading"){t();return}L(document,"DOMContentLoaded",t)}function G(t,...e){return e.some(i=>{var s;return((s=t==null?void 0:t.tagName)==null?void 0:s.toLowerCase())===i.toLowerCase()})}function Ji(t){return t=w(t),t.innerHTML="",t}function Nt(t,e){return Y(e)?w(t).innerHTML:W(Ji(t),e)}const ir=ii("prepend"),W=ii("append"),ti=ii("before"),ei=ii("after");function ii(t){return function(e,i){var s;const n=S(D(i)?zt(i):i);return(s=w(e))==null||s[t](...n),zs(n)}}function lt(t){S(t).forEach(e=>e.remove())}function si(t,e){for(e=H(ti(t,e));e.firstChild;)e=e.firstChild;return W(e,t),e}function Ki(t,e){return S(S(t).map(i=>i.hasChildNodes()?si(Qt(i.childNodes),e):W(i,e)))}function Te(t){S(t).map(O).filter((e,i,s)=>s.indexOf(e)===i).forEach(e=>e.replaceWith(...e.childNodes))}const sr=/^\s*<(\w+|!)[^>]*>/,nr=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function zt(t){const e=nr.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("div");return sr.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,zs(i.childNodes)}function zs(t){return t.length>1?t:t[0]}function Tt(t,e){if(ee(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;Tt(t,e),t=i}}function w(t,e){return Fs(t)?H(zt(t)):ji(t,e)}function z(t,e){return Fs(t)?S(zt(t)):Ie(t,e)}function Fs(t){return D(t)&&ot(t.trim(),"<")}const Ft={width:["left","right"],height:["top","bottom"]};function b(t){const e=ee(t)?H(t).getBoundingClientRect():{height:et(t),width:Ee(t),top:0,left:0};return{height:e.height,width:e.width,top:e.top,left:e.left,bottom:e.top+e.height,right:e.left+e.width}}function _(t,e){const i=b(t);if(t){const{scrollY:n,scrollX:o}=ie(t),r={height:n,width:o};for(const a in Ft)for(const l of Ft[a])i[l]+=r[a]}if(!e)return i;const s=h(t,"position");It(h(t,["left","top"]),(n,o)=>h(t,o,e[o]-i[o]+$(s==="absolute"&&n==="auto"?ni(t)[o]:n)))}function ni(t){let{top:e,left:i}=_(t);const{ownerDocument:{body:s,documentElement:n},offsetParent:o}=H(t);let r=o||n;for(;r&&(r===s||r===n)&&h(r,"position")==="static";)r=r.parentNode;if(ee(r)){const a=_(r);e-=a.top+$(h(r,"borderTopWidth")),i-=a.left+$(h(r,"borderLeftWidth"))}return{top:e-$(h(t,"marginTop")),left:i-$(h(t,"marginLeft"))}}function Ht(t){t=H(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+$(h(t,"borderTopWidth")),e[1]+=t.offsetLeft+$(h(t,"borderLeftWidth")),h(t,"position")==="fixed"){const i=ie(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const et=Hs("height"),Ee=Hs("width");function Hs(t){const e=Et(t);return(i,s)=>{if(Y(s)){if(te(i))return i[`inner${e}`];if(Ue(i)){const n=i.documentElement;return Math.max(n[`offset${e}`],n[`scroll${e}`])}return i=H(i),s=h(i,t),s=s==="auto"?i[`offset${e}`]:$(s)||0,s-le(i,t)}else return h(i,t,!s&&s!==0?"":+s+le(i,t)+"px")}}function le(t,e,i="border-box"){return h(t,"boxSizing")===i?Dt(Ft[e].map(Et),s=>$(h(t,`padding${s}`))+$(h(t,`border${s}Width`))):0}function oi(t){for(const e in Ft)for(const i in Ft[e])if(Ft[e][i]===t)return Ft[e][1-i];return t}function ht(t,e="width",i=window,s=!1){return D(t)?Dt(rr(t),n=>{const o=lr(n);return o?hr(o==="vh"?cr():o==="vw"?Ee(ie(i)):s?i[`offset${Et(e)}`]:b(i)[e],n):n}):$(t)}const or=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,rr=dt(t=>t.toString().replace(/\s/g,"").match(or)||[]),ar=/(?:v[hw]|%)$/,lr=dt(t=>(t.match(ar)||[])[0]);function hr(t,e){return t*$(e)/100}let Pe,he;function cr(){return Pe||(he||(he=w("<div>"),h(he,{height:"100vh",position:"fixed"}),x(window,"resize",()=>Pe=null)),W(document.body,he),Pe=he.clientHeight,lt(he),Pe)}const Lt=typeof window<"u",X=Lt&&document.dir==="rtl",Wt=Lt&&"ontouchstart"in window,ce=Lt&&window.PointerEvent,vt=ce?"pointerdown":Wt?"touchstart":"mousedown",ri=ce?"pointermove":Wt?"touchmove":"mousemove",_t=ce?"pointerup":Wt?"touchend":"mouseup",Rt=ce?"pointerenter":Wt?"":"mouseenter",ue=ce?"pointerleave":Wt?"":"mouseleave",ai=ce?"pointercancel":"touchcancel",J={reads:[],writes:[],read(t){return this.reads.push(t),Qi(),t},write(t){return this.writes.push(t),Qi(),t},clear(t){Ws(this.reads,t),Ws(this.writes,t)},flush:Zi};function Zi(t){Ls(J.reads),Ls(J.writes.splice(0)),J.scheduled=!1,(J.reads.length||J.writes.length)&&Qi(t+1)}const ur=4;function Qi(t){J.scheduled||(J.scheduled=!0,t&&t<ur?Promise.resolve().then(()=>Zi(t)):requestAnimationFrame(()=>Zi(1)))}function Ls(t){let e;for(;e=t.shift();)try{e()}catch(i){console.error(i)}}function Ws(t,e){const i=t.indexOf(e);return~i&&t.splice(i,1)}function ts(){}ts.prototype={positions:[],init(){this.positions=[];let t;this.unbind=x(document,"mousemove",e=>t=ae(e)),this.interval=setInterval(()=>{t&&(this.positions.push(t),this.positions.length>5&&this.positions.shift())},50)},cancel(){var t;(t=this.unbind)==null||t.call(this),clearInterval(this.interval)},movesTo(t){if(this.positions.length<2)return!1;const e=t.getBoundingClientRect(),{left:i,right:s,top:n,bottom:o}=e,[r]=this.positions,a=se(this.positions),l=[r,a];return Je(a,e)?!1:[[{x:i,y:n},{x:s,y:o}],[{x:i,y:o},{x:s,y:n}]].some(u=>{const f=fr(l,u);return f&&Je(f,e)})}};function fr([{x:t,y:e},{x:i,y:s}],[{x:n,y:o},{x:r,y:a}]){const l=(a-o)*(i-t)-(r-n)*(s-e);if(l===0)return!1;const c=((r-n)*(e-o)-(a-o)*(t-n))/l;return c<0?!1:{x:t+c*(i-t),y:e+c*(s-e)}}function Rs(t,e,i={},{intersecting:s=!0}={}){const n=new IntersectionObserver(s?(o,r)=>{o.some(a=>a.isIntersecting)&&e(o,r)}:e,i);for(const o of S(t))n.observe(o);return n}const dr=Lt&&window.ResizeObserver;function li(t,e,i={box:"border-box"}){return dr?qs(ResizeObserver,t,e,i):(pr(),_e.add(e),{observe:k,unobserve:k,disconnect(){_e.delete(e)}})}let _e;function pr(){if(_e)return;_e=new Set;let t;const e=()=>{if(!t){t=!0,requestAnimationFrame(()=>t=!1);for(const i of _e)i()}};x(window,"load resize",e),x(document,"loadedmetadata load",e,!0)}function js(t,e,i){return qs(MutationObserver,t,e,i)}function qs(t,e,i,s){const n=new t(i);for(const o of S(e))n.observe(o,s);return n}function Us(t){if(ci(t)&&es(t,{func:"playVideo",method:"play"}),hi(t))try{t.play().catch(k)}catch{}}function Vs(t){ci(t)&&es(t,{func:"pauseVideo",method:"pause"}),hi(t)&&t.pause()}function Ys(t){ci(t)&&es(t,{func:"mute",method:"setVolume",value:0}),hi(t)&&(t.muted=!0)}function Gs(t){return hi(t)||ci(t)}function hi(t){return G(t,"video")}function ci(t){return G(t,"iframe")&&(Xs(t)||Js(t))}function Xs(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function Js(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function es(t,e){await mr(t),Ks(t,e)}function Ks(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const is="_ukPlayer";let gr=0;function mr(t){if(t[is])return t[is];const e=Xs(t),i=Js(t),s=++gr;let n;return t[is]=new Promise(o=>{e&&L(t,"load",()=>{const r=()=>Ks(t,{event:"listening",id:s});n=setInterval(r,100),r()}),L(window,"message",o,!1,({data:r})=>{try{return r=JSON.parse(r),e&&(r==null?void 0:r.id)===s&&r.event==="onReady"||i&&Number(r==null?void 0:r.player_id)===s}catch{}}),t.src=`${t.src}${m(t.src,"?")?"&":"?"}${e?"enablejsapi=1":`api=1&player_id=${s}`}`}).then(()=>clearInterval(n))}function ss(t,e=0,i=0){return j(t)?Fi(...jt(t).map(s=>{const{top:n,left:o,bottom:r,right:a}=ct(s);return{top:n-e,left:o-i,bottom:r+e,right:a+i}}).concat(_(t))):!1}function Zs(t,{offset:e=0}={}){const i=j(t)?wt(t,!1,["hidden"]):[];return i.reduce((r,a,l)=>{const{scrollTop:c,scrollHeight:u,offsetHeight:f}=a,d=ct(a),g=u-d.height,{height:A,top:N}=i[l-1]?ct(i[l-1]):_(t);let F=Math.ceil(N-d.top-e+c);return e>0&&f<A+e?F+=e:e=0,F>g?(e-=F-g,F=g):F<0&&(e-=F,F=0),()=>s(a,F-c).then(r)},()=>Promise.resolve())();function s(r,a){return new Promise(l=>{const c=r.scrollTop,u=n(Math.abs(a)),f=Date.now();(function d(){const g=o(Z((Date.now()-f)/u));r.scrollTop=c+a*g,g===1?l():requestAnimationFrame(d)})()})}function n(r){return 40*Math.pow(r,.375)}function o(r){return .5*(1-Math.cos(Math.PI*r))}}function ns(t,e=0,i=0){if(!j(t))return 0;const[s]=wt(t,!0),{scrollHeight:n,scrollTop:o}=s,{height:r}=ct(s),a=n-r,l=Ht(t)[0]-Ht(s)[0],c=Math.max(0,l-r+e),u=Math.min(a,l+t.offsetHeight-i);return Z((o-c)/(u-c))}function wt(t,e=!1,i=[]){const s=Qs(t);let n=ne(t).reverse();n=n.slice(n.indexOf(s)+1);const o=yt(n,r=>h(r,"position")==="fixed");return~o&&(n=n.slice(o)),[s].concat(n.filter(r=>h(r,"overflow").split(" ").some(a=>m(["auto","scroll",...i],a))&&(!e||r.scrollHeight>ct(r).height))).reverse()}function jt(t){return wt(t,!1,["hidden","clip"])}function ct(t){const e=ie(t),{visualViewport:i,document:{documentElement:s}}=e;let n=t===Qs(t)?e:t;if(te(n)&&i){let{height:r,width:a,scale:l,pageTop:c,pageLeft:u}=i;return r=Math.round(r*l),a=Math.round(a*l),{height:r,width:a,top:c,left:u,bottom:c+r,right:u+a}}let o=_(n);if(h(n,"display")==="inline")return o;for(let[r,a,l,c]of[["width","x","left","right"],["height","y","top","bottom"]]){te(n)?n=s:o[l]+=$(h(n,`border-${l}-width`));const u=o[r]%1;o[r]=o[a]=n[`client${Et(r)}`]-(u?u<.5?-u:1-u:0),o[c]=o[r]+o[l]}return o}function Qs(t){return ie(t).document.scrollingElement}const ut=[["width","x","left","right"],["height","y","top","bottom"]];function tn(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],placement:[],...i},Q(e)||(e=[e,e]),_(t,en(t,e,i))}function en(t,e,i){const s=sn(t,e,i),{boundary:n,viewportOffset:o=0,placement:r}=i;let a=s;for(const[l,[c,,u,f]]of Object.entries(ut)){const d=vr(t,e[l],o,n,l);if(ui(s,d,l))continue;let g=0;if(r[l]==="flip"){const A=i.attach.target[l];if(A===f&&s[f]<=d[f]||A===u&&s[u]>=d[u])continue;g=br(t,e,i,l)[u]-s[u];const N=wr(t,e[l],o,l);if(!ui(os(s,g,l),N,l)){if(ui(s,N,l))continue;if(i.recursion)return!1;const F=$r(t,e,i);if(F&&ui(F,N,1-l))return F;continue}}else if(r[l]==="shift"){const A=_(e[l]),{offset:N}=i;g=Z(Z(s[u],d[u],d[f]-s[c]),A[u]-s[c]+N[l],A[f]-N[l])-s[u]}a=os(a,g,l)}return a}function sn(t,e,i){let{attach:s,offset:n}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i},o=_(t);for(const[r,[a,,l,c]]of Object.entries(ut)){const u=s.target[r]===s.element[r]?ct(e[r]):_(e[r]);o=os(o,u[l]-o[l]+nn(s.target[r],c,u[a])-nn(s.element[r],c,o[a])+ +n[r],r)}return o}function os(t,e,i){const[,s,n,o]=ut[i],r={...t};return r[n]=t[s]=t[n]+e,r[o]+=e,r}function nn(t,e,i){return t==="center"?i/2:t===e?i:0}function vr(t,e,i,s,n){let o=rn(...on(t,e).map(ct));return i&&(o[ut[n][2]]+=i,o[ut[n][3]]-=i),s&&(o=rn(o,_(Q(s)?s[n]:s))),o}function wr(t,e,i,s){const[n,o,r,a]=ut[s],[l]=on(t,e),c=ct(l);return["auto","scroll"].includes(h(l,`overflow-${o}`))&&(c[r]-=l[`scroll${Et(r)}`],c[a]=c[r]+l[`scroll${Et(n)}`]),c[r]+=i,c[a]-=i,c}function on(t,e){return jt(e).filter(i=>B(t,i))}function rn(...t){let e={};for(const i of t)for(const[,,s,n]of ut)e[s]=Math.max(e[s]||0,i[s]),e[n]=Math.min(...[e[n],i[n]].filter(Boolean));return e}function ui(t,e,i){const[,,s,n]=ut[i];return t[s]>=e[s]&&t[n]<=e[n]}function br(t,e,{offset:i,attach:s},n){return sn(t,e,{attach:{element:an(s.element,n),target:an(s.target,n)},offset:xr(i,n)})}function $r(t,e,i){return en(t,e,{...i,attach:{element:i.attach.element.map(ln).reverse(),target:i.attach.target.map(ln).reverse()},offset:i.offset.reverse(),placement:i.placement.reverse(),recursion:!0})}function an(t,e){const i=[...t],s=ut[e].indexOf(t[e]);return~s&&(i[e]=ut[e][1-s%2+2]),i}function ln(t){for(let e=0;e<ut.length;e++){const i=ut[e].indexOf(t);if(~i)return ut[1-e][i%2+2]}}function xr(t,e){return t=[...t],t[e]*=-1,t}var yr=Object.freeze({__proto__:null,$:w,$$:z,Animation:mt,Dimensions:Ke,MouseTracker:ts,Transition:E,addClass:y,after:ei,append:W,apply:Tt,assign:$t,attr:p,before:ti,boxModelAdjust:le,camelize:we,children:T,clamp:Z,closest:U,createEvent:Mt,css:h,data:tt,dimensions:b,each:It,empty:Ji,endsWith:Zt,escape:qi,fastdom:J,filter:ke,find:ji,findAll:Ie,findIndex:yt,flipPosition:oi,fragment:zt,getEventPos:ae,getIndex:rt,getTargetedElement:Ri,hasAttr:gt,hasClass:P,hasOwn:bt,hasTouch:Wt,height:et,html:Nt,hyphenate:Kt,inBrowser:Lt,includes:m,index:oe,intersectRect:Fi,isArray:Q,isBoolean:Bi,isDocument:Ue,isElement:ee,isEmpty:be,isEqual:Ge,isFocusable:Ze,isFunction:it,isInView:ss,isInput:Wi,isNode:Ve,isNumber:Ye,isNumeric:xt,isObject:Pt,isPlainObject:kt,isRtl:X,isSameSiteAnchor:re,isString:D,isTag:G,isTouch:Ct,isUndefined:Y,isVideo:Gs,isVisible:j,isVoidElement:Li,isWindow:te,last:se,matches:C,memoize:dt,mute:Ys,noop:k,observeIntersection:Rs,observeMutation:js,observeResize:li,off:Bt,offset:_,offsetPosition:Ht,offsetViewport:ct,on:x,once:L,overflowParents:jt,parent:O,parents:ne,pause:Vs,pick:zi,play:Us,pointInRect:Je,pointerCancel:ai,pointerDown:vt,pointerEnter:Rt,pointerLeave:ue,pointerMove:ri,pointerUp:_t,position:ni,positionAt:tn,prepend:ir,propName:Qe,query:at,queryAll:Se,ready:er,remove:lt,removeAttr:$e,removeClass:M,removeClasses:Yi,replaceClass:Gi,scrollIntoView:Zs,scrollParents:wt,scrolledOver:ns,selFocusable:ye,selInput:xe,sortBy:Xe,startsWith:ot,sumBy:Dt,swap:Ni,toArray:Qt,toBoolean:Mi,toEventTargets:Vi,toFloat:$,toNode:H,toNodes:S,toNumber:St,toPx:ht,toWindow:ie,toggleClass:q,trigger:v,ucfirst:Et,uniqueBy:Ps,unwrap:Te,width:Ee,within:B,wrapAll:si,wrapInner:Ki});function kr(t){t._watches=[];for(const e of t.$options.watch||[])for(const[i,s]of Object.entries(e))hn(t,s,i);t._initial=!0}function hn(t,e,i){t._watches.push({name:i,...kt(e)?e:{handler:e}})}function Sr(t,e){for(const{name:i,handler:s,immediate:n=!0}of t._watches)(t._initial&&n||bt(e,i)&&!Ge(e[i],t[i]))&&s.call(t,t[i],e[i]);t._initial=!1}function Ir(t){t._data={},t._updates=[...t.$options.update||[]]}function Cr(t,e){t._updates.unshift(e)}function Tr(t){delete t._data}function fi(t,e="update"){t._connected&&t._updates.length&&(t._queued||(t._queued=new Set,J.read(()=>{t._connected&&Er(t,t._queued),delete t._queued})),t._queued.add(e.type||e))}function Er(t,e){for(const{read:i,write:s,events:n=[]}of t._updates){if(!e.has("update")&&!n.some(r=>e.has(r)))continue;let o;i&&(o=i.call(t,t._data,e),o&&kt(o)&&$t(t._data,o)),s&&o!==!1&&J.write(()=>{t._connected&&s.call(t,t._data,e)})}}function Pr(t){const{computed:e}=t.$options;if(t._computed={},e)for(const i in e)cn(t,i,e[i])}function cn(t,e,i){t._hasComputed=!0,Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:s,$props:n,$el:o}=t;return bt(s,e)||(s[e]=(i.get||i).call(t,n,o)),s[e]},set(s){const{_computed:n}=t;n[e]=i.set?i.set.call(t,s):s,Y(n[e])&&delete n[e]}})}function _r(t){t._hasComputed&&(Cr(t,{read:()=>Sr(t,un(t)),events:["resize","computed"]}),Or(),Ae.add(t))}function Ar(t){Ae==null||Ae.delete(t),un(t)}function un(t){const e={...t._computed};return t._computed={},e}let rs,Ae;function Or(){rs||(Ae=new Set,rs=new MutationObserver(()=>{for(const t of Ae)fi(t,"computed")}),rs.observe(document,{childList:!0,subtree:!0}))}function Dr(t){t._events=[];for(const e of t.$options.events||[])if(bt(e,"handler"))as(t,e);else for(const i in e)as(t,e[i],i)}function Br(t){t._events.forEach(e=>e()),delete t._events}function as(t,e,i){let{name:s,el:n,handler:o,capture:r,passive:a,delegate:l,filter:c,self:u}=kt(e)?e:{name:i,handler:e};if(n=it(n)?n.call(t,t):n||t.$el,Q(n)){n.forEach(f=>as(t,{...e,el:f},i));return}!n||c&&!c.call(t)||t._events.push(x(n,s,l?D(l)?l:l.call(t,t):null,D(o)?t[o]:o.bind(t),{passive:a,capture:r,self:u}))}function Mr(t){t._observers=[];for(const e of t.$options.observe||[])if(bt(e,"handler"))dn(t,e);else for(const i of e)dn(t,i)}function fn(t,...e){t._observers.push(...e)}function Nr(t){for(const e of t._observers)e.disconnect()}function dn(t,e){let{observe:i,target:s=t.$el,handler:n,options:o,filter:r,args:a}=e;if(r&&!r.call(t,t))return;const l=`_observe${t._observers.length}`;it(s)&&!bt(t,l)&&cn(t,l,()=>s.call(t,t)),n=D(n)?t[n]:n.bind(t),it(o)&&(o=o.call(t,t));const c=bt(t,l)?t[l]:s,u=i(c,n,o,a);it(s)&&Q(t[l])&&u.unobserve&&hn(t,{handler:zr(u),immediate:!1},l),fn(t,u)}function zr(t){return(e,i)=>{for(const s of i)!m(e,s)&&t.unobserve(s);for(const s of e)!m(i,s)&&t.observe(s)}}const V={};V.events=V.watch=V.observe=V.created=V.beforeConnect=V.connected=V.beforeDisconnect=V.disconnected=V.destroy=ls,V.args=function(t,e){return e!==!1&&ls(e||t)},V.update=function(t,e){return Xe(ls(t,it(e)?{read:e}:e),"order")},V.props=function(t,e){if(Q(e)){const i={};for(const s of e)i[s]=String;e=i}return V.methods(t,e)},V.computed=V.methods=function(t,e){return e?t?{...t,...e}:e:t},V.i18n=V.data=function(t,e,i){return i?pn(t,e,i):e?t?function(s){return pn(t,e,s)}:e:t};function pn(t,e,i){return V.computed(it(t)?t.call(i,i):t,it(e)?e.call(i,i):e)}function ls(t,e){return t=t&&!Q(t)?[t]:t,e?t?t.concat(e):Q(e)?e:[e]:t}function Fr(t,e){return Y(e)?t:e}function Oe(t,e,i){const s={};if(it(e)&&(e=e.options),e.extends&&(t=Oe(t,e.extends,i)),e.mixins)for(const o of e.mixins)t=Oe(t,o,i);for(const o in t)n(o);for(const o in e)bt(t,o)||n(o);function n(o){s[o]=(V[o]||Fr)(t[o],e[o],i)}return s}function De(t,e=[]){try{return t?ot(t,"{")?JSON.parse(t):e.length&&!m(t,":")?{[e[0]]:t}:t.split(";").reduce((i,s)=>{const[n,o]=s.split(/:(.*)/);return n&&!Y(o)&&(i[n.trim()]=o.trim()),i},{}):{}}catch{return{}}}function hs(t,e){return t===Boolean?Mi(e):t===Number?St(e):t==="list"?Hr(e):t===Object&&D(e)?De(e):t?t(e):e}function Hr(t){return Q(t)?t:D(t)?t.split(/,(?![^(]*\))/).map(e=>xt(e)?St(e):Mi(e.trim())):[t]}function Lr(t){const e=gn(t.$options);for(let s in e)Y(e[s])||(t.$props[s]=e[s]);const i=[t.$options.computed,t.$options.methods];for(let s in t.$props)s in e&&Wr(i,s)&&(t[s]=t.$props[s])}function gn(t){const e={},{args:i=[],props:s={},el:n,id:o}=t;if(!s)return e;for(const a in s){const l=Kt(a);let c=tt(n,l);Y(c)||(c=s[a]===Boolean&&c===""?!0:hs(s[a],c),!(l==="target"&&ot(c,"_"))&&(e[a]=c))}const r=De(tt(n,o),i);for(const a in r){const l=we(a);Y(s[l])||(e[l]=hs(s[l],r[a]))}return e}function Wr(t,e){return t.every(i=>!i||!bt(i,e))}function Rr(t){const{$options:e,$props:i}=t,{id:s,props:n,el:o}=e;if(!n)return;const r=Object.keys(n),a=r.map(c=>Kt(c)).concat(s),l=new MutationObserver(c=>{const u=gn(e);c.some(({attributeName:f})=>{const d=f.replace("data-","");return(d===s?r:[we(d),we(f)]).some(g=>!Y(u[g])&&u[g]!==i[g])})&&t.$reset()});l.observe(o,{attributes:!0,attributeFilter:a.concat(a.map(c=>`data-${c}`))}),fn(t,l)}function fe(t,e){var i;(i=t.$options[e])==null||i.forEach(s=>s.call(t))}function cs(t){t._connected||(Lr(t),fe(t,"beforeConnect"),t._connected=!0,Dr(t),Ir(t),kr(t),Mr(t),Rr(t),_r(t),fe(t,"connected"),fi(t))}function us(t){t._connected&&(fe(t,"beforeDisconnect"),Br(t),Tr(t),Nr(t),Ar(t),fe(t,"disconnected"),t._connected=!1)}let jr=0;function mn(t,e={}){e.data=Vr(e,t.constructor.options),t.$options=Oe(t.constructor.options,e,t),t.$props={},t._uid=jr++,qr(t),Ur(t),Pr(t),fe(t,"created"),e.el&&t.$mount(e.el)}function qr(t){const{data:e={}}=t.$options;for(const i in e)t.$props[i]=t[i]=e[i]}function Ur(t){const{methods:e}=t.$options;if(e)for(const i in e)t[i]=e[i].bind(t)}function Vr({data:t={}},{args:e=[],props:i={}}){Q(t)&&(t=t.slice(0,e.length).reduce((s,n,o)=>(kt(n)?$t(s,n):s[e[o]]=n,s),{}));for(const s in t)Y(t[s])?delete t[s]:i[s]&&(t[s]=hs(i[s],t[s]));return t}const ft=function(t){mn(this,t)};ft.util=yr,ft.options={},ft.version="3.16.17";const Yr="bdt-",qt="__uikit__",de={};function vn(t,e){var i;const s=Yr+Kt(t);if(!e)return kt(de[s])&&(de[s]=ft.extend(de[s])),de[s];t=we(t),ft[t]=(o,r)=>Be(t,o,r);const n=kt(e)?{...e}:e.options;return n.id=s,n.name=t,(i=n.install)==null||i.call(n,ft,n,t),ft._initialized&&!n.functional&&requestAnimationFrame(()=>Be(t,`[${s}],[data-${s}]`)),de[s]=n}function Be(t,e,i,...s){const n=vn(t);return n.options.functional?new n({data:kt(e)?e:[e,i,...s]}):e?z(e).map(o)[0]:o();function o(r){const a=di(r,t);if(a)if(i)a.$destroy();else return a;return new n({el:r,data:i})}}function Ut(t){return(t==null?void 0:t[qt])||{}}function di(t,e){return Ut(t)[e]}function Gr(t,e){t[qt]||(t[qt]={}),t[qt][e.$options.name]=e}function Xr(t,e){var i;(i=t[qt])==null||delete i[e.$options.name],be(t[qt])||delete t[qt]}function Jr(t){t.component=vn,t.getComponents=Ut,t.getComponent=di,t.update=wn,t.use=function(i){if(!i.installed)return i.call(null,this),i.installed=!0,this},t.mixin=function(i,s){s=(D(s)?this.component(s):s)||this,s.options=Oe(s.options,i)},t.extend=function(i){i||(i={});const s=this,n=function(r){mn(this,r)};return n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.options=Oe(s.options,i),n.super=s,n.extend=s.extend,n};let e;Object.defineProperty(t,"container",{get(){return e||document.body},set(i){e=w(i)}})}function wn(t,e){t=t?H(t):document.body;for(const i of ne(t).reverse())bn(i,e);Tt(t,i=>bn(i,e))}function bn(t,e){const i=Ut(t);for(const s in i)fi(i[s],e)}function Kr(t){t.prototype.$mount=function(e){const i=this;Gr(e,i),i.$options.el=e,B(e,document)&&cs(i)},t.prototype.$destroy=function(e=!1){const i=this,{el:s}=i.$options;s&&us(i),fe(i,"destroy"),Xr(s,i),e&&lt(i.$el)},t.prototype.$create=Be,t.prototype.$emit=function(e){fi(this,e)},t.prototype.$update=function(e=this.$el,i){wn(e,i)},t.prototype.$reset=function(){us(this),cs(this)},t.prototype.$getComponent=di,Object.defineProperties(t.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(t,"container")})}function At(t,e=t.$el,i=""){if(e.id)return e.id;let s=`${t.$options.id}-${t._uid}${i}`;return w(`#${s}`)&&(s=At(t,e,`${i}-2`)),s}Jr(ft),Kr(ft);function Zr(t){Lt&&window.MutationObserver&&(document.body?requestAnimationFrame(()=>$n(t)):new MutationObserver((e,i)=>{document.body&&($n(t),i.disconnect())}).observe(document.documentElement,{childList:!0}))}function $n(t){v(document,"uikit:init",t),document.body&&Tt(document.body,xn),new MutationObserver(e=>e.forEach(Qr)).observe(document,{childList:!0,subtree:!0}),new MutationObserver(e=>e.forEach(ta)).observe(document,{attributes:!0,subtree:!0}),t._initialized=!0}function Qr({addedNodes:t,removedNodes:e}){for(const i of t)Tt(i,xn);for(const i of e)Tt(i,ea)}function ta({target:t,attributeName:e}){var i;const s=yn(e);if(s){if(gt(t,e)){Be(s,t);return}(i=di(t,s))==null||i.$destroy()}}function xn(t){const e=Ut(t);for(const i in Ut(t))cs(e[i]);for(const i of t.getAttributeNames()){const s=yn(i);s&&Be(s,t)}}function ea(t){const e=Ut(t);for(const i in Ut(t))us(e[i])}function yn(t){ot(t,"data-")&&(t=t.slice(5));const e=de[t];return e&&(kt(e)?e:e.options).name}var st={connected(){y(this.$el,this.$options.id)}},Vt={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"bdt-togglabe-enter",clsLeave:"bdt-togglabe-leave"},computed:{hasAnimation({animation:t}){return!!t[0]},hasTransition({animation:t}){return["slide","reveal"].some(e=>ot(t[0],e))}},methods:{async toggleElement(t,e,i){try{return await Promise.all(S(t).map(s=>{const n=Bi(e)?e:!this.isToggled(s);if(!v(s,`before${n?"show":"hide"}`,[this]))return Promise.reject();const o=(it(i)?i:i===!1||!this.hasAnimation?ia:this.hasTransition?sa:na)(s,n,this),r=n?this.clsEnter:this.clsLeave;y(s,r),v(s,n?"show":"hide",[this]);const a=()=>{M(s,r),v(s,n?"shown":"hidden",[this])};return o?o.then(a,()=>(M(s,r),Promise.reject())):a()})),!0}catch{return!1}},isToggled(t=this.$el){return t=H(t),P(t,this.clsEnter)?!0:P(t,this.clsLeave)?!1:this.cls?P(t,this.cls.split(" ")[0]):j(t)},_toggle(t,e){if(!t)return;e=!!e;let i;this.cls?(i=m(this.cls," ")||e!==P(t,this.cls),i&&q(t,this.cls,m(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),z("[autofocus]",t).some(s=>j(s)?s.focus()||!0:s.blur()),i&&v(t,"toggled",[e,this])}}};function ia(t,e,{_toggle:i}){return mt.cancel(t),E.cancel(t),i(t,e)}async function sa(t,e,{animation:i,duration:s,velocity:n,transition:o,_toggle:r}){var a;const[l="reveal",c="top"]=((a=i[0])==null?void 0:a.split("-"))||[],u=[["left","right"],["top","bottom"]],f=u[m(u[0],c)?0:1],d=f[1]===c,A=["width","height"][u.indexOf(f)],N=`margin-${f[0]}`,F=`margin-${c}`;let Ot=b(t)[A];const Ts=E.inProgress(t);await E.cancel(t),e&&r(t,!0);const Yh=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",N,F].map(No=>[No,t.style[No]])),qe=b(t),Es=$(h(t,N)),Do=$(h(t,F)),Jt=qe[A]+Do;!Ts&&!e&&(Ot+=Do);const[Oi]=Ki(t,"<div>");h(Oi,{boxSizing:"border-box",height:qe.height,width:qe.width,...h(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",F])}),h(t,{padding:0,border:0,minWidth:0,minHeight:0,[F]:0,width:qe.width,height:qe.height,overflow:"hidden",[A]:Ot});const Bo=Ot/Jt;s=(n*Jt+s)*(e?1-Bo:Bo);const Mo={[A]:e?Jt:0};d&&(h(t,N,Jt-Ot+Es),Mo[N]=e?Es:Jt+Es),!d^l==="reveal"&&(h(Oi,N,-Jt+Ot),E.start(Oi,{[N]:e?0:-Jt},s,o));try{await E.start(t,Mo,s,o)}finally{h(t,Yh),Te(Oi.firstChild),e||r(t,!1)}}function na(t,e,i){mt.cancel(t);const{animation:s,duration:n,_toggle:o}=i;return e?(o(t,!0),mt.in(t,s[0],n,i.origin)):mt.out(t,s[1]||s[0],n,i.origin).then(()=>o(t,!1))}const I={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};function pt(t){return gi(li,t,"resize")}function Me(t){return gi(Rs,t)}function kn(t){return gi(js,t)}function Ne(t={}){return Me({handler:function(e,i){const{targets:s=this.$el,preload:n=5}=t;for(const o of S(it(s)?s(this):s))z('[loading="lazy"]',o).slice(0,n-1).forEach(r=>$e(r,"loading"));for(const o of e.filter(({isIntersecting:r})=>r).map(({target:r})=>r))i.unobserve(o)},...t})}function pi(t){return gi(function(e,i){return{disconnect:x(e,"scroll",i,{passive:!0,capture:!0})}},{target:()=>window,...t},"scroll")}function Sn(t){return{observe(e,i){return{observe:k,unobserve:k,disconnect:x(e,vt,i,{passive:!0})}},handler(e){if(!Ct(e))return;const i=ae(e),s="tagName"in e.target?e.target:O(e.target);L(document,`${_t} ${ai} scroll`,n=>{const{x:o,y:r}=ae(n);(n.type!=="scroll"&&s&&o&&Math.abs(i.x-o)>100||r&&Math.abs(i.y-r)>100)&&setTimeout(()=>{v(s,"swipe"),v(s,`swipe${oa(i.x,i.y,o,r)}`)})})},...t}}function gi(t,e,i){return{observe:t,handler(){this.$emit(i)},...e}}function oa(t,e,i,s){return Math.abs(t-i)>=Math.abs(e-s)?t-i>0?"Left":"Right":e-s>0?"Up":"Down"}var In={mixins:[st,Vt],props:{animation:Boolean,targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,offset:Number},data:{targets:"> *",active:!1,animation:!0,collapsible:!0,multiple:!1,clsOpen:"bdt-open",toggle:"> .bdt-accordion-title",content:"> .bdt-accordion-content",offset:0},computed:{items({targets:t},e){return z(t,e)},toggles({toggle:t}){return this.items.map(e=>w(t,e))},contents({content:t}){return this.items.map(e=>{var i;return((i=e._wrapper)==null?void 0:i.firstElementChild)||w(t,e)})}},watch:{items(t,e){if(e||P(t,this.clsOpen))return;const i=this.active!==!1&&t[Number(this.active)]||!this.collapsible&&t[0];i&&this.toggle(i,!1)},toggles(){this.$emit()},contents(t){for(const e of t){const i=P(this.items.find(s=>B(e,s)),this.clsOpen);mi(e,!i)}this.$emit()}},observe:Ne(),events:[{name:"click keydown",delegate(){return`${this.targets} ${this.$props.toggle}`},async handler(t){var e;t.type==="keydown"&&t.keyCode!==I.SPACE||(t.preventDefault(),(e=this._off)==null||e.call(this),this._off=aa(t.target),await this.toggle(oe(this.toggles,t.current)),this._off())}},{name:"shown hidden",self:!0,delegate(){return this.targets},handler(){this.$emit()}}],update(){const t=ke(this.items,`.${this.clsOpen}`);for(const e in this.items){const i=this.toggles[e],s=this.contents[e];if(!i||!s)continue;i.id=At(this,i,`-title-${e}`),s.id=At(this,s,`-content-${e}`);const n=m(t,this.items[e]);p(i,{role:G(i,"a")?"button":null,"aria-controls":s.id,"aria-expanded":n,"aria-disabled":!this.collapsible&&t.length<2&&n}),p(s,{role:"region","aria-labelledby":i.id}),G(s,"ul")&&p(T(s),"role","presentation")}},methods:{toggle(t,e){t=this.items[rt(t,this.items)];let i=[t];const s=ke(this.items,`.${this.clsOpen}`);if(!this.multiple&&!m(s,i[0])&&(i=i.concat(s)),!(!this.collapsible&&s.length<2&&m(s,t)))return Promise.all(i.map(n=>this.toggleElement(n,!m(s,n),(o,r)=>{if(q(o,this.clsOpen,r),e===!1||!this.animation){mi(w(this.content,o),!r);return}return ra(o,r,this)})))}}};function mi(t,e){t&&(t.hidden=e)}async function ra(t,e,{content:i,duration:s,velocity:n,transition:o}){var r;i=((r=t._wrapper)==null?void 0:r.firstElementChild)||w(i,t),t._wrapper||(t._wrapper=si(i,"<div>"));const a=t._wrapper;h(a,"overflow","hidden");const l=$(h(a,"height"));await E.cancel(a),mi(i,!1);const c=Dt(["marginTop","marginBottom"],f=>h(i,f))+b(i).height,u=l/c;s=(n*c+s)*(e?1-u:u),h(a,"height",l),await E.start(a,{height:e?c:0},s,o),Te(i),delete t._wrapper,e||mi(i,!0)}function aa(t){const[e]=wt(t,!0);let i;return function s(){i=requestAnimationFrame(()=>{const{top:n}=t.getBoundingClientRect();n<0&&(e.scrollTop+=n),s()})}(),()=>requestAnimationFrame(()=>cancelAnimationFrame(i))}var la={mixins:[st,Vt],args:"animation",props:{animation:Boolean,close:String},data:{animation:!0,selClose:".bdt-alert-close",duration:150},events:{name:"click",delegate(){return this.selClose},handler(t){t.preventDefault(),this.close()}},methods:{async close(){await this.toggleElement(this.$el,!1,ha),this.$destroy(!0)}}};function ha(t,e,{duration:i,transition:s,velocity:n}){const o=$(h(t,"height"));return h(t,"height",o),E.start(t,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},n*o+i,s)}var Cn={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView=this.autoplay==="inview",this.inView&&!gt(this.$el,"preload")&&(this.$el.preload="none"),G(this.$el,"iframe")&&!gt(this.$el,"allow")&&(this.$el.allow="autoplay"),this.automute&&Ys(this.$el)},observe:[Me({args:{intersecting:!1}}),pt()],update:{read({visible:t}){return Gs(this.$el)?{prev:t,visible:j(this.$el),inView:this.inView&&ss(this.$el)}:!1},write({prev:t,visible:e,inView:i}){!e||this.inView&&!i?Vs(this.$el):(this.autoplay===!0&&!t||i)&&Us(this.$el)},events:["resize"]}},ca={mixins:[Cn],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},observe:pt({target:({$el:t})=>[Tn(t)||O(t)]}),update:{read(){const{ratio:t,cover:e}=Ke,{$el:i,width:s,height:n}=this;let o={width:s,height:n};if(!s||!n){const c={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};s?o=t(c,"width",s):n?o=t(c,"height",n):o=c}const{offsetHeight:r,offsetWidth:a}=Tn(i)||O(i),l=e(o,{width:a+(a%2?1:0),height:r+(r%2?1:0)});return!l.width||!l.height?!1:l},write({height:t,width:e}){h(this.$el,{height:t,width:e})},events:["resize"]}};function Tn(t){for(;t=O(t);)if(h(t,"position")!=="static")return t}var En={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:`bottom-${X?"right":"left"}`,offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=m(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let s=[this.getPositionOffset(t),this.getShiftOffset(t)];const n=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:oi(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const l in o)o[l].reverse();s.reverse(),n.reverse()}const r=ua(t),a=b(t);h(t,{top:-a.height,left:-a.width}),tn(t,e,{attach:o,offset:s,boundary:i,placement:n,viewportOffset:this.getViewportOffset(t)}),r()},getPositionOffset(t){return ht(this.offset===!1?h(t,"--bdt-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(m(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return this.align==="center"?0:ht(h(t,"--bdt-position-shift-offset"),this.axis==="y"?"width":"height",t)*(m(["left","top"],this.align)?1:-1)},getViewportOffset(t){return ht(h(t,"--bdt-position-viewport-offset"))}}};function ua(t){const[e]=wt(t),{scrollTop:i}=e;return()=>{i!==e.scrollTop&&(e.scrollTop=i)}}var ze={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&w(t)}}};let fs;function Pn(t){const e=x(t,"touchmove",s=>{if(s.targetTouches.length!==1||C(s.target,'input[type="range"'))return;let[{scrollHeight:n,clientHeight:o}]=wt(s.target);o>=n&&s.cancelable&&s.preventDefault()},{passive:!1});if(fs)return e;fs=!0;const{scrollingElement:i}=document;return h(i,{overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",paddingRight:Ee(window)-i.clientWidth||""}),()=>{fs=!1,e(),h(i,{overflowY:"",touchAction:"",paddingRight:""})}}let K;var _n={mixins:[ze,En,Vt],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryX:Boolean,boundaryY:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,stretch:Boolean,delayShow:Number,delayHide:Number,autoUpdate:Boolean,clsDrop:String,animateOut:Boolean,bgScroll:Boolean},data:{mode:["click","hover"],toggle:"- *",boundary:!1,boundaryX:!1,boundaryY:!1,target:!1,targetX:!1,targetY:!1,stretch:!1,delayShow:0,delayHide:800,autoUpdate:!0,clsDrop:!1,animateOut:!1,bgScroll:!0,animation:["bdt-animation-fade"],cls:"bdt-open",container:!1},computed:{boundary({boundary:t,boundaryX:e,boundaryY:i},s){return[at(e||t,s)||window,at(i||t,s)||window]},target({target:t,targetX:e,targetY:i},s){return e||(e=t||this.targetEl),i||(i=t||this.targetEl),[e===!0?window:at(e,s),i===!0?window:at(i,s)]}},created(){this.tracker=new ts},beforeConnect(){this.clsDrop=this.$props.clsDrop||`bdt-${this.$options.name}`},connected(){y(this.$el,"bdt-drop",this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=pa(this)),this._style=zi(this.$el.style,["width","height"])},disconnected(){this.isActive()&&(this.hide(!1),K=null),h(this.$el,this._style)},observe:Ne({target:({toggle:t,$el:e})=>at(t,e),targets:({$el:t})=>t}),events:[{name:"click",delegate(){return".bdt-drop-close"},handler(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate(){return'a[href*="#"]'},handler({defaultPrevented:t,current:e}){const{hash:i}=e;!t&&i&&re(e)&&!B(i,this.$el)&&this.hide(!1)}},{name:"beforescroll",handler(){this.hide(!1)}},{name:"toggle",self:!0,handler(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(e==null?void 0:e.$el,!1)}},{name:"toggleshow",self:!0,handler(t,e){t.preventDefault(),this.show(e==null?void 0:e.$el)}},{name:"togglehide",self:!0,handler(t){t.preventDefault(),C(this.$el,":focus,:hover")||this.hide()}},{name:`${Rt} focusin`,filter(){return m(this.mode,"hover")},handler(t){Ct(t)||this.clearTimers()}},{name:`${ue} focusout`,filter(){return m(this.mode,"hover")},handler(t){!Ct(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){p(this.targetEl,"aria-expanded",e?!0:null),e&&(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){K=this,this.tracker.init();const t=[ga(this),va(this),wa(this),this.autoUpdate&&ma(this),!this.bgScroll&&Pn(this.$el)];L(this.$el,"hide",()=>t.forEach(e=>e&&e()),{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler({target:t}){if(this.$el!==t){K=K===null&&B(t,this.$el)&&this.isToggled()?this:K;return}K=this.isActive()?null:K,this.tracker.cancel()}}],update:{write(){this.isToggled()&&!P(this.$el,this.clsEnter)&&this.position()}},methods:{show(t=this.targetEl,e=!0){if(this.isToggled()&&t&&this.targetEl&&t!==this.targetEl&&this.hide(!1,!1),this.targetEl=t,this.clearTimers(),!this.isActive()){if(K){if(e&&K.isDelaying){this.showTimer=setTimeout(()=>C(t,":hover")&&this.show(),10);return}let i;for(;K&&i!==K&&!B(this.$el,K.$el);)i=K,K.hide(!1,!1)}this.container&&O(this.$el)!==this.container&&W(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),e&&this.delayShow||0)}},hide(t=!0,e=!0){const i=()=>this.toggleElement(this.$el,!1,this.animateOut&&e);this.clearTimers(),this.isDelaying=fa(this.$el).some(s=>this.tracker.movesTo(s)),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive(){return K===this},position(){M(this.$el,"bdt-drop-stack"),h(this.$el,this._style),this.$el.hidden=!0;const t=this.target.map(n=>da(this.$el,n)),e=this.getViewportOffset(this.$el),i=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[n,[o,r]]of i)this.axis!==o&&m([o,!0],this.stretch)&&h(this.$el,{[r]:Math.min(_(this.boundary[n])[r],t[n][r]-2*e),[`overflow-${o}`]:"auto"});const s=t[0].width-2*e;this.$el.hidden=!1,h(this.$el,"maxWidth",""),this.$el.offsetWidth>s&&y(this.$el,"bdt-drop-stack"),h(this.$el,"maxWidth",s),this.positionAt(this.$el,this.target,this.boundary);for(const[n,[o,r,a,l]]of i)if(this.axis===o&&m([o,!0],this.stretch)){const c=Math.abs(this.getPositionOffset(this.$el)),u=_(this.target[n]),f=_(this.$el);h(this.$el,{[r]:(u[a]>f[a]?u[this.inset?l:a]-Math.max(_(this.boundary[n])[a],t[n][a]+e):Math.min(_(this.boundary[n])[l],t[n][l]-e)-u[this.inset?a:l])-c,[`overflow-${o}`]:"auto"}),this.positionAt(this.$el,this.target,this.boundary)}}}};function fa(t){const e=[];return Tt(t,i=>h(i,"position")!=="static"&&e.push(i)),e}function da(t,e){return ct(jt(e).find(i=>B(t,i)))}function pa(t){const{$el:e}=t.$create("toggle",at(t.toggle,t.$el),{target:t.$el,mode:t.mode});return p(e,"aria-haspopup",!0),e}function ga(t){const e=()=>t.$emit(),i=x(window,"resize",e),s=li(jt(t.$el).concat(t.target),e);return()=>{s.disconnect(),i()}}function ma(t){return x([document,...jt(t.$el)],"scroll",()=>t.$emit(),{passive:!0})}function va(t){return x(document,"keydown",e=>{e.keyCode===I.ESC&&t.hide(!1)})}function wa(t){return x(document,vt,({target:e})=>{B(e,t.$el)||L(document,`${_t} ${ai} scroll`,({defaultPrevented:i,type:s,target:n})=>{!i&&s===_t&&e===n&&!(t.targetEl&&B(e,t.targetEl))&&t.hide(!1)},!0)})}var An={mixins:[st,ze],props:{align:String,clsDrop:String,boundary:Boolean,dropbar:Boolean,dropbarAnchor:Boolean,duration:Number,mode:Boolean,offset:Boolean,stretch:Boolean,delayShow:Boolean,delayHide:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,animation:Boolean,animateOut:Boolean},data:{align:X?"right":"left",clsDrop:"bdt-dropdown",clsDropbar:"bdt-dropnav-dropbar",boundary:!0,dropbar:!1,dropbarAnchor:!1,duration:200,container:!1,selNavItem:"> li > a, > ul > li > a"},computed:{dropbarAnchor({dropbarAnchor:t},e){return at(t,e)||e},dropbar({dropbar:t}){return t?(t=this._dropbar||at(t,this.$el)||w(`+ .${this.clsDropbar}`,this.$el),t||(this._dropbar=w("<div></div>"))):null},dropContainer(t,e){return this.container||e},dropdowns({clsDrop:t},e){var i;const s=z(`.${t}`,e);if(this.dropContainer!==e)for(const n of z(`.${t}`,this.dropContainer)){const o=(i=this.getDropdown(n))==null?void 0:i.targetEl;!m(s,n)&&o&&B(o,this.$el)&&s.push(n)}return s},items({selNavItem:t},e){return z(t,e)}},watch:{dropbar(t){y(t,"bdt-dropbar","bdt-dropbar-top",this.clsDropbar,`bdt-${this.$options.name}-dropbar`)},dropdowns(t){this.$create("drop",t.filter(e=>!this.getDropdown(e)),{...this.$props,flip:!1,shift:!0,pos:`bottom-${this.align}`,boundary:this.boundary===!0?this.$el:this.boundary})}},disconnected(){lt(this._dropbar),delete this._dropbar},events:[{name:"mouseover focusin",delegate(){return this.selNavItem},handler({current:t}){const e=this.getActive();e&&m(e.mode,"hover")&&e.targetEl&&!B(e.targetEl,t)&&!e.isDelaying&&e.hide(!1)}},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:e,keyCode:i}=t,s=this.getActive();i===I.DOWN&&gt(e,"aria-expanded")&&(t.preventDefault(),!s||s.targetEl!==e?(e.click(),L(this.dropContainer,"show",({target:n})=>Dn(n))):Dn(s.$el)),On(t,this.items,s)}},{name:"keydown",el(){return this.dropContainer},delegate(){return`.${this.clsDrop}`},handler(t){var e;const{current:i,keyCode:s}=t;if(!m(this.dropdowns,i))return;const n=this.getActive();let o=-1;if(s===I.HOME?o=0:s===I.END?o="last":s===I.UP?o="previous":s===I.DOWN?o="next":s===I.ESC&&((e=n.targetEl)==null||e.focus()),~o){t.preventDefault();const r=z(ye,i);r[rt(o,r,yt(r,a=>C(a,":focus")))].focus()}On(t,this.items,n)}},{name:"mouseleave",el(){return this.dropbar},filter(){return this.dropbar},handler(){const t=this.getActive();t&&m(t.mode,"hover")&&!this.dropdowns.some(e=>C(e,":hover"))&&t.hide()}},{name:"beforeshow",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){this.isDropbarDrop(t)&&(this.dropbar.previousElementSibling!==this.dropbarAnchor&&ei(this.dropbarAnchor,this.dropbar),y(t,`${this.clsDrop}-dropbar`))}},{name:"show",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){if(!this.isDropbarDrop(t))return;const e=this.getDropdown(t),i=()=>{const s=ne(t,`.${this.clsDrop}`).concat(t).map(a=>_(a)),n=Math.min(...s.map(({top:a})=>a)),o=Math.max(...s.map(({bottom:a})=>a)),r=_(this.dropbar);h(this.dropbar,"top",this.dropbar.offsetTop-(r.top-n)),this.transitionTo(o-n+$(h(t,"marginBottom")),t)};this._observer=li([e.$el,...e.target],i),i()}},{name:"beforehide",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){const e=this.getActive();C(this.dropbar,":hover")&&e.$el===t.target&&!this.items.some(i=>e.targetEl!==i&&C(i,":focus"))&&t.preventDefault()}},{name:"hide",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){var e;if(!this.isDropbarDrop(t))return;(e=this._observer)==null||e.disconnect();const i=this.getActive();(!i||i.$el===t)&&this.transitionTo(0)}}],methods:{getActive(){var t;return m(this.dropdowns,(t=K)==null?void 0:t.$el)&&K},async transitionTo(t,e){const{dropbar:i}=this,s=et(i);e=s<t&&e,await E.cancel([e,i]),h(e,"clipPath",`polygon(0 0,100% 0,100% ${s}px,0 ${s}px)`),et(i,s),await Promise.all([E.start(i,{height:t},this.duration),E.start(e,{clipPath:`polygon(0 0,100% 0,100% ${t}px,0 ${t}px)`},this.duration).finally(()=>h(e,{clipPath:""}))]).catch(k)},getDropdown(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")},isDropbarDrop(t){return this.getDropdown(t)&&P(t,this.clsDrop)}}};function On(t,e,i){var s,n,o;const{current:r,keyCode:a}=t;let l=-1;a===I.HOME?l=0:a===I.END?l="last":a===I.LEFT?l="previous":a===I.RIGHT?l="next":a===I.TAB&&((s=i.targetEl)==null||s.focus(),(n=i.hide)==null||n.call(i,!1)),~l&&(t.preventDefault(),(o=i.hide)==null||o.call(i,!1),e[rt(l,e,e.indexOf(i.targetEl||r))].focus())}function Dn(t){var e;w(":focus",t)||(e=w(ye,t))==null||e.focus()}var ba={mixins:[st],args:"target",props:{target:Boolean},data:{target:!1},computed:{input(t,e){return w(xe,e)},state(){return this.input.nextElementSibling},target({target:t},e){return t&&(t===!0&&O(this.input)===e&&this.input.nextElementSibling||w(t,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let s;const n=Wi(e)?"value":"textContent",o=e[n],r=(t=i.files)!=null&&t[0]?i.files[0].name:C(i,"select")&&(s=z("option",i).filter(a=>a.selected)[0])?s.textContent:i.value;o!==r&&(e[n]=r)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return U(this.$el,"form")},handler(){this.$emit()}}]},Bn={props:{margin:String,firstColumn:Boolean},data:{margin:"bdt-margin-small-top",firstColumn:"bdt-first-column"},observe:[kn({options:{childList:!0,attributes:!0,attributeFilter:["style"]}}),pt({target:({$el:t})=>[t,...T(t)]})],update:{read(){const t=ds(this.$el.children);return{rows:t,columns:$a(t)}},write({columns:t,rows:e}){for(const i of e)for(const s of i)q(s,this.margin,e[0]!==i),q(s,this.firstColumn,t[0].includes(s))},events:["resize"]}};function ds(t){return Mn(t,"top","bottom")}function $a(t){const e=[];for(const i of t){const s=Mn(i,"left","right");for(let n=0;n<s.length;n++)e[n]=e[n]?e[n].concat(s[n]):s[n]}return X?e.reverse():e}function Mn(t,e,i){const s=[[]];for(const n of t){if(!j(n))continue;let o=vi(n);for(let r=s.length-1;r>=0;r--){const a=s[r];if(!a[0]){a.push(n);break}let l;if(a[0].offsetParent===n.offsetParent?l=vi(a[0]):(o=vi(n,!0),l=vi(a[0],!0)),o[e]>=l[i]-1&&o[e]!==l[e]){s.push([n]);break}if(o[i]-1>l[e]||o[e]===l[e]){a.push(n);break}if(r===0){s.unshift([n]);break}}}return s}function vi(t,e=!1){let{offsetTop:i,offsetLeft:s,offsetHeight:n,offsetWidth:o}=t;return e&&([i,s]=Ht(t)),{top:i,left:s,bottom:i+n,right:s+o}}var xa={extends:Bn,mixins:[st],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"bdt-grid-margin",clsStack:"bdt-grid-stack",masonry:!1,parallax:0},connected(){this.masonry&&y(this.$el,"bdt-flex-top bdt-flex-wrap-top")},observe:pi({filter:({parallax:t})=>t}),update:[{write({columns:t}){q(this.$el,this.clsStack,t.length<2)},events:["resize"]},{read(t){let{columns:e,rows:i}=t;if(!e.length||!this.masonry&&!this.parallax||Nn(this.$el))return t.translates=!1,!1;let s=!1;const n=T(this.$el),o=e.map(c=>Dt(c,"offsetHeight")),r=ka(n,this.margin)*(i.length-1),a=Math.max(...o)+r;this.masonry&&(e=e.map(c=>Xe(c,"offsetTop")),s=ya(i,e));let l=Math.abs(this.parallax);return l&&(l=o.reduce((c,u,f)=>Math.max(c,u+r+(f%2?l:l/8)-a),0)),{padding:l,columns:e,translates:s,height:s?a:""}},write({height:t,padding:e}){h(this.$el,"paddingBottom",e||""),t!==!1&&h(this.$el,"height",t)},events:["resize"]},{read(){return this.parallax&&Nn(this.$el)?!1:{scrolled:this.parallax?ns(this.$el)*Math.abs(this.parallax):!1}},write({columns:t,scrolled:e,translates:i}){e===!1&&!i||t.forEach((s,n)=>s.forEach((o,r)=>h(o,"transform",!e&&!i?"":`translateY(${(i&&-i[n][r])+(e?n%2?e:e/8:0)}px)`)))},events:["scroll","resize"]}]};function Nn(t){return T(t).some(e=>h(e,"position")==="absolute")}function ya(t,e){const i=t.map(s=>Math.max(...s.map(n=>n.offsetHeight)));return e.map(s=>{let n=0;return s.map((o,r)=>n+=r?i[r-1]-s[r-1].offsetHeight:0)})}function ka(t,e){const[i]=t.filter(s=>P(s,e));return $(i?h(i,"marginTop"):h(t[0],"paddingLeft"))}var Sa={args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements({target:t},e){return z(t,e)}},observe:pt({target:({$el:t,elements:e})=>[t,...e]}),update:{read(){return{rows:(this.row?ds(this.elements):[this.elements]).map(Ia)}},write({rows:t}){for(const{heights:e,elements:i}of t)i.forEach((s,n)=>h(s,"minHeight",e[n]))},events:["resize"]}};function Ia(t){if(t.length<2)return{heights:[""],elements:t};let e=t.map(Ca);const i=Math.max(...e);return{heights:t.map((s,n)=>e[n].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function Ca(t){const e=zi(t.style,["display","minHeight"]);j(t)||h(t,"display","block","important"),h(t,"minHeight","");const i=b(t).height-le(t,"height","content-box");return h(t,e),i}var Ta={props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},observe:pt({target:({$el:t})=>[t,...wt(t)]}),update:{read({minHeight:t}){if(!j(this.$el))return!1;let e="";const i=le(this.$el,"height","content-box"),{body:s,scrollingElement:n}=document,[o]=wt(this.$el),{height:r}=ct(o===s?n:o);if(this.expand)e=Math.max(r-(b(o).height-b(this.$el).height)-i,0);else{const a=n===o||s===o;if(e=`calc(${a?"100vh":`${r}px`}`,this.offsetTop)if(a){const l=Ht(this.$el)[0]-Ht(o)[0];e+=l>0&&l<r/2?` - ${l}px`:""}else e+=` - ${h(o,"paddingTop")}`;this.offsetBottom===!0?e+=` - ${b(this.$el.nextElementSibling).height}px`:xt(this.offsetBottom)?e+=` - ${this.offsetBottom}vh`:this.offsetBottom&&Zt(this.offsetBottom,"px")?e+=` - ${$(this.offsetBottom)}px`:D(this.offsetBottom)&&(e+=` - ${b(at(this.offsetBottom,this.$el)).height}px`),e+=`${i?` - ${i}px`:""})`}return{minHeight:e,prev:t}},write({minHeight:t}){h(this.$el,{minHeight:t}),this.minHeight&&$(h(this.$el,"minHeight"))<this.minHeight&&h(this.$el,"minHeight",this.minHeight)},events:["resize"]}},zn={args:"src",props:{width:Number,height:Number,ratio:Number},data:{ratio:1},connected(){this.svg=this.getSvg().then(t=>{if(!this._connected)return;const e=Ea(t,this.$el);return this.svgEl&&e!==this.svgEl&&lt(this.svgEl),Pa.call(this,e,t),this.svgEl=e},k)},disconnected(){this.svg.then(t=>{this._connected||(Li(this.$el)&&(this.$el.hidden=!1),lt(t),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){}}};function Ea(t,e){if(Li(e)||G(e,"canvas")){e.hidden=!0;const s=e.nextElementSibling;return Fn(t,s)?s:ei(e,t)}const i=e.lastElementChild;return Fn(t,i)?i:W(e,t)}function Fn(t,e){return G(t,"svg")&&G(e,"svg")&&t.innerHTML===e.innerHTML}function Pa(t,e){const i=["width","height"];let s=i.map(o=>this[o]);s.some(o=>o)||(s=i.map(o=>p(e,o)));const n=p(e,"viewBox");n&&!s.some(o=>o)&&(s=n.split(" ").slice(2)),s.forEach((o,r)=>p(t,i[r],$(o)*this.ratio||null))}var wi={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var i,s,n;let o=0;return((n=((i=this.i18n)==null?void 0:i[t])||((s=this.$options.i18n)==null?void 0:s[t]))==null?void 0:n.replace(/%s/g,()=>e[o++]||""))||""}}},_a='<svg width="14" height="14" viewBox="0 0 14 14"><line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"/><line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"/></svg>',Aa='<svg width="20" height="20" viewBox="0 0 20 20"><line fill="none" stroke="#000" stroke-width="1.4" x1="1" y1="1" x2="19" y2="19"/><line fill="none" stroke="#000" stroke-width="1.4" x1="19" y1="1" x2="1" y2="19"/></svg>',Oa='<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',Da='<svg width="20" height="20" viewBox="0 0 20 20"><rect x="9" y="4" width="1" height="11"/><rect x="4" y="9" width="11" height="1"/></svg>',Ba='<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',Ma='<svg width="14" height="14" viewBox="0 0 14 14"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 4 7 10 13 4"/></svg>',Na='<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',za='<svg width="20" height="20" viewBox="0 0 20 20"><style>.bdt-navbar-toggle-animate svg&gt;[class*=&quot;line-&quot;]{transition:0.2s ease-in-out;transition-property:transform, opacity;transform-origin:center;opacity:1}.bdt-navbar-toggle svg&gt;.line-3{opacity:0}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-3{opacity:1}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-2{transform:rotate(45deg)}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-3{transform:rotate(-45deg)}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-1,.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-4{opacity:0}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-1{transform:translateY(6px) scaleX(0)}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-4{transform:translateY(-6px) scaleX(0)}</style><rect class="line-1" y="3" width="20" height="2"/><rect class="line-2" y="9" width="20" height="2"/><rect class="line-3" y="9" width="20" height="2"/><rect class="line-4" y="15" width="20" height="2"/></svg>',Fa='<svg width="40" height="40" viewBox="0 0 40 40"><rect x="19" y="0" width="1" height="40"/><rect x="0" y="19" width="40" height="1"/></svg>',Ha='<svg width="7" height="12" viewBox="0 0 7 12"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11"/></svg>',La='<svg width="7" height="12" viewBox="0 0 7 12"><polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11"/></svg>',Wa='<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/></svg>',Ra='<svg width="40" height="40" viewBox="0 0 40 40"><circle fill="none" stroke="#000" stroke-width="1.8" cx="17.5" cy="17.5" r="16.5"/><line fill="none" stroke="#000" stroke-width="1.8" x1="38" y1="39" x2="29" y2="30"/></svg>',ja='<svg width="24" height="24" viewBox="0 0 24 24"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10.5" cy="10.5" r="9.5"/><line fill="none" stroke="#000" stroke-width="1.1" x1="23" y1="23" x2="17" y2="17"/></svg>',qa='<svg width="14" height="24" viewBox="0 0 14 24"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1"/></svg>',Ua='<svg width="25" height="40" viewBox="0 0 25 40"><polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5"/></svg>',Va='<svg width="14" height="24" viewBox="0 0 14 24"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23"/></svg>',Ya='<svg width="25" height="40" viewBox="0 0 25 40"><polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547"/></svg>',Ga='<svg width="30" height="30" viewBox="0 0 30 30"><circle fill="none" stroke="#000" cx="15" cy="15" r="14"/></svg>',Xa='<svg width="18" height="10" viewBox="0 0 18 10"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9"/></svg>';const bi={spinner:Ga,totop:Xa,marker:Da,"close-icon":_a,"close-large":Aa,"drop-parent-icon":Oa,"nav-parent-icon":Ba,"nav-parent-icon-large":Ma,"navbar-parent-icon":Na,"navbar-toggle-icon":za,"overlay-icon":Fa,"pagination-next":Ha,"pagination-previous":La,"search-icon":Wa,"search-large":Ra,"search-navbar":ja,"slidenav-next":qa,"slidenav-next-large":Ua,"slidenav-previous":Va,"slidenav-previous-large":Ya},ps={install:ol,mixins:[zn],args:"icon",props:{icon:String},isIcon:!0,beforeConnect(){y(this.$el,"bdt-icon")},methods:{async getSvg(){const t=rl(this.icon);if(!t)throw"Icon not found.";return t}}},Yt={args:!1,extends:ps,data:t=>({icon:Kt(t.constructor.options.name)}),beforeConnect(){y(this.$el,this.$options.id)}},Ja={extends:Yt,beforeConnect(){const t=this.$props.icon;this.icon=U(this.$el,".bdt-nav-primary")?`${t}-large`:t}},Ka={extends:Yt,mixins:[wi],i18n:{toggle:"Open Search",submit:"Submit Search"},beforeConnect(){if(this.icon=P(this.$el,"bdt-search-icon")&&ne(this.$el,".bdt-search-large").length?"search-large":ne(this.$el,".bdt-search-navbar").length?"search-navbar":this.$props.icon,!gt(this.$el,"aria-label"))if(P(this.$el,"bdt-search-toggle")||P(this.$el,"bdt-navbar-toggle")){const t=this.t("toggle");p(this.$el,"aria-label",t)}else{const t=U(this.$el,"a,button");if(t){const e=this.t("submit");p(t,"aria-label",e)}}}},Za={extends:Yt,beforeConnect(){p(this.$el,"role","status")},methods:{async getSvg(){const t=await ps.methods.getSvg.call(this);return this.ratio!==1&&h(w("circle",t),"strokeWidth",1/this.ratio),t}}},Gt={extends:Yt,mixins:[wi],beforeConnect(){const t=U(this.$el,"a,button");p(t,"role",this.role!==null&&G(t,"a")?"button":this.role);const e=this.t("label");e&&!gt(t,"aria-label")&&p(t,"aria-label",e)}},Hn={extends:Gt,beforeConnect(){y(this.$el,"bdt-slidenav");const t=this.$props.icon;this.icon=P(this.$el,"bdt-slidenav-large")?`${t}-large`:t}},Qa={extends:Gt,i18n:{label:"Open menu"}},tl={extends:Gt,i18n:{label:"Close"},beforeConnect(){this.icon=`close-${P(this.$el,"bdt-close-large")?"large":"icon"}`}},el={extends:Gt,i18n:{label:"Open"}},il={extends:Gt,i18n:{label:"Back to top"}},sl={extends:Gt,i18n:{label:"Next page"},data:{role:null}},nl={extends:Gt,i18n:{label:"Previous page"},data:{role:null}},$i={};function ol(t){t.icon.add=(e,i)=>{const s=D(e)?{[e]:i}:e;It(s,(n,o)=>{bi[o]=n,delete $i[o]}),t._initialized&&Tt(document.body,n=>It(t.getComponents(n),o=>{o.$options.isIcon&&o.icon in s&&o.$reset()}))}}function rl(t){return bi[t]?($i[t]||($i[t]=w((bi[al(t)]||bi[t]).trim())),$i[t].cloneNode(!0)):null}function al(t){return X?Ni(Ni(t,"left","right"),"previous","next"):t}const ll=Lt&&"loading"in HTMLImageElement.prototype;var hl={args:"dataSrc",props:{dataSrc:String,sources:String,margin:String,target:String,loading:String},data:{dataSrc:"",sources:!1,margin:"50%",target:!1,loading:"lazy"},connected(){if(this.loading!=="lazy"){this.load();return}ll&&xi(this.$el)&&(this.$el.loading="lazy",gs(this.$el)),pl(this.$el)},disconnected(){this.img&&(this.img.onload=""),delete this.img},observe:Me({target:({$el:t,$props:e})=>[t,...Se(e.target,t)],handler(t,e){this.load(),e.disconnect()},options:({margin:t})=>({rootMargin:t}),filter:({loading:t})=>t==="lazy"}),methods:{load(){if(this.img)return this.img;const t=xi(this.$el)?this.$el:ul(this.$el,this.dataSrc,this.sources);return $e(t,"loading"),gs(this.$el,t.currentSrc),this.img=t}}};function gs(t,e){if(xi(t)){const i=O(t);(G(i,"picture")?T(i):[t]).forEach(n=>Ln(n,n))}else e&&!m(t.style.backgroundImage,e)&&(h(t,"backgroundImage",`url(${qi(e)})`),v(t,Mt("load",!1)))}const cl=["data-src","data-srcset","sizes"];function Ln(t,e){for(const i of cl){const s=tt(t,i);s&&p(e,i.replace(/^(data-)+/,""),s)}}function ul(t,e,i){const s=new Image;return fl(s,i),Ln(t,s),s.onload=()=>{gs(t,s.currentSrc)},p(s,"src",e),s}function fl(t,e){if(e=dl(e),e.length){const i=zt("<picture>");for(const s of e){const n=zt("<source>");p(n,s),W(i,n)}W(i,t)}}function dl(t){if(!t)return[];if(ot(t,"["))try{t=JSON.parse(t)}catch{t=[]}else t=De(t);return Q(t)||(t=[t]),t.filter(e=>!be(e))}function pl(t){xi(t)&&!gt(t,"src")&&p(t,"src",'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"></svg>')}function xi(t){return G(t,"img")}var yi={props:{media:Boolean},data:{media:!1},connected(){const t=gl(this.media,this.$el);if(this.matchMedia=!0,t){this.mediaObj=window.matchMedia(t);const e=()=>{this.matchMedia=this.mediaObj.matches,v(this.$el,Mt("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=x(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var t;(t=this.offMediaObj)==null||t.call(this)}};function gl(t,e){if(D(t)){if(ot(t,"@"))t=$(h(e,`--bdt-breakpoint-${t.substr(1)}`));else if(isNaN(t))return t}return t&&xt(t)?`(min-width: ${t}px)`:""}var ml={mixins:[st,yi],props:{fill:String},data:{fill:"",clsWrapper:"bdt-leader-fill",clsHide:"bdt-leader-hide",attrFill:"data-fill"},computed:{fill({fill:t}){return t||h(this.$el,"--bdt-leader-fill-content")}},connected(){[this.wrapper]=Ki(this.$el,`<span class="${this.clsWrapper}">`)},disconnected(){Te(this.wrapper.childNodes)},observe:pt(),update:{read(){return{width:Math.trunc(this.$el.offsetWidth/2),fill:this.fill,hide:!this.matchMedia}},write({width:t,fill:e,hide:i}){q(this.wrapper,this.clsHide,i),p(this.wrapper,this.attrFill,new Array(t).join(e))},events:["resize"]}};const nt=[];var ms={mixins:[st,ze,Vt],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean,role:String},data:{cls:"bdt-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1,role:"dialog"},computed:{panel({selPanel:t},e){return w(t,e)},transitionElement(){return this.panel},bgClose({bgClose:t}){return t&&this.panel}},connected(){p(this.panel||this.$el,"role",this.role),this.overlay&&p(this.panel||this.$el,"aria-modal",!0)},beforeDisconnect(){m(nt,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return`${this.selClose},a[href*="#"]`},handler(t){const{current:e,defaultPrevented:i}=t,{hash:s}=e;!i&&s&&re(e)&&!B(s,this.$el)&&w(s,document.body)?this.hide():C(e,this.selClose)&&(t.preventDefault(),this.hide())}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===m(nt,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(m(nt,this))return!1;!this.stack&&nt.length?(Promise.all(nt.map(e=>e.hide())).then(this.show),t.preventDefault()):nt.push(this)}},{name:"show",self:!0,handler(){this.stack&&h(this.$el,"zIndex",$(h(this.$el,"zIndex"))+nt.length);const t=[this.overlay&&wl(this),this.overlay&&Pn(this.$el),this.bgClose&&bl(this),this.escClose&&$l(this)];L(this.$el,"hidden",()=>t.forEach(e=>e&&e()),{self:!0}),y(document.documentElement,this.clsPage)}},{name:"shown",self:!0,handler(){Ze(this.$el)||p(this.$el,"tabindex","-1"),C(this.$el,":focus-within")||this.$el.focus()}},{name:"hidden",self:!0,handler(){m(nt,this)&&nt.splice(nt.indexOf(this),1),h(this.$el,"zIndex",""),nt.some(t=>t.clsPage===this.clsPage)||M(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&O(this.$el)!==this.container?(W(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,Wn)},hide(){return this.toggleElement(this.$el,!1,Wn)}}};function Wn(t,e,{transitionElement:i,_toggle:s}){return new Promise((n,o)=>L(t,"show hide",()=>{var r;(r=t._reject)==null||r.call(t),t._reject=o,s(t,e);const a=L(i,"transitionstart",()=>{L(i,"transitionend transitioncancel",n,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{a(),n()},vl(h(i,"transitionDuration")))})).then(()=>delete t._reject)}function vl(t){return t?Zt(t,"ms")?$(t):$(t)*1e3:0}function wl(t){return x(document,"focusin",e=>{se(nt)===t&&!B(e.target,t.$el)&&t.$el.focus()})}function bl(t){return x(document,vt,({target:e})=>{se(nt)!==t||t.overlay&&!B(e,t.$el)||B(e,t.panel)||L(document,`${_t} ${ai} scroll`,({defaultPrevented:i,type:s,target:n})=>{!i&&s===_t&&e===n&&t.hide()},!0)})}function $l(t){return x(document,"keydown",e=>{e.keyCode===27&&se(nt)===t&&t.hide()})}var xl={install:yl,mixins:[ms],data:{clsPage:"bdt-modal-page",selPanel:".bdt-modal-dialog",selClose:".bdt-modal-close, .bdt-modal-close-default, .bdt-modal-close-outside, .bdt-modal-close-full"},events:[{name:"show",self:!0,handler(){P(this.panel,"bdt-margin-auto-vertical")?y(this.$el,"bdt-flex"):h(this.$el,"display","block"),et(this.$el)}},{name:"hidden",self:!0,handler(){h(this.$el,"display",""),M(this.$el,"bdt-flex")}}]};function yl({modal:t}){t.dialog=function(i,s){const n=t(`<div class="bdt-modal"> <div class="bdt-modal-dialog">${i}</div> </div>`,s);return n.show(),x(n.$el,"hidden",async()=>{await Promise.resolve(),n.$destroy(!0)},{self:!0}),n},t.alert=function(i,s){return e(({i18n:n})=>`<div class="bdt-modal-body">${D(i)?i:Nt(i)}</div> <div class="bdt-modal-footer bdt-text-right"> <button class="bdt-button bdt-button-primary bdt-modal-close" autofocus>${n.ok}</button> </div>`,s)},t.confirm=function(i,s){return e(({i18n:n})=>`<form> <div class="bdt-modal-body">${D(i)?i:Nt(i)}</div> <div class="bdt-modal-footer bdt-text-right"> <button class="bdt-button bdt-button-default bdt-modal-close" type="button">${n.cancel}</button> <button class="bdt-button bdt-button-primary" autofocus>${n.ok}</button> </div> </form>`,s,()=>Promise.reject())},t.prompt=function(i,s,n){return e(({i18n:o})=>`<form class="bdt-form-stacked"> <div class="bdt-modal-body"> <label>${D(i)?i:Nt(i)}</label> <input class="bdt-input" value="${s||""}" autofocus> </div> <div class="bdt-modal-footer bdt-text-right"> <button class="bdt-button bdt-button-default bdt-modal-close" type="button">${o.cancel}</button> <button class="bdt-button bdt-button-primary">${o.ok}</button> </div> </form>`,n,()=>null,o=>w("input",o.$el).value)},t.i18n={ok:"Ok",cancel:"Cancel"};function e(i,s,n=k,o=k){s={bgClose:!1,escClose:!0,role:"alertdialog",...s,i18n:{...t.i18n,...s==null?void 0:s.i18n}};const r=t.dialog(i(s),s);return $t(new Promise(a=>{const l=x(r.$el,"hide",()=>a(n()));x(r.$el,"submit","form",c=>{c.preventDefault(),a(o(r)),l(),r.hide()})}),{dialog:r})}}var kl={extends:In,data:{targets:"> .bdt-parent",toggle:"> a",content:"> ul"}},Sl={extends:An,data:{clsDrop:"bdt-navbar-dropdown",selNavItem:".bdt-navbar-nav > li > a,a.bdt-navbar-item,button.bdt-navbar-item,.bdt-navbar-item a,.bdt-navbar-item button,.bdt-navbar-toggle"},watch:{items(){const t=P(this.$el,"bdt-navbar-justify");for(const e of z(".bdt-navbar-nav, .bdt-navbar-left, .bdt-navbar-right",this.$el))h(e,"flexGrow",t?z(".bdt-navbar-nav > li > a, .bdt-navbar-item, .bdt-navbar-toggle",e).length:"")}}},Il={mixins:[ms],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean,swiping:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"bdt-offcanvas-page",clsContainer:"bdt-offcanvas-container",selPanel:".bdt-offcanvas-bar",clsFlip:"bdt-offcanvas-flip",clsContainerAnimation:"bdt-offcanvas-container-animation",clsSidebarAnimation:"bdt-offcanvas-bar-animation",clsMode:"bdt-offcanvas",clsOverlay:"bdt-offcanvas-overlay",selClose:".bdt-offcanvas-close",container:!1,swiping:!0},computed:{clsFlip({flip:t,clsFlip:e}){return t?e:""},clsOverlay({overlay:t,clsOverlay:e}){return t?e:""},clsMode({mode:t,clsMode:e}){return`${e}-${t}`},clsSidebarAnimation({mode:t,clsSidebarAnimation:e}){return t==="none"||t==="reveal"?"":e},clsContainerAnimation({mode:t,clsContainerAnimation:e}){return t!=="push"&&t!=="reveal"?"":e},transitionElement({mode:t}){return t==="reveal"?O(this.panel):this.panel}},observe:Sn({filter:({swiping:t})=>t}),update:{read(){this.isToggled()&&!j(this.$el)&&this.hide()},events:["resize"]},events:[{name:"touchmove",self:!0,passive:!1,filter(){return this.overlay},handler(t){t.cancelable&&t.preventDefault()}},{name:"show",self:!0,handler(){this.mode==="reveal"&&!P(O(this.panel),this.clsMode)&&(si(this.panel,"<div>"),y(O(this.panel),this.clsMode));const{body:t,scrollingElement:e}=document;y(t,this.clsContainer,this.clsFlip),h(t,"touch-action","pan-y pinch-zoom"),h(this.$el,"display","block"),h(this.panel,"maxWidth",e.clientWidth),y(this.$el,this.clsOverlay),y(this.panel,this.clsSidebarAnimation,this.mode==="reveal"?"":this.clsMode),et(t),y(t,this.clsContainerAnimation),this.clsContainerAnimation&&Cl()}},{name:"hide",self:!0,handler(){M(document.body,this.clsContainerAnimation),h(document.body,"touch-action","")}},{name:"hidden",self:!0,handler(){this.clsContainerAnimation&&Tl(),this.mode==="reveal"&&Te(this.panel),M(this.panel,this.clsSidebarAnimation,this.clsMode),M(this.$el,this.clsOverlay),h(this.$el,"display",""),h(this.panel,"maxWidth",""),M(document.body,this.clsContainer,this.clsFlip)}},{name:"swipeLeft swipeRight",handler(t){this.isToggled()&&Zt(t.type,"Left")^this.flip&&this.hide()}}]};function Cl(){Rn().content+=",user-scalable=0"}function Tl(){const t=Rn();t.content=t.content.replace(/,user-scalable=0$/,"")}function Rn(){return w('meta[name="viewport"]',document.head)||W(document.head,'<meta name="viewport">')}var El={mixins:[st],props:{selContainer:String,selContent:String,minHeight:Number},data:{selContainer:".bdt-modal",selContent:".bdt-modal-dialog",minHeight:150},computed:{container({selContainer:t},e){return U(e,t)},content({selContent:t},e){return U(e,t)}},observe:pt({target:({container:t,content:e})=>[t,e]}),update:{read(){return!this.content||!this.container||!j(this.$el)?!1:{max:Math.max(this.minHeight,et(this.container)-(b(this.content).height-et(this.$el)))}},write({max:t}){h(this.$el,{minHeight:this.minHeight,maxHeight:t})},events:["resize"]}},Pl={props:["width","height"],connected(){y(this.$el,"bdt-responsive-width")},observe:pt({target:({$el:t})=>[t,O(t)]}),update:{read(){return j(this.$el)&&this.width&&this.height?{width:Ee(O(this.$el)),height:this.height}:!1},write(t){et(this.$el,Ke.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},_l={props:{offset:Number},data:{offset:0},connected(){Al(this)},disconnected(){Ol(this)},methods:{async scrollTo(t){t=t&&w(t)||document.body,v(this.$el,"beforescroll",[this,t])&&(await Zs(t,{offset:this.offset}),v(this.$el,"scrolled",[this,t]))}}};const Fe=new Set;function Al(t){Fe.size||x(document,"click",jn),Fe.add(t)}function Ol(t){Fe.delete(t),Fe.size||Bt(document,"click",jn)}function jn(t){if(!t.defaultPrevented)for(const e of Fe)B(t.target,e.$el)&&re(e.$el)&&(t.preventDefault(),window.location.href!==e.$el.href&&window.history.pushState({},"",e.$el.href),e.scrollTo(Ri(e.$el)))}var Dl={args:"cls",props:{cls:String,target:String,hidden:Boolean,margin:String,repeat:Boolean,delay:Number},data:()=>({cls:"",target:!1,hidden:!0,margin:"-1px",repeat:!1,delay:0,inViewClass:"bdt-scrollspy-inview"}),computed:{elements({target:t},e){return t?z(t,e):[e]}},watch:{elements(t){this.hidden&&h(ke(t,`:not(.${this.inViewClass})`),"opacity",0)}},connected(){this.elementData=new Map},disconnected(){for(const[t,e]of this.elementData.entries())M(t,this.inViewClass,(e==null?void 0:e.cls)||"");delete this.elementData},observe:Me({target:({elements:t})=>t,handler(t){const e=this.elementData;for(const{target:i,isIntersecting:s}of t){e.has(i)||e.set(i,{cls:tt(i,"bdt-scrollspy-class")||this.cls});const n=e.get(i);!this.repeat&&n.show||(n.show=s)}this.$emit()},options:t=>({rootMargin:t.margin}),args:{intersecting:!1}}),update:[{write(t){for(const[e,i]of this.elementData.entries())i.show&&!i.inview&&!i.queued?(i.queued=!0,t.promise=(t.promise||Promise.resolve()).then(()=>new Promise(s=>setTimeout(s,this.delay))).then(()=>{this.toggle(e,!0),setTimeout(()=>{i.queued=!1,this.$emit()},300)})):!i.show&&i.inview&&!i.queued&&this.repeat&&this.toggle(e,!1)}}],methods:{toggle(t,e){var i;const s=this.elementData.get(t);if(s){if((i=s.off)==null||i.call(s),h(t,"opacity",!e&&this.hidden?0:""),q(t,this.inViewClass,e),q(t,s.cls),/\bbdt-animation-/.test(s.cls)){const n=()=>Yi(t,"bdt-animation-[\\w-]+");e?s.off=L(t,"animationcancel animationend",n):n()}v(t,e?"inview":"outview"),s.inview=e,this.$update(t)}}}},Bl={props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"bdt-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links(t,e){return z('a[href*="#"]',e).filter(i=>i.hash&&re(i))},elements({closest:t}){return U(this.links,t||"*")}},watch:{links(t){this.scroll&&this.$create("scroll",t,{offset:this.offset||0})}},observe:[Me(),pi()],update:[{read(){const t=this.links.map(Ri).filter(Boolean),{length:e}=t;if(!e||!j(this.$el))return!1;const[i]=wt(t,!0),{scrollTop:s,scrollHeight:n}=i,o=ct(i),r=n-o.height;let a=!1;if(s===r)a=e-1;else{for(let l=0;l<t.length&&!(_(t[l]).top-o.top-this.offset>0);l++)a=+l;a===!1&&this.overflow&&(a=0)}return{active:a}},write({active:t}){const e=t!==!1&&!P(this.elements[t],this.cls);this.links.forEach(i=>i.blur());for(let i=0;i<this.elements.length;i++)q(this.elements[i],this.cls,+i===t);e&&v(this.$el,"active",[t,this.elements[t]])},events:["scroll","resize"]}]},Ml={mixins:[st,yi],props:{position:String,top:null,bottom:null,start:null,end:null,offset:String,overflowFlip:Boolean,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,showOnUp:Boolean,targetOffset:Number},data:{position:"top",top:!1,bottom:!1,start:!1,end:!1,offset:0,overflowFlip:!1,animation:"",clsActive:"bdt-active",clsInactive:"",clsFixed:"bdt-sticky-fixed",clsBelow:"bdt-sticky-below",selTarget:"",showOnUp:!1,targetOffset:!1},computed:{selTarget({selTarget:t},e){return t&&w(t,e)||e}},connected(){this.start=qn(this.start||this.top),this.end=qn(this.end||this.bottom),this.placeholder=w("+ .bdt-sticky-placeholder",this.$el)||w('<div class="bdt-sticky-placeholder"></div>'),this.isFixed=!1,this.setActive(!1)},disconnected(){this.isFixed&&(this.hide(),M(this.selTarget,this.clsInactive)),Un(this.$el),lt(this.placeholder),this.placeholder=null},observe:[pt({target:({$el:t})=>[t,document.documentElement]}),pi()],events:[{name:"resize",el(){return[window,window.visualViewport]},handler(){this.$emit("resize")}},{name:"load hashchange popstate",el(){return window},filter(){return this.targetOffset!==!1},handler(){const{scrollingElement:t}=document;!location.hash||t.scrollTop===0||setTimeout(()=>{const e=_(w(location.hash)),i=_(this.$el);this.isFixed&&Fi(e,i)&&(t.scrollTop=e.top-i.height-ht(this.targetOffset,"height",this.placeholder)-ht(this.offset,"height",this.placeholder))})}},{name:"transitionstart",capture:!0,handler(){this.transitionInProgress=L(this.$el,"transitionend transitioncancel",()=>this.transitionInProgress=null)}}],update:[{read({height:t,width:e,margin:i,sticky:s}){if(this.inactive=!this.matchMedia||!j(this.$el),this.inactive)return;const n=this.isFixed&&!this.transitionInProgress;n&&(Vn(this.selTarget),this.hide()),this.active||({height:t,width:e}=_(this.$el),i=h(this.$el,"margin")),n&&this.show();const o=ht("100vh","height"),r=et(window),a=document.scrollingElement.scrollHeight-o;let l=this.position;this.overflowFlip&&t>o&&(l=l==="top"?"bottom":"top");const c=this.isFixed?this.placeholder:this.$el;let u=ht(this.offset,"height",s?this.$el:c);l==="bottom"&&(t<r||this.overflowFlip)&&(u+=r-t);const f=this.overflowFlip?0:Math.max(0,t+u-o),d=_(c).top,g=_(this.$el).height,A=(this.start===!1?d:vs(this.start,this.$el,d))-u,N=this.end===!1?a:Math.min(a,vs(this.end,this.$el,d+t,!0)-g-u+f);return s=a&&!this.showOnUp&&A+u===d&&N===Math.min(a,vs("!*",this.$el,0,!0)-g-u+f)&&h(O(this.$el),"overflowY")==="visible",{start:A,end:N,offset:u,overflow:f,topOffset:d,height:t,elHeight:g,width:e,margin:i,top:Ht(c)[0],sticky:s}},write({height:t,width:e,margin:i,offset:s,sticky:n}){if((this.inactive||n||!this.isFixed)&&Un(this.$el),this.inactive)return;n&&(t=e=i=0,h(this.$el,{position:"sticky",top:s}));const{placeholder:o}=this;h(o,{height:t,width:e,margin:i}),B(o,document)||(o.hidden=!0),(n?ti:ei)(this.$el,o)},events:["resize"]},{read({scroll:t=0,dir:e="down",overflow:i,overflowScroll:s=0,start:n,end:o}){const r=document.scrollingElement.scrollTop;return{dir:t<=r?"down":"up",prevDir:e,scroll:r,prevScroll:t,offsetParentTop:_((this.isFixed?this.placeholder:this.$el).offsetParent).top,overflowScroll:Z(s+Z(r,n,o)-Z(t,n,o),0,i)}},write(t,e){const i=e.has("scroll"),{initTimestamp:s=0,dir:n,prevDir:o,scroll:r,prevScroll:a=0,top:l,start:c,topOffset:u,height:f}=t;if(r<0||r===a&&i||this.showOnUp&&!i&&!this.isFixed)return;const d=Date.now();if((d-s>300||n!==o)&&(t.initScroll=r,t.initTimestamp=d),!(this.showOnUp&&!this.isFixed&&Math.abs(t.initScroll-r)<=30&&Math.abs(a-r)<=10))if(this.inactive||r<c||this.showOnUp&&(r<=c||n==="down"&&i||n==="up"&&!this.isFixed&&r<=u+f)){if(!this.isFixed){mt.inProgress(this.$el)&&l>r&&(mt.cancel(this.$el),this.hide());return}this.animation&&r>u?(mt.cancel(this.$el),mt.out(this.$el,this.animation).then(()=>this.hide(),k)):this.hide()}else this.isFixed?this.update():this.animation&&r>u?(mt.cancel(this.$el),this.show(),mt.in(this.$el,this.animation).catch(k)):(Vn(this.selTarget),this.show())},events:["resize","resizeViewport","scroll"]}],methods:{show(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide(){const{offset:t,sticky:e}=this._data;this.setActive(!1),M(this.$el,this.clsFixed,this.clsBelow),e?h(this.$el,"top",t):h(this.$el,{position:"",top:"",width:"",marginTop:""}),this.placeholder.hidden=!0,this.isFixed=!1},update(){let{width:t,scroll:e=0,overflow:i,overflowScroll:s=0,start:n,end:o,offset:r,topOffset:a,height:l,elHeight:c,offsetParentTop:u,sticky:f}=this._data;const d=n!==0||e>n;if(!f){let g="fixed";e>o&&(r+=o-u,g="absolute"),h(this.$el,{position:g,width:t}),h(this.$el,"marginTop",0,"important")}i&&(r-=s),h(this.$el,"top",r),this.setActive(d),q(this.$el,this.clsBelow,e>a+(f?Math.min(l,c):l)),y(this.$el,this.clsFixed)},setActive(t){const e=this.active;this.active=t,t?(Gi(this.selTarget,this.clsInactive,this.clsActive),e!==t&&v(this.$el,"active")):(Gi(this.selTarget,this.clsActive,this.clsInactive),e!==t&&v(this.$el,"inactive"))}}};function vs(t,e,i,s){if(!t)return 0;if(xt(t)||D(t)&&t.match(/^-?\d/))return i+ht(t,"height",e,!0);{const n=t===!0?O(e):at(t,e);return _(n).bottom-(s&&n&&B(e,n)?$(h(n,"paddingBottom")):0)}}function qn(t){return t==="true"?!0:t==="false"?!1:t}function Un(t){h(t,{position:"",top:"",marginTop:"",width:""})}function Vn(t){h(t,"transition","0s"),requestAnimationFrame(()=>h(t,"transition",""))}function Yn(t){return Math.ceil(Math.max(0,...z("[stroke]",t).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}var Nl={mixins:[zn],args:"src",props:{src:String,icon:String,attributes:"list",strokeAnimation:Boolean},data:{strokeAnimation:!1},observe:[kn({async handler(){const t=await this.svg;t&&Gn.call(this,t)},options:{attributes:!0,attributeFilter:["id","class","style"]}})],async connected(){m(this.src,"#")&&([this.src,this.icon]=this.src.split("#"));const t=await this.svg;t&&(Gn.call(this,t),this.strokeAnimation&&Ll(t))},methods:{async getSvg(){return G(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"?new Promise(t=>L(this.$el,"load",()=>t(this.getSvg()))):Fl(await zl(this.src),this.icon)||Promise.reject("SVG not found.")}}};function Gn(t){const{$el:e}=this;y(t,p(e,"class"),"bdt-svg");for(let i=0;i<e.style.length;i++){const s=e.style[i];h(t,s,h(e,s))}for(const i in this.attributes){const[s,n]=this.attributes[i].split(":",2);p(t,s,n)}this.$el.id||$e(t,"id")}const zl=dt(async t=>t?ot(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());function Fl(t,e){return e&&m(t,"<symbol")&&(t=Hl(t)[e]||t),t=w(t.substr(t.indexOf("<svg"))),(t==null?void 0:t.hasChildNodes())&&t}const Xn=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,Hl=dt(function(t){const e={};Xn.lastIndex=0;let i;for(;i=Xn.exec(t);)e[i[3]]=`<svg ${i[1]}svg>`;return e});function Ll(t){const e=Yn(t);e&&h(t,"--bdt-animation-stroke",e)}const ws=".bdt-disabled *, .bdt-disabled, [disabled]";var Jn={mixins:[Vt],args:"connect",props:{connect:String,toggle:String,itemNav:String,active:Number,followFocus:Boolean,swiping:Boolean},data:{connect:"~.bdt-switcher",toggle:"> * > :first-child",itemNav:!1,active:0,cls:"bdt-active",attrItem:"bdt-switcher-item",selVertical:".bdt-nav",followFocus:!1,swiping:!0},computed:{connects({connect:t},e){return Se(t,e)},connectChildren(){return this.connects.map(t=>T(t)).flat()},toggles({toggle:t},e){return z(t,e)},children(){return T(this.$el).filter(t=>this.toggles.some(e=>B(e,t)))}},watch:{connects(t){this.swiping&&h(t,"touchAction","pan-y pinch-zoom"),this.$emit()},connectChildren(){let t=Math.max(0,this.index());for(const e of this.connects)T(e).forEach((i,s)=>q(i,this.cls,s===t));this.$emit()},toggles(t){this.$emit();const e=this.index();this.show(~e?e:t[this.active]||t[0])}},connected(){p(this.$el,"role","tablist")},observe:[Ne({targets:({connectChildren:t})=>t}),Sn({target:({connects:t})=>t,filter:({swiping:t})=>t})],events:[{name:"click keydown",delegate(){return this.toggle},handler(t){!C(t.current,ws)&&(t.type==="click"||t.keyCode===I.SPACE)&&(t.preventDefault(),this.show(t.current))}},{name:"keydown",delegate(){return this.toggle},handler(t){const{current:e,keyCode:i}=t,s=C(this.$el,this.selVertical);let n=i===I.HOME?0:i===I.END?"last":i===I.LEFT&&!s||i===I.UP&&s?"previous":i===I.RIGHT&&!s||i===I.DOWN&&s?"next":-1;if(~n){t.preventDefault();const o=this.toggles.filter(a=>!C(a,ws)),r=o[rt(n,o,o.indexOf(e))];r.focus(),this.followFocus&&this.show(r)}}},{name:"click",el(){return this.connects.concat(this.itemNav?Se(this.itemNav,this.$el):[])},delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){U(t.target,"a,button")&&(t.preventDefault(),this.show(tt(t.current,this.attrItem)))}},{name:"swipeRight swipeLeft",filter(){return this.swiping},el(){return this.connects},handler({type:t}){this.show(Zt(t,"Left")?"next":"previous")}}],update(){var t;p(this.connects,"role","presentation"),p(T(this.$el),"role","presentation");for(const e in this.toggles){const i=this.toggles[e],s=(t=this.connects[0])==null?void 0:t.children[e];p(i,"role","tab"),s&&(i.id=At(this,i,`-tab-${e}`),s.id=At(this,s,`-tabpanel-${e}`),p(i,"aria-controls",s.id),p(s,{role:"tabpanel","aria-labelledby":i.id}))}p(this.$el,"aria-orientation",C(this.$el,this.selVertical)?"vertical":null)},methods:{index(){return yt(this.children,t=>P(t,this.cls))},show(t){const e=this.toggles.filter(r=>!C(r,ws)),i=this.index(),s=rt(!Ve(t)||m(e,t)?t:0,e,rt(this.toggles[i],e)),n=rt(e[s],this.toggles);this.children.forEach((r,a)=>{q(r,this.cls,n===a),p(this.toggles[a],{"aria-selected":n===a,tabindex:n===a?null:-1})});const o=i>=0&&i!==s;this.connects.forEach(async({children:r})=>{const a=Qt(r).filter((l,c)=>c!==n&&P(l,this.cls));await this.toggleElement(a,!1,o),await this.toggleElement(r[n],!0,o)})}}},Wl={mixins:[st],extends:Jn,props:{media:Boolean},data:{media:960,attrItem:"bdt-tab-item",selVertical:".bdt-tab-left,.bdt-tab-right"},connected(){const t=P(this.$el,"bdt-tab-left")?"bdt-tab-left":P(this.$el,"bdt-tab-right")?"bdt-tab-right":!1;t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}};const Rl=32;var jl={mixins:[yi,Vt],args:"target",props:{href:String,target:null,mode:"list",queued:Boolean},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target({target:t},e){return t=Se(t||e.hash,e),t.length&&t||[e]}},connected(){m(this.mode,"media")||(Ze(this.$el)||p(this.$el,"tabindex","0"),!this.cls&&G(this.$el,"a")&&p(this.$el,"role","button"))},observe:Ne({target:({target:t})=>t}),events:[{name:vt,filter(){return m(this.mode,"hover")},handler(t){this._preventClick=null,!(!Ct(t)||this._showState||this.$el.disabled)&&(v(this.$el,"focus"),L(document,vt,()=>v(this.$el,"blur"),!0,e=>!B(e.target,this.$el)),m(this.mode,"click")&&(this._preventClick=!0))}},{name:`${Rt} ${ue} focus blur`,filter(){return m(this.mode,"hover")},handler(t){if(Ct(t)||this.$el.disabled)return;const e=m([Rt,"focus"],t.type),i=this.isToggled(this.target);if(!(!e&&(t.type===ue&&C(this.$el,":focus")||t.type==="blur"&&C(this.$el,":hover")))){if(this._showState&&e&&i!==this._showState){e||(this._showState=null);return}this._showState=e?i:null,this.toggle(`toggle${e?"show":"hide"}`)}}},{name:"keydown",filter(){return m(this.mode,"click")&&!G(this.$el,"input")},handler(t){t.keyCode===Rl&&(t.preventDefault(),this.$el.click())}},{name:"click",filter(){return["click","hover"].some(t=>m(this.mode,t))},handler(t){let e;(this._preventClick||U(t.target,'a[href="#"], a[href=""]')||(e=U(t.target,"a[href]"))&&(!this.isToggled(this.target)||e.hash&&C(this.target,e.hash)))&&t.preventDefault(),!this._preventClick&&m(this.mode,"click")&&this.toggle()}},{name:"mediachange",filter(){return m(this.mode,"media")},el(){return this.target},handler(t,e){e.matches^this.isToggled(this.target)&&this.toggle()}}],methods:{async toggle(t){if(!v(this.target,t||"toggle",[this]))return;if(gt(this.$el,"aria-expanded")&&p(this.$el,"aria-expanded",!this.isToggled(this.target)),!this.queued)return this.toggleElement(this.target);const e=this.target.filter(s=>P(s,this.clsLeave));if(e.length){for(const s of this.target){const n=m(e,s);this.toggleElement(s,n,n)}return}const i=this.target.filter(this.isToggled);await this.toggleElement(i,!1)&&await this.toggleElement(this.target.filter(s=>!m(i,s)),!0)}}},ql=Object.freeze({__proto__:null,Accordion:In,Alert:la,Close:tl,Cover:ca,Drop:_n,DropParentIcon:Yt,Dropdown:_n,Dropnav:An,FormCustom:ba,Grid:xa,HeightMatch:Sa,HeightViewport:Ta,Icon:ps,Img:hl,Leader:ml,Margin:Bn,Marker:el,Modal:xl,Nav:kl,NavParentIcon:Ja,Navbar:Sl,NavbarParentIcon:Yt,NavbarToggleIcon:Qa,Offcanvas:Il,OverflowAuto:El,OverlayIcon:Yt,PaginationNext:sl,PaginationPrevious:nl,Responsive:Pl,Scroll:_l,Scrollspy:Dl,ScrollspyNav:Bl,SearchIcon:Ka,SlidenavNext:Hn,SlidenavPrevious:Hn,Spinner:Za,Sticky:Ml,Svg:Nl,Switcher:Jn,Tab:Wl,Toggle:jl,Totop:il,Video:Cn});It(ql,(t,e)=>ft.component(e,t)),Zr(ft);const Ul=["days","hours","minutes","seconds"];var Vl={mixins:[st],props:{date:String,clsWrapper:String,role:String},data:{date:"",clsWrapper:".bdt-countdown-%unit%",role:"timer"},connected(){p(this.$el,"role",this.role),this.date=$(Date.parse(this.$props.date)),this.end=!1,this.start()},disconnected(){this.stop()},events:{name:"visibilitychange",el(){return document},handler(){document.hidden?this.stop():this.start()}},methods:{start(){this.stop(),this.update(),this.timer||(v(this.$el,"countdownstart"),this.timer=setInterval(this.update,1e3))},stop(){this.timer&&(clearInterval(this.timer),v(this.$el,"countdownstop"),this.timer=null)},update(){const t=Yl(this.date);t.total||(this.stop(),this.end||(v(this.$el,"countdownend"),this.end=!0));for(const e of Ul){const i=w(this.clsWrapper.replace("%unit%",e),this.$el);if(!i)continue;let s=String(Math.trunc(t[e]));s=s.length<2?`0${s}`:s,i.textContent!==s&&(s=s.split(""),s.length!==i.children.length&&Nt(i,s.map(()=>"<span></span>").join("")),s.forEach((n,o)=>i.children[o].textContent=n))}}}};function Yl(t){const e=Math.max(0,t-Date.now())/1e3;return{total:e,seconds:e%60,minutes:e/60%60,hours:e/60/60%24,days:e/60/60/24}}const bs="bdt-transition-leave",$s="bdt-transition-enter";function Kn(t,e,i,s=0){const n=ki(e,!0),o={opacity:1},r={opacity:0},a=u=>()=>n===ki(e)?u():Promise.reject(),l=a(async()=>{y(e,bs),await Promise.all(Qn(e).map((u,f)=>new Promise(d=>setTimeout(()=>E.start(u,r,i/2,"ease").then(d),f*s)))),M(e,bs)}),c=a(async()=>{const u=et(e);y(e,$s),t(),h(T(e),{opacity:0}),await Gl();const f=T(e),d=et(e);h(e,"alignContent","flex-start"),et(e,u);const g=Qn(e);h(f,r);const A=g.map(async(N,F)=>{await Xl(F*s),await E.start(N,o,i/2,"ease")});u!==d&&A.push(E.start(e,{height:d},i/2+g.length*s,"ease")),await Promise.all(A).then(()=>{M(e,$s),n===ki(e)&&(h(e,{height:"",alignContent:""}),h(f,{opacity:""}),delete e.dataset.transition)})});return P(e,bs)?Zn(e).then(c):P(e,$s)?Zn(e).then(l).then(c):l().then(c)}function ki(t,e){return e&&(t.dataset.transition=1+ki(t)),St(t.dataset.transition)||0}function Zn(t){return Promise.all(T(t).filter(E.inProgress).map(e=>new Promise(i=>L(e,"transitionend transitioncanceled",i))))}function Qn(t){return ds(T(t)).reduce((e,i)=>e.concat(Xe(i.filter(s=>ss(s)),"offsetLeft")),[])}function Gl(){return new Promise(t=>requestAnimationFrame(t))}function Xl(t){return new Promise(e=>setTimeout(e,t))}async function Jl(t,e,i){await io();let s=T(e);const n=s.map(d=>to(d,!0)),o={...h(e,["height","padding"]),display:"block"};await Promise.all(s.concat(e).map(E.cancel)),t(),s=s.concat(T(e).filter(d=>!m(s,d))),await Promise.resolve(),J.flush();const r=p(e,"style"),a=h(e,["height","padding"]),[l,c]=Kl(e,s,n),u=s.map(d=>({style:p(d,"style")}));s.forEach((d,g)=>c[g]&&h(d,c[g])),h(e,o),v(e,"scroll"),J.flush(),await io();const f=s.map((d,g)=>O(d)===e&&E.start(d,l[g],i,"ease")).concat(E.start(e,a,i,"ease"));try{await Promise.all(f),s.forEach((d,g)=>{p(d,u[g]),O(d)===e&&h(d,"display",l[g].opacity===0?"none":"")}),p(e,"style",r)}catch{p(s,"style",""),Zl(e,o)}}function to(t,e){const i=h(t,"zIndex");return j(t)?{display:"",opacity:e?h(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:i==="auto"?oe(t):i,...eo(t)}:!1}function Kl(t,e,i){const s=e.map((o,r)=>O(o)&&r in i?i[r]?j(o)?eo(o):{opacity:0}:{opacity:j(o)?1:0}:!1),n=s.map((o,r)=>{const a=O(e[r])===t&&(i[r]||to(e[r]));if(!a)return!1;if(!o)delete a.opacity;else if(!("opacity"in o)){const{opacity:l}=a;l%1?o.opacity=1:delete a.opacity}return a});return[s,n]}function Zl(t,e){for(const i in e)h(t,i,"")}function eo(t){const{height:e,width:i}=_(t);return{height:e,width:i,transform:"",...ni(t),...h(t,["marginTop","marginLeft"])}}function io(){return new Promise(t=>requestAnimationFrame(t))}var so={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(t,e=this.$el){const i=this.animation;return(i==="fade"?Kn:i==="delayed-fade"?(...n)=>Kn(...n,40):i?Jl:()=>(t(),Promise.resolve()))(t,e,this.duration).catch(k)}}},Ql={mixins:[so],args:"target",props:{target:String,selActive:Boolean},data:{target:"",selActive:!1,attrItem:"bdt-filter-control",cls:"bdt-active",duration:250},computed:{toggles({attrItem:t},e){return z(`[${t}],[data-${t}]`,e)},children({target:t},e){return z(`${t} > *`,e)}},watch:{toggles(t){this.updateState();const e=z(this.selActive,this.$el);for(const i of t){this.selActive!==!1&&q(i,this.cls,m(e,i));const s=oh(i);G(s,"a")&&p(s,"role","button")}},children(t,e){e&&this.updateState()}},events:{name:"click keydown",delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){t.type==="keydown"&&t.keyCode!==I.SPACE||U(t.target,"a,button")&&(t.preventDefault(),this.apply(t.current))}},methods:{apply(t){const e=this.getState(),i=oo(t,this.attrItem,this.getState());th(e,i)||this.setState(i)},getState(){return this.toggles.filter(t=>P(t,this.cls)).reduce((t,e)=>oo(e,this.attrItem,t),{filter:{"":""},sort:[]})},async setState(t,e=!0){t={filter:{"":""},sort:[],...t},v(this.$el,"beforeFilter",[this,t]);for(const i of this.toggles)q(i,this.cls,ih(i,this.attrItem,t));await Promise.all(z(this.target,this.$el).map(i=>{const s=()=>{eh(t,i,T(i)),this.$update(this.$el)};return e?this.animate(s,i):s()})),v(this.$el,"afterFilter",[this])},updateState(){J.write(()=>this.setState(this.getState(),!1))}}};function no(t,e){return De(tt(t,e),["filter"])}function th(t,e){return["filter","sort"].every(i=>Ge(t[i],e[i]))}function eh(t,e,i){const s=sh(t);i.forEach(r=>h(r,"display",s&&!C(r,s)?"none":""));const[n,o]=t.sort;if(n){const r=nh(i,n,o);Ge(r,i)||W(e,r)}}function oo(t,e,i){const{filter:s,group:n,sort:o,order:r="asc"}=no(t,e);return(s||Y(o))&&(n?s?(delete i.filter[""],i.filter[n]=s):(delete i.filter[n],(be(i.filter)||""in i.filter)&&(i.filter={"":s||""})):i.filter={"":s||""}),Y(o)||(i.sort=[o,r]),i}function ih(t,e,{filter:i={"":""},sort:[s,n]}){const{filter:o="",group:r="",sort:a,order:l="asc"}=no(t,e);return Y(a)?r in i&&o===i[r]||!o&&r&&!(r in i)&&!i[""]:s===a&&n===l}function sh({filter:t}){let e="";return It(t,i=>e+=i||""),e}function nh(t,e,i){return[...t].sort((s,n)=>tt(s,e).localeCompare(tt(n,e),void 0,{numeric:!0})*(i==="asc"||-1))}function oh(t){return w("a,button",t)||t}var xs={slide:{show(t){return[{transform:R(t*-100)},{transform:R()}]},percent(t){return He(t)},translate(t,e){return[{transform:R(e*-100*t)},{transform:R(e*100*(1-t))}]}}};function He(t){return Math.abs(h(t,"transform").split(",")[4]/t.offsetWidth)||0}function R(t=0,e="%"){return t+=t?e:"",`translate3d(${t}, 0, 0)`}function pe(t){return`scale3d(${t}, ${t}, 1)`}var ro={...xs,fade:{show(){return[{opacity:0},{opacity:1}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t},{opacity:t}]}},scale:{show(){return[{opacity:0,transform:pe(1-.2)},{opacity:1,transform:pe(1)}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t,transform:pe(1-.2*t)},{opacity:t,transform:pe(1-.2+.2*t)}]}}};function rh(t,e,i,{animation:s,easing:n}){const{percent:o,translate:r,show:a=k}=s,l=a(i);let c;return{dir:i,show(u,f=0,d){const g=d?"linear":n;return u-=Math.round(u*Z(f,-1,1)),this.translate(f),Si(e,"itemin",{percent:f,duration:u,timing:g,dir:i}),Si(t,"itemout",{percent:1-f,duration:u,timing:g,dir:i}),new Promise(A=>{c||(c=A),Promise.all([E.start(e,l[1],u,g),E.start(t,l[0],u,g)]).then(()=>{this.reset(),c()},k)})},cancel(){return E.cancel([e,t])},reset(){for(const u in l[0])h([e,t],u,"")},async forward(u,f=this.percent()){return await this.cancel(),this.show(u,f,!0)},translate(u){this.reset();const f=r(u,i);h(e,f[1]),h(t,f[0]),Si(e,"itemtranslatein",{percent:u,dir:i}),Si(t,"itemtranslateout",{percent:1-u,dir:i})},percent(){return o(t||e,e,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function Si(t,e,i){v(t,Mt(e,!1,!1,i))}var ah={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav({selNav:t},e){return w(t,e)},navChildren(){return T(this.nav)},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems(t,e){return z(this.selNavItem,e)}},watch:{nav(t,e){p(t,"role","tablist"),e&&this.$emit()},list(t){p(t,"role","presentation")},navChildren(t){p(t,"role","presentation")},navItems(t){for(const e of t){const i=tt(e,this.attrItem),s=w("a,button",e)||e;let n,o=null;if(xt(i)){const r=St(i),a=this.slides[r];a&&(a.id||(a.id=At(this,a,`-item-${i}`)),o=a.id),n=this.t("slideX",$(i)+1),p(s,"role","tab")}else this.list&&(this.list.id||(this.list.id=At(this,this.list,"-items")),o=this.list.id),n=this.t(i);p(s,{"aria-controls":o,"aria-label":p(s,"aria-label")||n})}},slides(t){t.forEach((e,i)=>p(e,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",i+1,this.length),"aria-roledescription":this.nav?null:"slide"}))},length(t){const e=this.navChildren.length;if(this.nav&&t!==e){Ji(this.nav);for(let i=0;i<t;i++)W(this.nav,`<li ${this.attrItem}="${i}"><a href></a></li>`)}}},connected(){p(this.$el,{role:this.role,ariaRoleDescription:"carousel"})},update:[{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate(){return this.selNavItem},handler(t){U(t.target,"a,button")&&(t.type==="click"||t.keyCode===I.SPACE)&&(t.preventDefault(),this.show(tt(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:e,keyCode:i}=t,s=tt(e,this.attrItem);if(!xt(s))return;let n=i===I.HOME?0:i===I.END?"last":i===I.LEFT?"previous":i===I.RIGHT?"next":-1;~n&&(t.preventDefault(),this.show(n))}}],methods:{updateNav(){const t=this.getValidIndex();let e,i;for(const s of this.navItems){const n=tt(s,this.attrItem),o=w("a,button",s)||s;if(xt(n)){const a=St(n)===t;q(s,this.clsActive,a),p(o,{"aria-selected":a,tabindex:a?null:-1}),a&&(i=o),e||(e=C(o,":focus"))}else q(s,"bdt-invisible",this.finite&&(n==="previous"&&t===0||n==="next"&&t>=this.maxIndex));e&&i&&i.focus()}}}};const ys={passive:!1,capture:!0},ao={passive:!0,capture:!0},lh="touchstart mousedown",ks="touchmove mousemove",lo="touchend touchcancel mouseup click input scroll";var hh={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=i=>{const s=ae(i).x*(X?-1:1);this.prevPos=s===this.pos?this.prevPos:this.pos,this.pos=s,e(i)}}},events:[{name:lh,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!Ct(t)&&ch(t.target)||U(t.target,xe)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:ks,el(){return this.list},handler:k,...ys}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,x(document,ks,this.move,ys),x(document,lo,this.end,ao),h(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(e===0||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;h(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;let{slides:i,prevIndex:s}=this,n=Math.abs(e),o=this.getIndex(s+this.dir),r=this._getDistance(s,o);for(;o!==s&&n>r;)this.drag-=r*this.dir,s=o,n-=r,o=this.getIndex(s+this.dir),r=this._getDistance(s,o);this.percent=n/r;const a=i[s],l=i[o],c=this.index!==o,u=s===o;let f;for(const d of[this.index,this.prevIndex])m([o,s],d)||(v(i[d],"itemhidden",[this]),u&&(f=!0,this.prevIndex=s));(this.index===s&&this.prevIndex!==s||f)&&v(i[this.index],"itemshown",[this]),c&&(this.prevIndex=s,this.index=o,!u&&v(a,"beforeitemhide",[this]),v(l,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!u&&l),c&&(!u&&v(a,"itemhide",[this]),v(l,"itemshow",[this]))},end(){if(Bt(document,ks,this.move,ys),Bt(document,lo,this.end,ao),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(X?this.dir*(X?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}h(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()||this.slides[t].offsetWidth}}};function ch(t){return h(t,"userSelect")!=="none"&&Qt(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}var uh={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){p(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){p(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||this.draggable&&C(this.$el,":focus-within")||this.pauseOnHover&&C(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}},ho={mixins:[uh,hh,ah,wi],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"bdt-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){M(this.slides,this.clsActive)},computed:{duration({velocity:t},e){return co(e.offsetWidth/t)},list({selList:t},e){return w(t,e)},maxIndex(){return this.length-1},slides(){return T(this.list)},length(){return this.slides.length}},watch:{slides(t,e){e&&this.$emit()}},observe:pt(),methods:{show(t,e=!1){var i;if(this.dragging||!this.length)return;const{stack:s}=this,n=e?0:s.length,o=()=>{s.splice(n,1),s.length&&this.show(s.shift(),!0)};if(s[e?"unshift":"push"](t),!e&&s.length>1){s.length===2&&((i=this._transitioner)==null||i.forward(Math.min(this.duration,200)));return}const r=this.getIndex(this.index),a=P(this.slides,this.clsActive)&&this.slides[r],l=this.getIndex(t,this.index),c=this.slides[l];if(a===c){o();return}if(this.dir=fh(t,r),this.prevIndex=r,this.index=l,a&&!v(a,"beforeitemhide",[this])||!v(c,"beforeitemshow",[this,a])){this.index=this.prevIndex,o();return}const u=this._show(a,c,e).then(()=>{a&&v(a,"itemhidden",[this]),v(c,"itemshown",[this]),s.shift(),this._transitioner=null,requestAnimationFrame(()=>s.length&&this.show(s.shift(),!0))});return a&&v(a,"itemhide",[this]),v(c,"itemshow",[this]),u},getIndex(t=this.index,e=this.index){return Z(rt(t,this.slides,e,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,e=this.prevIndex){return this.getIndex(t,e)},_show(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:i?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!i&&!t)return this._translate(1),Promise.resolve();const{length:s}=this.stack;return this._transitioner[s>1?"forward":"show"](s>1?Math.min(this.duration,75+75/(s-1)):this.duration,this.percent)},_translate(t,e=this.prevIndex,i=this.index){const s=this._getTransitioner(e===i?!1:e,i);return s.translate(t),s},_getTransitioner(t=this.prevIndex,e=this.index,i=this.dir||1,s=this.transitionOptions){return new this.Transitioner(this.slides[t]||t,this.slides[e]||e,i*(X?-1:1),s)}}};function fh(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function co(t){return .5*t+300}var uo={mixins:[ho],props:{animation:String},data:{animation:"slide",clsActivated:"bdt-transition-active",Animations:xs,Transitioner:rh},computed:{animation({animation:t,Animations:e}){return{...e[t]||e.slide,name:t}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow({target:t}){y(t,this.clsActive)},itemshown({target:t}){y(t,this.clsActivated)},itemhidden({target:t}){M(t,this.clsActive,this.clsActivated)}}},fo={mixins:[ms,uo],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:()=>({preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"bdt-open",clsPage:"bdt-lightbox-page",selList:".bdt-lightbox-items",attrItem:"bdt-lightbox-item",selClose:".bdt-close-large",selCaption:".bdt-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:ro,template:'<div class="bdt-lightbox bdt-overflow-hidden"> <ul class="bdt-lightbox-items"></ul> <div class="bdt-lightbox-toolbar bdt-position-top bdt-text-right bdt-transition-slide-top bdt-transition-opaque"> <button class="bdt-lightbox-toolbar-icon bdt-close-large" type="button" bdt-close></button> </div> <a class="bdt-lightbox-button bdt-position-center-left bdt-position-medium bdt-transition-fade" href bdt-slidenav-previous bdt-lightbox-item="previous"></a> <a class="bdt-lightbox-button bdt-position-center-right bdt-position-medium bdt-transition-fade" href bdt-slidenav-next bdt-lightbox-item="next"></a> <div class="bdt-lightbox-toolbar bdt-lightbox-caption bdt-position-bottom bdt-text-center bdt-transition-slide-bottom bdt-transition-opaque"></div> </div>'}),created(){const t=w(this.template),e=w(this.selList,t);this.items.forEach(()=>W(e,"<li>"));const i=w("[bdt-close]",t),s=this.t("close");i&&s&&(i.dataset.i18n=JSON.stringify({label:s})),this.$mount(W(this.container,t))},computed:{caption({selCaption:t},e){return w(t,e)}},events:[{name:`${ri} ${vt} keydown`,handler:"showControls"},{name:"click",self:!0,delegate(){return`${this.selList} > *`},handler(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler(){this.showControls()}},{name:"hide",self:!0,handler(){this.hideControls(),M(this.slides,this.clsActive),E.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el(){return document},handler({keyCode:t}){if(!this.isToggled(this.$el)||!this.draggable)return;let e=-1;t===I.LEFT?e="previous":t===I.RIGHT?e="next":t===I.HOME?e=0:t===I.END&&(e="last"),~e&&this.show(e)}},{name:"beforeitemshow",handler(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=ro.scale,M(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler(){Nt(this.caption,this.getItem().caption||"");for(let t=-this.preload;t<=this.preload;t++)this.loadItem(this.index+t)}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(t,e){const{source:i,type:s,alt:n="",poster:o,attrs:r={}}=e;if(this.setItem(e,"<span bdt-spinner></span>"),!i)return;let a;const l={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","bdt-responsive":"","bdt-video":`${this.videoAutoplay}`};if(s==="image"||i.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i)){const c=Le("img",{src:i,alt:n,...r});x(c,"load",()=>this.setItem(e,c)),x(c,"error",()=>this.setError(e))}else if(s==="video"||i.match(/\.(mp4|webm|ogv)($|\?)/i)){const c=Le("video",{src:i,poster:o,controls:"",playsinline:"","bdt-video":`${this.videoAutoplay}`,...r});x(c,"loadedmetadata",()=>this.setItem(e,c)),x(c,"error",()=>this.setError(e))}else if(s==="iframe"||i.match(/\.(html|php)($|\?)/i))this.setItem(e,Le("iframe",{src:i,allowfullscreen:"",class:"bdt-lightbox-iframe",...r}));else if(a=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?(?:[?&]v=|\/shorts\/)|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(e,Le("iframe",{src:`https://www.youtube${a[1]||""}.com/embed/${a[2]}${a[3]?`?${a[3]}`:""}`,width:1920,height:1080,...l,...r}));else if(a=i.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:c,width:u}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(i)}`,{credentials:"omit"})).json();this.setItem(e,Le("iframe",{src:`https://player.vimeo.com/video/${a[1]}${a[2]?`?${a[2]}`:""}`,width:u,height:c,...l,...r}))}catch{this.setError(e)}}}],methods:{loadItem(t=this.index){const e=this.getItem(t);this.getSlide(e).childElementCount||v(this.$el,"itemload",[e])},getItem(t=this.index){return this.items[rt(t,this.slides)]},setItem(t,e){v(this.$el,"itemloaded",[this,Nt(this.getSlide(t),e)])},getSlide(t){return this.slides[this.items.indexOf(t)]},setError(t){this.setItem(t,'<span bdt-icon="icon: bolt; ratio: 2"></span>')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),y(this.$el,"bdt-active","bdt-transition-active")},hideControls(){M(this.$el,"bdt-active","bdt-transition-active")}}};function Le(t,e){const i=zt(`<${t}>`);return p(i,e),i}var dh={install:ph,props:{toggle:String},data:{toggle:"a"},computed:{toggles({toggle:t},e){return z(t,e)}},watch:{toggles(t){this.hide();for(const e of t)G(e,"a")&&p(e,"role","button")}},disconnected(){this.hide()},events:{name:"click",delegate(){return`${this.toggle}:not(.bdt-disabled)`},handler(t){t.preventDefault(),this.show(t.current)}},methods:{show(t){const e=Ps(this.toggles.map(po),"source");if(ee(t)){const{source:i}=po(t);t=yt(e,({source:s})=>i===s)}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:e}),x(this.panel.$el,"hidden",()=>this.panel=null),this.panel.show(t)},hide(){var t;return(t=this.panel)==null?void 0:t.hide()}}};function ph(t,e){t.lightboxPanel||t.component("lightboxPanel",fo),$t(e.props,t.component("lightboxPanel").options.props)}function po(t){const e={};for(const i of["href","caption","type","poster","alt","attrs"])e[i==="href"?"source":i]=tt(t,i);return e.attrs=De(e.attrs),e}var gh={mixins:[ze],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsContainer:"bdt-notification",clsClose:"bdt-notification-close",clsMsg:"bdt-notification-message"},install:mh,computed:{marginProp({pos:t}){return`margin${ot(t,"top")?"Top":"Bottom"}`},startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const t=w(`.${this.clsContainer}-${this.pos}`,this.container)||W(this.container,`<div class="${this.clsContainer} ${this.clsContainer}-${this.pos}" style="display: block"></div>`);this.$mount(W(t,`<div class="${this.clsMsg}${this.status?` ${this.clsMsg}-${this.status}`:""}" role="alert"> <a href class="${this.clsClose}" data-bdt-close></a> <div>${this.message}</div> </div>`))},async connected(){const t=$(h(this.$el,this.marginProp));await E.start(h(this.$el,this.startProps),{opacity:1,[this.marginProp]:t}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(t){U(t.target,'a[href="#"],a[href=""]')&&t.preventDefault(),this.close()},[Rt](){this.timer&&clearTimeout(this.timer)},[ue](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(t){const e=i=>{const s=O(i);v(i,"close",[this]),lt(i),s!=null&&s.hasChildNodes()||lt(s)};this.timer&&clearTimeout(this.timer),t||await E.start(this.$el,this.startProps),e(this.$el)}}};function mh(t){t.notification.closeAll=function(e,i){Tt(document.body,s=>{const n=t.getComponent(s,"notification");n&&(!e||e===n.group)&&n.close(i)})}}const Ii={x:Ci,y:Ci,rotate:Ci,scale:Ci,color:Ss,backgroundColor:Ss,borderColor:Ss,blur:Xt,hue:Xt,fopacity:Xt,grayscale:Xt,invert:Xt,saturate:Xt,sepia:Xt,opacity:wh,stroke:bh,bgx:vo,bgy:vo},{keys:go}=Object;var mo={mixins:[yi],props:xo(go(Ii),"list"),data:xo(go(Ii),void 0),computed:{props(t,e){const i={};for(const n in t)n in Ii&&!Y(t[n])&&(i[n]=t[n].slice());const s={};for(const n in i)s[n]=Ii[n](n,e,i[n],i);return s}},events:{load(){this.$emit()}},methods:{reset(){for(const t in this.getCss(0))h(this.$el,t,"")},getCss(t){const e={transform:"",filter:""};for(const i in this.props)this.props[i](e,Z(t));return e.willChange=Object.keys(e).filter(i=>e[i]!=="").map(Qe).join(","),e}}};function Ci(t,e,i){let s=Ei(i)||{x:"px",y:"px",rotate:"deg"}[t]||"",n;return t==="x"||t==="y"?(t=`translate${Et(t)}`,n=o=>$($(o).toFixed(s==="px"?0:6))):t==="scale"&&(s="",n=o=>Ei([o])?ht(o,"width",e,!0)/e.offsetWidth:o),i.length===1&&i.unshift(t==="scale"?1:0),i=ge(i,n),(o,r)=>{o.transform+=` ${t}(${We(i,r)}${s})`}}function Ss(t,e,i){return i.length===1&&i.unshift(Re(e,t,"")),i=ge(i,s=>vh(e,s)),(s,n)=>{const[o,r,a]=$o(i,n),l=o.map((c,u)=>(c+=a*(r[u]-c),u===3?$(c):parseInt(c,10))).join(",");s[t]=`rgba(${l})`}}function vh(t,e){return Re(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map($)}function Xt(t,e,i){i.length===1&&i.unshift(0);const s=Ei(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=ge(i),(n,o)=>{const r=We(i,o);n.filter+=` ${t}(${r+s})`}}function wh(t,e,i){return i.length===1&&i.unshift(Re(e,t,"")),i=ge(i),(s,n)=>{s[t]=We(i,n)}}function bh(t,e,i){i.length===1&&i.unshift(0);const s=Ei(i),n=Yn(e);return i=ge(i.reverse(),o=>(o=$(o),s==="%"?o*n/100:o)),i.some(([o])=>o)?(h(e,"strokeDasharray",n),(o,r)=>{o.strokeDashoffset=We(i,r)}):k}function vo(t,e,i,s){i.length===1&&i.unshift(0);const n=t==="bgy"?"height":"width";s[t]=ge(i,a=>ht(a,n,e));const o=["bgx","bgy"].filter(a=>a in s);if(o.length===2&&t==="bgx")return k;if(Re(e,"backgroundSize","")==="cover")return $h(t,e,i,s);const r={};for(const a of o)r[a]=wo(e,a);return bo(o,r,s)}function $h(t,e,i,s){const n=xh(e);if(!n.width)return k;const o={width:e.offsetWidth,height:e.offsetHeight},r=["bgx","bgy"].filter(u=>u in s),a={};for(const u of r){const f=s[u].map(([F])=>F),d=Math.min(...f),g=Math.max(...f),A=f.indexOf(d)<f.indexOf(g),N=g-d;a[u]=`${(A?-N:0)-(A?d:g)}px`,o[u==="bgy"?"height":"width"]+=N}const l=Ke.cover(n,o);for(const u of r){const f=u==="bgy"?"height":"width",d=l[f]-o[f];a[u]=`max(${wo(e,u)},-${d}px) + ${a[u]}`}const c=bo(r,a,s);return(u,f)=>{c(u,f),u.backgroundSize=`${l.width}px ${l.height}px`,u.backgroundRepeat="no-repeat"}}function wo(t,e){return Re(t,`background-position-${e.substr(-1)}`,"")}function bo(t,e,i){return function(s,n){for(const o of t){const r=We(i[o],n);s[`background-position-${o.substr(-1)}`]=`calc(${e[o]} + ${r}px)`}}}const Ti={};function xh(t){const e=h(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(Ti[e])return Ti[e];const i=new Image;return e&&(i.src=e,!i.naturalWidth)?(i.onload=()=>{Ti[e]=Is(i),v(t,Mt("load",!1))},Is(i)):Ti[e]=Is(i)}function Is(t){return{width:t.naturalWidth,height:t.naturalHeight}}function ge(t,e=$){const i=[],{length:s}=t;let n=0;for(let o=0;o<s;o++){let[r,a]=D(t[o])?t[o].trim().split(/ (?![^(]*\))/):[t[o]];if(r=e(r),a=a?$(a)/100:null,o===0?a===null?a=0:a&&i.push([r,0]):o===s-1&&(a===null?a=1:a!==1&&(i.push([r,a]),a=1)),i.push([r,a]),a===null)n++;else if(n){const l=i[o-n-1][1],c=(a-l)/(n+1);for(let u=n;u>0;u--)i[o-u][1]=l+c*(n-u+1);n=0}}return i}function $o(t,e){const i=yt(t.slice(1),([,s])=>e<=s)+1;return[t[i-1][0],t[i][0],(e-t[i-1][1])/(t[i][1]-t[i-1][1])]}function We(t,e){const[i,s,n]=$o(t,e);return Ye(i)?i+Math.abs(i-s)*n*(i<s?1:-1):+s}const yh=/^-?\d+(\S+)?/;function Ei(t,e){var i;for(const s of t){const n=(i=s.match)==null?void 0:i.call(s,yh);if(n)return n[1]}return e}function Re(t,e,i){const s=t.style[e],n=h(h(t,e,i),e);return t.style[e]=s,n}function xo(t,e){return t.reduce((i,s)=>(i[s]=e,i),{})}var kh={mixins:[mo],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target({target:t},e){return yo(t&&at(t,e)||e)},start({start:t}){return ht(t,"height",this.target,!0)},end({end:t,viewport:e}){return ht(t||(e=(1-e)*100)&&`${e}vh+${e}%`,"height",this.target,!0)}},observe:[pt({target:({$el:t,target:e})=>[t,e]}),pi()],update:{read({percent:t},e){if(e.has("scroll")||(t=!1),!j(this.$el))return!1;if(!this.matchMedia)return;const i=t;return t=Sh(ns(this.target,this.start,this.end),this.easing),{percent:t,style:i===t?!1:this.getCss(t)}},write({style:t}){if(!this.matchMedia){this.reset();return}t&&h(this.$el,t)},events:["scroll","resize"]}};function Sh(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}function yo(t){return t?"offsetTop"in t?t:yo(O(t)):document.documentElement}var ko={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},So={observe:Ne({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()})};function Ih(t,e,i,{center:s,easing:n,list:o}){const r=t?je(t,o,s):je(e,o,s)+b(e).width*i,a=e?je(e,o,s):r+b(t).width*i*(X?-1:1);let l;return{dir:i,show(c,u=0,f){const d=f?"linear":n;return c-=Math.round(c*Z(u,-1,1)),this.translate(u),u=t?u:Z(u,0,1),Cs(this.getItemIn(),"itemin",{percent:u,duration:c,timing:d,dir:i}),t&&Cs(this.getItemIn(!0),"itemout",{percent:1-u,duration:c,timing:d,dir:i}),new Promise(g=>{l||(l=g),E.start(o,{transform:R(-a*(X?-1:1),"px")},c,d).then(l,k)})},cancel(){return E.cancel(o)},reset(){h(o,"transform","")},async forward(c,u=this.percent()){return await this.cancel(),this.show(c,u,!0)},translate(c){const u=this.getDistance()*i*(X?-1:1);h(o,"transform",R(Z(-a+(u-u*c),-Pi(o),b(o).width)*(X?-1:1),"px"));const f=this.getActives(),d=this.getItemIn(),g=this.getItemIn(!0);c=t?Z(c,-1,1):0;for(const A of T(o)){const N=m(f,A),F=A===d,Ot=A===g,Ts=F||!Ot&&(N||i*(X?-1:1)===-1^_i(A,o)>_i(t||e));Cs(A,`itemtranslate${Ts?"in":"out"}`,{dir:i,percent:Ot?1-c:F?c:N?1:0})}},percent(){return Math.abs((h(o,"transform").split(",")[4]*(X?-1:1)+r)/(a-r))},getDistance(){return Math.abs(a-r)},getItemIn(c=!1){let u=this.getActives(),f=Co(o,je(e||t,o,s));if(c){const d=u;u=f,f=d}return f[yt(f,d=>!m(u,d))]},getActives(){return Co(o,je(t||e,o,s))}}}function je(t,e,i){const s=_i(t,e);return i?s-Ch(t,e):Math.min(s,Io(e))}function Io(t){return Math.max(0,Pi(t)-b(t).width)}function Pi(t){return Dt(T(t),e=>b(e).width)}function Ch(t,e){return b(e).width/2-b(t).width/2}function _i(t,e){return t&&(ni(t).left+(X?b(t).width-b(e).width:0))*(X?-1:1)||0}function Co(t,e){e-=1;const i=b(t).width,s=e+i+2;return T(t).filter(n=>{const o=_i(n,t),r=o+Math.min(b(n).width,i);return o>=e&&r<=s})}function Cs(t,e,i){v(t,Mt(e,!1,!1,i))}var Th={mixins:[st,ho,ko,So],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"bdt-slider-item",selList:".bdt-slider-items",selNav:".bdt-slider-nav",clsContainer:"bdt-slider-container",Transitioner:Ih},computed:{avgWidth(){return Pi(this.list)/this.length},finite({finite:t}){return t||Eh(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return se(this.sets);let t=0;const e=Io(this.list),i=yt(this.slides,s=>{if(t>=e)return!0;t+=b(s).width});return~i?i:this.length-1},sets({sets:t}){if(!t)return;let e=0;const i=[],s=b(this.list).width;for(let n=0;n<this.length;n++){const o=b(this.slides[n]).width;e+o>s&&(e=0),this.center?e<s/2&&e+o+b(rt(+n+1,this.slides)).width/2>s/2&&(i.push(+n),e=s/2-o/2):e===0&&i.push(Math.min(+n,this.maxIndex)),e+=o}if(i.length)return i},transitionOptions(){return{center:this.center,list:this.list}},slides(){return T(this.list).filter(j)}},connected(){q(this.$el,this.clsContainer,!w(`.${this.clsContainer}`,this.$el))},observe:pt({target:({slides:t})=>t}),update:{write(){for(const t of this.navItems){const e=St(tt(t,this.attrItem));e!==!1&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!m(this.sets,e))}this.length&&!this.dragging&&!this.stack.length&&(this.reorder(),this._translate(1)),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!m(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let s=0;s<e;s++)this.stack.splice(1,0,this.dir>0?"next":"previous");t.preventDefault();return}const i=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex;this.duration=co(this.avgWidth/this.velocity)*(b(this.slides[i]).width/this.avgWidth),this.reorder()},itemshow(){~this.prevIndex&&y(this._getTransitioner().getItemIn(),this.clsActive)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite){h(this.slides,"order","");return}const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((n,o)=>h(n,"order",this.dir>0&&o<t?1:this.dir<0&&o>=this.index?-1:"")),!this.center)return;const e=this.slides[t];let i=b(this.list).width/2-b(e).width/2,s=0;for(;i>0;){const n=this.getIndex(--s+t,t),o=this.slides[n];h(o,"order",n>t?-2:-1),i-=b(o).width}},updateActiveClasses(){const t=this._getTransitioner(this.index).getActives(),e=[this.clsActive,(!this.sets||m(this.sets,$(this.index)))&&this.clsActivated||""];for(const i of this.slides){const s=m(t,i);q(i,e,s),p(i,"aria-hidden",!s);for(const n of z(ye,i))bt(n,"_tabindex")||(n._tabindex=p(n,"tabindex")),p(n,"tabindex",s?n._tabindex:-1)}},getValidIndex(t=this.index,e=this.prevIndex){if(t=this.getIndex(t,e),!this.sets)return t;let i;do{if(m(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t},getAdjacentSlides(){const{width:t}=b(this.list),e=-t,i=t*2,s=b(this.slides[this.index]).width,n=this.center?t/2-s/2:0,o=new Set;for(const r of[-1,1]){let a=n+(r>0?s:0),l=0;do{const c=this.slides[this.getIndex(this.index+r+l++*r)];a+=b(c).width*r,o.add(c)}while(this.length>l&&a>e&&a<i)}return Array.from(o)}}};function Eh(t,e){if(!t||t.length<2)return!0;const{width:i}=b(t);if(!e)return Math.ceil(Pi(t))<Math.trunc(i+Ph(t));const s=T(t),n=Math.trunc(i/2);for(const o in s){const r=s[o],a=b(r).width,l=new Set([r]);let c=0;for(const u of[-1,1]){let f=a/2,d=0;for(;f<n;){const g=s[rt(+o+u+d++*u,s)];if(l.has(g))return!0;f+=b(g).width,l.add(g)}c=Math.max(c,a/2+b(s[rt(+o+u,s)]).width/2-(f-n))}if(c>Dt(s.filter(u=>!l.has(u)),u=>b(u).width))return!0}return!1}function Ph(t){return Math.max(0,...T(t).map(e=>b(e).width))}var To={mixins:[mo],data:{selItem:"!li"},beforeConnect(){this.item=at(this.selItem,this.$el)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el(){return this.item},handler({type:t,detail:{percent:e,duration:i,timing:s,dir:n}}){J.read(()=>{if(!this.matchMedia)return;const o=this.getCss(Po(t,n,e)),r=this.getCss(Eo(t)?.5:n>0?1:0);J.write(()=>{h(this.$el,o),E.start(this.$el,r,i,s).catch(k)})})}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){E.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler({type:t,detail:{percent:e,dir:i}}){J.read(()=>{if(!this.matchMedia){this.reset();return}const s=this.getCss(Po(t,i,e));J.write(()=>h(this.$el,s))})}}]};function Eo(t){return Zt(t,"in")}function Po(t,e,i){return i/=2,Eo(t)^e<0?i:1-i}var _h={...xs,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:pe(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t,transform:pe(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:R(30),zIndex:-1},{transform:R(),zIndex:0}]:[{transform:R(-100),zIndex:0},{transform:R(),zIndex:-1}]},percent(t,e,i){return i<0?1-He(e):He(t)},translate(t,e){return e<0?[{transform:R(30*t),zIndex:-1},{transform:R(-100*(1-t)),zIndex:0}]:[{transform:R(-t*100),zIndex:0},{transform:R(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:R(100),zIndex:0},{transform:R(),zIndex:-1}]:[{transform:R(-30),zIndex:-1},{transform:R(),zIndex:0}]},percent(t,e,i){return i>0?1-He(e):He(t)},translate(t,e){return e<0?[{transform:R(t*100),zIndex:0},{transform:R(-30*(1-t)),zIndex:-1}]:[{transform:R(-30*t),zIndex:-1},{transform:R(100*(1-t)),zIndex:0}]}}},Ah={mixins:[st,uo,ko,So],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".bdt-slideshow-items",attrItem:"bdt-slideshow-item",selNav:".bdt-slideshow-nav",Animations:_h},update:{read(){if(!this.list)return!1;let[t,e]=this.ratio.split(":").map(Number);return e=e*this.list.offsetWidth/t||0,this.minHeight&&(e=Math.max(this.minHeight,e)),this.maxHeight&&(e=Math.min(this.maxHeight,e)),{height:e-le(this.list,"height","content-box")}},write({height:t}){t>0&&h(this.list,"minHeight",t)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}},Oh={mixins:[st,so],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"bdt-sortable-item",clsPlaceholder:"bdt-sortable-placeholder",clsDrag:"bdt-sortable-drag",clsDragState:"bdt-drag",clsBase:"bdt-sortable",clsNoDrag:"bdt-sortable-nodrag",clsEmpty:"bdt-sortable-empty",clsCustom:"",handle:!1,pos:{}},created(){for(const t of["init","start","move","end"]){const e=this[t];this[t]=i=>{$t(this.pos,ae(i)),e(i)}}},events:{name:vt,passive:!1,handler:"init"},computed:{target(){return(this.$el.tBodies||[this.$el])[0]},items(){return T(this.target)},isEmpty(){return be(this.items)},handles({handle:t},e){return t?z(t,e):this.items}},watch:{isEmpty(t){q(this.target,this.clsEmpty,t)},handles(t,e){h(e,{touchAction:"",userSelect:""}),h(t,{touchAction:Wt?"none":"",userSelect:"none"})}},update:{write(t){if(!this.drag||!O(this.placeholder))return;const{pos:{x:e,y:i},origin:{offsetTop:s,offsetLeft:n},placeholder:o}=this;h(this.drag,{top:i-s,left:e-n});const r=this.getSortable(document.elementFromPoint(e,i));if(!r)return;const{items:a}=r;if(a.some(E.inProgress))return;const l=Nh(a,{x:e,y:i});if(a.length&&(!l||l===o))return;const c=this.getSortable(o),u=zh(r.target,l,o,e,i,r===c&&t.moved!==l);u!==!1&&(u&&o===u||(r!==c?(c.remove(o),t.moved=l):delete t.moved,r.insert(o,u),this.touched.add(r)))},events:["move"]},methods:{init(t){const{target:e,button:i,defaultPrevented:s}=t,[n]=this.items.filter(o=>B(e,o));!n||s||i>0||Wi(e)||B(e,`.${this.clsNoDrag}`)||this.handle&&!B(e,this.handle)||(t.preventDefault(),this.touched=new Set([this]),this.placeholder=n,this.origin={target:e,index:oe(n),...this.pos},x(document,ri,this.move),x(document,_t,this.end),this.threshold||this.start(t))},start(t){this.drag=Mh(this.$container,this.placeholder);const{left:e,top:i}=this.placeholder.getBoundingClientRect();$t(this.origin,{offsetLeft:this.pos.x-e,offsetTop:this.pos.y-i}),y(this.drag,this.clsDrag,this.clsCustom),y(this.placeholder,this.clsPlaceholder),y(this.items,this.clsItem),y(document.documentElement,this.clsDragState),v(this.$el,"start",[this,this.placeholder]),Dh(this.pos),this.move(t)},move(t){this.drag?this.$emit("move"):(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t)},end(){if(Bt(document,ri,this.move),Bt(document,_t,this.end),!this.drag)return;Bh();const t=this.getSortable(this.placeholder);this===t?this.origin.index!==oe(this.placeholder)&&v(this.$el,"moved",[this,this.placeholder]):(v(t.$el,"added",[t,this.placeholder]),v(this.$el,"removed",[this,this.placeholder])),v(this.$el,"stop",[this,this.placeholder]),lt(this.drag),this.drag=null;for(const{clsPlaceholder:e,clsItem:i}of this.touched)for(const s of this.touched)M(s.items,e,i);this.touched=null,M(document.documentElement,this.clsDragState)},insert(t,e){y(this.items,this.clsItem);const i=()=>e?ti(e,t):W(this.target,t);this.animate(i)},remove(t){B(t,this.target)&&this.animate(()=>lt(t))},getSortable(t){do{const e=this.$getComponent(t,"sortable");if(e&&(e===this||this.group!==!1&&e.group===this.group))return e}while(t=O(t))}}};let _o;function Dh(t){let e=Date.now();_o=setInterval(()=>{let{x:i,y:s}=t;s+=document.scrollingElement.scrollTop;const n=(Date.now()-e)*.3;e=Date.now(),wt(document.elementFromPoint(i,t.y)).reverse().some(o=>{let{scrollTop:r,scrollHeight:a}=o;const{top:l,bottom:c,height:u}=ct(o);if(l<s&&l+35>s)r-=n;else if(c>s&&c-35<s)r+=n;else return;if(r>0&&r<a-u)return o.scrollTop=r,!0})},15)}function Bh(){clearInterval(_o)}function Mh(t,e){let i;if(G(e,"li","tr")){i=w("<div>"),W(i,e.cloneNode(!0).children);for(const s of e.getAttributeNames())p(i,s,e.getAttribute(s))}else i=e.cloneNode(!0);return W(t,i),h(i,"margin","0","important"),h(i,{boxSizing:"border-box",width:e.offsetWidth,height:e.offsetHeight,padding:h(e,"padding")}),et(i.firstElementChild,et(e.firstElementChild)),i}function Nh(t,e){return t[yt(t,i=>Je(e,i.getBoundingClientRect()))]}function zh(t,e,i,s,n,o){if(!T(t).length)return;const r=e.getBoundingClientRect();if(!o)return Fh(t,i)||n<r.top+r.height/2?e:e.nextElementSibling;const a=i.getBoundingClientRect(),l=Ao([r.top,r.bottom],[a.top,a.bottom]),[c,u,f,d]=l?[s,"width","left","right"]:[n,"height","top","bottom"],g=a[u]<r[u]?r[u]-a[u]:0;return a[f]<r[f]?g&&c<r[f]+g?!1:e.nextElementSibling:g&&c>r[d]-g?!1:e}function Fh(t,e){const i=T(t).length===1;i&&W(t,e);const s=T(t),n=s.some((o,r)=>{const a=o.getBoundingClientRect();return s.slice(r+1).some(l=>{const c=l.getBoundingClientRect();return!Ao([a.left,a.right],[c.left,c.right])})});return i&&lt(e),n}function Ao(t,e){return t[1]>e[0]&&e[1]>t[0]}var Hh={mixins:[ze,Vt,En],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["bdt-animation-scale-up"],duration:100,cls:"bdt-active"},beforeConnect(){this.id=At(this,{}),this._hasTitle=gt(this.$el,"title"),p(this.$el,{title:"","aria-describedby":this.id}),Lh(this.$el)},disconnected(){this.hide(),p(this.$el,"title")||p(this.$el,"title",this._hasTitle?this.title:null)},methods:{show(){this.isToggled(this.tooltip||null)||!this.title||(clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},async hide(){C(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&await this.toggleElement(this.tooltip,!1,!1),lt(this.tooltip),this.tooltip=null)},async _show(){this.tooltip=W(this.container,`<div id="${this.id}" class="bdt-${this.$options.name}" role="tooltip"> <div class="bdt-${this.$options.name}-inner">${this.title}</div> </div>`),x(this.tooltip,"toggled",(t,e)=>{if(!e)return;const i=()=>this.positionAt(this.tooltip,this.$el);i();const[s,n]=Wh(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?`${oi(s)}-${n}`:`${n}-${oi(s)}`;const o=[L(document,`keydown ${vt}`,this.hide,!1,r=>r.type===vt&&!B(r.target,this.$el)||r.type==="keydown"&&r.keyCode===I.ESC),x([document,...jt(this.$el)],"scroll",i,{passive:!0})];L(this.tooltip,"hide",()=>o.forEach(r=>r()),{self:!0})}),await this.toggleElement(this.tooltip,!0)||this.hide()}},events:{focus:"show",blur:"hide",[`${Rt} ${ue}`](t){Ct(t)||this[t.type===Rt?"show":"hide"]()},[vt](t){Ct(t)&&this.show()}}};function Lh(t){Ze(t)||p(t,"tabindex","0")}function Wh(t,e,[i,s]){const n=_(t),o=_(e),r=[["left","right"],["top","bottom"]];for(const l of r){if(n[l[0]]>=o[l[1]]){i=l[1];break}if(n[l[1]]<=o[l[0]]){i=l[0];break}}const a=m(r[0],i)?r[1]:r[0];return n[a[0]]===o[a[0]]?s=a[0]:n[a[1]]===o[a[1]]?s=a[1]:s="center",[i,s]}var Rh={mixins:[wi],i18n:{invalidMime:"Invalid File Type: %s",invalidName:"Invalid File Name: %s",invalidSize:"Invalid File Size: %s Kilobytes Max"},props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"bdt-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,multiple:!1,name:"files[]",params:{},type:"",url:"",abort:k,beforeAll:k,beforeSend:k,complete:k,completeAll:k,error:k,fail:k,load:k,loadEnd:k,loadStart:k,progress:k},events:{change(t){C(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop(t){Ai(t);const e=t.dataTransfer;e!=null&&e.files&&(M(this.$el,this.clsDragover),this.upload(e.files))},dragenter(t){Ai(t)},dragover(t){Ai(t),y(this.$el,this.clsDragover)},dragleave(t){Ai(t),M(this.$el,this.clsDragover)}},methods:{async upload(t){if(t=Qt(t),!t.length)return;v(this.$el,"upload",[t]);for(const s of t){if(this.maxSize&&this.maxSize*1e3<s.size){this.fail(this.t("invalidSize",this.maxSize));return}if(this.allow&&!Oo(this.allow,s.name)){this.fail(this.t("invalidName",this.allow));return}if(this.mime&&!Oo(this.mime,s.type)){this.fail(this.t("invalidMime",this.mime));return}}this.multiple||(t=t.slice(0,1)),this.beforeAll(this,t);const e=jh(t,this.concurrent),i=async s=>{const n=new FormData;s.forEach(o=>n.append(this.name,o));for(const o in this.params)n.append(o,this.params[o]);try{const o=await qh(this.url,{data:n,method:this.method,responseType:this.type,beforeSend:r=>{const{xhr:a}=r;x(a.upload,"progress",this.progress);for(const l of["loadStart","load","loadEnd","abort"])x(a,l.toLowerCase(),this[l]);return this.beforeSend(r)}});this.complete(o),e.length?await i(e.shift()):this.completeAll(o)}catch(o){this.error(o)}};await i(e.shift())}}};function Oo(t,e){return e.match(new RegExp(`^${t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")}$`,"i"))}function jh(t,e){const i=[];for(let s=0;s<t.length;s+=e)i.push(t.slice(s,s+e));return i}function Ai(t){t.preventDefault(),t.stopPropagation()}function qh(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:k,responseType:"",...e};return Promise.resolve().then(()=>i.beforeSend(i)).then(()=>Uh(t,i))}function Uh(t,e){return new Promise((i,s)=>{const{xhr:n}=e;for(const o in e)if(o in n)try{n[o]=e[o]}catch{}n.open(e.method.toUpperCase(),t);for(const o in e.headers)n.setRequestHeader(o,e.headers[o]);x(n,"load",()=>{n.status===0||n.status>=200&&n.status<300||n.status===304?i(n):s($t(Error(n.statusText),{xhr:n,status:n.status}))}),x(n,"error",()=>s($t(Error("Network Error"),{xhr:n}))),x(n,"timeout",()=>s($t(Error("Network Timeout"),{xhr:n}))),n.send(e.data)})}var Vh=Object.freeze({__proto__:null,Countdown:Vl,Filter:Ql,Lightbox:dh,LightboxPanel:fo,Notification:gh,Parallax:kh,Slider:Th,SliderParallax:To,Slideshow:Ah,SlideshowParallax:To,Sortable:Oh,Tooltip:Hh,Upload:Rh});return It(Vh,(t,e)=>ft.component(e,t)),ft});
/*! elementor - v3.4.1 - 18-08-2021 */
(()=>{"use strict";var e,r,_,t,a,i={},n={};function __webpack_require__(e){var r=n[e];if(void 0!==r)return r.exports;var _=n[e]={exports:{}};return i[e](_,_.exports,__webpack_require__),_.exports}__webpack_require__.m=i,e=[],__webpack_require__.O=(r,_,t,a)=>{if(!_){var i=1/0;for(u=0;u<e.length;u++){for(var[_,t,a]=e[u],n=!0,c=0;c<_.length;c++)(!1&a||i>=a)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](_[c])))?_.splice(c--,1):(n=!1,a<i&&(i=a));if(n){e.splice(u--,1);var o=t();void 0!==o&&(r=o)}}return r}a=a||0;for(var u=e.length;u>0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[_,t,a]},_=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var a=Object.create(null);__webpack_require__.r(a);var i={};r=r||[null,_({}),_([]),_(_)];for(var n=2&t&&e;"object"==typeof n&&!~r.indexOf(n);n=_(n))Object.getOwnPropertyNames(n).forEach((r=>i[r]=()=>e[r]));return i.default=()=>e,__webpack_require__.d(a,i),a},__webpack_require__.d=(e,r)=>{for(var _ in r)__webpack_require__.o(r,_)&&!__webpack_require__.o(e,_)&&Object.defineProperty(e,_,{enumerable:!0,get:r[_]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((r,_)=>(__webpack_require__.f[_](e,r),r)),[])),__webpack_require__.u=e=>723===e?"lightbox.32bd6e1d10abf17b8ef7.bundle.min.js":48===e?"text-path.15daa9710b97d5cf86b9.bundle.min.js":209===e?"accordion.839112600fade8979d16.bundle.min.js":745===e?"alert.124c2442b8a696597f9e.bundle.min.js":120===e?"counter.48db25dfc685896cf5c2.bundle.min.js":192===e?"progress.4079971c3240c226b858.bundle.min.js":520===e?"tabs.cd05b61e107cc58d1be9.bundle.min.js":181===e?"toggle.1aca60f44e355cb43256.bundle.min.js":791===e?"video.0c909a3169306097e21d.bundle.min.js":268===e?"image-carousel.f9dc73796adfb21bb945.bundle.min.js":357===e?"text-editor.9efe2dca043f0f618897.bundle.min.js":52===e?"wp-audio.2332b719d144261993a3.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},a="elementor:",__webpack_require__.l=(e,r,_,i)=>{if(t[e])t[e].push(r);else{var n,c;if(void 0!==_)for(var o=document.getElementsByTagName("script"),u=0;u<o.length;u++){var b=o[u];if(b.getAttribute("src")==e||b.getAttribute("data-webpack")==a+_){n=b;break}}n||(c=!0,(n=document.createElement("script")).charset="utf-8",n.timeout=120,__webpack_require__.nc&&n.setAttribute("nonce",__webpack_require__.nc),n.setAttribute("data-webpack",a+_),n.src=e),t[e]=[r];var onScriptComplete=(r,_)=>{n.onerror=n.onload=null,clearTimeout(p);var a=t[e];if(delete t[e],n.parentNode&&n.parentNode.removeChild(n),a&&a.forEach((e=>e(_))),r)return r(_)},p=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=onScriptComplete.bind(null,n.onerror),n.onload=onScriptComplete.bind(null,n.onload),c&&document.head.appendChild(n)}},__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var r=__webpack_require__.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var _=r.getElementsByTagName("script");_.length&&(e=_[_.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={162:0};__webpack_require__.f.j=(r,_)=>{var t=__webpack_require__.o(e,r)?e[r]:void 0;if(0!==t)if(t)_.push(t[2]);else if(162!=r){var a=new Promise(((_,a)=>t=e[r]=[_,a]));_.push(t[2]=a);var i=__webpack_require__.p+__webpack_require__.u(r),n=new Error;__webpack_require__.l(i,(_=>{if(__webpack_require__.o(e,r)&&(0!==(t=e[r])&&(e[r]=void 0),t)){var a=_&&("load"===_.type?"missing":_.type),i=_&&_.target&&_.target.src;n.message="Loading chunk "+r+" failed.\n("+a+": "+i+")",n.name="ChunkLoadError",n.type=a,n.request=i,t[1](n)}}),"chunk-"+r,r)}else e[r]=0},__webpack_require__.O.j=r=>0===e[r];var webpackJsonpCallback=(r,_)=>{var t,a,[i,n,c]=_,o=0;for(t in n)__webpack_require__.o(n,t)&&(__webpack_require__.m[t]=n[t]);if(c)var u=c(__webpack_require__);for(r&&r(_);o<i.length;o++)a=i[o],__webpack_require__.o(e,a)&&e[a]&&e[a][0](),e[i[o]]=0;return __webpack_require__.O(u)},r=self.webpackChunkelementor=self.webpackChunkelementor||[];r.forEach(webpackJsonpCallback.bind(null,0)),r.push=webpackJsonpCallback.bind(null,r.push.bind(r))})()})();
/*! elementor - v3.4.1 - 18-08-2021 */
(self.webpackChunkelementor=self.webpackChunkelementor||[]).push([[354],{7914:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},8135:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.ViewModule{getDefaultSettings(){return{selectors:{elements:".elementor-element",nestedDocumentElements:".elementor .elementor-element"},classes:{editMode:"elementor-edit-mode"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$elements:this.$element.find(e.elements).not(this.$element.find(e.nestedDocumentElements))}}getDocumentSettings(e){let t;if(this.isEdit){t={};const e=elementor.settings.page.model;jQuery.each(e.getActiveControls(),(n=>{t[n]=e.attributes[n]}))}else t=this.$element.data("elementor-settings")||{};return this.getItems(t,e)}runElementsHandlers(){this.elements.$elements.each(((e,t)=>elementorFrontend.elementsHandler.runReadyTrigger(t)))}onInit(){this.$element=this.getSettings("$element"),super.onInit(),this.isEdit=this.$element.hasClass(this.getSettings("classes.editMode")),this.isEdit?elementor.on("document:loaded",(()=>{elementor.settings.page.model.on("change",this.onSettingsChange.bind(this))})):this.runElementsHandlers()}onSettingsChange(){}}t.default=_default},2821:(e,t,n)=>{"use strict";var s=n(7914);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(3090));class SwiperHandlerBase extends i.default{getInitialSlide(){const e=this.getEditSettings();return e.activeItemIndex?e.activeItemIndex-1:0}getSlidesCount(){return this.elements.$slides.length}togglePauseOnHover(e){e?this.elements.$swiperContainer.on({mouseenter:()=>{this.swiper.autoplay.stop()},mouseleave:()=>{this.swiper.autoplay.start()}}):this.elements.$swiperContainer.off("mouseenter mouseleave")}handleKenBurns(){const e=this.getSettings();this.$activeImageBg&&this.$activeImageBg.removeClass(e.classes.kenBurnsActive),this.activeItemIndex=this.swiper?this.swiper.activeIndex:this.getInitialSlide(),this.swiper?this.$activeImageBg=jQuery(this.swiper.slides[this.activeItemIndex]).children("."+e.classes.slideBackground):this.$activeImageBg=jQuery(this.elements.$slides[0]).children("."+e.classes.slideBackground),this.$activeImageBg.addClass(e.classes.kenBurnsActive)}}t.default=SwiperHandlerBase},3090:e=>{"use strict";e.exports=elementorModules.ViewModule.extend({$element:null,editorListeners:null,onElementChange:null,onEditSettingsChange:null,onPageSettingsChange:null,isEdit:null,__construct:function(e){this.isActive(e)&&(this.$element=e.$element,this.isEdit=this.$element.hasClass("elementor-element-edit-mode"),this.isEdit&&this.addEditorListeners())},isActive:function(){return!0},findElement:function(e){var t=this.$element;return t.find(e).filter((function(){return jQuery(this).closest(".elementor-element").is(t)}))},getUniqueHandlerID:function(e,t){return e||(e=this.getModelCID()),t||(t=this.$element),e+t.attr("data-element_type")+this.getConstructorID()},initEditorListeners:function(){var e=this;if(e.editorListeners=[{event:"element:destroy",to:elementor.channels.data,callback:function(t){t.cid===e.getModelCID()&&e.onDestroy()}}],e.onElementChange){const t=e.getWidgetType()||e.getElementType();let n="change";"global"!==t&&(n+=":"+t),e.editorListeners.push({event:n,to:elementor.channels.editor,callback:function(t,n){e.getUniqueHandlerID(n.model.cid,n.$el)===e.getUniqueHandlerID()&&e.onElementChange(t.model.get("name"),t,n)}})}e.onEditSettingsChange&&e.editorListeners.push({event:"change:editSettings",to:elementor.channels.editor,callback:function(t,n){n.model.cid===e.getModelCID()&&e.onEditSettingsChange(Object.keys(t.changed)[0])}}),["page"].forEach((function(t){var n="on"+t[0].toUpperCase()+t.slice(1)+"SettingsChange";e[n]&&e.editorListeners.push({event:"change",to:elementor.settings[t].model,callback:function(t){e[n](t.changed)}})}))},getEditorListeners:function(){return this.editorListeners||this.initEditorListeners(),this.editorListeners},addEditorListeners:function(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach((function(t){elementorFrontend.addListenerOnce(e,t.event,t.callback,t.to)}))},removeEditorListeners:function(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach((function(t){elementorFrontend.removeListeners(e,t.event,null,t.to)}))},getElementType:function(){return this.$element.data("element_type")},getWidgetType:function(){const e=this.$element.data("widget_type");if(e)return e.split(".")[0]},getID:function(){return this.$element.data("id")},getModelCID:function(){return this.$element.data("model-cid")},getElementSettings:function(e){let t={};const n=this.getModelCID();if(this.isEdit&&n){const e=elementorFrontend.config.elements.data[n],s=e.attributes;let i=s.widgetType||s.elType;s.isInner&&(i="inner-"+i);let r=elementorFrontend.config.elements.keys[i];r||(r=elementorFrontend.config.elements.keys[i]=[],jQuery.each(e.controls,((e,t)=>{t.frontend_available&&r.push(e)}))),jQuery.each(e.getActiveControls(),(function(e){if(-1!==r.indexOf(e)){let n=s[e];n.toJSON&&(n=n.toJSON()),t[e]=n}}))}else t=this.$element.data("settings")||{};return this.getItems(t,e)},getEditSettings:function(e){var t={};return this.isEdit&&(t=elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes),this.getItems(t,e)},getCurrentDeviceSetting:function(e){return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(),e)},onInit:function(){this.isActive(this.getSettings())&&elementorModules.ViewModule.prototype.onInit.apply(this,arguments)},onDestroy:function(){this.isEdit&&this.removeEditorListeners(),this.unbindEvents&&this.unbindEvents()}})},6412:(e,t,n)=>{"use strict";var s=n(7914),i=s(n(5955)),r=s(n(8135)),o=s(n(5658)),l=s(n(3090)),c=s(n(2821));i.default.frontend={Document:r.default,tools:{StretchElement:o.default},handlers:{Base:l.default,SwiperBase:c.default}}},5658:e=>{"use strict";e.exports=elementorModules.ViewModule.extend({getDefaultSettings:function(){return{element:null,direction:elementorFrontend.config.is_rtl?"right":"left",selectors:{container:window}}},getDefaultElements:function(){return{$element:jQuery(this.getSettings("element"))}},stretch:function(){var e,t=this.getSettings("selectors.container");try{e=jQuery(t)}catch(e){}e&&e.length||(e=jQuery(this.getDefaultSettings().selectors.container)),this.reset();var n=this.elements.$element,s=e.innerWidth(),i=n.offset().left,r="fixed"===n.css("position"),o=r?0:i;if(window!==e[0]){var l=e.offset().left;r&&(o=l),i>l&&(o=i-l)}r||(elementorFrontend.config.is_rtl&&(o=s-(n.outerWidth()+o)),o=-o);var c={};c.width=s+"px",c[this.getSettings("direction")]=o+"px",n.css(c)},reset:function(){var e={width:""};e[this.getSettings("direction")]="",this.elements.$element.css(e)}})},2618:(e,t,n)=>{"use strict";var s=n(7914);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(7597));class ArgsObject extends i.default{static getInstanceType(){return"ArgsObject"}constructor(e){super(),this.args=e}requireArgument(e,t=this.args){if(!t.hasOwnProperty(e))throw Error(`${e} is required.`)}requireArgumentType(e,t,n=this.args){if(this.requireArgument(e,n),typeof n[e]!==t)throw Error(`${e} invalid type: ${t}.`)}requireArgumentInstance(e,t,n=this.args){if(this.requireArgument(e,n),!(n[e]instanceof t))throw Error(`${e} invalid instance.`)}requireArgumentConstructor(e,t,n=this.args){if(this.requireArgument(e,n),n[e].constructor!==t)throw Error(`${e} invalid constructor type.`)}}t.default=ArgsObject},869:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ForceMethodImplementation=void 0;class ForceMethodImplementation extends Error{constructor(e={}){super(`${e.isStatic?"static ":""}${e.fullName}() should be implemented, please provide '${e.functionName||e.fullName}' functionality.`),Error.captureStackTrace(this,ForceMethodImplementation)}}t.ForceMethodImplementation=ForceMethodImplementation;t.default=()=>{const e=Error().stack.split("\n")[2].trim(),t=e.startsWith("at new")?"constructor":e.split(" ")[1],n={};if(n.functionName=t,n.fullName=t,n.functionName.includes(".")){const e=n.functionName.split(".");n.className=e[0],n.functionName=e[1]}else n.isStatic=!0;throw new ForceMethodImplementation(n)}},7597:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class InstanceType{static[Symbol.hasInstance](e){let t=super[Symbol.hasInstance](e);if(e&&!e.constructor.getInstanceType)return t;if(e&&(e.instanceTypes||(e.instanceTypes=[]),t||this.getInstanceType()===e.constructor.getInstanceType()&&(t=!0),t)){const t=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===e.instanceTypes.indexOf(t)&&e.instanceTypes.push(t)}return!t&&e&&(t=e.instanceTypes&&Array.isArray(e.instanceTypes)&&-1!==e.instanceTypes.indexOf(this.getInstanceType())),t}constructor(){let e=new.target;const t=[];for(;e.__proto__&&e.__proto__.name;)t.push(e.__proto__),e=e.__proto__;t.reverse().forEach((e=>this instanceof e))}static getInstanceType(){elementorModules.ForceMethodImplementation()}}t.default=InstanceType},1192:e=>{"use strict";const Module=function(){const e=jQuery,t=arguments,n=this,s={};let i;const ensureClosureMethods=function(){e.each(n,(function(e){const t=n[e];"function"==typeof t&&(n[e]=function(){return t.apply(n,arguments)})}))},initSettings=function(){i=n.getDefaultSettings();const s=t[0];s&&e.extend(!0,i,s)},init=function(){n.__construct.apply(n,t),ensureClosureMethods(),initSettings(),n.trigger("init")};this.getItems=function(e,t){if(t){const n=t.split("."),s=n.splice(0,1);if(!n.length)return e[s];if(!e[s])return;return this.getItems(e[s],n.join("."))}return e},this.getSettings=function(e){return this.getItems(i,e)},this.setSettings=function(t,s,r){if(r||(r=i),"object"==typeof t)return e.extend(r,t),n;const o=t.split("."),l=o.splice(0,1);return o.length?(r[l]||(r[l]={}),n.setSettings(o.join("."),s,r[l])):(r[l]=s,n)},this.getErrorMessage=function(e,t){let n;switch(e){case"forceMethodImplementation":n=`The method '${t}' must to be implemented in the inheritor child.`;break;default:n="An error occurs"}return n},this.forceMethodImplementation=function(e){throw new Error(this.getErrorMessage("forceMethodImplementation",e))},this.on=function(t,i){if("object"==typeof t)return e.each(t,(function(e){n.on(e,this)})),n;return t.split(" ").forEach((function(e){s[e]||(s[e]=[]),s[e].push(i)})),n},this.off=function(e,t){if(!s[e])return n;if(!t)return delete s[e],n;const i=s[e].indexOf(t);return-1!==i&&(delete s[e][i],s[e]=s[e].filter((e=>e))),n},this.trigger=function(t){const i="on"+t[0].toUpperCase()+t.slice(1),r=Array.prototype.slice.call(arguments,1);n[i]&&n[i].apply(n,r);const o=s[t];return o?(e.each(o,(function(e,t){t.apply(n,r)})),n):n},init()};Module.prototype.__construct=function(){},Module.prototype.getDefaultSettings=function(){return{}},Module.prototype.getConstructorID=function(){return this.constructor.name},Module.extend=function(e){const t=jQuery,n=this,child=function(){return n.apply(this,arguments)};return t.extend(child,n),(child.prototype=Object.create(t.extend({},n.prototype,e))).constructor=child,child.__super__=n.prototype,child},e.exports=Module},6516:(e,t,n)=>{"use strict";var s=n(7914)(n(2640));e.exports=s.default.extend({getDefaultSettings:function(){return{container:null,items:null,columnsCount:3,verticalSpaceBetween:30}},getDefaultElements:function(){return{$container:jQuery(this.getSettings("container")),$items:jQuery(this.getSettings("items"))}},run:function(){var e=[],t=this.elements.$container.position().top,n=this.getSettings(),s=n.columnsCount;t+=parseInt(this.elements.$container.css("margin-top"),10),this.elements.$items.each((function(i){var r=Math.floor(i/s),o=jQuery(this),l=o[0].getBoundingClientRect().height+n.verticalSpaceBetween;if(r){var c=o.position(),a=i%s,u=c.top-t-e[a];u-=parseInt(o.css("margin-top"),10),u*=-1,o.css("margin-top",u+"px"),e[a]+=l}else e.push(l)}))}})},400:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class Scroll{static scrollObserver(e){let t=0;const n={root:e.root||null,rootMargin:e.offset||"0px",threshold:((e=0)=>{const t=[];if(e>0&&e<=100){const n=100/e;for(let e=0;e<=100;e+=n)t.push(e/100)}else t.push(0);return t})(e.sensitivity)};return new IntersectionObserver((function handleIntersect(n,s){const i=n[0].boundingClientRect.y,r=n[0].isIntersecting,o=i<t?"down":"up",l=Math.abs(parseFloat((100*n[0].intersectionRatio).toFixed(2)));e.callback({sensitivity:e.sensitivity,isInViewport:r,scrollPercentage:l,intersectionScrollDirection:o}),t=i}),n)}static getElementViewportPercentage(e,t={}){const n=e[0].getBoundingClientRect(),s=t.start||0,i=t.end||0,r=window.innerHeight*s/100,o=window.innerHeight*i/100,l=n.top-window.innerHeight,c=0-l+r,a=n.top+r+e.height()-l+o,u=Math.max(0,Math.min(c/a,1));return parseFloat((100*u).toFixed(2))}static getPageScrollPercentage(e={},t){const n=e.start||0,s=e.end||0,i=t||document.documentElement.scrollHeight-document.documentElement.clientHeight,r=i*n/100,o=i+r+i*s/100;return(document.documentElement.scrollTop+document.body.scrollTop+r)/o*100}}},2640:(e,t,n)=>{"use strict";var s=n(7914)(n(1192));e.exports=s.default.extend({elements:null,getDefaultElements:function(){return{}},bindEvents:function(){},onInit:function(){this.initElements(),this.bindEvents()},initElements:function(){this.elements=this.getDefaultElements()}})},5955:(e,t,n)=>{"use strict";var s=n(7914);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(1192)),r=s(n(2640)),o=s(n(2618)),l=s(n(6516)),c=s(n(400)),a=s(n(869)),u=window.elementorModules={Module:i.default,ViewModule:r.default,ArgsObject:o.default,ForceMethodImplementation:a.default,utils:{Masonry:l.default,Scroll:c.default}};t.default=u}},e=>{"use strict";var t;t=6412,e(e.s=t)}]);
!function(){"use strict";function Waypoint(options){if(!options)throw new Error("No options passed to Waypoint constructor");if(!options.element)throw new Error("No element option passed to Waypoint constructor");if(!options.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+keyCounter,this.options=Waypoint.Adapter.extend({},Waypoint.defaults,options),this.element=this.options.element,this.adapter=new Waypoint.Adapter(this.element),this.callback=options.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=Waypoint.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=Waypoint.Context.findOrCreateByElement(this.options.context),Waypoint.offsetAliases[this.options.offset]&&(this.options.offset=Waypoint.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),allWaypoints[this.key]=this,keyCounter+=1}var keyCounter=0,allWaypoints={};Waypoint.prototype.queueTrigger=function(direction){this.group.queueTrigger(this,direction)},Waypoint.prototype.trigger=function(args){this.enabled&&this.callback&&this.callback.apply(this,args)},Waypoint.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete allWaypoints[this.key]},Waypoint.prototype.disable=function(){return this.enabled=!1,this},Waypoint.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},Waypoint.prototype.next=function(){return this.group.next(this)},Waypoint.prototype.previous=function(){return this.group.previous(this)},Waypoint.invokeAll=function(method){var allWaypointsArray=[];for(var waypointKey in allWaypoints)allWaypointsArray.push(allWaypoints[waypointKey]);for(var i=0,end=allWaypointsArray.length;i<end;i++)allWaypointsArray[i][method]()},Waypoint.destroyAll=function(){Waypoint.invokeAll("destroy")},Waypoint.disableAll=function(){Waypoint.invokeAll("disable")},Waypoint.enableAll=function(){Waypoint.Context.refreshAll();for(var waypointKey in allWaypoints)allWaypoints[waypointKey].enabled=!0;return this},Waypoint.refreshAll=function(){Waypoint.Context.refreshAll()},Waypoint.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},Waypoint.viewportWidth=function(){return document.documentElement.clientWidth},Waypoint.adapters=[],Waypoint.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},Waypoint.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=Waypoint}(),function(){"use strict";function requestAnimationFrameShim(callback){window.setTimeout(callback,1e3/60)}function Context(element){this.element=element,this.Adapter=Waypoint.Adapter,this.adapter=new this.Adapter(element),this.key="waypoint-context-"+keyCounter,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},element.waypointContextKey=this.key,contexts[element.waypointContextKey]=this,keyCounter+=1,Waypoint.windowContext||(Waypoint.windowContext=!0,Waypoint.windowContext=new Context(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var keyCounter=0,contexts={},Waypoint=window.Waypoint,oldWindowLoad=window.onload;Context.prototype.add=function(waypoint){var axis=waypoint.options.horizontal?"horizontal":"vertical";this.waypoints[axis][waypoint.key]=waypoint,this.refresh()},Context.prototype.checkEmpty=function(){var horizontalEmpty=this.Adapter.isEmptyObject(this.waypoints.horizontal),verticalEmpty=this.Adapter.isEmptyObject(this.waypoints.vertical),isWindow=this.element==this.element.window;horizontalEmpty&&verticalEmpty&&!isWindow&&(this.adapter.off(".waypoints"),delete contexts[this.key])},Context.prototype.createThrottledResizeHandler=function(){function resizeHandler(){self.handleResize(),self.didResize=!1}var self=this;this.adapter.on("resize.waypoints",function(){self.didResize||(self.didResize=!0,Waypoint.requestAnimationFrame(resizeHandler))})},Context.prototype.createThrottledScrollHandler=function(){function scrollHandler(){self.handleScroll(),self.didScroll=!1}var self=this;this.adapter.on("scroll.waypoints",function(){self.didScroll&&!Waypoint.isTouch||(self.didScroll=!0,Waypoint.requestAnimationFrame(scrollHandler))})},Context.prototype.handleResize=function(){Waypoint.Context.refreshAll()},Context.prototype.handleScroll=function(){var triggeredGroups={},axes={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var axisKey in axes){var axis=axes[axisKey],isForward=axis.newScroll>axis.oldScroll,direction=isForward?axis.forward:axis.backward;for(var waypointKey in this.waypoints[axisKey]){var waypoint=this.waypoints[axisKey][waypointKey];if(null!==waypoint.triggerPoint){var wasBeforeTriggerPoint=axis.oldScroll<waypoint.triggerPoint,nowAfterTriggerPoint=axis.newScroll>=waypoint.triggerPoint,crossedForward=wasBeforeTriggerPoint&&nowAfterTriggerPoint,crossedBackward=!wasBeforeTriggerPoint&&!nowAfterTriggerPoint;(crossedForward||crossedBackward)&&(waypoint.queueTrigger(direction),triggeredGroups[waypoint.group.id]=waypoint.group)}}}for(var groupKey in triggeredGroups)triggeredGroups[groupKey].flushTriggers();this.oldScroll={x:axes.horizontal.newScroll,y:axes.vertical.newScroll}},Context.prototype.innerHeight=function(){return this.element==this.element.window?Waypoint.viewportHeight():this.adapter.innerHeight()},Context.prototype.remove=function(waypoint){delete this.waypoints[waypoint.axis][waypoint.key],this.checkEmpty()},Context.prototype.innerWidth=function(){return this.element==this.element.window?Waypoint.viewportWidth():this.adapter.innerWidth()},Context.prototype.destroy=function(){var allWaypoints=[];for(var axis in this.waypoints)for(var waypointKey in this.waypoints[axis])allWaypoints.push(this.waypoints[axis][waypointKey]);for(var i=0,end=allWaypoints.length;i<end;i++)allWaypoints[i].destroy()},Context.prototype.refresh=function(){var axes,isWindow=this.element==this.element.window,contextOffset=isWindow?void 0:this.adapter.offset(),triggeredGroups={};this.handleScroll(),axes={horizontal:{contextOffset:isWindow?0:contextOffset.left,contextScroll:isWindow?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:isWindow?0:contextOffset.top,contextScroll:isWindow?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var axisKey in axes){var axis=axes[axisKey];for(var waypointKey in this.waypoints[axisKey]){var contextModifier,wasBeforeScroll,nowAfterScroll,triggeredBackward,triggeredForward,waypoint=this.waypoints[axisKey][waypointKey],adjustment=waypoint.options.offset,oldTriggerPoint=waypoint.triggerPoint,elementOffset=0,freshWaypoint=null==oldTriggerPoint;waypoint.element!==waypoint.element.window&&(elementOffset=waypoint.adapter.offset()[axis.offsetProp]),"function"==typeof adjustment?adjustment=adjustment.apply(waypoint):"string"==typeof adjustment&&(adjustment=parseFloat(adjustment),waypoint.options.offset.indexOf("%")>-1&&(adjustment=Math.ceil(axis.contextDimension*adjustment/100))),contextModifier=axis.contextScroll-axis.contextOffset,waypoint.triggerPoint=Math.floor(elementOffset+contextModifier-adjustment),wasBeforeScroll=oldTriggerPoint<axis.oldScroll,nowAfterScroll=waypoint.triggerPoint>=axis.oldScroll,triggeredBackward=wasBeforeScroll&&nowAfterScroll,triggeredForward=!wasBeforeScroll&&!nowAfterScroll,!freshWaypoint&&triggeredBackward?(waypoint.queueTrigger(axis.backward),triggeredGroups[waypoint.group.id]=waypoint.group):!freshWaypoint&&triggeredForward?(waypoint.queueTrigger(axis.forward),triggeredGroups[waypoint.group.id]=waypoint.group):freshWaypoint&&axis.oldScroll>=waypoint.triggerPoint&&(waypoint.queueTrigger(axis.forward),triggeredGroups[waypoint.group.id]=waypoint.group)}}return Waypoint.requestAnimationFrame(function(){for(var groupKey in triggeredGroups)triggeredGroups[groupKey].flushTriggers()}),this},Context.findOrCreateByElement=function(element){return Context.findByElement(element)||new Context(element)},Context.refreshAll=function(){for(var contextId in contexts)contexts[contextId].refresh()},Context.findByElement=function(element){return contexts[element.waypointContextKey]},window.onload=function(){oldWindowLoad&&oldWindowLoad(),Context.refreshAll()},Waypoint.requestAnimationFrame=function(callback){var requestFn=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||requestAnimationFrameShim;requestFn.call(window,callback)},Waypoint.Context=Context}(),function(){"use strict";function byTriggerPoint(a,b){return a.triggerPoint-b.triggerPoint}function byReverseTriggerPoint(a,b){return b.triggerPoint-a.triggerPoint}function Group(options){this.name=options.name,this.axis=options.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),groups[this.axis][this.name]=this}var groups={vertical:{},horizontal:{}},Waypoint=window.Waypoint;Group.prototype.add=function(waypoint){this.waypoints.push(waypoint)},Group.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},Group.prototype.flushTriggers=function(){for(var direction in this.triggerQueues){var waypoints=this.triggerQueues[direction],reverse="up"===direction||"left"===direction;waypoints.sort(reverse?byReverseTriggerPoint:byTriggerPoint);for(var i=0,end=waypoints.length;i<end;i+=1){var waypoint=waypoints[i];(waypoint.options.continuous||i===waypoints.length-1)&&waypoint.trigger([direction])}}this.clearTriggerQueues()},Group.prototype.next=function(waypoint){this.waypoints.sort(byTriggerPoint);var index=Waypoint.Adapter.inArray(waypoint,this.waypoints),isLast=index===this.waypoints.length-1;return isLast?null:this.waypoints[index+1]},Group.prototype.previous=function(waypoint){this.waypoints.sort(byTriggerPoint);var index=Waypoint.Adapter.inArray(waypoint,this.waypoints);return index?this.waypoints[index-1]:null},Group.prototype.queueTrigger=function(waypoint,direction){this.triggerQueues[direction].push(waypoint)},Group.prototype.remove=function(waypoint){var index=Waypoint.Adapter.inArray(waypoint,this.waypoints);index>-1&&this.waypoints.splice(index,1)},Group.prototype.first=function(){return this.waypoints[0]},Group.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},Group.findOrCreate=function(options){return groups[options.axis][options.name]||new Group(options)},Waypoint.Group=Group}(),function(){"use strict";function JQueryAdapter(element){this.$element=$(element)}var $=window.jQuery,Waypoint=window.Waypoint;$.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(i,method){JQueryAdapter.prototype[method]=function(){var args=Array.prototype.slice.call(arguments);return this.$element[method].apply(this.$element,args)}}),$.each(["extend","inArray","isEmptyObject"],function(i,method){JQueryAdapter[method]=$[method]}),Waypoint.adapters.push({name:"jquery",Adapter:JQueryAdapter}),Waypoint.Adapter=JQueryAdapter}(),function(){"use strict";function createExtension(framework){return function(){var waypoints=[],overrides=arguments[0];return framework.isFunction(arguments[0])&&(overrides=framework.extend({},arguments[1]),overrides.handler=arguments[0]),this.each(function(){var options=framework.extend({},overrides,{element:this});"string"==typeof options.context&&(options.context=framework(this).closest(options.context)[0]),waypoints.push(new Waypoint(options))}),waypoints}}var Waypoint=window.Waypoint;window.jQuery&&(window.jQuery.fn.elementorWaypoint=createExtension(window.jQuery)),window.Zepto&&(window.Zepto.fn.elementorWaypoint=createExtension(window.Zepto))}();
/*! jQuery UI - v1.13.1 - 2022-01-20
* http://jqueryui.com
* Includes: data.js, disable-selection.js, escape-selector.js, focusable.js, form-reset-mixin.js, form.js, ie.js, jquery-1-7.js, keycode.js, labels.js, plugin.js, position.js, safe-active-element.js, safe-blur.js, scroll-parent.js, tabbable.js, unique-id.js, version.js, widget.js
* Copyright jQuery Foundation and other contributors; Licensed  */
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.1",
/*!
 * jQuery UI :data 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}),
/*!
 * jQuery UI Disable Selection 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),
/*!
 * jQuery UI Focusable 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&(0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},
/*!
 * jQuery UI Form Reset Mixin 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),
/*!
 * jQuery UI Support for jQuery core 1.8.x and newer 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 */
x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),
/*!
 * jQuery UI Keycode 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},
/*!
 * jQuery UI Labels 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}},
/*!
 * jQuery UI Position 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/position/
 */
W=Math.max,C=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,h=x.fn.position,x.position={scrollbarWidth:function(){if(void 0!==n)return n;var t,e=x("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>"),i=e.children()[0];return x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=N(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(f){if(!f||!f.of)return h.apply(this,arguments);var c,d,p,g,m,t,v="string"==typeof(f=x.extend({},f)).of?x(document).find(f.of):x(f.of),y=x.position.getWithinInfo(f.within),w=x.position.getScrollInfo(y),b=(f.collision||"flip").split(" "),_={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:N(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()};return v[0].preventDefault&&(f.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(f[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],f[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===f.at[0]?m.left+=d:"center"===f.at[0]&&(m.left+=d/2),"bottom"===f.at[1]?m.top+=p:"center"===f.at[1]&&(m.top+=p/2),c=E(_.at,d,p),m.left+=c[0],m.top+=c[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=L(this,"marginLeft"),n=L(this,"marginTop"),o=l+e+L(this,"marginRight")+w.width,s=a+n+L(this,"marginBottom")+w.height,h=x.extend({},m),u=E(_.my,r.outerWidth(),r.outerHeight());"right"===f.my[0]?h.left-=l:"center"===f.my[0]&&(h.left-=l/2),"bottom"===f.my[1]?h.top-=a:"center"===f.my[1]&&(h.top-=a/2),h.left+=u[0],h.top+=u[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[c[0]+u[0],c[1]+u[1]],my:f.my,at:f.at,within:y,elem:r})}),f.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;e.collisionWidth>n?0<r&&l<=0?(i=t.left+r+e.collisionWidth-n-o,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?o+n-e.collisionWidth:o:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;e.collisionHeight>o?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=t.left-e.collisionPosition.marginLeft,r=s-i,s=s+e.collisionWidth-o-i,l="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,a="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+l+a+h+e.collisionWidth-o-n)<0||o<C(r))&&(t.left+=l+a+h):0<s&&(0<(n=t.left-e.collisionPosition.marginLeft+l+a+h-i)||C(n)<s)&&(t.left+=l+a+h)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=t.top-e.collisionPosition.marginTop,r=s-i,s=s+e.collisionHeight-o-i,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,a="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?((o=t.top+l+a+h+e.collisionHeight-o-n)<0||o<C(r))&&(t.top+=l+a+h):0<s&&(0<(n=t.top-e.collisionPosition.marginTop+l+a+h-i)||C(n)<s)&&(t.top+=l+a+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=(i=i||e.body).nodeName?i:e.body},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")},
/*!
 * jQuery UI Scroll Parent 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},
/*!
 * jQuery UI Tabbable 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}),
/*!
 * jQuery UI Unique ID 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}});
/*!
 * jQuery UI Widget 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
var f,c=0,d=Array.prototype.hasOwnProperty,p=Array.prototype.slice;x.cleanData=(f=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");f(t)}),x.widget=function(t,i,e){var n,o,s,r={},l=t.split(".")[0],a=l+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[a.toLowerCase()]=function(t){return!!x.data(t,a)},x[l]=x[l]||{},n=x[l][t],o=x[l][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}r[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:a}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,n=p.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],d.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=p.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,e={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+l.eventNamespace,t=t[2];t?r.on(n,t,i):s.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}})});
/**
 * Swiper 5.3.6
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * http://swiperjs.com
 *
 * Copyright 2014-2020 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: February 29, 2020
 */

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Swiper=t()}(this,(function(){"use strict";var e="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,t="undefined"==typeof window?{document:e,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,i=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this};function s(s,a){var r=[],n=0;if(s&&!a&&s instanceof i)return s;if(s)if("string"==typeof s){var o,l,d=s.trim();if(d.indexOf("<")>=0&&d.indexOf(">")>=0){var h="div";for(0===d.indexOf("<li")&&(h="ul"),0===d.indexOf("<tr")&&(h="tbody"),0!==d.indexOf("<td")&&0!==d.indexOf("<th")||(h="tr"),0===d.indexOf("<tbody")&&(h="table"),0===d.indexOf("<option")&&(h="select"),(l=e.createElement(h)).innerHTML=d,n=0;n<l.childNodes.length;n+=1)r.push(l.childNodes[n])}else for(o=a||"#"!==s[0]||s.match(/[ .<>:~]/)?(a||e).querySelectorAll(s.trim()):[e.getElementById(s.trim().split("#")[1])],n=0;n<o.length;n+=1)o[n]&&r.push(o[n])}else if(s.nodeType||s===t||s===e)r.push(s);else if(s.length>0&&s[0].nodeType)for(n=0;n<s.length;n+=1)r.push(s[n]);return new i(r)}function a(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}s.fn=i.prototype,s.Class=i,s.Dom7=i;var r={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.add(t[i]);return this},removeClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.remove(t[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.toggle(t[i]);return this},attr:function(e,t){var i=arguments;if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var s=0;s<this.length;s+=1)if(2===i.length)this[s].setAttribute(e,t);else for(var a in e)this[s][a]=e[a],this[s].setAttribute(a,e[a]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var i;if(void 0!==t){for(var s=0;s<this.length;s+=1)(i=this[s]).dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t;return this}if(i=this[0]){if(i.dom7ElementDataStorage&&e in i.dom7ElementDataStorage)return i.dom7ElementDataStorage[e];var a=i.getAttribute("data-"+e);return a||void 0}},transform:function(e){for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransform=e,i.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return this},on:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var a=t[0],r=t[1],n=t[2],o=t[3];function l(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),s(t).is(r))n.apply(t,i);else for(var a=s(t).parents(),o=0;o<a.length;o+=1)s(a[o]).is(r)&&n.apply(a[o],i)}}function d(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}"function"==typeof t[1]&&(a=(e=t)[0],n=e[1],o=e[2],r=void 0),o||(o=!1);for(var h,p=a.split(" "),c=0;c<this.length;c+=1){var u=this[c];if(r)for(h=0;h<p.length;h+=1){var v=p[h];u.dom7LiveListeners||(u.dom7LiveListeners={}),u.dom7LiveListeners[v]||(u.dom7LiveListeners[v]=[]),u.dom7LiveListeners[v].push({listener:n,proxyListener:l}),u.addEventListener(v,l,o)}else for(h=0;h<p.length;h+=1){var f=p[h];u.dom7Listeners||(u.dom7Listeners={}),u.dom7Listeners[f]||(u.dom7Listeners[f]=[]),u.dom7Listeners[f].push({listener:n,proxyListener:d}),u.addEventListener(f,d,o)}}return this},off:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var s=t[0],a=t[1],r=t[2],n=t[3];"function"==typeof t[1]&&(s=(e=t)[0],r=e[1],n=e[2],a=void 0),n||(n=!1);for(var o=s.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],h=0;h<this.length;h+=1){var p=this[h],c=void 0;if(!a&&p.dom7Listeners?c=p.dom7Listeners[d]:a&&p.dom7LiveListeners&&(c=p.dom7LiveListeners[d]),c&&c.length)for(var u=c.length-1;u>=0;u-=1){var v=c[u];r&&v.listener===r?(p.removeEventListener(d,v.proxyListener,n),c.splice(u,1)):r&&v.listener&&v.listener.dom7proxy&&v.listener.dom7proxy===r?(p.removeEventListener(d,v.proxyListener,n),c.splice(u,1)):r||(p.removeEventListener(d,v.proxyListener,n),c.splice(u,1))}}return this},trigger:function(){for(var i=[],s=arguments.length;s--;)i[s]=arguments[s];for(var a=i[0].split(" "),r=i[1],n=0;n<a.length;n+=1)for(var o=a[n],l=0;l<this.length;l+=1){var d=this[l],h=void 0;try{h=new t.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0})}catch(t){(h=e.createEvent("Event")).initEvent(o,!0,!0),h.detail=r}d.dom7EventData=i.filter((function(e,t){return t>0})),d.dispatchEvent(h),d.dom7EventData=[],delete d.dom7EventData}return this},transitionEnd:function(e){var t,i=["webkitTransitionEnd","transitionend"],s=this;function a(r){if(r.target===this)for(e.call(this,r),t=0;t<i.length;t+=1)s.off(i[t],a)}if(e)for(t=0;t<i.length;t+=1)s.on(i[t],a);return this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var i=this[0],s=i.getBoundingClientRect(),a=e.body,r=i.clientTop||a.clientTop||0,n=i.clientLeft||a.clientLeft||0,o=i===t?t.scrollY:i.scrollTop,l=i===t?t.scrollX:i.scrollLeft;return{top:s.top+o-r,left:s.left+l-n}}return null},css:function(e,i){var s;if(1===arguments.length){if("string"!=typeof e){for(s=0;s<this.length;s+=1)for(var a in e)this[s].style[a]=e[a];return this}if(this[0])return t.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(s=0;s<this.length;s+=1)this[s].style[e]=i;return this}return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(a){var r,n,o=this[0];if(!o||void 0===a)return!1;if("string"==typeof a){if(o.matches)return o.matches(a);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(a);if(o.msMatchesSelector)return o.msMatchesSelector(a);for(r=s(a),n=0;n<r.length;n+=1)if(r[n]===o)return!0;return!1}if(a===e)return o===e;if(a===t)return o===t;if(a.nodeType||a instanceof i){for(r=a.nodeType?[a]:a,n=0;n<r.length;n+=1)if(r[n]===o)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,s=this.length;return new i(e>s-1?[]:e<0?(t=s+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var t,s=[],a=arguments.length;a--;)s[a]=arguments[a];for(var r=0;r<s.length;r+=1){t=s[r];for(var n=0;n<this.length;n+=1)if("string"==typeof t){var o=e.createElement("div");for(o.innerHTML=t;o.firstChild;)this[n].appendChild(o.firstChild)}else if(t instanceof i)for(var l=0;l<t.length;l+=1)this[n].appendChild(t[l]);else this[n].appendChild(t)}return this},prepend:function(t){var s,a;for(s=0;s<this.length;s+=1)if("string"==typeof t){var r=e.createElement("div");for(r.innerHTML=t,a=r.childNodes.length-1;a>=0;a-=1)this[s].insertBefore(r.childNodes[a],this[s].childNodes[0])}else if(t instanceof i)for(a=0;a<t.length;a+=1)this[s].insertBefore(t[a],this[s].childNodes[0]);else this[s].insertBefore(t,this[s].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&s(this[0].nextElementSibling).is(e)?new i([this[0].nextElementSibling]):new i([]):this[0].nextElementSibling?new i([this[0].nextElementSibling]):new i([]):new i([])},nextAll:function(e){var t=[],a=this[0];if(!a)return new i([]);for(;a.nextElementSibling;){var r=a.nextElementSibling;e?s(r).is(e)&&t.push(r):t.push(r),a=r}return new i(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&s(t.previousElementSibling).is(e)?new i([t.previousElementSibling]):new i([]):t.previousElementSibling?new i([t.previousElementSibling]):new i([])}return new i([])},prevAll:function(e){var t=[],a=this[0];if(!a)return new i([]);for(;a.previousElementSibling;){var r=a.previousElementSibling;e?s(r).is(e)&&t.push(r):t.push(r),a=r}return new i(t)},parent:function(e){for(var t=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?s(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return s(a(t))},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var r=this[i].parentNode;r;)e?s(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return s(a(t))},closest:function(e){var t=this;return void 0===e?new i([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],s=0;s<this.length;s+=1)for(var a=this[s].querySelectorAll(e),r=0;r<a.length;r+=1)t.push(a[r]);return new i(t)},children:function(e){for(var t=[],r=0;r<this.length;r+=1)for(var n=this[r].childNodes,o=0;o<n.length;o+=1)e?1===n[o].nodeType&&s(n[o]).is(e)&&t.push(n[o]):1===n[o].nodeType&&t.push(n[o]);return new i(a(t))},filter:function(e){for(var t=[],s=0;s<this.length;s+=1)e.call(this[s],s,this[s])&&t.push(this[s]);return new i(t)},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,a;for(i=0;i<e.length;i+=1){var r=s(e[i]);for(a=0;a<r.length;a+=1)this[this.length]=r[a],this.length+=1}return this},styles:function(){return this[0]?t.getComputedStyle(this[0],null):{}}};Object.keys(r).forEach((function(e){s.fn[e]=s.fn[e]||r[e]}));var n={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,i){var s,a,r;void 0===i&&(i="x");var n=t.getComputedStyle(e,null);return t.WebKitCSSMatrix?((a=n.transform||n.webkitTransform).split(",").length>6&&(a=a.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),r=new t.WebKitCSSMatrix("none"===a?"":a)):s=(r=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===i&&(a=t.WebKitCSSMatrix?r.m41:16===s.length?parseFloat(s[12]):parseFloat(s[4])),"y"===i&&(a=t.WebKitCSSMatrix?r.m42:16===s.length?parseFloat(s[13]):parseFloat(s[5])),a||0},parseUrlQuery:function(e){var i,s,a,r,n={},o=e||t.location.href;if("string"==typeof o&&o.length)for(r=(s=(o=o.indexOf("?")>-1?o.replace(/\S*\?/,""):"").split("&").filter((function(e){return""!==e}))).length,i=0;i<r;i+=1)a=s[i].replace(/#\S+/g,"").split("="),n[decodeURIComponent(a[0])]=void 0===a[1]?void 0:decodeURIComponent(a[1])||"";return n},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=Object(e[0]),s=1;s<e.length;s+=1){var a=e[s];if(null!=a)for(var r=Object.keys(Object(a)),o=0,l=r.length;o<l;o+=1){var d=r[o],h=Object.getOwnPropertyDescriptor(a,d);void 0!==h&&h.enumerable&&(n.isObject(i[d])&&n.isObject(a[d])?n.extend(i[d],a[d]):!n.isObject(i[d])&&n.isObject(a[d])?(i[d]={},n.extend(i[d],a[d])):i[d]=a[d])}}return i}},o={touch:t.Modernizr&&!0===t.Modernizr.touch||!!(t.navigator.maxTouchPoints>0||"ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),pointerEvents:!!t.PointerEvent&&"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>0,observer:"MutationObserver"in t||"WebkitMutationObserver"in t,passiveListener:function(){var e=!1;try{var i=Object.defineProperty({},"passive",{get:function(){e=!0}});t.addEventListener("testPassiveListener",null,i)}catch(e){}return e}(),gestures:"ongesturestart"in t},l=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach((function(e){t.on(e,t.params.on[e])}))},d={components:{configurable:!0}};l.prototype.on=function(e,t,i){var s=this;if("function"!=typeof t)return s;var a=i?"unshift":"push";return e.split(" ").forEach((function(e){s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][a](t)})),s},l.prototype.once=function(e,t,i){var s=this;if("function"!=typeof t)return s;function a(){for(var i=[],r=arguments.length;r--;)i[r]=arguments[r];s.off(e,a),a.f7proxy&&delete a.f7proxy,t.apply(s,i)}return a.f7proxy=t,s.on(e,a,i)},l.prototype.off=function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].length&&i.eventsListeners[e].forEach((function(s,a){(s===t||s.f7proxy&&s.f7proxy===t)&&i.eventsListeners[e].splice(a,1)}))})),i):i},l.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,s,a,r=this;if(!r.eventsListeners)return r;"string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],s=e.slice(1,e.length),a=r):(i=e[0].events,s=e[0].data,a=e[0].context||r);var n=Array.isArray(i)?i:i.split(" ");return n.forEach((function(e){if(r.eventsListeners&&r.eventsListeners[e]){var t=[];r.eventsListeners[e].forEach((function(e){t.push(e)})),t.forEach((function(e){e.apply(a,s)}))}})),r},l.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var s=t.modules[i];s.params&&n.extend(e,s.params)}))},l.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var s=t.modules[i],a=e[i]||{};s.instance&&Object.keys(s.instance).forEach((function(e){var i=s.instance[e];t[e]="function"==typeof i?i.bind(t):i})),s.on&&t.on&&Object.keys(s.on).forEach((function(e){t.on(e,s.on[e])})),s.create&&s.create.bind(t)(a)}))},d.components.set=function(e){this.use&&this.use(e)},l.installModule=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var s=this;s.prototype.modules||(s.prototype.modules={});var a=e.name||Object.keys(s.prototype.modules).length+"_"+n.now();return s.prototype.modules[a]=e,e.proto&&Object.keys(e.proto).forEach((function(t){s.prototype[t]=e.proto[t]})),e.static&&Object.keys(e.static).forEach((function(t){s[t]=e.static[t]})),e.install&&e.install.apply(s,t),s},l.use=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var s=this;return Array.isArray(e)?(e.forEach((function(e){return s.installModule(e)})),s):s.installModule.apply(s,[e].concat(t))},Object.defineProperties(l,d);var h={updateSize:function(){var e,t,i=this.$el;e=void 0!==this.params.width?this.params.width:i[0].clientWidth,t=void 0!==this.params.height?this.params.height:i[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),n.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var e=this.params,i=this.$wrapperEl,s=this.size,a=this.rtlTranslate,r=this.wrongRTL,o=this.virtual&&e.virtual.enabled,l=o?this.virtual.slides.length:this.slides.length,d=i.children("."+this.params.slideClass),h=o?this.virtual.slides.length:d.length,p=[],c=[],u=[];function v(t){return!e.cssMode||t!==d.length-1}var f=e.slidesOffsetBefore;"function"==typeof f&&(f=e.slidesOffsetBefore.call(this));var m=e.slidesOffsetAfter;"function"==typeof m&&(m=e.slidesOffsetAfter.call(this));var g=this.snapGrid.length,b=this.snapGrid.length,w=e.spaceBetween,y=-f,x=0,T=0;if(void 0!==s){var E,S;"string"==typeof w&&w.indexOf("%")>=0&&(w=parseFloat(w.replace("%",""))/100*s),this.virtualSize=-w,a?d.css({marginLeft:"",marginTop:""}):d.css({marginRight:"",marginBottom:""}),e.slidesPerColumn>1&&(E=Math.floor(h/e.slidesPerColumn)===h/this.params.slidesPerColumn?h:Math.ceil(h/e.slidesPerColumn)*e.slidesPerColumn,"auto"!==e.slidesPerView&&"row"===e.slidesPerColumnFill&&(E=Math.max(E,e.slidesPerView*e.slidesPerColumn)));for(var C,M=e.slidesPerColumn,P=E/M,z=Math.floor(h/e.slidesPerColumn),k=0;k<h;k+=1){S=0;var $=d.eq(k);if(e.slidesPerColumn>1){var L=void 0,I=void 0,D=void 0;if("row"===e.slidesPerColumnFill&&e.slidesPerGroup>1){var O=Math.floor(k/(e.slidesPerGroup*e.slidesPerColumn)),A=k-e.slidesPerColumn*e.slidesPerGroup*O,G=0===O?e.slidesPerGroup:Math.min(Math.ceil((h-O*M*e.slidesPerGroup)/M),e.slidesPerGroup);L=(I=A-(D=Math.floor(A/G))*G+O*e.slidesPerGroup)+D*E/M,$.css({"-webkit-box-ordinal-group":L,"-moz-box-ordinal-group":L,"-ms-flex-order":L,"-webkit-order":L,order:L})}else"column"===e.slidesPerColumnFill?(D=k-(I=Math.floor(k/M))*M,(I>z||I===z&&D===M-1)&&(D+=1)>=M&&(D=0,I+=1)):I=k-(D=Math.floor(k/P))*P;$.css("margin-"+(this.isHorizontal()?"top":"left"),0!==D&&e.spaceBetween&&e.spaceBetween+"px")}if("none"!==$.css("display")){if("auto"===e.slidesPerView){var H=t.getComputedStyle($[0],null),B=$[0].style.transform,N=$[0].style.webkitTransform;if(B&&($[0].style.transform="none"),N&&($[0].style.webkitTransform="none"),e.roundLengths)S=this.isHorizontal()?$.outerWidth(!0):$.outerHeight(!0);else if(this.isHorizontal()){var X=parseFloat(H.getPropertyValue("width")),V=parseFloat(H.getPropertyValue("padding-left")),Y=parseFloat(H.getPropertyValue("padding-right")),F=parseFloat(H.getPropertyValue("margin-left")),W=parseFloat(H.getPropertyValue("margin-right")),R=H.getPropertyValue("box-sizing");S=R&&"border-box"===R?X+F+W:X+V+Y+F+W}else{var q=parseFloat(H.getPropertyValue("height")),j=parseFloat(H.getPropertyValue("padding-top")),K=parseFloat(H.getPropertyValue("padding-bottom")),U=parseFloat(H.getPropertyValue("margin-top")),_=parseFloat(H.getPropertyValue("margin-bottom")),Z=H.getPropertyValue("box-sizing");S=Z&&"border-box"===Z?q+U+_:q+j+K+U+_}B&&($[0].style.transform=B),N&&($[0].style.webkitTransform=N),e.roundLengths&&(S=Math.floor(S))}else S=(s-(e.slidesPerView-1)*w)/e.slidesPerView,e.roundLengths&&(S=Math.floor(S)),d[k]&&(this.isHorizontal()?d[k].style.width=S+"px":d[k].style.height=S+"px");d[k]&&(d[k].swiperSlideSize=S),u.push(S),e.centeredSlides?(y=y+S/2+x/2+w,0===x&&0!==k&&(y=y-s/2-w),0===k&&(y=y-s/2-w),Math.abs(y)<.001&&(y=0),e.roundLengths&&(y=Math.floor(y)),T%e.slidesPerGroup==0&&p.push(y),c.push(y)):(e.roundLengths&&(y=Math.floor(y)),(T-Math.min(this.params.slidesPerGroupSkip,T))%this.params.slidesPerGroup==0&&p.push(y),c.push(y),y=y+S+w),this.virtualSize+=S+w,x=S,T+=1}}if(this.virtualSize=Math.max(this.virtualSize,s)+m,a&&r&&("slide"===e.effect||"coverflow"===e.effect)&&i.css({width:this.virtualSize+e.spaceBetween+"px"}),e.setWrapperSize&&(this.isHorizontal()?i.css({width:this.virtualSize+e.spaceBetween+"px"}):i.css({height:this.virtualSize+e.spaceBetween+"px"})),e.slidesPerColumn>1&&(this.virtualSize=(S+e.spaceBetween)*E,this.virtualSize=Math.ceil(this.virtualSize/e.slidesPerColumn)-e.spaceBetween,this.isHorizontal()?i.css({width:this.virtualSize+e.spaceBetween+"px"}):i.css({height:this.virtualSize+e.spaceBetween+"px"}),e.centeredSlides)){C=[];for(var Q=0;Q<p.length;Q+=1){var J=p[Q];e.roundLengths&&(J=Math.floor(J)),p[Q]<this.virtualSize+p[0]&&C.push(J)}p=C}if(!e.centeredSlides){C=[];for(var ee=0;ee<p.length;ee+=1){var te=p[ee];e.roundLengths&&(te=Math.floor(te)),p[ee]<=this.virtualSize-s&&C.push(te)}p=C,Math.floor(this.virtualSize-s)-Math.floor(p[p.length-1])>1&&p.push(this.virtualSize-s)}if(0===p.length&&(p=[0]),0!==e.spaceBetween&&(this.isHorizontal()?a?d.filter(v).css({marginLeft:w+"px"}):d.filter(v).css({marginRight:w+"px"}):d.filter(v).css({marginBottom:w+"px"})),e.centeredSlides&&e.centeredSlidesBounds){var ie=0;u.forEach((function(t){ie+=t+(e.spaceBetween?e.spaceBetween:0)}));var se=(ie-=e.spaceBetween)-s;p=p.map((function(e){return e<0?-f:e>se?se+m:e}))}if(e.centerInsufficientSlides){var ae=0;if(u.forEach((function(t){ae+=t+(e.spaceBetween?e.spaceBetween:0)})),(ae-=e.spaceBetween)<s){var re=(s-ae)/2;p.forEach((function(e,t){p[t]=e-re})),c.forEach((function(e,t){c[t]=e+re}))}}n.extend(this,{slides:d,snapGrid:p,slidesGrid:c,slidesSizesGrid:u}),h!==l&&this.emit("slidesLengthChange"),p.length!==g&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),c.length!==b&&this.emit("slidesGridLengthChange"),(e.watchSlidesProgress||e.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(e){var t,i=[],s=0;if("number"==typeof e?this.setTransition(e):!0===e&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&this.params.slidesPerView>1)if(this.params.centeredSlides)i.push.apply(i,this.visibleSlides);else for(t=0;t<Math.ceil(this.params.slidesPerView);t+=1){var a=this.activeIndex+t;if(a>this.slides.length)break;i.push(this.slides.eq(a)[0])}else i.push(this.slides.eq(this.activeIndex)[0]);for(t=0;t<i.length;t+=1)if(void 0!==i[t]){var r=i[t].offsetHeight;s=r>s?r:s}s&&this.$wrapperEl.css("height",s+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,i=this.slides,a=this.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();var r=-e;a&&(r=e),i.removeClass(t.slideVisibleClass),this.visibleSlidesIndexes=[],this.visibleSlides=[];for(var n=0;n<i.length;n+=1){var o=i[n],l=(r+(t.centeredSlides?this.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+t.spaceBetween);if(t.watchSlidesVisibility||t.centeredSlides&&t.autoHeight){var d=-(r-o.swiperSlideOffset),h=d+this.slidesSizesGrid[n];(d>=0&&d<this.size-1||h>1&&h<=this.size||d<=0&&h>=this.size)&&(this.visibleSlides.push(o),this.visibleSlidesIndexes.push(n),i.eq(n).addClass(t.slideVisibleClass))}o.progress=a?-l:l}this.visibleSlides=s(this.visibleSlides)}},updateProgress:function(e){if(void 0===e){var t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}var i=this.params,s=this.maxTranslate()-this.minTranslate(),a=this.progress,r=this.isBeginning,o=this.isEnd,l=r,d=o;0===s?(a=0,r=!0,o=!0):(r=(a=(e-this.minTranslate())/s)<=0,o=a>=1),n.extend(this,{progress:a,isBeginning:r,isEnd:o}),(i.watchSlidesProgress||i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight)&&this.updateSlidesProgress(e),r&&!l&&this.emit("reachBeginning toEdge"),o&&!d&&this.emit("reachEnd toEdge"),(l&&!r||d&&!o)&&this.emit("fromEdge"),this.emit("progress",a)},updateSlidesClasses:function(){var e,t=this.slides,i=this.params,s=this.$wrapperEl,a=this.activeIndex,r=this.realIndex,n=this.virtual&&i.virtual.enabled;t.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=n?this.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+a+'"]'):t.eq(a)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass));var o=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===o.length&&(o=t.eq(0)).addClass(i.slideNextClass);var l=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===l.length&&(l=t.eq(-1)).addClass(i.slidePrevClass),i.loop&&(o.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),l.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,i=this.rtlTranslate?this.translate:-this.translate,s=this.slidesGrid,a=this.snapGrid,r=this.params,o=this.activeIndex,l=this.realIndex,d=this.snapIndex,h=e;if(void 0===h){for(var p=0;p<s.length;p+=1)void 0!==s[p+1]?i>=s[p]&&i<s[p+1]-(s[p+1]-s[p])/2?h=p:i>=s[p]&&i<s[p+1]&&(h=p+1):i>=s[p]&&(h=p);r.normalizeSlideIndex&&(h<0||void 0===h)&&(h=0)}if(a.indexOf(i)>=0)t=a.indexOf(i);else{var c=Math.min(r.slidesPerGroupSkip,h);t=c+Math.floor((h-c)/r.slidesPerGroup)}if(t>=a.length&&(t=a.length-1),h!==o){var u=parseInt(this.slides.eq(h).attr("data-swiper-slide-index")||h,10);n.extend(this,{snapIndex:t,realIndex:u,previousIndex:o,activeIndex:h}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),l!==u&&this.emit("realIndexChange"),(this.initialized||this.runCallbacksOnInit)&&this.emit("slideChange")}else t!==d&&(this.snapIndex=t,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this.params,i=s(e.target).closest("."+t.slideClass)[0],a=!1;if(i)for(var r=0;r<this.slides.length;r+=1)this.slides[r]===i&&(a=!0);if(!i||!a)return this.clickedSlide=void 0,void(this.clickedIndex=void 0);this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(s(i).attr("data-swiper-slide-index"),10):this.clickedIndex=s(i).index(),t.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}};var p={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,i=this.rtlTranslate,s=this.translate,a=this.$wrapperEl;if(t.virtualTranslate)return i?-s:s;if(t.cssMode)return s;var r=n.getTranslate(a[0],e);return i&&(r=-r),r||0},setTranslate:function(e,t){var i=this.rtlTranslate,s=this.params,a=this.$wrapperEl,r=this.wrapperEl,n=this.progress,o=0,l=0;this.isHorizontal()?o=i?-e:e:l=e,s.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),s.cssMode?r[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-o:-l:s.virtualTranslate||a.transform("translate3d("+o+"px, "+l+"px, 0px)"),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?o:l;var d=this.maxTranslate()-this.minTranslate();(0===d?0:(e-this.minTranslate())/d)!==n&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,s,a){var r;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===s&&(s=!0);var n=this,o=n.params,l=n.wrapperEl;if(n.animating&&o.preventInteractionOnTransition)return!1;var d,h=n.minTranslate(),p=n.maxTranslate();if(d=s&&e>h?h:s&&e<p?p:e,n.updateProgress(d),o.cssMode){var c=n.isHorizontal();return 0===t?l[c?"scrollLeft":"scrollTop"]=-d:l.scrollTo?l.scrollTo(((r={})[c?"left":"top"]=-d,r.behavior="smooth",r)):l[c?"scrollLeft":"scrollTop"]=-d,!0}return 0===t?(n.setTransition(0),n.setTranslate(d),i&&(n.emit("beforeTransitionStart",t,a),n.emit("transitionEnd"))):(n.setTransition(t),n.setTranslate(d),i&&(n.emit("beforeTransitionStart",t,a),n.emit("transitionStart")),n.animating||(n.animating=!0,n.onTranslateToWrapperTransitionEnd||(n.onTranslateToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.$wrapperEl[0].removeEventListener("transitionend",n.onTranslateToWrapperTransitionEnd),n.$wrapperEl[0].removeEventListener("webkitTransitionEnd",n.onTranslateToWrapperTransitionEnd),n.onTranslateToWrapperTransitionEnd=null,delete n.onTranslateToWrapperTransitionEnd,i&&n.emit("transitionEnd"))}),n.$wrapperEl[0].addEventListener("transitionend",n.onTranslateToWrapperTransitionEnd),n.$wrapperEl[0].addEventListener("webkitTransitionEnd",n.onTranslateToWrapperTransitionEnd))),!0}};var c={setTransition:function(e,t){this.params.cssMode||this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,s=this.params,a=this.previousIndex;if(!s.cssMode){s.autoHeight&&this.updateAutoHeight();var r=t;if(r||(r=i>a?"next":i<a?"prev":"reset"),this.emit("transitionStart"),e&&i!==a){if("reset"===r)return void this.emit("slideResetTransitionStart");this.emit("slideChangeTransitionStart"),"next"===r?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")}}},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,s=this.previousIndex,a=this.params;if(this.animating=!1,!a.cssMode){this.setTransition(0);var r=t;if(r||(r=i>s?"next":i<s?"prev":"reset"),this.emit("transitionEnd"),e&&i!==s){if("reset"===r)return void this.emit("slideResetTransitionEnd");this.emit("slideChangeTransitionEnd"),"next"===r?this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd")}}}};var u={slideTo:function(e,t,i,s){var a;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var r=this,n=e;n<0&&(n=0);var o=r.params,l=r.snapGrid,d=r.slidesGrid,h=r.previousIndex,p=r.activeIndex,c=r.rtlTranslate,u=r.wrapperEl;if(r.animating&&o.preventInteractionOnTransition)return!1;var v=Math.min(r.params.slidesPerGroupSkip,n),f=v+Math.floor((n-v)/r.params.slidesPerGroup);f>=l.length&&(f=l.length-1),(p||o.initialSlide||0)===(h||0)&&i&&r.emit("beforeSlideChangeStart");var m,g=-l[f];if(r.updateProgress(g),o.normalizeSlideIndex)for(var b=0;b<d.length;b+=1)-Math.floor(100*g)>=Math.floor(100*d[b])&&(n=b);if(r.initialized&&n!==p){if(!r.allowSlideNext&&g<r.translate&&g<r.minTranslate())return!1;if(!r.allowSlidePrev&&g>r.translate&&g>r.maxTranslate()&&(p||0)!==n)return!1}if(m=n>p?"next":n<p?"prev":"reset",c&&-g===r.translate||!c&&g===r.translate)return r.updateActiveIndex(n),o.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==o.effect&&r.setTranslate(g),"reset"!==m&&(r.transitionStart(i,m),r.transitionEnd(i,m)),!1;if(o.cssMode){var w=r.isHorizontal();return 0===t?u[w?"scrollLeft":"scrollTop"]=-g:u.scrollTo?u.scrollTo(((a={})[w?"left":"top"]=-g,a.behavior="smooth",a)):u[w?"scrollLeft":"scrollTop"]=-g,!0}return 0===t?(r.setTransition(0),r.setTranslate(g),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,s),r.transitionStart(i,m),r.transitionEnd(i,m)):(r.setTransition(t),r.setTranslate(g),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,s),r.transitionStart(i,m),r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,m))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(e,t,i,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var a=e;return this.params.loop&&(a+=this.loopedSlides),this.slideTo(a,t,i,s)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this.params,a=this.animating,r=this.activeIndex<s.slidesPerGroupSkip?1:s.slidesPerGroup;if(s.loop){if(a)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}return this.slideTo(this.activeIndex+r,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this.params,a=this.animating,r=this.snapGrid,n=this.slidesGrid,o=this.rtlTranslate;if(s.loop){if(a)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}function l(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var d,h=l(o?this.translate:-this.translate),p=r.map((function(e){return l(e)})),c=(n.map((function(e){return l(e)})),r[p.indexOf(h)],r[p.indexOf(h)-1]);return void 0===c&&s.cssMode&&r.forEach((function(e){!c&&h>=e&&(c=e)})),void 0!==c&&(d=n.indexOf(c))<0&&(d=this.activeIndex-1),this.slideTo(d,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===s&&(s=.5);var a=this.activeIndex,r=Math.min(this.params.slidesPerGroupSkip,a),n=r+Math.floor((a-r)/this.params.slidesPerGroup),o=this.rtlTranslate?this.translate:-this.translate;if(o>=this.snapGrid[n]){var l=this.snapGrid[n];o-l>(this.snapGrid[n+1]-l)*s&&(a+=this.params.slidesPerGroup)}else{var d=this.snapGrid[n-1];o-d<=(this.snapGrid[n]-d)*s&&(a-=this.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,this.slidesGrid.length-1),this.slideTo(a,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,a=t.$wrapperEl,r="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,o=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(s(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?o<t.loopedSlides-r/2||o>t.slides.length-t.loopedSlides+r/2?(t.loopFix(),o=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),n.nextTick((function(){t.slideTo(o)}))):t.slideTo(o):o>t.slides.length-r?(t.loopFix(),o=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),n.nextTick((function(){t.slideTo(o)}))):t.slideTo(o)}else t.slideTo(o)}};var v={loopCreate:function(){var t=this,i=t.params,a=t.$wrapperEl;a.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var r=a.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var n=i.slidesPerGroup-r.length%i.slidesPerGroup;if(n!==i.slidesPerGroup){for(var o=0;o<n;o+=1){var l=s(e.createElement("div")).addClass(i.slideClass+" "+i.slideBlankClass);a.append(l)}r=a.children("."+i.slideClass)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=r.length),t.loopedSlides=Math.ceil(parseFloat(i.loopedSlides||i.slidesPerView,10)),t.loopedSlides+=i.loopAdditionalSlides,t.loopedSlides>r.length&&(t.loopedSlides=r.length);var d=[],h=[];r.each((function(e,i){var a=s(i);e<t.loopedSlides&&h.push(i),e<r.length&&e>=r.length-t.loopedSlides&&d.push(i),a.attr("data-swiper-slide-index",e)}));for(var p=0;p<h.length;p+=1)a.append(s(h[p].cloneNode(!0)).addClass(i.slideDuplicateClass));for(var c=d.length-1;c>=0;c-=1)a.prepend(s(d[c].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){this.emit("beforeLoopFix");var e,t=this.activeIndex,i=this.slides,s=this.loopedSlides,a=this.allowSlidePrev,r=this.allowSlideNext,n=this.snapGrid,o=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var l=-n[t]-this.getTranslate();if(t<s)e=i.length-3*s+t,e+=s,this.slideTo(e,0,!1,!0)&&0!==l&&this.setTranslate((o?-this.translate:this.translate)-l);else if(t>=i.length-s){e=-i.length+t+s,e+=s,this.slideTo(e,0,!1,!0)&&0!==l&&this.setTranslate((o?-this.translate:this.translate)-l)}this.allowSlidePrev=a,this.allowSlideNext=r,this.emit("loopFix")},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}};var f={setGrabCursor:function(e){if(!(o.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){o.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}};var m,g,b,w,y,x,T,E,S,C,M,P,z,k,$,L={appendSlide:function(e){var t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var s=0;s<e.length;s+=1)e[s]&&t.append(e[s]);else t.append(e);i.loop&&this.loopCreate(),i.observer&&o.observer||this.update()},prependSlide:function(e){var t=this.params,i=this.$wrapperEl,s=this.activeIndex;t.loop&&this.loopDestroy();var a=s+1;if("object"==typeof e&&"length"in e){for(var r=0;r<e.length;r+=1)e[r]&&i.prepend(e[r]);a=s+e.length}else i.prepend(e);t.loop&&this.loopCreate(),t.observer&&o.observer||this.update(),this.slideTo(a,0,!1)},addSlide:function(e,t){var i=this.$wrapperEl,s=this.params,a=this.activeIndex;s.loop&&(a-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+s.slideClass));var r=this.slides.length;if(e<=0)this.prependSlide(t);else if(e>=r)this.appendSlide(t);else{for(var n=a>e?a+1:a,l=[],d=r-1;d>=e;d-=1){var h=this.slides.eq(d);h.remove(),l.unshift(h)}if("object"==typeof t&&"length"in t){for(var p=0;p<t.length;p+=1)t[p]&&i.append(t[p]);n=a>e?a+t.length:a}else i.append(t);for(var c=0;c<l.length;c+=1)i.append(l[c]);s.loop&&this.loopCreate(),s.observer&&o.observer||this.update(),s.loop?this.slideTo(n+this.loopedSlides,0,!1):this.slideTo(n,0,!1)}},removeSlide:function(e){var t=this.params,i=this.$wrapperEl,s=this.activeIndex;t.loop&&(s-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+t.slideClass));var a,r=s;if("object"==typeof e&&"length"in e){for(var n=0;n<e.length;n+=1)a=e[n],this.slides[a]&&this.slides.eq(a).remove(),a<r&&(r-=1);r=Math.max(r,0)}else a=e,this.slides[a]&&this.slides.eq(a).remove(),a<r&&(r-=1),r=Math.max(r,0);t.loop&&this.loopCreate(),t.observer&&o.observer||this.update(),t.loop?this.slideTo(r+this.loopedSlides,0,!1):this.slideTo(r,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},I=(m=t.navigator.platform,g=t.navigator.userAgent,b={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!t.cordova&&!t.phonegap),phonegap:!(!t.cordova&&!t.phonegap),electron:!1},w=t.screen.width,y=t.screen.height,x=g.match(/(Android);?[\s\/]+([\d.]+)?/),T=g.match(/(iPad).*OS\s([\d_]+)/),E=g.match(/(iPod)(.*OS\s([\d_]+))?/),S=!T&&g.match(/(iPhone\sOS|iOS)\s([\d_]+)/),C=g.indexOf("MSIE ")>=0||g.indexOf("Trident/")>=0,M=g.indexOf("Edge/")>=0,P=g.indexOf("Gecko/")>=0&&g.indexOf("Firefox/")>=0,z="Win32"===m,k=g.toLowerCase().indexOf("electron")>=0,$="MacIntel"===m,!T&&$&&o.touch&&(1024===w&&1366===y||834===w&&1194===y||834===w&&1112===y||768===w&&1024===y)&&(T=g.match(/(Version)\/([\d.]+)/),$=!1),b.ie=C,b.edge=M,b.firefox=P,x&&!z&&(b.os="android",b.osVersion=x[2],b.android=!0,b.androidChrome=g.toLowerCase().indexOf("chrome")>=0),(T||S||E)&&(b.os="ios",b.ios=!0),S&&!E&&(b.osVersion=S[2].replace(/_/g,"."),b.iphone=!0),T&&(b.osVersion=T[2].replace(/_/g,"."),b.ipad=!0),E&&(b.osVersion=E[3]?E[3].replace(/_/g,"."):null,b.ipod=!0),b.ios&&b.osVersion&&g.indexOf("Version/")>=0&&"10"===b.osVersion.split(".")[0]&&(b.osVersion=g.toLowerCase().split("version/")[1].split(" ")[0]),b.webView=!(!(S||T||E)||!g.match(/.*AppleWebKit(?!.*Safari)/i)&&!t.navigator.standalone)||t.matchMedia&&t.matchMedia("(display-mode: standalone)").matches,b.webview=b.webView,b.standalone=b.webView,b.desktop=!(b.ios||b.android)||k,b.desktop&&(b.electron=k,b.macos=$,b.windows=z,b.macos&&(b.os="macos"),b.windows&&(b.os="windows")),b.pixelRatio=t.devicePixelRatio||1,b);function D(i){var a=this.touchEventsData,r=this.params,o=this.touches;if(!this.animating||!r.preventInteractionOnTransition){var l=i;l.originalEvent&&(l=l.originalEvent);var d=s(l.target);if(("wrapper"!==r.touchEventsTarget||d.closest(this.wrapperEl).length)&&(a.isTouchEvent="touchstart"===l.type,(a.isTouchEvent||!("which"in l)||3!==l.which)&&!(!a.isTouchEvent&&"button"in l&&l.button>0||a.isTouched&&a.isMoved)))if(r.noSwiping&&d.closest(r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass)[0])this.allowClick=!0;else if(!r.swipeHandler||d.closest(r.swipeHandler)[0]){o.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,o.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;var h=o.currentX,p=o.currentY,c=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,u=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(!c||!(h<=u||h>=t.screen.width-u)){if(n.extend(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=h,o.startY=p,a.touchStartTime=n.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,r.threshold>0&&(a.allowThresholdMove=!1),"touchstart"!==l.type){var v=!0;d.is(a.formElements)&&(v=!1),e.activeElement&&s(e.activeElement).is(a.formElements)&&e.activeElement!==d[0]&&e.activeElement.blur();var f=v&&this.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||f)&&l.preventDefault()}this.emit("touchStart",l)}}}}function O(t){var i=this.touchEventsData,a=this.params,r=this.touches,o=this.rtlTranslate,l=t;if(l.originalEvent&&(l=l.originalEvent),i.isTouched){if(!i.isTouchEvent||"mousemove"!==l.type){var d="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),h="touchmove"===l.type?d.pageX:l.pageX,p="touchmove"===l.type?d.pageY:l.pageY;if(l.preventedByNestedSwiper)return r.startX=h,void(r.startY=p);if(!this.allowTouchMove)return this.allowClick=!1,void(i.isTouched&&(n.extend(r,{startX:h,startY:p,currentX:h,currentY:p}),i.touchStartTime=n.now()));if(i.isTouchEvent&&a.touchReleaseOnEdges&&!a.loop)if(this.isVertical()){if(p<r.startY&&this.translate<=this.maxTranslate()||p>r.startY&&this.translate>=this.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(h<r.startX&&this.translate<=this.maxTranslate()||h>r.startX&&this.translate>=this.minTranslate())return;if(i.isTouchEvent&&e.activeElement&&l.target===e.activeElement&&s(l.target).is(i.formElements))return i.isMoved=!0,void(this.allowClick=!1);if(i.allowTouchCallbacks&&this.emit("touchMove",l),!(l.targetTouches&&l.targetTouches.length>1)){r.currentX=h,r.currentY=p;var c=r.currentX-r.startX,u=r.currentY-r.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(c,2)+Math.pow(u,2))<this.params.threshold)){var v;if(void 0===i.isScrolling)this.isHorizontal()&&r.currentY===r.startY||this.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:c*c+u*u>=25&&(v=180*Math.atan2(Math.abs(u),Math.abs(c))/Math.PI,i.isScrolling=this.isHorizontal()?v>a.touchAngle:90-v>a.touchAngle);if(i.isScrolling&&this.emit("touchMoveOpposite",l),void 0===i.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){this.allowClick=!1,a.cssMode||l.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&l.stopPropagation(),i.isMoved||(a.loop&&this.loopFix(),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!a.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",l)),this.emit("sliderMove",l),i.isMoved=!0;var f=this.isHorizontal()?c:u;r.diff=f,f*=a.touchRatio,o&&(f=-f),this.swipeDirection=f>0?"prev":"next",i.currentTranslate=f+i.startTranslate;var m=!0,g=a.resistanceRatio;if(a.touchReleaseOnEdges&&(g=0),f>0&&i.currentTranslate>this.minTranslate()?(m=!1,a.resistance&&(i.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+i.startTranslate+f,g))):f<0&&i.currentTranslate<this.maxTranslate()&&(m=!1,a.resistance&&(i.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-i.startTranslate-f,g))),m&&(l.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),a.threshold>0){if(!(Math.abs(f)>a.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=this.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}a.followFinger&&!a.cssMode&&((a.freeMode||a.watchSlidesProgress||a.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),a.freeMode&&(0===i.velocities.length&&i.velocities.push({position:r[this.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:r[this.isHorizontal()?"currentX":"currentY"],time:n.now()})),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}}}}}else i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",l)}function A(e){var t=this,i=t.touchEventsData,s=t.params,a=t.touches,r=t.rtlTranslate,o=t.$wrapperEl,l=t.slidesGrid,d=t.snapGrid,h=e;if(h.originalEvent&&(h=h.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",h),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&s.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);s.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var p,c=n.now(),u=c-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(h),t.emit("tap click",h),u<300&&c-i.lastClickTime<300&&t.emit("doubleTap doubleClick",h)),i.lastClickTime=n.now(),n.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===a.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,p=s.followFinger?r?t.translate:-t.translate:-i.currentTranslate,!s.cssMode)if(s.freeMode){if(p<-t.minTranslate())return void t.slideTo(t.activeIndex);if(p>-t.maxTranslate())return void(t.slides.length<d.length?t.slideTo(d.length-1):t.slideTo(t.slides.length-1));if(s.freeModeMomentum){if(i.velocities.length>1){var v=i.velocities.pop(),f=i.velocities.pop(),m=v.position-f.position,g=v.time-f.time;t.velocity=m/g,t.velocity/=2,Math.abs(t.velocity)<s.freeModeMinimumVelocity&&(t.velocity=0),(g>150||n.now()-v.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=s.freeModeMomentumVelocityRatio,i.velocities.length=0;var b=1e3*s.freeModeMomentumRatio,w=t.velocity*b,y=t.translate+w;r&&(y=-y);var x,T,E=!1,S=20*Math.abs(t.velocity)*s.freeModeMomentumBounceRatio;if(y<t.maxTranslate())s.freeModeMomentumBounce?(y+t.maxTranslate()<-S&&(y=t.maxTranslate()-S),x=t.maxTranslate(),E=!0,i.allowMomentumBounce=!0):y=t.maxTranslate(),s.loop&&s.centeredSlides&&(T=!0);else if(y>t.minTranslate())s.freeModeMomentumBounce?(y-t.minTranslate()>S&&(y=t.minTranslate()+S),x=t.minTranslate(),E=!0,i.allowMomentumBounce=!0):y=t.minTranslate(),s.loop&&s.centeredSlides&&(T=!0);else if(s.freeModeSticky){for(var C,M=0;M<d.length;M+=1)if(d[M]>-y){C=M;break}y=-(y=Math.abs(d[C]-y)<Math.abs(d[C-1]-y)||"next"===t.swipeDirection?d[C]:d[C-1])}if(T&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity){if(b=r?Math.abs((-y-t.translate)/t.velocity):Math.abs((y-t.translate)/t.velocity),s.freeModeSticky){var P=Math.abs((r?-y:y)-t.translate),z=t.slidesSizesGrid[t.activeIndex];b=P<z?s.speed:P<2*z?1.5*s.speed:2.5*s.speed}}else if(s.freeModeSticky)return void t.slideToClosest();s.freeModeMomentumBounce&&E?(t.updateProgress(x),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating=!0,o.transitionEnd((function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(s.speed),t.setTranslate(x),o.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))}))):t.velocity?(t.updateProgress(y),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,o.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(y),t.updateActiveIndex(),t.updateSlidesClasses()}else if(s.freeModeSticky)return void t.slideToClosest();(!s.freeModeMomentum||u>=s.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var k=0,$=t.slidesSizesGrid[0],L=0;L<l.length;L+=L<s.slidesPerGroupSkip?1:s.slidesPerGroup){var I=L<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;void 0!==l[L+I]?p>=l[L]&&p<l[L+I]&&(k=L,$=l[L+I]-l[L]):p>=l[L]&&(k=L,$=l[l.length-1]-l[l.length-2])}var D=(p-l[k])/$,O=k<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(u>s.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(D>=s.longSwipesRatio?t.slideTo(k+O):t.slideTo(k)),"prev"===t.swipeDirection&&(D>1-s.longSwipesRatio?t.slideTo(k+O):t.slideTo(k))}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(h.target===t.navigation.nextEl||h.target===t.navigation.prevEl)?h.target===t.navigation.nextEl?t.slideTo(k+O):t.slideTo(k):("next"===t.swipeDirection&&t.slideTo(k+O),"prev"===t.swipeDirection&&t.slideTo(k))}}}function G(){var e=this.params,t=this.el;if(!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var i=this.allowSlideNext,s=this.allowSlidePrev,a=this.snapGrid;this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),this.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0),this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=s,this.allowSlideNext=i,this.params.watchOverflow&&a!==this.snapGrid&&this.checkOverflow()}}function H(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function B(){var e=this.wrapperEl;this.previousTranslate=this.translate,this.translate=this.isHorizontal()?-e.scrollLeft:-e.scrollTop,-0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();var t=this.maxTranslate()-this.minTranslate();(0===t?0:(this.translate-this.minTranslate())/t)!==this.progress&&this.updateProgress(this.translate),this.emit("setTranslate",this.translate,!1)}var N=!1;function X(){}var V={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},Y={update:h,translate:p,transition:c,slide:u,loop:v,grabCursor:f,manipulation:L,events:{attachEvents:function(){var t=this.params,i=this.touchEvents,s=this.el,a=this.wrapperEl;this.onTouchStart=D.bind(this),this.onTouchMove=O.bind(this),this.onTouchEnd=A.bind(this),t.cssMode&&(this.onScroll=B.bind(this)),this.onClick=H.bind(this);var r=!!t.nested;if(!o.touch&&o.pointerEvents)s.addEventListener(i.start,this.onTouchStart,!1),e.addEventListener(i.move,this.onTouchMove,r),e.addEventListener(i.end,this.onTouchEnd,!1);else{if(o.touch){var n=!("touchstart"!==i.start||!o.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};s.addEventListener(i.start,this.onTouchStart,n),s.addEventListener(i.move,this.onTouchMove,o.passiveListener?{passive:!1,capture:r}:r),s.addEventListener(i.end,this.onTouchEnd,n),i.cancel&&s.addEventListener(i.cancel,this.onTouchEnd,n),N||(e.addEventListener("touchstart",X),N=!0)}(t.simulateTouch&&!I.ios&&!I.android||t.simulateTouch&&!o.touch&&I.ios)&&(s.addEventListener("mousedown",this.onTouchStart,!1),e.addEventListener("mousemove",this.onTouchMove,r),e.addEventListener("mouseup",this.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&s.addEventListener("click",this.onClick,!0),t.cssMode&&a.addEventListener("scroll",this.onScroll),t.updateOnWindowResize?this.on(I.ios||I.android?"resize orientationchange observerUpdate":"resize observerUpdate",G,!0):this.on("observerUpdate",G,!0)},detachEvents:function(){var t=this.params,i=this.touchEvents,s=this.el,a=this.wrapperEl,r=!!t.nested;if(!o.touch&&o.pointerEvents)s.removeEventListener(i.start,this.onTouchStart,!1),e.removeEventListener(i.move,this.onTouchMove,r),e.removeEventListener(i.end,this.onTouchEnd,!1);else{if(o.touch){var n=!("onTouchStart"!==i.start||!o.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};s.removeEventListener(i.start,this.onTouchStart,n),s.removeEventListener(i.move,this.onTouchMove,r),s.removeEventListener(i.end,this.onTouchEnd,n),i.cancel&&s.removeEventListener(i.cancel,this.onTouchEnd,n)}(t.simulateTouch&&!I.ios&&!I.android||t.simulateTouch&&!o.touch&&I.ios)&&(s.removeEventListener("mousedown",this.onTouchStart,!1),e.removeEventListener("mousemove",this.onTouchMove,r),e.removeEventListener("mouseup",this.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&s.removeEventListener("click",this.onClick,!0),t.cssMode&&a.removeEventListener("scroll",this.onScroll),this.off(I.ios||I.android?"resize orientationchange observerUpdate":"resize observerUpdate",G)}},breakpoints:{setBreakpoint:function(){var e=this.activeIndex,t=this.initialized,i=this.loopedSlides;void 0===i&&(i=0);var s=this.params,a=this.$el,r=s.breakpoints;if(r&&(!r||0!==Object.keys(r).length)){var o=this.getBreakpoint(r);if(o&&this.currentBreakpoint!==o){var l=o in r?r[o]:void 0;l&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach((function(e){var t=l[e];void 0!==t&&(l[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var d=l||this.originalParams,h=s.slidesPerColumn>1,p=d.slidesPerColumn>1;h&&!p?a.removeClass(s.containerModifierClass+"multirow "+s.containerModifierClass+"multirow-column"):!h&&p&&(a.addClass(s.containerModifierClass+"multirow"),"column"===d.slidesPerColumnFill&&a.addClass(s.containerModifierClass+"multirow-column"));var c=d.direction&&d.direction!==s.direction,u=s.loop&&(d.slidesPerView!==s.slidesPerView||c);c&&t&&this.changeDirection(),n.extend(this.params,d),n.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=o,u&&t&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(e-i+this.loopedSlides,0,!1)),this.emit("breakpoint",d)}}},getBreakpoint:function(e){if(e){var i=!1,s=Object.keys(e).map((function(e){if("string"==typeof e&&0===e.indexOf("@")){var i=parseFloat(e.substr(1));return{value:t.innerHeight*i,point:e}}return{value:e,point:e}}));s.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var a=0;a<s.length;a+=1){var r=s[a],n=r.point;r.value<=t.innerWidth&&(i=n)}return i||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.params,t=this.isLocked,i=this.slides.length>0&&e.slidesOffsetBefore+e.spaceBetween*(this.slides.length-1)+this.slides[0].offsetWidth*this.slides.length;e.slidesOffsetBefore&&e.slidesOffsetAfter&&i?this.isLocked=i<=this.size:this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,t!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),t&&t!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var e=this.classNames,t=this.params,i=this.rtl,s=this.$el,a=[];a.push("initialized"),a.push(t.direction),t.freeMode&&a.push("free-mode"),t.autoHeight&&a.push("autoheight"),i&&a.push("rtl"),t.slidesPerColumn>1&&(a.push("multirow"),"column"===t.slidesPerColumnFill&&a.push("multirow-column")),I.android&&a.push("android"),I.ios&&a.push("ios"),t.cssMode&&a.push("css-mode"),a.forEach((function(i){e.push(t.containerModifierClass+i)})),s.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,i,s,a,r,n){var o;function l(){n&&n()}e.complete&&r?l():i?((o=new t.Image).onload=l,o.onerror=l,a&&(o.sizes=a),s&&(o.srcset=s),i&&(o.src=i)):l()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var i=0;i<e.imagesToLoad.length;i+=1){var s=e.imagesToLoad[i];e.loadImage(s,s.currentSrc||s.getAttribute("src"),s.srcset||s.getAttribute("srcset"),s.sizes||s.getAttribute("sizes"),!0,t)}}}},F={},W=function(e){function t(){for(var i,a,r,l=[],d=arguments.length;d--;)l[d]=arguments[d];1===l.length&&l[0].constructor&&l[0].constructor===Object?r=l[0]:(a=(i=l)[0],r=i[1]),r||(r={}),r=n.extend({},r),a&&!r.el&&(r.el=a),e.call(this,r),Object.keys(Y).forEach((function(e){Object.keys(Y[e]).forEach((function(i){t.prototype[i]||(t.prototype[i]=Y[e][i])}))}));var h=this;void 0===h.modules&&(h.modules={}),Object.keys(h.modules).forEach((function(e){var t=h.modules[e];if(t.params){var i=Object.keys(t.params)[0],s=t.params[i];if("object"!=typeof s||null===s)return;if(!(i in r&&"enabled"in s))return;!0===r[i]&&(r[i]={enabled:!0}),"object"!=typeof r[i]||"enabled"in r[i]||(r[i].enabled=!0),r[i]||(r[i]={enabled:!1})}}));var p=n.extend({},V);h.useModulesParams(p),h.params=n.extend({},p,F,r),h.originalParams=n.extend({},h.params),h.passedParams=n.extend({},r),h.$=s;var c=s(h.params.el);if(a=c[0]){if(c.length>1){var u=[];return c.each((function(e,i){var s=n.extend({},r,{el:i});u.push(new t(s))})),u}var v,f,m;return a.swiper=h,c.data("swiper",h),a&&a.shadowRoot&&a.shadowRoot.querySelector?(v=s(a.shadowRoot.querySelector("."+h.params.wrapperClass))).children=function(e){return c.children(e)}:v=c.children("."+h.params.wrapperClass),n.extend(h,{$el:c,el:a,$wrapperEl:v,wrapperEl:v[0],classNames:[],slides:s(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===h.params.direction},isVertical:function(){return"vertical"===h.params.direction},rtl:"rtl"===a.dir.toLowerCase()||"rtl"===c.css("direction"),rtlTranslate:"horizontal"===h.params.direction&&("rtl"===a.dir.toLowerCase()||"rtl"===c.css("direction")),wrongRTL:"-webkit-box"===v.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:h.params.allowSlideNext,allowSlidePrev:h.params.allowSlidePrev,touchEvents:(f=["touchstart","touchmove","touchend","touchcancel"],m=["mousedown","mousemove","mouseup"],o.pointerEvents&&(m=["pointerdown","pointermove","pointerup"]),h.touchEventsTouch={start:f[0],move:f[1],end:f[2],cancel:f[3]},h.touchEventsDesktop={start:m[0],move:m[1],end:m[2]},o.touch||!h.params.simulateTouch?h.touchEventsTouch:h.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:n.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:h.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),h.useModules(),h.params.init&&h.init(),h}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return t.prototype.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,i=this.slidesGrid,s=this.size,a=this.activeIndex,r=1;if(e.centeredSlides){for(var n,o=t[a].swiperSlideSize,l=a+1;l<t.length;l+=1)t[l]&&!n&&(r+=1,(o+=t[l].swiperSlideSize)>s&&(n=!0));for(var d=a-1;d>=0;d-=1)t[d]&&!n&&(r+=1,(o+=t[d].swiperSlideSize)>s&&(n=!0))}else for(var h=a+1;h<t.length;h+=1)i[h]-i[a]<s&&(r+=1);return r},t.prototype.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,i=e.params;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(s(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||s(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function s(){var t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}},t.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var i=this.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e?this:(this.$el.removeClass(""+this.params.containerModifierClass+i).addClass(""+this.params.containerModifierClass+e),this.params.direction=e,this.slides.each((function(t,i){"vertical"===e?i.style.width="":i.style.height=""})),this.emit("changeDirection"),t&&this.update(),this)},t.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))},t.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this,s=i.params,a=i.$el,r=i.$wrapperEl,o=i.slides;return void 0===i.params||i.destroyed?null:(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),a.removeAttr("style"),r.removeAttr("style"),o&&o.length&&o.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((function(e){i.off(e)})),!1!==e&&(i.$el[0].swiper=null,i.$el.data("swiper",null),n.deleteProps(i)),i.destroyed=!0,null)},t.extendDefaults=function(e){n.extend(F,e)},i.extendedDefaults.get=function(){return F},i.defaults.get=function(){return V},i.Class.get=function(){return e},i.$.get=function(){return s},Object.defineProperties(t,i),t}(l),R={name:"device",proto:{device:I},static:{device:I}},q={name:"support",proto:{support:o},static:{support:o}},j={isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:function(){var e=t.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)},K={name:"browser",proto:{browser:j},static:{browser:j}},U={name:"resize",create:function(){var e=this;n.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){t.addEventListener("resize",this.resize.resizeHandler),t.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){t.removeEventListener("resize",this.resize.resizeHandler),t.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},_={func:t.MutationObserver||t.WebkitMutationObserver,attach:function(e,i){void 0===i&&(i={});var s=this,a=new(0,_.func)((function(e){if(1!==e.length){var i=function(){s.emit("observerUpdate",e[0])};t.requestAnimationFrame?t.requestAnimationFrame(i):t.setTimeout(i,0)}else s.emit("observerUpdate",e[0])}));a.observe(e,{attributes:void 0===i.attributes||i.attributes,childList:void 0===i.childList||i.childList,characterData:void 0===i.characterData||i.characterData}),s.observer.observers.push(a)},init:function(){if(o.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),t=0;t<e.length;t+=1)this.observer.attach(e[t]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(e){e.disconnect()})),this.observer.observers=[]}},Z={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){n.extend(this,{observer:{init:_.init.bind(this),attach:_.attach.bind(this),destroy:_.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},Q={update:function(e){var t=this,i=t.params,s=i.slidesPerView,a=i.slidesPerGroup,r=i.centeredSlides,o=t.params.virtual,l=o.addSlidesBefore,d=o.addSlidesAfter,h=t.virtual,p=h.from,c=h.to,u=h.slides,v=h.slidesGrid,f=h.renderSlide,m=h.offset;t.updateActiveIndex();var g,b,w,y=t.activeIndex||0;g=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(b=Math.floor(s/2)+a+l,w=Math.floor(s/2)+a+d):(b=s+(a-1)+l,w=a+d);var x=Math.max((y||0)-w,0),T=Math.min((y||0)+b,u.length-1),E=(t.slidesGrid[x]||0)-(t.slidesGrid[0]||0);function S(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(n.extend(t.virtual,{from:x,to:T,offset:E,slidesGrid:t.slidesGrid}),p===x&&c===T&&!e)return t.slidesGrid!==v&&E!==m&&t.slides.css(g,E+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:E,from:x,to:T,slides:function(){for(var e=[],t=x;t<=T;t+=1)e.push(u[t]);return e}()}),void S();var C=[],M=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var P=p;P<=c;P+=1)(P<x||P>T)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+P+'"]').remove();for(var z=0;z<u.length;z+=1)z>=x&&z<=T&&(void 0===c||e?M.push(z):(z>c&&M.push(z),z<p&&C.push(z)));M.forEach((function(e){t.$wrapperEl.append(f(u[e],e))})),C.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(f(u[e],e))})),t.$wrapperEl.children(".swiper-slide").css(g,E+"px"),S()},renderSlide:function(e,t){var i=this.params.virtual;if(i.cache&&this.virtual.cache[t])return this.virtual.cache[t];var a=i.renderSlide?s(i.renderSlide.call(this,e,t)):s('<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return a.attr("data-swiper-slide-index")||a.attr("data-swiper-slide-index",t),i.cache&&(this.virtual.cache[t]=a),a},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var t=this.activeIndex,i=t+1,s=1;if(Array.isArray(e)){for(var a=0;a<e.length;a+=1)e[a]&&this.virtual.slides.unshift(e[a]);i=t+e.length,s=e.length}else this.virtual.slides.unshift(e);if(this.params.virtual.cache){var r=this.virtual.cache,n={};Object.keys(r).forEach((function(e){var t=r[e],i=t.attr("data-swiper-slide-index");i&&t.attr("data-swiper-slide-index",parseInt(i,10)+1),n[parseInt(e,10)+s]=t})),this.virtual.cache=n}this.virtual.update(!0),this.slideTo(i,0)},removeSlide:function(e){if(null!=e){var t=this.activeIndex;if(Array.isArray(e))for(var i=e.length-1;i>=0;i-=1)this.virtual.slides.splice(e[i],1),this.params.virtual.cache&&delete this.virtual.cache[e[i]],e[i]<t&&(t-=1),t=Math.max(t,0);else this.virtual.slides.splice(e,1),this.params.virtual.cache&&delete this.virtual.cache[e],e<t&&(t-=1),t=Math.max(t,0);this.virtual.update(!0),this.slideTo(t,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},J={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){n.extend(this,{virtual:{update:Q.update.bind(this),appendSlide:Q.appendSlide.bind(this),prependSlide:Q.prependSlide.bind(this),removeSlide:Q.removeSlide.bind(this),removeAllSlides:Q.removeAllSlides.bind(this),renderSlide:Q.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){if(this.params.virtual.enabled){this.classNames.push(this.params.containerModifierClass+"virtual");var e={watchSlidesProgress:!0};n.extend(this.params,e),n.extend(this.originalParams,e),this.params.initialSlide||this.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},ee={handle:function(i){var s=this.rtlTranslate,a=i;a.originalEvent&&(a=a.originalEvent);var r=a.keyCode||a.charCode;if(!this.allowSlideNext&&(this.isHorizontal()&&39===r||this.isVertical()&&40===r||34===r))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&37===r||this.isVertical()&&38===r||33===r))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||e.activeElement&&e.activeElement.nodeName&&("input"===e.activeElement.nodeName.toLowerCase()||"textarea"===e.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(33===r||34===r||37===r||39===r||38===r||40===r)){var n=!1;if(this.$el.parents("."+this.params.slideClass).length>0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var o=t.innerWidth,l=t.innerHeight,d=this.$el.offset();s&&(d.left-=this.$el[0].scrollLeft);for(var h=[[d.left,d.top],[d.left+this.width,d.top],[d.left,d.top+this.height],[d.left+this.width,d.top+this.height]],p=0;p<h.length;p+=1){var c=h[p];c[0]>=0&&c[0]<=o&&c[1]>=0&&c[1]<=l&&(n=!0)}if(!n)return}this.isHorizontal()?(33!==r&&34!==r&&37!==r&&39!==r||(a.preventDefault?a.preventDefault():a.returnValue=!1),(34!==r&&39!==r||s)&&(33!==r&&37!==r||!s)||this.slideNext(),(33!==r&&37!==r||s)&&(34!==r&&39!==r||!s)||this.slidePrev()):(33!==r&&34!==r&&38!==r&&40!==r||(a.preventDefault?a.preventDefault():a.returnValue=!1),34!==r&&40!==r||this.slideNext(),33!==r&&38!==r||this.slidePrev()),this.emit("keyPress",r)}},enable:function(){this.keyboard.enabled||(s(e).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(s(e).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},te={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){n.extend(this,{keyboard:{enabled:!1,enable:ee.enable.bind(this),disable:ee.disable.bind(this),handle:ee.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}};var ie={lastScrollTime:n.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return t.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var t="onwheel"in e;if(!t){var i=e.createElement("div");i.setAttribute("onwheel","return;"),t="function"==typeof i.onwheel}return!t&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(t=e.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel"},normalize:function(e){var t=0,i=0,s=0,a=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),s=10*t,a=10*i,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(s=e.deltaX),e.shiftKey&&!s&&(s=a,a=0),(s||a)&&e.deltaMode&&(1===e.deltaMode?(s*=40,a*=40):(s*=800,a*=800)),s&&!t&&(t=s<1?-1:1),a&&!i&&(i=a<1?-1:1),{spinX:t,spinY:i,pixelX:s,pixelY:a}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,i=this,a=i.params.mousewheel;i.params.cssMode&&t.preventDefault();var r=i.$el;if("container"!==i.params.mousewheel.eventsTarged&&(r=s(i.params.mousewheel.eventsTarged)),!i.mouseEntered&&!r[0].contains(t.target)&&!a.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var o=0,l=i.rtlTranslate?-1:1,d=ie.normalize(t);if(a.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(d.pixelX)>Math.abs(d.pixelY)))return!0;o=d.pixelX*l}else{if(!(Math.abs(d.pixelY)>Math.abs(d.pixelX)))return!0;o=d.pixelY}else o=Math.abs(d.pixelX)>Math.abs(d.pixelY)?-d.pixelX*l:-d.pixelY;if(0===o)return!0;if(a.invert&&(o=-o),i.params.freeMode){var h={time:n.now(),delta:Math.abs(o),direction:Math.sign(o)},p=i.mousewheel.lastEventBeforeSnap,c=p&&h.time<p.time+500&&h.delta<=p.delta&&h.direction===p.direction;if(!c){i.mousewheel.lastEventBeforeSnap=void 0,i.params.loop&&i.loopFix();var u=i.getTranslate()+o*a.sensitivity,v=i.isBeginning,f=i.isEnd;if(u>=i.minTranslate()&&(u=i.minTranslate()),u<=i.maxTranslate()&&(u=i.maxTranslate()),i.setTransition(0),i.setTranslate(u),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!v&&i.isBeginning||!f&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky){clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=void 0;var m=i.mousewheel.recentWheelEvents;m.length>=15&&m.shift();var g=m.length?m[m.length-1]:void 0,b=m[0];if(m.push(h),g&&(h.delta>g.delta||h.direction!==g.direction))m.splice(0);else if(m.length>=15&&h.time-b.time<500&&b.delta-h.delta>=1&&h.delta<=6){var w=o>0?.8:.2;i.mousewheel.lastEventBeforeSnap=h,m.splice(0),i.mousewheel.timeout=n.nextTick((function(){i.slideToClosest(i.params.speed,!0,void 0,w)}),0)}i.mousewheel.timeout||(i.mousewheel.timeout=n.nextTick((function(){i.mousewheel.lastEventBeforeSnap=h,m.splice(0),i.slideToClosest(i.params.speed,!0,void 0,.5)}),500))}if(c||i.emit("scroll",t),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),u===i.minTranslate()||u===i.maxTranslate())return!0}}else{var y={time:n.now(),delta:Math.abs(o),direction:Math.sign(o),raw:e},x=i.mousewheel.recentWheelEvents;x.length>=2&&x.shift();var T=x.length?x[x.length-1]:void 0;if(x.push(y),T?(y.direction!==T.direction||y.delta>T.delta)&&i.mousewheel.animateSlider(y):i.mousewheel.animateSlider(y),i.mousewheel.releaseScroll(y))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider:function(e){return e.delta>=6&&n.now()-this.mousewheel.lastScrollTime<60||(e.direction<0?this.isEnd&&!this.params.loop||this.animating||(this.slideNext(),this.emit("scroll",e.raw)):this.isBeginning&&!this.params.loop||this.animating||(this.slidePrev(),this.emit("scroll",e.raw)),this.mousewheel.lastScrollTime=(new t.Date).getTime(),!1)},releaseScroll:function(e){var t=this.params.mousewheel;if(e.direction<0){if(this.isEnd&&!this.params.loop&&t.releaseOnEdges)return!0}else if(this.isBeginning&&!this.params.loop&&t.releaseOnEdges)return!0;return!1},enable:function(){var e=ie.event();if(this.params.cssMode)return this.wrapperEl.removeEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=s(this.params.mousewheel.eventsTarged)),t.on("mouseenter",this.mousewheel.handleMouseEnter),t.on("mouseleave",this.mousewheel.handleMouseLeave),t.on(e,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){var e=ie.event();if(this.params.cssMode)return this.wrapperEl.addEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(!this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=s(this.params.mousewheel.eventsTarged)),t.off(e,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},se={update:function(){var e=this.params.navigation;if(!this.params.loop){var t=this.navigation,i=t.$nextEl,s=t.$prevEl;s&&s.length>0&&(this.isBeginning?s.addClass(e.disabledClass):s.removeClass(e.disabledClass),s[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),i&&i.length>0&&(this.isEnd?i.addClass(e.disabledClass):i.removeClass(e.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,i=this.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=s(i.nextEl),this.params.uniqueNavElements&&"string"==typeof i.nextEl&&e.length>1&&1===this.$el.find(i.nextEl).length&&(e=this.$el.find(i.nextEl))),i.prevEl&&(t=s(i.prevEl),this.params.uniqueNavElements&&"string"==typeof i.prevEl&&t.length>1&&1===this.$el.find(i.prevEl).length&&(t=this.$el.find(i.prevEl))),e&&e.length>0&&e.on("click",this.navigation.onNextClick),t&&t.length>0&&t.on("click",this.navigation.onPrevClick),n.extend(this.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),i&&i.length&&(i.off("click",this.navigation.onPrevClick),i.removeClass(this.params.navigation.disabledClass))}},ae={update:function(){var e=this.rtl,t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var i,a=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,r=this.pagination.$el,n=this.params.loop?Math.ceil((a-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((i=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>a-1-2*this.loopedSlides&&(i-=a-2*this.loopedSlides),i>n-1&&(i-=n),i<0&&"bullets"!==this.params.paginationType&&(i=n+i)):i=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===t.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var o,l,d,h=this.pagination.bullets;if(t.dynamicBullets&&(this.pagination.bulletSize=h.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(t.dynamicMainBullets+4)+"px"),t.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=i-this.previousIndex,this.pagination.dynamicBulletIndex>t.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=t.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),o=i-this.pagination.dynamicBulletIndex,d=((l=o+(Math.min(h.length,t.dynamicMainBullets)-1))+o)/2),h.removeClass(t.bulletActiveClass+" "+t.bulletActiveClass+"-next "+t.bulletActiveClass+"-next-next "+t.bulletActiveClass+"-prev "+t.bulletActiveClass+"-prev-prev "+t.bulletActiveClass+"-main"),r.length>1)h.each((function(e,a){var r=s(a),n=r.index();n===i&&r.addClass(t.bulletActiveClass),t.dynamicBullets&&(n>=o&&n<=l&&r.addClass(t.bulletActiveClass+"-main"),n===o&&r.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),n===l&&r.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next"))}));else{var p=h.eq(i),c=p.index();if(p.addClass(t.bulletActiveClass),t.dynamicBullets){for(var u=h.eq(o),v=h.eq(l),f=o;f<=l;f+=1)h.eq(f).addClass(t.bulletActiveClass+"-main");if(this.params.loop)if(c>=h.length-t.dynamicMainBullets){for(var m=t.dynamicMainBullets;m>=0;m-=1)h.eq(h.length-m).addClass(t.bulletActiveClass+"-main");h.eq(h.length-t.dynamicMainBullets-1).addClass(t.bulletActiveClass+"-prev")}else u.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),v.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next");else u.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),v.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next")}}if(t.dynamicBullets){var g=Math.min(h.length,t.dynamicMainBullets+4),b=(this.pagination.bulletSize*g-this.pagination.bulletSize)/2-d*this.pagination.bulletSize,w=e?"right":"left";h.css(this.isHorizontal()?w:"top",b+"px")}}if("fraction"===t.type&&(r.find("."+t.currentClass).text(t.formatFractionCurrent(i+1)),r.find("."+t.totalClass).text(t.formatFractionTotal(n))),"progressbar"===t.type){var y;y=t.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";var x=(i+1)/n,T=1,E=1;"horizontal"===y?T=x:E=x,r.find("."+t.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+T+") scaleY("+E+")").transition(this.params.speed)}"custom"===t.type&&t.renderCustom?(r.html(t.renderCustom(this,i+1,n)),this.emit("paginationRender",this,r[0])):this.emit("paginationUpdate",this,r[0]),r[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)}},render:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,i=this.pagination.$el,s="";if("bullets"===e.type){for(var a=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,r=0;r<a;r+=1)e.renderBullet?s+=e.renderBullet.call(this,r,e.bulletClass):s+="<"+e.bulletElement+' class="'+e.bulletClass+'"></'+e.bulletElement+">";i.html(s),this.pagination.bullets=i.find("."+e.bulletClass)}"fraction"===e.type&&(s=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):'<span class="'+e.currentClass+'"></span> / <span class="'+e.totalClass+'"></span>',i.html(s)),"progressbar"===e.type&&(s=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'<span class="'+e.progressbarFillClass+'"></span>',i.html(s)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var i=s(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&1===e.$el.find(t.el).length&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click","."+t.bulletClass,(function(t){t.preventDefault();var i=s(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)})),n.extend(e.pagination,{$el:i,el:i[0]}))}},destroy:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}}},re={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=this.rtlTranslate,i=this.progress,s=e.dragSize,a=e.trackSize,r=e.$dragEl,n=e.$el,o=this.params.scrollbar,l=s,d=(a-s)*i;t?(d=-d)>0?(l=s-d,d=0):-d+s>a&&(l=a+d):d<0?(l=s+d,d=0):d+s>a&&(l=a-d),this.isHorizontal()?(r.transform("translate3d("+d+"px, 0, 0)"),r[0].style.width=l+"px"):(r.transform("translate3d(0px, "+d+"px, 0)"),r[0].style.height=l+"px"),o.hide&&(clearTimeout(this.scrollbar.timeout),n[0].style.opacity=1,this.scrollbar.timeout=setTimeout((function(){n[0].style.opacity=0,n.transition(400)}),1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=e.$dragEl,i=e.$el;t[0].style.width="",t[0].style.height="";var s,a=this.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,r=this.size/this.virtualSize,o=r*(a/this.size);s="auto"===this.params.scrollbar.dragSize?a*r:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=s+"px":t[0].style.height=s+"px",i[0].style.display=r>=1?"none":"",this.params.scrollbar.hide&&(i[0].style.opacity=0),n.extend(e,{trackSize:a,divider:r,moveDivider:o,dragSize:s}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition:function(e){var t,i=this.scrollbar,s=this.rtlTranslate,a=i.$el,r=i.dragSize,n=i.trackSize,o=i.dragStartPos;t=(i.getPointerPosition(e)-a.offset()[this.isHorizontal()?"left":"top"]-(null!==o?o:r/2))/(n-r),t=Math.max(Math.min(t,1),0),s&&(t=1-t);var l=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t;this.updateProgress(l),this.setTranslate(l),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var t=this.params.scrollbar,i=this.scrollbar,s=this.$wrapperEl,a=i.$el,r=i.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===r[0]||e.target===r?i.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),s.transition(100),r.transition(100),i.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),a.transition(0),t.hide&&a.css("opacity",1),this.params.cssMode&&this.$wrapperEl.css("scroll-snap-type","none"),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,i=this.$wrapperEl,s=t.$el,a=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),s.transition(0),a.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,i=this.scrollbar,s=this.$wrapperEl,a=i.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,this.params.cssMode&&(this.$wrapperEl.css("scroll-snap-type",""),s.transition("")),t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=n.nextTick((function(){a.css("opacity",0),a.transition(400)}),1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,i=this.touchEventsTouch,s=this.touchEventsDesktop,a=this.params,r=t.$el[0],n=!(!o.passiveListener||!a.passiveListeners)&&{passive:!1,capture:!1},l=!(!o.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};o.touch?(r.addEventListener(i.start,this.scrollbar.onDragStart,n),r.addEventListener(i.move,this.scrollbar.onDragMove,n),r.addEventListener(i.end,this.scrollbar.onDragEnd,l)):(r.addEventListener(s.start,this.scrollbar.onDragStart,n),e.addEventListener(s.move,this.scrollbar.onDragMove,n),e.addEventListener(s.end,this.scrollbar.onDragEnd,l))}},disableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,i=this.touchEventsTouch,s=this.touchEventsDesktop,a=this.params,r=t.$el[0],n=!(!o.passiveListener||!a.passiveListeners)&&{passive:!1,capture:!1},l=!(!o.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};o.touch?(r.removeEventListener(i.start,this.scrollbar.onDragStart,n),r.removeEventListener(i.move,this.scrollbar.onDragMove,n),r.removeEventListener(i.end,this.scrollbar.onDragEnd,l)):(r.removeEventListener(s.start,this.scrollbar.onDragStart,n),e.removeEventListener(s.move,this.scrollbar.onDragMove,n),e.removeEventListener(s.end,this.scrollbar.onDragEnd,l))}},init:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.$el,i=this.params.scrollbar,a=s(i.el);this.params.uniqueNavElements&&"string"==typeof i.el&&a.length>1&&1===t.find(i.el).length&&(a=t.find(i.el));var r=a.find("."+this.params.scrollbar.dragClass);0===r.length&&(r=s('<div class="'+this.params.scrollbar.dragClass+'"></div>'),a.append(r)),n.extend(e,{$el:a,el:a[0],$dragEl:r,dragEl:r[0]}),i.draggable&&e.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},ne={setTransform:function(e,t){var i=this.rtl,a=s(e),r=i?-1:1,n=a.attr("data-swiper-parallax")||"0",o=a.attr("data-swiper-parallax-x"),l=a.attr("data-swiper-parallax-y"),d=a.attr("data-swiper-parallax-scale"),h=a.attr("data-swiper-parallax-opacity");if(o||l?(o=o||"0",l=l||"0"):this.isHorizontal()?(o=n,l="0"):(l=n,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*t*r+"%":o*t*r+"px",l=l.indexOf("%")>=0?parseInt(l,10)*t+"%":l*t+"px",null!=h){var p=h-(h-1)*(1-Math.abs(t));a[0].style.opacity=p}if(null==d)a.transform("translate3d("+o+", "+l+", 0px)");else{var c=d-(d-1)*(1-Math.abs(t));a.transform("translate3d("+o+", "+l+", 0px) scale("+c+")")}},setTranslate:function(){var e=this,t=e.$el,i=e.slides,a=e.progress,r=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){e.parallax.setTransform(i,a)})),i.each((function(t,i){var n=i.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(n+=Math.ceil(t/2)-a*(r.length-1)),n=Math.min(Math.max(n,-1),1),s(i).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){e.parallax.setTransform(i,n)}))}))},setTransition:function(e){void 0===e&&(e=this.params.speed);this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){var a=s(i),r=parseInt(a.attr("data-swiper-parallax-duration"),10)||e;0===e&&(r=0),a.transition(r)}))}},oe={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,a=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(s-t,2)+Math.pow(a-i,2))},onGestureStart:function(e){var t=this.params.zoom,i=this.zoom,a=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!o.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,a.scaleStart=oe.getDistanceBetweenTouches(e)}a.$slideEl&&a.$slideEl.length||(a.$slideEl=s(e.target).closest("."+this.params.slideClass),0===a.$slideEl.length&&(a.$slideEl=this.slides.eq(this.activeIndex)),a.$imageEl=a.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),a.$imageWrapEl=a.$imageEl.parent("."+t.containerClass),a.maxRatio=a.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==a.$imageWrapEl.length)?(a.$imageEl.transition(0),this.zoom.isScaling=!0):a.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!o.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,s.scaleMove=oe.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length&&(o.gestures?i.scale=e.scale*i.currentScale:i.scale=s.scaleMove/s.scaleStart*i.currentScale,i.scale>s.maxRatio&&(i.scale=s.maxRatio-1+Math.pow(i.scale-s.maxRatio+1,.5)),i.scale<t.minRatio&&(i.scale=t.minRatio+1-Math.pow(t.minRatio-i.scale+1,.5)),s.$imageEl.transform("translate3d(0,0,0) scale("+i.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!o.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!I.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}s.$imageEl&&0!==s.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,s.maxRatio),t.minRatio),s.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(s.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,i=t.gesture,s=t.image;i.$imageEl&&0!==i.$imageEl.length&&(s.isTouched||(I.android&&e.preventDefault(),s.isTouched=!0,s.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this.zoom,i=t.gesture,s=t.image,a=t.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(this.allowClick=!1,s.isTouched&&i.$slideEl)){s.isMoved||(s.width=i.$imageEl[0].offsetWidth,s.height=i.$imageEl[0].offsetHeight,s.startX=n.getTranslate(i.$imageWrapEl[0],"x")||0,s.startY=n.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),this.rtl&&(s.startX=-s.startX,s.startY=-s.startY));var r=s.width*t.scale,o=s.height*t.scale;if(!(r<i.slideWidth&&o<i.slideHeight)){if(s.minX=Math.min(i.slideWidth/2-r/2,0),s.maxX=-s.minX,s.minY=Math.min(i.slideHeight/2-o/2,0),s.maxY=-s.minY,s.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!s.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x<s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x>s.touchesStart.x))return void(s.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y<s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y>s.touchesStart.y))return void(s.isTouched=!1)}e.preventDefault(),e.stopPropagation(),s.isMoved=!0,s.currentX=s.touchesCurrent.x-s.touchesStart.x+s.startX,s.currentY=s.touchesCurrent.y-s.touchesStart.y+s.startY,s.currentX<s.minX&&(s.currentX=s.minX+1-Math.pow(s.minX-s.currentX+1,.8)),s.currentX>s.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentY<s.minY&&(s.currentY=s.minY+1-Math.pow(s.minY-s.currentY+1,.8)),s.currentY>s.maxY&&(s.currentY=s.maxY-1+Math.pow(s.currentY-s.maxY+1,.8)),a.prevPositionX||(a.prevPositionX=s.touchesCurrent.x),a.prevPositionY||(a.prevPositionY=s.touchesCurrent.y),a.prevTime||(a.prevTime=Date.now()),a.x=(s.touchesCurrent.x-a.prevPositionX)/(Date.now()-a.prevTime)/2,a.y=(s.touchesCurrent.y-a.prevPositionY)/(Date.now()-a.prevTime)/2,Math.abs(s.touchesCurrent.x-a.prevPositionX)<2&&(a.x=0),Math.abs(s.touchesCurrent.y-a.prevPositionY)<2&&(a.y=0),a.prevPositionX=s.touchesCurrent.x,a.prevPositionY=s.touchesCurrent.y,a.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+s.currentX+"px, "+s.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,s=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var a=300,r=300,n=s.x*a,o=i.currentX+n,l=s.y*r,d=i.currentY+l;0!==s.x&&(a=Math.abs((o-i.currentX)/s.x)),0!==s.y&&(r=Math.abs((d-i.currentY)/s.y));var h=Math.max(a,r);i.currentX=o,i.currentY=d;var p=i.width*e.scale,c=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-p/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-c/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(h).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,s,a,r,n,o,l,d,h,p,c,u,v,f,m,g=this.zoom,b=this.params.zoom,w=g.gesture,y=g.image;(w.$slideEl||(w.$slideEl=this.slides.eq(this.activeIndex),w.$imageEl=w.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),w.$imageWrapEl=w.$imageEl.parent("."+b.containerClass)),w.$imageEl&&0!==w.$imageEl.length)&&(w.$slideEl.addClass(""+b.zoomedSlideClass),void 0===y.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=y.touchesStart.x,i=y.touchesStart.y),g.scale=w.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio,g.currentScale=w.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio,e?(f=w.$slideEl[0].offsetWidth,m=w.$slideEl[0].offsetHeight,s=w.$slideEl.offset().left+f/2-t,a=w.$slideEl.offset().top+m/2-i,o=w.$imageEl[0].offsetWidth,l=w.$imageEl[0].offsetHeight,d=o*g.scale,h=l*g.scale,u=-(p=Math.min(f/2-d/2,0)),v=-(c=Math.min(m/2-h/2,0)),(r=s*g.scale)<p&&(r=p),r>u&&(r=u),(n=a*g.scale)<c&&(n=c),n>v&&(n=v)):(r=0,n=0),w.$imageWrapEl.transition(300).transform("translate3d("+r+"px, "+n+"px,0)"),w.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+g.scale+")"))},out:function(){var e=this.zoom,t=this.params.zoom,i=e.gesture;i.$slideEl||(i.$slideEl=this.slides.eq(this.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+t.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(e.scale=1,e.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+t.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var e=this.zoom;if(!e.enabled){e.enabled=!0;var t=!("touchstart"!==this.touchEvents.start||!o.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},i=!o.passiveListener||{passive:!1,capture:!0},s="."+this.params.slideClass;o.gestures?(this.$wrapperEl.on("gesturestart",s,e.onGestureStart,t),this.$wrapperEl.on("gesturechange",s,e.onGestureChange,t),this.$wrapperEl.on("gestureend",s,e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,s,e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,s,e.onGestureChange,i),this.$wrapperEl.on(this.touchEvents.end,s,e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.on(this.touchEvents.cancel,s,e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,i)}},disable:function(){var e=this.zoom;if(e.enabled){this.zoom.enabled=!1;var t=!("touchstart"!==this.touchEvents.start||!o.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},i=!o.passiveListener||{passive:!1,capture:!0},s="."+this.params.slideClass;o.gestures?(this.$wrapperEl.off("gesturestart",s,e.onGestureStart,t),this.$wrapperEl.off("gesturechange",s,e.onGestureChange,t),this.$wrapperEl.off("gestureend",s,e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,s,e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,s,e.onGestureChange,i),this.$wrapperEl.off(this.touchEvents.end,s,e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.off(this.touchEvents.cancel,s,e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,i)}}},le={loadInSlide:function(e,t){void 0===t&&(t=!0);var i=this,a=i.params.lazy;if(void 0!==e&&0!==i.slides.length){var r=i.virtual&&i.params.virtual.enabled?i.$wrapperEl.children("."+i.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):i.slides.eq(e),n=r.find("."+a.elementClass+":not(."+a.loadedClass+"):not(."+a.loadingClass+")");!r.hasClass(a.elementClass)||r.hasClass(a.loadedClass)||r.hasClass(a.loadingClass)||(n=n.add(r[0])),0!==n.length&&n.each((function(e,n){var o=s(n);o.addClass(a.loadingClass);var l=o.attr("data-background"),d=o.attr("data-src"),h=o.attr("data-srcset"),p=o.attr("data-sizes");i.loadImage(o[0],d||l,h,p,!1,(function(){if(null!=i&&i&&(!i||i.params)&&!i.destroyed){if(l?(o.css("background-image",'url("'+l+'")'),o.removeAttr("data-background")):(h&&(o.attr("srcset",h),o.removeAttr("data-srcset")),p&&(o.attr("sizes",p),o.removeAttr("data-sizes")),d&&(o.attr("src",d),o.removeAttr("data-src"))),o.addClass(a.loadedClass).removeClass(a.loadingClass),r.find("."+a.preloaderClass).remove(),i.params.loop&&t){var e=r.attr("data-swiper-slide-index");if(r.hasClass(i.params.slideDuplicateClass)){var s=i.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+i.params.slideDuplicateClass+")");i.lazy.loadInSlide(s.index(),!1)}else{var n=i.$wrapperEl.children("."+i.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');i.lazy.loadInSlide(n.index(),!1)}}i.emit("lazyImageReady",r[0],o[0]),i.params.autoHeight&&i.updateAutoHeight()}})),i.emit("lazyImageLoad",r[0],o[0])}))}},load:function(){var e=this,t=e.$wrapperEl,i=e.params,a=e.slides,r=e.activeIndex,n=e.virtual&&i.virtual.enabled,o=i.lazy,l=i.slidesPerView;function d(e){if(n){if(t.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(a[e])return!0;return!1}function h(e){return n?s(e).attr("data-swiper-slide-index"):s(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+i.slideVisibleClass).each((function(t,i){var a=n?s(i).attr("data-swiper-slide-index"):s(i).index();e.lazy.loadInSlide(a)}));else if(l>1)for(var p=r;p<r+l;p+=1)d(p)&&e.lazy.loadInSlide(p);else e.lazy.loadInSlide(r);if(o.loadPrevNext)if(l>1||o.loadPrevNextAmount&&o.loadPrevNextAmount>1){for(var c=o.loadPrevNextAmount,u=l,v=Math.min(r+u+Math.max(c,u),a.length),f=Math.max(r-Math.max(u,c),0),m=r+l;m<v;m+=1)d(m)&&e.lazy.loadInSlide(m);for(var g=f;g<r;g+=1)d(g)&&e.lazy.loadInSlide(g)}else{var b=t.children("."+i.slideNextClass);b.length>0&&e.lazy.loadInSlide(h(b));var w=t.children("."+i.slidePrevClass);w.length>0&&e.lazy.loadInSlide(h(w))}}},de={LinearSpline:function(e,t){var i,s,a,r,n,o=function(e,t){for(s=-1,i=e.length;i-s>1;)e[a=i+s>>1]<=t?s=a:i=a;return i};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=o(this.x,e),r=n-1,(e-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new de.LinearSpline(this.slidesGrid,e.slidesGrid):new de.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,s,a=this,r=a.controller.control;function n(e){var t=a.rtlTranslate?-a.translate:a.translate;"slide"===a.params.controller.by&&(a.controller.getInterpolateFunction(e),s=-a.controller.spline.interpolate(-t)),s&&"container"!==a.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(a.maxTranslate()-a.minTranslate()),s=(t-a.minTranslate())*i+e.minTranslate()),a.params.controller.inverse&&(s=e.maxTranslate()-s),e.updateProgress(s),e.setTranslate(s,a),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var o=0;o<r.length;o+=1)r[o]!==t&&r[o]instanceof W&&n(r[o]);else r instanceof W&&t!==r&&n(r)},setTransition:function(e,t){var i,s=this,a=s.controller.control;function r(t){t.setTransition(e,s),0!==e&&(t.transitionStart(),t.params.autoHeight&&n.nextTick((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){a&&(t.params.loop&&"slide"===s.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(a))for(i=0;i<a.length;i+=1)a[i]!==t&&a[i]instanceof W&&r(a[i]);else a instanceof W&&t!==a&&r(a)}},he={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this.params.a11y;if(13===e.keyCode){var i=s(e.target);this.navigation&&this.navigation.$nextEl&&i.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(t.lastSlideMessage):this.a11y.notify(t.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&i.is(this.navigation.$prevEl)&&(this.isBeginning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(t.firstSlideMessage):this.a11y.notify(t.prevSlideMessage)),this.pagination&&i.is("."+this.params.pagination.bulletClass)&&i[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){if(!this.params.loop&&this.navigation){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;i&&i.length>0&&(this.isBeginning?this.a11y.disableEl(i):this.a11y.enableEl(i)),t&&t.length>0&&(this.isEnd?this.a11y.disableEl(t):this.a11y.enableEl(t))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(i,a){var r=s(a);e.a11y.makeElFocusable(r),e.a11y.addElRole(r,"button"),e.a11y.addElLabel(r,t.paginationBulletMessage.replace(/{{index}}/,r.index()+1))}))},init:function(){this.$el.append(this.a11y.liveRegion);var e,t,i=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,i.nextSlideMessage),e.on("keydown",this.a11y.onEnterKey)),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,i.prevSlideMessage),t.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},pe={init:function(){if(this.params.history){if(!t.history||!t.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var e=this.history;e.initialized=!0,e.paths=pe.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||t.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||t.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=pe.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=t.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),i=e.length;return{key:e[i-2],value:e[i-1]}},setHistory:function(e,i){if(this.history.initialized&&this.params.history.enabled){var s=this.slides.eq(i),a=pe.slugify(s.attr("data-history"));t.location.pathname.includes(e)||(a=e+"/"+a);var r=t.history.state;r&&r.value===a||(this.params.history.replaceState?t.history.replaceState({value:a},null,a):t.history.pushState({value:a},null,a))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){if(t)for(var s=0,a=this.slides.length;s<a;s+=1){var r=this.slides.eq(s);if(pe.slugify(r.attr("data-history"))===t&&!r.hasClass(this.params.slideDuplicateClass)){var n=r.index();this.slideTo(n,e,i)}}else this.slideTo(0,e,i)}},ce={onHashCange:function(){var t=e.location.hash.replace("#","");if(t!==this.slides.eq(this.activeIndex).attr("data-hash")){var i=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+t+'"]').index();if(void 0===i)return;this.slideTo(i)}},setHash:function(){if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&t.history&&t.history.replaceState)t.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||"");else{var i=this.slides.eq(this.activeIndex),s=i.attr("data-hash")||i.attr("data-history");e.location.hash=s||""}},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var i=e.location.hash.replace("#","");if(i)for(var a=0,r=this.slides.length;a<r;a+=1){var n=this.slides.eq(a);if((n.attr("data-hash")||n.attr("data-history"))===i&&!n.hasClass(this.params.slideDuplicateClass)){var o=n.index();this.slideTo(o,0,this.params.runCallbacksOnInit,!0)}}this.params.hashNavigation.watchState&&s(t).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&s(t).off("hashchange",this.hashNavigation.onHashCange)}},ue={run:function(){var e=this,t=e.slides.eq(e.activeIndex),i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=n.nextTick((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()}),i)},start:function(){return void 0===this.autoplay.timeout&&(!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0))},stop:function(){return!!this.autoplay.running&&(void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0))},pause:function(e){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},ve={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var i=this.slides.eq(t),s=-i[0].swiperSlideOffset;this.params.virtualTranslate||(s-=this.translate);var a=0;this.isHorizontal()||(a=s,s=0);var r=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:r}).transform("translate3d("+s+"px, "+a+"px, 0px)")}},setTransition:function(e){var t=this,i=t.slides,s=t.$wrapperEl;if(i.transition(e),t.params.virtualTranslate&&0!==e){var a=!1;i.transitionEnd((function(){if(!a&&t&&!t.destroyed){a=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)s.trigger(e[i])}}))}}},fe={setTranslate:function(){var e,t=this.$el,i=this.$wrapperEl,a=this.slides,r=this.width,n=this.height,o=this.rtlTranslate,l=this.size,d=this.params.cubeEffect,h=this.isHorizontal(),p=this.virtual&&this.params.virtual.enabled,c=0;d.shadow&&(h?(0===(e=i.find(".swiper-cube-shadow")).length&&(e=s('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:r+"px"})):0===(e=t.find(".swiper-cube-shadow")).length&&(e=s('<div class="swiper-cube-shadow"></div>'),t.append(e)));for(var u=0;u<a.length;u+=1){var v=a.eq(u),f=u;p&&(f=parseInt(v.attr("data-swiper-slide-index"),10));var m=90*f,g=Math.floor(m/360);o&&(m=-m,g=Math.floor(-m/360));var b=Math.max(Math.min(v[0].progress,1),-1),w=0,y=0,x=0;f%4==0?(w=4*-g*l,x=0):(f-1)%4==0?(w=0,x=4*-g*l):(f-2)%4==0?(w=l+4*g*l,x=l):(f-3)%4==0&&(w=-l,x=3*l+4*l*g),o&&(w=-w),h||(y=w,w=0);var T="rotateX("+(h?0:-m)+"deg) rotateY("+(h?m:0)+"deg) translate3d("+w+"px, "+y+"px, "+x+"px)";if(b<=1&&b>-1&&(c=90*f+90*b,o&&(c=90*-f-90*b)),v.transform(T),d.slideShadows){var E=h?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),S=h?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");0===E.length&&(E=s('<div class="swiper-slide-shadow-'+(h?"left":"top")+'"></div>'),v.append(E)),0===S.length&&(S=s('<div class="swiper-slide-shadow-'+(h?"right":"bottom")+'"></div>'),v.append(S)),E.length&&(E[0].style.opacity=Math.max(-b,0)),S.length&&(S[0].style.opacity=Math.max(b,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),d.shadow)if(h)e.transform("translate3d(0px, "+(r/2+d.shadowOffset)+"px, "+-r/2+"px) rotateX(90deg) rotateZ(0deg) scale("+d.shadowScale+")");else{var C=Math.abs(c)-90*Math.floor(Math.abs(c)/90),M=1.5-(Math.sin(2*C*Math.PI/360)/2+Math.cos(2*C*Math.PI/360)/2),P=d.shadowScale,z=d.shadowScale/M,k=d.shadowOffset;e.transform("scale3d("+P+", 1, "+z+") translate3d(0px, "+(n/2+k)+"px, "+-n/2/z+"px) rotateX(-90deg)")}var $=j.isSafari||j.isUiWebView?-l/2:0;i.transform("translate3d(0px,0,"+$+"px) rotateX("+(this.isHorizontal()?0:c)+"deg) rotateY("+(this.isHorizontal()?-c:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},me={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,i=0;i<e.length;i+=1){var a=e.eq(i),r=a[0].progress;this.params.flipEffect.limitRotation&&(r=Math.max(Math.min(a[0].progress,1),-1));var n=-180*r,o=0,l=-a[0].swiperSlideOffset,d=0;if(this.isHorizontal()?t&&(n=-n):(d=l,l=0,o=-n,n=0),a[0].style.zIndex=-Math.abs(Math.round(r))+e.length,this.params.flipEffect.slideShadows){var h=this.isHorizontal()?a.find(".swiper-slide-shadow-left"):a.find(".swiper-slide-shadow-top"),p=this.isHorizontal()?a.find(".swiper-slide-shadow-right"):a.find(".swiper-slide-shadow-bottom");0===h.length&&(h=s('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),a.append(h)),0===p.length&&(p=s('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),a.append(p)),h.length&&(h[0].style.opacity=Math.max(-r,0)),p.length&&(p[0].style.opacity=Math.max(r,0))}a.transform("translate3d("+l+"px, "+d+"px, 0px) rotateX("+o+"deg) rotateY("+n+"deg)")}},setTransition:function(e){var t=this,i=t.slides,s=t.activeIndex,a=t.$wrapperEl;if(i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var r=!1;i.eq(s).transitionEnd((function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)a.trigger(e[i])}}))}}},ge={setTranslate:function(){for(var e=this.width,t=this.height,i=this.slides,a=this.$wrapperEl,r=this.slidesSizesGrid,n=this.params.coverflowEffect,l=this.isHorizontal(),d=this.translate,h=l?e/2-d:t/2-d,p=l?n.rotate:-n.rotate,c=n.depth,u=0,v=i.length;u<v;u+=1){var f=i.eq(u),m=r[u],g=(h-f[0].swiperSlideOffset-m/2)/m*n.modifier,b=l?p*g:0,w=l?0:p*g,y=-c*Math.abs(g),x=n.stretch;"string"==typeof x&&-1!==x.indexOf("%")&&(x=parseFloat(n.stretch)/100*m);var T=l?0:x*g,E=l?x*g:0;Math.abs(E)<.001&&(E=0),Math.abs(T)<.001&&(T=0),Math.abs(y)<.001&&(y=0),Math.abs(b)<.001&&(b=0),Math.abs(w)<.001&&(w=0);var S="translate3d("+E+"px,"+T+"px,"+y+"px)  rotateX("+w+"deg) rotateY("+b+"deg)";if(f.transform(S),f[0].style.zIndex=1-Math.abs(Math.round(g)),n.slideShadows){var C=l?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),M=l?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===C.length&&(C=s('<div class="swiper-slide-shadow-'+(l?"left":"top")+'"></div>'),f.append(C)),0===M.length&&(M=s('<div class="swiper-slide-shadow-'+(l?"right":"bottom")+'"></div>'),f.append(M)),C.length&&(C[0].style.opacity=g>0?g:0),M.length&&(M[0].style.opacity=-g>0?-g:0)}}(o.pointerEvents||o.prefixedPointerEvents)&&(a[0].style.perspectiveOrigin=h+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},be={init:function(){var e=this.params.thumbs,t=this.constructor;e.swiper instanceof t?(this.thumbs.swiper=e.swiper,n.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),n.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):n.isObject(e.swiper)&&(this.thumbs.swiper=new t(n.extend({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var e=this.thumbs.swiper;if(e){var t=e.clickedIndex,i=e.clickedSlide;if(!(i&&s(i).hasClass(this.params.thumbs.slideThumbActiveClass)||null==t)){var a;if(a=e.params.loop?parseInt(s(e.clickedSlide).attr("data-swiper-slide-index"),10):t,this.params.loop){var r=this.activeIndex;this.slides.eq(r).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,r=this.activeIndex);var n=this.slides.eq(r).prevAll('[data-swiper-slide-index="'+a+'"]').eq(0).index(),o=this.slides.eq(r).nextAll('[data-swiper-slide-index="'+a+'"]').eq(0).index();a=void 0===n?o:void 0===o?n:o-r<r-n?o:n}this.slideTo(a)}}},update:function(e){var t=this.thumbs.swiper;if(t){var i="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():t.params.slidesPerView;if(this.realIndex!==t.realIndex){var s,a=t.activeIndex;if(t.params.loop){t.slides.eq(a).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,a=t.activeIndex);var r=t.slides.eq(a).prevAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),n=t.slides.eq(a).nextAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index();s=void 0===r?n:void 0===n?r:n-a==a-r?a:n-a<a-r?n:r}else s=this.realIndex;t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(s)<0&&(t.params.centeredSlides?s=s>a?s-Math.floor(i/2)+1:s+Math.floor(i/2)-1:s>a&&(s=s-i+1),t.slideTo(s,e?0:void 0))}var o=1,l=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(o=this.params.slidesPerView),this.params.thumbs.multipleActiveThumbs||(o=1),o=Math.floor(o),t.slides.removeClass(l),t.params.loop||t.params.virtual&&t.params.virtual.enabled)for(var d=0;d<o;d+=1)t.$wrapperEl.children('[data-swiper-slide-index="'+(this.realIndex+d)+'"]').addClass(l);else for(var h=0;h<o;h+=1)t.slides.eq(this.realIndex+h).addClass(l)}}},we=[R,q,K,U,Z,J,te,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){n.extend(this,{mousewheel:{enabled:!1,enable:ie.enable.bind(this),disable:ie.disable.bind(this),handle:ie.handle.bind(this),handleMouseEnter:ie.handleMouseEnter.bind(this),handleMouseLeave:ie.handleMouseLeave.bind(this),animateSlider:ie.animateSlider.bind(this),releaseScroll:ie.releaseScroll.bind(this),lastScrollTime:n.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[]}})},on:{init:function(){!this.params.mousewheel.enabled&&this.params.cssMode&&this.mousewheel.disable(),this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.params.cssMode&&this.mousewheel.enable(),this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){n.extend(this,{navigation:{init:se.init.bind(this),update:se.update.bind(this),destroy:se.destroy.bind(this),onNextClick:se.onNextClick.bind(this),onPrevClick:se.onPrevClick.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,i=this.navigation,a=i.$nextEl,r=i.$prevEl;!this.params.navigation.hideOnClick||s(e.target).is(r)||s(e.target).is(a)||(a?t=a.hasClass(this.params.navigation.hiddenClass):r&&(t=r.hasClass(this.params.navigation.hiddenClass)),!0===t?this.emit("navigationShow",this):this.emit("navigationHide",this),a&&a.toggleClass(this.params.navigation.hiddenClass),r&&r.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){n.extend(this,{pagination:{init:ae.init.bind(this),render:ae.render.bind(this),update:ae.update.bind(this),destroy:ae.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){this.params.loop?this.pagination.update():void 0===this.snapIndex&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length>0&&!s(e.target).hasClass(this.params.pagination.bulletClass)&&(!0===this.pagination.$el.hasClass(this.params.pagination.hiddenClass)?this.emit("paginationShow",this):this.emit("paginationHide",this),this.pagination.$el.toggleClass(this.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){n.extend(this,{scrollbar:{init:re.init.bind(this),destroy:re.destroy.bind(this),updateSize:re.updateSize.bind(this),setTranslate:re.setTranslate.bind(this),setTransition:re.setTransition.bind(this),enableDraggable:re.enableDraggable.bind(this),disableDraggable:re.disableDraggable.bind(this),setDragPosition:re.setDragPosition.bind(this),getPointerPosition:re.getPointerPosition.bind(this),onDragStart:re.onDragStart.bind(this),onDragMove:re.onDragMove.bind(this),onDragEnd:re.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){n.extend(this,{parallax:{setTransform:ne.setTransform.bind(this),setTranslate:ne.setTranslate.bind(this),setTransition:ne.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(i){t[i]=oe[i].bind(e)})),n.extend(e,{zoom:t});var i=1;Object.defineProperty(e.zoom,"scale",{get:function(){return i},set:function(t){if(i!==t){var s=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,a=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,s,a)}i=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()},slideChange:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.params.cssMode&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){n.extend(this,{lazy:{initialImageLoaded:!1,load:le.load.bind(this),loadInSlide:le.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()},slideChange:function(){this.params.lazy.enabled&&this.params.cssMode&&this.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){n.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:de.getInterpolateFunction.bind(this),setTranslate:de.setTranslate.bind(this),setTransition:de.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var e=this;n.extend(e,{a11y:{liveRegion:s('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(he).forEach((function(t){e.a11y[t]=he[t].bind(e)}))},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){n.extend(this,{history:{init:pe.init.bind(this),setHistory:pe.setHistory.bind(this),setHistoryPopState:pe.setHistoryPopState.bind(this),scrollToSlide:pe.scrollToSlide.bind(this),destroy:pe.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)},slideChange:function(){this.history.initialized&&this.params.cssMode&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){n.extend(this,{hashNavigation:{initialized:!1,init:ce.init.bind(this),destroy:ce.destroy.bind(this),setHash:ce.setHash.bind(this),onHashCange:ce.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()},slideChange:function(){this.hashNavigation.initialized&&this.params.cssMode&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;n.extend(e,{autoplay:{running:!1,paused:!1,run:ue.run.bind(e),start:ue.start.bind(e),stop:ue.stop.bind(e),pause:ue.pause.bind(e),onVisibilityChange:function(){"hidden"===document.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===document.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&(this.autoplay.start(),document.addEventListener("visibilitychange",this.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},touchEnd:function(){this.params.cssMode&&this.autoplay.paused&&!this.params.autoplay.disableOnInteraction&&this.autoplay.run()},destroy:function(){this.autoplay.running&&this.autoplay.stop(),document.removeEventListener("visibilitychange",this.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){n.extend(this,{fadeEffect:{setTranslate:ve.setTranslate.bind(this),setTransition:ve.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"fade");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};n.extend(this.params,e),n.extend(this.originalParams,e)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){n.extend(this,{cubeEffect:{setTranslate:fe.setTranslate.bind(this),setTransition:fe.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};n.extend(this.params,e),n.extend(this.originalParams,e)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){n.extend(this,{flipEffect:{setTranslate:me.setTranslate.bind(this),setTransition:me.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};n.extend(this.params,e),n.extend(this.originalParams,e)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){n.extend(this,{coverflowEffect:{setTranslate:ge.setTranslate.bind(this),setTransition:ge.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{multipleActiveThumbs:!0,swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){n.extend(this,{thumbs:{swiper:null,init:be.init.bind(this),update:be.update.bind(this),onThumbClick:be.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===W.use&&(W.use=W.Class.use,W.installModule=W.Class.installModule),W.use(we),W}));
(function(a){window.ShareLink=function(b,c){var d,e={},f=function(a){var b=a.substr(0,e.classPrefixLength);return b===e.classPrefix?a.substr(e.classPrefixLength):null},g=function(a){d.on("click",function(){h(a)})},h=function(a){var b="";if(e.width&&e.height){var c=screen.width/2-e.width/2,d=screen.height/2-e.height/2;b="toolbar=0,status=0,width="+e.width+",height="+e.height+",top="+d+",left="+c}var f=ShareLink.getNetworkLink(a,e),g=/^https?:\/\//.test(f),h=g?"":"_self";open(f,h,b)},i=function(){a.each(b.classList,function(){var a=f(this);if(a)return g(a),!1})},j=function(){a.extend(e,ShareLink.defaultSettings,c),["title","text"].forEach(function(a){e[a]=e[a].replace("#","")}),e.classPrefixLength=e.classPrefix.length},k=function(){d=a(b)};(function(){j(),k(),i()})()},ShareLink.networkTemplates={twitter:"https://twitter.com/intent/tweet?text={text}\x20{url}",pinterest:"https://www.pinterest.com/pin/create/button/?url={url}&media={image}",facebook:"https://www.facebook.com/sharer.php?u={url}",vk:"https://vkontakte.ru/share.php?url={url}&title={title}&description={text}&image={image}",linkedin:"https://www.linkedin.com/shareArticle?mini=true&url={url}&title={title}&summary={text}&source={url}",odnoklassniki:"https://connect.ok.ru/offer?url={url}&title={title}&imageUrl={image}",tumblr:"https://tumblr.com/share/link?url={url}",google:"https://plus.google.com/share?url={url}",digg:"https://digg.com/submit?url={url}",reddit:"https://reddit.com/submit?url={url}&title={title}",stumbleupon:"https://www.stumbleupon.com/submit?url={url}",pocket:"https://getpocket.com/edit?url={url}",whatsapp:"https://api.whatsapp.com/send?text=*{title}*\n{text}\n{url}",xing:"https://www.xing.com/app/user?op=share&url={url}",print:"javascript:print()",email:"mailto:?subject={title}&body={text}\n{url}",telegram:"https://telegram.me/share/url?url={url}&text={text}",skype:"https://web.skype.com/share?url={url}"},ShareLink.defaultSettings={title:"",text:"",image:"",url:location.href,classPrefix:"s_",width:640,height:480},ShareLink.getNetworkLink=function(a,b){var c=ShareLink.networkTemplates[a].replace(/{([^}]+)}/g,function(a,c){return b[c]||""});if("email"===a){if(-1<b.title.indexOf("&")||-1<b.text.indexOf("&")){var d={text:b.text.replace(/&/g,"%26"),title:b.title.replace(/&/g,"%26"),url:b.url};c=ShareLink.networkTemplates[a].replace(/{([^}]+)}/g,function(a,b){return d[b]})}return c.indexOf("?subject=&body")&&(c=c.replace("subject=&","")),c}return c},a.fn.shareLink=function(b){return this.each(function(){a(this).data("shareLink",new ShareLink(this,b))})}})(jQuery);
/*! dialogs-manager v4.8.1 | (c) Kobi Zaltzberg | https://github.com/kobizz/dialogs-manager/blob/master/LICENSE.txt 
 2020-08-17 18:55 */
!function(a,b){"use strict";var c={widgetsTypes:{},createWidgetType:function(b,d,e){e||(e=this.Widget);var f=function(){e.apply(this,arguments)},g=f.prototype=new e(b);return g.types=g.types.concat([b]),a.extend(g,d),g.constructor=f,f.extend=function(a,b){return c.createWidgetType(a,b,f)},f},addWidgetType:function(a,b,c){return b&&b.prototype instanceof this.Widget?this.widgetsTypes[a]=b:this.widgetsTypes[a]=this.createWidgetType(a,b,c)},getWidgetType:function(a){return this.widgetsTypes[a]}};c.Instance=function(){var b=this,d={},e={},f=function(){d.body=a("body")},g=function(b){var c={classPrefix:"dialog",effects:{show:"fadeIn",hide:"fadeOut"}};a.extend(e,c,b)};this.createWidget=function(a,d){var e=c.getWidgetType(a),f=new e(a);return d=d||{},f.init(b,d),f},this.getSettings=function(a){return a?e[a]:Object.create(e)},this.init=function(a){return g(a),f(),b},b.init()},c.Widget=function(b){var d=this,e={},f={},g={},h=0,i=["refreshPosition"],j=function(){var a=[g.window];g.iframe&&a.push(jQuery(g.iframe[0].contentWindow)),a.forEach(function(a){e.hide.onEscKeyPress&&a.on("keyup",v),e.hide.onOutsideClick&&a[0].addEventListener("click",p,!0),e.hide.onOutsideContextMenu&&a[0].addEventListener("contextmenu",p,!0),e.position.autoRefresh&&a.on("resize",d.refreshPosition)}),(e.hide.onClick||e.hide.onBackgroundClick)&&g.widget.on("click",n)},k=function(b,c){var d=e.effects[b],f=g.widget;if(a.isFunction(d))d.apply(f,c);else{if(!f[d])throw"Reference Error: The effect "+d+" not found";f[d].apply(f,c)}},l=function(){var b=i.concat(d.getClosureMethods());a.each(b,function(){var a=this,b=d[a];d[a]=function(){b.apply(d,arguments)}})},m=function(a){if(a.my){var b=/left|right/,c=/([+-]\d+)?$/,d=g.iframe.offset(),e=g.iframe[0].contentWindow,f=a.my.split(" "),h=[];1===f.length&&(b.test(f[0])?f.push("center"):f.unshift("center")),f.forEach(function(a,b){var f=a.replace(c,function(a){return a=+a||0,a+=b?d.top-e.scrollY:d.left-e.scrollX,a>=0&&(a="+"+a),a});h.push(f)}),a.my=h.join(" ")}},n=function(b){if(!t(b)){if(e.hide.onClick){if(a(b.target).closest(e.selectors.preventClose).length)return}else if(b.target!==this)return;d.hide()}},o=function(b){return!!e.hide.ignore&&!!a(b.target).closest(e.hide.ignore).length},p=function(b){t(b)||a(b.target).closest(g.widget).length||o(b)||d.hide()},q=function(){if(d.addElement("widget"),d.addElement("header"),d.addElement("message"),d.addElement("window",window),d.addElement("body",document.body),d.addElement("container",e.container),e.iframe&&d.addElement("iframe",e.iframe),e.closeButton){e.closeButtonClass&&(e.closeButtonOptions.iconClass=e.closeButtonClass);const b=a("<div>",e.closeButtonOptions.attributes),c=a("<i>",{"class":e.closeButtonOptions.iconClass});b.append(c),d.addElement("closeButton",b)}var f=d.getSettings("id");f&&d.setID(f);var h=[];a.each(d.types,function(){h.push(e.classes.globalPrefix+"-type-"+this)}),h.push(d.getSettings("className")),g.widget.addClass(h.join(" "))},r=function(c,f){var g=a.extend(!0,{},c.getSettings());e={headerMessage:"",message:"",effects:g.effects,classes:{globalPrefix:g.classPrefix,prefix:g.classPrefix+"-"+b,preventScroll:g.classPrefix+"-prevent-scroll"},selectors:{preventClose:"."+g.classPrefix+"-prevent-close"},container:"body",preventScroll:!1,iframe:null,closeButton:!1,closeButtonOptions:{iconClass:g.classPrefix+"-close-button-icon",attributes:{}},position:{element:"widget",my:"center",at:"center",enable:!0,autoRefresh:!1},hide:{auto:!1,autoDelay:5e3,onClick:!1,onOutsideClick:!0,onOutsideContextMenu:!1,onBackgroundClick:!0,onEscKeyPress:!0,ignore:""}},a.extend(!0,e,d.getDefaultSettings(),f),s()},s=function(){a.each(e,function(a){var b=a.match(/^on([A-Z].*)/);b&&(b=b[1].charAt(0).toLowerCase()+b[1].slice(1),d.on(b,this))})},t=function(a){return"click"===a.type&&2===a.button},u=function(a){return a.replace(/([a-z])([A-Z])/g,function(){return arguments[1]+"-"+arguments[2].toLowerCase()})},v=function(a){var b=27,c=a.which;b===c&&d.hide()},w=function(){var a=[g.window];g.iframe&&a.push(jQuery(g.iframe[0].contentWindow)),a.forEach(function(a){e.hide.onEscKeyPress&&a.off("keyup",v),e.hide.onOutsideClick&&a[0].removeEventListener("click",p,!0),e.hide.onOutsideContextMenu&&a[0].removeEventListener("contextmenu",p,!0),e.position.autoRefresh&&a.off("resize",d.refreshPosition)}),(e.hide.onClick||e.hide.onBackgroundClick)&&g.widget.off("click",n)};this.addElement=function(b,c,d){var f=g[b]=a(c||"<div>"),h=u(b);return d=d?d+" ":"",d+=e.classes.globalPrefix+"-"+h,d+=" "+e.classes.prefix+"-"+h,f.addClass(d),f},this.destroy=function(){return w(),g.widget.remove(),d.trigger("destroy"),d},this.getElements=function(a){return a?g[a]:g},this.getSettings=function(a){var b=Object.create(e);return a?b[a]:b},this.hide=function(){if(d.isVisible())return clearTimeout(h),k("hide",arguments),w(),e.preventScroll&&d.getElements("body").removeClass(e.classes.preventScroll),d.trigger("hide"),d},this.init=function(a,b){if(!(a instanceof c.Instance))throw"The "+d.widgetName+" must to be initialized from an instance of DialogsManager.Instance";return l(),d.trigger("init",b),r(a,b),q(),d.buildWidget(),d.attachEvents(),d.trigger("ready"),d},this.isVisible=function(){return g.widget.is(":visible")},this.on=function(b,c){if("object"==typeof b)return a.each(b,function(a){d.on(a,this)}),d;var e=b.split(" ");return e.forEach(function(a){f[a]||(f[a]=[]),f[a].push(c)}),d},this.off=function(a,b){if(!f[a])return d;if(!b)return delete f[a],d;var c=f[a].indexOf(b);return-1!==c&&f[a].splice(c,1),d},this.refreshPosition=function(){if(e.position.enable){var b=a.extend({},e.position);g[b.of]&&(b.of=g[b.of]),b.of||(b.of=window),e.iframe&&m(b),g[b.element].position(b)}},this.setID=function(a){return g.widget.attr("id",a),d},this.setHeaderMessage=function(a){return d.getElements("header").html(a),d},this.setMessage=function(a){return g.message.html(a),d},this.setSettings=function(b,c){return jQuery.isPlainObject(c)?a.extend(!0,e[b],c):e[b]=c,d},this.show=function(){return clearTimeout(h),g.widget.appendTo(g.container).hide(),k("show",arguments),d.refreshPosition(),e.hide.auto&&(h=setTimeout(d.hide,e.hide.autoDelay)),j(),e.preventScroll&&d.getElements("body").addClass(e.classes.preventScroll),d.trigger("show"),d},this.trigger=function(b,c){var e="on"+b[0].toUpperCase()+b.slice(1);d[e]&&d[e](c);var g=f[b];if(g)return a.each(g,function(a,b){b.call(d,c)}),d}},c.Widget.prototype.types=[],c.Widget.prototype.buildWidget=function(){var a=this.getElements(),b=this.getSettings();a.widget.append(a.header,a.message),this.setHeaderMessage(b.headerMessage),this.setMessage(b.message),this.getSettings("closeButton")&&a.widget.prepend(a.closeButton)},c.Widget.prototype.attachEvents=function(){var a=this;a.getSettings("closeButton")&&a.getElements("closeButton").on("click",function(){a.hide()})},c.Widget.prototype.getDefaultSettings=function(){return{}},c.Widget.prototype.getClosureMethods=function(){return[]},c.Widget.prototype.onHide=function(){},c.Widget.prototype.onShow=function(){},c.Widget.prototype.onInit=function(){},c.Widget.prototype.onReady=function(){},c.widgetsTypes.simple=c.Widget,c.addWidgetType("buttons",{activeKeyUp:function(a){var b=9;a.which===b&&a.preventDefault(),this.hotKeys[a.which]&&this.hotKeys[a.which](this)},activeKeyDown:function(a){if(this.focusedButton){var b=9;if(a.which===b){a.preventDefault();var c,d=this.focusedButton.index();a.shiftKey?(c=d-1,c<0&&(c=this.buttons.length-1)):(c=d+1,c>=this.buttons.length&&(c=0)),this.focusedButton=this.buttons[c].focus()}}},addButton:function(b){var c=this,d=c.getSettings(),e=jQuery.extend(d.button,b),f=b.classes?b.classes+" ":"";f+=d.classes.globalPrefix+"-button";var g=c.addElement(b.name,a("<"+e.tag+">").html(b.text),f);c.buttons.push(g);var h=function(){d.hide.onButtonClick&&c.hide(),a.isFunction(b.callback)&&b.callback.call(this,c)};return g.on("click",h),b.hotKey&&(this.hotKeys[b.hotKey]=h),this.getElements("buttonsWrapper").append(g),b.focus&&(this.focusedButton=g),c},bindHotKeys:function(){this.getElements("window").on({keyup:this.activeKeyUp,keydown:this.activeKeyDown})},buildWidget:function(){c.Widget.prototype.buildWidget.apply(this,arguments);var a=this.addElement("buttonsWrapper");this.getElements("widget").append(a)},getClosureMethods:function(){return["activeKeyUp","activeKeyDown"]},getDefaultSettings:function(){return{hide:{onButtonClick:!0},button:{tag:"button"}}},onHide:function(){this.unbindHotKeys()},onInit:function(){this.buttons=[],this.hotKeys={},this.focusedButton=null},onShow:function(){this.bindHotKeys(),this.focusedButton||(this.focusedButton=this.buttons[0]),this.focusedButton&&this.focusedButton.focus()},unbindHotKeys:function(){this.getElements("window").off({keyup:this.activeKeyUp,keydown:this.activeKeyDown})}}),c.addWidgetType("lightbox",c.getWidgetType("buttons").extend("lightbox",{getDefaultSettings:function(){var b=c.getWidgetType("buttons").prototype.getDefaultSettings.apply(this,arguments);return a.extend(!0,b,{contentWidth:"auto",contentHeight:"auto",position:{element:"widgetContent",of:"widget",autoRefresh:!0}})},buildWidget:function(){c.getWidgetType("buttons").prototype.buildWidget.apply(this,arguments);var a=this.addElement("widgetContent"),b=this.getElements();a.append(b.header,b.message,b.buttonsWrapper),b.widget.html(a),b.closeButton&&a.prepend(b.closeButton)},onReady:function(){var a=this.getElements(),b=this.getSettings();"auto"!==b.contentWidth&&a.message.width(b.contentWidth),"auto"!==b.contentHeight&&a.message.height(b.contentHeight)}})),c.addWidgetType("confirm",c.getWidgetType("lightbox").extend("confirm",{onReady:function(){c.getWidgetType("lightbox").prototype.onReady.apply(this,arguments);var a=this.getSettings("strings"),b="cancel"===this.getSettings("defaultOption");this.addButton({name:"cancel",text:a.cancel,callback:function(a){a.trigger("cancel")},focus:b}),this.addButton({name:"ok",text:a.confirm,callback:function(a){a.trigger("confirm")},focus:!b})},getDefaultSettings:function(){var a=c.getWidgetType("lightbox").prototype.getDefaultSettings.apply(this,arguments);return a.strings={confirm:"OK",cancel:"Cancel"},a.defaultOption="cancel",a}})),c.addWidgetType("alert",c.getWidgetType("lightbox").extend("alert",{onReady:function(){c.getWidgetType("lightbox").prototype.onReady.apply(this,arguments);var a=this.getSettings("strings");this.addButton({name:"ok",text:a.confirm,callback:function(a){a.trigger("confirm")}})},getDefaultSettings:function(){var a=c.getWidgetType("lightbox").prototype.getDefaultSettings.apply(this,arguments);return a.strings={confirm:"OK"},a}})),b.DialogsManager=c}("undefined"!=typeof jQuery?jQuery:"function"==typeof require&&require("jquery"),"undefined"!=typeof module?module.exports:window);
