peceful/js/foundation.min.js

6262 lines
283 KiB
JavaScript
Raw Normal View History

2024-04-26 21:40:32 +00:00
/******/ (function() { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ "./node_modules/foundation-sites/dist/js/foundation.min.js":
/*!*****************************************************************!*\
!*** ./node_modules/foundation-sites/dist/js/foundation.min.js ***!
\*****************************************************************/
/***/ (function(module, exports, __webpack_require__) {
/* module decorator */ module = __webpack_require__.nmd(module);
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
!function (t, e) {
if ("object" == ( false ? 0 : _typeof(exports)) && "object" == ( false ? 0 : _typeof(module))) module.exports = e(__webpack_require__(/*! jquery */ "jquery"));else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! jquery */ "jquery")], __WEBPACK_AMD_DEFINE_FACTORY__ = (e),
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else { var n, i; }
}(window, function (n) {
return i = {
"./js/entries/foundation.js": function jsEntriesFoundationJs(t, e, n) {
"use strict";
n.r(e);
var i = n("jquery"),
i = n.n(i),
o = n("./js/foundation.core.js");
n.d(e, "Foundation", function () {
return o.Foundation;
});
var s = n("./js/foundation.core.utils.js");
n.d(e, "CoreUtils", function () {
return s;
});
var r = n("./js/foundation.util.box.js");
n.d(e, "Box", function () {
return r.Box;
});
var a = n("./js/foundation.util.imageLoader.js");
n.d(e, "onImagesLoaded", function () {
return a.onImagesLoaded;
});
var l = n("./js/foundation.util.keyboard.js");
n.d(e, "Keyboard", function () {
return l.Keyboard;
});
var u = n("./js/foundation.util.mediaQuery.js");
n.d(e, "MediaQuery", function () {
return u.MediaQuery;
});
var c = n("./js/foundation.util.motion.js");
n.d(e, "Motion", function () {
return c.Motion;
});
var f = n("./js/foundation.util.nest.js");
n.d(e, "Nest", function () {
return f.Nest;
});
var d = n("./js/foundation.util.timer.js");
n.d(e, "Timer", function () {
return d.Timer;
});
var h = n("./js/foundation.util.touch.js");
n.d(e, "Touch", function () {
return h.Touch;
});
var p = n("./js/foundation.util.triggers.js");
n.d(e, "Triggers", function () {
return p.Triggers;
});
var m = n("./js/foundation.abide.js");
n.d(e, "Abide", function () {
return m.Abide;
});
var g = n("./js/foundation.accordion.js");
n.d(e, "Accordion", function () {
return g.Accordion;
});
var v = n("./js/foundation.accordionMenu.js");
n.d(e, "AccordionMenu", function () {
return v.AccordionMenu;
});
var y = n("./js/foundation.drilldown.js");
n.d(e, "Drilldown", function () {
return y.Drilldown;
});
var b = n("./js/foundation.dropdown.js");
n.d(e, "Dropdown", function () {
return b.Dropdown;
});
var w = n("./js/foundation.dropdownMenu.js");
n.d(e, "DropdownMenu", function () {
return w.DropdownMenu;
});
var _ = n("./js/foundation.equalizer.js");
n.d(e, "Equalizer", function () {
return _.Equalizer;
});
var $ = n("./js/foundation.interchange.js");
n.d(e, "Interchange", function () {
return $.Interchange;
});
var k = n("./js/foundation.magellan.js");
n.d(e, "Magellan", function () {
return k.Magellan;
});
var j = n("./js/foundation.offcanvas.js");
n.d(e, "OffCanvas", function () {
return j.OffCanvas;
});
var O = n("./js/foundation.orbit.js");
n.d(e, "Orbit", function () {
return O.Orbit;
});
var C = n("./js/foundation.responsiveMenu.js");
n.d(e, "ResponsiveMenu", function () {
return C.ResponsiveMenu;
});
var z = n("./js/foundation.responsiveToggle.js");
n.d(e, "ResponsiveToggle", function () {
return z.ResponsiveToggle;
});
var T = n("./js/foundation.reveal.js");
n.d(e, "Reveal", function () {
return T.Reveal;
});
var S = n("./js/foundation.slider.js");
n.d(e, "Slider", function () {
return S.Slider;
});
var R = n("./js/foundation.smoothScroll.js");
n.d(e, "SmoothScroll", function () {
return R.SmoothScroll;
});
var E = n("./js/foundation.sticky.js");
n.d(e, "Sticky", function () {
return E.Sticky;
});
var x = n("./js/foundation.tabs.js");
n.d(e, "Tabs", function () {
return x.Tabs;
});
var P = n("./js/foundation.toggler.js");
n.d(e, "Toggler", function () {
return P.Toggler;
});
var A = n("./js/foundation.tooltip.js");
n.d(e, "Tooltip", function () {
return A.Tooltip;
});
var L = n("./js/foundation.responsiveAccordionTabs.js");
n.d(e, "ResponsiveAccordionTabs", function () {
return L.ResponsiveAccordionTabs;
}), o.Foundation.addToJquery(i.a), o.Foundation.rtl = s.rtl, o.Foundation.GetYoDigits = s.GetYoDigits, o.Foundation.transitionend = s.transitionend, o.Foundation.RegExpEscape = s.RegExpEscape, o.Foundation.onLoad = s.onLoad, o.Foundation.Box = r.Box, o.Foundation.onImagesLoaded = a.onImagesLoaded, o.Foundation.Keyboard = l.Keyboard, o.Foundation.MediaQuery = u.MediaQuery, o.Foundation.Motion = c.Motion, o.Foundation.Move = c.Move, o.Foundation.Nest = f.Nest, o.Foundation.Timer = d.Timer, h.Touch.init(i.a), p.Triggers.init(i.a, o.Foundation), u.MediaQuery._init(), o.Foundation.plugin(m.Abide, "Abide"), o.Foundation.plugin(g.Accordion, "Accordion"), o.Foundation.plugin(v.AccordionMenu, "AccordionMenu"), o.Foundation.plugin(y.Drilldown, "Drilldown"), o.Foundation.plugin(b.Dropdown, "Dropdown"), o.Foundation.plugin(w.DropdownMenu, "DropdownMenu"), o.Foundation.plugin(_.Equalizer, "Equalizer"), o.Foundation.plugin($.Interchange, "Interchange"), o.Foundation.plugin(k.Magellan, "Magellan"), o.Foundation.plugin(j.OffCanvas, "OffCanvas"), o.Foundation.plugin(O.Orbit, "Orbit"), o.Foundation.plugin(C.ResponsiveMenu, "ResponsiveMenu"), o.Foundation.plugin(z.ResponsiveToggle, "ResponsiveToggle"), o.Foundation.plugin(T.Reveal, "Reveal"), o.Foundation.plugin(S.Slider, "Slider"), o.Foundation.plugin(R.SmoothScroll, "SmoothScroll"), o.Foundation.plugin(E.Sticky, "Sticky"), o.Foundation.plugin(x.Tabs, "Tabs"), o.Foundation.plugin(P.Toggler, "Toggler"), o.Foundation.plugin(A.Tooltip, "Tooltip"), o.Foundation.plugin(L.ResponsiveAccordionTabs, "ResponsiveAccordionTabs"), e.default = o.Foundation;
},
"./js/foundation.abide.js": function jsFoundationAbideJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Abide", function () {
return i;
});
var e = n("jquery"),
c = n.n(e),
s = n("./js/foundation.core.plugin.js"),
r = n("./js/foundation.core.utils.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function a(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function l(t, e) {
return (l = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function u(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = f(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = f(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function f(t) {
return (f = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && l(t, e);
}(o, s["Plugin"]);
var t,
e,
n,
i = u(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t) {
var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {};
this.$element = t, this.options = c.a.extend(!0, {}, o.defaults, this.$element.data(), e), this.isEnabled = !0, this.formnovalidate = null, this.className = "Abide", this._init();
}
}, {
key: "_init",
value: function value() {
var n = this;
this.$inputs = c.a.merge(this.$element.find("input").not('[type="submit"]'), this.$element.find("textarea, select")), this.$submits = this.$element.find('[type="submit"]');
var t = this.$element.find("[data-abide-error]");
this.options.a11yAttributes && (this.$inputs.each(function (t, e) {
return n.addA11yAttributes(c()(e));
}), t.each(function (t, e) {
return n.addGlobalErrorA11yAttributes(c()(e));
})), this._events();
}
}, {
key: "_events",
value: function value() {
var e = this;
this.$element.off(".abide").on("reset.zf.abide", function () {
e.resetForm();
}).on("submit.zf.abide", function () {
return e.validateForm();
}), this.$submits.off("click.zf.abide keydown.zf.abide").on("click.zf.abide keydown.zf.abide", function (t) {
t.key && " " !== t.key && "Enter" !== t.key || (t.preventDefault(), e.formnovalidate = null !== t.target.getAttribute("formnovalidate"), e.$element.submit());
}), "fieldChange" === this.options.validateOn && this.$inputs.off("change.zf.abide").on("change.zf.abide", function (t) {
e.validateInput(c()(t.target));
}), this.options.liveValidate && this.$inputs.off("input.zf.abide").on("input.zf.abide", function (t) {
e.validateInput(c()(t.target));
}), this.options.validateOnBlur && this.$inputs.off("blur.zf.abide").on("blur.zf.abide", function (t) {
e.validateInput(c()(t.target));
});
}
}, {
key: "_reflow",
value: function value() {
this._init();
}
}, {
key: "_validationIsDisabled",
value: function value() {
return !1 === this.isEnabled || ("boolean" == typeof this.formnovalidate ? this.formnovalidate : !!this.$submits.length && null !== this.$submits[0].getAttribute("formnovalidate"));
}
}, {
key: "enableValidation",
value: function value() {
this.isEnabled = !0;
}
}, {
key: "disableValidation",
value: function value() {
this.isEnabled = !1;
}
}, {
key: "requiredCheck",
value: function value(t) {
if (!t.attr("required")) return !0;
var e = !0;
switch (t[0].type) {
case "checkbox":
e = t[0].checked;
break;
case "select":
case "select-one":
case "select-multiple":
var n = t.find("option:selected");
n.length && n.val() || (e = !1);
break;
default:
t.val() && t.val().length || (e = !1);
}
return e;
}
}, {
key: "findFormError",
value: function value(e, t) {
var n = this,
i = e.length ? e[0].id : "",
o = e.siblings(this.options.formErrorSelector);
return o.length || (o = e.parent().find(this.options.formErrorSelector)), i && (o = o.add(this.$element.find('[data-form-error-for="'.concat(i, '"]')))), t && (o = o.not("[data-form-error-on]"), t.forEach(function (t) {
o = (o = o.add(e.siblings('[data-form-error-on="'.concat(t, '"]')))).add(n.$element.find('[data-form-error-for="'.concat(i, '"][data-form-error-on="').concat(t, '"]')));
})), o;
}
}, {
key: "findLabel",
value: function value(t) {
var e = t[0].id,
e = this.$element.find('label[for="'.concat(e, '"]'));
return e.length ? e : t.closest("label");
}
}, {
key: "findRadioLabels",
value: function value(t) {
var i = this,
t = t.map(function (t, e) {
var n = e.id,
n = i.$element.find('label[for="'.concat(n, '"]'));
return (n = !n.length ? c()(e).closest("label") : n)[0];
});
return c()(t);
}
}, {
key: "findCheckboxLabels",
value: function value(t) {
var i = this,
t = t.map(function (t, e) {
var n = e.id,
n = i.$element.find('label[for="'.concat(n, '"]'));
return (n = !n.length ? c()(e).closest("label") : n)[0];
});
return c()(t);
}
}, {
key: "addErrorClasses",
value: function value(t, e) {
var n = this.findLabel(t),
e = this.findFormError(t, e);
n.length && n.addClass(this.options.labelErrorClass), e.length && e.addClass(this.options.formErrorClass), t.addClass(this.options.inputErrorClass).attr({
"data-invalid": "",
"aria-invalid": !0
});
}
}, {
key: "addA11yAttributes",
value: function value(t) {
var e,
n,
i = this.findFormError(t),
o = i.filter("label"),
s = i.first();
i.length && (void 0 === t.attr("aria-describedby") && (void 0 === (e = s.attr("id")) && (e = Object(r.GetYoDigits)(6, "abide-error"), s.attr("id", e)), t.attr("aria-describedby", e)), o.filter("[for]").length < o.length && (void 0 === (n = t.attr("id")) && (n = Object(r.GetYoDigits)(6, "abide-input"), t.attr("id", n)), o.each(function (t, e) {
e = c()(e);
void 0 === e.attr("for") && e.attr("for", n);
})), i.each(function (t, e) {
e = c()(e);
void 0 === e.attr("role") && e.attr("role", "alert");
}).end());
}
}, {
key: "addGlobalErrorA11yAttributes",
value: function value(t) {
void 0 === t.attr("aria-live") && t.attr("aria-live", this.options.a11yErrorLevel);
}
}, {
key: "removeRadioErrorClasses",
value: function value(t) {
var e = this.$element.find(':radio[name="'.concat(t, '"]')),
n = this.findRadioLabels(e),
t = this.findFormError(e);
n.length && n.removeClass(this.options.labelErrorClass), t.length && t.removeClass(this.options.formErrorClass), e.removeClass(this.options.inputErrorClass).attr({
"data-invalid": null,
"aria-invalid": null
});
}
}, {
key: "removeCheckboxErrorClasses",
value: function value(t) {
var e = this.$element.find(':checkbox[name="'.concat(t, '"]')),
n = this.findCheckboxLabels(e),
t = this.findFormError(e);
n.length && n.removeClass(this.options.labelErrorClass), t.length && t.removeClass(this.options.formErrorClass), e.removeClass(this.options.inputErrorClass).attr({
"data-invalid": null,
"aria-invalid": null
});
}
}, {
key: "removeErrorClasses",
value: function value(t) {
if ("radio" === t[0].type) return this.removeRadioErrorClasses(t.attr("name"));
if ("checkbox" === t[0].type) return this.removeCheckboxErrorClasses(t.attr("name"));
var e = this.findLabel(t),
n = this.findFormError(t);
e.length && e.removeClass(this.options.labelErrorClass), n.length && n.removeClass(this.options.formErrorClass), t.removeClass(this.options.inputErrorClass).attr({
"data-invalid": null,
"aria-invalid": null
});
}
}, {
key: "validateInput",
value: function value(e) {
var n,
i = this,
t = this.requiredCheck(e),
o = e.attr("data-validator"),
s = [],
r = !0;
if (this._validationIsDisabled()) return !0;
if (e.is("[data-abide-ignore]") || e.is('[type="hidden"]') || e.is("[disabled]")) return !0;
switch (e[0].type) {
case "radio":
this.validateRadio(e.attr("name")) || s.push("required");
break;
case "checkbox":
this.validateCheckbox(e.attr("name")) || s.push("required"), r = !1;
break;
case "select":
case "select-one":
case "select-multiple":
t || s.push("required");
break;
default:
t || s.push("required"), this.validateText(e) || s.push("pattern");
}
o && (n = !!e.attr("required"), o.split(" ").forEach(function (t) {
i.options.validators[t](e, n, e.parent()) || s.push(t);
})), e.attr("data-equalto") && (this.options.validators.equalTo(e) || s.push("equalTo"));
var a,
l = 0 === s.length,
u = (l ? "valid" : "invalid") + ".zf.abide";
return !l || (o = this.$element.find('[data-equalto="'.concat(e.attr("id"), '"]'))).length && (a = this, o.each(function () {
c()(this).val() && a.validateInput(c()(this));
})), r && (l ? this.removeErrorClasses(e) : this.addErrorClasses(e, s)), e.trigger(u, [e]), l;
}
}, {
key: "validateForm",
value: function value() {
var t,
n = this,
e = [],
i = this;
if (this.initialized || (this.initialized = !0), this._validationIsDisabled()) return !(this.formnovalidate = null);
this.$inputs.each(function () {
if ("checkbox" === c()(this)[0].type) {
if (c()(this).attr("name") === t) return !0;
t = c()(this).attr("name");
}
e.push(i.validateInput(c()(this)));
});
var o = -1 === e.indexOf(!1);
return this.$element.find("[data-abide-error]").each(function (t, e) {
e = c()(e);
n.options.a11yAttributes && n.addGlobalErrorA11yAttributes(e), e.css("display", o ? "none" : "block");
}), this.$element.trigger((o ? "formvalid" : "forminvalid") + ".zf.abide", [this.$element]), o;
}
}, {
key: "validateText",
value: function value(t, e) {
e = e || t.attr("data-pattern") || t.attr("pattern") || t.attr("type");
var n = t.val(),
i = !0;
return n.length && (this.options.patterns.hasOwnProperty(e) ? i = this.options.patterns[e].test(n) : e !== t.attr("type") && (i = new RegExp(e).test(n))), i;
}
}, {
key: "validateRadio",
value: function value(t) {
var t = this.$element.find(':radio[name="'.concat(t, '"]')),
n = !1,
i = !1;
return t.each(function (t, e) {
c()(e).attr("required") && (i = !0);
}), (n = !i ? !0 : n) || t.each(function (t, e) {
c()(e).prop("checked") && (n = !0);
}), n;
}
}, {
key: "validateCheckbox",
value: function value(t) {
var n = this,
t = this.$element.find(':checkbox[name="'.concat(t, '"]')),
i = !1,
o = !1,
s = 1,
r = 0;
return t.each(function (t, e) {
c()(e).attr("required") && (o = !0);
}), (i = !o ? !0 : i) || (t.each(function (t, e) {
c()(e).prop("checked") && r++, void 0 !== c()(e).attr("data-min-required") && (s = parseInt(c()(e).attr("data-min-required"), 10));
}), s <= r && (i = !0)), !0 !== this.initialized && 1 < s || (t.each(function (t, e) {
i ? n.removeErrorClasses(c()(e)) : n.addErrorClasses(c()(e), ["required"]);
}), i);
}
}, {
key: "matchValidation",
value: function value(e, t, n) {
var i = this;
return n = !!n, -1 === t.split(" ").map(function (t) {
return i.options.validators[t](e, n, e.parent());
}).indexOf(!1);
}
}, {
key: "resetForm",
value: function value() {
var t = this.$element,
e = this.options;
c()(".".concat(e.labelErrorClass), t).not("small").removeClass(e.labelErrorClass), c()(".".concat(e.inputErrorClass), t).not("small").removeClass(e.inputErrorClass), c()("".concat(e.formErrorSelector, ".").concat(e.formErrorClass)).removeClass(e.formErrorClass), t.find("[data-abide-error]").css("display", "none"), c()(":input", t).not(":button, :submit, :reset, :hidden, :radio, :checkbox, [data-abide-ignore]").val("").attr({
"data-invalid": null,
"aria-invalid": null
}), c()(":input:radio", t).not("[data-abide-ignore]").prop("checked", !1).attr({
"data-invalid": null,
"aria-invalid": null
}), c()(":input:checkbox", t).not("[data-abide-ignore]").prop("checked", !1).attr({
"data-invalid": null,
"aria-invalid": null
}), t.trigger("formreset.zf.abide", [t]);
}
}, {
key: "_destroy",
value: function value() {
var t = this;
this.$element.off(".abide").find("[data-abide-error]").css("display", "none"), this.$inputs.off(".abide").each(function () {
t.removeErrorClasses(c()(this));
}), this.$submits.off(".abide");
}
}]) && a(t.prototype, e), n && a(t, n), o;
}();
i.defaults = {
validateOn: "fieldChange",
labelErrorClass: "is-invalid-label",
inputErrorClass: "is-invalid-input",
formErrorSelector: ".form-error",
formErrorClass: "is-visible",
a11yAttributes: !0,
a11yErrorLevel: "assertive",
liveValidate: !1,
validateOnBlur: !1,
patterns: {
alpha: /^[a-zA-Z]+$/,
alpha_numeric: /^[a-zA-Z0-9]+$/,
integer: /^[-+]?\d+$/,
number: /^[-+]?\d*(?:[\.\,]\d+)?$/,
card: /^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(?:222[1-9]|2[3-6][0-9]{2}|27[0-1][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/,
cvv: /^([0-9]){3,4}$/,
email: /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+$/,
url: /^((?:(https?|ftps?|file|ssh|sftp):\/\/|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\((?:[^\s()<>]+|(?:\([^\s()<>]+\)))*\))+(?:\((?:[^\s()<>]+|(?:\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:\'".,<>?\xab\xbb\u201c\u201d\u2018\u2019]))$/,
domain: /^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,8}$/,
datetime: /^([0-2][0-9]{3})\-([0-1][0-9])\-([0-3][0-9])T([0-5][0-9])\:([0-5][0-9])\:([0-5][0-9])(Z|([\-\+]([0-1][0-9])\:00))$/,
date: /(?:19|20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31))$/,
time: /^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}$/,
dateISO: /^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/,
month_day_year: /^(0[1-9]|1[012])[- \/.](0[1-9]|[12][0-9]|3[01])[- \/.]\d{4}$/,
day_month_year: /^(0[1-9]|[12][0-9]|3[01])[- \/.](0[1-9]|1[012])[- \/.]\d{4}$/,
color: /^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/,
website: {
test: function test(t) {
return i.defaults.patterns.domain.test(t) || i.defaults.patterns.url.test(t);
}
}
},
validators: {
equalTo: function equalTo(t) {
return c()("#".concat(t.attr("data-equalto"))).val() === t.val();
}
}
};
},
"./js/foundation.accordion.js": function jsFoundationAccordionJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Accordion", function () {
return i;
});
var e = n("jquery"),
s = n.n(e),
r = n("./js/foundation.core.plugin.js"),
a = n("./js/foundation.core.utils.js"),
l = n("./js/foundation.util.keyboard.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function u(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function c(t, e) {
return (c = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function f(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = d(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = d(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function d(t) {
return (d = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && c(t, e);
}(o, r["Plugin"]);
var t,
e,
n,
i = f(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = t, this.options = s.a.extend({}, o.defaults, this.$element.data(), e), this.className = "Accordion", this._init(), l.Keyboard.register("Accordion", {
ENTER: "toggle",
SPACE: "toggle",
ARROW_DOWN: "next",
ARROW_UP: "previous",
HOME: "first",
END: "last"
});
}
}, {
key: "_init",
value: function value() {
var n = this;
this._isInitializing = !0, this.$tabs = this.$element.children("[data-accordion-item]"), this.$tabs.each(function (t, e) {
var n = s()(e),
i = n.children("[data-tab-content]"),
o = i[0].id || Object(a.GetYoDigits)(6, "accordion"),
e = e.id ? "".concat(e.id, "-label") : "".concat(o, "-label");
n.find("a:first").attr({
"aria-controls": o,
id: e,
"aria-expanded": !1
}), i.attr({
role: "region",
"aria-labelledby": e,
"aria-hidden": !0,
id: o
});
});
var t = this.$element.find(".is-active").children("[data-tab-content]");
t.length && (this._initialAnchor = t.prev("a").attr("href"), this._openSingleTab(t)), this._checkDeepLink = function () {
var t = window.location.hash;
if (!t.length) {
if (n._isInitializing) return;
n._initialAnchor && (t = n._initialAnchor);
}
var e = t && s()(t),
t = t && n.$element.find('[href$="'.concat(t, '"]'));
!e.length || !t.length || (e && t && t.length ? t.parent("[data-accordion-item]").hasClass("is-active") || n._openSingleTab(e) : n._closeAllTabs(), n.options.deepLinkSmudge && Object(a.onLoad)(s()(window), function () {
var t = n.$element.offset();
s()("html, body").animate({
scrollTop: t.top - n.options.deepLinkSmudgeOffset
}, n.options.deepLinkSmudgeDelay);
}), n.$element.trigger("deeplink.zf.accordion", [t, e]));
}, this.options.deepLink && this._checkDeepLink(), this._events(), this._isInitializing = !1;
}
}, {
key: "_events",
value: function value() {
var i = this;
this.$tabs.each(function () {
var e = s()(this),
n = e.children("[data-tab-content]");
n.length && e.children("a").off("click.zf.accordion keydown.zf.accordion").on("click.zf.accordion", function (t) {
t.preventDefault(), i.toggle(n);
}).on("keydown.zf.accordion", function (t) {
l.Keyboard.handleKey(t, "Accordion", {
toggle: function toggle() {
i.toggle(n);
},
next: function next() {
var t = e.next().find("a").focus();
i.options.multiExpand || t.trigger("click.zf.accordion");
},
previous: function previous() {
var t = e.prev().find("a").focus();
i.options.multiExpand || t.trigger("click.zf.accordion");
},
first: function first() {
var t = i.$tabs.first().find(".accordion-title").focus();
i.options.multiExpand || t.trigger("click.zf.accordion");
},
last: function last() {
var t = i.$tabs.last().find(".accordion-title").focus();
i.options.multiExpand || t.trigger("click.zf.accordion");
},
handled: function handled() {
t.preventDefault();
}
});
});
}), this.options.deepLink && s()(window).on("hashchange", this._checkDeepLink);
}
}, {
key: "toggle",
value: function value(t) {
t.closest("[data-accordion]").is("[disabled]") ? console.info("Cannot toggle an accordion that is disabled.") : (t.parent().hasClass("is-active") ? this.up(t) : this.down(t), this.options.deepLink && (t = t.prev("a").attr("href"), this.options.updateHistory ? history.pushState({}, "", t) : history.replaceState({}, "", t)));
}
}, {
key: "down",
value: function value(t) {
t.closest("[data-accordion]").is("[disabled]") ? console.info("Cannot call down on an accordion that is disabled.") : this.options.multiExpand ? this._openTab(t) : this._openSingleTab(t);
}
}, {
key: "up",
value: function value(t) {
var e;
this.$element.is("[disabled]") ? console.info("Cannot call up on an accordion that is disabled.") : (e = t.parent()).hasClass("is-active") && (e = e.siblings(), (this.options.allowAllClosed || e.hasClass("is-active")) && this._closeTab(t));
}
}, {
key: "_openSingleTab",
value: function value(t) {
var e = this.$element.children(".is-active").children("[data-tab-content]");
e.length && this._closeTab(e.not(t)), this._openTab(t);
}
}, {
key: "_openTab",
value: function value(t) {
var e = this,
n = t.parent(),
i = t.attr("aria-labelledby");
t.attr("aria-hidden", !1), n.addClass("is-active"), s()("#".concat(i)).attr({
"aria-expanded": !0
}), t.finish().slideDown(this.options.slideSpeed, function () {
e.$element.trigger("down.zf.accordion", [t]);
});
}
}, {
key: "_closeTab",
value: function value(t) {
var e = this,
n = t.parent(),
i = t.attr("aria-labelledby");
t.attr("aria-hidden", !0), n.removeClass("is-active"), s()("#".concat(i)).attr({
"aria-expanded": !1
}), t.finish().slideUp(this.options.slideSpeed, function () {
e.$element.trigger("up.zf.accordion", [t]);
});
}
}, {
key: "_closeAllTabs",
value: function value() {
var t = this.$element.children(".is-active").children("[data-tab-content]");
t.length && this._closeTab(t);
}
}, {
key: "_destroy",
value: function value() {
this.$element.find("[data-tab-content]").stop(!0).slideUp(0).css("display", ""), this.$element.find("a").off(".zf.accordion"), this.options.deepLink && s()(window).off("hashchange", this._checkDeepLink);
}
}]) && u(t.prototype, e), n && u(t, n), o;
}();
i.defaults = {
slideSpeed: 250,
multiExpand: !1,
allowAllClosed: !1,
deepLink: !1,
deepLinkSmudge: !1,
deepLinkSmudgeDelay: 300,
deepLinkSmudgeOffset: 0,
updateHistory: !1
};
},
"./js/foundation.accordionMenu.js": function jsFoundationAccordionMenuJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "AccordionMenu", function () {
return i;
});
var e = n("jquery"),
a = n.n(e),
l = n("./js/foundation.util.keyboard.js"),
r = n("./js/foundation.util.nest.js"),
u = n("./js/foundation.core.utils.js"),
s = n("./js/foundation.core.plugin.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function c(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function f(t, e) {
return (f = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function d(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = h(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = h(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function h(t) {
return (h = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && f(t, e);
}(o, s["Plugin"]);
var t,
e,
n,
i = d(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = t, this.options = a.a.extend({}, o.defaults, this.$element.data(), e), this.className = "AccordionMenu", this._init(), l.Keyboard.register("AccordionMenu", {
ENTER: "toggle",
SPACE: "toggle",
ARROW_RIGHT: "open",
ARROW_UP: "up",
ARROW_DOWN: "down",
ARROW_LEFT: "close",
ESCAPE: "closeAll"
});
}
}, {
key: "_init",
value: function value() {
r.Nest.Feather(this.$element, "accordion");
var s = this;
this.$element.find("[data-submenu]").not(".is-active").slideUp(0), this.$element.attr({
"aria-multiselectable": this.options.multiOpen
}), this.$menuLinks = this.$element.find(".is-accordion-submenu-parent"), this.$menuLinks.each(function () {
var t = this.id || Object(u.GetYoDigits)(6, "acc-menu-link"),
e = a()(this),
n = e.children("[data-submenu]"),
i = n[0].id || Object(u.GetYoDigits)(6, "acc-menu"),
o = n.hasClass("is-active");
s.options.parentLink && e.children("a").clone().prependTo(n).wrap('<li data-is-parent-link class="is-submenu-parent-item is-submenu-item is-accordion-submenu-item"></li>'), s.options.submenuToggle ? (e.addClass("has-submenu-toggle"), e.children("a").after('<button id="' + t + '" class="submenu-toggle" aria-controls="' + i + '" aria-expanded="' + o + '" title="' + s.options.submenuToggleText + '"><span class="submenu-toggle-text">' + s.options.submenuToggleText + "</span></button>")) : e.attr({
"aria-controls": i,
"aria-expanded": o,
id: t
}), n.attr({
"aria-labelledby": t,
"aria-hidden": !o,
role: "group",
id: i
});
});
var t = this.$element.find(".is-active");
t.length && t.each(function () {
s.down(a()(this));
}), this._events();
}
}, {
key: "_events",
value: function value() {
var r = this;
this.$element.find("li").each(function () {
var e = a()(this).children("[data-submenu]");
e.length && (r.options.submenuToggle ? a()(this).children(".submenu-toggle").off("click.zf.accordionMenu").on("click.zf.accordionMenu", function () {
r.toggle(e);
}) : a()(this).children("a").off("click.zf.accordionMenu").on("click.zf.accordionMenu", function (t) {
t.preventDefault(), r.toggle(e);
}));
}).on("keydown.zf.accordionMenu", function (e) {
var n,
i,
o = a()(this),
s = o.parent("ul").children("li"),
t = o.children("[data-submenu]");
s.each(function (t) {
a()(this).is(o) && (n = s.eq(Math.max(0, t - 1)).find("a").first(), i = s.eq(Math.min(t + 1, s.length - 1)).find("a").first(), a()(this).children("[data-submenu]:visible").length && (i = o.find("li:first-child").find("a").first()), a()(this).is(":first-child") ? n = o.parents("li").first().find("a").first() : n.parents("li").first().children("[data-submenu]:visible").length && (n = n.parents("li").find("li:last-child").find("a").first()), a()(this).is(":last-child") && (i = o.parents("li").first().next("li").find("a").first()));
}), l.Keyboard.handleKey(e, "AccordionMenu", {
open: function open() {
t.is(":hidden") && (r.down(t), t.find("li").first().find("a").first().focus());
},
close: function close() {
t.length && !t.is(":hidden") ? r.up(t) : o.parent("[data-submenu]").length && (r.up(o.parent("[data-submenu]")), o.parents("li").first().find("a").first().focus());
},
up: function up() {
return n.focus(), !0;
},
down: function down() {
return i.focus(), !0;
},
toggle: function toggle() {
return !r.options.submenuToggle && (o.children("[data-submenu]").length ? (r.toggle(o.children("[data-submenu]")), !0) : void 0);
},
closeAll: function closeAll() {
r.hideAll();
},
handled: function handled(t) {
t && e.preventDefault();
}
});
});
}
}, {
key: "hideAll",
value: function value() {
this.up(this.$element.find("[data-submenu]"));
}
}, {
key: "showAll",
value: function value() {
this.down(this.$element.find("[data-submenu]"));
}
}, {
key: "toggle",
value: function value(t) {
t.is(":animated") || (t.is(":hidden") ? this.down(t) : this.up(t));
}
}, {
key: "down",
value: function value(t) {
var e,
n = this;
this.options.multiOpen || (e = t.parentsUntil(this.$element).add(t).add(t.find(".is-active")), e = this.$element.find(".is-active").not(e), this.up(e)), t.addClass("is-active").attr({
"aria-hidden": !1
}), (this.options.submenuToggle ? t.prev(".submenu-toggle") : t.parent(".is-accordion-submenu-parent")).attr({
"aria-expanded": !0
}), t.slideDown(this.options.slideSpeed, function () {
n.$element.trigger("down.zf.accordionMenu", [t]);
});
}
}, {
key: "up",
value: function value(t) {
var e = this,
n = t.find("[data-submenu]"),
i = t.add(n);
n.slideUp(0), i.removeClass("is-active").attr("aria-hidden", !0), (this.options.submenuToggle ? i.prev(".submenu-toggle") : i.parent(".is-accordion-submenu-parent")).attr("aria-expanded", !1), t.slideUp(this.options.slideSpeed, function () {
e.$element.trigger("up.zf.accordionMenu", [t]);
});
}
}, {
key: "_destroy",
value: function value() {
this.$element.find("[data-submenu]").slideDown(0).css("display", ""), this.$element.find("a").off("click.zf.accordionMenu"), this.$element.find("[data-is-parent-link]").detach(), this.options.submenuToggle && (this.$element.find(".has-submenu-toggle").removeClass("has-submenu-toggle"), this.$element.find(".submenu-toggle").remove()), r.Nest.Burn(this.$element, "accordion");
}
}]) && c(t.prototype, e), n && c(t, n), o;
}();
i.defaults = {
parentLink: !1,
slideSpeed: 250,
submenuToggle: !1,
submenuToggleText: "Toggle menu",
multiOpen: !0
};
},
"./js/foundation.core.js": function jsFoundationCoreJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Foundation", function () {
return l;
});
var e = n("jquery"),
s = n.n(e),
i = n("./js/foundation.core.utils.js"),
r = n("./js/foundation.util.mediaQuery.js");
function a(t) {
return (a = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
var l = {
version: "6.7.4",
_plugins: {},
_uuids: [],
plugin: function plugin(t, e) {
var n = e || u(t),
e = o(n);
this._plugins[e] = this[n] = t;
},
registerPlugin: function registerPlugin(t, e) {
e = e ? o(e) : u(t.constructor).toLowerCase();
t.uuid = Object(i.GetYoDigits)(6, e), t.$element.attr("data-".concat(e)) || t.$element.attr("data-".concat(e), t.uuid), t.$element.data("zfPlugin") || t.$element.data("zfPlugin", t), t.$element.trigger("init.zf.".concat(e)), this._uuids.push(t.uuid);
},
unregisterPlugin: function unregisterPlugin(t) {
var e,
n = o(u(t.$element.data("zfPlugin").constructor));
for (e in this._uuids.splice(this._uuids.indexOf(t.uuid), 1), t.$element.removeAttr("data-".concat(n)).removeData("zfPlugin").trigger("destroyed.zf.".concat(n)), t) "function" == typeof t[e] && (t[e] = null);
},
reInit: function reInit(t) {
var e,
n,
i = t instanceof s.a;
try {
i ? t.each(function () {
s()(this).data("zfPlugin")._init();
}) : (e = a(t), n = this, {
object: function object(t) {
t.forEach(function (t) {
t = o(t), s()("[data-" + t + "]").foundation("_init");
});
},
string: function string() {
t = o(t), s()("[data-" + t + "]").foundation("_init");
},
undefined: function undefined() {
this.object(Object.keys(n._plugins));
}
}[e](t));
} catch (t) {
console.error(t);
} finally {
return t;
}
},
reflow: function reflow(i, t) {
void 0 === t ? t = Object.keys(this._plugins) : "string" == typeof t && (t = [t]);
var o = this;
s.a.each(t, function (t, e) {
var n = o._plugins[e];
s()(i).find("[data-" + e + "]").addBack("[data-" + e + "]").filter(function () {
return void 0 === s()(this).data("zfPlugin");
}).each(function () {
var t = s()(this),
e = {
reflow: !0
};
t.attr("data-options") && t.attr("data-options").split(";").forEach(function (t) {
t = t.split(":").map(function (t) {
return t.trim();
});
t[0] && (e[t[0]] = function (t) {
{
if ("true" === t) return !0;
if ("false" === t) return !1;
if (!isNaN(+t)) return parseFloat(t);
}
return t;
}(t[1]));
});
try {
t.data("zfPlugin", new n(s()(this), e));
} catch (t) {
console.error(t);
} finally {
return;
}
});
});
},
getFnName: u,
addToJquery: function addToJquery() {
return s.a.fn.foundation = function (n) {
var t = a(n),
e = s()(".no-js");
if (e.length && e.removeClass("no-js"), "undefined" === t) r.MediaQuery._init(), l.reflow(this);else {
if ("string" !== t) throw new TypeError("We're sorry, ".concat(t, " is not a valid parameter. You must use a string representing the method you wish to invoke."));
var i = Array.prototype.slice.call(arguments, 1),
o = this.data("zfPlugin");
if (void 0 === o || void 0 === o[n]) throw new ReferenceError("We're sorry, '" + n + "' is not an available method for " + (o ? u(o) : "this element") + ".");
1 === this.length ? o[n].apply(o, i) : this.each(function (t, e) {
o[n].apply(s()(e).data("zfPlugin"), i);
});
}
return this;
}, s.a;
}
};
function u(t) {
if (void 0 !== Function.prototype.name) return (void 0 === t.prototype ? t : t.prototype).constructor.name;
t = /function\s([^(]{1,})\(/.exec(t.toString());
return t && 1 < t.length ? t[1].trim() : "";
}
function o(t) {
return t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
}
l.util = {
throttle: function throttle(n, i) {
var o = null;
return function () {
var t = this,
e = arguments;
null === o && (o = setTimeout(function () {
n.apply(t, e), o = null;
}, i));
};
}
}, window.Foundation = l, function () {
Date.now && window.Date.now || (window.Date.now = Date.now = function () {
return new Date().getTime();
});
for (var i, t = ["webkit", "moz"], e = 0; e < t.length && !window.requestAnimationFrame; ++e) {
var n = t[e];
window.requestAnimationFrame = window[n + "RequestAnimationFrame"], window.cancelAnimationFrame = window[n + "CancelAnimationFrame"] || window[n + "CancelRequestAnimationFrame"];
}
!/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent) && window.requestAnimationFrame && window.cancelAnimationFrame || (i = 0, window.requestAnimationFrame = function (t) {
var e = Date.now(),
n = Math.max(i + 16, e);
return setTimeout(function () {
t(i = n);
}, n - e);
}, window.cancelAnimationFrame = clearTimeout), window.performance && window.performance.now || (window.performance = {
start: Date.now(),
now: function now() {
return Date.now() - this.start;
}
});
}(), Function.prototype.bind || (Function.prototype.bind = function (t) {
if ("function" != typeof this) throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");
function e() {
return i.apply(this instanceof o ? this : t, n.concat(Array.prototype.slice.call(arguments)));
}
var n = Array.prototype.slice.call(arguments, 1),
i = this,
o = function o() {};
return this.prototype && (o.prototype = this.prototype), e.prototype = new o(), e;
});
},
"./js/foundation.core.plugin.js": function jsFoundationCorePluginJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Plugin", function () {
return i;
});
var o = n("./js/foundation.core.utils.js");
function s(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
var i = function () {
function n(t, e) {
!function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, n), this._setup(t, e);
e = r(this);
this.uuid = Object(o.GetYoDigits)(6, e), this.$element.attr("data-".concat(e)) || this.$element.attr("data-".concat(e), this.uuid), this.$element.data("zfPlugin") || this.$element.data("zfPlugin", this), this.$element.trigger("init.zf.".concat(e));
}
var t, e, i;
return t = n, (e = [{
key: "destroy",
value: function value() {
this._destroy();
var t,
e = r(this);
for (t in this.$element.removeAttr("data-".concat(e)).removeData("zfPlugin").trigger("destroyed.zf.".concat(e)), this) this.hasOwnProperty(t) && (this[t] = null);
}
}]) && s(t.prototype, e), i && s(t, i), n;
}();
function r(t) {
return t.className.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
}
},
"./js/foundation.core.utils.js": function jsFoundationCoreUtilsJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "rtl", function () {
return i;
}), n.d(e, "GetYoDigits", function () {
return o;
}), n.d(e, "RegExpEscape", function () {
return s;
}), n.d(e, "transitionend", function () {
return r;
}), n.d(e, "onLoad", function () {
return a;
}), n.d(e, "ignoreMousedisappear", function () {
return u;
});
var e = n("jquery"),
l = n.n(e);
function i() {
return "rtl" === l()("html").attr("dir");
}
function o() {
for (var t = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : 6, e = 1 < arguments.length ? arguments[1] : void 0, n = "", i = "0123456789abcdefghijklmnopqrstuvwxyz", o = i.length, s = 0; s < t; s++) n += i[Math.floor(Math.random() * o)];
return e ? "".concat(n, "-").concat(e) : n;
}
function s(t) {
return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
}
function r(t) {
var e,
n,
i = {
transition: "transitionend",
WebkitTransition: "webkitTransitionEnd",
MozTransition: "transitionend",
OTransition: "otransitionend"
},
o = document.createElement("div");
for (n in i) void 0 !== o.style[n] && (e = i[n]);
return e || (setTimeout(function () {
t.triggerHandler("transitionend", [t]);
}, 1), "transitionend");
}
function a(t, e) {
function n() {
return t.triggerHandler(o);
}
var i = "complete" === document.readyState,
o = (i ? "_didLoad" : "load") + ".zf.util.onLoad";
return t && (e && t.one(o, e), i ? setTimeout(n) : l()(window).one("load", n)), o;
}
function u(s) {
var t = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {},
e = t.ignoreLeaveWindow,
r = void 0 !== e && e,
t = t.ignoreReappear,
a = void 0 !== t && t;
return function (e) {
for (var t = arguments.length, n = new Array(1 < t ? t - 1 : 0), i = 1; i < t; i++) n[i - 1] = arguments[i];
var o = s.bind.apply(s, [this, e].concat(n));
if (null !== e.relatedTarget) return o();
setTimeout(function () {
return r || !document.hasFocus || document.hasFocus() ? void (a || l()(document).one("mouseenter", function (t) {
l()(e.currentTarget).has(t.target).length || (e.relatedTarget = t.target, o());
})) : o();
}, 0);
};
}
},
"./js/foundation.drilldown.js": function jsFoundationDrilldownJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Drilldown", function () {
return i;
});
var e = n("jquery"),
r = n.n(e),
a = n("./js/foundation.util.keyboard.js"),
s = n("./js/foundation.util.nest.js"),
l = n("./js/foundation.core.utils.js"),
u = n("./js/foundation.util.box.js"),
c = n("./js/foundation.core.plugin.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function f(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function d(t, e) {
return (d = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function h(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = p(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = p(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function p(t) {
return (p = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && d(t, e);
}(o, c["Plugin"]);
var t,
e,
n,
i = h(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = t, this.options = r.a.extend({}, o.defaults, this.$element.data(), e), this.className = "Drilldown", this._init(), a.Keyboard.register("Drilldown", {
ENTER: "open",
SPACE: "open",
ARROW_RIGHT: "next",
ARROW_UP: "up",
ARROW_DOWN: "down",
ARROW_LEFT: "previous",
ESCAPE: "close"
});
}
}, {
key: "_init",
value: function value() {
s.Nest.Feather(this.$element, "drilldown"), this.options.autoApplyClass && this.$element.addClass("drilldown"), this.$element.attr({
"aria-multiselectable": !1
}), this.$submenuAnchors = this.$element.find("li.is-drilldown-submenu-parent").children("a"), this.$submenus = this.$submenuAnchors.parent("li").children("[data-submenu]").attr("role", "group"), this.$menuItems = this.$element.find("li").not(".js-drilldown-back").find("a"), this.$currentMenu = this.$element, this.$element.attr("data-mutate", this.$element.attr("data-drilldown") || Object(l.GetYoDigits)(6, "drilldown")), this._prepareMenu(), this._registerEvents(), this._keyboardEvents();
}
}, {
key: "_prepareMenu",
value: function value() {
var n = this;
this.$submenuAnchors.each(function () {
var t = r()(this),
e = t.parent();
n.options.parentLink && t.clone().prependTo(e.children("[data-submenu]")).wrap('<li data-is-parent-link class="is-submenu-parent-item is-submenu-item is-drilldown-submenu-item" role="none"></li>'), t.data("savedHref", t.attr("href")).removeAttr("href").attr("tabindex", 0), t.children("[data-submenu]").attr({
"aria-hidden": !0,
tabindex: 0,
role: "group"
}), n._events(t);
}), this.$submenus.each(function () {
var t = r()(this);
if (!t.find(".js-drilldown-back").length) switch (n.options.backButtonPosition) {
case "bottom":
t.append(n.options.backButton);
break;
case "top":
t.prepend(n.options.backButton);
break;
default:
console.error("Unsupported backButtonPosition value '" + n.options.backButtonPosition + "'");
}
n._back(t);
}), this.$submenus.addClass("invisible"), this.options.autoHeight || this.$submenus.addClass("drilldown-submenu-cover-previous"), this.$element.parent().hasClass("is-drilldown") || (this.$wrapper = r()(this.options.wrapper).addClass("is-drilldown"), this.options.animateHeight && this.$wrapper.addClass("animate-height"), this.$element.wrap(this.$wrapper)), this.$wrapper = this.$element.parent(), this.$wrapper.css(this._getMaxDims());
}
}, {
key: "_resize",
value: function value() {
this.$wrapper.css({
"max-width": "none",
"min-height": "none"
}), this.$wrapper.css(this._getMaxDims());
}
}, {
key: "_events",
value: function value(n) {
var i = this;
n.off("click.zf.drilldown").on("click.zf.drilldown", function (t) {
var e;
r()(t.target).parentsUntil("ul", "li").hasClass("is-drilldown-submenu-parent") && t.preventDefault(), i._show(n.parent("li")), i.options.closeOnClick && (e = r()("body")).off(".zf.drilldown").on("click.zf.drilldown", function (t) {
t.target === i.$element[0] || r.a.contains(i.$element[0], t.target) || (t.preventDefault(), i._hideAll(), e.off(".zf.drilldown"));
});
});
}
}, {
key: "_registerEvents",
value: function value() {
this.options.scrollTop && (this._bindHandler = this._scrollTop.bind(this), this.$element.on("open.zf.drilldown hide.zf.drilldown close.zf.drilldown closed.zf.drilldown", this._bindHandler)), this.$element.on("mutateme.zf.trigger", this._resize.bind(this));
}
}, {
key: "_scrollTop",
value: function value() {
var t = this,
e = "" !== t.options.scrollTopElement ? r()(t.options.scrollTopElement) : t.$element,
e = parseInt(e.offset().top + t.options.scrollTopOffset, 10);
r()("html, body").stop(!0).animate({
scrollTop: e
}, t.options.animationDuration, t.options.animationEasing, function () {
this === r()("html")[0] && t.$element.trigger("scrollme.zf.drilldown");
});
}
}, {
key: "_keyboardEvents",
value: function value() {
var t = this;
this.$menuItems.add(this.$element.find(".js-drilldown-back > a, .is-submenu-parent-item > a")).on("keydown.zf.drilldown", function (e) {
var n,
i,
o = r()(this),
s = o.parent("li").parent("ul").children("li").children("a");
s.each(function (t) {
r()(this).is(o) && (n = s.eq(Math.max(0, t - 1)), i = s.eq(Math.min(t + 1, s.length - 1)));
}), a.Keyboard.handleKey(e, "Drilldown", {
next: function next() {
if (o.is(t.$submenuAnchors)) return t._show(o.parent("li")), o.parent("li").one(Object(l.transitionend)(o), function () {
o.parent("li").find("ul li a").not(".js-drilldown-back a").first().focus();
}), !0;
},
previous: function previous() {
return t._hide(o.parent("li").parent("ul")), o.parent("li").parent("ul").one(Object(l.transitionend)(o), function () {
setTimeout(function () {
o.parent("li").parent("ul").parent("li").children("a").first().focus();
}, 1);
}), !0;
},
up: function up() {
return n.focus(), !o.is(t.$element.find("> li:first-child > a"));
},
down: function down() {
return i.focus(), !o.is(t.$element.find("> li:last-child > a"));
},
close: function close() {
o.is(t.$element.find("> li > a")) || (t._hide(o.parent().parent()), o.parent().parent().siblings("a").focus());
},
open: function open() {
return (!t.options.parentLink || !o.attr("href")) && (o.is(t.$menuItems) ? o.is(t.$submenuAnchors) ? (t._show(o.parent("li")), o.parent("li").one(Object(l.transitionend)(o), function () {
o.parent("li").find("ul li a").not(".js-drilldown-back a").first().focus();
}), !0) : void 0 : (t._hide(o.parent("li").parent("ul")), o.parent("li").parent("ul").one(Object(l.transitionend)(o), function () {
setTimeout(function () {
o.parent("li").parent("ul").parent("li").children("a").first().focus();
}, 1);
}), !0));
},
handled: function handled(t) {
t && e.preventDefault();
}
});
});
}
}, {
key: "_hideAll",
value: function value() {
var t,
e = this,
n = this.$element.find(".is-drilldown-submenu.is-active");
n.addClass("is-closing"), this.options.autoHeight && (t = n.parent().closest("ul").data("calcHeight"), this.$wrapper.css({
height: t
})), this.$element.trigger("close.zf.drilldown"), n.one(Object(l.transitionend)(n), function () {
n.removeClass("is-active is-closing"), e.$element.trigger("closed.zf.drilldown");
});
}
}, {
key: "_back",
value: function value(e) {
var n = this;
e.off("click.zf.drilldown"), e.children(".js-drilldown-back").on("click.zf.drilldown", function () {
n._hide(e);
var t = e.parent("li").parent("ul").parent("li");
t.length ? n._show(t) : n.$currentMenu = n.$element;
});
}
}, {
key: "_menuLinkEvents",
value: function value() {
var t = this;
this.$menuItems.not(".is-drilldown-submenu-parent").off("click.zf.drilldown").on("click.zf.drilldown", function () {
setTimeout(function () {
t._hideAll();
}, 0);
});
}
}, {
key: "_setShowSubMenuClasses",
value: function value(t, e) {
t.addClass("is-active").removeClass("invisible").attr("aria-hidden", !1), t.parent("li").attr("aria-expanded", !0), !0 === e && this.$element.trigger("open.zf.drilldown", [t]);
}
}, {
key: "_setHideSubMenuClasses",
value: function value(t, e) {
t.removeClass("is-active").addClass("invisible").attr("aria-hidden", !0), t.parent("li").attr("aria-expanded", !1), !0 === e && t.trigger("hide.zf.drilldown", [t]);
}
}, {
key: "_showMenu",
value: function value(e, n) {
var i = this;
if (this.$element.find('li[aria-expanded="true"] > ul[data-submenu]').each(function () {
i._setHideSubMenuClasses(r()(this));
}), (this.$currentMenu = e).is("[data-drilldown]")) return !0 === n && e.find("li > a").first().focus(), void (this.options.autoHeight && this.$wrapper.css("height", e.data("calcHeight")));
var o = e.children().first().parentsUntil("[data-drilldown]", "[data-submenu]");
o.each(function (t) {
0 === t && i.options.autoHeight && i.$wrapper.css("height", r()(this).data("calcHeight"));
t = t === o.length - 1;
!0 == t && r()(this).one(Object(l.transitionend)(r()(this)), function () {
!0 === n && e.find("li > a").first().focus();
}), i._setShowSubMenuClasses(r()(this), t);
});
}
}, {
key: "_show",
value: function value(t) {
var e = t.children("[data-submenu]");
t.attr("aria-expanded", !0), this.$currentMenu = e, t.parent().closest("ul").addClass("invisible"), e.addClass("is-active visible").removeClass("invisible").attr("aria-hidden", !1), this.options.autoHeight && this.$wrapper.css({
height: e.data("calcHeight")
}), this.$element.trigger("open.zf.drilldown", [t]);
}
}, {
key: "_hide",
value: function value(t) {
this.options.autoHeight && this.$wrapper.css({
height: t.parent().closest("ul").data("calcHeight")
}), t.parent().closest("ul").removeClass("invisible"), t.parent("li").attr("aria-expanded", !1), t.attr("aria-hidden", !0), t.addClass("is-closing").one(Object(l.transitionend)(t), function () {
t.removeClass("is-active is-closing visible"), t.blur().addClass("invisible");
}), t.trigger("hide.zf.drilldown", [t]);
}
}, {
key: "_getMaxDims",
value: function value() {
var e = 0,
t = {},
n = this;
return this.$submenus.add(this.$element).each(function () {
var t = u.Box.GetDimensions(this).height;
e = e < t ? t : e, n.options.autoHeight && r()(this).data("calcHeight", t);
}), this.options.autoHeight ? t.height = this.$currentMenu.data("calcHeight") : t["min-height"] = "".concat(e, "px"), t["max-width"] = "".concat(this.$element[0].getBoundingClientRect().width, "px"), t;
}
}, {
key: "_destroy",
value: function value() {
r()("body").off(".zf.drilldown"), this.options.scrollTop && this.$element.off(".zf.drilldown", this._bindHandler), this._hideAll(), this.$element.off("mutateme.zf.trigger"), s.Nest.Burn(this.$element, "drilldown"), this.$element.unwrap().find(".js-drilldown-back, .is-submenu-parent-item").remove().end().find(".is-active, .is-closing, .is-drilldown-submenu").removeClass("is-active is-closing is-drilldown-submenu").off("transitionend otransitionend webkitTransitionEnd").end().find("[data-submenu]").removeAttr("aria-hidden tabindex role"), this.$submenuAnchors.each(function () {
r()(this).off(".zf.drilldown");
}), this.$element.find("[data-is-parent-link]").detach(), this.$submenus.removeClass("drilldown-submenu-cover-previous invisible"), this.$element.find("a").each(function () {
var t = r()(this);
t.removeAttr("tabindex"), t.data("savedHref") && t.attr("href", t.data("savedHref")).removeData("savedHref");
});
}
}]) && f(t.prototype, e), n && f(t, n), o;
}();
i.defaults = {
autoApplyClass: !0,
backButton: '<li class="js-drilldown-back"><a tabindex="0">Back</a></li>',
backButtonPosition: "top",
wrapper: "<div></div>",
parentLink: !1,
closeOnClick: !1,
autoHeight: !1,
animateHeight: !1,
scrollTop: !1,
scrollTopElement: "",
scrollTopOffset: 0,
animationDuration: 500,
animationEasing: "swing"
};
},
"./js/foundation.dropdown.js": function jsFoundationDropdownJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Dropdown", function () {
return i;
});
var e = n("jquery"),
s = n.n(e),
r = n("./js/foundation.util.keyboard.js"),
a = n("./js/foundation.core.utils.js"),
l = n("./js/foundation.positionable.js"),
u = n("./js/foundation.util.triggers.js"),
c = n("./js/foundation.util.touch.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function f(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function d(t, e, n) {
return (d = "undefined" != typeof Reflect && Reflect.get ? Reflect.get : function (t, e, n) {
t = function (t, e) {
for (; !Object.prototype.hasOwnProperty.call(t, e) && null !== (t = m(t)););
return t;
}(t, e);
if (t) {
e = Object.getOwnPropertyDescriptor(t, e);
return e.get ? e.get.call(n) : e.value;
}
})(t, e, n || t);
}
function h(t, e) {
return (h = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function p(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = m(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = m(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function m(t) {
return (m = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && h(t, e);
}(o, l["Positionable"]);
var t,
e,
n,
i = p(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = t, this.options = s.a.extend({}, o.defaults, this.$element.data(), e), this.className = "Dropdown", c.Touch.init(s.a), u.Triggers.init(s.a), this._init(), r.Keyboard.register("Dropdown", {
ENTER: "toggle",
SPACE: "toggle",
ESCAPE: "close"
});
}
}, {
key: "_init",
value: function value() {
var t = this.$element.attr("id");
this.$anchors = s()('[data-toggle="'.concat(t, '"]')).length ? s()('[data-toggle="'.concat(t, '"]')) : s()('[data-open="'.concat(t, '"]')), this.$anchors.attr({
"aria-controls": t,
"data-is-focus": !1,
"data-yeti-box": t,
"aria-haspopup": !0,
"aria-expanded": !1
}), this._setCurrentAnchor(this.$anchors.first()), this.options.parentClass ? this.$parent = this.$element.parents("." + this.options.parentClass) : this.$parent = null, void 0 === this.$element.attr("aria-labelledby") && (void 0 === this.$currentAnchor.attr("id") && this.$currentAnchor.attr("id", Object(a.GetYoDigits)(6, "dd-anchor")), this.$element.attr("aria-labelledby", this.$currentAnchor.attr("id"))), this.$element.attr({
"aria-hidden": "true",
"data-yeti-box": t,
"data-resize": t
}), d(m(o.prototype), "_init", this).call(this), this._events();
}
}, {
key: "_getDefaultPosition",
value: function value() {
var t = this.$element[0].className.match(/(top|left|right|bottom)/g);
return t ? t[0] : "bottom";
}
}, {
key: "_getDefaultAlignment",
value: function value() {
var t = /float-(\S+)/.exec(this.$currentAnchor.attr("class"));
return t ? t[1] : d(m(o.prototype), "_getDefaultAlignment", this).call(this);
}
}, {
key: "_setPosition",
value: function value() {
this.$element.removeClass("has-position-".concat(this.position, " has-alignment-").concat(this.alignment)), d(m(o.prototype), "_setPosition", this).call(this, this.$currentAnchor, this.$element, this.$parent), this.$element.addClass("has-position-".concat(this.position, " has-alignment-").concat(this.alignment));
}
}, {
key: "_setCurrentAnchor",
value: function value(t) {
this.$currentAnchor = s()(t);
}
}, {
key: "_events",
value: function value() {
var n = this,
e = "ontouchstart" in window || void 0 !== window.ontouchstart;
this.$element.on({
"open.zf.trigger": this.open.bind(this),
"close.zf.trigger": this.close.bind(this),
"toggle.zf.trigger": this.toggle.bind(this),
"resizeme.zf.trigger": this._setPosition.bind(this)
}), this.$anchors.off("click.zf.trigger").on("click.zf.trigger", function (t) {
n._setCurrentAnchor(this), (!1 === n.options.forceFollow || e && n.options.hover && !1 === n.$element.hasClass("is-open")) && t.preventDefault();
}), this.options.hover && (this.$anchors.off("mouseenter.zf.dropdown mouseleave.zf.dropdown").on("mouseenter.zf.dropdown", function () {
n._setCurrentAnchor(this);
var t = s()("body").data();
void 0 !== t.whatinput && "mouse" !== t.whatinput || (clearTimeout(n.timeout), n.timeout = setTimeout(function () {
n.open(), n.$anchors.data("hover", !0);
}, n.options.hoverDelay));
}).on("mouseleave.zf.dropdown", Object(a.ignoreMousedisappear)(function () {
clearTimeout(n.timeout), n.timeout = setTimeout(function () {
n.close(), n.$anchors.data("hover", !1);
}, n.options.hoverDelay);
})), this.options.hoverPane && this.$element.off("mouseenter.zf.dropdown mouseleave.zf.dropdown").on("mouseenter.zf.dropdown", function () {
clearTimeout(n.timeout);
}).on("mouseleave.zf.dropdown", Object(a.ignoreMousedisappear)(function () {
clearTimeout(n.timeout), n.timeout = setTimeout(function () {
n.close(), n.$anchors.data("hover", !1);
}, n.options.hoverDelay);
}))), this.$anchors.add(this.$element).on("keydown.zf.dropdown", function (t) {
var e = s()(this);
r.Keyboard.handleKey(t, "Dropdown", {
open: function open() {
e.is(n.$anchors) && !e.is("input, textarea") && (n.open(), n.$element.attr("tabindex", -1).focus(), t.preventDefault());
},
close: function close() {
n.close(), n.$anchors.focus();
}
});
});
}
}, {
key: "_addBodyHandler",
value: function value() {
var e = s()(document.body).not(this.$element),
n = this;
e.off("click.zf.dropdown tap.zf.dropdown").on("click.zf.dropdown tap.zf.dropdown", function (t) {
n.$anchors.is(t.target) || n.$anchors.find(t.target).length || n.$element.is(t.target) || n.$element.find(t.target).length || (n.close(), e.off("click.zf.dropdown tap.zf.dropdown"));
});
}
}, {
key: "open",
value: function value() {
var t;
this.$element.trigger("closeme.zf.dropdown", this.$element.attr("id")), this.$anchors.addClass("hover").attr({
"aria-expanded": !0
}), this.$element.addClass("is-opening"), this._setPosition(), this.$element.removeClass("is-opening").addClass("is-open").attr({
"aria-hidden": !1
}), !this.options.autoFocus || (t = r.Keyboard.findFocusable(this.$element)).length && t.eq(0).focus(), this.options.closeOnClick && this._addBodyHandler(), this.options.trapFocus && r.Keyboard.trapFocus(this.$element), this.$element.trigger("show.zf.dropdown", [this.$element]);
}
}, {
key: "close",
value: function value() {
if (!this.$element.hasClass("is-open")) return !1;
this.$element.removeClass("is-open").attr({
"aria-hidden": !0
}), this.$anchors.removeClass("hover").attr("aria-expanded", !1), this.$element.trigger("hide.zf.dropdown", [this.$element]), this.options.trapFocus && r.Keyboard.releaseFocus(this.$element);
}
}, {
key: "toggle",
value: function value() {
this.$element.hasClass("is-open") ? this.$anchors.data("hover") || this.close() : this.open();
}
}, {
key: "_destroy",
value: function value() {
this.$element.off(".zf.trigger").hide(), this.$anchors.off(".zf.dropdown"), s()(document.body).off("click.zf.dropdown tap.zf.dropdown");
}
}]) && f(t.prototype, e), n && f(t, n), o;
}();
i.defaults = {
parentClass: null,
hoverDelay: 250,
hover: !1,
hoverPane: !1,
vOffset: 0,
hOffset: 0,
position: "auto",
alignment: "auto",
allowOverlap: !1,
allowBottomOverlap: !0,
trapFocus: !1,
autoFocus: !1,
closeOnClick: !1,
forceFollow: !0
};
},
"./js/foundation.dropdownMenu.js": function jsFoundationDropdownMenuJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "DropdownMenu", function () {
return i;
});
var e = n("jquery"),
d = n.n(e),
s = n("./js/foundation.core.plugin.js"),
a = n("./js/foundation.core.utils.js"),
h = n("./js/foundation.util.keyboard.js"),
r = n("./js/foundation.util.nest.js"),
l = n("./js/foundation.util.box.js"),
u = n("./js/foundation.util.touch.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function c(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function f(t, e) {
return (f = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function p(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = m(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = m(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function m(t) {
return (m = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && f(t, e);
}(o, s["Plugin"]);
var t,
e,
n,
i = p(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = t, this.options = d.a.extend({}, o.defaults, this.$element.data(), e), this.className = "DropdownMenu", u.Touch.init(d.a), this._init(), h.Keyboard.register("DropdownMenu", {
ENTER: "open",
SPACE: "open",
ARROW_RIGHT: "next",
ARROW_UP: "up",
ARROW_DOWN: "down",
ARROW_LEFT: "previous",
ESCAPE: "close"
});
}
}, {
key: "_init",
value: function value() {
r.Nest.Feather(this.$element, "dropdown");
var t = this.$element.find("li.is-dropdown-submenu-parent");
this.$element.children(".is-dropdown-submenu-parent").children(".is-dropdown-submenu").addClass("first-sub"), this.$menuItems = this.$element.find('li[role="none"]'), this.$tabs = this.$element.children('li[role="none"]'), this.$tabs.find("ul.is-dropdown-submenu").addClass(this.options.verticalClass), "auto" === this.options.alignment ? this.$element.hasClass(this.options.rightClass) || Object(a.rtl)() || this.$element.parents(".top-bar-right").is("*") ? (this.options.alignment = "right", t.addClass("opens-left")) : (this.options.alignment = "left", t.addClass("opens-right")) : "right" === this.options.alignment ? t.addClass("opens-left") : t.addClass("opens-right"), this.changed = !1, this._events();
}
}, {
key: "_isVertical",
value: function value() {
return "block" === this.$tabs.css("display") || "column" === this.$element.css("flex-direction");
}
}, {
key: "_isRtl",
value: function value() {
return this.$element.hasClass("align-right") || Object(a.rtl)() && !this.$element.hasClass("align-left");
}
}, {
key: "_events",
value: function value() {
var f = this,
s = "ontouchstart" in window || void 0 !== window.ontouchstart,
r = "is-dropdown-submenu-parent";
(this.options.clickOpen || s) && this.$menuItems.on("click.zf.dropdownMenu touchstart.zf.dropdownMenu", function (t) {
var e = d()(t.target).parentsUntil("ul", ".".concat(r)),
n = e.hasClass(r),
i = "true" === e.attr("data-is-click"),
o = e.children(".is-dropdown-submenu");
n && (i ? !f.options.closeOnClick || !f.options.clickOpen && !s || f.options.forceFollow && s || (t.stopImmediatePropagation(), t.preventDefault(), f._hide(e)) : (t.stopImmediatePropagation(), t.preventDefault(), f._show(o), e.add(e.parentsUntil(f.$element, ".".concat(r))).attr("data-is-click", !0)));
}), f.options.closeOnClickInside && this.$menuItems.on("click.zf.dropdownMenu", function () {
d()(this).hasClass(r) || f._hide();
}), s && this.options.disableHoverOnTouch && (this.options.disableHover = !0), this.options.disableHover || this.$menuItems.on("mouseenter.zf.dropdownMenu", function () {
var t = d()(this);
t.hasClass(r) && (clearTimeout(t.data("_delay")), t.data("_delay", setTimeout(function () {
f._show(t.children(".is-dropdown-submenu"));
}, f.options.hoverDelay)));
}).on("mouseleave.zf.dropdownMenu", Object(a.ignoreMousedisappear)(function () {
var t = d()(this);
if (t.hasClass(r) && f.options.autoclose) {
if ("true" === t.attr("data-is-click") && f.options.clickOpen) return !1;
clearTimeout(t.data("_delay")), t.data("_delay", setTimeout(function () {
f._hide(t);
}, f.options.closingTime));
}
})), this.$menuItems.on("keydown.zf.dropdownMenu", function (e) {
var n,
i,
o = d()(e.target).parentsUntil("ul", '[role="none"]'),
t = -1 < f.$tabs.index(o),
s = t ? f.$tabs : o.siblings("li").add(o);
s.each(function (t) {
d()(this).is(o) && (n = s.eq(t - 1), i = s.eq(t + 1));
});
function r() {
i.children("a:first").focus(), e.preventDefault();
}
function a() {
n.children("a:first").focus(), e.preventDefault();
}
function l() {
var t = o.children("ul.is-dropdown-submenu");
t.length && (f._show(t), o.find("li > a:first").focus(), e.preventDefault());
}
function u() {
var t = o.parent("ul").parent("li");
t.children("a:first").focus(), f._hide(t), e.preventDefault();
}
var c = {
open: l,
close: function close() {
f._hide(f.$element), f.$menuItems.eq(0).children("a").focus(), e.preventDefault();
}
};
t ? f._isVertical() ? f._isRtl() ? d.a.extend(c, {
down: r,
up: a,
next: u,
previous: l
}) : d.a.extend(c, {
down: r,
up: a,
next: l,
previous: u
}) : f._isRtl() ? d.a.extend(c, {
next: a,
previous: r,
down: l,
up: u
}) : d.a.extend(c, {
next: r,
previous: a,
down: l,
up: u
}) : f._isRtl() ? d.a.extend(c, {
next: u,
previous: l,
down: r,
up: a
}) : d.a.extend(c, {
next: l,
previous: u,
down: r,
up: a
}), h.Keyboard.handleKey(e, "DropdownMenu", c);
});
}
}, {
key: "_addBodyHandler",
value: function value() {
var e = this,
t = d()(document.body);
this._removeBodyHandler(), t.on("click.zf.dropdownMenu tap.zf.dropdownMenu", function (t) {
!d()(t.target).closest(e.$element).length && (e._hide(), e._removeBodyHandler());
});
}
}, {
key: "_removeBodyHandler",
value: function value() {
d()(document.body).off("click.zf.dropdownMenu tap.zf.dropdownMenu");
}
}, {
key: "_show",
value: function value(n) {
var t = this.$tabs.index(this.$tabs.filter(function (t, e) {
return 0 < d()(e).find(n).length;
})),
e = n.parent("li.is-dropdown-submenu-parent").siblings("li.is-dropdown-submenu-parent");
this._hide(e, t), n.css("visibility", "hidden").addClass("js-dropdown-active").parent("li.is-dropdown-submenu-parent").addClass("is-active"), l.Box.ImNotTouchingYou(n, null, !0) || (e = "left" === this.options.alignment ? "-right" : "-left", (t = n.parent(".is-dropdown-submenu-parent")).removeClass("opens".concat(e)).addClass("opens-".concat(this.options.alignment)), l.Box.ImNotTouchingYou(n, null, !0) || t.removeClass("opens-".concat(this.options.alignment)).addClass("opens-inner"), this.changed = !0), n.css("visibility", ""), this.options.closeOnClick && this._addBodyHandler(), this.$element.trigger("show.zf.dropdownMenu", [n]);
}
}, {
key: "_hide",
value: function value(t, e) {
var n,
i = t && t.length ? t : void 0 !== e ? this.$tabs.not(function (t) {
return t === e;
}) : this.$element;
(i.hasClass("is-active") || 0 < i.find(".is-active").length) && ((n = i.find("li.is-active")).add(i).attr({
"data-is-click": !1
}).removeClass("is-active"), i.find("ul.js-dropdown-active").removeClass("js-dropdown-active"), (this.changed || i.find("opens-inner").length) && (t = "left" === this.options.alignment ? "right" : "left", i.find("li.is-dropdown-submenu-parent").add(i).removeClass("opens-inner opens-".concat(this.options.alignment)).addClass("opens-".concat(t)), this.changed = !1), clearTimeout(n.data("_delay")), this._removeBodyHandler(), this.$element.trigger("hide.zf.dropdownMenu", [i]));
}
}, {
key: "_destroy",
value: function value() {
this.$menuItems.off(".zf.dropdownMenu").removeAttr("data-is-click").removeClass("is-right-arrow is-left-arrow is-down-arrow opens-right opens-left opens-inner"), d()(document.body).off(".zf.dropdownMenu"), r.Nest.Burn(this.$element, "dropdown");
}
}]) && c(t.prototype, e), n && c(t, n), o;
}();
i.defaults = {
disableHover: !1,
disableHoverOnTouch: !0,
autoclose: !0,
hoverDelay: 50,
clickOpen: !1,
closingTime: 500,
alignment: "auto",
closeOnClick: !0,
closeOnClickInside: !0,
verticalClass: "vertical",
rightClass: "align-right",
forceFollow: !0
};
},
"./js/foundation.equalizer.js": function jsFoundationEqualizerJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Equalizer", function () {
return i;
});
var e = n("jquery"),
c = n.n(e),
s = n("./js/foundation.util.mediaQuery.js"),
r = n("./js/foundation.util.imageLoader.js"),
a = n("./js/foundation.core.utils.js"),
l = n("./js/foundation.core.plugin.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function u(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function f(t, e) {
return (f = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function d(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = h(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = h(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function h(t) {
return (h = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && f(t, e);
}(o, l["Plugin"]);
var t,
e,
n,
i = d(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = t, this.options = c.a.extend({}, o.defaults, this.$element.data(), e), this.className = "Equalizer", this._init();
}
}, {
key: "_init",
value: function value() {
var t = this.$element.attr("data-equalizer") || "",
e = this.$element.find('[data-equalizer-watch="'.concat(t, '"]'));
s.MediaQuery._init(), this.$watched = e.length ? e : this.$element.find("[data-equalizer-watch]"), this.$element.attr("data-resize", t || Object(a.GetYoDigits)(6, "eq")), this.$element.attr("data-mutate", t || Object(a.GetYoDigits)(6, "eq")), this.hasNested = 0 < this.$element.find("[data-equalizer]").length, this.isNested = 0 < this.$element.parentsUntil(document.body, "[data-equalizer]").length, this.isOn = !1, this._bindHandler = {
onResizeMeBound: this._onResizeMe.bind(this),
onPostEqualizedBound: this._onPostEqualized.bind(this)
};
var n,
t = this.$element.find("img");
this.options.equalizeOn ? (n = this._checkMQ(), c()(window).on("changed.zf.mediaquery", this._checkMQ.bind(this))) : this._events(), (void 0 !== n && !1 === n || void 0 === n) && (t.length ? Object(r.onImagesLoaded)(t, this._reflow.bind(this)) : this._reflow());
}
}, {
key: "_pauseEvents",
value: function value() {
this.isOn = !1, this.$element.off({
".zf.equalizer": this._bindHandler.onPostEqualizedBound,
"resizeme.zf.trigger": this._bindHandler.onResizeMeBound,
"mutateme.zf.trigger": this._bindHandler.onResizeMeBound
});
}
}, {
key: "_onResizeMe",
value: function value() {
this._reflow();
}
}, {
key: "_onPostEqualized",
value: function value(t) {
t.target !== this.$element[0] && this._reflow();
}
}, {
key: "_events",
value: function value() {
this._pauseEvents(), this.hasNested ? this.$element.on("postequalized.zf.equalizer", this._bindHandler.onPostEqualizedBound) : (this.$element.on("resizeme.zf.trigger", this._bindHandler.onResizeMeBound), this.$element.on("mutateme.zf.trigger", this._bindHandler.onResizeMeBound)), this.isOn = !0;
}
}, {
key: "_checkMQ",
value: function value() {
var t = !s.MediaQuery.is(this.options.equalizeOn);
return t ? this.isOn && (this._pauseEvents(), this.$watched.css("height", "auto")) : this.isOn || this._events(), t;
}
}, {
key: "_killswitch",
value: function value() {}
}, {
key: "_reflow",
value: function value() {
if (!this.options.equalizeOnStack && this._isStacked()) return this.$watched.css("height", "auto"), !1;
this.options.equalizeByRow ? this.getHeightsByRow(this.applyHeightByRow.bind(this)) : this.getHeights(this.applyHeight.bind(this));
}
}, {
key: "_isStacked",
value: function value() {
return !this.$watched[0] || !this.$watched[1] || this.$watched[0].getBoundingClientRect().top !== this.$watched[1].getBoundingClientRect().top;
}
}, {
key: "getHeights",
value: function value(t) {
for (var e = [], n = 0, i = this.$watched.length; n < i; n++) this.$watched[n].style.height = "auto", e.push(this.$watched[n].offsetHeight);
t(e);
}
}, {
key: "getHeightsByRow",
value: function value(t) {
var e = this.$watched.length ? this.$watched.first().offset().top : 0,
n = [],
i = 0;
n[i] = [];
for (var o = 0, s = this.$watched.length; o < s; o++) {
this.$watched[o].style.height = "auto";
var r = c()(this.$watched[o]).offset().top;
r !== e && (n[++i] = [], e = r), n[i].push([this.$watched[o], this.$watched[o].offsetHeight]);
}
for (var a = 0, l = n.length; a < l; a++) {
var u = c()(n[a]).map(function () {
return this[1];
}).get(),
u = Math.max.apply(null, u);
n[a].push(u);
}
t(n);
}
}, {
key: "applyHeight",
value: function value(t) {
t = Math.max.apply(null, t);
this.$element.trigger("preequalized.zf.equalizer"), this.$watched.css("height", t), this.$element.trigger("postequalized.zf.equalizer");
}
}, {
key: "applyHeightByRow",
value: function value(t) {
this.$element.trigger("preequalized.zf.equalizer");
for (var e = 0, n = t.length; e < n; e++) {
var i = t[e].length,
o = t[e][i - 1];
if (i <= 2) c()(t[e][0][0]).css({
height: "auto"
});else {
this.$element.trigger("preequalizedrow.zf.equalizer");
for (var s = 0, r = i - 1; s < r; s++) c()(t[e][s][0]).css({
height: o
});
this.$element.trigger("postequalizedrow.zf.equalizer");
}
}
this.$element.trigger("postequalized.zf.equalizer");
}
}, {
key: "_destroy",
value: function value() {
this._pauseEvents(), this.$watched.css("height", "auto");
}
}]) && u(t.prototype, e), n && u(t, n), o;
}();
i.defaults = {
equalizeOnStack: !1,
equalizeByRow: !1,
equalizeOn: ""
};
},
"./js/foundation.interchange.js": function jsFoundationInterchangeJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Interchange", function () {
return i;
});
var e = n("jquery"),
o = n.n(e),
r = n("./js/foundation.util.mediaQuery.js"),
a = n("./js/foundation.core.plugin.js"),
l = n("./js/foundation.core.utils.js"),
u = n("./js/foundation.util.triggers.js");
function s(t) {
return (s = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function c(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function f(t, e) {
return (f = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function d(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = h(n);
return function (t, e) {
{
if (e && ("object" === s(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = h(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function h(t) {
return (h = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && f(t, e);
}(s, a["Plugin"]);
var t,
e,
n,
i = d(s);
function s() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, s), i.apply(this, arguments);
}
return t = s, (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = t, this.options = o.a.extend({}, s.defaults, this.$element.data(), e), this.rules = [], this.currentPath = "", this.className = "Interchange", u.Triggers.init(o.a), this._init(), this._events();
}
}, {
key: "_init",
value: function value() {
r.MediaQuery._init();
var t = this.$element[0].id || Object(l.GetYoDigits)(6, "interchange");
this.$element.attr({
"data-resize": t,
id: t
}), this._parseOptions(), this._addBreakpoints(), this._generateRules(), this._reflow();
}
}, {
key: "_events",
value: function value() {
var t = this;
this.$element.off("resizeme.zf.trigger").on("resizeme.zf.trigger", function () {
return t._reflow();
});
}
}, {
key: "_reflow",
value: function value() {
var t, e, n;
for (e in this.rules) this.rules.hasOwnProperty(e) && (n = this.rules[e], window.matchMedia(n.query).matches && (t = n));
t && this.replace(t.path);
}
}, {
key: "_parseOptions",
value: function value() {
void 0 === this.options.type ? this.options.type = "auto" : -1 === ["auto", "src", "background", "html"].indexOf(this.options.type) && (console.warn('Warning: invalid value "'.concat(this.options.type, '" for Interchange option "type"')), this.options.type = "auto");
}
}, {
key: "_addBreakpoints",
value: function value() {
for (var t in r.MediaQuery.queries) r.MediaQuery.queries.hasOwnProperty(t) && (t = r.MediaQuery.queries[t], s.SPECIAL_QUERIES[t.name] = t.value);
}
}, {
key: "_generateRules",
value: function value() {
var t,
e,
n,
i = [],
o = this.options.rules || this.$element.data("interchange");
for (t in o = "string" == typeof o ? o.match(/\[.*?, .*?\]/g) : o) o.hasOwnProperty(t) && (e = (n = o[t].slice(1, -1).split(", ")).slice(0, -1).join(""), n = n[n.length - 1], s.SPECIAL_QUERIES[n] && (n = s.SPECIAL_QUERIES[n]), i.push({
path: e,
query: n
}));
this.rules = i;
}
}, {
key: "replace",
value: function value(e) {
var n,
t,
i = this;
this.currentPath !== e && (n = "replaced.zf.interchange", "src" === (t = "auto" === (t = this.options.type) ? "IMG" === this.$element[0].nodeName ? "src" : e.match(/\.(gif|jpe?g|png|svg|tiff)([?#].*)?/i) ? "background" : "html" : t) ? this.$element.attr("src", e).on("load", function () {
i.currentPath = e;
}).trigger(n) : "background" === t ? (e = e.replace(/\(/g, "%28").replace(/\)/g, "%29"), this.$element.css({
"background-image": "url(" + e + ")"
}).trigger(n)) : "html" === t && o.a.get(e, function (t) {
i.$element.html(t).trigger(n), o()(t).foundation(), i.currentPath = e;
}));
}
}, {
key: "_destroy",
value: function value() {
this.$element.off("resizeme.zf.trigger");
}
}]) && c(t.prototype, e), n && c(t, n), s;
}();
i.defaults = {
rules: null,
type: "auto"
}, i.SPECIAL_QUERIES = {
landscape: "screen and (orientation: landscape)",
portrait: "screen and (orientation: portrait)",
retina: "only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)"
};
},
"./js/foundation.magellan.js": function jsFoundationMagellanJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Magellan", function () {
return i;
});
var e = n("jquery"),
a = n.n(e),
s = n("./js/foundation.core.plugin.js"),
r = n("./js/foundation.core.utils.js"),
l = n("./js/foundation.smoothScroll.js"),
u = n("./js/foundation.util.triggers.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function c(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function f(t, e) {
return (f = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function d(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = h(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = h(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function h(t) {
return (h = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && f(t, e);
}(o, s["Plugin"]);
var t,
e,
n,
i = d(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = t, this.options = a.a.extend({}, o.defaults, this.$element.data(), e), this.className = "Magellan", u.Triggers.init(a.a), this._init(), this.calcPoints();
}
}, {
key: "_init",
value: function value() {
var t = this.$element[0].id || Object(r.GetYoDigits)(6, "magellan");
this.$targets = a()("[data-magellan-target]"), this.$links = this.$element.find("a"), this.$element.attr({
"data-resize": t,
"data-scroll": t,
id: t
}), this.$active = a()(), this.scrollPos = parseInt(window.pageYOffset, 10), this._events();
}
}, {
key: "calcPoints",
value: function value() {
var n = this,
t = document.body,
e = document.documentElement;
this.points = [], this.winHeight = Math.round(Math.max(window.innerHeight, e.clientHeight)), this.docHeight = Math.round(Math.max(t.scrollHeight, t.offsetHeight, e.clientHeight, e.scrollHeight, e.offsetHeight)), this.$targets.each(function () {
var t = a()(this),
e = Math.round(t.offset().top - n.options.threshold);
t.targetPoint = e, n.points.push(e);
});
}
}, {
key: "_events",
value: function value() {
var e = this;
a()(window).one("load", function () {
e.options.deepLinking && location.hash && e.scrollToLoc(location.hash), e.calcPoints(), e._updateActive();
}), e.onLoadListener = Object(r.onLoad)(a()(window), function () {
e.$element.on({
"resizeme.zf.trigger": e.reflow.bind(e),
"scrollme.zf.trigger": e._updateActive.bind(e)
}).on("click.zf.magellan", 'a[href^="#"]', function (t) {
t.preventDefault();
t = this.getAttribute("href");
e.scrollToLoc(t);
});
}), this._deepLinkScroll = function () {
e.options.deepLinking && e.scrollToLoc(window.location.hash);
}, a()(window).on("hashchange", this._deepLinkScroll);
}
}, {
key: "scrollToLoc",
value: function value(t) {
this._inTransition = !0;
var e = this,
n = {
animationEasing: this.options.animationEasing,
animationDuration: this.options.animationDuration,
threshold: this.options.threshold,
offset: this.options.offset
};
l.SmoothScroll.scrollToLoc(t, n, function () {
e._inTransition = !1;
});
}
}, {
key: "reflow",
value: function value() {
this.calcPoints(), this._updateActive();
}
}, {
key: "_updateActive",
value: function value() {
var e,
n,
t,
i,
o,
s,
r = this;
this._inTransition || (e = parseInt(window.pageYOffset, 10), n = this.scrollPos > e, (this.scrollPos = e) < this.points[0] - this.options.offset - (n ? this.options.threshold : 0) || (s = e + this.winHeight === this.docHeight ? this.points.length - 1 : (o = this.points.filter(function (t) {
return t - r.options.offset - (n ? r.options.threshold : 0) <= e;
})).length ? o.length - 1 : 0), t = this.$active, i = "", void 0 !== s ? (this.$active = this.$links.filter('[href="#' + this.$targets.eq(s).data("magellan-target") + '"]'), this.$active.length && (i = this.$active[0].getAttribute("href"))) : this.$active = a()(), o = !(!this.$active.length && !t.length || this.$active.is(t)), s = i !== window.location.hash, o && (t.removeClass(this.options.activeClass), this.$active.addClass(this.options.activeClass)), this.options.deepLinking && s && (window.history.pushState ? (s = i || window.location.pathname + window.location.search, this.options.updateHistory ? window.history.pushState({}, "", s) : window.history.replaceState({}, "", s)) : window.location.hash = i), o && this.$element.trigger("update.zf.magellan", [this.$active]));
}
}, {
key: "_destroy",
value: function value() {
var t;
this.$element.off(".zf.trigger .zf.magellan").find(".".concat(this.options.activeClass)).removeClass(this.options.activeClass), this.options.deepLinking && (t = this.$active[0].getAttribute("href"), window.location.hash.replace(t, "")), a()(window).off("hashchange", this._deepLinkScroll), this.onLoadListener && a()(window).off(this.onLoadListener);
}
}]) && c(t.prototype, e), n && c(t, n), o;
}();
i.defaults = {
animationDuration: 500,
animationEasing: "linear",
threshold: 50,
activeClass: "is-active",
deepLinking: !1,
updateHistory: !1,
offset: 0
};
},
"./js/foundation.offcanvas.js": function jsFoundationOffcanvasJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "OffCanvas", function () {
return i;
});
var e = n("jquery"),
s = n.n(e),
r = n("./js/foundation.core.plugin.js"),
a = n("./js/foundation.core.utils.js"),
l = n("./js/foundation.util.keyboard.js"),
u = n("./js/foundation.util.mediaQuery.js"),
c = n("./js/foundation.util.triggers.js");
function f(t) {
return (f = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function d(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function h(t, e) {
return (h = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function p(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = o(n);
return function (t, e) {
{
if (e && ("object" === f(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = o(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function o(t) {
return (o = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && h(t, e);
}(o, r["Plugin"]);
var t,
e,
n,
i = p(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t, e) {
var n = this;
this.className = "OffCanvas", this.$element = t, this.options = s.a.extend({}, o.defaults, this.$element.data(), e), this.contentClasses = {
base: [],
reveal: []
}, this.$lastTrigger = s()(), this.$triggers = s()(), this.position = "left", this.$content = s()(), this.nested = !!this.options.nested, this.$sticky = s()(), this.isInCanvas = !1, s()(["push", "overlap"]).each(function (t, e) {
n.contentClasses.base.push("has-transition-" + e);
}), s()(["left", "right", "top", "bottom"]).each(function (t, e) {
n.contentClasses.base.push("has-position-" + e), n.contentClasses.reveal.push("has-reveal-" + e);
}), c.Triggers.init(s.a), u.MediaQuery._init(), this._init(), this._events(), l.Keyboard.register("OffCanvas", {
ESCAPE: "close"
});
}
}, {
key: "_init",
value: function value() {
var t = this.$element.attr("id");
this.$element.attr("aria-hidden", "true"), this.options.contentId ? this.$content = s()("#" + this.options.contentId) : this.$element.siblings("[data-off-canvas-content]").length ? this.$content = this.$element.siblings("[data-off-canvas-content]").first() : this.$content = this.$element.closest("[data-off-canvas-content]").first(), this.options.contentId ? this.options.contentId && null === this.options.nested && console.warn("Remember to use the nested option if using the content ID option!") : this.nested = 0 === this.$element.siblings("[data-off-canvas-content]").length, !0 === this.nested && (this.options.transition = "overlap", this.$element.removeClass("is-transition-push")), this.$element.addClass("is-transition-".concat(this.options.transition, " is-closed")), this.$triggers = s()(document).find('[data-open="' + t + '"], [data-close="' + t + '"], [data-toggle="' + t + '"]').attr("aria-expanded", "false").attr("aria-controls", t), this.position = this.$element.is(".position-left, .position-top, .position-right, .position-bottom") ? this.$element.attr("class").match(/position\-(left|top|right|bottom)/)[1] : this.position, !0 === this.options.contentOverlay && (t = document.createElement("div"), e = "fixed" === s()(this.$element).css("position") ? "is-overlay-fixed" : "is-overlay-absolute", t.setAttribute("class", "js-off-canvas-overlay " + e), this.$overlay = s()(t), "is-overlay-fixed" == e ? s()(this.$overlay).insertAfter(this.$element) : this.$content.append(this.$overlay));
var e = new RegExp(Object(a.RegExpEscape)(this.options.revealClass) + "([^\\s]+)", "g").exec(this.$element[0].className);
e && (this.options.isRevealed = !0, this.options.revealOn = this.options.revealOn || e[1]), !0 === this.options.isRevealed && this.options.revealOn && (this.$element.first().addClass("".concat(this.options.revealClass).concat(this.options.revealOn)), this._setMQChecker()), this.options.transitionTime && this.$element.css("transition-duration", this.options.transitionTime), this.$sticky = this.$content.find("[data-off-canvas-sticky]"), 0 < this.$sticky.length && "push" === this.options.transition && (this.options.contentScroll = !1);
e = this.$element.attr("class").match(/\bin-canvas-for-(\w+)/);
e && 2 === e.length ? this.options.inCanvasOn = e[1] : this.options.inCanvasOn && this.$element.addClass("in-canvas-for-".concat(this.options.inCanvasOn)), this.options.inCanvasOn && this._checkInCanvas(), this._removeContentClasses();
}
}, {
key: "_events",
value: function value() {
var t = this;
this.$element.off(".zf.trigger .zf.offCanvas").on({
"open.zf.trigger": this.open.bind(this),
"close.zf.trigger": this.close.bind(this),
"toggle.zf.trigger": this.toggle.bind(this),
"keydown.zf.offCanvas": this._handleKeyboard.bind(this)
}), !0 === this.options.closeOnClick && (this.options.contentOverlay ? this.$overlay : this.$content).on({
"click.zf.offCanvas": this.close.bind(this)
}), this.options.inCanvasOn && s()(window).on("changed.zf.mediaquery", function () {
t._checkInCanvas();
});
}
}, {
key: "_setMQChecker",
value: function value() {
var t = this;
this.onLoadListener = Object(a.onLoad)(s()(window), function () {
u.MediaQuery.atLeast(t.options.revealOn) && t.reveal(!0);
}), s()(window).on("changed.zf.mediaquery", function () {
u.MediaQuery.atLeast(t.options.revealOn) ? t.reveal(!0) : t.reveal(!1);
});
}
}, {
key: "_checkInCanvas",
value: function value() {
this.isInCanvas = u.MediaQuery.atLeast(this.options.inCanvasOn), !0 === this.isInCanvas && this.close();
}
}, {
key: "_removeContentClasses",
value: function value(t) {
"boolean" != typeof t ? this.$content.removeClass(this.contentClasses.base.join(" ")) : !1 === t && this.$content.removeClass("has-reveal-".concat(this.position));
}
}, {
key: "_addContentClasses",
value: function value(t) {
this._removeContentClasses(t), "boolean" != typeof t ? this.$content.addClass("has-transition-".concat(this.options.transition, " has-position-").concat(this.position)) : !0 === t && this.$content.addClass("has-reveal-".concat(this.position));
}
}, {
key: "_fixStickyElements",
value: function value() {
this.$sticky.each(function (t, e) {
var n = s()(e);
"fixed" === n.css("position") && (e = parseInt(n.css("top"), 10), n.data("offCanvasSticky", {
top: e
}), e = s()(document).scrollTop() + e, n.css({
top: "".concat(e, "px"),
width: "100%",
transition: "none"
}));
});
}
}, {
key: "_unfixStickyElements",
value: function value() {
this.$sticky.each(function (t, e) {
var n = s()(e),
e = n.data("offCanvasSticky");
"object" === f(e) && (n.css({
top: "".concat(e.top, "px"),
width: "",
transition: ""
}), n.data("offCanvasSticky", ""));
});
}
}, {
key: "reveal",
value: function value(t) {
t ? (this.close(), this.isRevealed = !0, this.$element.attr("aria-hidden", "false"), this.$element.off("open.zf.trigger toggle.zf.trigger"), this.$element.removeClass("is-closed")) : (this.isRevealed = !1, this.$element.attr("aria-hidden", "true"), this.$element.off("open.zf.trigger toggle.zf.trigger").on({
"open.zf.trigger": this.open.bind(this),
"toggle.zf.trigger": this.toggle.bind(this)
}), this.$element.addClass("is-closed")), this._addContentClasses(t);
}
}, {
key: "_stopScrolling",
value: function value() {
return !1;
}
}, {
key: "_recordScrollable",
value: function value(t) {
this.lastY = t.touches[0].pageY;
}
}, {
key: "_preventDefaultAtEdges",
value: function value(t) {
var e = t.data,
n = this.lastY - t.touches[0].pageY;
this.lastY = t.touches[0].pageY, e._canScroll(n, this) || t.preventDefault();
}
}, {
key: "_scrollboxTouchMoved",
value: function value(t) {
var e = t.data,
n = this.closest("[data-off-canvas], [data-off-canvas-scrollbox-outer]"),
i = this.lastY - t.touches[0].pageY;
n.lastY = this.lastY = t.touches[0].pageY, t.stopPropagation(), e._canScroll(i, this) || (e._canScroll(i, n) ? n.scrollTop += i : t.preventDefault());
}
}, {
key: "_canScroll",
value: function value(t, e) {
var n = 0 < e.scrollTop,
e = e.scrollTop < e.scrollHeight - e.clientHeight;
return t < 0 && n || 0 < t && e;
}
}, {
key: "open",
value: function value(t, e) {
var n,
i = this;
this.$element.hasClass("is-open") || this.isRevealed || this.isInCanvas || (n = this, e && (this.$lastTrigger = e), "top" === this.options.forceTo ? window.scrollTo(0, 0) : "bottom" === this.options.forceTo && window.scrollTo(0, document.body.scrollHeight), this.options.transitionTime && "overlap" !== this.options.transition ? this.$element.siblings("[data-off-canvas-content]").css("transition-duration", this.options.transitionTime) : this.$element.siblings("[data-off-canvas-content]").css("transition-duration", ""), this.$element.addClass("is-open").removeClass("is-closed"), this.$triggers.attr("aria-expanded", "true"), this.$element.attr("aria-hidden", "false"), this.$content.addClass("is-open-" + this.position), !1 === this.options.contentScroll && (s()("body").addClass("is-off-canvas-open").on("touchmove", this._stopScrolling), this.$element.on("touchstart", this._recordScrollable), this.$element.on("touchmove", this, this._preventDefaultAtEdges), this.$element.on("touchstart", "[data-off-canvas-scrollbox]", this._recordScrollable), this.$element.on("touchmove", "[data-off-canvas-scrollbox]", this, this._scrollboxTouchMoved)), !0 === this.options.contentOverlay && this.$overlay.addClass("is-visible"), !0 === this.options.closeOnClick && !0 === this.options.contentOverlay && this.$overlay.addClass("is-closable"), !0 === this.options.autoFocus && this.$element.one(Object(a.transitionend)(this.$element), function () {
var t;
n.$element.hasClass("is-open") && ((t = n.$element.find("[data-autofocus]")).length ? t : n.$element.find("a, button")).eq(0).focus();
}), !0 === this.options.trapFocus && (this.$content.attr("tabindex", "-1"), l.Keyboard.trapFocus(this.$element)), "push" === this.options.transition && this._fixStickyElements(), this._addContentClasses(), this.$element.trigger("opened.zf.offCanvas"), this.$element.one(Object(a.transitionend)(this.$element), function () {
i.$element.trigger("openedEnd.zf.offCanvas");
}));
}
}, {
key: "close",
value: function value() {
var t = this;
this.$element.hasClass("is-open") && !this.isRevealed && (this.$element.trigger("close.zf.offCanvas"), this.$element.removeClass("is-open"), this.$element.attr("aria-hidden", "true"), this.$content.removeClass("is-open-left is-open-top is-open-right is-open-bottom"), !0 === this.options.contentOverlay && this.$overlay.removeClass("is-visible"), !0 === this.options.closeOnClick && !0 === this.options.contentOverlay && this.$overlay.removeClass("is-closable"), this.$triggers.attr("aria-expanded", "false"), this.$element.one(Object(a.transitionend)(this.$element), function () {
t.$element.addClass("is-closed"), t._removeContentClasses(), "push" === t.options.transition && t._unfixStickyElements(), !1 === t.options.contentScroll && (s()("body").removeClass("is-off-canvas-open").off("touchmove", t._stopScrolling), t.$element.off("touchstart", t._recordScrollable), t.$element.off("touchmove", t._preventDefaultAtEdges), t.$element.off("touchstart", "[data-off-canvas-scrollbox]", t._recordScrollable), t.$element.off("touchmove", "[data-off-canvas-scrollbox]", t._scrollboxTouchMoved)), !0 === t.options.trapFocus && (t.$content.removeAttr("tabindex"), l.Keyboard.releaseFocus(t.$element)), t.$element.trigger("closed.zf.offCanvas");
}));
}
}, {
key: "toggle",
value: function value(t, e) {
this.$element.hasClass("is-open") ? this.close(t, e) : this.open(t, e);
}
}, {
key: "_handleKeyboard",
value: function value(t) {
var e = this;
l.Keyboard.handleKey(t, "OffCanvas", {
close: function close() {
return e.close(), e.$lastTrigger.focus(), !0;
},
handled: function handled() {
t.preventDefault();
}
});
}
}, {
key: "_destroy",
value: function value() {
this.close(), this.$element.off(".zf.trigger .zf.offCanvas"), this.$overlay.off(".zf.offCanvas"), this.onLoadListener && s()(window).off(this.onLoadListener);
}
}]) && d(t.prototype, e), n && d(t, n), o;
}();
i.defaults = {
closeOnClick: !0,
contentOverlay: !0,
contentId: null,
nested: null,
contentScroll: !0,
transitionTime: null,
transition: "push",
forceTo: null,
isRevealed: !1,
revealOn: null,
inCanvasOn: null,
autoFocus: !0,
revealClass: "reveal-for-",
trapFocus: !1
};
},
"./js/foundation.orbit.js": function jsFoundationOrbitJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Orbit", function () {
return i;
});
var e = n("jquery"),
s = n.n(e),
r = n("./js/foundation.util.keyboard.js"),
c = n("./js/foundation.util.motion.js"),
a = n("./js/foundation.util.timer.js"),
l = n("./js/foundation.util.imageLoader.js"),
u = n("./js/foundation.core.utils.js"),
f = n("./js/foundation.core.plugin.js"),
d = n("./js/foundation.util.touch.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function h(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function p(t, e) {
return (p = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function m(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = g(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = g(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function g(t) {
return (g = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && p(t, e);
}(o, f["Plugin"]);
var t,
e,
n,
i = m(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = t, this.options = s.a.extend({}, o.defaults, this.$element.data(), e), this.className = "Orbit", d.Touch.init(s.a), this._init(), r.Keyboard.register("Orbit", {
ltr: {
ARROW_RIGHT: "next",
ARROW_LEFT: "previous"
},
rtl: {
ARROW_LEFT: "next",
ARROW_RIGHT: "previous"
}
});
}
}, {
key: "_init",
value: function value() {
this._reset(), this.$wrapper = this.$element.find(".".concat(this.options.containerClass)), this.$slides = this.$element.find(".".concat(this.options.slideClass));
var t = this.$element.find("img"),
e = this.$slides.filter(".is-active"),
n = this.$element[0].id || Object(u.GetYoDigits)(6, "orbit");
this.$element.attr({
"data-resize": n,
id: n
}), e.length || this.$slides.eq(0).addClass("is-active"), this.options.useMUI || this.$slides.addClass("no-motionui"), t.length ? Object(l.onImagesLoaded)(t, this._prepareForOrbit.bind(this)) : this._prepareForOrbit(), this.options.bullets && this._loadBullets(), this._events(), this.options.autoPlay && 1 < this.$slides.length && this.geoSync(), this.options.accessible && this.$wrapper.attr("tabindex", 0);
}
}, {
key: "_loadBullets",
value: function value() {
this.$bullets = this.$element.find(".".concat(this.options.boxOfBullets)).find("button");
}
}, {
key: "geoSync",
value: function value() {
var t = this;
this.timer = new a.Timer(this.$element, {
duration: this.options.timerDelay,
infinite: !1
}, function () {
t.changeSlide(!0);
}), this.timer.start();
}
}, {
key: "_prepareForOrbit",
value: function value() {
this._setWrapperHeight();
}
}, {
key: "_setWrapperHeight",
value: function value(t) {
var e,
n = 0,
i = 0,
o = this;
this.$slides.each(function () {
e = this.getBoundingClientRect().height, s()(this).attr("data-slide", i), /mui/g.test(s()(this)[0].className) || o.$slides.filter(".is-active")[0] === o.$slides.eq(i)[0] || s()(this).css({
display: "none"
}), n = n < e ? e : n, i++;
}), i === this.$slides.length && (this.$wrapper.css({
height: n
}), t && t(n));
}
}, {
key: "_setSlideHeight",
value: function value(t) {
this.$slides.each(function () {
s()(this).css("max-height", t);
});
}
}, {
key: "_events",
value: function value() {
var i = this;
this.$element.off(".resizeme.zf.trigger").on({
"resizeme.zf.trigger": this._prepareForOrbit.bind(this)
}), 1 < this.$slides.length && (this.options.swipe && this.$slides.off("swipeleft.zf.orbit swiperight.zf.orbit").on("swipeleft.zf.orbit", function (t) {
t.preventDefault(), i.changeSlide(!0);
}).on("swiperight.zf.orbit", function (t) {
t.preventDefault(), i.changeSlide(!1);
}), this.options.autoPlay && (this.$slides.on("click.zf.orbit", function () {
i.$element.data("clickedOn", !i.$element.data("clickedOn")), i.timer[i.$element.data("clickedOn") ? "pause" : "start"]();
}), this.options.pauseOnHover && this.$element.on("mouseenter.zf.orbit", function () {
i.timer.pause();
}).on("mouseleave.zf.orbit", function () {
i.$element.data("clickedOn") || i.timer.start();
})), this.options.navButtons && this.$element.find(".".concat(this.options.nextClass, ", .").concat(this.options.prevClass)).attr("tabindex", 0).on("click.zf.orbit touchend.zf.orbit", function (t) {
t.preventDefault(), i.changeSlide(s()(this).hasClass(i.options.nextClass));
}), this.options.bullets && this.$bullets.on("click.zf.orbit touchend.zf.orbit", function () {
if (/is-active/g.test(this.className)) return !1;
var t = s()(this).data("slide"),
e = t > i.$slides.filter(".is-active").data("slide"),
n = i.$slides.eq(t);
i.changeSlide(e, n, t);
}), this.options.accessible && this.$wrapper.add(this.$bullets).on("keydown.zf.orbit", function (t) {
r.Keyboard.handleKey(t, "Orbit", {
next: function next() {
i.changeSlide(!0);
},
previous: function previous() {
i.changeSlide(!1);
},
handled: function handled() {
s()(t.target).is(i.$bullets) && i.$bullets.filter(".is-active").focus();
}
});
}));
}
}, {
key: "_reset",
value: function value() {
void 0 !== this.$slides && 1 < this.$slides.length && (this.$element.off(".zf.orbit").find("*").off(".zf.orbit"), this.options.autoPlay && this.timer.restart(), this.$slides.each(function (t) {
s()(t).removeClass("is-active is-active is-in").removeAttr("aria-live").hide();
}), this.$slides.first().addClass("is-active").show(), this.$element.trigger("slidechange.zf.orbit", [this.$slides.first()]), this.options.bullets && this._updateBullets(0));
}
}, {
key: "changeSlide",
value: function value(t, e, n) {
if (this.$slides) {
var i = this.$slides.filter(".is-active").eq(0);
if (/mui/g.test(i[0].className)) return !1;
var o = this.$slides.first(),
s = this.$slides.last(),
r = t ? "Right" : "Left",
a = t ? "Left" : "Right",
l = this,
u = e || (t ? !this.options.infiniteWrap || i.next(".".concat(this.options.slideClass)).length ? i.next(".".concat(this.options.slideClass)) : o : !this.options.infiniteWrap || i.prev(".".concat(this.options.slideClass)).length ? i.prev(".".concat(this.options.slideClass)) : s);
u.length && (this.$element.trigger("beforeslidechange.zf.orbit", [i, u]), this.options.bullets && (n = n || this.$slides.index(u), this._updateBullets(n)), this.options.useMUI && !this.$element.is(":hidden") ? (c.Motion.animateIn(u.addClass("is-active"), this.options["animInFrom".concat(r)], function () {
u.css({
display: "block"
}).attr("aria-live", "polite");
}), c.Motion.animateOut(i.removeClass("is-active"), this.options["animOutTo".concat(a)], function () {
i.removeAttr("aria-live"), l.options.autoPlay && !l.timer.isPaused && l.timer.restart();
})) : (i.removeClass("is-active is-in").removeAttr("aria-live").hide(), u.addClass("is-active is-in").attr("aria-live", "polite").show(), this.options.autoPlay && !this.timer.isPaused && this.timer.restart()), this.$element.trigger("slidechange.zf.orbit", [u]));
}
}
}, {
key: "_updateBullets",
value: function value(t) {
var e = this.$bullets.filter(".is-active"),
n = this.$bullets.not(".is-active"),
i = this.$bullets.eq(t);
e.removeClass("is-active").blur(), i.addClass("is-active");
var o,
t = e.children("[data-slide-active-label]").last();
t.length || (o = e.children("span"), n.toArray().map(function (t) {
return s()(t).children("span").length;
}).every(function (t) {
return t < o.length;
}) && (t = o.last()).attr("data-slide-active-label", "")), t.length && (t.detach(), i.append(t));
}
}, {
key: "_destroy",
value: function value() {
this.$element.off(".zf.orbit").find("*").off(".zf.orbit").end().hide();
}
}]) && h(t.prototype, e), n && h(t, n), o;
}();
i.defaults = {
bullets: !0,
navButtons: !0,
animInFromRight: "slide-in-right",
animOutToRight: "slide-out-right",
animInFromLeft: "slide-in-left",
animOutToLeft: "slide-out-left",
autoPlay: !0,
timerDelay: 5e3,
infiniteWrap: !0,
swipe: !0,
pauseOnHover: !0,
accessible: !0,
containerClass: "orbit-container",
slideClass: "orbit-slide",
boxOfBullets: "orbit-bullets",
nextClass: "orbit-next",
prevClass: "orbit-previous",
useMUI: !0
};
},
"./js/foundation.positionable.js": function jsFoundationPositionableJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Positionable", function () {
return i;
});
var r = n("./js/foundation.util.box.js"),
s = n("./js/foundation.core.plugin.js"),
a = n("./js/foundation.core.utils.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function l(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function u(t, e) {
return (u = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function c(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = f(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = f(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function f(t) {
return (f = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var d = ["left", "right", "top", "bottom"],
e = ["top", "bottom", "center"],
n = ["left", "right", "center"],
h = {
left: e,
right: e,
top: n,
bottom: n
};
function p(t, e) {
t = e.indexOf(t);
return t === e.length - 1 ? e[0] : e[t + 1];
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && u(t, e);
}(o, s["Plugin"]);
var t,
e,
n,
i = c(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_init",
value: function value() {
this.triedPositions = {}, this.position = "auto" === this.options.position ? this._getDefaultPosition() : this.options.position, this.alignment = "auto" === this.options.alignment ? this._getDefaultAlignment() : this.options.alignment, this.originalPosition = this.position, this.originalAlignment = this.alignment;
}
}, {
key: "_getDefaultPosition",
value: function value() {
return "bottom";
}
}, {
key: "_getDefaultAlignment",
value: function value() {
switch (this.position) {
case "bottom":
case "top":
return Object(a.rtl)() ? "right" : "left";
case "left":
case "right":
return "bottom";
}
}
}, {
key: "_reposition",
value: function value() {
this._alignmentsExhausted(this.position) ? (this.position = p(this.position, d), this.alignment = h[this.position][0]) : this._realign();
}
}, {
key: "_realign",
value: function value() {
this._addTriedPosition(this.position, this.alignment), this.alignment = p(this.alignment, h[this.position]);
}
}, {
key: "_addTriedPosition",
value: function value(t, e) {
this.triedPositions[t] = this.triedPositions[t] || [], this.triedPositions[t].push(e);
}
}, {
key: "_positionsExhausted",
value: function value() {
for (var t = !0, e = 0; e < d.length; e++) t = t && this._alignmentsExhausted(d[e]);
return t;
}
}, {
key: "_alignmentsExhausted",
value: function value(t) {
return this.triedPositions[t] && this.triedPositions[t].length === h[t].length;
}
}, {
key: "_getVOffset",
value: function value() {
return this.options.vOffset;
}
}, {
key: "_getHOffset",
value: function value() {
return this.options.hOffset;
}
}, {
key: "_setPosition",
value: function value(t, e, n) {
if ("false" === t.attr("aria-expanded")) return !1;
if (this.options.allowOverlap || (this.position = this.originalPosition, this.alignment = this.originalAlignment), e.offset(r.Box.GetExplicitOffsets(e, t, this.position, this.alignment, this._getVOffset(), this._getHOffset())), !this.options.allowOverlap) {
for (var i = 1e8, o = {
position: this.position,
alignment: this.alignment
}; !this._positionsExhausted();) {
var s = r.Box.OverlapArea(e, n, !1, !1, this.options.allowBottomOverlap);
if (0 === s) return;
s < i && (i = s, o = {
position: this.position,
alignment: this.alignment
}), this._reposition(), e.offset(r.Box.GetExplicitOffsets(e, t, this.position, this.alignment, this._getVOffset(), this._getHOffset()));
}
this.position = o.position, this.alignment = o.alignment, e.offset(r.Box.GetExplicitOffsets(e, t, this.position, this.alignment, this._getVOffset(), this._getHOffset()));
}
}
}]) && l(t.prototype, e), n && l(t, n), o;
}();
i.defaults = {
position: "auto",
alignment: "auto",
allowOverlap: !1,
allowBottomOverlap: !0,
vOffset: 0,
hOffset: 0
};
},
"./js/foundation.responsiveAccordionTabs.js": function jsFoundationResponsiveAccordionTabsJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "ResponsiveAccordionTabs", function () {
return m;
});
var e = n("jquery"),
u = n.n(e),
s = n("./js/foundation.util.mediaQuery.js"),
c = n("./js/foundation.core.utils.js"),
r = n("./js/foundation.core.plugin.js"),
e = n("./js/foundation.accordion.js");
function i(t) {
return (i = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function a(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function l(t, e) {
return (l = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function f(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = o(n);
return d(this, i ? (t = o(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function d(t, e) {
if (e && ("object" === i(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
return h(t);
}
function h(t) {
if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return t;
}
function o(t) {
return (o = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var p = {
tabs: {
cssClass: "tabs",
plugin: n("./js/foundation.tabs.js").Tabs,
open: function open(t, e) {
return t.selectTab(e);
},
close: null,
toggle: null
},
accordion: {
cssClass: "accordion",
plugin: e.Accordion,
open: function open(t, e) {
return t.down(u()(e));
},
close: function close(t, e) {
return t.up(u()(e));
},
toggle: function toggle(t, e) {
return t.toggle(u()(e));
}
}
},
m = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && l(t, e);
}(o, r["Plugin"]);
var t,
e,
n,
i = f(o);
function o(t, e) {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), d(e = i.call(this, t, e), e.options.reflow && e.storezfData || h(e));
}
return t = o, (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = u()(t), this.$element.data("zfPluginBase", this), this.options = u.a.extend({}, o.defaults, this.$element.data(), e), this.rules = this.$element.data("responsive-accordion-tabs"), this.currentMq = null, this.currentRule = null, this.currentPlugin = null, this.className = "ResponsiveAccordionTabs", this.$element.attr("id") || this.$element.attr("id", Object(c.GetYoDigits)(6, "responsiveaccordiontabs")), this._init(), this._events();
}
}, {
key: "_init",
value: function value() {
if (s.MediaQuery._init(), "string" == typeof this.rules) {
for (var t = {}, e = this.rules.split(" "), n = 0; n < e.length; n++) {
var i = e[n].split("-"),
o = 1 < i.length ? i[0] : "small",
i = 1 < i.length ? i[1] : i[0];
null !== p[i] && (t[o] = p[i]);
}
this.rules = t;
}
this._getAllOptions(), u.a.isEmptyObject(this.rules) || this._checkMediaQueries();
}
}, {
key: "_getAllOptions",
value: function value() {
for (var t in this.allOptions = {}, p) if (p.hasOwnProperty(t)) {
var e = p[t];
try {
var n,
i,
o = u()("<ul></ul>"),
s = new e.plugin(o, this.options);
for (n in s.options) s.options.hasOwnProperty(n) && "zfPlugin" !== n && (i = s.options[n], this.allOptions[n] = i);
s.destroy();
} catch (t) {
console.warn("Warning: Problems getting Accordion/Tab options: ".concat(t));
}
}
}
}, {
key: "_events",
value: function value() {
this._changedZfMediaQueryHandler = this._checkMediaQueries.bind(this), u()(window).on("changed.zf.mediaquery", this._changedZfMediaQueryHandler);
}
}, {
key: "_checkMediaQueries",
value: function value() {
var e,
n = this;
u.a.each(this.rules, function (t) {
s.MediaQuery.atLeast(t) && (e = t);
}), e && (this.currentPlugin instanceof this.rules[e].plugin || (u.a.each(p, function (t, e) {
n.$element.removeClass(e.cssClass);
}), this.$element.addClass(this.rules[e].cssClass), this.currentPlugin && (!this.currentPlugin.$element.data("zfPlugin") && this.storezfData && this.currentPlugin.$element.data("zfPlugin", this.storezfData), this.currentPlugin.destroy()), this._handleMarkup(this.rules[e].cssClass), this.currentRule = this.rules[e], this.currentPlugin = new this.currentRule.plugin(this.$element, this.options), this.storezfData = this.currentPlugin.$element.data("zfPlugin")));
}
}, {
key: "_handleMarkup",
value: function value(t) {
var e,
s,
r,
a,
l,
n = this,
i = "accordion",
o = u()("[data-tabs-content=" + this.$element.attr("id") + "]");
(i = o.length ? "tabs" : i) !== t && (e = n.allOptions.linkClass || "tabs-title", s = n.allOptions.panelClass || "tabs-panel", this.$element.removeAttr("role"), r = this.$element.children("." + e + ",[data-accordion-item]").removeClass(e).removeClass("accordion-item").removeAttr("data-accordion-item"), a = r.children("a").removeClass("accordion-title"), "tabs" === i ? (o = o.children("." + s).removeClass(s).removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby")).children("a").removeAttr("role").removeAttr("aria-controls").removeAttr("aria-selected") : o = r.children("[data-tab-content]").removeClass("accordion-content"), o.css({
display: "",
visibility: ""
}), r.css({
display: "",
visibility: ""
}), "accordion" === t ? o.each(function (t, e) {
u()(e).appendTo(r.get(t)).addClass("accordion-content").attr("data-tab-content", "").removeClass("is-active").css({
height: ""
}), u()("[data-tabs-content=" + n.$element.attr("id") + "]").after('<div id="tabs-placeholder-' + n.$element.attr("id") + '"></div>').detach(), r.addClass("accordion-item").attr("data-accordion-item", ""), a.addClass("accordion-title");
}) : "tabs" === t && (l = u()("[data-tabs-content=" + n.$element.attr("id") + "]"), (t = u()("#tabs-placeholder-" + n.$element.attr("id"))).length ? (l = u()('<div class="tabs-content"></div>').insertAfter(t).attr("data-tabs-content", n.$element.attr("id")), t.remove()) : l = u()('<div class="tabs-content"></div>').insertAfter(n.$element).attr("data-tabs-content", n.$element.attr("id")), o.each(function (t, e) {
var n = u()(e).appendTo(l).addClass(s),
i = a.get(t).hash.slice(1),
o = u()(e).attr("id") || Object(c.GetYoDigits)(6, "accordion");
i !== o && ("" !== i ? u()(e).attr("id", i) : (i = o, u()(e).attr("id", i), u()(a.get(t)).attr("href", u()(a.get(t)).attr("href").replace("#", "") + "#" + i))), u()(r.get(t)).hasClass("is-active") && n.addClass("is-active");
}), r.addClass(e)));
}
}, {
key: "open",
value: function value() {
var t;
if (this.currentRule && "function" == typeof this.currentRule.open) return (t = this.currentRule).open.apply(t, [this.currentPlugin].concat(Array.prototype.slice.call(arguments)));
}
}, {
key: "close",
value: function value() {
var t;
if (this.currentRule && "function" == typeof this.currentRule.close) return (t = this.currentRule).close.apply(t, [this.currentPlugin].concat(Array.prototype.slice.call(arguments)));
}
}, {
key: "toggle",
value: function value() {
var t;
if (this.currentRule && "function" == typeof this.currentRule.toggle) return (t = this.currentRule).toggle.apply(t, [this.currentPlugin].concat(Array.prototype.slice.call(arguments)));
}
}, {
key: "_destroy",
value: function value() {
this.currentPlugin && this.currentPlugin.destroy(), u()(window).off("changed.zf.mediaquery", this._changedZfMediaQueryHandler);
}
}]) && a(t.prototype, e), n && a(t, n), o;
}();
m.defaults = {};
},
"./js/foundation.responsiveMenu.js": function jsFoundationResponsiveMenuJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "ResponsiveMenu", function () {
return p;
});
var i = n("jquery"),
s = n.n(i),
r = n("./js/foundation.util.mediaQuery.js"),
a = n("./js/foundation.core.utils.js"),
l = n("./js/foundation.core.plugin.js"),
e = n("./js/foundation.dropdownMenu.js"),
i = n("./js/foundation.drilldown.js"),
n = n("./js/foundation.accordionMenu.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function u(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function c(t, e) {
return (c = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function f(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = d(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = d(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function d(t) {
return (d = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var h = {
dropdown: {
cssClass: "dropdown",
plugin: e.DropdownMenu
},
drilldown: {
cssClass: "drilldown",
plugin: i.Drilldown
},
accordion: {
cssClass: "accordion-menu",
plugin: n.AccordionMenu
}
},
p = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && c(t, e);
}(o, l["Plugin"]);
var t,
e,
n,
i = f(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t) {
this.$element = s()(t), this.rules = this.$element.data("responsive-menu"), this.currentMq = null, this.currentPlugin = null, this.className = "ResponsiveMenu", this._init(), this._events();
}
}, {
key: "_init",
value: function value() {
if (r.MediaQuery._init(), "string" == typeof this.rules) {
for (var t = {}, e = this.rules.split(" "), n = 0; n < e.length; n++) {
var i = e[n].split("-"),
o = 1 < i.length ? i[0] : "small",
i = 1 < i.length ? i[1] : i[0];
null !== h[i] && (t[o] = h[i]);
}
this.rules = t;
}
s.a.isEmptyObject(this.rules) || this._checkMediaQueries(), this.$element.attr("data-mutate", this.$element.attr("data-mutate") || Object(a.GetYoDigits)(6, "responsive-menu"));
}
}, {
key: "_events",
value: function value() {
var t = this;
s()(window).on("changed.zf.mediaquery", function () {
t._checkMediaQueries();
});
}
}, {
key: "_checkMediaQueries",
value: function value() {
var e,
n = this;
s.a.each(this.rules, function (t) {
r.MediaQuery.atLeast(t) && (e = t);
}), e && (this.currentPlugin instanceof this.rules[e].plugin || (s.a.each(h, function (t, e) {
n.$element.removeClass(e.cssClass);
}), this.$element.addClass(this.rules[e].cssClass), this.currentPlugin && this.currentPlugin.destroy(), this.currentPlugin = new this.rules[e].plugin(this.$element, {})));
}
}, {
key: "_destroy",
value: function value() {
this.currentPlugin.destroy(), s()(window).off(".zf.ResponsiveMenu");
}
}]) && u(t.prototype, e), n && u(t, n), o;
}();
p.defaults = {};
},
"./js/foundation.responsiveToggle.js": function jsFoundationResponsiveToggleJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "ResponsiveToggle", function () {
return i;
});
var e = n("jquery"),
s = n.n(e),
r = n("./js/foundation.util.mediaQuery.js"),
a = n("./js/foundation.util.motion.js"),
l = n("./js/foundation.core.plugin.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function u(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function c(t, e) {
return (c = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function f(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = d(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = d(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function d(t) {
return (d = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && c(t, e);
}(o, l["Plugin"]);
var t,
e,
n,
i = f(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = s()(t), this.options = s.a.extend({}, o.defaults, this.$element.data(), e), this.className = "ResponsiveToggle", this._init(), this._events();
}
}, {
key: "_init",
value: function value() {
r.MediaQuery._init();
var t,
e = this.$element.data("responsive-toggle");
e || console.error("Your tab bar needs an ID of a Menu as the value of data-tab-bar."), this.$targetMenu = s()("#".concat(e)), this.$toggler = this.$element.find("[data-toggle]").filter(function () {
var t = s()(this).data("toggle");
return t === e || "" === t;
}), this.options = s.a.extend({}, this.options, this.$targetMenu.data()), this.options.animate && (t = this.options.animate.split(" "), this.animationIn = t[0], this.animationOut = t[1] || null), this._update();
}
}, {
key: "_events",
value: function value() {
this._updateMqHandler = this._update.bind(this), s()(window).on("changed.zf.mediaquery", this._updateMqHandler), this.$toggler.on("click.zf.responsiveToggle", this.toggleMenu.bind(this));
}
}, {
key: "_update",
value: function value() {
r.MediaQuery.atLeast(this.options.hideFor) ? (this.$element.hide(), this.$targetMenu.show()) : (this.$element.show(), this.$targetMenu.hide());
}
}, {
key: "toggleMenu",
value: function value() {
var t = this;
r.MediaQuery.atLeast(this.options.hideFor) || (this.options.animate ? this.$targetMenu.is(":hidden") ? a.Motion.animateIn(this.$targetMenu, this.animationIn, function () {
t.$element.trigger("toggled.zf.responsiveToggle"), t.$targetMenu.find("[data-mutate]").triggerHandler("mutateme.zf.trigger");
}) : a.Motion.animateOut(this.$targetMenu, this.animationOut, function () {
t.$element.trigger("toggled.zf.responsiveToggle");
}) : (this.$targetMenu.toggle(0), this.$targetMenu.find("[data-mutate]").trigger("mutateme.zf.trigger"), this.$element.trigger("toggled.zf.responsiveToggle")));
}
}, {
key: "_destroy",
value: function value() {
this.$element.off(".zf.responsiveToggle"), this.$toggler.off(".zf.responsiveToggle"), s()(window).off("changed.zf.mediaquery", this._updateMqHandler);
}
}]) && u(t.prototype, e), n && u(t, n), o;
}();
i.defaults = {
hideFor: "medium",
animate: !1
};
},
"./js/foundation.reveal.js": function jsFoundationRevealJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Reveal", function () {
return i;
});
var e = n("jquery"),
s = n.n(e),
r = n("./js/foundation.core.plugin.js"),
a = n("./js/foundation.core.utils.js"),
l = n("./js/foundation.util.keyboard.js"),
u = n("./js/foundation.util.mediaQuery.js"),
c = n("./js/foundation.util.motion.js"),
f = n("./js/foundation.util.triggers.js"),
d = n("./js/foundation.util.touch.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function h(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function p(t, e) {
return (p = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function m(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = g(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = g(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function g(t) {
return (g = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && p(t, e);
}(o, r["Plugin"]);
var t,
e,
n,
i = m(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = t, this.options = s.a.extend({}, o.defaults, this.$element.data(), e), this.className = "Reveal", this._init(), d.Touch.init(s.a), f.Triggers.init(s.a), l.Keyboard.register("Reveal", {
ESCAPE: "close"
});
}
}, {
key: "_init",
value: function value() {
var t = this;
u.MediaQuery._init(), this.id = this.$element.attr("id"), this.isActive = !1, this.cached = {
mq: u.MediaQuery.current
}, this.$anchor = s()('[data-open="'.concat(this.id, '"]')).length ? s()('[data-open="'.concat(this.id, '"]')) : s()('[data-toggle="'.concat(this.id, '"]')), this.$anchor.attr({
"aria-controls": this.id,
"aria-haspopup": "dialog",
tabindex: 0
}), (this.options.fullScreen || this.$element.hasClass("full")) && (this.options.fullScreen = !0, this.options.overlay = !1), this.options.overlay && !this.$overlay && (this.$overlay = this._makeOverlay(this.id)), this.$element.attr({
role: "dialog",
"aria-hidden": !0,
"data-yeti-box": this.id,
"data-resize": this.id
}), this.$overlay ? this.$element.detach().appendTo(this.$overlay) : (this.$element.detach().appendTo(s()(this.options.appendTo)), this.$element.addClass("without-overlay")), this._events(), this.options.deepLink && window.location.hash === "#".concat(this.id) && (this.onLoadListener = Object(a.onLoad)(s()(window), function () {
return t.open();
}));
}
}, {
key: "_makeOverlay",
value: function value() {
var t = "";
return this.options.additionalOverlayClasses && (t = " " + this.options.additionalOverlayClasses), s()("<div></div>").addClass("reveal-overlay" + t).appendTo(this.options.appendTo);
}
}, {
key: "_updatePosition",
value: function value() {
var t = this.$element.outerWidth(),
e = s()(window).width(),
n = this.$element.outerHeight(),
i = s()(window).height(),
o = null,
t = "auto" === this.options.hOffset ? parseInt((e - t) / 2, 10) : parseInt(this.options.hOffset, 10);
"auto" === this.options.vOffset ? o = i < n ? parseInt(Math.min(100, i / 10), 10) : parseInt((i - n) / 4, 10) : null !== this.options.vOffset && (o = parseInt(this.options.vOffset, 10)), null !== o && this.$element.css({
top: o + "px"
}), this.$overlay && "auto" === this.options.hOffset || (this.$element.css({
left: t + "px"
}), this.$element.css({
margin: "0px"
}));
}
}, {
key: "_events",
value: function value() {
var n = this,
i = this;
this.$element.on({
"open.zf.trigger": this.open.bind(this),
"close.zf.trigger": function closeZfTrigger(t, e) {
if (t.target === i.$element[0] || s()(t.target).parents("[data-closable]")[0] === e) return n.close.apply(n);
},
"toggle.zf.trigger": this.toggle.bind(this),
"resizeme.zf.trigger": function resizemeZfTrigger() {
i._updatePosition();
}
}), this.options.closeOnClick && this.options.overlay && this.$overlay.off(".zf.reveal").on("click.zf.dropdown tap.zf.dropdown", function (t) {
t.target !== i.$element[0] && !s.a.contains(i.$element[0], t.target) && s.a.contains(document, t.target) && i.close();
}), this.options.deepLink && s()(window).on("hashchange.zf.reveal:".concat(this.id), this._handleState.bind(this));
}
}, {
key: "_handleState",
value: function value() {
window.location.hash !== "#" + this.id || this.isActive ? this.close() : this.open();
}
}, {
key: "_disableScroll",
value: function value(t) {
t = t || s()(window).scrollTop(), s()(document).height() > s()(window).height() && s()("html").css("top", -t);
}
}, {
key: "_enableScroll",
value: function value(t) {
t = t || parseInt(s()("html").css("top"), 10), s()(document).height() > s()(window).height() && (s()("html").css("top", ""), s()(window).scrollTop(-t));
}
}, {
key: "open",
value: function value() {
var t = this,
e = "#".concat(this.id);
this.options.deepLink && window.location.hash !== e && (window.history.pushState ? this.options.updateHistory ? window.history.pushState({}, "", e) : window.history.replaceState({}, "", e) : window.location.hash = e), this.$activeAnchor = s()(document.activeElement).is(this.$anchor) ? s()(document.activeElement) : this.$anchor, this.isActive = !0, this.$element.css({
visibility: "hidden"
}).show().scrollTop(0), this.options.overlay && this.$overlay.css({
visibility: "hidden"
}).show(), this._updatePosition(), this.$element.hide().css({
visibility: ""
}), this.$overlay && (this.$overlay.css({
visibility: ""
}).hide(), this.$element.hasClass("fast") ? this.$overlay.addClass("fast") : this.$element.hasClass("slow") && this.$overlay.addClass("slow")), this.options.multipleOpened || this.$element.trigger("closeme.zf.reveal", this.id), 0 === s()(".reveal:visible").length && this._disableScroll();
var n = this;
this.options.animationIn ? (this.options.overlay && c.Motion.animateIn(this.$overlay, "fade-in"), c.Motion.animateIn(this.$element, this.options.animationIn, function () {
t.$element && (t.focusableElements = l.Keyboard.findFocusable(t.$element), n.$element.attr({
"aria-hidden": !1,
tabindex: -1
}).focus(), n._addGlobalClasses(), l.Keyboard.trapFocus(n.$element));
})) : (this.options.overlay && this.$overlay.show(0), this.$element.show(this.options.showDelay)), this.$element.attr({
"aria-hidden": !1,
tabindex: -1
}).focus(), l.Keyboard.trapFocus(this.$element), this._addGlobalClasses(), this._addGlobalListeners(), this.$element.trigger("open.zf.reveal");
}
}, {
key: "_addGlobalClasses",
value: function value() {
function t() {
s()("html").toggleClass("zf-has-scroll", !!(s()(document).height() > s()(window).height()));
}
this.$element.on("resizeme.zf.trigger.revealScrollbarListener", t), t(), s()("html").addClass("is-reveal-open");
}
}, {
key: "_removeGlobalClasses",
value: function value() {
this.$element.off("resizeme.zf.trigger.revealScrollbarListener"), s()("html").removeClass("is-reveal-open"), s()("html").removeClass("zf-has-scroll");
}
}, {
key: "_addGlobalListeners",
value: function value() {
var e = this;
this.$element && (this.focusableElements = l.Keyboard.findFocusable(this.$element), this.options.overlay || !this.options.closeOnClick || this.options.fullScreen || s()("body").on("click.zf.dropdown tap.zf.dropdown", function (t) {
t.target !== e.$element[0] && !s.a.contains(e.$element[0], t.target) && s.a.contains(document, t.target) && e.close();
}), this.options.closeOnEsc && s()(window).on("keydown.zf.reveal", function (t) {
l.Keyboard.handleKey(t, "Reveal", {
close: function close() {
e.options.closeOnEsc && e.close();
}
});
}));
}
}, {
key: "close",
value: function value() {
if (!this.isActive || !this.$element.is(":visible")) return !1;
var t,
e = this;
function n() {
var t = parseInt(s()("html").css("top"), 10);
0 === s()(".reveal:visible").length && e._removeGlobalClasses(), l.Keyboard.releaseFocus(e.$element), e.$element.attr("aria-hidden", !0), 0 === s()(".reveal:visible").length && e._enableScroll(t), e.$element.trigger("closed.zf.reveal");
}
this.options.animationOut ? (this.options.overlay && c.Motion.animateOut(this.$overlay, "fade-out"), c.Motion.animateOut(this.$element, this.options.animationOut, n)) : (this.$element.hide(this.options.hideDelay), this.options.overlay ? this.$overlay.hide(0, n) : n()), this.options.closeOnEsc && s()(window).off("keydown.zf.reveal"), !this.options.overlay && this.options.closeOnClick && s()("body").off("click.zf.dropdown tap.zf.dropdown"), this.$element.off("keydown.zf.reveal"), this.options.resetOnClose && this.$element.html(this.$element.html()), this.isActive = !1, e.options.deepLink && window.location.hash === "#".concat(this.id) && (window.history.replaceState ? (t = window.location.pathname + window.location.search, this.options.updateHistory ? window.history.pushState({}, "", t) : window.history.replaceState("", document.title, t)) : window.location.hash = ""), this.$activeAnchor.focus();
}
}, {
key: "toggle",
value: function value() {
this.isActive ? this.close() : this.open();
}
}, {
key: "_destroy",
value: function value() {
this.options.overlay && (this.$element.appendTo(s()(this.options.appendTo)), this.$overlay.hide().off().remove()), this.$element.hide().off(), this.$anchor.off(".zf"), s()(window).off(".zf.reveal:".concat(this.id)), this.onLoadListener && s()(window).off(this.onLoadListener), 0 === s()(".reveal:visible").length && this._removeGlobalClasses();
}
}]) && h(t.prototype, e), n && h(t, n), o;
}();
i.defaults = {
animationIn: "",
animationOut: "",
showDelay: 0,
hideDelay: 0,
closeOnClick: !0,
closeOnEsc: !0,
multipleOpened: !1,
vOffset: "auto",
hOffset: "auto",
fullScreen: !1,
overlay: !0,
resetOnClose: !1,
deepLink: !1,
updateHistory: !1,
appendTo: "body",
additionalOverlayClasses: ""
};
},
"./js/foundation.slider.js": function jsFoundationSliderJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Slider", function () {
return i;
});
var e = n("jquery"),
u = n.n(e),
r = n("./js/foundation.util.keyboard.js"),
h = n("./js/foundation.util.motion.js"),
c = n("./js/foundation.core.utils.js"),
s = n("./js/foundation.core.plugin.js"),
a = n("./js/foundation.util.touch.js"),
l = n("./js/foundation.util.triggers.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function f(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function d(t, e) {
return (d = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function p(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = m(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = m(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function m(t) {
return (m = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && d(t, e);
}(o, s["Plugin"]);
var t,
e,
n,
i = p(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = t, this.options = u.a.extend({}, o.defaults, this.$element.data(), e), this.className = "Slider", this.initialized = !1, a.Touch.init(u.a), l.Triggers.init(u.a), this._init(), r.Keyboard.register("Slider", {
ltr: {
ARROW_RIGHT: "increase",
ARROW_UP: "increase",
ARROW_DOWN: "decrease",
ARROW_LEFT: "decrease",
SHIFT_ARROW_RIGHT: "increaseFast",
SHIFT_ARROW_UP: "increaseFast",
SHIFT_ARROW_DOWN: "decreaseFast",
SHIFT_ARROW_LEFT: "decreaseFast",
HOME: "min",
END: "max"
},
rtl: {
ARROW_LEFT: "increase",
ARROW_RIGHT: "decrease",
SHIFT_ARROW_LEFT: "increaseFast",
SHIFT_ARROW_RIGHT: "decreaseFast"
}
});
}
}, {
key: "_init",
value: function value() {
this.inputs = this.$element.find("input"), this.handles = this.$element.find("[data-slider-handle]"), this.$handle = this.handles.eq(0), this.$input = this.inputs.length ? this.inputs.eq(0) : u()("#".concat(this.$handle.attr("aria-controls"))), this.$fill = this.$element.find("[data-slider-fill]").css(this.options.vertical ? "height" : "width", 0), (this.options.disabled || this.$element.hasClass(this.options.disabledClass)) && (this.options.disabled = !0, this.$element.addClass(this.options.disabledClass)), this.inputs.length || (this.inputs = u()().add(this.$input), this.options.binding = !0), this._setInitAttr(0), this.handles[1] && (this.options.doubleSided = !0, this.$handle2 = this.handles.eq(1), this.$input2 = 1 < this.inputs.length ? this.inputs.eq(1) : u()("#".concat(this.$handle2.attr("aria-controls"))), this.inputs[1] || (this.inputs = this.inputs.add(this.$input2)), this._setInitAttr(1)), this.setHandles(), this._events(), this.initialized = !0;
}
}, {
key: "setHandles",
value: function value() {
var t = this;
this.handles[1] ? this._setHandlePos(this.$handle, this.inputs.eq(0).val(), function () {
t._setHandlePos(t.$handle2, t.inputs.eq(1).val());
}) : this._setHandlePos(this.$handle, this.inputs.eq(0).val());
}
}, {
key: "_reflow",
value: function value() {
this.setHandles();
}
}, {
key: "_pctOfBar",
value: function value(t) {
var e = (t - this.options.start) / (this.options.end - this.options.start);
switch (this.options.positionValueFunction) {
case "pow":
e = this._logTransform(e);
break;
case "log":
e = this._powTransform(e);
}
return e.toFixed(2);
}
}, {
key: "_value",
value: function value(t) {
switch (this.options.positionValueFunction) {
case "pow":
t = this._powTransform(t);
break;
case "log":
t = this._logTransform(t);
}
var e = this.options.vertical ? parseFloat(this.options.end) + t * (this.options.start - this.options.end) : (this.options.end - this.options.start) * t + parseFloat(this.options.start);
return e;
}
}, {
key: "_logTransform",
value: function value(t) {
return e = this.options.nonLinearBase, t = t * (this.options.nonLinearBase - 1) + 1, Math.log(t) / Math.log(e);
var e;
}
}, {
key: "_powTransform",
value: function value(t) {
return (Math.pow(this.options.nonLinearBase, t) - 1) / (this.options.nonLinearBase - 1);
}
}, {
key: "_setHandlePos",
value: function value(t, e, n) {
var i, o, s, r, a, l, u, c, f, d;
this.$element.hasClass(this.options.disabledClass) || ((e = parseFloat(e)) < this.options.start ? e = this.options.start : e > this.options.end && (e = this.options.end), (c = this.options.doubleSided) && (e = 0 === this.handles.index(t) ? (f = parseFloat(this.$handle2.attr("aria-valuenow"))) <= e ? f - this.options.step : e : e <= (r = parseFloat(this.$handle.attr("aria-valuenow"))) ? r + this.options.step : e), f = (i = this).options.vertical, o = f ? "height" : "width", s = f ? "top" : "left", r = t[0].getBoundingClientRect()[o], f = this.$element[0].getBoundingClientRect()[o], a = this._pctOfBar(e), l = ((f - r) * a / f * 100).toFixed(this.options.decimal), e = parseFloat(e.toFixed(this.options.decimal)), u = {}, this._setValues(t, e), c && (c = 0 === this.handles.index(t), f = Math.floor(r / f * 100), c ? (u[s] = "".concat(l, "%"), d = parseFloat(this.$handle2[0].style[s]) - l + f, n && "function" == typeof n && n()) : (n = parseFloat(this.$handle[0].style[s]), d = l - (isNaN(n) ? (this.options.initialStart - this.options.start) / ((this.options.end - this.options.start) / 100) : n) + f), u["min-".concat(o)] = "".concat(d, "%")), d = this.$element.data("dragging") ? 1e3 / 60 : this.options.moveTime, Object(h.Move)(d, t, function () {
isNaN(l) ? t.css(s, "".concat(100 * a, "%")) : t.css(s, "".concat(l, "%")), i.options.doubleSided ? i.$fill.css(u) : i.$fill.css(o, "".concat(100 * a, "%"));
}), this.initialized && (this.$element.one("finished.zf.animate", function () {
i.$element.trigger("moved.zf.slider", [t]);
}), clearTimeout(i.timeout), i.timeout = setTimeout(function () {
i.$element.trigger("changed.zf.slider", [t]);
}, i.options.changedDelay)));
}
}, {
key: "_setInitAttr",
value: function value(t) {
var e = 0 === t ? this.options.initialStart : this.options.initialEnd,
n = this.inputs.eq(t).attr("id") || Object(c.GetYoDigits)(6, "slider");
this.inputs.eq(t).attr({
id: n,
max: this.options.end,
min: this.options.start,
step: this.options.step
}), this.inputs.eq(t).val(e), this.handles.eq(t).attr({
role: "slider",
"aria-controls": n,
"aria-valuemax": this.options.end,
"aria-valuemin": this.options.start,
"aria-valuenow": e,
"aria-orientation": this.options.vertical ? "vertical" : "horizontal",
tabindex: 0
});
}
}, {
key: "_setValues",
value: function value(t, e) {
var n = this.options.doubleSided ? this.handles.index(t) : 0;
this.inputs.eq(n).val(e), t.attr("aria-valuenow", e);
}
}, {
key: "_handleEvent",
value: function value(t, e, n) {
var i, o, s, r, a, l;
n ? l = this._adjustValue(null, n) : (t.preventDefault(), i = (a = this.options.vertical) ? "height" : "width", o = a ? "top" : "left", s = a ? t.pageY : t.pageX, r = this.$element[0].getBoundingClientRect()[i], n = a ? u()(window).scrollTop() : u()(window).scrollLeft(), a = this.$element.offset()[o], t.clientY === t.pageY && (s += n), l = this._value((a = (a = s - a) < 0 ? 0 : r < a ? r : a) / r), Object(c.rtl)() && !this.options.vertical && (l = this.options.end - l), l = this._adjustValue(null, l), e = e || (g(this.$handle, o, a, i) <= g(this.$handle2, o, a, i) ? this.$handle : this.$handle2)), this._setHandlePos(e, l);
}
}, {
key: "_adjustValue",
value: function value(t, e) {
var n = this.options.step,
i = parseFloat(n / 2),
o = t ? parseFloat(t.attr("aria-valuenow")) : e,
t = 0 <= o ? o % n : n + o % n,
e = o - t;
return 0 === t ? o : o = e + i <= o ? e + n : e;
}
}, {
key: "_events",
value: function value() {
this._eventsForHandle(this.$handle), this.handles[1] && this._eventsForHandle(this.$handle2);
}
}, {
key: "_eventsForHandle",
value: function value(e) {
function n(t) {
var e = s.inputs.index(u()(this));
s._handleEvent(t, s.handles.eq(e), u()(this).val());
}
var i,
o,
s = this;
this.inputs.off("keyup.zf.slider").on("keyup.zf.slider", function (t) {
13 === t.keyCode && n.call(this, t);
}), this.inputs.off("change.zf.slider").on("change.zf.slider", n), this.options.clickSelect && this.$element.off("click.zf.slider").on("click.zf.slider", function (t) {
return !s.$element.data("dragging") && void (u()(t.target).is("[data-slider-handle]") || (s.options.doubleSided ? s._handleEvent(t) : s._handleEvent(t, s.$handle)));
}), this.options.draggable && (this.handles.addTouch(), o = u()("body"), e.off("mousedown.zf.slider").on("mousedown.zf.slider", function (t) {
e.addClass("is-dragging"), s.$fill.addClass("is-dragging"), s.$element.data("dragging", !0), i = u()(t.currentTarget), o.on("mousemove.zf.slider", function (t) {
t.preventDefault(), s._handleEvent(t, i);
}).on("mouseup.zf.slider", function (t) {
s._handleEvent(t, i), e.removeClass("is-dragging"), s.$fill.removeClass("is-dragging"), s.$element.data("dragging", !1), o.off("mousemove.zf.slider mouseup.zf.slider");
});
}).on("selectstart.zf.slider touchmove.zf.slider", function (t) {
t.preventDefault();
})), e.off("keydown.zf.slider").on("keydown.zf.slider", function (t) {
var e,
n = u()(this),
i = s.options.doubleSided ? s.handles.index(n) : 0,
o = parseFloat(s.inputs.eq(i).val());
r.Keyboard.handleKey(t, "Slider", {
decrease: function decrease() {
e = o - s.options.step;
},
increase: function increase() {
e = o + s.options.step;
},
decreaseFast: function decreaseFast() {
e = o - 10 * s.options.step;
},
increaseFast: function increaseFast() {
e = o + 10 * s.options.step;
},
min: function min() {
e = s.options.start;
},
max: function max() {
e = s.options.end;
},
handled: function handled() {
t.preventDefault(), s._setHandlePos(n, e);
}
});
});
}
}, {
key: "_destroy",
value: function value() {
this.handles.off(".zf.slider"), this.inputs.off(".zf.slider"), this.$element.off(".zf.slider"), clearTimeout(this.timeout);
}
}]) && f(t.prototype, e), n && f(t, n), o;
}();
function g(t, e, n, i) {
return Math.abs(t.position()[e] + t[i]() / 2 - n);
}
i.defaults = {
start: 0,
end: 100,
step: 1,
initialStart: 0,
initialEnd: 100,
binding: !1,
clickSelect: !0,
vertical: !1,
draggable: !0,
disabled: !1,
doubleSided: !1,
decimal: 2,
moveTime: 200,
disabledClass: "disabled",
invertVertical: !1,
changedDelay: 500,
nonLinearBase: 5,
positionValueFunction: "linear"
};
},
"./js/foundation.smoothScroll.js": function jsFoundationSmoothScrollJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "SmoothScroll", function () {
return i;
});
var e = n("jquery"),
s = n.n(e),
r = n("./js/foundation.core.utils.js"),
a = n("./js/foundation.core.plugin.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function l(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function u(t, e) {
return (u = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function c(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = f(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = f(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function f(t) {
return (f = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && u(t, e);
}(o, a["Plugin"]);
var t,
e,
n,
i = c(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, n = [{
key: "scrollToLoc",
value: function value(t) {
var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : o.defaults,
n = 2 < arguments.length ? arguments[2] : void 0,
t = s()(t);
if (!t.length) return !1;
t = Math.round(t.offset().top - e.threshold / 2 - e.offset);
s()("html, body").stop(!0).animate({
scrollTop: t
}, e.animationDuration, e.animationEasing, function () {
"function" == typeof n && n();
});
}
}], (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = t, this.options = s.a.extend({}, o.defaults, this.$element.data(), e), this.className = "SmoothScroll", this._init();
}
}, {
key: "_init",
value: function value() {
var t = this.$element[0].id || Object(r.GetYoDigits)(6, "smooth-scroll");
this.$element.attr({
id: t
}), this._events();
}
}, {
key: "_events",
value: function value() {
this._linkClickListener = this._handleLinkClick.bind(this), this.$element.on("click.zf.smoothScroll", this._linkClickListener), this.$element.on("click.zf.smoothScroll", 'a[href^="#"]', this._linkClickListener);
}
}, {
key: "_handleLinkClick",
value: function value(t) {
var e,
n = this;
s()(t.currentTarget).is('a[href^="#"]') && (e = t.currentTarget.getAttribute("href"), this._inTransition = !0, o.scrollToLoc(e, this.options, function () {
n._inTransition = !1;
}), t.preventDefault());
}
}, {
key: "_destroy",
value: function value() {
this.$element.off("click.zf.smoothScroll", this._linkClickListener), this.$element.off("click.zf.smoothScroll", 'a[href^="#"]', this._linkClickListener);
}
}]) && l(t.prototype, e), n && l(t, n), o;
}();
i.defaults = {
animationDuration: 500,
animationEasing: "linear",
threshold: 50,
offset: 0
};
},
"./js/foundation.sticky.js": function jsFoundationStickyJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Sticky", function () {
return i;
});
var e = n("jquery"),
a = n.n(e),
s = n("./js/foundation.core.plugin.js"),
r = n("./js/foundation.core.utils.js"),
l = n("./js/foundation.util.mediaQuery.js"),
u = n("./js/foundation.util.triggers.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function c(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function f(t, e) {
return (f = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function d(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = h(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = h(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function h(t) {
return (h = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && f(t, e);
}(o, s["Plugin"]);
var t,
e,
n,
i = d(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = t, this.options = a.a.extend({}, o.defaults, this.$element.data(), e), this.className = "Sticky", u.Triggers.init(a.a), this._init();
}
}, {
key: "_init",
value: function value() {
l.MediaQuery._init();
var t = this.$element.parent("[data-sticky-container]"),
e = this.$element[0].id || Object(r.GetYoDigits)(6, "sticky"),
n = this;
t.length ? this.$container = t : (this.wasWrapped = !0, this.$element.wrap(this.options.container), this.$container = this.$element.parent()), this.$container.addClass(this.options.containerClass), this.$element.addClass(this.options.stickyClass).attr({
"data-resize": e,
"data-mutate": e
}), "" !== this.options.anchor && a()("#" + n.options.anchor).attr({
"data-mutate": e
}), this.scrollCount = this.options.checkEvery, this.isStuck = !1, this.onLoadListener = Object(r.onLoad)(a()(window), function () {
n.containerHeight = "none" === n.$element.css("display") ? 0 : n.$element[0].getBoundingClientRect().height, n.$container.css("height", n.containerHeight), n.elemHeight = n.containerHeight, "" !== n.options.anchor ? n.$anchor = a()("#" + n.options.anchor) : n._parsePoints(), n._setSizes(function () {
var t = window.pageYOffset;
n._calc(!1, t), n.isStuck || n._removeSticky(!(t >= n.topPoint));
}), n._events(e.split("-").reverse().join("-"));
});
}
}, {
key: "_parsePoints",
value: function value() {
for (var t, e, n, i = ["" === this.options.topAnchor ? 1 : this.options.topAnchor, "" === this.options.btmAnchor ? document.documentElement.scrollHeight : this.options.btmAnchor], o = {}, s = 0, r = i.length; s < r && i[s]; s++) "number" == typeof i[s] ? n = i[s] : (t = i[s].split(":"), n = (e = a()("#".concat(t[0]))).offset().top, t[1] && "bottom" === t[1].toLowerCase() && (n += e[0].getBoundingClientRect().height)), o[s] = n;
this.points = o;
}
}, {
key: "_events",
value: function value(t) {
var e = this,
n = this.scrollListener = "scroll.zf.".concat(t);
this.isOn || (this.canStick && (this.isOn = !0, a()(window).off(n).on(n, function () {
0 === e.scrollCount ? (e.scrollCount = e.options.checkEvery, e._setSizes(function () {
e._calc(!1, window.pageYOffset);
})) : (e.scrollCount--, e._calc(!1, window.pageYOffset));
})), this.$element.off("resizeme.zf.trigger").on("resizeme.zf.trigger", function () {
e._eventsHandler(t);
}), this.$element.on("mutateme.zf.trigger", function () {
e._eventsHandler(t);
}), this.$anchor && this.$anchor.on("mutateme.zf.trigger", function () {
e._eventsHandler(t);
}));
}
}, {
key: "_eventsHandler",
value: function value(t) {
var e = this,
n = this.scrollListener = "scroll.zf.".concat(t);
e._setSizes(function () {
e._calc(!1), e.canStick ? e.isOn || e._events(t) : e.isOn && e._pauseListeners(n);
});
}
}, {
key: "_pauseListeners",
value: function value(t) {
this.isOn = !1, a()(window).off(t), this.$element.trigger("pause.zf.sticky");
}
}, {
key: "_calc",
value: function value(t, e) {
if (t && this._setSizes(), !this.canStick) return this.isStuck && this._removeSticky(!0), !1;
(e = e || window.pageYOffset) >= this.topPoint ? e <= this.bottomPoint ? this.isStuck || this._setSticky() : this.isStuck && this._removeSticky(!1) : this.isStuck && this._removeSticky(!0);
}
}, {
key: "_setSticky",
value: function value() {
var t = this,
e = this.options.stickTo,
n = "top" === e ? "marginTop" : "marginBottom",
i = "top" === e ? "bottom" : "top",
o = {};
o[n] = "".concat(this.options[n], "em"), o[e] = 0, o[i] = "auto", this.isStuck = !0, this.$element.removeClass("is-anchored is-at-".concat(i)).addClass("is-stuck is-at-".concat(e)).css(o).trigger("sticky.zf.stuckto:".concat(e)), this.$element.on("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd", function () {
t._setSizes();
});
}
}, {
key: "_removeSticky",
value: function value(t) {
var e = this.options.stickTo,
n = {},
i = (this.points ? this.points[1] - this.points[0] : this.anchorHeight) - this.elemHeight,
o = t ? "top" : "bottom";
n["top" === e ? "marginTop" : "marginBottom"] = 0, n.bottom = "auto", n.top = t ? 0 : i, this.isStuck = !1, this.$element.removeClass("is-stuck is-at-".concat(e)).addClass("is-anchored is-at-".concat(o)).css(n).trigger("sticky.zf.unstuckfrom:".concat(o));
}
}, {
key: "_setSizes",
value: function value(t) {
this.canStick = l.MediaQuery.is(this.options.stickyOn), this.canStick || t && "function" == typeof t && t();
var e,
n = this.$container[0].getBoundingClientRect().width,
i = window.getComputedStyle(this.$container[0]),
o = parseInt(i["padding-left"], 10),
i = parseInt(i["padding-right"], 10);
this.$anchor && this.$anchor.length ? this.anchorHeight = this.$anchor[0].getBoundingClientRect().height : this._parsePoints(), this.$element.css({
"max-width": "".concat(n - o - i, "px")
}), !this.options.dynamicHeight && this.containerHeight || (e = this.$element[0].getBoundingClientRect().height || this.containerHeight, e = "none" === this.$element.css("display") ? 0 : e, this.$container.css("height", e), this.containerHeight = e), this.elemHeight = this.containerHeight, this.isStuck || this.$element.hasClass("is-at-bottom") && (e = (this.points ? this.points[1] - this.$container.offset().top : this.anchorHeight) - this.elemHeight, this.$element.css("top", e)), this._setBreakPoints(this.containerHeight, function () {
t && "function" == typeof t && t();
});
}
}, {
key: "_setBreakPoints",
value: function value(t, e) {
if (!this.canStick) {
if (!e || "function" != typeof e) return !1;
e();
}
var n = p(this.options.marginTop),
i = p(this.options.marginBottom),
o = this.points ? this.points[0] : this.$anchor.offset().top,
s = this.points ? this.points[1] : o + this.anchorHeight,
r = window.innerHeight;
"top" === this.options.stickTo ? (o -= n, s -= t + n) : "bottom" === this.options.stickTo && (o -= r - (t + i), s -= r - i), this.topPoint = o, this.bottomPoint = s, e && "function" == typeof e && e();
}
}, {
key: "_destroy",
value: function value() {
this._removeSticky(!0), this.$element.removeClass("".concat(this.options.stickyClass, " is-anchored is-at-top")).css({
height: "",
top: "",
bottom: "",
"max-width": ""
}).off("resizeme.zf.trigger").off("mutateme.zf.trigger"), this.$anchor && this.$anchor.length && this.$anchor.off("change.zf.sticky"), this.scrollListener && a()(window).off(this.scrollListener), this.onLoadListener && a()(window).off(this.onLoadListener), this.wasWrapped ? this.$element.unwrap() : this.$container.removeClass(this.options.containerClass).css({
height: ""
});
}
}]) && c(t.prototype, e), n && c(t, n), o;
}();
function p(t) {
return parseInt(window.getComputedStyle(document.body, null).fontSize, 10) * t;
}
i.defaults = {
container: "<div data-sticky-container></div>",
stickTo: "top",
anchor: "",
topAnchor: "",
btmAnchor: "",
marginTop: 1,
marginBottom: 1,
stickyOn: "medium",
stickyClass: "sticky",
containerClass: "sticky-container",
dynamicHeight: !0,
checkEvery: -1
};
},
"./js/foundation.tabs.js": function jsFoundationTabsJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Tabs", function () {
return i;
});
var e = n("jquery"),
a = n.n(e),
s = n("./js/foundation.core.plugin.js"),
l = n("./js/foundation.core.utils.js"),
r = n("./js/foundation.util.keyboard.js"),
u = n("./js/foundation.util.imageLoader.js");
function c(t) {
return (c = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function f(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function d(t, e) {
return (d = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function h(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = o(n);
return function (t, e) {
{
if (e && ("object" === c(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = o(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function o(t) {
return (o = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && d(t, e);
}(o, s["Plugin"]);
var t,
e,
n,
i = h(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = t, this.options = a.a.extend({}, o.defaults, this.$element.data(), e), this.className = "Tabs", this._init(), r.Keyboard.register("Tabs", {
ENTER: "open",
SPACE: "open",
ARROW_RIGHT: "next",
ARROW_UP: "previous",
ARROW_DOWN: "next",
ARROW_LEFT: "previous"
});
}
}, {
key: "_init",
value: function value() {
var t,
i = this,
r = this;
this._isInitializing = !0, this.$element.attr({
role: "tablist"
}), this.$tabTitles = this.$element.find(".".concat(this.options.linkClass)), this.$tabContent = a()('[data-tabs-content="'.concat(this.$element[0].id, '"]')), this.$tabTitles.each(function () {
var t = a()(this),
e = t.find("a"),
n = t.hasClass("".concat(r.options.linkActiveClass)),
i = e.attr("data-tabs-target") || e[0].hash.slice(1),
o = e[0].id || "".concat(i, "-label"),
s = a()("#".concat(i));
t.attr({
role: "presentation"
}), e.attr({
role: "tab",
"aria-controls": i,
"aria-selected": n,
id: o,
tabindex: n ? "0" : "-1"
}), s.attr({
role: "tabpanel",
"aria-labelledby": o
}), n && (r._initialAnchor = "#".concat(i)), n || s.attr("aria-hidden", "true"), n && r.options.autoFocus && (r.onLoadListener = Object(l.onLoad)(a()(window), function () {
a()("html, body").animate({
scrollTop: t.offset().top
}, r.options.deepLinkSmudgeDelay, function () {
e.focus();
});
}));
}), this.options.matchHeight && ((t = this.$tabContent.find("img")).length ? Object(u.onImagesLoaded)(t, this._setHeight.bind(this)) : this._setHeight()), this._checkDeepLink = function () {
var t = window.location.hash;
if (!t.length) {
if (i._isInitializing) return;
i._initialAnchor && (t = i._initialAnchor);
}
var e = 0 <= t.indexOf("#") ? t.slice(1) : t,
n = e && a()("#".concat(e)),
t = t && i.$element.find('[href$="'.concat(t, '"],[data-tabs-target="').concat(e, '"]')).first();
!n.length || !t.length || (n && n.length && t && t.length ? i.selectTab(n, !0) : i._collapse(), i.options.deepLinkSmudge && (e = i.$element.offset(), a()("html, body").animate({
scrollTop: e.top - i.options.deepLinkSmudgeOffset
}, i.options.deepLinkSmudgeDelay)), i.$element.trigger("deeplink.zf.tabs", [t, n]));
}, this.options.deepLink && this._checkDeepLink(), this._events(), this._isInitializing = !1;
}
}, {
key: "_events",
value: function value() {
this._addKeyHandler(), this._addClickHandler(), this._setHeightMqHandler = null, this.options.matchHeight && (this._setHeightMqHandler = this._setHeight.bind(this), a()(window).on("changed.zf.mediaquery", this._setHeightMqHandler)), this.options.deepLink && a()(window).on("hashchange", this._checkDeepLink);
}
}, {
key: "_addClickHandler",
value: function value() {
var e = this;
this.$element.off("click.zf.tabs").on("click.zf.tabs", ".".concat(this.options.linkClass), function (t) {
t.preventDefault(), e._handleTabChange(a()(this));
});
}
}, {
key: "_addKeyHandler",
value: function value() {
var s = this;
this.$tabTitles.off("keydown.zf.tabs").on("keydown.zf.tabs", function (t) {
var e, n, i, o;
9 !== t.which && (e = a()(this), (n = e.parent("ul").children("li")).each(function (t) {
a()(this).is(e) && (o = s.options.wrapOnKeys ? (i = 0 === t ? n.last() : n.eq(t - 1), t === n.length - 1 ? n.first() : n.eq(t + 1)) : (i = n.eq(Math.max(0, t - 1)), n.eq(Math.min(t + 1, n.length - 1))));
}), r.Keyboard.handleKey(t, "Tabs", {
open: function open() {
e.find('[role="tab"]').focus(), s._handleTabChange(e);
},
previous: function previous() {
i.find('[role="tab"]').focus(), s._handleTabChange(i);
},
next: function next() {
o.find('[role="tab"]').focus(), s._handleTabChange(o);
},
handled: function handled() {
t.preventDefault();
}
}));
});
}
}, {
key: "_handleTabChange",
value: function value(t, e) {
var n, i, o;
t.hasClass("".concat(this.options.linkActiveClass)) ? this.options.activeCollapse && this._collapse() : (n = this.$element.find(".".concat(this.options.linkClass, ".").concat(this.options.linkActiveClass)), i = (i = (o = t.find('[role="tab"]')).attr("data-tabs-target")) && i.length ? "#".concat(i) : o[0].hash, o = this.$tabContent.find(i), this._collapseTab(n), this._openTab(t), this.options.deepLink && !e && (this.options.updateHistory ? history.pushState({}, "", i) : history.replaceState({}, "", i)), this.$element.trigger("change.zf.tabs", [t, o]), o.find("[data-mutate]").trigger("mutateme.zf.trigger"));
}
}, {
key: "_openTab",
value: function value(t) {
var e = t.find('[role="tab"]'),
n = e.attr("data-tabs-target") || e[0].hash.slice(1),
n = this.$tabContent.find("#".concat(n));
t.addClass("".concat(this.options.linkActiveClass)), e.attr({
"aria-selected": "true",
tabindex: "0"
}), n.addClass("".concat(this.options.panelActiveClass)).removeAttr("aria-hidden");
}
}, {
key: "_collapseTab",
value: function value(t) {
t = t.removeClass("".concat(this.options.linkActiveClass)).find('[role="tab"]').attr({
"aria-selected": "false",
tabindex: -1
});
a()("#".concat(t.attr("aria-controls"))).removeClass("".concat(this.options.panelActiveClass)).attr({
"aria-hidden": "true"
});
}
}, {
key: "_collapse",
value: function value() {
var t = this.$element.find(".".concat(this.options.linkClass, ".").concat(this.options.linkActiveClass));
t.length && (this._collapseTab(t), this.$element.trigger("collapse.zf.tabs", [t]));
}
}, {
key: "selectTab",
value: function value(t, e) {
var n,
t = "object" === c(t) ? t[0].id : t;
t.indexOf("#") < 0 ? n = "#".concat(t) : t = (n = t).slice(1);
t = this.$tabTitles.has('[href$="'.concat(n, '"],[data-tabs-target="').concat(t, '"]')).first();
this._handleTabChange(t, e);
}
}, {
key: "_setHeight",
value: function value() {
var i = 0,
o = this;
this.$tabContent && this.$tabContent.find(".".concat(this.options.panelClass)).css("min-height", "").each(function () {
var t = a()(this),
e = t.hasClass("".concat(o.options.panelActiveClass));
e || t.css({
visibility: "hidden",
display: "block"
});
var n = this.getBoundingClientRect().height;
e || t.css({
visibility: "",
display: ""
}), i = i < n ? n : i;
}).css("min-height", "".concat(i, "px"));
}
}, {
key: "_destroy",
value: function value() {
this.$element.find(".".concat(this.options.linkClass)).off(".zf.tabs").hide().end().find(".".concat(this.options.panelClass)).hide(), this.options.matchHeight && null != this._setHeightMqHandler && a()(window).off("changed.zf.mediaquery", this._setHeightMqHandler), this.options.deepLink && a()(window).off("hashchange", this._checkDeepLink), this.onLoadListener && a()(window).off(this.onLoadListener);
}
}]) && f(t.prototype, e), n && f(t, n), o;
}();
i.defaults = {
deepLink: !1,
deepLinkSmudge: !1,
deepLinkSmudgeDelay: 300,
deepLinkSmudgeOffset: 0,
updateHistory: !1,
autoFocus: !1,
wrapOnKeys: !0,
matchHeight: !1,
activeCollapse: !1,
linkClass: "tabs-title",
linkActiveClass: "is-active",
panelClass: "tabs-panel",
panelActiveClass: "is-active"
};
},
"./js/foundation.toggler.js": function jsFoundationTogglerJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Toggler", function () {
return i;
});
var e = n("jquery"),
s = n.n(e),
r = n("./js/foundation.util.motion.js"),
a = n("./js/foundation.core.plugin.js"),
l = n("./js/foundation.core.utils.js"),
u = n("./js/foundation.util.triggers.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function c(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function f(t, e) {
return (f = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function d(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = h(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = h(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function h(t) {
return (h = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && f(t, e);
}(o, a["Plugin"]);
var t,
e,
n,
i = d(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = t, this.options = s.a.extend({}, o.defaults, t.data(), e), this.className = "", this.className = "Toggler", u.Triggers.init(s.a), this._init(), this._events();
}
}, {
key: "_init",
value: function value() {
var t,
i = this.$element[0].id,
e = s()('[data-open~="'.concat(i, '"], [data-close~="').concat(i, '"], [data-toggle~="').concat(i, '"]'));
if (this.options.animate) t = this.options.animate.split(" "), this.animationIn = t[0], this.animationOut = t[1] || null, e.attr("aria-expanded", !this.$element.is(":hidden"));else {
if ("string" != typeof (t = this.options.toggler) || !t.length) throw new Error("The 'toggler' option containing the target class is required, got \"".concat(t, '"'));
this.className = "." === t[0] ? t.slice(1) : t, e.attr("aria-expanded", this.$element.hasClass(this.className));
}
e.each(function (t, e) {
var n = s()(e),
e = n.attr("aria-controls") || "";
new RegExp("\\b".concat(Object(l.RegExpEscape)(i), "\\b")).test(e) || n.attr("aria-controls", e ? "".concat(e, " ").concat(i) : i);
});
}
}, {
key: "_events",
value: function value() {
this.$element.off("toggle.zf.trigger").on("toggle.zf.trigger", this.toggle.bind(this));
}
}, {
key: "toggle",
value: function value() {
this[this.options.animate ? "_toggleAnimate" : "_toggleClass"]();
}
}, {
key: "_toggleClass",
value: function value() {
this.$element.toggleClass(this.className);
var t = this.$element.hasClass(this.className);
t ? this.$element.trigger("on.zf.toggler") : this.$element.trigger("off.zf.toggler"), this._updateARIA(t), this.$element.find("[data-mutate]").trigger("mutateme.zf.trigger");
}
}, {
key: "_toggleAnimate",
value: function value() {
var t = this;
this.$element.is(":hidden") ? r.Motion.animateIn(this.$element, this.animationIn, function () {
t._updateARIA(!0), this.trigger("on.zf.toggler"), this.find("[data-mutate]").trigger("mutateme.zf.trigger");
}) : r.Motion.animateOut(this.$element, this.animationOut, function () {
t._updateARIA(!1), this.trigger("off.zf.toggler"), this.find("[data-mutate]").trigger("mutateme.zf.trigger");
});
}
}, {
key: "_updateARIA",
value: function value(t) {
var e = this.$element[0].id;
s()('[data-open="'.concat(e, '"], [data-close="').concat(e, '"], [data-toggle="').concat(e, '"]')).attr({
"aria-expanded": !!t
});
}
}, {
key: "_destroy",
value: function value() {
this.$element.off(".zf.toggler");
}
}]) && c(t.prototype, e), n && c(t, n), o;
}();
i.defaults = {
toggler: void 0,
animate: !1
};
},
"./js/foundation.tooltip.js": function jsFoundationTooltipJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Tooltip", function () {
return i;
});
var e = n("jquery"),
s = n.n(e),
r = n("./js/foundation.core.utils.js"),
a = n("./js/foundation.util.mediaQuery.js"),
l = n("./js/foundation.util.triggers.js"),
u = n("./js/foundation.positionable.js");
function o(t) {
return (o = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function c(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
function f(t, e, n) {
return (f = "undefined" != typeof Reflect && Reflect.get ? Reflect.get : function (t, e, n) {
t = function (t, e) {
for (; !Object.prototype.hasOwnProperty.call(t, e) && null !== (t = p(t)););
return t;
}(t, e);
if (t) {
e = Object.getOwnPropertyDescriptor(t, e);
return e.get ? e.get.call(n) : e.value;
}
})(t, e, n || t);
}
function d(t, e) {
return (d = Object.setPrototypeOf || function (t, e) {
return t.__proto__ = e, t;
})(t, e);
}
function h(n) {
var i = function () {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
} catch (t) {
return !1;
}
}();
return function () {
var t,
e = p(n);
return function (t, e) {
{
if (e && ("object" === o(e) || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
}
return function (t) {
if (void 0 !== t) return t;
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}(t);
}(this, i ? (t = p(this).constructor, Reflect.construct(e, arguments, t)) : e.apply(this, arguments));
};
}
function p(t) {
return (p = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
})(t);
}
var i = function () {
!function (t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}), e && d(t, e);
}(o, u["Positionable"]);
var t,
e,
n,
i = h(o);
function o() {
return function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, o), i.apply(this, arguments);
}
return t = o, (e = [{
key: "_setup",
value: function value(t, e) {
this.$element = t, this.options = s.a.extend({}, o.defaults, this.$element.data(), e), this.className = "Tooltip", this.isActive = !1, this.isClick = !1, l.Triggers.init(s.a), this._init();
}
}, {
key: "_init",
value: function value() {
a.MediaQuery._init();
var t = this.$element.attr("aria-describedby") || Object(r.GetYoDigits)(6, "tooltip");
this.options.tipText = this.options.tipText || this.$element.attr("title"), this.template = this.options.template ? s()(this.options.template) : this._buildTemplate(t), (this.options.allowHtml ? this.template.appendTo(document.body).html(this.options.tipText) : this.template.appendTo(document.body).text(this.options.tipText)).hide(), this.$element.attr({
title: "",
"aria-describedby": t,
"data-yeti-box": t,
"data-toggle": t,
"data-resize": t
}).addClass(this.options.triggerClass), f(p(o.prototype), "_init", this).call(this), this._events();
}
}, {
key: "_getDefaultPosition",
value: function value() {
var t = this.$element[0].className,
t = (t = this.$element[0] instanceof SVGElement ? t.baseVal : t).match(/\b(top|left|right|bottom)\b/g);
return t ? t[0] : "top";
}
}, {
key: "_getDefaultAlignment",
value: function value() {
return "center";
}
}, {
key: "_getHOffset",
value: function value() {
return "left" === this.position || "right" === this.position ? this.options.hOffset + this.options.tooltipWidth : this.options.hOffset;
}
}, {
key: "_getVOffset",
value: function value() {
return "top" === this.position || "bottom" === this.position ? this.options.vOffset + this.options.tooltipHeight : this.options.vOffset;
}
}, {
key: "_buildTemplate",
value: function value(t) {
var e = "".concat(this.options.tooltipClass, " ").concat(this.options.templateClasses).trim();
return s()("<div></div>").addClass(e).attr({
role: "tooltip",
"aria-hidden": !0,
"data-is-active": !1,
"data-is-focus": !1,
id: t
});
}
}, {
key: "_setPosition",
value: function value() {
f(p(o.prototype), "_setPosition", this).call(this, this.$element, this.template);
}
}, {
key: "show",
value: function value() {
if ("all" !== this.options.showOn && !a.MediaQuery.is(this.options.showOn)) return !1;
this.template.css("visibility", "hidden").show(), this._setPosition(), this.template.removeClass("top bottom left right").addClass(this.position), this.template.removeClass("align-top align-bottom align-left align-right align-center").addClass("align-" + this.alignment), this.$element.trigger("closeme.zf.tooltip", this.template.attr("id")), this.template.attr({
"data-is-active": !0,
"aria-hidden": !1
}), this.isActive = !0, this.template.stop().hide().css("visibility", "").fadeIn(this.options.fadeInDuration, function () {}), this.$element.trigger("show.zf.tooltip");
}
}, {
key: "hide",
value: function value() {
var t = this;
this.template.stop().attr({
"aria-hidden": !0,
"data-is-active": !1
}).fadeOut(this.options.fadeOutDuration, function () {
t.isActive = !1, t.isClick = !1;
}), this.$element.trigger("hide.zf.tooltip");
}
}, {
key: "_events",
value: function value() {
var t = this,
e = "ontouchstart" in window || void 0 !== window.ontouchstart,
n = !1;
e && this.options.disableForTouch || (this.options.disableHover || this.$element.on("mouseenter.zf.tooltip", function () {
t.isActive || (t.timeout = setTimeout(function () {
t.show();
}, t.options.hoverDelay));
}).on("mouseleave.zf.tooltip", Object(r.ignoreMousedisappear)(function () {
clearTimeout(t.timeout), n && (!t.isClick || t.options.clickOpen) || t.hide();
})), e && this.$element.on("tap.zf.tooltip touchend.zf.tooltip", function () {
t.isActive ? t.hide() : t.show();
}), this.options.clickOpen ? this.$element.on("mousedown.zf.tooltip", function () {
t.isClick || (t.isClick = !0, !t.options.disableHover && t.$element.attr("tabindex") || t.isActive || t.show());
}) : this.$element.on("mousedown.zf.tooltip", function () {
t.isClick = !0;
}), this.$element.on({
"close.zf.trigger": this.hide.bind(this)
}), this.$element.on("focus.zf.tooltip", function () {
return n = !0, t.isClick ? (t.options.clickOpen || (n = !1), !1) : void t.show();
}).on("focusout.zf.tooltip", function () {
n = !1, t.isClick = !1, t.hide();
}).on("resizeme.zf.trigger", function () {
t.isActive && t._setPosition();
}));
}
}, {
key: "toggle",
value: function value() {
this.isActive ? this.hide() : this.show();
}
}, {
key: "_destroy",
value: function value() {
this.$element.attr("title", this.template.text()).off(".zf.trigger .zf.tooltip").removeClass(this.options.triggerClass).removeClass("top right left bottom").removeAttr("aria-describedby data-disable-hover data-resize data-toggle data-tooltip data-yeti-box"), this.template.remove();
}
}]) && c(t.prototype, e), n && c(t, n), o;
}();
i.defaults = {
hoverDelay: 200,
fadeInDuration: 150,
fadeOutDuration: 150,
disableHover: !1,
disableForTouch: !1,
templateClasses: "",
tooltipClass: "tooltip",
triggerClass: "has-tip",
showOn: "small",
template: "",
tipText: "",
touchCloseText: "Tap to close.",
clickOpen: !0,
position: "auto",
alignment: "auto",
allowOverlap: !1,
allowBottomOverlap: !1,
vOffset: 0,
hOffset: 0,
tooltipHeight: 14,
tooltipWidth: 12,
allowHtml: !1
};
},
"./js/foundation.util.box.js": function jsFoundationUtilBoxJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Box", function () {
return i;
});
var i = {
ImNotTouchingYou: function ImNotTouchingYou(t, e, n, i, o) {
return 0 === s(t, e, n, i, o);
},
OverlapArea: s,
GetDimensions: f,
GetExplicitOffsets: function GetExplicitOffsets(t, e, n, i, o, s, r) {
var a,
l,
u = f(t),
c = e ? f(e) : null;
if (null !== c) {
switch (n) {
case "top":
a = c.offset.top - (u.height + o);
break;
case "bottom":
a = c.offset.top + c.height + o;
break;
case "left":
l = c.offset.left - (u.width + s);
break;
case "right":
l = c.offset.left + c.width + s;
}
switch (n) {
case "top":
case "bottom":
switch (i) {
case "left":
l = c.offset.left + s;
break;
case "right":
l = c.offset.left - u.width + c.width - s;
break;
case "center":
l = r ? s : c.offset.left + c.width / 2 - u.width / 2 + s;
}
break;
case "right":
case "left":
switch (i) {
case "bottom":
a = c.offset.top - o + c.height - u.height;
break;
case "top":
a = c.offset.top + o;
break;
case "center":
a = c.offset.top + o + c.height / 2 - u.height / 2;
}
}
}
return {
top: a,
left: l
};
}
};
function s(t, e, n, i, o) {
var s,
r,
a,
t = f(t);
return t = e ? (s = (e = f(e)).height + e.offset.top - (t.offset.top + t.height), r = t.offset.top - e.offset.top, a = t.offset.left - e.offset.left, e.width + e.offset.left - (t.offset.left + t.width)) : (s = t.windowDims.height + t.windowDims.offset.top - (t.offset.top + t.height), r = t.offset.top - t.windowDims.offset.top, a = t.offset.left - t.windowDims.offset.left, t.windowDims.width - (t.offset.left + t.width)), s = o ? 0 : Math.min(s, 0), r = Math.min(r, 0), a = Math.min(a, 0), t = Math.min(t, 0), n ? a + t : i ? r + s : Math.sqrt(r * r + s * s + a * a + t * t);
}
function f(t) {
if ((t = t.length ? t[0] : t) === window || t === document) throw new Error("I'm sorry, Dave. I'm afraid I can't do that.");
var e = t.getBoundingClientRect(),
n = t.parentNode.getBoundingClientRect(),
i = document.body.getBoundingClientRect(),
o = window.pageYOffset,
t = window.pageXOffset;
return {
width: e.width,
height: e.height,
offset: {
top: e.top + o,
left: e.left + t
},
parentDims: {
width: n.width,
height: n.height,
offset: {
top: n.top + o,
left: n.left + t
}
},
windowDims: {
width: i.width,
height: i.height,
offset: {
top: o,
left: t
}
}
};
}
},
"./js/foundation.util.imageLoader.js": function jsFoundationUtilImageLoaderJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "onImagesLoaded", function () {
return i;
});
var e = n("jquery"),
o = n.n(e);
function i(t, e) {
var n = t.length;
function i() {
0 === --n && e();
}
0 === n && e(), t.each(function () {
var t, e;
this.complete && void 0 !== this.naturalWidth ? i() : (t = new Image(), e = "load.zf.images error.zf.images", o()(t).one(e, function t() {
o()(this).off(e, t), i();
}), t.src = o()(this).attr("src"));
});
}
},
"./js/foundation.util.keyboard.js": function jsFoundationUtilKeyboardJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Keyboard", function () {
return u;
});
var e = n("jquery"),
o = n.n(e),
s = n("./js/foundation.core.utils.js"),
i = {
9: "TAB",
13: "ENTER",
27: "ESCAPE",
32: "SPACE",
35: "END",
36: "HOME",
37: "ARROW_LEFT",
38: "ARROW_UP",
39: "ARROW_RIGHT",
40: "ARROW_DOWN"
},
r = {};
function a(t) {
return !!t && t.find("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]").filter(function () {
return !(!o()(this).is(":visible") || o()(this).attr("tabindex") < 0);
}).sort(function (t, e) {
if (o()(t).attr("tabindex") === o()(e).attr("tabindex")) return 0;
var n = parseInt(o()(t).attr("tabindex"), 10),
i = parseInt(o()(e).attr("tabindex"), 10);
return void 0 === o()(t).attr("tabindex") && 0 < i ? 1 : void 0 === o()(e).attr("tabindex") && 0 < n ? -1 : 0 === n && 0 < i ? 1 : 0 === i && 0 < n || n < i ? -1 : i < n ? 1 : void 0;
});
}
function l(t) {
var e = (e = i[t.which || t.keyCode] || String.fromCharCode(t.which).toUpperCase()).replace(/\W+/, "");
return t.shiftKey && (e = "SHIFT_".concat(e)), t.ctrlKey && (e = "CTRL_".concat(e)), e = (e = t.altKey ? "ALT_".concat(e) : e).replace(/_$/, "");
}
var u = {
keys: function (t) {
var e,
n = {};
for (e in t) t.hasOwnProperty(e) && (n[t[e]] = t[e]);
return n;
}(i),
parseKey: l,
handleKey: function handleKey(t, e, n) {
var i = r[e],
e = this.parseKey(t);
if (!i) return console.warn("Component not defined!");
!0 !== t.zfIsKeyHandled && ((e = n[(void 0 === i.ltr ? i : Object(s.rtl)() ? o.a.extend({}, i.ltr, i.rtl) : o.a.extend({}, i.rtl, i.ltr))[e]]) && "function" == typeof e ? (e = e.apply(), t.zfIsKeyHandled = !0, !n.handled && "function" != typeof n.handled || n.handled(e)) : !n.unhandled && "function" != typeof n.unhandled || n.unhandled());
},
findFocusable: a,
register: function register(t, e) {
r[t] = e;
},
trapFocus: function trapFocus(t) {
var e = a(t),
n = e.eq(0),
i = e.eq(-1);
t.on("keydown.zf.trapfocus", function (t) {
t.target === i[0] && "TAB" === l(t) ? (t.preventDefault(), n.focus()) : t.target === n[0] && "SHIFT_TAB" === l(t) && (t.preventDefault(), i.focus());
});
},
releaseFocus: function releaseFocus(t) {
t.off("keydown.zf.trapfocus");
}
};
},
"./js/foundation.util.mediaQuery.js": function jsFoundationUtilMediaQueryJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "MediaQuery", function () {
return c;
});
var i,
o,
s,
e = n("jquery"),
r = n.n(e);
function a(t) {
return (a = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function l(t, e) {
return function (t) {
if (Array.isArray(t)) return t;
}(t) || function (t, e) {
var n = null == t ? null : "undefined" != typeof Symbol && t[Symbol.iterator] || t["@@iterator"];
if (null != n) {
var i,
o,
s = [],
r = !0,
a = !1;
try {
for (n = n.call(t); !(r = (i = n.next()).done) && (s.push(i.value), !e || s.length !== e); r = !0);
} catch (t) {
a = !0, o = t;
} finally {
try {
r || null == n.return || n.return();
} finally {
if (a) throw o;
}
}
return s;
}
}(t, e) || function (t, e) {
if (t) {
if ("string" == typeof t) return u(t, e);
var n = Object.prototype.toString.call(t).slice(8, -1);
return "Map" === (n = "Object" === n && t.constructor ? t.constructor.name : n) || "Set" === n ? Array.from(t) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? u(t, e) : void 0;
}
}(t, e) || function () {
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}();
}
function u(t, e) {
(null == e || e > t.length) && (e = t.length);
for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];
return i;
}
window.matchMedia || (window.matchMedia = ((s = window.styleMedia || window.media) || (i = document.createElement("style"), e = document.getElementsByTagName("script")[0], o = null, i.type = "text/css", i.id = "matchmediajs-test", e ? e.parentNode.insertBefore(i, e) : document.head.appendChild(i), o = "getComputedStyle" in window && window.getComputedStyle(i, null) || i.currentStyle, s = {
matchMedium: function matchMedium(t) {
t = "@media " + t + "{ #matchmediajs-test { width: 1px; } }";
return i.styleSheet ? i.styleSheet.cssText = t : i.textContent = t, "1px" === o.width;
}
}), function (t) {
return {
matches: s.matchMedium(t || "all"),
media: t || "all"
};
}));
var c = {
queries: [],
current: "",
_init: function _init() {
if (!0 === this.isInitialized) return this;
this.isInitialized = !0;
r()("meta.foundation-mq").length || r()('<meta class="foundation-mq" name="foundation-mq" content>').appendTo(document.head);
var t,
e,
n,
i = r()(".foundation-mq").css("font-family");
for (n in e = {}, t = "string" == typeof (i = i) && (i = i.trim().slice(1, -1)) ? e = i.split("&").reduce(function (t, e) {
var n = e.replace(/\+/g, " ").split("="),
e = n[0],
n = n[1],
e = decodeURIComponent(e),
n = void 0 === n ? null : decodeURIComponent(n);
return t.hasOwnProperty(e) ? Array.isArray(t[e]) ? t[e].push(n) : t[e] = [t[e], n] : t[e] = n, t;
}, {}) : e, this.queries = [], t) t.hasOwnProperty(n) && this.queries.push({
name: n,
value: "only screen and (min-width: ".concat(t[n], ")")
});
this.current = this._getCurrentSize(), this._watcher();
},
_reInit: function _reInit() {
this.isInitialized = !1, this._init();
},
atLeast: function atLeast(t) {
t = this.get(t);
return !!t && window.matchMedia(t).matches;
},
only: function only(t) {
return t === this._getCurrentSize();
},
upTo: function upTo(t) {
t = this.next(t);
return !t || !this.atLeast(t);
},
is: function is(t) {
var e = l(t.trim().split(" ").filter(function (t) {
return !!t.length;
}), 2),
n = e[0],
e = e[1],
e = void 0 === e ? "" : e;
if ("only" === e) return this.only(n);
if (!e || "up" === e) return this.atLeast(n);
if ("down" === e) return this.upTo(n);
throw new Error('\n Invalid breakpoint passed to MediaQuery.is().\n Expected a breakpoint name formatted like "<size> <modifier>", got "'.concat(t, '".\n '));
},
get: function get(t) {
for (var e in this.queries) if (this.queries.hasOwnProperty(e)) {
e = this.queries[e];
if (t === e.name) return e.value;
}
return null;
},
next: function next(e) {
var n = this,
t = this.queries.findIndex(function (t) {
return n._getQueryName(t) === e;
});
if (-1 === t) throw new Error('\n Unknown breakpoint "'.concat(e, '" passed to MediaQuery.next().\n Ensure it is present in your Sass "$breakpoints" setting.\n '));
t = this.queries[t + 1];
return t ? t.name : null;
},
_getQueryName: function _getQueryName(t) {
if ("string" == typeof t) return t;
if ("object" === a(t)) return t.name;
throw new TypeError('\n Invalid value passed to MediaQuery._getQueryName().\n Expected a breakpoint name (String) or a breakpoint query (Object), got "'.concat(t, '" (').concat(a(t), ")\n "));
},
_getCurrentSize: function _getCurrentSize() {
for (var t, e = 0; e < this.queries.length; e++) {
var n = this.queries[e];
window.matchMedia(n.value).matches && (t = n);
}
return t && this._getQueryName(t);
},
_watcher: function _watcher() {
var n = this;
r()(window).on("resize.zf.trigger", function () {
var t = n._getCurrentSize(),
e = n.current;
t !== e && (n.current = t, r()(window).trigger("changed.zf.mediaquery", [t, e]));
});
}
};
},
"./js/foundation.util.motion.js": function jsFoundationUtilMotionJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Move", function () {
return o;
}), n.d(e, "Motion", function () {
return i;
});
var e = n("jquery"),
a = n.n(e),
l = n("./js/foundation.core.utils.js"),
u = ["mui-enter", "mui-leave"],
c = ["mui-enter-active", "mui-leave-active"],
i = {
animateIn: function animateIn(t, e, n) {
s(!0, t, e, n);
},
animateOut: function animateOut(t, e, n) {
s(!1, t, e, n);
}
};
function o(n, i, o) {
var s,
r,
a = null;
if (0 === n) return o.apply(i), void i.trigger("finished.zf.animate", [i]).triggerHandler("finished.zf.animate", [i]);
s = window.requestAnimationFrame(function t(e) {
r = e - (a = a || e), o.apply(i), r < n ? s = window.requestAnimationFrame(t, i) : (window.cancelAnimationFrame(s), i.trigger("finished.zf.animate", [i]).triggerHandler("finished.zf.animate", [i]));
});
}
function s(t, e, n, i) {
var o, s;
function r() {
e[0].style.transitionDuration = 0, e.removeClass("".concat(o, " ").concat(s, " ").concat(n));
}
(e = a()(e).eq(0)).length && (o = t ? u[0] : u[1], s = t ? c[0] : c[1], r(), e.addClass(n).css("transition", "none"), requestAnimationFrame(function () {
e.addClass(o), t && e.show();
}), requestAnimationFrame(function () {
e[0].offsetWidth, e.css("transition", "").addClass(s);
}), e.one(Object(l.transitionend)(e), function () {
t || e.hide();
r(), i && i.apply(e);
}));
}
},
"./js/foundation.util.nest.js": function jsFoundationUtilNestJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Nest", function () {
return i;
});
var e = n("jquery"),
a = n.n(e),
i = {
Feather: function Feather(t) {
var n = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : "zf";
t.attr("role", "menubar"), t.find("a").attr({
role: "menuitem"
});
var t = t.find("li").attr({
role: "none"
}),
i = "is-".concat(n, "-submenu"),
o = "".concat(i, "-item"),
s = "is-".concat(n, "-submenu-parent"),
r = "accordion" !== n;
t.each(function () {
var t = a()(this),
e = t.children("ul");
e.length && (t.addClass(s), r && (t.children("a:first").attr({
"aria-haspopup": !0,
"aria-label": t.children("a:first").text()
}), "drilldown" === n && t.attr({
"aria-expanded": !1
})), e.addClass("submenu ".concat(i)).attr({
"data-submenu": "",
role: "menubar"
}), "drilldown" === n && e.attr({
"aria-hidden": !0
})), t.parent("[data-submenu]").length && t.addClass("is-submenu-item ".concat(o));
});
},
Burn: function Burn(t, e) {
var n = "is-".concat(e, "-submenu"),
i = "".concat(n, "-item"),
e = "is-".concat(e, "-submenu-parent");
t.find(">li, > li > ul, .menu, .menu > li, [data-submenu] > li").removeClass("".concat(n, " ").concat(i, " ").concat(e, " is-submenu-item submenu is-active")).removeAttr("data-submenu").css("display", "");
}
};
},
"./js/foundation.util.timer.js": function jsFoundationUtilTimerJs(t, e, n) {
"use strict";
function i(e, t, n) {
var i,
o,
s = this,
r = t.duration,
a = Object.keys(e.data())[0] || "timer",
l = -1;
this.isPaused = !1, this.restart = function () {
l = -1, clearTimeout(o), this.start();
}, this.start = function () {
this.isPaused = !1, clearTimeout(o), l = l <= 0 ? r : l, e.data("paused", !1), i = Date.now(), o = setTimeout(function () {
t.infinite && s.restart(), n && "function" == typeof n && n();
}, l), e.trigger("timerstart.zf.".concat(a));
}, this.pause = function () {
this.isPaused = !0, clearTimeout(o), e.data("paused", !0);
var t = Date.now();
l -= t - i, e.trigger("timerpaused.zf.".concat(a));
};
}
n.r(e), n.d(e, "Timer", function () {
return i;
});
},
"./js/foundation.util.touch.js": function jsFoundationUtilTouchJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Touch", function () {
return u;
});
var e = n("jquery"),
o = n.n(e);
function s(t, e) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
}
}
var i,
r,
a,
l,
u = {},
c = !1,
f = !1;
function d(t) {
this.removeEventListener("touchmove", h), this.removeEventListener("touchend", d), f || (t = o.a.Event("tap", l || t), o()(this).trigger(t)), l = null, f = c = !1;
}
function h(t) {
var e, n;
!0 === o.a.spotSwipe.preventDefault && t.preventDefault(), c && (e = t.touches[0].pageX, e = i - e, f = !0, a = new Date().getTime() - r, (n = Math.abs(e) >= o.a.spotSwipe.moveThreshold && a <= o.a.spotSwipe.timeThreshold ? 0 < e ? "left" : "right" : n) && (t.preventDefault(), d.apply(this, arguments), o()(this).trigger(o.a.Event("swipe", Object.assign({}, t)), n).trigger(o.a.Event("swipe".concat(n), Object.assign({}, t)))));
}
function p(t) {
1 === t.touches.length && (i = t.touches[0].pageX, l = t, f = !(c = !0), r = new Date().getTime(), this.addEventListener("touchmove", h, {
passive: !0 === o.a.spotSwipe.preventDefault
}), this.addEventListener("touchend", d, !1));
}
function m() {
this.addEventListener && this.addEventListener("touchstart", p, {
passive: !0
});
}
var g = function () {
function t() {
!function (t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, t), this.version = "1.0.0", this.enabled = "ontouchstart" in document.documentElement, this.preventDefault = !1, this.moveThreshold = 75, this.timeThreshold = 200, this._init();
}
var e, n, i;
return e = t, (n = [{
key: "_init",
value: function value() {
o.a.event.special.swipe = {
setup: m
}, o.a.event.special.tap = {
setup: m
}, o.a.each(["left", "up", "down", "right"], function () {
o.a.event.special["swipe".concat(this)] = {
setup: function setup() {
o()(this).on("swipe", o.a.noop);
}
};
});
}
}]) && s(e.prototype, n), i && s(e, i), t;
}();
u.setupSpotSwipe = function () {
o.a.spotSwipe = new g(o.a);
}, u.setupTouchHandler = function () {
o.a.fn.addTouch = function () {
this.each(function (t, e) {
o()(e).bind("touchstart touchmove touchend touchcancel", function (t) {
n(t);
});
});
var n = function n(t) {
var e,
n = t.changedTouches[0],
t = {
touchstart: "mousedown",
touchmove: "mousemove",
touchend: "mouseup"
}[t.type];
"MouseEvent" in window && "function" == typeof window.MouseEvent ? e = new window.MouseEvent(t, {
bubbles: !0,
cancelable: !0,
screenX: n.screenX,
screenY: n.screenY,
clientX: n.clientX,
clientY: n.clientY
}) : (e = document.createEvent("MouseEvent")).initMouseEvent(t, !0, !0, window, 1, n.screenX, n.screenY, n.clientX, n.clientY, !1, !1, !1, !1, 0, null), n.target.dispatchEvent(e);
};
};
}, u.init = function () {
void 0 === o.a.spotSwipe && (u.setupSpotSwipe(o.a), u.setupTouchHandler(o.a));
};
},
"./js/foundation.util.triggers.js": function jsFoundationUtilTriggersJs(t, e, n) {
"use strict";
n.r(e), n.d(e, "Triggers", function () {
return u;
});
var e = n("jquery"),
s = n.n(e),
i = n("./js/foundation.core.utils.js"),
o = n("./js/foundation.util.motion.js");
function r(t) {
return (r = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (t) {
return _typeof(t);
} : function (t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : _typeof(t);
})(t);
}
function a(e, n) {
e.data(n).split(" ").forEach(function (t) {
s()("#".concat(t))["close" === n ? "trigger" : "triggerHandler"]("".concat(n, ".zf.trigger"), [e]);
});
}
var l = function () {
for (var t = ["WebKit", "Moz", "O", "Ms", ""], e = 0; e < t.length; e++) if ("".concat(t[e], "MutationObserver") in window) return window["".concat(t[e], "MutationObserver")];
return !1;
}(),
u = {
Listeners: {
Basic: {},
Global: {}
},
Initializers: {}
};
function c(t, e, n) {
var i,
o = Array.prototype.slice.call(arguments, 3);
s()(window).on(e, function () {
i && clearTimeout(i), i = setTimeout(function () {
n.apply(null, o);
}, t || 10);
});
}
u.Listeners.Basic = {
openListener: function openListener() {
a(s()(this), "open");
},
closeListener: function closeListener() {
s()(this).data("close") ? a(s()(this), "close") : s()(this).trigger("close.zf.trigger");
},
toggleListener: function toggleListener() {
s()(this).data("toggle") ? a(s()(this), "toggle") : s()(this).trigger("toggle.zf.trigger");
},
closeableListener: function closeableListener(t) {
var e = s()(this).data("closable");
t.stopPropagation(), "" !== e ? o.Motion.animateOut(s()(this), e, function () {
s()(this).trigger("closed.zf");
}) : s()(this).fadeOut().trigger("closed.zf");
},
toggleFocusListener: function toggleFocusListener() {
var t = s()(this).data("toggle-focus");
s()("#".concat(t)).triggerHandler("toggle.zf.trigger", [s()(this)]);
}
}, u.Initializers.addOpenListener = function (t) {
t.off("click.zf.trigger", u.Listeners.Basic.openListener), t.on("click.zf.trigger", "[data-open]", u.Listeners.Basic.openListener);
}, u.Initializers.addCloseListener = function (t) {
t.off("click.zf.trigger", u.Listeners.Basic.closeListener), t.on("click.zf.trigger", "[data-close]", u.Listeners.Basic.closeListener);
}, u.Initializers.addToggleListener = function (t) {
t.off("click.zf.trigger", u.Listeners.Basic.toggleListener), t.on("click.zf.trigger", "[data-toggle]", u.Listeners.Basic.toggleListener);
}, u.Initializers.addCloseableListener = function (t) {
t.off("close.zf.trigger", u.Listeners.Basic.closeableListener), t.on("close.zf.trigger", "[data-closeable], [data-closable]", u.Listeners.Basic.closeableListener);
}, u.Initializers.addToggleFocusListener = function (t) {
t.off("focus.zf.trigger blur.zf.trigger", u.Listeners.Basic.toggleFocusListener), t.on("focus.zf.trigger blur.zf.trigger", "[data-toggle-focus]", u.Listeners.Basic.toggleFocusListener);
}, u.Listeners.Global = {
resizeListener: function resizeListener(t) {
l || t.each(function () {
s()(this).triggerHandler("resizeme.zf.trigger");
}), t.attr("data-events", "resize");
},
scrollListener: function scrollListener(t) {
l || t.each(function () {
s()(this).triggerHandler("scrollme.zf.trigger");
}), t.attr("data-events", "scroll");
},
closeMeListener: function closeMeListener(t, e) {
t = t.namespace.split(".")[0];
s()("[data-".concat(t, "]")).not('[data-yeti-box="'.concat(e, '"]')).each(function () {
var t = s()(this);
t.triggerHandler("close.zf.trigger", [t]);
});
}
}, u.Initializers.addClosemeListener = function (t) {
var e = s()("[data-yeti-box]"),
n = ["dropdown", "tooltip", "reveal"];
t && ("string" == typeof t ? n.push(t) : "object" === r(t) && "string" == typeof t[0] ? n = n.concat(t) : console.error("Plugin names must be strings")), e.length && (n = n.map(function (t) {
return "closeme.zf.".concat(t);
}).join(" "), s()(window).off(n).on(n, u.Listeners.Global.closeMeListener));
}, u.Initializers.addResizeListener = function (t) {
var e = s()("[data-resize]");
e.length && c(t, "resize.zf.trigger", u.Listeners.Global.resizeListener, e);
}, u.Initializers.addScrollListener = function (t) {
var e = s()("[data-scroll]");
e.length && c(t, "scroll.zf.trigger", u.Listeners.Global.scrollListener, e);
}, u.Initializers.addMutationEventsListener = function (t) {
if (!l) return !1;
function e(t) {
var e = s()(t[0].target);
switch (t[0].type) {
case "attributes":
"scroll" === e.attr("data-events") && "data-events" === t[0].attributeName && e.triggerHandler("scrollme.zf.trigger", [e, window.pageYOffset]), "resize" === e.attr("data-events") && "data-events" === t[0].attributeName && e.triggerHandler("resizeme.zf.trigger", [e]), "style" === t[0].attributeName && (e.closest("[data-mutate]").attr("data-events", "mutate"), e.closest("[data-mutate]").triggerHandler("mutateme.zf.trigger", [e.closest("[data-mutate]")]));
break;
case "childList":
e.closest("[data-mutate]").attr("data-events", "mutate"), e.closest("[data-mutate]").triggerHandler("mutateme.zf.trigger", [e.closest("[data-mutate]")]);
break;
default:
return !1;
}
}
var n = t.find("[data-resize], [data-scroll], [data-mutate]");
if (n.length) for (var i = 0; i <= n.length - 1; i++) new l(e).observe(n[i], {
attributes: !0,
childList: !0,
characterData: !1,
subtree: !0,
attributeFilter: ["data-events", "style"]
});
}, u.Initializers.addSimpleListeners = function () {
var t = s()(document);
u.Initializers.addOpenListener(t), u.Initializers.addCloseListener(t), u.Initializers.addToggleListener(t), u.Initializers.addCloseableListener(t), u.Initializers.addToggleFocusListener(t);
}, u.Initializers.addGlobalListeners = function () {
var t = s()(document);
u.Initializers.addMutationEventsListener(t), u.Initializers.addResizeListener(250), u.Initializers.addScrollListener(), u.Initializers.addClosemeListener();
}, u.init = function (t, e) {
Object(i.onLoad)(s()(window), function () {
!0 !== s.a.triggersInitialized && (u.Initializers.addSimpleListeners(), u.Initializers.addGlobalListeners(), s.a.triggersInitialized = !0);
}), e && (e.Triggers = u, e.IHearYou = u.Initializers.addGlobalListeners);
};
},
0: function _(t, e, n) {
t.exports = n("./js/entries/foundation.js");
},
jquery: function jquery(t, e) {
t.exports = n;
}
}, s = {}, o.m = i, o.c = s, o.d = function (t, e, n) {
o.o(t, e) || Object.defineProperty(t, e, {
enumerable: !0,
get: n
});
}, o.r = function (t) {
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {
value: "Module"
}), Object.defineProperty(t, "__esModule", {
value: !0
});
}, o.t = function (e, t) {
if (1 & t && (e = o(e)), 8 & t) return e;
if (4 & t && "object" == _typeof(e) && e && e.__esModule) return e;
var n = Object.create(null);
if (o.r(n), Object.defineProperty(n, "default", {
enumerable: !0,
value: e
}), 2 & t && "string" != typeof e) for (var i in e) o.d(n, i, function (t) {
return e[t];
}.bind(null, i));
return n;
}, o.n = function (t) {
var e = t && t.__esModule ? function () {
return t.default;
} : function () {
return t;
};
return o.d(e, "a", e), e;
}, o.o = function (t, e) {
return Object.prototype.hasOwnProperty.call(t, e);
}, o.p = "", o(o.s = 0);
function o(t) {
if (s[t]) return s[t].exports;
var e = s[t] = {
i: t,
l: !1,
exports: {}
};
return i[t].call(e.exports, e, e.exports, o), e.l = !0, e.exports;
}
var i, s;
});
/***/ }),
/***/ "jquery":
/*!*************************!*\
!*** external "jQuery" ***!
\*************************/
/***/ (function(module) {
"use strict";
module.exports = jQuery;
/***/ })
/******/ });
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ var cachedModule = __webpack_module_cache__[moduleId];
/******/ if (cachedModule !== undefined) {
/******/ return cachedModule.exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
/******/ id: moduleId,
/******/ loaded: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.loaded = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/************************************************************************/
/******/ /* webpack/runtime/node module decorator */
/******/ !function() {
/******/ __webpack_require__.nmd = function(module) {
/******/ module.paths = [];
/******/ if (!module.children) module.children = [];
/******/ return module;
/******/ };
/******/ }();
/******/
/************************************************************************/
/******/
/******/ // startup
/******/ // Load entry module and return exports
/******/ // This entry module is referenced by other modules so it can't be inlined
/******/ var __webpack_exports__ = __webpack_require__("./node_modules/foundation-sites/dist/js/foundation.min.js");
/******/
/******/ })()
;
//# sourceMappingURL=foundation.min.js.map