1!(function (t, e) { 2 if ("object" == typeof exports && "object" == typeof module) 3 module.exports = e(require("jquery")); 4 else if ("function" == typeof define && define.amd) define(["jquery"], e); 5 else { 6 var n, 7 i = "object" == typeof exports ? e(require("jquery")) : e(t.jQuery); 8 for (n in i) ("object" == typeof exports ? exports : t)[n] = i[n]; 9 } 10})(window, function (t) { 11 return ( 12 (n = { 13
13"./js/entries/foundation.js": function (t, e, n) { 14 "use strict"; 15 n.r(e); 16 var i = n("jquery"), 17 o = ((i = n.n(i)), n("./js/foundation.core.js")); 18 n.d(e, "Foundation", function () { 19 return o.Foundation; 20 }); 21 var s = n("./js/foundation.core.utils.js"); 22 n.d(e, "CoreUtils", function () { 23 return s; 24 }); 25 var r = n("./js/foundation.util.box.js"); 26 n.d(e, "Box", function () { 27 return r.Box; 28 }); 29 var a = n("./js/foundation.util.imageLoader.js"); 30 n.d(e, "onImagesLoaded", function () { 31 return a.onImagesLoaded; 32 }); 33 var l = n("./js/foundation.util.keyboard.js"); 34 n.d(e, "Keyboard", function () { 35 return l.Keyboard; 36 }); 37 var c = n("./js/foundation.util.mediaQuery.js"); 38 n.d(e, "MediaQuery", function () { 39 return c.MediaQuery; 40 }); 41 var u = n("./js/foundation.util.motion.js"); 42 n.d(e, "Motion", function () { 43 return u.Motion; 44 }); 45 var f = n("./js/foundation.util.nest.js"); 46 n.d(e, "Nest", function () { 47 return f.Nest; 48 }); 49 var d = n("./js/foundation.util.timer.js"); 50 n.d(e, "Timer", function () { 51 return d.Timer; 52 }); 53 var h = n("./js/foundation.util.touch.js"); 54 n.d(e, "Touch", function () { 55 return h.Touch; 56 }); 57 var p = n("./js/foundation.util.triggers.js"); 58 n.d(e, "Triggers", function () { 59 return p.Triggers; 60 }); 61 var m = n("./js/foundation.abide.js"); 62 n.d(e, "Abide", function () { 63 return m.Abide; 64 }); 65 var g = n("./js/foundation.accordion.js"); 66 n.d(e, "Accordion", function () { 67 return g.Accordion; 68 }); 69 var v = n("./js/foundation.accordionMenu.js"); 70 n.d(e, "AccordionMenu", function () { 71 return v.AccordionMenu; 72 }); 73 var y = n("./js/foundation.drilldown.js"); 74 n.d(e, "Drilldown", function () { 75 return y.Drilldown; 76 }); 77 var b = n("./js/foundation.dropdown.js"); 78 n.d(e, "Dropdown", function () { 79 return b.Dropdown; 80 }); 81 var w = n("./js/foundation.dropdownMenu.js"); 82 n.d(e, "DropdownMenu", function () { 83 return w.DropdownMenu; 84 }); 85 var $ = n("./js/foundation.equalizer.js"); 86 n.d(e, "Equalizer", function () { 87 return $.Equalizer; 88 }); 89 var _ = n("./js/foundation.interchange.js"); 90 n.d(e, "Interchange", function () { 91 return _.Interchange; 92 }); 93 var k = n("./js/foundation.magellan.js"); 94 n.d(e, "Magellan", function () { 95 return k.Magellan; 96 }); 97 var j = n("./js/foundation.offcanvas.js"); 98 n.d(e, "OffCanvas", function () { 99 return j.OffCanvas; 100 }); 101 var O = n("./js/foundation.orbit.js"); 102 n.d(e, "Orbit", function () { 103 return O.Orbit; 104 }); 105 var C = n("./js/foundation.responsiveMenu.js"); 106 n.d(e, "ResponsiveMenu", function () { 107 return C.ResponsiveMenu; 108 }); 109 var z = n("./js/foundation.responsiveToggle.js"); 110 n.d(e, "ResponsiveToggle", function () { 111 return z.ResponsiveToggle; 112 }); 113 var T = n("./js/foundation.reveal.js"); 114 n.d(e, "Reveal", function () { 115 return T.Reveal; 116 }); 117 var S = n("./js/foundation.slider.js"); 118 n.d(e, "Slider", function () { 119 return S.Slider; 120 }); 121 var E = n("./js/foundation.smoothScroll.js"); 122 n.d(e, "SmoothScroll", function () { 123 return E.SmoothScroll; 124 }); 125 var x = n("./js/foundation.sticky.js"); 126 n.d(e, "Sticky", function () { 127 return x.Sticky; 128 }); 129 var R = n("./js/foundation.tabs.js"); 130 n.d(e, "Tabs", function () { 131 return R.Tabs; 132 }); 133 var P = n("./js/foundation.toggler.js"); 134 n.d(e, "Toggler", function () { 135 return P.Toggler; 136 }); 137 var A = n("./js/foundation.tooltip.js"); 138 n.d(e, "Tooltip", function () { 139 return A.Tooltip; 140 }); 141 var L = n("./js/foundation.responsiveAccordionTabs.js"); 142 (n.d(e, "ResponsiveAccordionTabs", function () { 143 return L.ResponsiveAccordionTabs; 144 }), 145 o.Foundation.addToJquery(i.a), 146 (o.Foundation.rtl = s.rtl), 147 (o.Foundation.GetYoDigits = s.GetYoDigits), 148 (o.Foundation.transitionend = s.transitionend), 149 (o.Foundation.RegExpEscape = s.RegExpEscape), 150 (o.Foundation.onLoad = s.onLoad), 151 (o.Foundation.Box = r.Box), 152 (o.Foundation.onImagesLoaded = a.onImagesLoaded), 153 (o.Foundation.Keyboard = l.Keyboard), 154 (o.Foundation.MediaQuery = c.MediaQuery), 155 (o.Foundation.Motion = u.Motion), 156 (o.Foundation.Move = u.Move), 157 (o.Foundation.Nest = f.Nest), 158 (o.Foundation.Timer = d.Timer), 159 h.Touch.init(i.a), 160 p.Triggers.init(i.a, o.Foundation), 161 c.MediaQuery._init(), 162 o.Foundation.plugin(m.Abide, "Abide"), 163 o.Foundation.plugin(g.Accordion, "Accordion"), 164 o.Foundation.plugin(v.AccordionMenu, "AccordionMenu"), 165 o.Foundation.plugin(y.Drilldown, "Drilldown"), 166 o.Foundation.plugin(b.Dropdown, "Dropdown"), 167 o.Foundation.plugin(w.DropdownMenu, "DropdownMenu"), 168 o.Foundation.plugin($.Equalizer, "Equalizer"), 169 o.Foundation.plugin(_.Interchange, "Interchange"), 170 o.Foundation.plugin(k.Magellan, "Magellan"), 171 o.Foundation.plugin(j.OffCanvas, "OffCanvas"),
172 o.Foundation.plugin(O.Orbit, "Orbit"), 173 o.Foundation.plugin(C.ResponsiveMenu, "ResponsiveMenu"), 174 o.Foundation.plugin(z.ResponsiveToggle, "ResponsiveToggle"), 175 o.Foundation.plugin(T.Reveal, "Reveal"), 176 o.Foundation.plugin(S.Slider, "Slider"), 177 o.Foundation.plugin(E.SmoothScroll, "SmoothScroll"), 178 o.Foundation.plugin(x.Sticky, "Sticky"), 179 o.Foundation.plugin(R.Tabs, "Tabs"), 180 o.Foundation.plugin(P.Toggler, "Toggler"), 181 o.Foundation.plugin(A.Tooltip, "Tooltip"), 182 o.Foundation.plugin( 183 L.ResponsiveAccordionTabs, 184 "ResponsiveAccordionTabs", 185 ), 186 (e.default = o.Foundation)); 187 }, 188
188"./js/foundation.abide.js": function (t, e, n) { 189 "use strict"; 190 (n.r(e), 191 n.d(e, "Abide", function () { 192 return f; 193 })); 194 e = n("jquery"); 195 var i = n.n(e), 196 o = n("./js/foundation.core.plugin.js"), 197 s = n("./js/foundation.core.utils.js"); 198 function r(t) { 199 return (r = 200 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 201 ? function (t) { 202 return typeof t; 203 } 204 : function (t) { 205 return t && 206 "function" == typeof Symbol && 207 t.constructor === Symbol && 208 t !== Symbol.prototype 209 ? "symbol" 210 : typeof t; 211 })(t); 212 } 213 function a(t, e) { 214 for (var n = 0; n < e.length; n++) { 215 var i = e[n]; 216 ((i.enumerable = i.enumerable || !1), 217 (i.configurable = !0), 218 "value" in i && (i.writable = !0), 219 Object.defineProperty(t, i.key, i)); 220 } 221 } 222 function l(t, e) { 223 return (l = 224 Object.setPrototypeOf || 225 function (t, e) { 226 return ((t.__proto__ = e), t); 227 })(t, e); 228 } 229 function c(t) { 230 var e = (function () { 231 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 232 if (Reflect.construct.sham) return !1; 233 if ("function" == typeof Proxy) return !0; 234 try { 235 return ( 236 Boolean.prototype.valueOf.call( 237 Reflect.construct(Boolean, [], function () {}), 238 ), 239 !0 240 ); 241 } catch (t) { 242 return !1; 243 } 244 })(); 245 return function () { 246 var n, 247 i = u(t); 248 return (function (t, e) { 249 if (e && ("object" === r(e) || "function" == typeof e)) return e; 250 if (void 0 !== e) 251 throw new TypeError( 252 "Derived constructors may only return object or undefined", 253 ); 254 return (function (t) { 255 if (void 0 !== t) return t; 256 throw new ReferenceError( 257 "this hasn't been initialised - super() hasn't been called", 258 ); 259 })(t); 260 })( 261 this, 262 e 263 ? ((n = u(this).constructor), 264 Reflect.construct(i, arguments, n)) 265 : i.apply(this, arguments), 266 ); 267 }; 268 } 269 function u(t) { 270 return (u = Object.setPrototypeOf 271 ? Object.getPrototypeOf 272 : function (t) { 273 return t.__proto__ || Object.getPrototypeOf(t); 274 })(t); 275 } 276 var f = (function () { 277 !(function (t, e) { 278 if ("function" != typeof e && null !== e) 279 throw new TypeError( 280 "Super expression must either be null or a function", 281 ); 282 ((t.prototype = Object.create(e && e.prototype, { 283 constructor: { value: t, writable: !0, configurable: !0 }, 284 })), 285 e && l(t, e)); 286 })(r, o.Plugin); 287 var t, 288 e, 289 n = c(r); 290 function r() { 291 return ( 292 (function (t, e) { 293 if (!(t instanceof e)) 294 throw new TypeError("Cannot call a class as a function"); 295 })(this, r), 296 n.apply(this, arguments) 297 ); 298 } 299 return ( 300 (t = r), 301 (e = [ 302 { 303 key: "_setup", 304 value: function (t) { 305 var e = 306 1 < arguments.length && void 0 !== arguments[1] 307 ? arguments[1] 308 : {}; 309 ((this.$element = t), 310 (this.options = i.a.extend( 311 !0, 312 {}, 313 r.defaults, 314 this.$element.data(), 315 e, 316 )), 317 (this.isEnabled = !0), 318 (this.formnovalidate = null),
319 (this.className = "Abide"), 320 this._init()); 321 }, 322 }, 323 { 324 key: "_init", 325 value: function () { 326 var t = this; 327 ((this.$inputs = i.a.merge( 328 this.$element.find("input").not('[type="submit"]'), 329 this.$element.find("textarea, select"), 330 )), 331 (this.$submits = this.$element.find('[type="submit"]'))); 332 var e = this.$element.find("[data-abide-error]"); 333 (this.options.a11yAttributes && 334 (this.$inputs.each(function (e, n) { 335 return t.addA11yAttributes(i()(n)); 336 }), 337 e.each(function (e, n) { 338 return t.addGlobalErrorA11yAttributes(i()(n)); 339 })), 340 this._events()); 341 }, 342 }, 343 { 344 key: "_events", 345 value: function () { 346 var t = this; 347 (this.$element 348 .off(".abide") 349 .on("reset.zf.abide", function () { 350 t.resetForm(); 351 }) 352 .on("submit.zf.abide", function () { 353 return t.validateForm(); 354 }), 355 this.$submits 356 .off("click.zf.abide keydown.zf.abide") 357 .on("click.zf.abide keydown.zf.abide", function (e) { 358 (e.key && " " !== e.key && "Enter" !== e.key) || 359 (e.preventDefault(), 360 (t.formnovalidate = 361 null !== e.target.getAttribute("formnovalidate")), 362 t.$element.submit()); 363 }), 364 "fieldChange" === this.options.validateOn && 365 this.$inputs 366 .off("change.zf.abide") 367 .on("change.zf.abide", function (e) { 368 t.validateInput(i()(e.target)); 369 }), 370 this.options.liveValidate && 371 this.$inputs 372 .off("input.zf.abide") 373 .on("input.zf.abide", function (e) { 374 t.validateInput(i()(e.target)); 375 }), 376 this.options.validateOnBlur && 377 this.$inputs 378 .off("blur.zf.abide") 379 .on("blur.zf.abide", function (e) { 380 t.validateInput(i()(e.target)); 381 })); 382 }, 383 }, 384 { 385 key: "_reflow", 386 value: function () { 387 this._init(); 388 }, 389 }, 390 { 391 key: "_validationIsDisabled", 392 value: function () { 393 return ( 394 !1 === this.isEnabled || 395 ("boolean" == typeof this.formnovalidate 396 ? this.formnovalidate 397 : !!this.$submits.length && 398 null !== 399 this.$submits[0].getAttribute("formnovalidate")) 400 ); 401 }, 402 }, 403 { 404 key: "enableValidation", 405 value: function () { 406 this.isEnabled = !0; 407 }, 408 }, 409 { 410 key: "disableValidation", 411 value: function () { 412 this.isEnabled = !1; 413 }, 414 }, 415 { 416 key: "requiredCheck", 417 value: function (t) { 418 if (!t.attr("required")) return !0; 419 var e = !0; 420 switch (t[0].type) { 421 case "checkbox": 422 e = t[0].checked; 423 break; 424 case "select": 425 case "select-one": 426 case "select-multiple": 427 var n = t.find("option:selected"); 428 (n.length && n.val()) || (e = !1); 429 break; 430 default: 431 (t.val() && t.val().length) || (e = !1); 432 } 433 return e; 434 }, 435 }, 436 { 437 key: "findFormError", 438 value: function (t, e) { 439 var n = this, 440 i = t.length ? t[0].id : "", 441 o = t.siblings(this.options.formErrorSelector); 442 return ( 443 o.length || 444 (o = t.parent().find(this.options.formErrorSelector)), 445 i && 446 (o = o.add( 447 this.$element.find( 448 '[data-form-error-for="'.concat(i, '"]'), 449 ), 450 )), 451 e && 452 ((o = o.not("[data-form-error-on]")), 453 e.forEach(function (e) { 454 o = (o = o.add( 455 t.siblings('[data-form-error-on="'.concat(e, '"]')), 456 )).add( 457 n.$element.find( 458 '[data-form-error-for="' 459 .concat(i, '"][data-form-error-on="') 460 .concat(e, '"]'), 461 ), 462 ); 463 })), 464 o 465 ); 466 }, 467 }, 468 { 469 key: "findLabel", 470 value: function (t) { 471 var e = t[0].id; 472 return (e = this.$element.find('label[for="'.concat(e, '"]'))) 473 .length 474 ? e 475 : t.closest("label"); 476 }, 477 }, 478 {
479 key: "findRadioLabels", 480 value: function (t) { 481 var e = this; 482 t = t.map(function (t, n) { 483 var o = n.id; 484 return (o = (o = e.$element.find( 485 'label[for="'.concat(o, '"]'), 486 )).length 487 ? o 488 : i()(n).closest("label"))[0]; 489 }); 490 return i()(t); 491 }, 492 }, 493 { 494 key: "findCheckboxLabels", 495 value: function (t) { 496 var e = this; 497 t = t.map(function (t, n) { 498 var o = n.id; 499 return (o = (o = e.$element.find( 500 'label[for="'.concat(o, '"]'), 501 )).length 502 ? o 503 : i()(n).closest("label"))[0]; 504 }); 505 return i()(t); 506 }, 507 }, 508 { 509 key: "addErrorClasses", 510 value: function (t, e) { 511 var n = this.findLabel(t); 512 e = this.findFormError(t, e); 513 (n.length && n.addClass(this.options.labelErrorClass), 514 e.length && e.addClass(this.options.formErrorClass), 515 t 516 .addClass(this.options.inputErrorClass) 517 .attr({ "data-invalid": "", "aria-invalid": !0 })); 518 }, 519 }, 520 { 521 key: "addA11yAttributes", 522 value: function (t) { 523 var e, 524 n, 525 o = this.findFormError(t), 526 r = o.filter("label"), 527 a = o.first(); 528 o.length && 529 (void 0 === t.attr("aria-describedby") && 530 (void 0 === (e = a.attr("id")) && 531 ((e = Object(s.GetYoDigits)(6, "abide-error")), 532 a.attr("id", e)), 533 t.attr("aria-describedby", e)), 534 r.filter("[for]").length < r.length && 535 (void 0 === (n = t.attr("id")) && 536 ((n = Object(s.GetYoDigits)(6, "abide-input")), 537 t.attr("id", n)), 538 r.each(function (t, e) { 539 void 0 === (e = i()(e)).attr("for") && e.attr("for", n); 540 })), 541 o 542 .each(function (t, e) { 543 void 0 === (e = i()(e)).attr("role") && 544 e.attr("role", "alert"); 545 }) 546 .end()); 547 }, 548 }, 549 { 550 key: "addGlobalErrorA11yAttributes", 551 value: function (t) { 552 void 0 === t.attr("aria-live") && 553 t.attr("aria-live", this.options.a11yErrorLevel); 554 }, 555 }, 556 { 557 key: "removeRadioErrorClasses", 558 value: function (t) { 559 var e = this.$element.find(':radio[name="'.concat(t, '"]')), 560 n = this.findRadioLabels(e); 561 t = this.findFormError(e); 562 (n.length && n.removeClass(this.options.labelErrorClass), 563 t.length && t.removeClass(this.options.formErrorClass), 564 e 565 .removeClass(this.options.inputErrorClass) 566 .attr({ "data-invalid": null, "aria-invalid": null })); 567 }, 568 }, 569 { 570 key: "removeCheckboxErrorClasses", 571 value: function (t) { 572 var e = this.$element.find( 573 ':checkbox[name="'.concat(t, '"]'), 574 ), 575 n = this.findCheckboxLabels(e); 576 t = this.findFormError(e); 577 (n.length && n.removeClass(this.options.labelErrorClass), 578 t.length && t.removeClass(this.options.formErrorClass), 579 e 580 .removeClass(this.options.inputErrorClass) 581 .attr({ "data-invalid": null, "aria-invalid": null })); 582 }, 583 }, 584 { 585 key: "removeErrorClasses", 586 value: function (t) { 587 if ("radio" === t[0].type) 588 return this.removeRadioErrorClasses(t.attr("name")); 589 if ("checkbox" === t[0].type) 590 return this.removeCheckboxErrorClasses(t.attr("name")); 591 var e = this.findLabel(t), 592 n = this.findFormError(t); 593 (e.length && e.removeClass(this.options.labelErrorClass), 594 n.length && n.removeClass(this.options.formErrorClass), 595 t 596 .removeClass(this.options.inputErrorClass) 597 .attr({ "data-invalid": null, "aria-invalid": null })); 598 }, 599 }, 600 { 601 key: "validateInput", 602 value: function (t) { 603 var e, 604 n = this, 605 o = this.requiredCheck(t), 606 s = t.attr("data-validator"), 607 r = [], 608 a = !0;
609 if (this._validationIsDisabled()) return !0; 610 if ( 611 t.is("[data-abide-ignore]") || 612 t.is('[type="hidden"]') || 613 t.is("[disabled]") 614 ) 615 return !0; 616 switch (t[0].type) { 617 case "radio": 618 this.validateRadio(t.attr("name")) || r.push("required"); 619 break; 620 case "checkbox": 621 (this.validateCheckbox(t.attr("name")) || 622 r.push("required"), 623 (a = !1)); 624 break; 625 case "select": 626 case "select-one": 627 case "select-multiple": 628 o || r.push("required"); 629 break; 630 default: 631 (o || r.push("required"), 632 this.validateText(t) || r.push("pattern")); 633 } 634 (s && 635 ((e = !!t.attr("required")), 636 s.split(" ").forEach(function (i) { 637 n.options.validators[i](t, e, t.parent()) || r.push(i); 638 })), 639 t.attr("data-equalto") && 640 (this.options.validators.equalTo(t) || 641 r.push("equalTo"))); 642 var l, 643 c = 0 === r.length, 644 u = (c ? "valid" : "invalid") + ".zf.abide"; 645 return ( 646 !c || 647 ((s = this.$element.find( 648 '[data-equalto="'.concat(t.attr("id"), '"]'), 649 )).length && 650 ((l = this), 651 s.each(function () { 652 i()(this).val() && l.validateInput(i()(this)); 653 }))), 654 a && 655 (c 656 ? this.removeErrorClasses(t) 657 : this.addErrorClasses(t, r)), 658 t.trigger(u, [t]), 659 c 660 ); 661 }, 662 }, 663 { 664 key: "validateForm", 665 value: function () { 666 var t, 667 e = this, 668 n = [], 669 o = this; 670 if ( 671 (this.initialized || (this.initialized = !0), 672 this._validationIsDisabled()) 673 ) 674 return !(this.formnovalidate = null); 675 this.$inputs.each(function () { 676 if ("checkbox" === i()(this)[0].type) { 677 if (i()(this).attr("name") === t) return !0; 678 t = i()(this).attr("name"); 679 } 680 n.push(o.validateInput(i()(this))); 681 }); 682 var s = -1 === n.indexOf(!1); 683 return ( 684 this.$element 685 .find("[data-abide-error]") 686 .each(function (t, n) { 687 ((n = i()(n)), 688 e.options.a11yAttributes && 689 e.addGlobalErrorA11yAttributes(n), 690 n.css("display", s ? "none" : "block")); 691 }), 692 this.$element.trigger( 693 (s ? "formvalid" : "forminvalid") + ".zf.abide", 694 [this.$element], 695 ), 696 s 697 ); 698 }, 699 }, 700 { 701 key: "validateText", 702 value: function (t, e) { 703 e = 704 e || 705 t.attr("data-pattern") || 706 t.attr("pattern") || 707 t.attr("type"); 708 var n = t.val(), 709 i = !0; 710 return ( 711 n.length && 712 (this.options.patterns.hasOwnProperty(e) 713 ? (i = this.options.patterns[e].test(n)) 714 : e !== t.attr("type") && (i = new RegExp(e).test(n))), 715 i 716 ); 717 }, 718 }, 719 { 720 key: "validateRadio", 721 value: function (t) { 722 t = this.$element.find(':radio[name="'.concat(t, '"]')); 723 var e = !1, 724 n = !1; 725 return ( 726 t.each(function (t, e) { 727 i()(e).attr("required") && (n = !0); 728 }), 729 (e = !n || e) || 730 t.each(function (t, n) { 731 i()(n).prop("checked") && (e = !0); 732 }), 733 e 734 ); 735 }, 736 }, 737 { 738 key: "validateCheckbox", 739 value: function (t) { 740 var e = this, 741 n = 742 ((t = this.$element.find( 743 ':checkbox[name="'.concat(t, '"]'), 744 )), 745 !1), 746 o = !1, 747 s = 1, 748 r = 0; 749 return ( 750 t.each(function (t, e) { 751 i()(e).attr("required") && (o = !0); 752 }), 753 (n = !o || n) || 754 (t.each(function (t, e) { 755 (i()(e).prop("checked") && r++, 756 void 0 !== i()(e).attr("data-min-required") && 757 (s = parseInt( 758 i()(e).attr("data-min-required"), 759 10, 760 ))); 761 }), 762 s <= r && (n = !0)), 763 (!0 !== this.initialized && 1 < s) || 764 (t.each(function (t, o) { 765 n 766 ? e.removeErrorClasses(i()(o)) 767 : e.addErrorClasses(i()(o), ["required"]); 768 }), 769 n) 770 ); 771 }, 772 }, 773 { 774 key: "matchValidation", 775 value: function (t, e, n) { 776 var i = this; 777 return ( 778 (n = !!n), 779 -1 === 780 e 781 .split(" ") 782 .map(function (e) { 783 return i.options.validators[e](t, n, t.parent()); 784 }) 785 .indexOf(!1) 786 ); 787 }, 788 }, 789 { 790 key: "resetForm", 791 value: function () { 792 var t = this.$element, 793 e = this.options; 794 (i()(".".concat(e.labelErrorClass), t) 795 .not("small") 796 .removeClass(e.labelErrorClass), 797 i()(".".concat(e.inputErrorClass), t) 798 .not("small") 799 .removeClass(e.inputErrorClass), 800 i()( 801 "" 802 .concat(e.formErrorSelector, ".") 803 .concat(e.formErrorClass), 804 ).removeClass(e.formErrorClass), 805 t.find("[data-abide-error]").css("display", "none"), 806 i()(":input", t) 807 .not( 808 ":button, :submit, :reset, :hidden, :radio, :checkbox, [data-abide-ignore]", 809 ) 810 .val("") 811 .attr({ "data-invalid": null, "aria-invalid": null }), 812 i()(":input:radio", t) 813 .not("[data-abide-ignore]") 814 .prop("checked", !1) 815 .attr({ "data-invalid": null, "aria-invalid": null }), 816 i()(":input:checkbox", t) 817 .not("[data-abide-ignore]") 818 .prop("checked", !1) 819 .attr({ "data-invalid": null, "aria-invalid": null }), 820 t.trigger("formreset.zf.abide", [t])); 821 }, 822 }, 823 { 824 key: "_destroy", 825 value: function () { 826 var t = this; 827 (this.$element 828 .off(".abide") 829 .find("[data-abide-error]") 830 .css("display", "none"), 831 this.$inputs.off(".abide").each(function () { 832 t.removeErrorClasses(i()(this)); 833 }), 834 this.$submits.off(".abide")); 835 }, 836 }, 837 ]) && a(t.prototype, e), 838 r 839 ); 840 })(); 841 f.defaults = { 842 validateOn: "fieldChange", 843 labelErrorClass: "is-invalid-label", 844 inputErrorClass: "is-invalid-input", 845 formErrorSelector: ".form-error", 846 formErrorClass: "is-visible", 847 a11yAttributes: !0, 848 a11yErrorLevel: "assertive", 849 liveValidate: !1, 850 validateOnBlur: !1, 851 patterns: { 852 alpha: /^[a-zA-Z]+$/, 853 alpha_numeric: /^[a-zA-Z0-9]+$/, 854 integer: /^[-+]?\d+$/, 855 number: /^[-+]?\d*(?:[\.\,]\d+)?$/, 856 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})$/, 857 cvv: /^([0-9]){3,4}$/, 858 email: 859 /^[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])?)+$/,
860 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]))$/, 861 domain: 862 /^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,8}$/, 863 datetime: 864 /^([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))$/, 865 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))$/, 866 time: /^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}$/, 867 dateISO: /^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/, 868 month_day_year: 869 /^(0[1-9]|1[012])[- \/.](0[1-9]|[12][0-9]|3[01])[- \/.]\d{4}$/, 870 day_month_year: 871 /^(0[1-9]|[12][0-9]|3[01])[- \/.](0[1-9]|1[012])[- \/.]\d{4}$/, 872 color: /^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/, 873 website: { 874 test: function (t) { 875 return ( 876 f.defaults.patterns.domain.test(t) || 877 f.defaults.patterns.url.test(t) 878 ); 879 }, 880 }, 881 }, 882 validators: { 883 equalTo: function (t) { 884 return i()("#".concat(t.attr("data-equalto"))).val() === t.val(); 885 }, 886 }, 887 }; 888 }, 889
889"./js/foundation.accordion.js": function (t, e, n) { 890 "use strict"; 891 (n.r(e), 892 n.d(e, "Accordion", function () { 893 return d; 894 })); 895 e = n("jquery"); 896 var i = n.n(e), 897 o = n("./js/foundation.core.plugin.js"), 898 s = n("./js/foundation.core.utils.js"), 899 r = n("./js/foundation.util.keyboard.js"); 900 function a(t) { 901 return (a = 902 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 903 ? function (t) { 904 return typeof t; 905 } 906 : function (t) { 907 return t && 908 "function" == typeof Symbol && 909 t.constructor === Symbol && 910 t !== Symbol.prototype 911 ? "symbol" 912 : typeof t; 913 })(t); 914 } 915 function l(t, e) { 916 for (var n = 0; n < e.length; n++) { 917 var i = e[n]; 918 ((i.enumerable = i.enumerable || !1), 919 (i.configurable = !0), 920 "value" in i && (i.writable = !0), 921 Object.defineProperty(t, i.key, i)); 922 } 923 } 924 function c(t, e) { 925 return (c = 926 Object.setPrototypeOf || 927 function (t, e) { 928 return ((t.__proto__ = e), t); 929 })(t, e); 930 } 931 function u(t) { 932 var e = (function () { 933 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 934 if (Reflect.construct.sham) return !1; 935 if ("function" == typeof Proxy) return !0; 936 try { 937 return ( 938 Boolean.prototype.valueOf.call( 939 Reflect.construct(Boolean, [], function () {}), 940 ), 941 !0 942 ); 943 } catch (t) { 944 return !1; 945 } 946 })(); 947 return function () { 948 var n, 949 i = f(t); 950 return (function (t, e) { 951 if (e && ("object" === a(e) || "function" == typeof e)) return e; 952 if (void 0 !== e) 953 throw new TypeError( 954 "Derived constructors may only return object or undefined", 955 ); 956 return (function (t) { 957 if (void 0 !== t) return t; 958 throw new ReferenceError( 959 "this hasn't been initialised - super() hasn't been called", 960 ); 961 })(t); 962 })( 963 this, 964 e 965 ? ((n = f(this).constructor), 966 Reflect.construct(i, arguments, n)) 967 : i.apply(this, arguments), 968 ); 969 }; 970 } 971 function f(t) { 972 return (f = Object.setPrototypeOf 973 ? Object.getPrototypeOf 974 : function (t) { 975 return t.__proto__ || Object.getPrototypeOf(t); 976 })(t); 977 } 978 var d = (function () { 979 !(function (t, e) { 980 if ("function" != typeof e && null !== e) 981 throw new TypeError( 982 "Super expression must either be null or a function", 983 ); 984 ((t.prototype = Object.create(e && e.prototype, { 985 constructor: { value: t, writable: !0, configurable: !0 }, 986 })), 987 e && c(t, e)); 988 })(a, o.Plugin); 989 var t, 990 e, 991 n = u(a); 992 function a() { 993 return ( 994 (function (t, e) { 995 if (!(t instanceof e)) 996 throw new TypeError("Cannot call a class as a function"); 997 })(this, a), 998 n.apply(this, arguments) 999 ); 1000 } 1001 return ( 1002 (t = a), 1003 (e = [ 1004 { 1005 key: "_setup", 1006 value: function (t, e) { 1007 ((this.$element = t), 1008 (this.options = i.a.extend( 1009 {}, 1010 a.defaults, 1011 this.$element.data(), 1012 e, 1013 )), 1014 (this.className = "Accordion"), 1015 this._init(), 1016 r.Keyboard.register("Accordion", { 1017 ENTER: "toggle", 1018 SPACE: "toggle", 1019 ARROW_DOWN: "next", 1020 ARROW_UP: "previous", 1021 HOME: "first", 1022 END: "last", 1023 })); 1024 }, 1025 }, 1026 { 1027 key: "_init", 1028 value: function () { 1029 var t = this; 1030 ((this._isInitializing = !0), 1031 (this.$tabs = this.$element.children( 1032 "[data-accordion-item]", 1033 )), 1034 this.$tabs.each(function (t, e) { 1035 var n = i()(e), 1036 o = n.children("[data-tab-content]"), 1037 r = o[0].id || Object(s.GetYoDigits)(6, "accordion"); 1038 e = e.id 1039 ? "".concat(e.id, "-label") 1040 : "".concat(r, "-label"); 1041 (n.find("a:first").attr({ 1042 "aria-controls": r, 1043 id: e, 1044 "aria-expanded": !1, 1045 }), 1046 o.attr({
1047 role: "region", 1048 "aria-labelledby": e, 1049 "aria-hidden": !0, 1050 id: r, 1051 })); 1052 })); 1053 var e = this.$element 1054 .find(".is-active") 1055 .children("[data-tab-content]"); 1056 (e.length && 1057 ((this._initialAnchor = e.prev("a").attr("href")), 1058 this._openSingleTab(e)), 1059 (this._checkDeepLink = function () { 1060 if (!(n = window.location.hash).length) { 1061 if (t._isInitializing) return; 1062 t._initialAnchor && (n = t._initialAnchor); 1063 } 1064 var e = n && i()(n), 1065 n = n && t.$element.find('[href$="'.concat(n, '"]')); 1066 !e.length || 1067 !n.length || 1068 (e && n && n.length 1069 ? n 1070 .parent("[data-accordion-item]") 1071 .hasClass("is-active") || t._openSingleTab(e) 1072 : t._closeAllTabs(), 1073 t.options.deepLinkSmudge && 1074 Object(s.onLoad)(i()(window), function () { 1075 var e = t.$element.offset(); 1076 i()("html, body").animate( 1077 { 1078 scrollTop: 1079 e.top - t.options.deepLinkSmudgeOffset, 1080 }, 1081 t.options.deepLinkSmudgeDelay, 1082 ); 1083 }), 1084 t.$element.trigger("deeplink.zf.accordion", [n, e])); 1085 }), 1086 this.options.deepLink && this._checkDeepLink(), 1087 this._events(), 1088 (this._isInitializing = !1)); 1089 }, 1090 }, 1091 { 1092 key: "_events", 1093 value: function () { 1094 var t = this; 1095 (this.$tabs.each(function () { 1096 var e = i()(this), 1097 n = e.children("[data-tab-content]"); 1098 n.length && 1099 e 1100 .children("a") 1101 .off("click.zf.accordion keydown.zf.accordion") 1102 .on("click.zf.accordion", function (e) { 1103 (e.preventDefault(), t.toggle(n)); 1104 }) 1105 .on("keydown.zf.accordion", function (i) { 1106 r.Keyboard.handleKey(i, "Accordion", { 1107 toggle: function () { 1108 t.toggle(n); 1109 }, 1110 next: function () { 1111 var n = e.next().find("a").focus(); 1112 t.options.multiExpand || 1113 n.trigger("click.zf.accordion"); 1114 }, 1115 previous: function () { 1116 var n = e.prev().find("a").focus(); 1117 t.options.multiExpand || 1118 n.trigger("click.zf.accordion"); 1119 }, 1120 first: function () { 1121 var e = t.$tabs 1122 .first() 1123 .find(".accordion-title") 1124 .focus(); 1125 t.options.multiExpand || 1126 e.trigger("click.zf.accordion"); 1127 }, 1128 last: function () { 1129 var e = t.$tabs 1130 .last() 1131 .find(".accordion-title") 1132 .focus(); 1133 t.options.multiExpand || 1134 e.trigger("click.zf.accordion"); 1135 }, 1136 handled: function () { 1137 i.preventDefault(); 1138 }, 1139 }); 1140 }); 1141 }), 1142 this.options.deepLink && 1143 i()(window).on("hashchange", this._checkDeepLink)); 1144 }, 1145 }, 1146 { 1147 key: "toggle", 1148 value: function (t) { 1149 t.closest("[data-accordion]").is("[disabled]") 1150 ? console.info( 1151 "Cannot toggle an accordion that is disabled.", 1152 ) 1153 : (t.parent().hasClass("is-active") 1154 ? this.up(t) 1155 : this.down(t), 1156 this.options.deepLink && 1157 ((t = t.prev("a").attr("href")), 1158 this.options.updateHistory 1159 ? history.pushState({}, "", t) 1160 : history.replaceState({}, "", t))); 1161 }, 1162 }, 1163 { 1164 key: "down", 1165 value: function (t) { 1166 t.closest("[data-accordion]").is("[disabled]") 1167 ? console.info( 1168 "Cannot call down on an accordion that is disabled.", 1169 ) 1170 : this.options.multiExpand 1171 ? this._openTab(t) 1172 : this._openSingleTab(t); 1173 }, 1174 }, 1175 { 1176 key: "up", 1177 value: function (t) { 1178 var e; 1179 this.$element.is("[disabled]") 1180 ? console.info( 1181 "Cannot call up on an accordion that is disabled.", 1182 ) 1183 : (e = t.parent()).hasClass("is-active") && 1184 ((e = e.siblings()), 1185 (this.options.allowAllClosed || 1186 e.hasClass("is-active")) && 1187 this._closeTab(t)); 1188 }, 1189 }, 1190 { 1191 key: "_openSingleTab", 1192 value: function (t) { 1193 var e = this.$element 1194 .children(".is-active") 1195 .children("[data-tab-content]"); 1196 (e.length && this._closeTab(e.not(t)), this._openTab(t)); 1197 }, 1198 }, 1199 { 1200 key: "_openTab", 1201 value: function (t) { 1202 var e = this, 1203 n = t.parent(), 1204 o = t.attr("aria-labelledby"); 1205 (t.attr("aria-hidden", !1), 1206 n.addClass("is-active"), 1207 i()("#".concat(o)).attr({ "aria-expanded": !0 }), 1208 t.finish().slideDown(this.options.slideSpeed, function () { 1209 e.$element.trigger("down.zf.accordion", [t]); 1210 })); 1211 }, 1212 }, 1213 { 1214 key: "_closeTab", 1215 value: function (t) { 1216 var e = this, 1217 n = t.parent(), 1218 o = t.attr("aria-labelledby"); 1219 (t.attr("aria-hidden", !0), 1220 n.removeClass("is-active"), 1221 i()("#".concat(o)).attr({ "aria-expanded": !1 }), 1222 t.finish().slideUp(this.options.slideSpeed, function () { 1223 e.$element.trigger("up.zf.accordion", [t]); 1224 })); 1225 }, 1226 }, 1227 { 1228 key: "_closeAllTabs", 1229 value: function () { 1230 var t = this.$element 1231 .children(".is-active") 1232 .children("[data-tab-content]"); 1233 t.length && this._closeTab(t); 1234 }, 1235 }, 1236 { 1237 key: "_destroy", 1238 value: function () { 1239 (this.$element 1240 .find("[data-tab-content]") 1241 .stop(!0) 1242 .slideUp(0) 1243 .css("display", ""), 1244 this.$element.find("a").off(".zf.accordion"), 1245 this.options.deepLink && 1246 i()(window).off("hashchange", this._checkDeepLink)); 1247 }, 1248 }, 1249 ]) && l(t.prototype, e), 1250 a 1251 ); 1252 })(); 1253 d.defaults = { 1254 slideSpeed: 250, 1255 multiExpand: !1, 1256 allowAllClosed: !1, 1257 deepLink: !1, 1258 deepLinkSmudge: !1, 1259 deepLinkSmudgeDelay: 300, 1260 deepLinkSmudgeOffset: 0, 1261 updateHistory: !1, 1262 }; 1263 }, 1264
1264"./js/foundation.accordionMenu.js": function (t, e, n) { 1265 "use strict"; 1266 (n.r(e), 1267 n.d(e, "AccordionMenu", function () { 1268 return h; 1269 })); 1270 e = n("jquery"); 1271 var i = n.n(e), 1272 o = n("./js/foundation.util.keyboard.js"), 1273 s = n("./js/foundation.util.nest.js"), 1274 r = n("./js/foundation.core.utils.js"), 1275 a = n("./js/foundation.core.plugin.js"); 1276 function l(t) { 1277 return (l = 1278 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 1279 ? function (t) { 1280 return typeof t; 1281 } 1282 : function (t) { 1283 return t && 1284 "function" == typeof Symbol && 1285 t.constructor === Symbol && 1286 t !== Symbol.prototype 1287 ? "symbol" 1288 : typeof t; 1289 })(t); 1290 } 1291 function c(t, e) { 1292 for (var n = 0; n < e.length; n++) { 1293 var i = e[n]; 1294 ((i.enumerable = i.enumerable || !1), 1295 (i.configurable = !0), 1296 "value" in i && (i.writable = !0), 1297 Object.defineProperty(t, i.key, i)); 1298 } 1299 } 1300 function u(t, e) { 1301 return (u = 1302 Object.setPrototypeOf || 1303 function (t, e) { 1304 return ((t.__proto__ = e), t); 1305 })(t, e); 1306 } 1307 function f(t) { 1308 var e = (function () { 1309 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 1310 if (Reflect.construct.sham) return !1; 1311 if ("function" == typeof Proxy) return !0; 1312 try { 1313 return ( 1314 Boolean.prototype.valueOf.call( 1315 Reflect.construct(Boolean, [], function () {}), 1316 ), 1317 !0 1318 ); 1319 } catch (t) { 1320 return !1; 1321 } 1322 })(); 1323 return function () { 1324 var n, 1325 i = d(t); 1326 return (function (t, e) { 1327 if (e && ("object" === l(e) || "function" == typeof e)) return e; 1328 if (void 0 !== e) 1329 throw new TypeError( 1330 "Derived constructors may only return object or undefined", 1331 ); 1332 return (function (t) { 1333 if (void 0 !== t) return t; 1334 throw new ReferenceError( 1335 "this hasn't been initialised - super() hasn't been called", 1336 ); 1337 })(t); 1338 })( 1339 this, 1340 e 1341 ? ((n = d(this).constructor), 1342 Reflect.construct(i, arguments, n)) 1343 : i.apply(this, arguments), 1344 ); 1345 }; 1346 } 1347 function d(t) { 1348 return (d = Object.setPrototypeOf 1349 ? Object.getPrototypeOf 1350 : function (t) { 1351 return t.__proto__ || Object.getPrototypeOf(t); 1352 })(t); 1353 } 1354 var h = (function () { 1355 !(function (t, e) { 1356 if ("function" != typeof e && null !== e) 1357 throw new TypeError( 1358 "Super expression must either be null or a function", 1359 ); 1360 ((t.prototype = Object.create(e && e.prototype, { 1361 constructor: { value: t, writable: !0, configurable: !0 }, 1362 })), 1363 e && u(t, e)); 1364 })(l, a.Plugin); 1365 var t, 1366 e, 1367 n = f(l); 1368 function l() { 1369 return ( 1370 (function (t, e) { 1371 if (!(t instanceof e)) 1372 throw new TypeError("Cannot call a class as a function"); 1373 })(this, l), 1374 n.apply(this, arguments) 1375 ); 1376 } 1377 return ( 1378 (t = l), 1379 (e = [ 1380 { 1381 key: "_setup", 1382 value: function (t, e) { 1383 ((this.$element = t), 1384 (this.options = i.a.extend( 1385 {}, 1386 l.defaults, 1387 this.$element.data(), 1388 e, 1389 )), 1390 (this.className = "AccordionMenu"), 1391 this._init(), 1392 o.Keyboard.register("AccordionMenu", { 1393 ENTER: "toggle", 1394 SPACE: "toggle", 1395 ARROW_RIGHT: "open", 1396 ARROW_UP: "up", 1397 ARROW_DOWN: "down", 1398 ARROW_LEFT: "close", 1399 ESCAPE: "closeAll", 1400 })); 1401 }, 1402 }, 1403 { 1404 key: "_init", 1405 value: function () { 1406 s.Nest.Feather(this.$element, "accordion"); 1407 var t = this; 1408 (this.$element 1409 .find("[data-submenu]") 1410 .not(".is-active") 1411 .slideUp(0), 1412 this.$element.attr({ 1413 "aria-multiselectable": this.options.multiOpe
1413n, 1414 }), 1415 (this.$menuLinks = this.$element.find( 1416 ".is-accordion-submenu-parent", 1417 )), 1418 this.$menuLinks.each(function () { 1419 var e = 1420 this.id || Object(r.GetYoDigits)(6, "acc-menu-link"), 1421 n = i()(this), 1422 o = n.children("[data-submenu]"), 1423 s = o[0].id || Object(r.GetYoDigits)(6, "acc-menu"), 1424 a = o.hasClass("is-active"); 1425 (t.options.parentLink && 1426 n 1427 .children("a") 1428 .clone() 1429 .prependTo(o) 1430 .wrap( 1431 '<li data-is-parent-link class="is-submenu-parent-item is-submenu-item is-accordion-submenu-item"></li>', 1432 ), 1433 t.options.submenuToggle 1434 ? (n.addClass("has-submenu-toggle"), 1435 n 1436 .children("a") 1437 .after( 1438 '<button id="' + 1439 e + 1440 '" class="submenu-toggle" aria-controls="' + 1441 s + 1442 '" aria-expanded="' + 1443 a + 1444 '" title="' + 1445 t.options.submenuToggleText + 1446 '"><span class="submenu-toggle-text">' + 1447 t.options.submenuToggleText + 1448 "</span></button>", 1449 )) 1450 : n.attr({ 1451 "aria-controls": s, 1452 "aria-expanded": a, 1453 id: e, 1454 }), 1455 o.attr({ 1456 "aria-labelledby": e, 1457 "aria-hidden": !a, 1458 role: "group", 1459 id: s, 1460 })); 1461 })); 1462 var e = this.$element.find(".is-active"); 1463 (e.length && 1464 e.each(function () { 1465 t.down(i()(this)); 1466 }), 1467 this._events()); 1468 }, 1469 }, 1470 { 1471 key: "_events", 1472 value: function () { 1473 var t = this; 1474 this.$element 1475 .find("li") 1476 .each(function () { 1477 var e = i()(this).children("[data-submenu]"); 1478 e.length && 1479 (t.options.submenuToggle 1480 ? i()(this) 1481 .children(".submenu-toggle") 1482 .off("click.zf.accordionMenu") 1483 .on("click.zf.accordionMenu", function () { 1484 t.toggle(e); 1485 }) 1486 : i()(this) 1487 .children("a") 1488 .off("click.zf.accordionMenu") 1489 .on("click.zf.accordionMenu", function (n) { 1490 (n.preventDefault(), t.toggle(e)); 1491 })); 1492 }) 1493 .on("keydown.zf.accordionMenu", function (e) { 1494 var n, 1495 s, 1496 r = i()(this), 1497 a = r.parent("ul").children("li"), 1498 l = r.children("[data-submenu]"); 1499 (a.each(function (t) { 1500 i()(this).is(r) && 1501 ((n = a 1502 .eq(Math.max(0, t - 1)) 1503 .find("a") 1504 .first()), 1505 (s = a 1506 .eq(Math.min(t + 1, a.length - 1)) 1507 .find("a") 1508 .first()), 1509 i()(this).children("[data-submenu]:visible").length && 1510 (s = r.find("li:first-child").find("a").first()), 1511 i()(this).is(":first-child") 1512 ? (n = r.parents("li").first().find("a").first()) 1513 : n 1514 .parents("li") 1515 .first() 1516 .children("[data-submenu]:visible").length && 1517 (n = n 1518 .parents("li") 1519 .find("li:last-child") 1520 .find("a") 1521 .first()), 1522 i()(this).is(":last-child") && 1523 (s = r 1524 .parents("li") 1525 .first() 1526 .next("li") 1527 .find("a") 1528 .first())); 1529 }), 1530 o.Keyboard.handleKey(e, "AccordionMenu", { 1531 open: function () { 1532 l.is(":hidden") && 1533 (t.down(l), 1534 l.find("li").first().find("a").first().focus()); 1535 }, 1536 close: function () { 1537 l.length && !l.is(":hidden") 1538 ? t.up(l) 1539 : r.parent("[data-submenu]").length && 1540 (t.up(r.parent("[data-submenu]")), 1541 r 1542 .parents("li") 1543 .first() 1544 .find("a") 1545 .first() 1546 .focus()); 1547 }, 1548 up: function () { 1549 return (n.focus(), !0); 1550 }, 1551 down: function () { 1552 return (s.focus(), !0); 1553 }, 1554 toggle: function () { 1555 return ( 1556 !t.options.submenuToggle && 1557 (r.children("[data-submenu]").length 1558 ? (t.toggle(r.children("[data-submenu]")), !0) 1559 : void 0) 1560 ); 1561 }, 1562 closeAll: function () { 1563 t.hideAll(); 1564 }, 1565 handled: function (t) { 1566 t && e.preventDefault(); 1567 }, 1568 })); 1569 }); 1570 }, 1571 }, 1572 { 1573 key: "hideAll", 1574 value: function () { 1575 this.up(this.$element.find("[data-submenu]")); 1576 }, 1577 }, 1578 { 1579 key: "showAll", 1580 value: function () { 1581 this.down(this.$element.find("[data-submenu]")); 1582 }, 1583 }, 1584 { 1585 key: "toggle", 1586 value: function (t) { 1587 t.is(":animated") || 1588 (t.is(":hidden") ? this.down(t) : this.up(t)); 1589 }, 1590 }, 1591 { 1592 key: "down", 1593 value: function (t) { 1594 var e, 1595 n = this;
1596 (this.options.multiOpen || 1597 ((e = t 1598 .parentsUntil(this.$element) 1599 .add(t) 1600 .add(t.find(".is-active"))), 1601 (e = this.$element.find(".is-active").not(e)), 1602 this.up(e)), 1603 t.addClass("is-active").attr({ "aria-hidden": !1 }), 1604 (this.options.submenuToggle 1605 ? t.prev(".submenu-toggle") 1606 : t.parent(".is-accordion-submenu-parent") 1607 ).attr({ "aria-expanded": !0 }), 1608 t.slideDown(this.options.slideSpeed, function () { 1609 n.$element.trigger("down.zf.accordionMenu", [t]); 1610 })); 1611 }, 1612 }, 1613 { 1614 key: "up", 1615 value: function (t) { 1616 var e = this, 1617 n = t.find("[data-submenu]"), 1618 i = t.add(n); 1619 (n.slideUp(0), 1620 i.removeClass("is-active").attr("aria-hidden", !0), 1621 (this.options.submenuToggle 1622 ? i.prev(".submenu-toggle") 1623 : i.parent(".is-accordion-submenu-parent") 1624 ).attr("aria-expanded", !1), 1625 t.slideUp(this.options.slideSpeed, function () { 1626 e.$element.trigger("up.zf.accordionMenu", [t]); 1627 })); 1628 }, 1629 }, 1630 { 1631 key: "_destroy", 1632 value: function () { 1633 (this.$element 1634 .find("[data-submenu]") 1635 .slideDown(0) 1636 .css("display", ""), 1637 this.$element.find("a").off("click.zf.accordionMenu"), 1638 this.$element.find("[data-is-parent-link]").detach(), 1639 this.options.submenuToggle && 1640 (this.$element 1641 .find(".has-submenu-toggle") 1642 .removeClass("has-submenu-toggle"), 1643 this.$element.find(".submenu-toggle").remove()), 1644 s.Nest.Burn(this.$element, "accordion")); 1645 }, 1646 }, 1647 ]) && c(t.prototype, e), 1648 l 1649 ); 1650 })(); 1651 h.defaults = { 1652 parentLink: !1, 1653 slideSpeed: 250, 1654 submenuToggle: !1, 1655 submenuToggleText: "Toggle menu", 1656 multiOpen: !0, 1657 }; 1658 }, 1659
1659"./js/foundation.core.js": function (t, e, n) { 1660 "use strict"; 1661 (n.r(e), 1662 n.d(e, "Foundation", function () { 1663 return a; 1664 })); 1665 e = n("jquery"); 1666 var i = n.n(e), 1667 o = n("./js/foundation.core.utils.js"), 1668 s = n("./js/foundation.util.mediaQuery.js"); 1669 function r(t) { 1670 return (r = 1671 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 1672 ? function (t) { 1673 return typeof t; 1674 } 1675 : function (t) { 1676 return t && 1677 "function" == typeof Symbol && 1678 t.constructor === Symbol && 1679 t !== Symbol.prototype 1680 ? "symbol" 1681 : typeof t; 1682 })(t); 1683 } 1684 var a = { 1685 version: "6.7.4", 1686 _plugins: {}, 1687 _uuids: [], 1688 plugin: function (t, e) { 1689 var n = e || l(t); 1690 e = c(n); 1691 this._plugins[e] = this[n] = t; 1692 }, 1693 registerPlugin: function (t, e) { 1694 ((e = e ? c(e) : l(t.constructor).toLowerCase()), 1695 (t.uuid = Object(o.GetYoDigits)(6, e)), 1696 t.$element.attr("data-".concat(e)) || 1697 t.$element.attr("data-".concat(e), t.uuid), 1698 t.$element.data("zfPlugin") || t.$element.data("zfPlugin", t), 1699 t.$element.trigger("init.zf.".concat(e)), 1700 this._uuids.push(t.uuid)); 1701 }, 1702 unregisterPlugin: function (t) { 1703 var e, 1704 n = c(l(t.$element.data("zfPlugin").constructor)); 1705 for (e in (this._uuids.splice(this._uuids.indexOf(t.uuid), 1), 1706 t.$element 1707 .removeAttr("data-".concat(n)) 1708 .removeData("zfPlugin") 1709 .trigger("destroyed.zf.".concat(n)), 1710 t)) 1711 "function" == typeof t[e] && (t[e] = null); 1712 }, 1713 reInit: function (t) { 1714 var e, 1715 n, 1716 o = t instanceof i.a; 1717 try { 1718 o 1719 ? t.each(function () { 1720 i()(this).data("zfPlugin")._init(); 1721 }) 1722 : ((e = r(t)), 1723 (n = this), 1724 { 1725 object: function (t) { 1726 t.forEach(function (t) { 1727 ((t = c(t)), 1728 i()("[data-" + t + "]").foundation("_init")); 1729 }); 1730 }, 1731 string: function () { 1732 ((t = c(t)), i()("[data-" + t + "]").foundation("_init")); 1733 }, 1734 undefined: function () { 1735 this.object(Object.keys(n._plugins)); 1736 }, 1737 }[e](t)); 1738 } catch (t) { 1739 console.error(t); 1740 } finally { 1741 return t; 1742 } 1743 }, 1744 reflow: function (t, e) { 1745 void 0 === e 1746 ? (e = Object.keys(this._plugins)) 1747 : "string" == typeof e && (e = [e]); 1748 var n = this; 1749 i.a.each(e, function (e, o) { 1750 var s = n._plugins[o]; 1751 i()(t) 1752 .find("[data-" + o + "]") 1753 .addBack("[data-" + o + "]") 1754 .filter(function () { 1755 return void 0 === i()(this).data("zfPlugin"); 1756 }) 1757 .each(function () { 1758 var t = i()(this), 1759 e = { reflow: !0 }; 1760 t.attr("data-options") && 1761 t 1762 .attr("data-options") 1763 .split(";") 1764 .forEach(function (t) { 1765 (t = t.split(":").map(function (t) { 1766 return t.trim(); 1767 }))[0] && 1768 (e[t[0]] = (function (t) { 1769 return ( 1770 "true" === t || 1771 ("false" !== t && (isNaN(+t) ? t : parseFloat(t))) 1772 ); 1773 })(t[1])); 1774 }); 1775 try { 1776 t.data("zfPlugin", new s(i()(this), e)); 1777 } catch (t) { 1778 console.error(t); 1779 } finally { 1780 return; 1781 } 1782 }); 1783 }); 1784 }, 1785 getFnName: l, 1786 addToJquery: function () { 1787 return ( 1788 (i.a.fn.foundation = function (t) { 1789 var e = r(t), 1790 n = i()(".no-js"); 1791 if ((n.length && n.removeClass("no-js"), "undefined" === e)) 1792 (s.MediaQuery._init(), a.reflow(this)); 1793 else { 1794 if ("string" !== e) 1795 throw new TypeError( 1796 "We're sorry, ".concat( 1797 e, 1798 " is not a valid parameter. You must use a string representing the method you wish to invoke.", 1799 ), 1800 ); 1801 var o = Array.prototype.slice.call(arguments, 1), 1802 c = this.data("zfPlugin"); 1803 if (void 0 === c || void 0 === c[t]) 1804 throw new ReferenceError( 1805 "We're sorry, '" + 1806 t + 1807 "' is not an available method for " + 1808 (c ? l(c) : "this element") + 1809 ".", 1810 ); 1811 1 === this.length 1812 ? c[t].apply(c, o) 1813 : this.each(function (e, n) { 1814 c[t].apply(i()(n).data("zfPlugin"), o); 1815 }); 1816 } 1817 return this; 1818 }), 1819 i.a 1820 ); 1821 }, 1822 }; 1823 function l(t) {
1824 return void 0 !== Function.prototype.name 1825 ? (void 0 === t.prototype ? t : t.prototype).constructor.name 1826 : (t = /function\s([^(]{1,})\(/.exec(t.toString())) && 1 < t.length 1827 ? t[1].trim() 1828 : ""; 1829 } 1830 function c(t) { 1831 return t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(); 1832 } 1833 ((a.util = { 1834 throttle: function (t, e) { 1835 var n = null; 1836 return function () { 1837 var i = this, 1838 o = arguments; 1839 null === n && 1840 (n = setTimeout(function () { 1841 (t.apply(i, o), (n = null)); 1842 }, e)); 1843 }; 1844 }, 1845 }), 1846 (window.Foundation = a), 1847 (function () { 1848 (Date.now && window.Date.now) || 1849 (window.Date.now = Date.now = 1850 function () { 1851 return new Date().getTime(); 1852 }); 1853 for ( 1854 var t, e = ["webkit", "moz"], n = 0; 1855 n < e.length && !window.requestAnimationFrame; 1856 ++n 1857 ) { 1858 var i = e[n]; 1859 ((window.requestAnimationFrame = 1860 window[i + "RequestAnimationFrame"]), 1861 (window.cancelAnimationFrame = 1862 window[i + "CancelAnimationFrame"] || 1863 window[i + "CancelRequestAnimationFrame"])); 1864 } 1865 ((!/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent) && 1866 window.requestAnimationFrame && 1867 window.cancelAnimationFrame) || 1868 ((t = 0), 1869 (window.requestAnimationFrame = function (e) { 1870 var n = Date.now(), 1871 i = Math.max(t + 16, n); 1872 return setTimeout(function () { 1873 e((t = i)); 1874 }, i - n); 1875 }), 1876 (window.cancelAnimationFrame = clearTimeout)), 1877 (window.performance && window.performance.now) || 1878 (window.performance = { 1879 start: Date.now(), 1880 now: function () { 1881 return Date.now() - this.start; 1882 }, 1883 })); 1884 })(), 1885 Function.prototype.bind || 1886 (Function.prototype.bind = function (t) { 1887 if ("function" != typeof this) 1888 throw new TypeError( 1889 "Function.prototype.bind - what is trying to be bound is not callable", 1890 ); 1891 function e() { 1892 return i.apply( 1893 this instanceof o ? this : t, 1894 n.concat(Array.prototype.slice.call(arguments)), 1895 ); 1896 } 1897 var n = Array.prototype.slice.call(arguments, 1), 1898 i = this, 1899 o = function () {}; 1900 return ( 1901 this.prototype && (o.prototype = this.prototype), 1902 (e.prototype = new o()), 1903 e 1904 ); 1905 })); 1906 }, 1907
1907"./js/foundation.core.plugin.js": function (t, e, n) { 1908 "use strict"; 1909 (n.r(e), 1910 n.d(e, "Plugin", function () { 1911 return s; 1912 })); 1913 var i = n("./js/foundation.core.utils.js"); 1914 function o(t, e) { 1915 for (var n = 0; n < e.length; n++) { 1916 var i = e[n]; 1917 ((i.enumerable = i.enumerable || !1), 1918 (i.configurable = !0), 1919 "value" in i && (i.writable = !0), 1920 Object.defineProperty(t, i.key, i)); 1921 } 1922 } 1923 var s = (function () { 1924 function t(e, n) { 1925 (!(function (t, e) { 1926 if (!(t instanceof e)) 1927 throw new TypeError("Cannot call a class as a function"); 1928 })(this, t), 1929 this._setup(e, n), 1930 (n = r(this)), 1931 (this.uuid = Object(i.GetYoDigits)(6, n)), 1932 this.$element.attr("data-".concat(n)) || 1933 this.$element.attr("data-".concat(n), this.uuid), 1934 this.$element.data("zfPlugin") || 1935 this.$element.data("zfPlugin", this), 1936 this.$element.trigger("init.zf.".concat(n))); 1937 } 1938 var e, n; 1939 return ( 1940 (e = t), 1941 (n = [ 1942 { 1943 key: "destroy", 1944 value: function () { 1945 this._destroy(); 1946 var t, 1947 e = r(this); 1948 for (t in (this.$element 1949 .removeAttr("data-".concat(e)) 1950 .removeData("zfPlugin") 1951 .trigger("destroyed.zf.".concat(e)), 1952 this)) 1953 this.hasOwnProperty(t) && (this[t] = null); 1954 }, 1955 }, 1956 ]) && o(e.prototype, n), 1957 t 1958 ); 1959 })(); 1960 function r(t) { 1961 return t.className.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(); 1962 } 1963 }, 1964
1964"./js/foundation.core.utils.js": function (t, e, n) { 1965 "use strict"; 1966 (n.r(e), 1967 n.d(e, "rtl", function () { 1968 return o; 1969 }), 1970 n.d(e, "GetYoDigits", function () { 1971 return s; 1972 }), 1973 n.d(e, "RegExpEscape", function () { 1974 return r; 1975 }), 1976 n.d(e, "transitionend", function () { 1977 return a; 1978 }), 1979 n.d(e, "onLoad", function () { 1980 return l; 1981 }), 1982 n.d(e, "ignoreMousedisappear", function () { 1983 return c; 1984 })); 1985 e = n("jquery"); 1986 var i = n.n(e); 1987 function o() { 1988 return "rtl" === i()("html").attr("dir"); 1989 } 1990 function s() { 1991 for ( 1992 var t = 1993 0 < arguments.length && void 0 !== arguments[0] 1994 ? arguments[0] 1995 : 6, 1996 e = 1 < arguments.length ? arguments[1] : void 0, 1997 n = "", 1998 i = "0123456789abcdefghijklmnopqrstuvwxyz", 1999 o = i.length, 2000 s = 0; 2001 s < t; 2002 s++ 2003 ) 2004 n += i[Math.floor(Math.random() * o)]; 2005 return e ? "".concat(n, "-").concat(e) : n; 2006 } 2007 function r(t) { 2008 return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); 2009 } 2010 function a(t) { 2011 var e, 2012 n, 2013 i = { 2014 transition: "transitionend", 2015 WebkitTransition: "webkitTransitionEnd", 2016 MozTransition: "transitionend", 2017 OTransition: "otransitionend", 2018 }, 2019 o = document.createElement("div"); 2020 for (n in i) void 0 !== o.style[n] && (e = i[n]); 2021 return ( 2022 e || 2023 (setTimeout(function () { 2024 t.triggerHandler("transitionend", [t]); 2025 }, 1), 2026 "transitionend") 2027 ); 2028 } 2029 function l(t, e) { 2030 function n() { 2031 return t.triggerHandler(s); 2032 } 2033 var o = "complete" === document.readyState, 2034 s = (o ? "_didLoad" : "load") + ".zf.util.onLoad"; 2035 return ( 2036 t && 2037 (e && t.one(s, e), 2038 o ? setTimeout(n) : i()(window).one("load", n)), 2039 s 2040 ); 2041 } 2042 function c(t) { 2043 var e, 2044 n = (e = 2045 1 < arguments.length && void 0 !== arguments[1] 2046 ? arguments[1] 2047 : {}).ignoreLeaveWindow, 2048 o = void 0 !== n && n, 2049 s = void 0 !== (e = e.ignoreReappear) && e; 2050 return function (e) { 2051 for ( 2052 var n = arguments.length, r = new Array(1 < n ? n - 1 : 0), a = 1; 2053 a < n; 2054 a++ 2055 ) 2056 r[a - 1] = arguments[a]; 2057 var l = t.bind.apply(t, [this, e].concat(r)); 2058 if (null !== e.relatedTarget) return l(); 2059 setTimeout(function () { 2060 return o || !document.hasFocus || document.hasFocus() 2061 ? void ( 2062 s || 2063 i()(document).one("mouseenter", function (t) { 2064 i()(e.currentTarget).has(t.target).length || 2065 ((e.relatedTarget = t.target), l()); 2066 }) 2067 ) 2068 : l(); 2069 }, 0); 2070 }; 2071 } 2072 }, 2073
2073"./js/foundation.drilldown.js": function (t, e, n) { 2074 "use strict"; 2075 (n.r(e), 2076 n.d(e, "Drilldown", function () { 2077 return p; 2078 })); 2079 e = n("jquery"); 2080 var i = n.n(e), 2081 o = n("./js/foundation.util.keyboard.js"), 2082 s = n("./js/foundation.util.nest.js"), 2083 r = n("./js/foundation.core.utils.js"), 2084 a = n("./js/foundation.util.box.js"), 2085 l = n("./js/foundation.core.plugin.js"); 2086 function c(t) { 2087 return (c = 2088 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 2089 ? function (t) { 2090 return typeof t; 2091 } 2092 : function (t) { 2093 return t && 2094 "function" == typeof Symbol && 2095 t.constructor === Symbol && 2096 t !== Symbol.prototype 2097 ? "symbol" 2098 : typeof t; 2099 })(t); 2100 } 2101 function u(t, e) { 2102 for (var n = 0; n < e.length; n++) { 2103 var i = e[n]; 2104 ((i.enumerable = i.enumerable || !1), 2105 (i.configurable = !0), 2106 "value" in i && (i.writable = !0), 2107 Object.defineProperty(t, i.key, i)); 2108 } 2109 } 2110 function f(t, e) { 2111 return (f = 2112 Object.setPrototypeOf || 2113 function (t, e) { 2114 return ((t.__proto__ = e), t); 2115 })(t, e); 2116 } 2117 function d(t) { 2118 var e = (function () { 2119 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 2120 if (Reflect.construct.sham) return !1; 2121 if ("function" == typeof Proxy) return !0; 2122 try { 2123 return ( 2124 Boolean.prototype.valueOf.call( 2125 Reflect.construct(Boolean, [], function () {}), 2126 ), 2127 !0 2128 ); 2129 } catch (t) { 2130 return !1; 2131 } 2132 })(); 2133 return function () { 2134 var n, 2135 i = h(t); 2136 return (function (t, e) { 2137 if (e && ("object" === c(e) || "function" == typeof e)) return e; 2138 if (void 0 !== e) 2139 throw new TypeError( 2140 "Derived constructors may only return object or undefined", 2141 ); 2142 return (function (t) { 2143 if (void 0 !== t) return t; 2144 throw new ReferenceError( 2145 "this hasn't been initialised - super() hasn't been called", 2146 ); 2147 })(t); 2148 })( 2149 this, 2150 e 2151 ? ((n = h(this).constructor), 2152 Reflect.construct(i, arguments, n)) 2153 : i.apply(this, arguments), 2154 ); 2155 }; 2156 } 2157 function h(t) { 2158 return (h = Object.setPrototypeOf 2159 ? Object.getPrototypeOf 2160 : function (t) { 2161 return t.__proto__ || Object.getPrototypeOf(t); 2162 })(t); 2163 } 2164 var p = (function () { 2165 !(function (t, e) { 2166 if ("function" != typeof e && null !== e) 2167 throw new TypeError( 2168 "Super expression must either be null or a function", 2169 ); 2170 ((t.prototype = Object.create(e && e.prototype, { 2171 constructor: { value: t, writable: !0, configurable: !0 }, 2172 })), 2173 e && f(t, e)); 2174 })(c, l.Plugin); 2175 var t, 2176 e, 2177 n = d(c); 2178 function c() { 2179 return ( 2180 (function (t, e) { 2181 if (!(t instanceof e)) 2182 throw new TypeError("Cannot call a class as a function"); 2183 })(this, c), 2184 n.apply(this, arguments) 2185 ); 2186 } 2187 return ( 2188 (t = c), 2189 (e = [ 2190 { 2191 key: "_setup", 2192 value: function (t, e) { 2193 ((this.$element = t), 2194 (this.options = i.a.extend( 2195 {}, 2196 c.defaults, 2197 this.$element.data(), 2198 e, 2199 )), 2200 (this.className = "Drilldown"), 2201 this._init(), 2202 o.Keyboard.register("Drilldown", { 2203 ENTER: "open", 2204 SPACE: "open", 2205 ARROW_RIGHT: "next", 2206 ARROW_UP: "up", 2207 ARROW_DOWN: "down", 2208 ARROW_LEFT: "previous", 2209 ESCAPE: "close", 2210 })); 2211 }, 2212 }, 2213 { 2214 key: "_init", 2215 value: function () { 2216 (s.Nest.Feather(this.$element, "drilldown"), 2217 this.options.autoApplyClass && 2218 this.$element.addClass("drilldown"), 2219 this.$element.attr({ "aria-multiselectable": !1 }), 2220 (this.$submenuAnchors = this.$element 2221 .find("li.is-drilldown-submenu-parent") 2222 .children("a")), 2223 (this.$submenus = this.$submenuAnchors 2224 .parent("li") 2225 .children("[data-submenu]") 2226 .attr("role", "group")), 2227 (this.$menuItems = this.$element 2228 .find("li") 2229 .not(".js-drilldown-back") 2230 .find("a")), 2231 (this.$currentMenu = this.$element), 2232 this.$element.attr( 2233 "data-mutate", 2234 this.$element.attr("data-drilldown") || 2235 Object(r.GetYoDigits)(6, "drilldown"), 2236 ), 2237 this._prepareMenu(), 2238 this._registerEvents(), 2239 this._keyboardEvents()); 2240 }, 2241 }, 2242 { 2243 key: "_prepareMenu", 2244 value: function () { 2245 var t = this; 2246 (this.$submenuAnchors.each(function () { 2247 var e = i()(this), 2248 n = e.parent(); 2249 (t.options.parentLink && 2250 e 2251 .clone() 2252 .prependTo(n.children("[data-submenu]")) 2253 .wrap( 2254 '<li data-is-parent-link class="is-submenu-parent-item is-submenu-item is-drilldown-submenu-item" role="none"></li>', 2255 ), 2256 e 2257 .data("savedHref", e.attr("href")) 2258 .removeAttr("href") 2259 .attr("tabindex", 0), 2260 e.children("[data-submenu]").attr({ 2261 "aria-hidden": !0, 2262 tabindex: 0, 2263 role: "group", 2264 }), 2265 t._events(e)); 2266 }), 2267 this.$submenus.each(function () { 2268 var e = i()(this); 2269 if (!e.find(".js-drilldown-back").length) 2270 switch (t.options.backButtonPosition) { 2271 case "bottom": 2272 e.append(t.options.backButton); 2273 break; 2274 case "top": 2275 e.prepend(t.options.backButton); 2276 break; 2277 default: 2278 console.error( 2279 "Unsupported backButtonPosition value '" + 2280 t.options.backButtonPosition + 2281 "'", 2282 ); 2283 } 2284 t._back(e); 2285 }), 2286 this.$submenus.addClass("invisible"), 2287 this.options.autoHeight || 2288 this.$submenus.addClass( 2289 "drilldown-submenu-cover-previous", 2290 ), 2291 this.$element.parent().hasClass("is-drilldown") || 2292 ((this.$wrapper = i()(this.options.wrapper).addClass( 2293 "is-drilldown", 2294 )), 2295 this.options.animateHeight && 2296 this.$wrapper.addClass("animate-height"), 2297 this.$element.wrap(this.$wrapper)), 2298 (this.$wrapper = this.$element.parent()), 2299 this.$wrapper.css(this._getMaxDims())); 2300 }, 2301 }, 2302 { 2303 key: "_resize", 2304 value: function () { 2305 (this.$wrapper.css({ 2306 "max-width": "none", 2307 "min-height": "none", 2308 }), 2309 this.$wrapper.css(this._getMaxDims())); 2310 }, 2311 }, 2312 { 2313 key: "_events", 2314 value: function (t) { 2315 var e = this; 2316 t.off("click.zf.drilldown").on( 2317 "click.zf.drilldown", 2318 function (n) { 2319 var o; 2320 (i()(n.target) 2321 .parentsUntil("ul", "li") 2322 .hasClass("is-drilldown-submenu-parent") && 2323 n.preventDefault(), 2324 e._show(t.parent("li")), 2325 e.options.closeOnClick && 2326 (o = i()("body")) 2327 .off(".zf.drilldown") 2328 .on("click.zf.drilldown", function (t) { 2329 t.target === e.$element[0] || 2330 i.a.contains(e.$element[0], t.target) || 2331 (t.preventDefault(), 2332 e._hideAll(), 2333 o.off(".zf.drilldown")); 2334 })); 2335 }, 2336 ); 2337 }, 2338 }, 2339 { 2340 key: "_registerEvents", 2341 value: function () { 2342 (this.options.scrollTop && 2343 ((this._bindHandler = this._scrollTop.bind(this)), 2344 this.$element.on( 2345 "open.zf.drilldown hide.zf.drilldown close.zf.drilldown closed.zf.drilldown", 2346 this._bindHandler, 2347 )), 2348 this.$element.on( 2349 "mutateme.zf.trigger", 2350 this._resize.bind(this), 2351 )); 2352 }, 2353 }, 2354 { 2355 key: "_scrollTop", 2356 value: function () { 2357 var t = this, 2358 e = 2359 "" !== t.options.scrollTopElement 2360 ? i()(t.options.scrollTopElement) 2361 : t.$element; 2362 e = parseInt(e.offset().top + t.options.scrollTopOffset, 10); 2363 i()("html, body") 2364 .stop(!0) 2365 .animate( 2366 { scrollTop: e }, 2367 t.options.animationDuration, 2368 t.options.animationEasing, 2369 function () { 2370 this === i()("html")[0] && 2371 t.$element.trigger("scrollme.zf.drilldown"); 2372 }, 2373 ); 2374 }, 2375 }, 2376 { 2377 key: "_keyboardEvents", 2378 value: function () { 2379 var t = this; 2380 this.$menuItems 2381 .add( 2382 this.$element.find( 2383 ".js-drilldown-back > a, .is-submenu-parent-item > a", 2384 ), 2385 )
2386 .on("keydown.zf.drilldown", function (e) { 2387 var n, 2388 s, 2389 a = i()(this), 2390 l = a 2391 .parent("li") 2392 .parent("ul") 2393 .children("li") 2394 .children("a"); 2395 (l.each(function (t) { 2396 i()(this).is(a) && 2397 ((n = l.eq(Math.max(0, t - 1))), 2398 (s = l.eq(Math.min(t + 1, l.length - 1)))); 2399 }), 2400 o.Keyboard.handleKey(e, "Drilldown", { 2401 next: function () { 2402 if (a.is(t.$submenuAnchors)) 2403 return ( 2404 t._show(a.parent("li")), 2405 a 2406 .parent("li") 2407 .one(Object(r.transitionend)(a), function () { 2408 a.parent("li") 2409 .find("ul li a") 2410 .not(".js-drilldown-back a") 2411 .first() 2412 .focus(); 2413 }), 2414 !0 2415 ); 2416 }, 2417 previous: function () { 2418 return ( 2419 t._hide(a.parent("li").parent("ul")), 2420 a 2421 .parent("li") 2422 .parent("ul") 2423 .one(Object(r.transitionend)(a), function () { 2424 setTimeout(function () { 2425 a.parent("li") 2426 .parent("ul") 2427 .parent("li") 2428 .children("a") 2429 .first() 2430 .focus(); 2431 }, 1); 2432 }), 2433 !0 2434 ); 2435 }, 2436 up: function () { 2437 return ( 2438 n.focus(), 2439 !a.is(t.$element.find("> li:first-child > a")) 2440 ); 2441 }, 2442 down: function () { 2443 return ( 2444 s.focus(), 2445 !a.is(t.$element.find("> li:last-child > a")) 2446 ); 2447 }, 2448 close: function () { 2449 a.is(t.$element.find("> li > a")) || 2450 (t._hide(a.parent().parent()), 2451 a.parent().parent().siblings("a").focus()); 2452 }, 2453 open: function () { 2454 return ( 2455 (!t.options.parentLink || !a.attr("href")) && 2456 (a.is(t.$menuItems) 2457 ? a.is(t.$submenuAnchors) 2458 ? (t._show(a.parent("li")), 2459 a 2460 .parent("li") 2461 .one( 2462 Object(r.transitionend)(a), 2463 function () { 2464 a.parent("li") 2465 .find("ul li a") 2466 .not(".js-drilldown-back a") 2467 .first() 2468 .focus(); 2469 }, 2470 ), 2471 !0) 2472 : void 0 2473 : (t._hide(a.parent("li").parent("ul")), 2474 a 2475 .parent("li") 2476 .parent("ul") 2477 .one( 2478 Object(r.transitionend)(a), 2479 function () { 2480 setTimeout(function () { 2481 a.parent("li") 2482 .parent("ul") 2483 .parent("li") 2484 .children("a") 2485 .first() 2486 .focus(); 2487 }, 1); 2488 }, 2489 ), 2490 !0)) 2491 ); 2492 }, 2493 handled: function (t) { 2494 t && e.preventDefault(); 2495 }, 2496 })); 2497 }); 2498 }, 2499 }, 2500 { 2501 key: "_hideAll", 2502 value: function () { 2503 var t, 2504 e = this,
2505 n = this.$element.find(".is-drilldown-submenu.is-active"); 2506 (n.addClass("is-closing"), 2507 this.options.autoHeight && 2508 ((t = n.parent().closest("ul").data("calcHeight")), 2509 this.$wrapper.css({ height: t })), 2510 this.$element.trigger("close.zf.drilldown"), 2511 n.one(Object(r.transitionend)(n), function () { 2512 (n.removeClass("is-active is-closing"), 2513 e.$element.trigger("closed.zf.drilldown")); 2514 })); 2515 }, 2516 }, 2517 { 2518 key: "_back", 2519 value: function (t) { 2520 var e = this; 2521 (t.off("click.zf.drilldown"), 2522 t 2523 .children(".js-drilldown-back") 2524 .on("click.zf.drilldown", function () { 2525 e._hide(t); 2526 var n = t.parent("li").parent("ul").parent("li"); 2527 n.length ? e._show(n) : (e.$currentMenu = e.$element); 2528 })); 2529 }, 2530 }, 2531 { 2532 key: "_menuLinkEvents", 2533 value: function () { 2534 var t = this; 2535 this.$menuItems 2536 .not(".is-drilldown-submenu-parent") 2537 .off("click.zf.drilldown") 2538 .on("click.zf.drilldown", function () { 2539 setTimeout(function () { 2540 t._hideAll(); 2541 }, 0); 2542 }); 2543 }, 2544 }, 2545 { 2546 key: "_setShowSubMenuClasses", 2547 value: function (t, e) { 2548 (t 2549 .addClass("is-active") 2550 .removeClass("invisible") 2551 .attr("aria-hidden", !1), 2552 t.parent("li").attr("aria-expanded", !0), 2553 !0 === e && 2554 this.$element.trigger("open.zf.drilldown", [t])); 2555 }, 2556 }, 2557 { 2558 key: "_setHideSubMenuClasses", 2559 value: function (t, e) { 2560 (t 2561 .removeClass("is-active") 2562 .addClass("invisible") 2563 .attr("aria-hidden", !0), 2564 t.parent("li").attr("aria-expanded", !1), 2565 !0 === e && t.trigger("hide.zf.drilldown", [t])); 2566 }, 2567 }, 2568 { 2569 key: "_showMenu", 2570 value: function (t, e) { 2571 var n = this; 2572 if ( 2573 (this.$element 2574 .find('li[aria-expanded="true"] > ul[data-submenu]') 2575 .each(function () { 2576 n._setHideSubMenuClasses(i()(this)); 2577 }), 2578 (this.$currentMenu = t).is("[data-drilldown]")) 2579 ) 2580 return ( 2581 !0 === e && t.find("li > a").first().focus(), 2582 void ( 2583 this.options.autoHeight && 2584 this.$wrapper.css("height", t.data("calcHeight")) 2585 ) 2586 ); 2587 var o = t 2588 .children() 2589 .first() 2590 .parentsUntil("[data-drilldown]", "[data-submenu]"); 2591 o.each(function (s) { 2592 (0 === s && 2593 n.options.autoHeight && 2594 n.$wrapper.css("height", i()(this).data("calcHeight")), 2595 1 == (s = s === o.length - 1) && 2596 i()(this).one( 2597 Object(r.transitionend)(i()(this)), 2598 function () { 2599 !0 === e && t.find("li > a").first().focus(); 2600 }, 2601 ), 2602 n._setShowSubMenuClasses(i()(this), s)); 2603 }); 2604 }, 2605 }, 2606 { 2607 key: "_show", 2608 value: function (t) { 2609 var e = t.children("[data-submenu]"); 2610 (t.attr("aria-expanded", !0), 2611 (this.$currentMenu = e), 2612 t.parent().closest("ul").addClass("invisible"), 2613 e 2614 .addClass("is-active visible") 2615 .removeClass("invisible") 2616 .attr("aria-hidden", !1), 2617 this.options.autoHeight && 2618 this.$wrapper.css({ height: e.data("calcHeight") }), 2619 this.$element.trigger("open.zf.drilldown", [t])); 2620 }, 2621 }, 2622 { 2623 key: "_hide", 2624 value: function (t) { 2625 (this.options.autoHeight && 2626 this.$wrapper.css({ 2627 height: t.parent().closest("ul").data("calcHeight"), 2628 }), 2629 t.parent().closest("ul").removeClass("invisible"), 2630 t.parent("li").attr("aria-expanded", !1), 2631 t.attr("aria-hidden", !0), 2632 t 2633 .addClass("is-closing") 2634 .one(Object(r.transitionend)(t), function () { 2635 (t.removeClass("is-active is-closing visible"), 2636 t.blur().addClass("invisible")); 2637 }), 2638 t.trigger("hide.zf.drilldown", [t])); 2639 }, 2640 }, 2641 { 2642 key: "_getMaxDims", 2643 value: function () { 2644 var t = 0, 2645 e = {}, 2646 n = this; 2647 return ( 2648 this.$submenus.add(this.$element).each(function () { 2649 var e = a.Box.GetDimensions(this).height; 2650 ((t = t < e ? e : t), 2651 n.options.autoHeight && 2652 i()(this).data("calcHeight", e)); 2653 }), 2654 this.options.autoHeight 2655 ? (e.height = this.$currentMenu.data("calcHeight")) 2656 : (e["min-height"] = "".concat(t, "px")), 2657 (e["max-width"] = "".concat( 2658 this.$element[0].getBoundingClientRect().width, 2659 "px", 2660 )), 2661 e 2662 ); 2663 }, 2664 }, 2665 { 2666 key: "_destroy", 2667 value: function () { 2668 (i()("body").off(".zf.drilldown"), 2669 this.options.scrollTop && 2670 this.$element.off(".zf.drilldown", this._bindHandler), 2671 this._hideAll(), 2672 this.$element.off("mutateme.zf.trigger"), 2673 s.Nest.Burn(this.$element, "drilldown"), 2674 this.$element 2675 .unwrap() 2676 .find(".js-drilldown-back, .is-submenu-parent-item") 2677 .remove() 2678 .end()
2679 .find(".is-active, .is-closing, .is-drilldown-submenu") 2680 .removeClass("is-active is-closing is-drilldown-submenu") 2681 .off("transitionend otransitionend webkitTransitionEnd") 2682 .end() 2683 .find("[data-submenu]") 2684 .removeAttr("aria-hidden tabindex role"), 2685 this.$submenuAnchors.each(function () { 2686 i()(this).off(".zf.drilldown"); 2687 }), 2688 this.$element.find("[data-is-parent-link]").detach(), 2689 this.$submenus.removeClass( 2690 "drilldown-submenu-cover-previous invisible", 2691 ), 2692 this.$element.find("a").each(function () { 2693 var t = i()(this); 2694 (t.removeAttr("tabindex"), 2695 t.data("savedHref") && 2696 t 2697 .attr("href", t.data("savedHref")) 2698 .removeData("savedHref")); 2699 })); 2700 }, 2701 }, 2702 ]) && u(t.prototype, e), 2703 c 2704 ); 2705 })(); 2706 p.defaults = { 2707 autoApplyClass: !0, 2708 backButton: 2709 '<li class="js-drilldown-back"><a tabindex="0">Back</a></li>', 2710 backButtonPosition: "top", 2711 wrapper: "<div></div>", 2712 parentLink: !1, 2713 closeOnClick: !1, 2714 autoHeight: !1, 2715 animateHeight: !1, 2716 scrollTop: !1, 2717 scrollTopElement: "", 2718 scrollTopOffset: 0, 2719 animationDuration: 500, 2720 animationEasing: "swing", 2721 }; 2722 }, 2723
2723"./js/foundation.dropdown.js": function (t, e, n) { 2724 "use strict"; 2725 (n.r(e), 2726 n.d(e, "Dropdown", function () { 2727 return m; 2728 })); 2729 e = n("jquery"); 2730 var i = n.n(e), 2731 o = n("./js/foundation.util.keyboard.js"), 2732 s = n("./js/foundation.core.utils.js"), 2733 r = n("./js/foundation.positionable.js"), 2734 a = n("./js/foundation.util.triggers.js"), 2735 l = n("./js/foundation.util.touch.js"); 2736 function c(t) { 2737 return (c = 2738 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 2739 ? function (t) { 2740 return typeof t; 2741 } 2742 : function (t) { 2743 return t && 2744 "function" == typeof Symbol && 2745 t.constructor === Symbol && 2746 t !== Symbol.prototype 2747 ? "symbol" 2748 : typeof t; 2749 })(t); 2750 } 2751 function u(t, e) { 2752 for (var n = 0; n < e.length; n++) { 2753 var i = e[n]; 2754 ((i.enumerable = i.enumerable || !1), 2755 (i.configurable = !0), 2756 "value" in i && (i.writable = !0), 2757 Object.defineProperty(t, i.key, i)); 2758 } 2759 } 2760 function f(t, e, n) { 2761 return (f = 2762 "undefined" != typeof Reflect && Reflect.get 2763 ? Reflect.get 2764 : function (t, e, n) { 2765 if ( 2766 ((t = (function (t, e) { 2767 for ( 2768 ; 2769 !Object.prototype.hasOwnProperty.call(t, e) && 2770 null !== (t = p(t)); 2771 ); 2772 return t; 2773 })(t, e)), 2774 t) 2775 ) 2776 return (e = Object.getOwnPropertyDescriptor(t, e)).get 2777 ? e.get.call(n) 2778 : e.value; 2779 })(t, e, n || t); 2780 } 2781 function d(t, e) { 2782 return (d = 2783 Object.setPrototypeOf || 2784 function (t, e) { 2785 return ((t.__proto__ = e), t); 2786 })(t, e); 2787 } 2788 function h(t) { 2789 var e = (function () { 2790 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 2791 if (Reflect.construct.sham) return !1; 2792 if ("function" == typeof Proxy) return !0; 2793 try { 2794 return ( 2795 Boolean.prototype.valueOf.call( 2796 Reflect.construct(Boolean, [], function () {}), 2797 ), 2798 !0 2799 ); 2800 } catch (t) { 2801 return !1; 2802 } 2803 })(); 2804 return function () { 2805 var n, 2806 i = p(t); 2807 return (function (t, e) { 2808 if (e && ("object" === c(e) || "function" == typeof e)) return e; 2809 if (void 0 !== e) 2810 throw new TypeError( 2811 "Derived constructors may only return object or undefined", 2812 ); 2813 return (function (t) { 2814 if (void 0 !== t) return t; 2815 throw new ReferenceError( 2816 "this hasn't been initialised - super() hasn't been called", 2817 ); 2818 })(t); 2819 })( 2820 this, 2821 e 2822 ? ((n = p(this).constructor), 2823 Reflect.construct(i, arguments, n)) 2824 : i.apply(this, arguments), 2825 ); 2826 }; 2827 } 2828 function p(t) { 2829 return (p = Object.setPrototypeOf 2830 ? Object.getPrototypeOf 2831 : function (t) { 2832 return t.__proto__ || Object.getPrototypeOf(t); 2833 })(t); 2834 } 2835 var m = (function () { 2836 !(function (t, e) { 2837 if ("function" != typeof e && null !== e) 2838 throw new TypeError( 2839 "Super expression must either be null or a function", 2840 ); 2841 ((t.prototype = Object.create(e && e.prototype, { 2842 constructor: { value: t, writable: !0, configurable: !0 },
2843 })), 2844 e && d(t, e)); 2845 })(c, r.Positionable); 2846 var t, 2847 e, 2848 n = h(c); 2849 function c() { 2850 return ( 2851 (function (t, e) { 2852 if (!(t instanceof e)) 2853 throw new TypeError("Cannot call a class as a function"); 2854 })(this, c), 2855 n.apply(this, arguments) 2856 ); 2857 } 2858 return ( 2859 (t = c), 2860 (e = [ 2861 { 2862 key: "_setup", 2863 value: function (t, e) { 2864 ((this.$element = t), 2865 (this.options = i.a.extend( 2866 {}, 2867 c.defaults, 2868 this.$element.data(), 2869 e, 2870 )), 2871 (this.className = "Dropdown"), 2872 l.Touch.init(i.a), 2873 a.Triggers.init(i.a), 2874 this._init(), 2875 o.Keyboard.register("Dropdown", { 2876 ENTER: "toggle", 2877 SPACE: "toggle", 2878 ESCAPE: "close", 2879 })); 2880 }, 2881 }, 2882 { 2883 key: "_init", 2884 value: function () { 2885 var t = this.$element.attr("id"); 2886 ((this.$anchors = i()('[data-toggle="'.concat(t, '"]')).length 2887 ? i()('[data-toggle="'.concat(t, '"]')) 2888 : i()('[data-open="'.concat(t, '"]'))), 2889 this.$anchors.attr({ 2890 "aria-controls": t, 2891 "data-is-focus": !1, 2892 "data-yeti-box": t, 2893 "aria-haspopup": !0, 2894 "aria-expanded": !1, 2895 }), 2896 this._setCurrentAnchor(this.$anchors.first()), 2897 this.options.parentClass 2898 ? (this.$parent = this.$element.parents( 2899 "." + this.options.parentClass, 2900 )) 2901 : (this.$parent = null), 2902 void 0 === this.$element.attr("aria-labelledby") && 2903 (void 0 === this.$currentAnchor.attr("id") && 2904 this.$currentAnchor.attr( 2905 "id", 2906 Object(s.GetYoDigits)(6, "dd-anchor"), 2907 ), 2908 this.$element.attr( 2909 "aria-labelledby", 2910 this.$currentAnchor.attr("id"), 2911 )), 2912 this.$element.attr({ 2913 "aria-hidden": "true", 2914 "data-yeti-box": t, 2915 "data-resize": t, 2916 }), 2917 f(p(c.prototype), "_init", this).call(this), 2918 this._events()); 2919 }, 2920 }, 2921 { 2922 key: "_getDefaultPosition", 2923 value: function () { 2924 var t = this.$element[0].className.match( 2925 /(top|left|right|bottom)/g, 2926 ); 2927 return t ? t[0] : "bottom"; 2928 }, 2929 }, 2930 { 2931 key: "_getDefaultAlignment", 2932 value: function () { 2933 var t = /float-(\S+)/.exec(this.$currentAnchor.attr("class")); 2934 return t 2935 ? t[1] 2936 : f(p(c.prototype), "_getDefaultAlignment", this).call( 2937 this, 2938 ); 2939 }, 2940 }, 2941 { 2942 key: "_setPosition", 2943 value: function () { 2944 (this.$element.removeClass( 2945 "has-position-" 2946 .concat(this.position, " has-alignment-") 2947 .concat(this.alignment), 2948 ), 2949 f(p(c.prototype), "_setPosition", this).call( 2950 this, 2951 this.$currentAnchor, 2952 this.$element, 2953 this.$parent, 2954 ), 2955 this.$element.addClass( 2956 "has-position-" 2957 .concat(this.position, " has-alignment-") 2958 .concat(this.alignment), 2959 )); 2960 }, 2961 }, 2962 { 2963 key: "_setCurrentAnchor", 2964 value: function (t) { 2965 this.$currentAnchor = i()(t); 2966 }, 2967 }, 2968 { 2969 key: "_events", 2970 value: function () { 2971 var t = this, 2972 e = 2973 "ontouchstart" in window || 2974 void 0 !== window.ontouchstart; 2975 (this.$element.on({ 2976 "open.zf.trigger": this.open.bind(this), 2977 "close.zf.trigger": this.close.bind(this), 2978 "toggle.zf.trigger": this.toggle.bind(this), 2979 "resizeme.zf.trigger": this._setPosition.bind(this), 2980 }), 2981 this.$anchors 2982 .off("click.zf.trigger") 2983 .on("click.zf.trigger", function (n) { 2984 (t._setCurrentAnchor(this), 2985 (!1 === t.options.forceFollow || 2986 (e && 2987 t.options.hover && 2988 !1 === t.$element.hasClass("is-open"))) && 2989 n.preventDefault()); 2990 }), 2991 this.options.hover && 2992 (this.$anchors 2993 .off("mouseenter.zf.dropdown mouseleave.zf.dropdown") 2994 .on("mouseenter.zf.dropdown", function () { 2995 t._setCurrentAnchor(this); 2996 var e = i()("body").data(); 2997 (void 0 !== e.whatinput && "mouse" !== e.whatinput) || 2998 (clearTimeout(t.timeout), 2999 (t.timeout = setTimeout(function () { 3000 (t.open(), t.$anchors.data("hover", !0)); 3001 }, t.options.hoverDelay))); 3002 }) 3003 .on( 3004 "mouseleave.zf.dropdown", 3005 Object(s.ignoreMousedisappear)(function () { 3006 (clearTimeout(t.timeout), 3007 (t.timeout = setTimeout(function () { 3008 (t.close(), t.$anchors.data("hover", !1)); 3009 }, t.options.hoverDelay))); 3010 }), 3011 ), 3012 this.options.hoverPane && 3013 this.$element 3014 .off("mouseenter.zf.dropdown mouseleave.zf.dropdown") 3015 .on("mouseenter.zf.dropdown", function () { 3016 clearTimeout(t.timeout); 3017 }) 3018 .on( 3019 "mouseleave.zf.dropdown", 3020 Object(s.ignoreMousedisappear)(function () { 3021 (clearTimeout(t.timeout), 3022 (t.timeout = setTimeout(function () { 3023 (t.close(), t.$anchors.data("hover", !1)); 3024 }, t.options.hoverDelay))); 3025 }), 3026 )), 3027 this.$anchors 3028 .add(this.$element)
3029 .on("keydown.zf.dropdown", function (e) { 3030 var n = i()(this); 3031 o.Keyboard.handleKey(e, "Dropdown", { 3032 open: function () { 3033 n.is(t.$anchors) && 3034 !n.is("input, textarea") && 3035 (t.open(), 3036 t.$element.attr("tabindex", -1).focus(), 3037 e.preventDefault()); 3038 }, 3039 close: function () { 3040 (t.close(), t.$anchors.focus()); 3041 }, 3042 }); 3043 })); 3044 }, 3045 }, 3046 { 3047 key: "_addBodyHandler", 3048 value: function () { 3049 var t = i()(document.body).not(this.$element), 3050 e = this; 3051 t.off("click.zf.dropdown tap.zf.dropdown").on( 3052 "click.zf.dropdown tap.zf.dropdown", 3053 function (n) { 3054 e.$anchors.is(n.target) || 3055 e.$anchors.find(n.target).length || 3056 e.$element.is(n.target) || 3057 e.$element.find(n.target).length || 3058 (e.close(), t.off("click.zf.dropdown tap.zf.dropdown")); 3059 }, 3060 ); 3061 }, 3062 }, 3063 { 3064 key: "open", 3065 value: function () { 3066 var t; 3067 (this.$element.trigger( 3068 "closeme.zf.dropdown", 3069 this.$element.attr("id"), 3070 ), 3071 this.$anchors 3072 .addClass("hover") 3073 .attr({ "aria-expanded": !0 }), 3074 this.$element.addClass("is-opening"), 3075 this._setPosition(), 3076 this.$element 3077 .removeClass("is-opening") 3078 .addClass("is-open") 3079 .attr({ "aria-hidden": !1 }), 3080 !this.options.autoFocus || 3081 ((t = o.Keyboard.findFocusable(this.$element)).length && 3082 t.eq(0).focus()), 3083 this.options.closeOnClick && this._addBodyHandler(), 3084 this.options.trapFocus && 3085 o.Keyboard.trapFocus(this.$element), 3086 this.$element.trigger("show.zf.dropdown", [this.$element])); 3087 }, 3088 }, 3089 { 3090 key: "close", 3091 value: function () { 3092 if (!this.$element.hasClass("is-open")) return !1; 3093 (this.$element 3094 .removeClass("is-open") 3095 .attr({ "aria-hidden": !0 }), 3096 this.$anchors 3097 .removeClass("hover") 3098 .attr("aria-expanded", !1), 3099 this.$element.trigger("hide.zf.dropdown", [this.$element]), 3100 this.options.trapFocus && 3101 o.Keyboard.releaseFocus(this.$element)); 3102 }, 3103 }, 3104 { 3105 key: "toggle", 3106 value: function () { 3107 this.$element.hasClass("is-open") 3108 ? this.$anchors.data("hover") || this.close() 3109 : this.open(); 3110 }, 3111 }, 3112 { 3113 key: "_destroy", 3114 value: function () { 3115 (this.$element.off(".zf.trigger").hide(), 3116 this.$anchors.off(".zf.dropdown"), 3117 i()(document.body).off( 3118 "click.zf.dropdown tap.zf.dropdown", 3119 )); 3120 }, 3121 }, 3122 ]) && u(t.prototype, e), 3123 c 3124 ); 3125 })(); 3126 m.defaults = { 3127 parentClass: null, 3128 hoverDelay: 250, 3129 hover: !1, 3130 hoverPane: !1, 3131 vOffset: 0, 3132 hOffset: 0, 3133 position: "auto", 3134 alignment: "auto", 3135 allowOverlap: !1, 3136 allowBottomOverlap: !0, 3137 trapFocus: !1, 3138 autoFocus: !1, 3139 closeOnClick: !1, 3140 forceFollow: !0, 3141 }; 3142 }, 3143
3143"./js/foundation.dropdownMenu.js": function (t, e, n) { 3144 "use strict"; 3145 (n.r(e), 3146 n.d(e, "DropdownMenu", function () { 3147 return m; 3148 })); 3149 e = n("jquery"); 3150 var i = n.n(e), 3151 o = n("./js/foundation.core.plugin.js"), 3152 s = n("./js/foundation.core.utils.js"), 3153 r = n("./js/foundation.util.keyboard.js"), 3154 a = n("./js/foundation.util.nest.js"), 3155 l = n("./js/foundation.util.box.js"), 3156 c = n("./js/foundation.util.touch.js"); 3157 function u(t) { 3158 return (u = 3159 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 3160 ? function (t) { 3161 return typeof t; 3162 } 3163 : function (t) { 3164 return t && 3165 "function" == typeof Symbol && 3166 t.constructor === Symbol && 3167 t !== Symbol.prototype 3168 ? "symbol" 3169 : typeof t; 3170 })(t); 3171 } 3172 function f(t, e) { 3173 for (var n = 0; n < e.length; n++) { 3174 var i = e[n]; 3175 ((i.enumerable = i.enumerable || !1), 3176 (i.configurable = !0), 3177 "value" in i && (i.writable = !0), 3178 Object.defineProperty(t, i.key, i)); 3179 } 3180 } 3181 function d(t, e) { 3182 return (d = 3183 Object.setPrototypeOf || 3184 function (t, e) { 3185 return ((t.__proto__ = e), t); 3186 })(t, e); 3187 } 3188 function h(t) { 3189 var e = (function () { 3190 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 3191 if (Reflect.construct.sham) return !1; 3192 if ("function" == typeof Proxy) return !0; 3193 try { 3194 return ( 3195 Boolean.prototype.valueOf.call( 3196 Reflect.construct(Boolean, [], function () {}), 3197 ), 3198 !0 3199 ); 3200 } catch (t) { 3201 return !1; 3202 } 3203 })(); 3204 return function () { 3205 var n, 3206 i = p(t); 3207 return (function (t, e) { 3208 if (e && ("object" === u(e) || "function" == typeof e)) return e; 3209 if (void 0 !== e) 3210 throw new TypeError( 3211 "Derived constructors may only return object or undefined", 3212 ); 3213 return (function (t) { 3214 if (void 0 !== t) return t; 3215 throw new ReferenceError( 3216 "this hasn't been initialised - super() hasn't been called", 3217 ); 3218 })(t); 3219 })( 3220 this, 3221 e 3222 ? ((n = p(this).constructor), 3223 Reflect.construct(i, arguments, n)) 3224 : i.apply(this, arguments), 3225 ); 3226 }; 3227 } 3228 function p(t) { 3229 return (p = Object.setPrototypeOf 3230 ? Object.getPrototypeOf 3231 : function (t) { 3232 return t.__proto__ || Object.getPrototypeOf(t); 3233 })(t); 3234 } 3235 var m = (function () { 3236 !(function (t, e) { 3237 if ("function" != typeof e && null !== e) 3238 throw new TypeError( 3239 "Super expression must either be null or a function", 3240 ); 3241 ((t.prototype = Object.create(e && e.prototype, { 3242 constructor: { value: t, writable: !0, configurable: !0 }, 3243 })), 3244 e && d(t, e)); 3245 })(u, o.Plugin); 3246 var t, 3247 e, 3248 n = h(u); 3249 function u() { 3250 return ( 3251 (function (t, e) { 3252 if (!(t instanceof e)) 3253 throw new TypeError("Cannot call a class as a function"); 3254 })(this, u), 3255 n.apply(this, arguments) 3256 ); 3257 } 3258 return ( 3259 (t = u), 3260 (e = [ 3261 { 3262 key: "_setup", 3263 value: function (t, e) { 3264 ((this.$element = t), 3265 (this.options = i.a.extend( 3266 {}, 3267 u.defaults, 3268 this.$element.data(), 3269 e, 3270 )), 3271 (this.className = "DropdownMenu"), 3272 c.Touch.init(i.a), 3273 this._init(), 3274 r.Keyboard.register("DropdownMenu", { 3275 ENTER: "open", 3276 SPACE: "open", 3277 ARROW_RIGHT: "next", 3278 ARROW_UP: "up", 3279 ARROW_DOWN: "down", 3280 ARROW_LEFT: "previous", 3281 ESCAPE: "close", 3282 })); 3283 }, 3284 }, 3285 { 3286 key: "_init", 3287 value: function () { 3288 a.Nest.Feather(this.$element, "dropdown"); 3289 var t = this.$element.find("li.is-dropdown-submenu-parent"); 3290 (this.$element 3291 .children(".is-dropdown-submenu-parent") 3292 .children(".is-dropdown-submenu") 3293 .addClass("first-sub"), 3294 (this.$menuItems = this.$element.find('li[role="none"]')), 3295 (this.$tabs = this.$element.children('li[role="none"]')), 3296 this.$tabs 3297 .find("ul.is-dropdown-submenu") 3298 .addClass(this.options.verticalClass), 3299 "auto" === this.options.alignment 3300 ? this.$element.hasClass(this.options.rightClass) || 3301 Object(s.rtl)() || 3302 this.$element.parents(".top-bar-right").is("*") 3303 ? ((this.options.alignment = "right"), 3304 t.addClass("opens-left")) 3305 : ((this.options.alignment = "left"), 3306 t.addClass("opens-right")) 3307 : "right" === this.options.alignment 3308 ? t.addClass("opens-left") 3309 : t.addClass("opens-right"), 3310 (this.changed = !1), 3311 this._events()); 3312 }, 3313 }, 3314 { 3315 key: "_isVertical", 3316 value: function () { 3317 return ( 3318 "block" === this.$tabs.css("display") || 3319 "column" === this.$element.css("flex-direction") 3320 ); 3321 }, 3322 }, 3323 { 3324 key: "_isRtl", 3325 value: function () { 3326 return ( 3327 this.$element.hasClass("align-right") || 3328 (Object(s.rtl)() && !this.$element.hasClass("align-left")) 3329 ); 3330 }, 3331 }, 3332 { 3333 key: "_events", 3334 value: function () { 3335 var t = this, 3336 e = 3337 "ontouchstart" in window || 3338 void 0 !== window.ontouchstart, 3339 n = "is-dropdown-submenu-parent";
3340 ((this.options.clickOpen || e) && 3341 this.$menuItems.on( 3342 "click.zf.dropdownMenu touchstart.zf.dropdownMenu", 3343 function (o) { 3344 var s = i()(o.target).parentsUntil("ul", ".".concat(n)), 3345 r = s.hasClass(n), 3346 a = "true" === s.attr("data-is-click"), 3347 l = s.children(".is-dropdown-submenu"); 3348 r && 3349 (a 3350 ? !t.options.closeOnClick || 3351 (!t.options.clickOpen && !e) || 3352 (t.options.forceFollow && e) || 3353 (o.stopImmediatePropagation(), 3354 o.preventDefault(), 3355 t._hide(s)) 3356 : (o.stopImmediatePropagation(), 3357 o.preventDefault(), 3358 t._show(l), 3359 s 3360 .add(s.parentsUntil(t.$element, ".".concat(n))) 3361 .attr("data-is-click", !0))); 3362 }, 3363 ), 3364 t.options.closeOnClickInside && 3365 this.$menuItems.on("click.zf.dropdownMenu", function () { 3366 i()(this).hasClass(n) || t._hide(); 3367 }), 3368 e && 3369 this.options.disableHoverOnTouch && 3370 (this.options.disableHover = !0), 3371 this.options.disableHover || 3372 this.$menuItems 3373 .on("mouseenter.zf.dropdownMenu", function () { 3374 var e = i()(this); 3375 e.hasClass(n) && 3376 (clearTimeout(e.data("_delay")), 3377 e.data( 3378 "_delay", 3379 setTimeout(function () { 3380 t._show(e.children(".is-dropdown-submenu")); 3381 }, t.options.hoverDelay), 3382 )); 3383 }) 3384 .on( 3385 "mouseleave.zf.dropdownMenu", 3386 Object(s.ignoreMousedisappear)(function () { 3387 var e = i()(this); 3388 if (e.hasClass(n) && t.options.autoclose) { 3389 if ( 3390 "true" === e.attr("data-is-click") && 3391 t.options.clickOpen 3392 ) 3393 return !1; 3394 (clearTimeout(e.data("_delay")), 3395 e.data( 3396 "_delay", 3397 setTimeout(function () { 3398 t._hide(e); 3399 }, t.options.closingTime), 3400 )); 3401 } 3402 }), 3403 ), 3404 this.$menuItems.on("keydown.zf.dropdownMenu", function (e) { 3405 var n, 3406 o, 3407 s = i()(e.target).parentsUntil("ul", '[role="none"]'), 3408 a = -1 < t.$tabs.index(s), 3409 l = a ? t.$tabs : s.siblings("li").add(s); 3410 function c() { 3411 (o.children("a:first").focus(), e.preventDefault()); 3412 } 3413 function u() { 3414 (n.children("a:first").focus(), e.preventDefault()); 3415 } 3416 function f() { 3417 var n = s.children("ul.is-dropdown-submenu"); 3418 n.length && 3419 (t._show(n), 3420 s.find("li > a:first").focus(), 3421 e.preventDefault()); 3422 } 3423 function d() { 3424 var n = s.parent("ul").parent("li"); 3425 (n.children("a:first").focus(), 3426 t._hide(n), 3427 e.preventDefault()); 3428 } 3429 l.each(function (t) { 3430 i()(this).is(s) && 3431 ((n = l.eq(t - 1)), (o = l.eq(t + 1))); 3432 }); 3433 var h = { 3434 open: f, 3435 close: function () { 3436 (t._hide(t.$element), 3437 t.$menuItems.eq(0).children("a").focus(), 3438 e.preventDefault()); 3439 }, 3440 }; 3441 (a 3442 ? t._isVertical() 3443 ? t._isRtl() 3444 ? i.a.extend(h, { 3445 down: c, 3446 up: u, 3447 next: d, 3448 previous: f, 3449 }) 3450 : i.a.extend(h, { 3451 down: c, 3452 up: u, 3453 next: f, 3454 previous: d, 3455 }) 3456 : t._isRtl() 3457 ? i.a.extend(h, { 3458 next: u, 3459 previous: c, 3460 down: f, 3461 up: d, 3462 }) 3463 : i.a.extend(h, { 3464 next: c, 3465 previous: u, 3466 down: f, 3467 up: d, 3468 }) 3469 : t._isRtl() 3470 ? i.a.extend(h, { 3471 next: d, 3472 previous: f, 3473 down: c, 3474 up: u, 3475 }) 3476 : i.a.extend(h, { 3477 next: f, 3478 previous: d, 3479 down: c, 3480 up: u, 3481 }), 3482 r.Keyboard.handleKey(e, "DropdownMenu", h)); 3483 })); 3484 }, 3485 }, 3486 { 3487 key: "_addBodyHandler", 3488 value: function () { 3489 var t = this, 3490 e = i()(document.body); 3491 (this._removeBodyHandler(), 3492 e.on( 3493 "click.zf.dropdownMenu tap.zf.dropdownMenu", 3494 function (e) { 3495 !i()(e.target).closest(t.$element).length && 3496 (t._hide(), t._removeBodyHandler()); 3497 }, 3498 )); 3499 }, 3500 }, 3501 { 3502 key: "_removeBodyHandler", 3503 value: function () { 3504 i()(document.body).off( 3505 "click.zf.dropdownMenu tap.zf.dropdownMenu", 3506 ); 3507 }, 3508 }, 3509 { 3510 key: "_show", 3511 value: function (t) { 3512 var e = this.$tabs.index( 3513 this.$tabs.filter(function (e, n) { 3514 return 0 < i()(n).find(t).length; 3515 }), 3516 ), 3517 n = t 3518 .parent("li.is-dropdown-submenu-parent") 3519 .siblings("li.is-dropdown-submenu-parent"); 3520 (this._hide(n, e), 3521 t 3522 .css("visibility", "hidden") 3523 .addClass("js-dropdown-active") 3524 .parent("li.is-dropdown-submenu-parent") 3525 .addClass("is-active"), 3526 l.Box.ImNotTouchingYou(t, null, !0) || 3527 ((n = 3528 "left" === this.options.alignment ? "-right" : "-left"), 3529 (e = t.parent(".is-dropdown-submenu-parent")) 3530 .removeClass("opens".concat(n)) 3531 .addClass("opens-".concat(this.options.alignment)), 3532 l.Box.ImNotTouchingYou(t, null, !0) || 3533 e 3534 .removeClass("opens-".concat(this.options.alignment)) 3535 .addClass("opens-inner"), 3536 (this.changed = !0)), 3537 t.css("visibility", ""), 3538 this.options.closeOnClick && this._addBodyHandler(), 3539 this.$element.trigger("show.zf.dropdownMenu", [t])); 3540 }, 3541 }, 3542 { 3543 key: "_hide", 3544 value: function (t, e) { 3545 var n, 3546 i = 3547 t && t.length 3548 ? t 3549 : void 0 !== e 3550 ? this.$tabs.not(function (t) { 3551 return t === e; 3552 }) 3553 : this.$element; 3554 (i.hasClass("is-active") || 3555 0 < i.find(".is-active").length) && 3556 ((n = i.find("li.is-active")) 3557 .add(i) 3558 .attr({ "data-is-click": !1 }) 3559 .removeClass("is-active"), 3560 i 3561 .find("ul.js-dropdown-active") 3562 .removeClass("js-dropdown-active"), 3563 (this.changed || i.find("opens-inner").length) && 3564 ((t = 3565 "left" === this.options.alignment ? "right" : "left"), 3566 i 3567 .find("li.is-dropdown-submenu-parent") 3568 .add(i) 3569 .removeClass( 3570 "opens-inner opens-".concat(this.options.alignment), 3571 ) 3572 .addClass("opens-".concat(t)), 3573 (this.changed = !1)), 3574 clearTimeout(n.data("_delay")), 3575 this._removeBodyHandler(), 3576 this.$element.trigger("hide.zf.dropdownMenu", [i])); 3577 }, 3578 }, 3579 { 3580 key: "_destroy", 3581 value: function () { 3582 (this.$menuItems 3583 .off(".zf.dropdownMenu") 3584 .removeAttr("data-is-click") 3585 .removeClass( 3586 "is-right-arrow is-left-arrow is-down-arrow opens-right opens-left opens-inner", 3587 ), 3588 i()(document.body).off(".zf.dropdownMenu"), 3589 a.Nest.Burn(this.$element, "dropdown")); 3590 }, 3591 }, 3592 ]) && f(t.prototype, e), 3593 u 3594 ); 3595 })(); 3596 m.defaults = { 3597 disableHover: !1, 3598 disableHoverOnTouch: !0, 3599 autoclose: !0, 3600 hoverDelay: 50, 3601 clickOpen: !1, 3602 closingTime: 500, 3603 alignment: "auto", 3604 closeOnClick: !0, 3605 closeOnClickInside: !0, 3606 verticalClass: "vertical", 3607 rightClass: "align-right", 3608 forceFollow: !0, 3609 }; 3610 }, 3611
3611"./js/foundation.equalizer.js": function (t, e, n) { 3612 "use strict"; 3613 (n.r(e), 3614 n.d(e, "Equalizer", function () { 3615 return h; 3616 })); 3617 e = n("jquery"); 3618 var i = n.n(e), 3619 o = n("./js/foundation.util.mediaQuery.js"), 3620 s = n("./js/foundation.util.imageLoader.js"), 3621 r = n("./js/foundation.core.utils.js"), 3622 a = n("./js/foundation.core.plugin.js"); 3623 function l(t) { 3624 return (l = 3625 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 3626 ? function (t) { 3627 return typeof t; 3628 } 3629 : function (t) { 3630 return t && 3631 "function" == typeof Symbol && 3632 t.constructor === Symbol && 3633 t !== Symbol.prototype 3634 ? "symbol" 3635 : typeof t; 3636 })(t); 3637 } 3638 function c(t, e) { 3639 for (var n = 0; n < e.length; n++) { 3640 var i = e[n]; 3641 ((i.enumerable = i.enumerable || !1), 3642 (i.configurable = !0), 3643 "value" in i && (i.writable = !0), 3644 Object.defineProperty(t, i.key, i)); 3645 } 3646 } 3647 function u(t, e) { 3648 return (u = 3649 Object.setPrototypeOf || 3650 function (t, e) { 3651 return ((t.__proto__ = e), t); 3652 })(t, e); 3653 } 3654 function f(t) { 3655 var e = (function () { 3656 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 3657 if (Reflect.construct.sham) return !1; 3658 if ("function" == typeof Proxy) return !0; 3659 try { 3660 return ( 3661 Boolean.prototype.valueOf.call( 3662 Reflect.construct(Boolean, [], function () {}), 3663 ), 3664 !0 3665 ); 3666 } catch (t) { 3667 return !1; 3668 } 3669 })(); 3670 return function () { 3671 var n, 3672 i = d(t); 3673 return (function (t, e) { 3674 if (e && ("object" === l(e) || "function" == typeof e)) return e; 3675 if (void 0 !== e) 3676 throw new TypeError( 3677 "Derived constructors may only return object or undefined", 3678 ); 3679 return (function (t) { 3680 if (void 0 !== t) return t; 3681 throw new ReferenceError( 3682 "this hasn't been initialised - super() hasn't been called", 3683 ); 3684 })(t); 3685 })( 3686 this, 3687 e 3688 ? ((n = d(this).constructor), 3689 Reflect.construct(i, arguments, n)) 3690 : i.apply(this, arguments), 3691 ); 3692 }; 3693 } 3694 function d(t) { 3695 return (d = Object.setPrototypeOf 3696 ? Object.getPrototypeOf 3697 : function (t) { 3698 return t.__proto__ || Object.getPrototypeOf(t); 3699 })(t); 3700 } 3701 var h = (function () { 3702 !(function (t, e) { 3703 if ("function" != typeof e && null !== e) 3704 throw new TypeError( 3705 "Super expression must either be null or a function", 3706 ); 3707 ((t.prototype = Object.create(e && e.prototype, { 3708 constructor: { value: t, writable: !0, configurable: !0 }, 3709 })), 3710 e && u(t, e)); 3711 })(l, a.Plugin); 3712 var t, 3713 e, 3714 n = f(l); 3715 function l() { 3716 return ( 3717 (function (t, e) { 3718 if (!(t instanceof e)) 3719 throw new TypeError("Cannot call a class as a function"); 3720 })(this, l), 3721 n.apply(this, arguments) 3722 ); 3723 } 3724 return ( 3725 (t = l), 3726 (e = [ 3727 { 3728 key: "_setup", 3729 value: function (t, e) { 3730 ((this.$element = t), 3731 (this.options = i.a.extend( 3732 {}, 3733 l.defaults, 3734 this.$element.data(), 3735 e, 3736 )), 3737 (this.className = "Equalizer"), 3738 this._init()); 3739 }, 3740 }, 3741 { 3742 key: "_init", 3743 value: function () { 3744 var t = this.$element.attr("data-equalizer") || "", 3745 e = this.$element.find( 3746 '[data-equalizer-watch="'.concat(t, '"]'), 3747 ); 3748 (o.MediaQuery._init(), 3749 (this.$watched = e.length 3750 ? e 3751 : this.$element.find("[data-equalizer-watch]")), 3752 this.$element.attr( 3753 "data-resize", 3754 t || Object(r.GetYoDigits)(6, "eq"), 3755 ), 3756 this.$element.attr( 3757 "data-mutate", 3758 t || Object(r.GetYoDigits)(6, "eq"), 3759 ), 3760 (this.hasNested = 3761 0 < this.$element.find("[data-equalizer]").length), 3762 (this.isNested = 3763 0 < 3764 this.$element.parentsUntil( 3765 document.body, 3766 "[data-equalizer]", 3767 ).length), 3768 (this.isOn = !1), 3769 (this._bindHandler = { 3770 onResizeMeBound: this._onResizeMe.bind(this), 3771 onPostEqualizedBound: this._onPostEqualized.bind(this), 3772 })); 3773 var n; 3774 t = this.$element.find("img"); 3775 (this.options.equalizeOn 3776 ? ((n = this._checkMQ()), 3777 i()(window).on( 3778 "changed.zf.mediaquery", 3779 this._checkMQ.bind(this), 3780 )) 3781 : this._events(), 3782 ((void 0 !== n && !1 === n) || void 0 === n) && 3783 (t.length 3784 ? Object(s.onImagesLoaded)(t, this._reflow.bind(this)) 3785 : this._reflow())); 3786 }, 3787 }, 3788 { 3789 key: "_pauseEvents", 3790 value: function () { 3791 ((this.isOn = !1), 3792 this.$element.off({
3793 ".zf.equalizer": this._bindHandler.onPostEqualizedBound, 3794 "resizeme.zf.trigger": this._bindHandler.onResizeMeBound, 3795 "mutateme.zf.trigger": this._bindHandler.onResizeMeBound, 3796 })); 3797 }, 3798 }, 3799 { 3800 key: "_onResizeMe", 3801 value: function () { 3802 this._reflow(); 3803 }, 3804 }, 3805 { 3806 key: "_onPostEqualized", 3807 value: function (t) { 3808 t.target !== this.$element[0] && this._reflow(); 3809 }, 3810 }, 3811 { 3812 key: "_events", 3813 value: function () { 3814 (this._pauseEvents(), 3815 this.hasNested 3816 ? this.$element.on( 3817 "postequalized.zf.equalizer", 3818 this._bindHandler.onPostEqualizedBound, 3819 ) 3820 : (this.$element.on( 3821 "resizeme.zf.trigger", 3822 this._bindHandler.onResizeMeBound, 3823 ), 3824 this.$element.on( 3825 "mutateme.zf.trigger", 3826 this._bindHandler.onResizeMeBound, 3827 )), 3828 (this.isOn = !0)); 3829 }, 3830 }, 3831 { 3832 key: "_checkMQ", 3833 value: function () { 3834 var t = !o.MediaQuery.is(this.options.equalizeOn); 3835 return ( 3836 t 3837 ? this.isOn && 3838 (this._pauseEvents(), 3839 this.$watched.css("height", "auto")) 3840 : this.isOn || this._events(), 3841 t 3842 ); 3843 }, 3844 }, 3845 { key: "_killswitch", value: function () {} }, 3846 { 3847 key: "_reflow", 3848 value: function () { 3849 if (!this.options.equalizeOnStack && this._isStacked()) 3850 return (this.$watched.css("height", "auto"), !1); 3851 this.options.equalizeByRow 3852 ? this.getHeightsByRow(this.applyHeightByRow.bind(this)) 3853 : this.getHeights(this.applyHeight.bind(this)); 3854 }, 3855 }, 3856 { 3857 key: "_isStacked", 3858 value: function () { 3859 return ( 3860 !this.$watched[0] || 3861 !this.$watched[1] || 3862 this.$watched[0].getBoundingClientRect().top !== 3863 this.$watched[1].getBoundingClientRect().top 3864 ); 3865 }, 3866 }, 3867 { 3868 key: "getHeights", 3869 value: function (t) { 3870 for (var e = [], n = 0, i = this.$watched.length; n < i; n++) 3871 ((this.$watched[n].style.height = "auto"), 3872 e.push(this.$watched[n].offsetHeight)); 3873 t(e); 3874 }, 3875 }, 3876 { 3877 key: "getHeightsByRow", 3878 value: function (t) { 3879 var e = this.$watched.length 3880 ? this.$watched.first().offset().top 3881 : 0, 3882 n = [], 3883 o = 0; 3884 n[o] = []; 3885 for (var s = 0, r = this.$watched.length; s < r; s++) { 3886 this.$watched[s].style.height = "auto"; 3887 var a = i()(this.$watched[s]).offset().top; 3888 (a !== e && ((n[++o] = []), (e = a)), 3889 n[o].push([ 3890 this.$watched[s], 3891 this.$watched[s].offsetHeight, 3892 ])); 3893 } 3894 for (var l = 0, c = n.length; l < c; l++) { 3895 var u = i()(n[l]) 3896 .map(function () { 3897 return this[1]; 3898 }) 3899 .get(); 3900 u = Math.max.apply(null, u); 3901 n[l].push(u); 3902 } 3903 t(n); 3904 }, 3905 }, 3906 { 3907 key: "applyHeight", 3908 value: function (t) { 3909 ((t = Math.max.apply(null, t)), 3910 this.$element.trigger("preequalized.zf.equal
3910izer"), 3911 this.$watched.css("height", t), 3912 this.$element.trigger("postequalized.zf.equalizer")); 3913 }, 3914 }, 3915 { 3916 key: "applyHeightByRow", 3917 value: function (t) { 3918 this.$element.trigger("preequalized.zf.equalizer"); 3919 for (var e = 0, n = t.length; e < n; e++) { 3920 var o = t[e].length, 3921 s = t[e][o - 1]; 3922 if (o <= 2) i()(t[e][0][0]).css({ height: "auto" }); 3923 else { 3924 this.$element.trigger("preequalizedrow.zf.equalizer"); 3925 for (var r = 0, a = o - 1; r < a; r++) 3926 i()(t[e][r][0]).css({ height: s }); 3927 this.$element.trigger("postequalizedrow.zf.equalizer"); 3928 } 3929 } 3930 this.$element.trigger("postequalized.zf.equalizer"); 3931 }, 3932 }, 3933 { 3934 key: "_destroy", 3935 value: function () { 3936 (this._pauseEvents(), this.$watched.css("height", "auto")); 3937 }, 3938 }, 3939 ]) && c(t.prototype, e), 3940 l 3941 ); 3942 })(); 3943 h.defaults = { equalizeOnStack: !1, equalizeByRow: !1, equalizeOn: "" }; 3944 }, 3945
3945"./js/foundation.interchange.js": function (t, e, n) { 3946 "use strict"; 3947 (n.r(e), 3948 n.d(e, "Interchange", function () { 3949 return h; 3950 })); 3951 e = n("jquery"); 3952 var i = n.n(e), 3953 o = n("./js/foundation.util.mediaQuery.js"), 3954 s = n("./js/foundation.core.plugin.js"), 3955 r = n("./js/foundation.core.utils.js"), 3956 a = n("./js/foundation.util.triggers.js"); 3957 function l(t) { 3958 return (l = 3959 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 3960 ? function (t) { 3961 return typeof t; 3962 } 3963 : function (t) { 3964 return t && 3965 "function" == typeof Symbol && 3966 t.constructor === Symbol && 3967 t !== Symbol.prototype 3968 ? "symbol" 3969 : typeof t; 3970 })(t); 3971 } 3972 function c(t, e) { 3973 for (var n = 0; n < e.length; n++) { 3974 var i = e[n]; 3975 ((i.enumerable = i.enumerable || !1), 3976 (i.configurable = !0), 3977 "value" in i && (i.writable = !0), 3978 Object.defineProperty(t, i.key, i)); 3979 } 3980 } 3981 function u(t, e) { 3982 return (u = 3983 Object.setPrototypeOf || 3984 function (t, e) { 3985 return ((t.__proto__ = e), t); 3986 })(t, e); 3987 } 3988 function f(t) { 3989 var e = (function () { 3990 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 3991 if (Reflect.construct.sham) return !1; 3992 if ("function" == typeof Proxy) return !0; 3993 try { 3994 return ( 3995 Boolean.prototype.valueOf.call( 3996 Reflect.construct(Boolean, [], function () {}), 3997 ), 3998 !0 3999 ); 4000 } catch (t) { 4001 return !1; 4002 } 4003 })(); 4004 return function () { 4005 var n, 4006 i = d(t); 4007 return (function (t, e) { 4008 if (e && ("object" === l(e) || "function" == typeof e)) return e; 4009 if (void 0 !== e) 4010 throw new TypeError( 4011 "Derived constructors may only return object or undefined", 4012 ); 4013 return (function (t) { 4014 if (void 0 !== t) return t; 4015 throw new ReferenceError( 4016 "this hasn't been initialised - super() hasn't been called", 4017 ); 4018 })(t); 4019 })( 4020 this, 4021 e 4022 ? ((n = d(this).constructor), 4023 Reflect.construct(i, arguments, n)) 4024 : i.apply(this, arguments), 4025 ); 4026 }; 4027 } 4028 function d(t) { 4029 return (d = Object.setPrototypeOf 4030 ? Object.getPrototypeOf 4031 : function (t) { 4032 return t.__proto__ || Object.getPrototypeOf(t); 4033 })(t); 4034 } 4035 var h = (function () { 4036 !(function (t, e) { 4037 if ("function" != typeof e && null !== e) 4038 throw new TypeError( 4039 "Super expression must either be null or a function", 4040 ); 4041 ((t.prototype = Object.create(e && e.prototype, { 4042 constructor: { value: t, writable: !0, configurable: !0 }, 4043 })), 4044 e && u(t, e)); 4045 })(l, s.Plugin); 4046 var t, 4047 e, 4048 n = f(l); 4049 function l() { 4050 return ( 4051 (function (t, e) { 4052 if (!(t instanceof e)) 4053 throw new TypeError("Cannot call a class as a function"); 4054 })(this, l), 4055 n.apply(this, arguments) 4056 ); 4057 } 4058 return ( 4059 (t = l), 4060 (e = [ 4061 { 4062 key: "_setup", 4063 value: function (t, e) { 4064 ((this.$element = t), 4065 (this.options = i.a.extend( 4066 {}, 4067 l.defaults, 4068 this.$element.data(), 4069 e, 4070 )), 4071 (this.rules = []), 4072 (this.currentPath = ""), 4073 (this.className = "Interchange"), 4074 a.Triggers.init(i.a), 4075 this._init(), 4076 this._events()); 4077 }, 4078 }, 4079 { 4080 key: "_init", 4081 value: function () { 4082 o.MediaQuery._init(); 4083 var t = 4084 this.$element[0].id || 4085 Object(r.GetYoDigits)(6, "interchange"); 4086 (this.$element.attr({ "data-resize": t, id: t }), 4087 this._parseOptions(), 4088 this._addBreakpoints(), 4089 this._generateRules(), 4090 this._reflow()); 4091 }, 4092 }, 4093 { 4094 key: "_events", 4095 value: function () { 4096 var t = this; 4097 this.$element 4098 .off("resizeme.zf.trigger") 4099 .on("resizeme.zf.trigger", function () { 4100 return t._reflow(); 4101 }); 4102 }, 4103 }, 4104 { 4105 key: "_reflow", 4106 value: function () { 4107 var t, e, n; 4108 for (e in this.rules) 4109 this.rules.hasOwnProperty(e) && 4110 ((n = this.rules[e]), 4111 window.matchMedia(n.query).matches && (t = n)); 4112 t && this.replace(t.path); 4113 }, 4114 }, 4115 { 4116 key: "_parseOptions", 4117 value: function () { 4118 void 0 === this.options.type 4119 ? (this.options.type = "auto") 4120 : -1 === 4121 ["auto", "src", "background", "html"].indexOf( 4122 this.options.type, 4123 ) && 4124 (console.warn( 4125 'Warning: invalid value "'.concat( 4126 this.options.type, 4127 '" for Interchange option "type"', 4128 ), 4129 ), 4130 (this.options.type = "auto")); 4131 }, 4132 }, 4133 { 4134 key: "_addBreakpoints", 4135 value: function () { 4136 for (var t in o.MediaQuery.queries) 4137 o.MediaQuery.queries.hasOwnProperty(t) && 4138 ((t = o.MediaQuery.queries[t]), 4139 (l.SPECIAL_QUERIES[t.name] = t.value)); 4140 }, 4141 }, 4142 { 4143 key: "_generateRules", 4144 value: function () { 4145 var t, 4146 e, 4147 n, 4148 i = [], 4149 o = this.options.rules || this.$element.data("interchange"); 4150 for (t in (o = 4151 "string" == typeof o ? o.match(/\[.*?, .*?\]/g) : o)) 4152 o.hasOwnProperty(t) && 4153 ((e = (n = o[t].slice(1, -1).split(", ")) 4154 .slice(0, -1) 4155 .join("")), 4156 (n = n[n.length - 1]), 4157 l.SPECIAL_QUERIES[n] && (n = l.SPECIAL_QUERIES[n]), 4158 i.push({ path: e, query: n })); 4159 this.rules = i; 4160 }, 4161 }, 4162 { 4163 key: "replace", 4164 value: function (t) { 4165 var e, 4166 n, 4167 o = this; 4168 this.currentPath !== t && 4169 ((e = "replaced.zf.interchange"), 4170 "src" === 4171 (n = 4172 "auto" === (n = this.options.type) 4173 ? "IMG" === this.$element[0].nodeName 4174 ? "src" 4175 : t.match(/\.(gif|jpe?g|png|svg|tiff)([?#].*)?/i) 4176 ? "background" 4177 : "html" 4178 : n) 4179 ? this.$element 4180 .attr("src", t) 4181 .on("load", function () { 4182 o.currentPath = t; 4183 }) 4184 .trigger(e) 4185 : "background" === n 4186 ? ((t = t.replace(/\(/g, "%28").replace(/\)/g, "%29")), 4187 this.$element 4188 .css({ "background-image": "url(" + t + ")" }) 4189 .trigger(e)) 4190 : "html" === n && 4191 i.a.get(t, function (n) { 4192 (o.$element.html(n).trigger(e), 4193 i()(n).foundation(), 4194 (o.currentPath = t)); 4195 })); 4196 }, 4197 }, 4198 { 4199 key: "_destroy", 4200 value: function () { 4201 this.$element.off("resizeme.zf.trigger"); 4202 }, 4203 }, 4204 ]) && c(t.prototype, e), 4205 l 4206 ); 4207 })(); 4208 ((h.defaults = { rules: null, type: "auto" }), 4209 (h.SPECIAL_QUERIES = { 4210 landscape: "screen and (orientation: landscape)", 4211 portrait: "screen and (orientation: portrait)", 4212 retina: 4213 "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)", 4214 })); 4215 }, 4216
4216"./js/foundation.magellan.js": function (t, e, n) { 4217 "use strict"; 4218 (n.r(e), 4219 n.d(e, "Magellan", function () { 4220 return h; 4221 })); 4222 e = n("jquery"); 4223 var i = n.n(e), 4224 o = n("./js/foundation.core.plugin.js"), 4225 s = n("./js/foundation.core.utils.js"), 4226 r = n("./js/foundation.smoothScroll.js"), 4227 a = n("./js/foundation.util.triggers.js"); 4228 function l(t) { 4229 return (l = 4230 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 4231 ? function (t) { 4232 return typeof t; 4233 } 4234 : function (t) { 4235 return t && 4236 "function" == typeof Symbol && 4237 t.constructor === Symbol && 4238 t !== Symbol.prototype 4239 ? "symbol" 4240 : typeof t; 4241 })(t); 4242 } 4243 function c(t, e) { 4244 for (var n = 0; n < e.length; n++) { 4245 var i = e[n]; 4246 ((i.enumerable = i.enumerable || !1), 4247 (i.configurable = !0), 4248 "value" in i && (i.writable = !0), 4249 Object.defineProperty(t, i.key, i)); 4250 } 4251 } 4252 function u(t, e) { 4253 return (u = 4254 Object.setPrototypeOf || 4255 function (t, e) { 4256 return ((t.__proto__ = e), t); 4257 })(t, e); 4258 } 4259 function f(t) { 4260 var e = (function () { 4261 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 4262 if (Reflect.construct.sham) return !1; 4263 if ("function" == typeof Proxy) return !0; 4264 try { 4265 return ( 4266 Boolean.prototype.valueOf.call( 4267 Reflect.construct(Boolean, [], function () {}), 4268 ), 4269 !0 4270 ); 4271 } catch (t) { 4272 return !1; 4273 } 4274 })(); 4275 return function () { 4276 var n, 4277 i = d(t); 4278 return (function (t, e) { 4279 if (e && ("object" === l(e) || "function" == typeof e)) return e; 4280 if (void 0 !== e) 4281 throw new TypeError( 4282 "Derived constructors may only return object or undefined", 4283 ); 4284 return (function (t) { 4285 if (void 0 !== t) return t; 4286 throw new ReferenceError( 4287 "this hasn't been initialised - super() hasn't been called", 4288 ); 4289 })(t); 4290 })( 4291 this, 4292 e 4293 ? ((n = d(this).constructor), 4294 Reflect.construct(i, arguments, n)) 4295 : i.apply(this, arguments), 4296 ); 4297 }; 4298 } 4299 function d(t) { 4300 return (d = Object.setPrototypeOf 4301 ? Object.getPrototypeOf 4302 : function (t) { 4303 return t.__proto__ || Object.getPrototypeOf(t); 4304 })(t); 4305 } 4306 var h = (function () { 4307 !(function (t, e) { 4308 if ("function" != typeof e && null !== e) 4309 throw new TypeError( 4310 "Super expression must either be null or a function", 4311 ); 4312 ((t.prototype = Object.create(e && e.prototype, { 4313 constructor: { value: t, writable: !0, configurable: !0 }, 4314 })), 4315 e && u(t, e)); 4316 })(l, o.Plugin); 4317 var t, 4318 e, 4319 n = f(l); 4320 function l() { 4321 return ( 4322 (function (t, e) { 4323 if (!(t instanceof e)) 4324 throw new TypeError("Cannot call a class as a function"); 4325 })(this, l), 4326 n.apply(this, arguments) 4327 ); 4328 } 4329 return ( 4330 (t = l), 4331 (e = [ 4332 { 4333 key: "_setup", 4334 value: function (t, e) { 4335 ((this.$element = t), 4336 (this.options = i.a.extend( 4337 {}, 4338 l.defaults, 4339 this.$element.data(), 4340 e, 4341 )), 4342 (this.className = "Magellan"), 4343 a.Triggers.init(i.a), 4344 this._init(), 4345 this.calcPoints()); 4346 }, 4347 }, 4348 { 4349 key: "_init", 4350 value: function () { 4351 var t = 4352 this.$element[0].id || Object(s.GetYoDigits)(6, "magellan"); 4353 ((this.$targets = i()("[data-magellan-target]")), 4354 (this.$links = this.$element.find("a")), 4355 this.$element.attr({ 4356 "data-resize": t, 4357 "data-scroll": t, 4358 id: t, 4359 }), 4360 (this.$active = i()()), 4361 (this.scrollPos = parseInt(window.pageYOffset, 10)), 4362 this._events()); 4363 }, 4364 }, 4365 { 4366 key: "calcPoints", 4367 value: function () { 4368 var t = this, 4369 e = document.body, 4370 n = document.documentElement; 4371 ((this.points = []), 4372 (this.winHeight = Math.round( 4373 Math.max(window.innerHeight, n.clientHeight), 4374 )), 4375 (this.docHeight = Math.round( 4376 Math.max( 4377 e.scrollHeight, 4378 e.offsetHeight, 4379 n.clientHeight, 4380 n.scrollHeight, 4381 n.offsetHeight, 4382 ), 4383 )), 4384 this.$targets.each(function () { 4385 var e = i()(this), 4386 n = Math.round(e.offset().top - t.options.threshold); 4387 ((e.targetPoint = n), t.points.push(n)); 4388 })); 4389 }, 4390 }, 4391 { 4392 key: "_events", 4393 value: function () { 4394 var t = this; 4395 (i()(window).one("load", function () { 4396 (t.options.deepLinking && 4397 location.hash && 4398 t.scrollToLoc(location.hash), 4399 t.calcPoints(), 4400 t._updateActive()); 4401 }), 4402 (t.onLoadListener = Object(s.onLoad)( 4403 i()(window), 4404 function () { 4405 t.$element 4406 .on({ 4407 "resizeme.zf.trigger": t.reflow.bind(t), 4408 "scrollme.zf.trigger": t._updateActive.bind(t), 4409 }) 4410 .on( 4411 "click.zf.magellan", 4412 'a[href^="#"]', 4413 function (e) { 4414 (e.preventDefault(), 4415 (e = this.getAttribute("href")), 4416 t.scrollToLoc(e)); 4417 }, 4418 ); 4419 }, 4420 )), 4421 (this._deepLinkScroll = function () { 4422 t.options.deepLinking && 4423 t.scrollToLoc(window.location.hash); 4424 }), 4425 i()(window).on("hashchange", this._deepLinkScroll)); 4426 }, 4427 }, 4428 { 4429 key: "scrollToLoc", 4430 value: function (t) { 4431 this._inTransition = !0; 4432 var e = this, 4433 n = { 4434 animationEasing: this.options.animationEasing, 4435 animationDuration: this.options.animationDuration, 4436 threshold: this.options.threshold, 4437 offset: this.options.offset, 4438 }; 4439 r.SmoothScroll.scrollToLoc(t, n, function () { 4440 e._inTransition = !1; 4441 }); 4442 }, 4443 }, 4444 { 4445 key: "reflow", 4446 value: function () { 4447 (this.calcPoints(), this._updateActive()); 4448 }, 4449 }, 4450 { 4451 key: "_updateActive", 4452 value: function () { 4453 var t, 4454 e, 4455 n, 4456 o, 4457 s, 4458 r, 4459 a = this; 4460 this._inTransition || 4461 ((t = parseInt(window.pageYOffset, 10)), 4462 (e = this.scrollPos > t), 4463 (this.scrollPos = t) < 4464 this.points[0] - 4465 this.options.offset - 4466 (e ? this.options.threshold : 0) || 4467 (r = 4468 t + this.winHeight === this.docHeight 4469 ? this.points.length - 1 4470 : (s = this.points.filter(function (n) { 4471 return ( 4472 n - 4473 a.options.offset - 4474 (e ? a.options.threshold : 0) <= 4475 t 4476 ); 4477 })).length 4478 ? s.length - 1 4479 : 0), 4480 (n = this.$active), 4481 (o = ""), 4482 void 0 !== r 4483 ? ((this.$active = this.$links.filter( 4484 '[href="#' + 4485 this.$targets.eq(r).data("magellan-target") + 4486 '"]', 4487 )), 4488 this.$active.length && 4489 (o = this.$active[0].getAttribute("href"))) 4490 : (this.$active = i()()), 4491 (s = !( 4492 (!this.$active.length && !n.length) || 4493 this.$active.is(n) 4494 )), 4495 (r = o !== window.location.hash), 4496 s && 4497 (n.removeClass(this.options.activeClass), 4498 this.$active.addClass(this.options.activeClass)), 4499 this.options.deepLinking && 4500 r && 4501 (window.history.pushState 4502 ? ((r = 4503 o || 4504 window.location.pathname + window.location.search), 4505 this.options.updateHistory 4506 ? window.history.pushState({}, "", r) 4507 : window.history.replaceState({}, "", r)) 4508 : (window.location.hash = o)), 4509 s && 4510 this.$element.trigger("update.zf.magellan", [ 4511 this.$active, 4512 ])); 4513 }, 4514 }, 4515 { 4516 key: "_destroy", 4517 value: function () { 4518 var t; 4519 (this.$element 4520 .off(".zf.trigger .zf.magellan") 4521 .find(".".concat(this.options.activeClass)) 4522 .removeClass(this.options.activeClass), 4523 this.options.deepLinking && 4524 ((t = this.$active[0].getAttribute("href")), 4525 window.location.hash.replace(t, "")), 4526 i()(window).off("hashchange", this._deepLinkScroll), 4527 this.onLoadListener && 4528 i()(window).off(this.onLoadListener)); 4529 }, 4530 }, 4531 ]) && c(t.prototype, e), 4532 l 4533 ); 4534 })(); 4535 h.defaults = { 4536 animationDuration: 500, 4537 animationEasing: "linear", 4538 threshold: 50, 4539 activeClass: "is-active", 4540 deepLinking: !1, 4541 updateHistory: !1, 4542 offset: 0, 4543 }; 4544 }, 4545
4545"./js/foundation.offcanvas.js": function (t, e, n) { 4546 "use strict"; 4547 (n.r(e), 4548 n.d(e, "OffCanvas", function () { 4549 return p; 4550 })); 4551 e = n("jquery"); 4552 var i = n.n(e), 4553 o = n("./js/foundation.core.plugin.js"), 4554 s = n("./js/foundation.core.utils.js"), 4555 r = n("./js/foundation.util.keyboard.js"), 4556 a = n("./js/foundation.util.mediaQuery.js"), 4557 l = n("./js/foundation.util.triggers.js"); 4558 function c(t) { 4559 return (c = 4560 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 4561 ? function (t) { 4562 return typeof t; 4563 } 4564 : function (t) { 4565 return t && 4566 "function" == typeof Symbol && 4567 t.constructor === Symbol && 4568 t !== Symbol.prototype 4569 ? "symbol" 4570 : typeof t; 4571 })(t); 4572 } 4573 function u(t, e) { 4574 for (var n = 0; n < e.length; n++) { 4575 var i = e[n]; 4576 ((i.enumerable = i.enumerable || !1), 4577 (i.configurable = !0), 4578 "value" in i && (i.writable = !0), 4579 Object.defineProperty(t, i.key, i)); 4580 } 4581 } 4582 function f(t, e) { 4583 return (f = 4584 Object.setPrototypeOf || 4585 function (t, e) { 4586 return ((t.__proto__ = e), t); 4587 })(t, e); 4588 } 4589 function d(t) { 4590 var e = (function () { 4591 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 4592 if (Reflect.construct.sham) return !1; 4593 if ("function" == typeof Proxy) return !0; 4594 try { 4595 return ( 4596 Boolean.prototype.valueOf.call( 4597 Reflect.construct(Boolean, [], function () {}), 4598 ), 4599 !0 4600 ); 4601 } catch (t) { 4602 return !1; 4603 } 4604 })(); 4605 return function () { 4606 var n, 4607 i = h(t); 4608 return (function (t, e) { 4609 if (e && ("object" === c(e) || "function" == typeof e)) return e; 4610 if (void 0 !== e) 4611 throw new TypeError( 4612 "Derived constructors may only return object or undefined", 4613 ); 4614 return (function (t) { 4615 if (void 0 !== t) return t; 4616 throw new ReferenceError( 4617 "this hasn't been initialised - super() hasn't been called", 4618 ); 4619 })(t); 4620 })( 4621 this, 4622 e 4623 ? ((n = h(this).constructor), 4624 Reflect.construct(i, arguments, n)) 4625 : i.apply(this, arguments), 4626 ); 4627 }; 4628 } 4629 function h(t) { 4630 return (h = Object.setPrototypeOf 4631 ? Object.getPrototypeOf 4632 : function (t) { 4633 return t.__proto__ || Object.getPrototypeOf(t); 4634 })(t); 4635 } 4636 var p = (function () { 4637 !(function (t, e) { 4638 if ("function" != typeof e && null !== e) 4639 throw new TypeError( 4640 "Super expression must either be null or a function", 4641 ); 4642 ((t.prototype = Object.create(e && e.prototype, { 4643 constructor: { value: t, writable: !0, configurable: !0 }, 4644 })), 4645 e && f(t, e)); 4646 })(h, o.Plugin); 4647 var t, 4648 e, 4649 n = d(h); 4650 function h() { 4651 return ( 4652 (function (t, e) { 4653 if (!(t instanceof e)) 4654 throw new TypeError("Cannot call a class as a function"); 4655 })(this, h), 4656 n.apply(this, arguments) 4657 ); 4658 } 4659 return ( 4660 (t = h), 4661 (e = [ 4662 { 4663 key: "_setup", 4664 value: function (t, e) { 4665 var n = this; 4666 ((this.className = "OffCanvas"), 4667 (this.$element = t), 4668 (this.options = i.a.extend( 4669 {}, 4670 h.defaults, 4671 this.$element.data(), 4672 e, 4673 )), 4674 (this.contentClasses = { base: [], reveal: [] }), 4675 (this.$lastTrigger = i()()), 4676 (this.$triggers = i()()), 4677 (this.position = "left"), 4678 (this.$content = i()()), 4679 (this.nested = !!this.options.nested),
4680 (this.$sticky = i()()), 4681 (this.isInCanvas = !1), 4682 i()(["push", "overlap"]).each(function (t, e) { 4683 n.contentClasses.base.push("has-transition-" + e); 4684 }), 4685 i()(["left", "right", "top", "bottom"]).each( 4686 function (t, e) { 4687 (n.contentClasses.base.push("has-position-" + e), 4688 n.contentClasses.reveal.push("has-reveal-" + e)); 4689 }, 4690 ), 4691 l.Triggers.init(i.a), 4692 a.MediaQuery._init(), 4693 this._init(), 4694 this._events(), 4695 r.Keyboard.register("OffCanvas", { ESCAPE: "close" })); 4696 }, 4697 }, 4698 { 4699 key: "_init", 4700 value: function () { 4701 var t = this.$element.attr("id"); 4702 (this.$element.attr("aria-hidden", "true"), 4703 this.options.contentId 4704 ? (this.$content = i()("#" + this.options.contentId)) 4705 : this.$element.siblings("[data-off-canvas-content]") 4706 .length 4707 ? (this.$content = this.$element 4708 .siblings("[data-off-canvas-content]") 4709 .first()) 4710 : (this.$content = this.$element 4711 .closest("[data-off-canvas-content]") 4712 .first()), 4713 this.options.contentId 4714 ? this.options.contentId && 4715 null === this.options.nested && 4716 console.warn( 4717 "Remember to use the nested option if using the content ID option!", 4718 ) 4719 : (this.nested = 4720 0 === 4721 this.$element.siblings("[data-off-canvas-content]") 4722 .length), 4723 !0 === this.nested && 4724 ((this.options.transition = "overlap"), 4725 this.$element.removeClass("is-transition-push")), 4726 this.$element.addClass( 4727 "is-transition-".concat( 4728 this.options.transition, 4729 " is-closed", 4730 ), 4731 ), 4732 (this.$triggers = i()(document) 4733 .find( 4734 '[data-open="' + 4735 t + 4736 '"], [data-close="' + 4737 t + 4738 '"], [data-toggle="' + 4739 t + 4740 '"]', 4741 ) 4742 .attr("aria-expanded", "false") 4743 .attr("aria-controls", t)), 4744 (this.position = this.$element.is( 4745 ".position-left, .position-top, .position-right, .position-bottom", 4746 ) 4747 ? this.$element 4748 .attr("class") 4749 .match(/position\-(left|top|right|bottom)/)[1] 4750 : this.position), 4751 !0 === this.options.contentOverlay && 4752 ((t = document.createElement("div")), 4753 (e = 4754 "fixed" === i()(this.$element).css("position") 4755 ? "is-overlay-fixed" 4756 : "is-overlay-absolute"), 4757 t.setAttribute("class", "js-off-canvas-overlay " + e), 4758 (this.$overlay = i()(t)), 4759 "is-overlay-fixed" == e 4760 ? i()(this.$overlay).insertAfter(this.$element) 4761 : this.$content.append(this.$overlay))); 4762 var e = new RegExp( 4763 Object(s.RegExpEscape)(this.options.revealClass) + 4764 "([^\\s]+)", 4765 "g", 4766 ).exec(this.$element[0].className); 4767 (e && 4768 ((this.options.isRevealed = !0), 4769 (this.options.revealOn = this.options.revealOn || e[1])), 4770 !0 === this.options.isRevealed && 4771 this.options.revealOn && 4772 (this.$element 4773 .first() 4774 .addClass( 4775 "" 4776 .concat(this.options.revealClass) 4777 .concat(this.options.revealOn), 4778 ), 4779 this._setMQChecker()), 4780 this.options.transitionTime && 4781 this.$element.css( 4782 "transition-duration", 4783 this.options.transitionTime, 4784 ),
4785 (this.$sticky = this.$content.find( 4786 "[data-off-canvas-sticky]", 4787 )), 4788 0 < this.$sticky.length && 4789 "push" === this.options.transition && 4790 (this.options.contentScroll = !1), 4791 (e = this.$element 4792 .attr("class") 4793 .match(/\bin-canvas-for-(\w+)/)) && 2 === e.length 4794 ? (this.options.inCanvasOn = e[1]) 4795 : this.options.inCanvasOn && 4796 this.$element.addClass( 4797 "in-canvas-for-".concat(this.options.inCanvasOn), 4798 ), 4799 this.options.inCanvasOn && this._checkInCanvas(), 4800 this._removeContentClasses()); 4801 }, 4802 }, 4803 { 4804 key: "_events", 4805 value: function () { 4806 var t = this; 4807 (this.$element.off(".zf.trigger .zf.offCanvas").on({ 4808 "open.zf.trigger": this.open.bind(this), 4809 "close.zf.trigger": this.close.bind(this), 4810 "toggle.zf.trigger": this.toggle.bind(this), 4811 "keydown.zf.offCanvas": this._handleKeyboard.bind(this), 4812 }), 4813 !0 === this.options.closeOnClick && 4814 (this.options.contentOverlay 4815 ? this.$overlay 4816 : this.$content 4817 ).on({ "click.zf.offCanvas": this.close.bind(this) }), 4818 this.options.inCanvasOn && 4819 i()(window).on("changed.zf.mediaquery", function () { 4820 t._checkInCanvas(); 4821 })); 4822 }, 4823 }, 4824 { 4825 key: "_setMQChecker", 4826 value: function () { 4827 var t = this; 4828 ((this.onLoadListener = Object(s.onLoad)( 4829 i()(window), 4830 function () { 4831 a.MediaQuery.atLeast(t.options.revealOn) && t.reveal(!0); 4832 }, 4833 )), 4834 i()(window).on("changed.zf.mediaquery", function () { 4835 a.MediaQuery.atLeast(t.options.revealOn) 4836 ? t.reveal(!0) 4837 : t.reveal(!1); 4838 })); 4839 }, 4840 }, 4841 { 4842 key: "_checkInCanvas", 4843 value: function () { 4844 ((this.isInCanvas = a.MediaQuery.atLeast( 4845 this.options.inCanvasOn, 4846 )), 4847 !0 === this.isInCanvas && this.close()); 4848 }, 4849 }, 4850 { 4851 key: "_removeContentClasses", 4852 value: function (t) { 4853 "boolean" != typeof t 4854 ? this.$content.removeClass( 4855 this.contentClasses.base.join(" "), 4856 ) 4857 : !1 === t && 4858 this.$content.removeClass( 4859 "has-reveal-".concat(this.position), 4860 ); 4861 }, 4862 }, 4863 { 4864 key: "_addContentClasses", 4865 value: function (t) { 4866 (this._removeContentClasses(t), 4867 "boolean" != typeof t 4868 ? this.$content.addClass( 4869 "has-transition-" 4870 .concat(this.options.transition, " has-position-") 4871 .concat(this.position), 4872 ) 4873 : !0 === t && 4874 this.$content.addClass( 4875 "has-reveal-".concat(this.position), 4876 )); 4877 }, 4878 }, 4879 { 4880 key: "_fixStickyElements", 4881 value: function () { 4882 this.$sticky.each(function (t, e) { 4883 var n = i()(e); 4884 "fixed" === n.css("position") && 4885 ((e = parseInt(n.css("top"), 10)), 4886 n.data("offCanvasSticky", { top: e }), 4887 (e = i()(document).scrollTop() + e), 4888 n.css({ 4889 top: "".concat(e, "px"), 4890 width: "100%", 4891 transition: "none", 4892 })); 4893 }); 4894 }, 4895 }, 4896 { 4897 key: "_unfixStickyElements", 4898 value: function () { 4899 this.$sticky.each(function (t, e) { 4900 var n = i()(e); 4901 "object" === c((e = n.data("offCanvasSticky"))) && 4902 (n.css({ 4903 top: "".concat(e.top, "px"), 4904 width: "", 4905 transition: "", 4906 }), 4907 n.data("offCanvasSticky", "")); 4908 }); 4909 }, 4910 }, 4911 { 4912 key: "reveal", 4913 value: function (t) { 4914 (t 4915 ? (this.close(), 4916 (this.isRevealed = !0), 4917 this.$element.attr("aria-hidden", "false"), 4918 this.$element.off("open.zf.trigger toggle.zf.trigger"), 4919 this.$element.removeClass("is-closed")) 4920 : ((this.isRevealed = !1), 4921 this.$element.attr("aria-hidden", "true"), 4922 this.$element 4923 .off("open.zf.trigger toggle.zf.trigger") 4924 .on({ 4925 "open.zf.trigger": this.open.bind(this), 4926 "toggle.zf.trigger": this.toggle.bind(this), 4927 }), 4928 this.$element.addClass("is-closed")), 4929 this._addContentClasses(t)); 4930 }, 4931 }, 4932 { 4933 key: "_stopScrolling", 4934 value: function () { 4935 return !1; 4936 }, 4937 }, 4938 { 4939 key: "_recordScrollable", 4940 value: function (t) { 4941 this.lastY = t.touches[0].pageY; 4942 }, 4943 }, 4944 { 4945 key: "_preventDefaultAtEdges", 4946 value: function (t) { 4947 var e = t.data, 4948 n = this.lastY - t.touches[0].pageY; 4949 ((this.lastY = t.touches[0].pageY), 4950 e._canScroll(n, this) || t.preventDefault()); 4951 }, 4952 }, 4953 { 4954 key: "_scrollboxTouchMoved", 4955 value: function (t) { 4956 var e = t.data, 4957 n = this.closest( 4958 "[data-off-canvas], [data-off-canvas-scrollbox-outer]", 4959 ), 4960 i = this.lastY - t.touches[0].pageY; 4961 ((n.lastY = this.lastY = t.touches[0].pageY), 4962 t.stopPropagation(), 4963 e._canScroll(i, this) || 4964 (e._canScroll(i, n) 4965 ? (n.scrollTop += i) 4966 : t.preventDefault())); 4967 }, 4968 }, 4969 { 4970 key: "_canScroll", 4971 value: function (t, e) { 4972 var n = 0 < e.scrollTop; 4973 e = e.scrollTop < e.scrollHeight - e.clientHeight; 4974 return (t < 0 && n) || (0 < t && e); 4975 }, 4976 }, 4977 { 4978 key: "open", 4979 value: function (t, e) { 4980 var n, 4981 o = this; 4982 this.$element.hasClass("is-open") || 4983 this.isRevealed || 4984 this.isInCanvas || 4985 ((n = this), 4986 e && (this.$lastTrigger = e), 4987 "top" === this.options.forceTo 4988 ? window.scrollTo(0, 0) 4989 : "bottom" === this.options.forceTo && 4990 window.scrollTo(0, document.body.scrollHeight), 4991 this.options.transitionTime && 4992 "overlap" !== this.options.transition 4993 ? this.$element 4994 .siblings("[data-off-canvas-content]") 4995 .css( 4996 "transition-duration", 4997 this.options.transitionTime, 4998 ) 4999 : this.$element 5000 .siblings("[data-off-canvas-content]") 5001 .css("transition-duration", ""), 5002 this.$element.addClass("is-open").removeClass("is-closed"), 5003 this.$triggers.attr("aria-expanded", "true"), 5004 this.$element.attr("aria-hidden", "false"), 5005 this.$content.addClass("is-open-" + this.position), 5006 !1 === this.options.contentScroll && 5007 (i()("body") 5008 .addClass("is-off-canvas-open") 5009 .on("touchmove", this._stopScrolling), 5010 this.$element.on("touchstart", this._recordScrollable), 5011 this.$element.on( 5012 "touchmove", 5013 this, 5014 this._preventDefaultAtEdges, 5015 ), 5016 this.$element.on( 5017 "touchstart", 5018 "[data-off-canvas-scrollbox]", 5019 this._recordScrollable, 5020 ), 5021 this.$element.on( 5022 "touchmove", 5023 "[data-off-canvas-scrollbox]", 5024 this, 5025 this._scrollboxTouchMoved, 5026 )), 5027 !0 === this.options.contentOverlay && 5028 this.$overlay.addClass("is-visible"), 5029 !0 === this.options.closeOnClick && 5030 !0 === this.options.contentOverlay && 5031 this.$overlay.addClass("is-closable"), 5032 !0 === this.options.autoFocus && 5033 this.$element.one( 5034 Object(s.transitionend)(this.$element), 5035 function () { 5036 var t; 5037 n.$element.hasClass("is-open") && 5038 ((t = n.$element.find("[data-autofocus]")).length 5039 ? t 5040 : n.$element.find("a, button") 5041 ) 5042 .eq(0) 5043 .focus(); 5044 }, 5045 ), 5046 !0 === this.options.trapFocus && 5047 (this.$content.attr("tabindex", "-1"), 5048 r.Keyboard.trapFocus(this.$element)), 5049 "push" === this.options.transition && 5050 this._fixStickyElements(), 5051 this._addContentClasses(), 5052 this.$element.trigger("opened.zf.offCanvas"), 5053 this.$element.one( 5054 Object(s.transitionend)(this.$element), 5055 function () { 5056 o.$element.trigger("openedEnd.zf.offCanvas"); 5057 }, 5058 )); 5059 }, 5060 }, 5061 { 5062 key: "close", 5063 value: function () { 5064 var t = this; 5065 this.$element.hasClass("is-open") && 5066 !this.isRevealed && 5067 (this.$element.trigger("close.zf.offCanvas"), 5068 this.$element.removeClass("is-open"), 5069 this.$element.attr("aria-hidden", "true"), 5070 this.$content.removeClass( 5071 "is-open-left is-open-top is-open-right is-open-bottom", 5072 ), 5073 !0 === this.options.contentOverlay && 5074 this.$overlay.removeClass("is-visible"), 5075 !0 === this.options.closeOnClick && 5076 !0 === this.options.contentOverlay && 5077 this.$overlay.removeClass("is-closable"), 5078 this.$triggers.attr("aria-expanded", "false"), 5079 this.$element.one( 5080 Object(s.transitionend)(this.$element), 5081 function () { 5082 (t.$element.addClass("is-closed"), 5083 t._removeContentClasses(), 5084 "push" === t.options.transition && 5085 t._unfixStickyElements(), 5086 !1 === t.options.contentScroll && 5087 (i()("body") 5088 .removeClass("is-off-canvas-open") 5089 .off("touchmove", t._stopScrolling), 5090 t.$element.off("touchstart", t._recordScrollable), 5091 t.$element.off( 5092 "touchmove", 5093 t._preventDefaultAtEdges, 5094 ), 5095 t.$element.off( 5096 "touchstart", 5097 "[data-off-canvas-scrollbox]", 5098 t._recordScrollable, 5099 ), 5100 t.$element.off( 5101 "touchmove", 5102 "[data-off-canvas-scrollbox]", 5103 t._scrollboxTouchMoved, 5104 )), 5105 !0 === t.options.trapFocus && 5106 (t.$content.removeAttr("tabindex"), 5107 r.Keyboard.releaseFocus(t.$element)), 5108 t.$element.trigger("closed.zf.offCanvas")); 5109 }, 5110 )); 5111 }, 5112 }, 5113 { 5114 key: "toggle", 5115 value: function (t, e) { 5116 this.$element.hasClass("is-open") 5117 ? this.close(t, e) 5118 : this.open(t, e); 5119 }, 5120 }, 5121 { 5122 key: "_handleKeyboard", 5123 value: function (t) { 5124 var e = this; 5125 r.Keyboard.handleKey(t, "OffCanvas", { 5126 close: function () { 5127 return (e.close(), e.$lastTrigger.focus(), !0); 5128 }, 5129 handled: function () { 5130 t.preventDefault(); 5131 }, 5132 }); 5133 }, 5134 }, 5135 { 5136 key: "_destroy", 5137 value: function () { 5138 (this.close(), 5139 this.$element.off(".zf.trigger .zf.offCanvas"), 5140 this.$overlay.off(".zf.offCanvas"), 5141 this.onLoadListener && 5142 i()(window).off(this.onLoadListener)); 5143 }, 5144 }, 5145 ]) && u(t.prototype, e), 5146 h 5147 ); 5148 })(); 5149 p.defaults = { 5150 closeOnClick: !0, 5151 contentOverlay: !0, 5152 contentId: null, 5153 nested: null, 5154 contentScroll: !0, 5155 transitionTime: null, 5156 transition: "push", 5157 forceTo: null, 5158 isRevealed: !1, 5159 revealOn: null, 5160 inCanvasOn: null, 5161 autoFocus: !0, 5162 revealClass: "reveal-for-", 5163 trapFocus: !1, 5164 }; 5165 }, 5166
5166"./js/foundation.orbit.js": function (t, e, n) { 5167 "use strict"; 5168 (n.r(e), 5169 n.d(e, "Orbit", function () { 5170 return g; 5171 })); 5172 e = n("jquery"); 5173 var i = n.n(e), 5174 o = n("./js/foundation.util.keyboard.js"), 5175 s = n("./js/foundation.util.motion.js"), 5176 r = n("./js/foundation.util.timer.js"), 5177 a = n("./js/foundation.util.imageLoader.js"), 5178 l = n("./js/foundation.core.utils.js"), 5179 c = n("./js/foundation.core.plugin.js"), 5180 u = n("./js/foundation.util.touch.js"); 5181 function f(t) { 5182 return (f = 5183 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 5184 ? function (t) { 5185 return typeof t; 5186 } 5187 : function (t) { 5188 return t && 5189 "function" == typeof Symbol && 5190 t.constructor === Symbol && 5191 t !== Symbol.prototype 5192 ? "symbol" 5193 : typeof t; 5194 })(t); 5195 } 5196 function d(t, e) { 5197 for (var n = 0; n < e.length; n++) { 5198 var i = e[n]; 5199 ((i.enumerable = i.enumerable || !1), 5200 (i.configurable = !0), 5201 "value" in i && (i.writable = !0), 5202 Object.defineProperty(t, i.key, i)); 5203 } 5204 } 5205 function h(t, e) { 5206 return (h = 5207 Object.setPrototypeOf || 5208 function (t, e) { 5209 return ((t.__proto__ = e), t); 5210 })(t, e); 5211 } 5212 function p(t) { 5213 var e = (function () { 5214 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 5215 if (Reflect.construct.sham) return !1; 5216 if ("function" == typeof Proxy) return !0; 5217 try { 5218 return ( 5219 Boolean.prototype.valueOf.call( 5220 Reflect.construct(Boolean, [], function () {}), 5221 ), 5222 !0 5223 ); 5224 } catch (t) { 5225 return !1; 5226 } 5227 })(); 5228 return function () { 5229 var n, 5230 i = m(t); 5231 return (function (t, e) { 5232 if (e && ("object" === f(e) || "function" == typeof e)) return e; 5233 if (void 0 !== e) 5234 throw new TypeError( 5235 "Derived constructors may only return object or undefined", 5236 ); 5237 return (function (t) { 5238 if (void 0 !== t) return t; 5239 throw new ReferenceError( 5240 "this hasn't been initialised - super() hasn't been called", 5241 ); 5242 })(t); 5243 })( 5244 this, 5245 e 5246 ? ((n = m(this).constructor), 5247 Reflect.construct(i, arguments, n)) 5248 : i.apply(this, arguments), 5249 ); 5250 }; 5251 } 5252 function m(t) { 5253 return (m = Object.setPrototypeOf 5254 ? Object.getPrototypeOf 5255 : function (t) { 5256 return t.__proto__ || Object.getPrototypeOf(t); 5257 })(t); 5258 } 5259 var g = (function () { 5260 !(function (t, e) { 5261 if ("function" != typeof e && null !== e) 5262 throw new TypeError( 5263 "Super expression must either be null or a function", 5264 ); 5265 ((t.prototype = Object.create(e && e.prototype, { 5266 constructor: { value: t, writable: !0, configurable: !0 }, 5267 })), 5268 e && h(t, e)); 5269 })(f, c.Plugin); 5270 var t, 5271 e, 5272 n = p(f); 5273 function f() { 5274 return ( 5275 (function (t, e) { 5276 if (!(t instanceof e)) 5277 throw new TypeError("Cannot call a class as a function"); 5278 })(this, f), 5279 n.apply(this, arguments) 5280 ); 5281 } 5282 return ( 5283 (t = f), 5284 (e = [ 5285 { 5286 key: "_setup", 5287 value: function (t, e) { 5288 ((this.$element = t), 5289 (this.options = i.a.extend( 5290 {}, 5291 f.defaults, 5292 this.$element.data(), 5293 e, 5294 )), 5295 (this.className = "Orbit"), 5296 u.Touch.init(i.a), 5297 this._init(), 5298 o.Keyboard.register("Orbit", { 5299 ltr: { ARROW_RIGHT: "next", ARROW_LEFT: "previous" }, 5300 rtl: { ARROW_LEFT: "next", ARROW_RIGHT: "previous" }, 5301 })); 5302 }, 5303 }, 5304 { 5305 key: "_init", 5306 value: function () { 5307 (this._reset(), 5308 (this.$wrapper = this.$element.find( 5309 ".".concat(this.options.containerClass), 5310 )), 5311 (this.$slides = this.$element.find( 5312 ".".concat(this.options.slideClass), 5313 ))); 5314 var t = this.$element.find("img"), 5315 e = this.$slides.filter(".is-active"), 5316 n = 5317 this.$element[0].id || Object(l.GetYoDigits)(6, "orbit"); 5318 (this.$element.attr({ "data-resize": n, id: n }), 5319 e.length || this.$slides.eq(0).addClass("is-active"), 5320 this.options.useMUI || this.$slides.addClass("no-motionui"), 5321 t.length 5322 ? Object(a.onImagesLoaded)( 5323 t, 5324 this._prepareForOrbit.bind(this), 5325 ) 5326 : this._prepareForOrbit(), 5327 this.options.bullets && this._loadBullets(), 5328 this._events(), 5329 this.options.autoPlay && 5330 1 < this.$slides.length && 5331 this.geoSync(), 5332 this.options.accessible && 5333 this.$wrapper.attr("tabindex", 0)); 5334 }, 5335 }, 5336 { 5337 key: "_loadBullets", 5338 value: function () { 5339 this.$bullets = this.$element 5340 .find(".".concat(this.options.boxOfBullets)) 5341 .find("button"); 5342 }, 5343 }, 5344 { 5345 key: "geoSync", 5346 value: function () { 5347 var t = this; 5348 ((this.timer = new r.Timer( 5349 this.$element, 5350 { duration: this.options.timerDelay, infinite: !1 }, 5351 function () { 5352 t.changeSlide(!0); 5353 }, 5354 )), 5355 this.timer.start()); 5356 }, 5357 }, 5358 { 5359 key: "_prepareForOrbit", 5360 value: function () { 5361 this._setWrapperHeight(); 5362 }, 5363 }, 5364 { 5365 key: "_setWrapperHeight", 5366 value: function (t) { 5367 var e, 5368 n = 0, 5369 o = 0, 5370 s = this; 5371 (this.$slides.each(function () { 5372 ((e = this.getBoundingClientRect().height),
5373 i()(this).attr("data-slide", o), 5374 /mui/g.test(i()(this)[0].className) || 5375 s.$slides.filter(".is-active")[0] === 5376 s.$slides.eq(o)[0] || 5377 i()(this).css({ display: "none" }), 5378 (n = n < e ? e : n), 5379 o++); 5380 }), 5381 o === this.$slides.length && 5382 (this.$wrapper.css({ height: n }), t && t(n))); 5383 }, 5384 }, 5385 { 5386 key: "_setSlideHeight", 5387 value: function (t) { 5388 this.$slides.each(function () { 5389 i()(this).css("max-height", t); 5390 }); 5391 }, 5392 }, 5393 { 5394 key: "_events", 5395 value: function () { 5396 var t = this; 5397 (this.$element.off(".resizeme.zf.trigger").on({ 5398 "resizeme.zf.trigger": this._prepareForOrbit.bind(this), 5399 }), 5400 1 < this.$slides.length && 5401 (this.options.swipe && 5402 this.$slides 5403 .off("swipeleft.zf.orbit swiperight.zf.orbit") 5404 .on("swipeleft.zf.orbit", function (e) { 5405 (e.preventDefault(), t.changeSlide(!0)); 5406 }) 5407 .on("swiperight.zf.orbit", function (e) { 5408 (e.preventDefault(), t.changeSlide(!1)); 5409 }), 5410 this.options.autoPlay && 5411 (this.$slides.on("click.zf.orbit", function () { 5412 (t.$element.data( 5413 "clickedOn", 5414 !t.$element.data("clickedOn"), 5415 ), 5416 t.timer[ 5417 t.$element.data("clickedOn") ? "pause" : "start" 5418 ]()); 5419 }), 5420 this.options.pauseOnHover && 5421 this.$element 5422 .on("mouseenter.zf.orbit", function () { 5423 t.timer.pause(); 5424 }) 5425 .on("mouseleave.zf.orbit", function () { 5426 t.$element.data("clickedOn") || t.timer.start(); 5427 })), 5428 this.options.navButtons && 5429 this.$element 5430 .find( 5431 "." 5432 .concat(this.options.nextClass, ", .") 5433 .concat(this.options.prevClass), 5434 ) 5435 .attr("tabindex", 0) 5436 .on("click.zf.orbit touchend.zf.orbit", function (e) { 5437 (e.preventDefault(), 5438 t.changeSlide( 5439 i()(this).hasClass(t.options.nextClass), 5440 )); 5441 }), 5442 this.options.bullets && 5443 this.$bullets.on( 5444 "click.zf.orbit touchend.zf.orbit", 5445 function () { 5446 if (/is-active/g.test(this.className)) return !1; 5447 var e = i()(this).data("slide"), 5448 n = 5449 e > 5450 t.$slides.filter(".is-active").data("slide"), 5451 o = t.$slides.eq(e); 5452 t.changeSlide(n, o, e); 5453 }, 5454 ), 5455 this.options.accessible && 5456 this.$wrapper 5457 .add(this.$bullets) 5458 .on("keydown.zf.orbit", function (e) { 5459 o.Keyboard.handleKey(e, "Orbit", { 5460 next: function () { 5461 t.changeSlide(!0); 5462 }, 5463 previous: function () { 5464 t.changeSlide(!1); 5465 }, 5466 handled: function () { 5467 i()(e.target).is(t.$bullets) && 5468 t.$bullets.filter(".is-active").focus(); 5469 }, 5470 }); 5471 }))); 5472 }, 5473 }, 5474 { 5475 key: "_reset", 5476 value: function () { 5477 void 0 !== this.$slides && 5478 1 < this.$slides.length && 5479 (this.$element.off(".zf.orbit").find("*").off(".zf.orbit"), 5480 this.options.autoPlay && this.timer.restart(), 5481 this.$slides.each(function (t) { 5482 i()(t) 5483 .removeClass("is-active is-active is-in") 5484 .removeAttr("aria-live") 5485 .hide(); 5486 }), 5487 this.$slides.first().addClass("is-active").show(), 5488 this.$element.trigger("slidechange.zf.orbit", [ 5489 this.$slides.first(), 5490 ]), 5491 this.options.bullets && this._updateBullets(0)); 5492 }, 5493 }, 5494 { 5495 key: "changeSlide", 5496 value: function (t, e, n) { 5497 if (this.$slides) { 5498 var i = this.$slides.filter(".is-active").eq(0); 5499 if (/mui/g.test(i[0].className)) return !1; 5500 var o = this.$slides.first(), 5501 r = this.$slides.last(), 5502 a = t ? "Right" : "Left", 5503 l = t ? "Left" : "Right", 5504 c = this, 5505 u = 5506 e || 5507 (t 5508 ? !this.options.infiniteWrap || 5509 i.next(".".concat(this.options.slideClass)).length 5510 ? i.next(".".concat(this.options.slideClass)) 5511 : o 5512 : !this.options.infiniteWrap || 5513 i.prev(".".concat(this.options.slideClass)).length 5514 ? i.prev(".".concat(this.options.slideClass)) 5515 : r); 5516 u.length && 5517 (this.$element.trigger("beforeslidechange.zf.orbit", [ 5518 i, 5519 u, 5520 ]), 5521 this.options.bullets && 5522 ((n = n || this.$slides.index(u)), 5523 this._updateBullets(n)), 5524 this.options.useMUI && !this.$element.is(":hidden") 5525 ? (s.Motion.animateIn( 5526 u.addClass("is-active"), 5527 this.options["animInFrom".concat(a)], 5528 function () { 5529 u.css({ display: "block" }).attr( 5530 "aria-live", 5531 "polite", 5532 ); 5533 }, 5534 ), 5535 s.Motion.animateOut( 5536 i.removeClass("is-active"), 5537 this.options["animOutTo".concat(l)], 5538 function () { 5539 (i.removeAttr("aria-live"), 5540 c.options.autoPlay && 5541 !c.timer.isPaused && 5542 c.timer.restart()); 5543 }, 5544 )) 5545 : (i 5546 .removeClass("is-active is-in") 5547 .removeAttr("aria-live") 5548 .hide(), 5549 u 5550 .addClass("is-active is-in") 5551 .attr("aria-live", "polite") 5552 .show(), 5553 this.options.autoPlay && 5554 !this.timer.isPaused && 5555 this.timer.restart()), 5556 this.$element.trigger("slidechange.zf.orbit", [u])); 5557 } 5558 }, 5559 }, 5560 { 5561 key: "_updateBullets", 5562 value: function (t) { 5563 var e, 5564 n = this.$bullets.filter(".is-active"), 5565 o = this.$bullets.not(".is-active"), 5566 s = this.$bullets.eq(t); 5567 (n.removeClass("is-active").blur(), 5568 s.addClass("is-active"),
5569 (t = n.children("[data-slide-active-label]").last()) 5570 .length || 5571 ((e = n.children("span")), 5572 o 5573 .toArray() 5574 .map(function (t) { 5575 return i()(t).children("span").length; 5576 }) 5577 .every(function (t) { 5578 return t < e.length; 5579 }) && 5580 (t = e.last()).attr("data-slide-active-label", "")), 5581 t.length && (t.detach(), s.append(t))); 5582 }, 5583 }, 5584 { 5585 key: "_destroy", 5586 value: function () { 5587 this.$element 5588 .off(".zf.orbit") 5589 .find("*") 5590 .off(".zf.orbit") 5591 .end() 5592 .hide(); 5593 }, 5594 }, 5595 ]) && d(t.prototype, e), 5596 f 5597 ); 5598 })(); 5599 g.defaults = { 5600 bullets: !0, 5601 navButtons: !0, 5602 animInFromRight: "slide-in-right", 5603 animOutToRight: "slide-out-right", 5604 animInFromLeft: "slide-in-left", 5605 animOutToLeft: "slide-out-left", 5606 autoPlay: !0, 5607 timerDelay: 5e3, 5608 infiniteWrap: !0, 5609 swipe: !0, 5610 pauseOnHover: !0, 5611 accessible: !0, 5612 containerClass: "orbit-container", 5613 slideClass: "orbit-slide", 5614 boxOfBullets: "orbit-bullets", 5615 nextClass: "orbit-next", 5616 prevClass: "orbit-previous", 5617 useMUI: !0, 5618 }; 5619 }, 5620
5620"./js/foundation.positionable.js": function (t, e, n) { 5621 "use strict"; 5622 (n.r(e), 5623 n.d(e, "Positionable", function () { 5624 return p; 5625 })); 5626 var i = n("./js/foundation.util.box.js"), 5627 o = n("./js/foundation.core.plugin.js"), 5628 s = n("./js/foundation.core.utils.js"); 5629 function r(t) { 5630 return (r = 5631 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 5632 ? function (t) { 5633 return typeof t; 5634 } 5635 : function (t) { 5636 return t && 5637 "function" == typeof Symbol && 5638 t.constructor === Symbol && 5639 t !== Symbol.prototype 5640 ? "symbol" 5641 : typeof t; 5642 })(t); 5643 } 5644 function a(t, e) { 5645 for (var n = 0; n < e.length; n++) { 5646 var i = e[n]; 5647 ((i.enumerable = i.enumerable || !1), 5648 (i.configurable = !0), 5649 "value" in i && (i.writable = !0), 5650 Object.defineProperty(t, i.key, i)); 5651 } 5652 } 5653 function l(t, e) { 5654 return (l = 5655 Object.setPrototypeOf || 5656 function (t, e) { 5657 return ((t.__proto__ = e), t); 5658 })(t, e); 5659 } 5660 function c(t) { 5661 var e = (function () { 5662 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 5663 if (Reflect.construct.sham) return !1; 5664 if ("function" == typeof Proxy) return !0; 5665 try { 5666 return ( 5667 Boolean.prototype.valueOf.call( 5668 Reflect.construct(Boolean, [], function () {}), 5669 ), 5670 !0 5671 ); 5672 } catch (t) { 5673 return !1; 5674 } 5675 })(); 5676 return function () { 5677 var n, 5678 i = u(t); 5679 return (function (t, e) { 5680 if (e && ("object" === r(e) || "function" == typeof e)) return e; 5681 if (void 0 !== e) 5682 throw new TypeError( 5683 "Derived constructors may only return object or undefined", 5684 ); 5685 return (function (t) { 5686 if (void 0 !== t) return t; 5687 throw new ReferenceError( 5688 "this hasn't been initialised - super() hasn't been called", 5689 ); 5690 })(t); 5691 })( 5692 this, 5693 e 5694 ? ((n = u(this).constructor), 5695 Reflect.construct(i, arguments, n)) 5696 : i.apply(this, arguments), 5697 ); 5698 }; 5699 } 5700 function u(t) { 5701 return (u = Object.setPrototypeOf 5702 ? Object.getPrototypeOf 5703 : function (t) { 5704 return t.__proto__ || Object.getPrototypeOf(t); 5705 })(t); 5706 } 5707 var f = ["left", "right", "top", "bottom"], 5708 d = { 5709 left: (e = ["top", "bottom", "center"]), 5710 right: e, 5711 top: (n = ["left", "right", "center"]), 5712 bottom: n, 5713 }; 5714 function h(t, e) { 5715 return (t = e.indexOf(t)) === e.length - 1 ? e[0] : e[t + 1]; 5716 } 5717 var p = (function () { 5718 !(function (t, e) { 5719 if ("function" != typeof e && null !== e) 5720 throw new TypeError( 5721 "Super expression must either be null or a function", 5722 ); 5723 ((t.prototype = Object.create(e && e.prototype, { 5724 constructor: { value: t, writable: !0, configurable: !0 }, 5725 })), 5726 e && l(t, e)); 5727 })(r, o.Plugin); 5728 var t, 5729 e, 5730 n = c(r); 5731 function r() { 5732 return ( 5733 (function (t, e) { 5734 if (!(t instanceof e)) 5735 throw new TypeError("Cannot call a class as a function"); 5736 })(this, r), 5737 n.apply(this, arguments) 5738 ); 5739 } 5740 return ( 5741 (t = r), 5742 (e = [ 5743 { 5744 key: "_init", 5745 value: function () { 5746 ((this.triedPositions = {}), 5747 (this.position = 5748 "auto" === this.options.position 5749 ? this._getDefaultPosition() 5750 : this.options.position), 5751 (this.alignment = 5752 "auto" === this.options.alignment 5753 ? this._getDefaultAlignment() 5754 : this.options.alignment), 5755 (this.originalPosition = this.position), 5756 (this.originalAlignment = this.alignment)); 5757 }, 5758 }, 5759 { 5760 key: "_getDefaultPosition", 5761 value: function () { 5762 return "bottom"; 5763 }, 5764 }, 5765 { 5766 key: "_getDefaultAlignment", 5767 value: function () { 5768 switch (this.position) { 5769 case "bottom": 5770 case "top": 5771 return Object(s.rtl)() ? "right" : "left";
5772 case "left": 5773 case "right": 5774 return "bottom"; 5775 } 5776 }, 5777 }, 5778 { 5779 key: "_reposition", 5780 value: function () { 5781 this._alignmentsExhausted(this.position) 5782 ? ((this.position = h(this.position, f)), 5783 (this.alignment = d[this.position][0])) 5784 : this._realign(); 5785 }, 5786 }, 5787 { 5788 key: "_realign", 5789 value: function () { 5790 (this._addTriedPosition(this.position, this.alignment), 5791 (this.alignment = h(this.alignment, d[this.position]))); 5792 }, 5793 }, 5794 { 5795 key: "_addTriedPosition", 5796 value: function (t, e) { 5797 ((this.triedPositions[t] = this.triedPositions[t] || []), 5798 this.triedPositions[t].push(e)); 5799 }, 5800 }, 5801 { 5802 key: "_positionsExhausted", 5803 value: function () { 5804 for (var t = !0, e = 0; e < f.length; e++) 5805 t = t && this._alignmentsExhausted(f[e]); 5806 return t; 5807 }, 5808 }, 5809 { 5810 key: "_alignmentsExhausted", 5811 value: function (t) { 5812 return ( 5813 this.triedPositions[t] && 5814 this.triedPositions[t].length === d[t].length 5815 ); 5816 }, 5817 }, 5818 { 5819 key: "_getVOffset", 5820 value: function () { 5821 return this.options.vOffset; 5822 }, 5823 }, 5824 { 5825 key: "_getHOffset", 5826 value: function () { 5827 return this.options.hOffset; 5828 }, 5829 }, 5830 { 5831 key: "_setPosition", 5832 value: function (t, e, n) { 5833 if ("false" === t.attr("aria-expanded")) return !1; 5834 if ( 5835 (this.options.allowOverlap || 5836 ((this.position = this.originalPosition), 5837 (this.alignment = this.originalAlignment)), 5838 e.offset( 5839 i.Box.GetExplicitOffsets( 5840 e, 5841 t, 5842 this.position, 5843 this.alignment, 5844 this._getVOffset(), 5845 this._getHOffset(), 5846 ), 5847 ), 5848 !this.options.allowOverlap) 5849 ) { 5850 for ( 5851 var o = 1e8, 5852 s = { 5853 position: this.position, 5854 alignment: this.alignment, 5855 }; 5856 !this._positionsExhausted(); 5857 ) { 5858 var r = i.Box.OverlapArea( 5859 e, 5860 n, 5861 !1, 5862 !1, 5863 this.options.allowBottomOverlap, 5864 ); 5865 if (0 === r) return; 5866 (r < o && 5867 ((o = r), 5868 (s = { 5869 position: this.position, 5870 alignment: this.alignment, 5871 })), 5872 this._reposition(), 5873 e.offset( 5874 i.Box.GetExplicitOffsets( 5875 e, 5876 t, 5877 this.position, 5878 this.alignment, 5879 this._getVOffset(), 5880 this._getHOffset(), 5881 ), 5882 )); 5883 } 5884 ((this.position = s.position),
5885 (this.alignment = s.alignment), 5886 e.offset( 5887 i.Box.GetExplicitOffsets( 5888 e, 5889 t, 5890 this.position, 5891 this.alignment, 5892 this._getVOffset(), 5893 this._getHOffset(), 5894 ), 5895 )); 5896 } 5897 }, 5898 }, 5899 ]) && a(t.prototype, e), 5900 r 5901 ); 5902 })(); 5903 p.defaults = { 5904 position: "auto", 5905 alignment: "auto", 5906 allowOverlap: !1, 5907 allowBottomOverlap: !0, 5908 vOffset: 0, 5909 hOffset: 0, 5910 }; 5911 }, 5912
5912"./js/foundation.responsiveAccordionTabs.js": function (t, e, n) { 5913 "use strict"; 5914 (n.r(e), 5915 n.d(e, "ResponsiveAccordionTabs", function () { 5916 return m; 5917 })); 5918 e = n("jquery"); 5919 var i = n.n(e), 5920 o = n("./js/foundation.util.mediaQuery.js"), 5921 s = n("./js/foundation.core.utils.js"), 5922 r = n("./js/foundation.core.plugin.js"); 5923 e = n("./js/foundation.accordion.js"); 5924 function a(t) { 5925 return (a = 5926 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 5927 ? function (t) { 5928 return typeof t; 5929 } 5930 : function (t) { 5931 return t && 5932 "function" == typeof Symbol && 5933 t.constructor === Symbol && 5934 t !== Symbol.prototype 5935 ? "symbol" 5936 : typeof t; 5937 })(t); 5938 } 5939 function l(t, e) { 5940 for (var n = 0; n < e.length; n++) { 5941 var i = e[n]; 5942 ((i.enumerable = i.enumerable || !1), 5943 (i.configurable = !0), 5944 "value" in i && (i.writable = !0), 5945 Object.defineProperty(t, i.key, i)); 5946 } 5947 } 5948 function c(t, e) { 5949 return (c = 5950 Object.setPrototypeOf || 5951 function (t, e) { 5952 return ((t.__proto__ = e), t); 5953 })(t, e); 5954 } 5955 function u(t) { 5956 var e = (function () { 5957 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 5958 if (Reflect.construct.sham) return !1; 5959 if ("function" == typeof Proxy) return !0; 5960 try { 5961 return ( 5962 Boolean.prototype.valueOf.call( 5963 Reflect.construct(Boolean, [], function () {}), 5964 ), 5965 !0 5966 ); 5967 } catch (t) { 5968 return !1; 5969 } 5970 })(); 5971 return function () { 5972 var n, 5973 i = h(t); 5974 return f( 5975 this, 5976 e 5977 ? ((n = h(this).constructor), 5978 Reflect.construct(i, arguments, n)) 5979 : i.apply(this, arguments), 5980 ); 5981 }; 5982 } 5983 function f(t, e) { 5984 if (e && ("object" === a(e) || "function" == typeof e)) return e; 5985 if (void 0 !== e) 5986 throw new TypeError( 5987 "Derived constructors may only return object or undefined", 5988 ); 5989 return d(t); 5990 } 5991 function d(t) { 5992 if (void 0 === t) 5993 throw new ReferenceError( 5994 "this hasn't been initialised - super() hasn't been called", 5995 ); 5996 return t; 5997 } 5998 function h(t) { 5999 return (h = Object.setPrototypeOf 6000 ? Object.getPrototypeOf 6001 : function (t) { 6002 return t.__proto__ || Object.getPrototypeOf(t); 6003 })(t); 6004 } 6005 var p = { 6006 tabs: { 6007 cssClass: "tabs", 6008 plugin: n("./js/foundation.tabs.js").Tabs, 6009 open: function (t, e) { 6010 return t.selectTab(e); 6011 }, 6012 close: null, 6013 toggle: null, 6014 }, 6015 accordion: { 6016 cssClass: "accordion", 6017 plugin: e.Accordion, 6018 open: function (t, e) { 6019 return t.down(i()(e)); 6020 }, 6021 close: function (t, e) { 6022 return t.up(i()(e)); 6023 }, 6024 toggle: function (t, e) { 6025 return t.toggle(i()(e)); 6026 }, 6027 }, 6028 }, 6029 m = (function () { 6030 !(function (t, e) { 6031 if ("function" != typeof e && null !== e) 6032 throw new TypeError( 6033 "Super expression must either be null or a function", 6034 ); 6035 ((t.prototype = Object.create(e && e.prototype, { 6036 constructor: { value: t, writable: !0, configurable: !0 },
6037 })), 6038 e && c(t, e)); 6039 })(a, r.Plugin); 6040 var t, 6041 e, 6042 n = u(a); 6043 function a(t, e) { 6044 return ( 6045 (function (t, e) { 6046 if (!(t instanceof e)) 6047 throw new TypeError("Cannot call a class as a function"); 6048 })(this, a), 6049 f( 6050 (e = n.call(this, t, e)), 6051 (e.options.reflow && e.storezfData) || d(e), 6052 ) 6053 ); 6054 } 6055 return ( 6056 (t = a), 6057 (e = [ 6058 { 6059 key: "_setup", 6060 value: function (t, e) { 6061 ((this.$element = i()(t)), 6062 this.$element.data("zfPluginBase", this), 6063 (this.options = i.a.extend( 6064 {}, 6065 a.defaults, 6066 this.$element.data(), 6067 e, 6068 )), 6069 (this.rules = this.$element.data( 6070 "responsive-accordion-tabs", 6071 )), 6072 (this.currentMq = null), 6073 (this.currentRule = null), 6074 (this.currentPlugin = null), 6075 (this.className = "ResponsiveAccordionTabs"), 6076 this.$element.attr("id") || 6077 this.$element.attr( 6078 "id", 6079 Object(s.GetYoDigits)(6, "responsiveaccordiontabs"), 6080 ), 6081 this._init(), 6082 this._events()); 6083 }, 6084 }, 6085 { 6086 key: "_init", 6087 value: function () { 6088 if ((o.MediaQuery._init(), "string" == typeof this.rules)) { 6089 for ( 6090 var t = {}, e = this.rules.split(" "), n = 0; 6091 n < e.length; 6092 n++ 6093 ) { 6094 var s = 6095 1 < (r = e[n].split("-")).length ? r[0] : "small", 6096 r = 1 < r.length ? r[1] : r[0]; 6097 null !== p[r] && (t[s] = p[r]); 6098 } 6099 this.rules = t; 6100 } 6101 (this._getAllOptions(), 6102 i.a.isEmptyObject(this.rules) || 6103 this._checkMediaQueries()); 6104 }, 6105 }, 6106 { 6107 key: "_getAllOptions", 6108 value: function () { 6109 for (var t in ((this.allOptions = {}), p)) 6110 if (p.hasOwnProperty(t)) { 6111 var e = p[t]; 6112 try { 6113 var n, 6114 o, 6115 s = i()("<ul></ul>"), 6116 r = new e.plugin(s, this.options); 6117 for (n in r.options) 6118 r.options.hasOwnProperty(n) && 6119 "zfPlugin" !== n && 6120 ((o = r.options[n]), (this.allOptions[n] = o)); 6121 r.destroy(); 6122 } catch (t) { 6123 console.warn( 6124 "Warning: Problems getting Accordion/Tab options: ".concat( 6125 t, 6126 ), 6127 ); 6128 } 6129 } 6130 }, 6131 }, 6132 { 6133 key: "_events", 6134 value: function () { 6135 ((this._changedZfMediaQueryHandler = 6136 this._checkMediaQueries.bind(this)), 6137 i()(window).on( 6138 "changed.zf.mediaquery", 6139 this._changedZfMediaQueryHandler, 6140 )); 6141 }, 6142 }, 6143 { 6144 key: "_checkMediaQueries", 6145 value: function () { 6146 var t, 6147 e = this; 6148 (i.a.each(this.rules, function (e) { 6149 o.MediaQuery.atLeast(e) && (t = e); 6150 }), 6151 t && 6152 (this.currentPlugin instanceof this.rules[t].plugin || 6153 (i.a.each(p, function (t, n) { 6154 e.$element.removeClass(n.cssClass); 6155 }), 6156 this.$element.addClass(this.rules[t].cssClass), 6157 this.currentPlugin && 6158 (!this.currentPlugin.$element.data("zfPlugin") && 6159 this.storezfData && 6160 this.currentPlugin.$element.data( 6161 "zfPlugin", 6162 this.storezfData, 6163 ), 6164 this.currentPlugin.destroy()), 6165 this._handleMarkup(this.rules[t].cssClass), 6166 (this.currentRule = this.rules[t]), 6167 (this.currentPlugin = new this.currentRule.plugin( 6168 this.$element, 6169 this.options, 6170 )), 6171 (this.storezfData = 6172 this.currentPlugin.$element.data("zfPlugin"))))); 6173 }, 6174 }, 6175 { 6176 key: "_handleMarkup", 6177 value: function (t) { 6178 var e, 6179 n, 6180 o, 6181 r, 6182 a, 6183 l = this, 6184 c = "accordion", 6185 u = i()( 6186 "[data-tabs-content=" + this.$element.attr("id") + "]", 6187 ); 6188 (c = u.length ? "tabs" : c) !== t && 6189 ((e = l.allOptions.linkClass || "tabs-title"),
6190 (n = l.allOptions.panelClass || "tabs-panel"), 6191 this.$element.removeAttr("role"), 6192 (o = this.$element 6193 .children("." + e + ",[data-accordion-item]") 6194 .removeClass(e) 6195 .removeClass("accordion-item") 6196 .removeAttr("data-accordion-item")), 6197 (r = o.children("a").removeClass("accordion-title")), 6198 "tabs" === c 6199 ? (u = u 6200 .children("." + n) 6201 .removeClass(n) 6202 .removeAttr("role") 6203 .removeAttr("aria-hidden") 6204 .removeAttr("aria-labelledby")) 6205 .children("a") 6206 .removeAttr("role") 6207 .removeAttr("aria-controls") 6208 .removeAttr("aria-selected") 6209 : (u = o 6210 .children("[data-tab-content]") 6211 .removeClass("accordion-content")), 6212 u.css({ display: "", visibility: "" }), 6213 o.css({ display: "", visibility: "" }), 6214 "accordion" === t 6215 ? u.each(function (t, e) { 6216 (i()(e) 6217 .appendTo(o.get(t)) 6218 .addClass("accordion-content") 6219 .attr("data-tab-content", "") 6220 .removeClass("is-active") 6221 .css({ height: "" }), 6222 i()( 6223 "[data-tabs-content=" + 6224 l.$element.attr("id") + 6225 "]", 6226 ) 6227 .after( 6228 '<div id="tabs-placeholder-' + 6229 l.$element.attr("id") + 6230 '"></div>', 6231 ) 6232 .detach(), 6233 o 6234 .addClass("accordion-item") 6235 .attr("data-accordion-item", ""), 6236 r.addClass("accordion-title")); 6237 }) 6238 : "tabs" === t && 6239 ((a = i()( 6240 "[data-tabs-content=" + l.$element.attr("id") + "]", 6241 )), 6242 (t = i()( 6243 "#tabs-placeholder-" + l.$element.attr("id"), 6244 )).length 6245 ? ((a = i()('<div class="tabs-content"></div>') 6246 .insertAfter(t) 6247 .attr( 6248 "data-tabs-content", 6249 l.$element.attr("id"), 6250 )), 6251 t.remove()) 6252 : (a = i()('<div class="tabs-content"></div>') 6253 .insertAfter(l.$element) 6254 .attr( 6255 "data-tabs-content", 6256 l.$element.attr("id"), 6257 )), 6258 u.each(function (t, e) { 6259 var l = i()(e).appendTo(a).addClass(n), 6260 c = r.get(t).hash.slice(1), 6261 u = 6262 i()(e).attr("id") || 6263 Object(s.GetYoDigits)(6, "accordion"); 6264 (c !== u && 6265 ("" !== c 6266 ? i()(e).attr("id", c) 6267 : ((c = u), 6268 i()(e).attr("id", c), 6269 i()(r.get(t)).attr( 6270 "href", 6271 i()(r.get(t)) 6272 .attr("href") 6273 .replace("#", "") + 6274 "#" + 6275 c, 6276 ))), 6277 i()(o.get(t)).hasClass("is-active") && 6278 l.addClass("is-active")); 6279 }), 6280 o.addClass(e))); 6281 }, 6282 }, 6283 { 6284 key: "open", 6285 value: function () { 6286 var t; 6287 if ( 6288 this.currentRule && 6289 "function" == typeof this.currentRule.open 6290 ) 6291 return (t = this.currentRule).open.apply( 6292 t, 6293 [this.currentPlugin].concat( 6294 Array.prototype.slice.call(arguments), 6295 ), 6296 ); 6297 }, 6298 }, 6299 { 6300 key: "close", 6301 value: function () { 6302 var t; 6303 if ( 6304 this.currentRule && 6305 "function" == typeof this.currentRule.close 6306 ) 6307 return (t = this.currentRule).close.apply( 6308 t, 6309 [this.currentPlugin].concat( 6310 Array.prototype.slice.call(arguments), 6311 ), 6312 ); 6313 }, 6314 }, 6315 { 6316 key: "toggle", 6317 value: function () { 6318 var t; 6319 if ( 6320 this.currentRule && 6321 "function" == typeof this.currentRule.toggle 6322 ) 6323 return (t = this.currentRule).toggle.apply( 6324 t, 6325 [this.currentPlugin].concat( 6326 Array.prototype.slice.call(arguments), 6327 ), 6328 ); 6329 }, 6330 }, 6331 { 6332 key: "_destroy", 6333 value: function () { 6334 (this.currentPlugin && this.currentPlugin.destroy(), 6335 i()(window).off( 6336 "changed.zf.mediaquery", 6337 this._changedZfMediaQueryHandler, 6338 )); 6339 }, 6340 }, 6341 ]) && l(t.prototype, e), 6342 a 6343 ); 6344 })(); 6345 m.defaults = {}; 6346 }, 6347
6347"./js/foundation.responsiveMenu.js": function (t, e, n) { 6348 "use strict"; 6349 (n.r(e), 6350 n.d(e, "ResponsiveMenu", function () { 6351 return p; 6352 })); 6353 var i = n("jquery"), 6354 o = n.n(i), 6355 s = n("./js/foundation.util.mediaQuery.js"), 6356 r = n("./js/foundation.core.utils.js"), 6357 a = n("./js/foundation.core.plugin.js"); 6358 ((e = n("./js/foundation.dropdownMenu.js")), 6359 (i = n("./js/foundation.drilldown.js")), 6360 (n = n("./js/foundation.accordionMenu.js"))); 6361 function l(t) { 6362 return (l = 6363 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 6364 ? function (t) { 6365 return typeof t; 6366 } 6367 : function (t) { 6368 return t && 6369 "function" == typeof Symbol && 6370 t.constructor === Symbol && 6371 t !== Symbol.prototype 6372 ? "symbol" 6373 : typeof t; 6374 })(t); 6375 } 6376 function c(t, e) { 6377 for (var n = 0; n < e.length; n++) { 6378 var i = e[n]; 6379 ((i.enumerable = i.enumerable || !1), 6380 (i.configurable = !0), 6381 "value" in i && (i.writable = !0), 6382 Object.defineProperty(t, i.key, i)); 6383 } 6384 } 6385 function u(t, e) { 6386 return (u = 6387 Object.setPrototypeOf || 6388 function (t, e) { 6389 return ((t.__proto__ = e), t); 6390 })(t, e); 6391 } 6392 function f(t) { 6393 var e = (function () { 6394 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 6395 if (Reflect.construct.sham) return !1; 6396 if ("function" == typeof Proxy) return !0; 6397 try { 6398 return ( 6399 Boolean.prototype.valueOf.call( 6400 Reflect.construct(Boolean, [], function () {}), 6401 ), 6402 !0 6403 ); 6404 } catch (t) { 6405 return !1; 6406 } 6407 })(); 6408 return function () { 6409 var n, 6410 i = d(t); 6411 return (function (t, e) { 6412 if (e && ("object" === l(e) || "function" == typeof e)) return e; 6413 if (void 0 !== e) 6414 throw new TypeError( 6415 "Derived constructors may only return object or undefined", 6416 ); 6417 return (function (t) { 6418 if (void 0 !== t) return t; 6419 throw new ReferenceError( 6420 "this hasn't been initialised - super() hasn't been called", 6421 ); 6422 })(t); 6423 })( 6424 this, 6425 e 6426 ? ((n = d(this).constructor), 6427 Reflect.construct(i, arguments, n)) 6428 : i.apply(this, arguments), 6429 ); 6430 }; 6431 } 6432 function d(t) { 6433 return (d = Object.setPrototypeOf 6434 ? Object.getPrototypeOf 6435 : function (t) { 6436 return t.__proto__ || Object.getPrototypeOf(t); 6437 })(t); 6438 } 6439 var h = { 6440 dropdown: { cssClass: "dropdown", plugin: e.DropdownMenu }, 6441 drilldown: { cssClass: "drilldown", plugin: i.Drilldown }, 6442 accordion: { cssClass: "accordion-menu", plugin: n.AccordionMenu }, 6443 }, 6444 p = (function () { 6445 !(function (t, e) { 6446 if ("function" != typeof e && null !== e) 6447 throw new TypeError( 6448 "Super expression must either be null or a function", 6449 ); 6450 ((t.prototype = Object.create(e && e.prototype, { 6451 constructor: { value: t, writable: !0, configurable: !0 }, 6452 })), 6453 e && u(t, e)); 6454 })(i, a.Plugin); 6455 var t, 6456 e, 6457 n = f(i); 6458 function i() { 6459 return ( 6460 (function (t, e) { 6461 if (!(t instanceof e)) 6462 throw new TypeError("Cannot call a class as a function"); 6463 })(this, i), 6464 n.apply(this, arguments) 6465 ); 6466 } 6467 return ( 6468 (t = i), 6469 (e = [ 6470 { 6471 key: "_setup", 6472 value: function (t) { 6473 ((this.$element = o()(t)), 6474 (this.rules = this.$element.data("responsive-menu")), 6475 (this.currentMq = null),
6476 (this.currentPlugin = null), 6477 (this.className = "ResponsiveMenu"), 6478 this._init(), 6479 this._events()); 6480 }, 6481 }, 6482 { 6483 key: "_init", 6484 value: function () { 6485 if ((s.MediaQuery._init(), "string" == typeof this.rules)) { 6486 for ( 6487 var t = {}, e = this.rules.split(" "), n = 0; 6488 n < e.length; 6489 n++ 6490 ) { 6491 var i = 6492 1 < (a = e[n].split("-")).length ? a[0] : "small", 6493 a = 1 < a.length ? a[1] : a[0]; 6494 null !== h[a] && (t[i] = h[a]); 6495 } 6496 this.rules = t; 6497 } 6498 (o.a.isEmptyObject(this.rules) || this._checkMediaQueries(), 6499 this.$element.attr( 6500 "data-mutate", 6501 this.$element.attr("data-mutate") || 6502 Object(r.GetYoDigits)(6, "responsive-menu"), 6503 )); 6504 }, 6505 }, 6506 { 6507 key: "_events", 6508 value: function () { 6509 var t = this; 6510 o()(window).on("changed.zf.mediaquery", function () { 6511 t._checkMediaQueries(); 6512 }); 6513 }, 6514 }, 6515 { 6516 key: "_checkMediaQueries", 6517 value: function () { 6518 var t, 6519 e = this; 6520 (o.a.each(this.rules, function (e) { 6521 s.MediaQuery.atLeast(e) && (t = e); 6522 }), 6523 t && 6524 (this.currentPlugin instanceof this.rules[t].plugin || 6525 (o.a.each(h, function (t, n) { 6526 e.$element.removeClass(n.cssClass); 6527 }), 6528 this.$element.addClass(this.rules[t].cssClass), 6529 this.currentPlugin && this.currentPlugin.destroy(), 6530 (this.currentPlugin = new this.rules[t].plugin( 6531 this.$element, 6532 {}, 6533 ))))); 6534 }, 6535 }, 6536 { 6537 key: "_destroy", 6538 value: function () { 6539 (this.currentPlugin.destroy(), 6540 o()(window).off(".zf.ResponsiveMenu")); 6541 }, 6542 }, 6543 ]) && c(t.prototype, e), 6544 i 6545 ); 6546 })(); 6547 p.defaults = {}; 6548 }, 6549
6549"./js/foundation.responsiveToggle.js": function (t, e, n) { 6550 "use strict"; 6551 (n.r(e), 6552 n.d(e, "ResponsiveToggle", function () { 6553 return d; 6554 })); 6555 e = n("jquery"); 6556 var i = n.n(e), 6557 o = n("./js/foundation.util.mediaQuery.js"), 6558 s = n("./js/foundation.util.motion.js"), 6559 r = n("./js/foundation.core.plugin.js"); 6560 function a(t) { 6561 return (a = 6562 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 6563 ? function (t) { 6564 return typeof t; 6565 } 6566 : function (t) { 6567 return t && 6568 "function" == typeof Symbol && 6569 t.constructor === Symbol && 6570 t !== Symbol.prototype 6571 ? "symbol" 6572 : typeof t; 6573 })(t); 6574 } 6575 function l(t, e) { 6576 for (var n = 0; n < e.length; n++) { 6577 var i = e[n]; 6578 ((i.enumerable = i.enumerable || !1), 6579 (i.configurable = !0), 6580 "value" in i && (i.writable = !0), 6581 Object.defineProperty(t, i.key, i)); 6582 } 6583 } 6584 function c(t, e) { 6585 return (c = 6586 Object.setPrototypeOf || 6587 function (t, e) { 6588 return ((t.__proto__ = e), t); 6589 })(t, e); 6590 } 6591 function u(t) { 6592 var e = (function () { 6593 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 6594 if (Reflect.construct.sham) return !1; 6595 if ("function" == typeof Proxy) return !0; 6596 try { 6597 return ( 6598 Boolean.prototype.valueOf.call( 6599 Reflect.construct(Boolean, [], function () {}), 6600 ), 6601 !0 6602 ); 6603 } catch (t) { 6604 return !1; 6605 } 6606 })(); 6607 return function () { 6608 var n, 6609 i = f(t); 6610 return (function (t, e) { 6611 if (e && ("object" === a(e) || "function" == typeof e)) return e; 6612 if (void 0 !== e) 6613 throw new TypeError( 6614 "Derived constructors may only return object or undefined", 6615 ); 6616 return (function (t) { 6617 if (void 0 !== t) return t; 6618 throw new ReferenceError( 6619 "this hasn't been initialised - super() hasn't been called", 6620 ); 6621 })(t); 6622 })( 6623 this, 6624 e 6625 ? ((n = f(this).constructor), 6626 Reflect.construct(i, arguments, n)) 6627 : i.apply(this, arguments), 6628 ); 6629 }; 6630 } 6631 function f(t) { 6632 return (f = Object.setPrototypeOf 6633 ? Object.getPrototypeOf 6634 : function (t) { 6635 return t.__proto__ || Object.getPrototypeOf(t); 6636 })(t); 6637 } 6638 var d = (function () { 6639 !(function (t, e) { 6640 if ("function" != typeof e && null !== e) 6641 throw new TypeError( 6642 "Super expression must either be null or a function", 6643 ); 6644 ((t.prototype = Object.create(e && e.prototype, { 6645 constructor: { value: t, writable: !0, configurable: !0 }, 6646 })), 6647 e && c(t, e)); 6648 })(a, r.Plugin); 6649 var t, 6650 e, 6651 n = u(a); 6652 function a() { 6653 return ( 6654 (function (t, e) { 6655 if (!(t instanceof e)) 6656 throw new TypeError("Cannot call a class as a function"); 6657 })(this, a), 6658 n.apply(this, arguments) 6659 ); 6660 } 6661 return ( 6662 (t = a), 6663 (e = [ 6664 { 6665 key: "_setup", 6666 value: function (t, e) { 6667 ((this.$element = i()(t)), 6668 (this.options = i.a.extend( 6669 {}, 6670 a.defaults, 6671 this.$element.data(), 6672 e, 6673 )), 6674 (this.className = "ResponsiveToggle"), 6675 this._init(), 6676 this._events()); 6677 }, 6678 }, 6679 { 6680 key: "_init", 6681 value: function () { 6682 o.MediaQuery._init(); 6683 var t, 6684 e = this.$element.data("responsive-toggle"); 6685 (e || 6686 console.error( 6687 "Your tab bar needs an ID of a Menu as the value of data-tab-bar.", 6688 ), 6689 (this.$targetMenu = i()("#".concat(e))), 6690 (this.$toggler = this.$element 6691 .find("[data-toggle]") 6692 .filter(function () { 6693 var t = i()(this).data("toggle"); 6694 return t === e || "" === t; 6695 })), 6696 (this.options = i.a.extend( 6697 {}, 6698 this.options, 6699 this.$targetMenu.data(), 6700 )), 6701 this.options.animate && 6702 ((t = this.options.animate.split(" ")), 6703 (this.animationIn = t[0]), 6704 (this.animationOut = t[1] || null)), 6705 this._update()); 6706 }, 6707 }, 6708 { 6709 key: "_events", 6710 value: function () { 6711 ((this._updateMqHandler = this._update.bind(this)), 6712 i()(window).on( 6713 "changed.zf.mediaquery", 6714 this._updateMqHandler, 6715 ), 6716 this.$toggler.on( 6717 "click.zf.responsiveToggle", 6718 this.toggleMenu.bind(this), 6719 )); 6720 }, 6721 }, 6722 { 6723 key: "_update", 6724 value: function () { 6725 o.MediaQuery.atLeast(this.options.hideFor) 6726 ? (this.$element.hide(), this.$targetMenu.show()) 6727 : (this.$element.show(), this.$targetMenu.hide()); 6728 }, 6729 }, 6730 { 6731 key: "toggleMenu", 6732 value: function () { 6733 var t = this; 6734 o.MediaQuery.atLeast(this.options.hideFor) || 6735 (this.options.animate 6736 ? this.$targetMenu.is(":hidden") 6737 ? s.Motion.animateIn( 6738 this.$targetMenu, 6739 this.animationIn,
6740 function () { 6741 (t.$element.trigger( 6742 "toggled.zf.responsiveToggle", 6743 ), 6744 t.$targetMenu 6745 .find("[data-mutate]") 6746 .triggerHandler("mutateme.zf.trigger")); 6747 }, 6748 ) 6749 : s.Motion.animateOut( 6750 this.$targetMenu, 6751 this.animationOut, 6752 function () { 6753 t.$element.trigger("toggled.zf.responsiveToggle"); 6754 }, 6755 ) 6756 : (this.$targetMenu.toggle(0), 6757 this.$targetMenu 6758 .find("[data-mutate]") 6759 .trigger("mutateme.zf.trigger"), 6760 this.$element.trigger("toggled.zf.responsiveToggle"))); 6761 }, 6762 }, 6763 { 6764 key: "_destroy", 6765 value: function () { 6766 (this.$element.off(".zf.responsiveToggle"), 6767 this.$toggler.off(".zf.responsiveToggle"), 6768 i()(window).off( 6769 "changed.zf.mediaquery", 6770 this._updateMqHandler, 6771 )); 6772 }, 6773 }, 6774 ]) && l(t.prototype, e), 6775 a 6776 ); 6777 })(); 6778 d.defaults = { hideFor: "medium", animate: !1 }; 6779 }, 6780
6780"./js/foundation.reveal.js": function (t, e, n) { 6781 "use strict"; 6782 (n.r(e), 6783 n.d(e, "Reveal", function () { 6784 return g; 6785 })); 6786 e = n("jquery"); 6787 var i = n.n(e), 6788 o = n("./js/foundation.core.plugin.js"), 6789 s = n("./js/foundation.core.utils.js"), 6790 r = n("./js/foundation.util.keyboard.js"), 6791 a = n("./js/foundation.util.mediaQuery.js"), 6792 l = n("./js/foundation.util.motion.js"), 6793 c = n("./js/foundation.util.triggers.js"), 6794 u = n("./js/foundation.util.touch.js"); 6795 function f(t) { 6796 return (f = 6797 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 6798 ? function (t) { 6799 return typeof t; 6800 } 6801 : function (t) { 6802 return t && 6803 "function" == typeof Symbol && 6804 t.constructor === Symbol && 6805 t !== Symbol.prototype 6806 ? "symbol" 6807 : typeof t; 6808 })(t); 6809 } 6810 function d(t, e) { 6811 for (var n = 0; n < e.length; n++) { 6812 var i = e[n]; 6813 ((i.enumerable = i.enumerable || !1), 6814 (i.configurable = !0), 6815 "value" in i && (i.writable = !0), 6816 Object.defineProperty(t, i.key, i)); 6817 } 6818 } 6819 function h(t, e) { 6820 return (h = 6821 Object.setPrototypeOf || 6822 function (t, e) { 6823 return ((t.__proto__ = e), t); 6824 })(t, e); 6825 } 6826 function p(t) { 6827 var e = (function () { 6828 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 6829 if (Reflect.construct.sham) return !1; 6830 if ("function" == typeof Proxy) return !0; 6831 try { 6832 return ( 6833 Boolean.prototype.valueOf.call( 6834 Reflect.construct(Boolean, [], function () {}), 6835 ), 6836 !0 6837 ); 6838 } catch (t) { 6839 return !1; 6840 } 6841 })(); 6842 return function () { 6843 var n, 6844 i = m(t); 6845 return (function (t, e) { 6846 if (e && ("object" === f(e) || "function" == typeof e)) return e; 6847 if (void 0 !== e) 6848 throw new TypeError( 6849 "Derived constructors may only return object or undefined", 6850 ); 6851 return (function (t) { 6852 if (void 0 !== t) return t; 6853 throw new ReferenceError( 6854 "this hasn't been initialised - super() hasn't been called", 6855 ); 6856 })(t); 6857 })( 6858 this, 6859 e 6860 ? ((n = m(this).constructor), 6861 Reflect.construct(i, arguments, n)) 6862 : i.apply(this, arguments), 6863 ); 6864 }; 6865 } 6866 function m(t) { 6867 return (m = Object.setPrototypeOf 6868 ? Object.getPrototypeOf 6869 : function (t) { 6870 return t.__proto__ || Object.getPrototypeOf(t); 6871 })(t); 6872 } 6873 var g = (function () { 6874 !(function (t, e) { 6875 if ("function" != typeof e && null !== e) 6876 throw new TypeError( 6877 "Super expression must either be null or a function", 6878 ); 6879 ((t.prototype = Object.create(e && e.prototype, { 6880 constructor: { value: t, writable: !0, configurable: !0 }, 6881 })), 6882 e && h(t, e)); 6883 })(f, o.Plugin); 6884 var t, 6885 e, 6886 n = p(f); 6887 function f() { 6888 return ( 6889 (function (t, e) { 6890 if (!(t instanceof e)) 6891 throw new TypeError("Cannot call a class as a function"); 6892 })(this, f), 6893 n.apply(this, arguments) 6894 ); 6895 } 6896 return ( 6897 (t = f), 6898 (e = [ 6899 { 6900 key: "_setup", 6901 value: function (t, e) { 6902 ((this.$element = t), 6903 (this.options = i.a.extend( 6904 {}, 6905 f.defaults, 6906 this.$element.data(), 6907 e, 6908 )), 6909 (this.className = "Reveal"), 6910 this._init(), 6911 u.Touch.init(i.a), 6912 c.Triggers.init(i.a), 6913 r.Keyboard.register("Reveal", { ESCAPE: "close" })); 6914 }, 6915 }, 6916 { 6917 key: "_init", 6918 value: function () { 6919 var t = this; 6920 (a.MediaQuery._init(), 6921 (this.id = this.$element.attr("id")), 6922 (this.isActive = !1), 6923 (this.cached = { mq: a.MediaQuery.current }), 6924 (this.$anchor = i()('[data-open="'.concat(this.id, '"]')) 6925 .length 6926 ? i()('[data-open="'.concat(this.id, '"]')) 6927 : i()('[data-toggle="'.concat(this.id, '"]'))), 6928 this.$anchor.attr({ 6929 "aria-controls": this.id, 6930 "aria-haspopup": "dialog", 6931 tabindex: 0, 6932 }), 6933 (this.options.fullScreen || 6934 this.$element.hasClass("full")) && 6935 ((this.options.fullScreen = !0),
6936 (this.options.overlay = !1)), 6937 this.options.overlay && 6938 !this.$overlay && 6939 (this.$overlay = this._makeOverlay(this.id)), 6940 this.$element.attr({ 6941 role: "dialog", 6942 "aria-hidden": !0, 6943 "data-yeti-box": this.id, 6944 "data-resize": this.id, 6945 }), 6946 this.$overlay 6947 ? this.$element.detach().appendTo(this.$overlay) 6948 : (this.$element 6949 .detach() 6950 .appendTo(i()(this.options.appendTo)), 6951 this.$element.addClass("without-overlay")), 6952 this._events(), 6953 this.options.deepLink && 6954 window.location.hash === "#".concat(this.id) && 6955 (this.onLoadListener = Object(s.onLoad)( 6956 i()(window), 6957 function () { 6958 return t.open(); 6959 }, 6960 ))); 6961 }, 6962 }, 6963 { 6964 key: "_makeOverlay", 6965 value: function () { 6966 var t = ""; 6967 return ( 6968 this.options.additionalOverlayClasses && 6969 (t = " " + this.options.additionalOverlayClasses), 6970 i()("<div></div>") 6971 .addClass("reveal-overlay" + t) 6972 .appendTo(this.options.appendTo) 6973 ); 6974 }, 6975 }, 6976 { 6977 key: "_updatePosition", 6978 value: function () { 6979 var t = this.$element.outerWidth(), 6980 e = i()(window).width(), 6981 n = this.$element.outerHeight(), 6982 o = i()(window).height(), 6983 s = null; 6984 t = 6985 "auto" === this.options.hOffset 6986 ? parseInt((e - t) / 2, 10) 6987 : parseInt(this.options.hOffset, 10); 6988 ("auto" === this.options.vOffset 6989 ? (s = 6990 o < n 6991 ? parseInt(Math.min(100, o / 10), 10) 6992 : parseInt((o - n) / 4, 10)) 6993 : null !== this.options.vOffset && 6994 (s = parseInt(this.options.vOffset, 10)), 6995 null !== s && this.$element.css({ top: s + "px" }), 6996 (this.$overlay && "auto" === this.options.hOffset) || 6997 (this.$element.css({ left: t + "px" }), 6998 this.$element.css({ margin: "0px" }))); 6999 }, 7000 }, 7001 { 7002 key: "_events", 7003 value: function () { 7004 var t = this, 7005 e = this; 7006 (this.$element.on({ 7007 "open.zf.trigger": this.open.bind(this), 7008 "close.zf.trigger": function (n, o) { 7009 if ( 7010 n.target === e.$element[0] || 7011 i()(n.target).parents("[data-closable]")[0] === o 7012 ) 7013 return t.close.apply(t); 7014 }, 7015 "toggle.zf.trigger": this.toggle.bind(this), 7016 "resizeme.zf.trigger": function () { 7017 e._updatePosition(); 7018 }, 7019 }), 7020 this.options.closeOnClick && 7021 this.options.overlay && 7022 this.$overlay 7023 .off(".zf.reveal") 7024 .on("click.zf.dropdown tap.zf.dropdown", function (t) { 7025 t.target !== e.$element[0] && 7026 !i.a.contains(e.$element[0], t.target) && 7027 i.a.contains(document, t.target) && 7028 e.close(); 7029 }), 7030 this.options.deepLink && 7031 i()(window).on(
7032 "hashchange.zf.reveal:".concat(this.id), 7033 this._handleState.bind(this), 7034 )); 7035 }, 7036 }, 7037 { 7038 key: "_handleState", 7039 value: function () { 7040 window.location.hash !== "#" + this.id || this.isActive 7041 ? this.close() 7042 : this.open(); 7043 }, 7044 }, 7045 { 7046 key: "_disableScroll", 7047 value: function (t) { 7048 ((t = t || i()(window).scrollTop()), 7049 i()(document).height() > i()(window).height() && 7050 i()("html").css("top", -t)); 7051 }, 7052 }, 7053 { 7054 key: "_enableScroll", 7055 value: function (t) { 7056 ((t = t || parseInt(i()("html").css("top"), 10)), 7057 i()(document).height() > i()(window).height() && 7058 (i()("html").css("top", ""), i()(window).scrollTop(-t))); 7059 }, 7060 }, 7061 { 7062 key: "open", 7063 value: function () { 7064 var t = this, 7065 e = "#".concat(this.id); 7066 (this.options.deepLink && 7067 window.location.hash !== e && 7068 (window.history.pushState 7069 ? this.options.updateHistory 7070 ? window.history.pushState({}, "", e) 7071 : window.history.replaceState({}, "", e) 7072 : (window.location.hash = e)), 7073 (this.$activeAnchor = i()(document.activeElement).is( 7074 this.$anchor, 7075 ) 7076 ? i()(document.activeElement) 7077 : this.$anchor), 7078 (this.isActive = !0), 7079 this.$element 7080 .css({ visibility: "hidden" }) 7081 .show() 7082 .scrollTop(0), 7083 this.options.overlay && 7084 this.$overlay.css({ visibility: "hidden" }).show(), 7085 this._updatePosition(), 7086 this.$element.hide().css({ visibility: "" }), 7087 this.$overlay && 7088 (this.$overlay.css({ visibility: "" }).hide(), 7089 this.$element.hasClass("fast") 7090 ? this.$overlay.addClass("fast") 7091 : this.$element.hasClass("slow") && 7092 this.$overlay.addClass("slow")), 7093 this.options.multipleOpened || 7094 this.$element.trigger("closeme.zf.reveal", this.id), 7095 0 === i()(".reveal:visible").length && 7096 this._disableScroll()); 7097 var n = this; 7098 (this.options.animationIn 7099 ? (this.options.overlay && 7100 l.Motion.animateIn(this.$overlay, "fade-in"), 7101 l.Motion.animateIn( 7102 this.$element, 7103 this.options.animationIn, 7104 function () { 7105 t.$element && 7106 ((t.focusableElements = r.Keyboard.findFocusable( 7107 t.$element, 7108 )), 7109 n.$element 7110 .attr({ "aria-hidden": !1, tabindex: -1 }) 7111 .focus(), 7112 n._addGlobalClasses(), 7113 r.Keyboard.trapFocus(n.$element)); 7114 }, 7115 )) 7116 : (this.options.overlay && this.$overlay.show(0), 7117 this.$element.show(this.options.showDelay)), 7118 this.$element 7119 .attr({ "aria-hidden": !1, tabindex: -1 }) 7120 .focus(), 7121 r.Keyboard.trapFocus(this.$element), 7122 this._addGlobalClasses(), 7123 this._addGlobalListeners(), 7124 this.$element.trigger("open.zf.reveal")); 7125 }, 7126 }, 7127 { 7128 key: "_addGlobalClasses", 7129 value: function () { 7130 function t() { 7131 i()("html").toggleClass( 7132 "zf-has-scroll", 7133 !!(i()(document).height() > i()(window).height()), 7134 ); 7135 } 7136 (this.$element.on( 7137 "resizeme.zf.trigger.revealScrollbarListener", 7138 t, 7139 ), 7140 t(), 7141 i()("html").addClass("is-reveal-open")); 7142 }, 7143 }, 7144 { 7145 key: "_removeGlobalClasses", 7146 value: function () { 7147 (this.$element.off( 7148 "resizeme.zf.trigger.revealScrollbarListener", 7149 ), 7150 i()("html").removeClass("is-reveal-open"), 7151 i()("html").removeClass("zf-has-scroll")); 7152 }, 7153 }, 7154 { 7155 key: "_addGlobalListeners", 7156 value: function () { 7157 var t = this; 7158 this.$element && 7159 ((this.focusableElements = r.Keyboard.findFocusable( 7160 this.$element, 7161 )), 7162 this.options.overlay || 7163 !this.options.closeOnClick || 7164 this.options.fullScreen || 7165 i()("body").on( 7166 "click.zf.dropdown tap.zf.dropdown", 7167 function (e) { 7168 e.target !== t.$element[0] && 7169 !i.a.contains(t.$element[0], e.target) && 7170 i.a.contains(document, e.target) && 7171 t.close(); 7172 }, 7173 ), 7174 this.options.closeOnEsc && 7175 i()(window).on("keydown.zf.reveal", function (e) { 7176 r.Keyboard.handleKey(e, "Reveal", { 7177 close: function () { 7178 t.options.closeOnEsc && t.close(); 7179 }, 7180 }); 7181 })); 7182 }, 7183 }, 7184 { 7185 key: "close", 7186 value: function () { 7187 if (!this.isActive || !this.$element.is(":visible")) 7188 return !1; 7189 var t, 7190 e = this; 7191 function n() { 7192 var t = parseInt(i()("html").css("top"), 10); 7193 (0 === i()(".reveal:visible").length && 7194 e._removeGlobalClasses(), 7195 r.Keyboard.releaseFocus(e.$element), 7196 e.$element.attr("aria-hidden", !0), 7197 0 === i()(".reveal:visible").length && e._enableScroll(t), 7198 e.$element.trigger("closed.zf.reveal")); 7199 } 7200 (this.options.animationOut 7201 ? (this.options.overlay && 7202 l.Motion.animateOut(this.$overlay, "fade-out"), 7203 l.Motion.animateOut( 7204 this.$element, 7205 this.options.animationOut, 7206 n, 7207 )) 7208 : (this.$element.hide(this.options.hideDelay), 7209 this.options.overlay ? this.$overlay.hide(0, n) : n()), 7210 this.options.closeOnEsc && 7211 i()(window).off("keydown.zf.reveal"), 7212 !this.options.overlay && 7213 this.options.closeOnClick &&
7214 i()("body").off("click.zf.dropdown tap.zf.dropdown"), 7215 this.$element.off("keydown.zf.reveal"), 7216 this.options.resetOnClose && 7217 this.$element.html(this.$element.html()), 7218 (this.isActive = !1), 7219 e.options.deepLink && 7220 window.location.hash === "#".concat(this.id) && 7221 (window.history.replaceState 7222 ? ((t = 7223 window.location.pathname + window.location.search), 7224 this.options.updateHistory 7225 ? window.history.pushState({}, "", t) 7226 : window.history.replaceState( 7227 "", 7228 document.title, 7229 t, 7230 )) 7231 : (window.location.hash = "")), 7232 this.$activeAnchor.focus()); 7233 }, 7234 }, 7235 { 7236 key: "toggle", 7237 value: function () { 7238 this.isActive ? this.close() : this.open(); 7239 }, 7240 }, 7241 { 7242 key: "_destroy", 7243 value: function () { 7244 (this.options.overlay && 7245 (this.$element.appendTo(i()(this.options.appendTo)), 7246 this.$overlay.hide().off().remove()), 7247 this.$element.hide().off(), 7248 this.$anchor.off(".zf"), 7249 i()(window).off(".zf.reveal:".concat(this.id)), 7250 this.onLoadListener && i()(window).off(this.onLoadListener), 7251 0 === i()(".reveal:visible").length && 7252 this._removeGlobalClasses()); 7253 }, 7254 }, 7255 ]) && d(t.prototype, e), 7256 f 7257 ); 7258 })(); 7259 g.defaults = { 7260 animationIn: "", 7261 animationOut: "", 7262 showDelay: 0, 7263 hideDelay: 0, 7264 closeOnClick: !0, 7265 closeOnEsc: !0, 7266 multipleOpened: !1, 7267 vOffset: "auto", 7268 hOffset: "auto", 7269 fullScreen: !1, 7270 overlay: !0, 7271 resetOnClose: !1, 7272 deepLink: !1, 7273 updateHistory: !1, 7274 appendTo: "body", 7275 additionalOverlayClasses: "", 7276 }; 7277 }, 7278
7278"./js/foundation.slider.js": function (t, e, n) { 7279 "use strict"; 7280 (n.r(e), 7281 n.d(e, "Slider", function () { 7282 return m; 7283 })); 7284 e = n("jquery"); 7285 var i = n.n(e), 7286 o = n("./js/foundation.util.keyboard.js"), 7287 s = n("./js/foundation.util.motion.js"), 7288 r = n("./js/foundation.core.utils.js"), 7289 a = n("./js/foundation.core.plugin.js"), 7290 l = n("./js/foundation.util.touch.js"), 7291 c = n("./js/foundation.util.triggers.js"); 7292 function u(t) { 7293 return (u = 7294 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 7295 ? function (t) { 7296 return typeof t; 7297 } 7298 : function (t) { 7299 return t && 7300 "function" == typeof Symbol && 7301 t.constructor === Symbol && 7302 t !== Symbol.prototype 7303 ? "symbol" 7304 : typeof t; 7305 })(t); 7306 } 7307 function f(t, e) { 7308 for (var n = 0; n < e.length; n++) { 7309 var i = e[n]; 7310 ((i.enumerable = i.enumerable || !1), 7311 (i.configurable = !0), 7312 "value" in i && (i.writable = !0), 7313 Object.defineProperty(t, i.key, i)); 7314 } 7315 } 7316 function d(t, e) { 7317 return (d = 7318 Object.setPrototypeOf || 7319 function (t, e) { 7320 return ((t.__proto__ = e), t); 7321 })(t, e); 7322 } 7323 function h(t) { 7324 var e = (function () { 7325 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 7326 if (Reflect.construct.sham) return !1; 7327 if ("function" == typeof Proxy) return !0; 7328 try { 7329 return ( 7330 Boolean.prototype.valueOf.call( 7331 Reflect.construct(Boolean, [], function () {}), 7332 ), 7333 !0 7334 ); 7335 } catch (t) { 7336 return !1; 7337 } 7338 })(); 7339 return function () { 7340 var n, 7341 i = p(t); 7342 return (function (t, e) { 7343 if (e && ("object" === u(e) || "function" == typeof e)) return e; 7344 if (void 0 !== e) 7345 throw new TypeError( 7346 "Derived constructors may only return object or undefined", 7347 ); 7348 return (function (t) { 7349 if (void 0 !== t) return t; 7350 throw new ReferenceError( 7351 "this hasn't been initialised - super() hasn't been called", 7352 ); 7353 })(t); 7354 })( 7355 this, 7356 e 7357 ? ((n = p(this).constructor), 7358 Reflect.construct(i, arguments, n)) 7359 : i.apply(this, arguments), 7360 ); 7361 }; 7362 } 7363 function p(t) { 7364 return (p = Object.setPrototypeOf 7365 ? Object.getPrototypeOf 7366 : function (t) { 7367 return t.__proto__ || Object.getPrototypeOf(t); 7368 })(t); 7369 } 7370 var m = (function () { 7371 !(function (t, e) { 7372 if ("function" != typeof e && null !== e) 7373 throw new TypeError( 7374 "Super expression must either be null or a function", 7375 ); 7376 ((t.prototype = Object.create(e && e.prototype, { 7377 constructor: { value: t, writable: !0, configurable: !0 }, 7378 })), 7379 e && d(t, e)); 7380 })(u, a.Plugin); 7381 var t, 7382 e, 7383 n = h(u); 7384 function u() { 7385 return ( 7386 (function (t, e) { 7387 if (!(t instanceof e)) 7388 throw new TypeError("Cannot call a class as a function"); 7389 })(this, u), 7390 n.apply(this, arguments) 7391 ); 7392 } 7393 return ( 7394 (t = u), 7395 (e = [ 7396 { 7397 key: "_setup", 7398 value: function (t, e) { 7399 ((this.$element = t), 7400 (this.options = i.a.extend( 7401 {}, 7402 u.defaults, 7403 this.$element.data(), 7404 e, 7405 )), 7406 (this.className = "Slider"), 7407 (this.initialized = !1), 7408 l.Touch.init(i.a), 7409 c.Triggers.init(i.a), 7410 this._init(), 7411 o.Keyboard.register("Slider", { 7412 ltr: { 7413 ARROW_RIGHT: "increase", 7414 ARROW_UP: "increase", 7415 ARROW_DOWN: "decrease", 7416 ARROW_LEFT: "decrease", 7417 SHIFT_ARROW_RIGHT: "increaseFast", 7418 SHIFT_ARROW_UP: "increaseFast", 7419 SHIFT_ARROW_DOWN: "decreaseFast", 7420 SHIFT_ARROW_LEFT: "decreaseFast", 7421 HOME: "min", 7422 END: "max", 7423 }, 7424 rtl: { 7425 ARROW_LEFT: "increase", 7426 ARROW_RIGHT: "decrease", 7427 SHIFT_ARROW_LEFT: "increaseFast", 7428 SHIFT_ARROW_RIGHT: "decreaseFast", 7429 }, 7430 })); 7431 }, 7432 }, 7433 { 7434 key: "_init", 7435 value: function () { 7436 ((this.inputs = this.$element.find("input")), 7437 (this.handles = this.$element.find("[data-sli
7437der-handle]")), 7438 (this.$handle = this.handles.eq(0)), 7439 (this.$input = this.inputs.length 7440 ? this.inputs.eq(0) 7441 : i()("#".concat(this.$handle.attr("aria-controls")))), 7442 (this.$fill = this.$element 7443 .find("[data-slider-fill]") 7444 .css(this.options.vertical ? "height" : "width", 0)), 7445 (this.options.disabled || 7446 this.$element.hasClass(this.options.disabledClass)) && 7447 ((this.options.disabled = !0), 7448 this.$element.addClass(this.options.disabledClass)), 7449 this.inputs.length || 7450 ((this.inputs = i()().add(this.$input)), 7451 (this.options.binding = !0)), 7452 this._setInitAttr(0), 7453 this.handles[1] && 7454 ((this.options.doubleSided = !0), 7455 (this.$handle2 = this.handles.eq(1)), 7456 (this.$input2 = 7457 1 < this.inputs.length 7458 ? this.inputs.eq(1) 7459 : i()( 7460 "#".concat(this.$handle2.attr("aria-controls")), 7461 )), 7462 this.inputs[1] || 7463 (this.inputs = this.inputs.add(this.$input2)), 7464 this._setInitAttr(1)), 7465 this.setHandles(), 7466 this._events(), 7467 (this.initialized = !0)); 7468 }, 7469 }, 7470 { 7471 key: "setHandles", 7472 value: function () { 7473 var t = this; 7474 this.handles[1] 7475 ? this._setHandlePos( 7476 this.$handle, 7477 this.inputs.eq(0).val(), 7478 function () { 7479 t._setHandlePos(t.$handle2, t.inputs.eq(1).val()); 7480 }, 7481 ) 7482 : this._setHandlePos(this.$handle, this.inputs.eq(0).val()); 7483 }, 7484 }, 7485 { 7486 key: "_reflow", 7487 value: function () { 7488 this.setHandles(); 7489 }, 7490 }, 7491 { 7492 key: "_pctOfBar", 7493 value: function (t) { 7494 var e = 7495 (t - this.options.start) / 7496 (this.options.end - this.options.start); 7497 switch (this.options.positionValueFunction) { 7498 case "pow": 7499 e = this._logTransform(e); 7500 break; 7501 case "log": 7502 e = this._powTransform(e); 7503 } 7504 return e.toFixed(2); 7505 }, 7506 }, 7507 { 7508 key: "_value", 7509 value: function (t) { 7510 switch (this.options.positionValueFunction) { 7511 case "pow": 7512 t = this._powTransform(t); 7513 break; 7514 case "log": 7515 t = this._logTransform(t); 7516 } 7517 return this.options.vertical 7518 ? parseFloat(this.options.end) + 7519 t * (this.options.start - this.options.end) 7520 : (this.options.end - this.options.start) * t + 7521 parseFloat(this.options.start); 7522 }, 7523 }, 7524 { 7525 key: "_logTransform", 7526 value: function (t) { 7527 return ( 7528 (e = this.options.nonLinearBase), 7529 (t = t * (this.options.nonLinearBase - 1) + 1), 7530 Math.log(t) / Math.log(e) 7531 ); 7532 var e; 7533 }, 7534 }, 7535 { 7536 key: "_powTransform", 7537 value: function (t) { 7538 return ( 7539 (Math.pow(this.options.nonLinearBase, t) - 1) / 7540 (this.options.nonLinearBase - 1) 7541 ); 7542 }, 7543 }, 7544 { 7545 key: "_setHandlePos", 7546 value: function (t, e, n) { 7547 var i, o, r, a, l, c, u, f, d, h; 7548 this.$element.hasClass(this.options.disabledClass) || 7549 ((e = parseFloat(e)) < this.options.start 7550 ? (e = this.options.start) 7551 : e > this.options.end && (e = this.options.end), 7552 (f = this.options.doubleSided) && 7553 (e = 7554 0 === this.handles.index(t) 7555 ? (d = parseFloat( 7556 this.$handle2.attr("aria-valuenow"), 7557 )) <= e 7558 ? d - this.options.step 7559 : e 7560 : e <= 7561 (a = parseFloat( 7562 this.$handle.attr("aria-valuenow"), 7563 )) 7564 ? a + this.options.step 7565 : e), 7566 (d = (i = this).options.vertical),
7567 (o = d ? "height" : "width"), 7568 (r = d ? "top" : "left"), 7569 (a = t[0].getBoundingClientRect()[o]), 7570 (d = this.$element[0].getBoundingClientRect()[o]), 7571 (l = this._pctOfBar(e)), 7572 (c = ((((d - a) * l) / d) * 100).toFixed( 7573 this.options.decimal, 7574 )), 7575 (e = parseFloat(e.toFixed(this.options.decimal))), 7576 (u = {}), 7577 this._setValues(t, e), 7578 f && 7579 ((f = 0 === this.handles.index(t)), 7580 (d = Math.floor((a / d) * 100)), 7581 f 7582 ? ((u[r] = "".concat(c, "%")), 7583 (h = parseFloat(this.$handle2[0].style[r]) - c + d), 7584 n && "function" == typeof n && n()) 7585 : ((n = parseFloat(this.$handle[0].style[r])), 7586 (h = 7587 c - 7588 (isNaN(n) 7589 ? (this.options.initialStart - 7590 this.options.start) / 7591 ((this.options.end - this.options.start) / 100) 7592 : n) + 7593 d)), 7594 (u["min-".concat(o)] = "".concat(h, "%"))), 7595 (h = this.$element.data("dragging") 7596 ? 1e3 / 60 7597 : this.options.moveTime), 7598 Object(s.Move)(h, t, function () { 7599 (isNaN(c) 7600 ? t.css(r, "".concat(100 * l, "%")) 7601 : t.css(r, "".concat(c, "%")), 7602 i.options.doubleSided 7603 ? i.$fill.css(u) 7604 : i.$fill.css(o, "".concat(100 * l, "%"))); 7605 }), 7606 this.initialized && 7607 (this.$element.one("finished.zf.animate", function () { 7608 i.$element.trigger("moved.zf.slider", [t]); 7609 }), 7610 clearTimeout(i.timeout), 7611 (i.timeout = setTimeout(function () { 7612 i.$element.trigger("changed.zf.slider", [t]); 7613 }, i.options.changedDelay)))); 7614 }, 7615 }, 7616 { 7617 key: "_setInitAttr", 7618 value: function (t) { 7619 var e = 7620 0 === t 7621 ? this.options.initialStart 7622 : this.options.initialEnd, 7623 n = 7624 this.inputs.eq(t).attr("id") || 7625 Object(r.GetYoDigits)(6, "slider"); 7626 (this.inputs.eq(t).attr({ 7627 id: n, 7628 max: this.options.end, 7629 min: this.options.start, 7630 step: this.options.step, 7631 }), 7632 this.inputs.eq(t).val(e), 7633 this.handles.eq(t).attr({ 7634 role: "slider", 7635 "aria-controls": n, 7636 "aria-valuemax": this.options.end, 7637 "aria-valuemin": this.options.start, 7638 "aria-valuenow": e, 7639 "aria-orientation": this.options.vertical 7640 ? "vertical" 7641 : "horizontal", 7642 tabindex: 0, 7643 })); 7644 }, 7645 }, 7646 { 7647 key: "_setValues", 7648 value: function (t, e) { 7649 var n = this.options.doubleSided ? this.handles.index(t) : 0; 7650 (this.inputs.eq(n).val(e), t.attr("aria-valuenow", e)); 7651 }, 7652 }, 7653 { 7654 key: "_handleEvent", 7655 value: function (t, e, n) { 7656 var o, s, a, l, c, u; 7657 (n 7658 ? (u = this._adjustValue(null, n)) 7659 : (t.preventDefault(),
7660 (o = (c = this.options.vertical) ? "height" : "width"), 7661 (s = c ? "top" : "left"), 7662 (a = c ? t.pageY : t.pageX), 7663 (l = this.$element[0].getBoundingClientRect()[o]), 7664 (n = c 7665 ? i()(window).scrollTop() 7666 : i()(window).scrollLeft()), 7667 (c = this.$element.offset()[s]), 7668 t.clientY === t.pageY && (a += n), 7669 (u = this._value( 7670 (c = (c = a - c) < 0 ? 0 : l < c ? l : c) / l, 7671 )), 7672 Object(r.rtl)() && 7673 !this.options.vertical && 7674 (u = this.options.end - u), 7675 (u = this._adjustValue(null, u)), 7676 (e = 7677 e || 7678 (g(this.$handle, s, c, o) <= g(this.$handle2, s, c, o) 7679 ? this.$handle 7680 : this.$handle2))), 7681 this._setHandlePos(e, u)); 7682 }, 7683 }, 7684 { 7685 key: "_adjustValue", 7686 value: function (t, e) { 7687 var n = this.options.step, 7688 i = parseFloat(n / 2), 7689 o = t ? parseFloat(t.attr("aria-valuenow")) : e; 7690 e = o - (t = 0 <= o ? o % n : n + (o % n)); 7691 return 0 === t ? o : (o = e + i <= o ? e + n : e); 7692 }, 7693 }, 7694 { 7695 key: "_events", 7696 value: function () { 7697 (this._eventsForHandle(this.$handle), 7698 this.handles[1] && this._eventsForHandle(this.$handle2)); 7699 }, 7700 }, 7701 { 7702 key: "_eventsForHandle", 7703 value: function (t) { 7704 function e(t) { 7705 var e = r.inputs.index(i()(this)); 7706 r._handleEvent(t, r.handles.eq(e), i()(this).val()); 7707 } 7708 var n, 7709 s, 7710 r = this; 7711 (this.inputs 7712 .off("keyup.zf.slider") 7713 .on("keyup.zf.slider", function (t) { 7714 13 === t.keyCode && e.call(this, t); 7715 }), 7716 this.inputs 7717 .off("change.zf.slider") 7718 .on("change.zf.slider", e), 7719 this.options.clickSelect && 7720 this.$element 7721 .off("click.zf.slider") 7722 .on("click.zf.slider", function (t) { 7723 return ( 7724 !r.$element.data("dragging") && 7725 void ( 7726 i()(t.target).is("[data-slider-handle]") || 7727 (r.options.doubleSided 7728 ? r._handleEvent(t) 7729 : r._handleEvent(t, r.$handle)) 7730 ) 7731 ); 7732 }), 7733 this.options.draggable && 7734 (this.handles.addTouch(), 7735 (s = i()("body")), 7736 t 7737 .off("mousedown.zf.slider") 7738 .on("mousedown.zf.slider", function (e) { 7739 (t.addClass("is-dragging"), 7740 r.$fill.addClass("is-dragging"), 7741 r.$element.data("dragging", !0), 7742 (n = i()(e.currentTarget)), 7743 s 7744 .on("mousemove.zf.slider", function (t) { 7745 (t.preventDefault(), r._handleEvent(t, n)); 7746 }) 7747 .on("mouseup.zf.slider", function (e) { 7748 (r._handleEvent(e, n), 7749 t.removeClass("is-dragging"), 7750 r.$fill.removeClass("is-dragging"), 7751 r.$element.data("dragging", !1), 7752 s.off( 7753 "mousemove.zf.slider mouseup.zf.slider", 7754 )); 7755 })); 7756 }) 7757 .on( 7758 "selectstart.zf.slider touchmove.zf.slider", 7759 function (t) { 7760 t.preventDefault(); 7761 }, 7762 )), 7763 t 7764 .off("keydown.zf.slider")
7765 .on("keydown.zf.slider", function (t) { 7766 var e, 7767 n = i()(this), 7768 s = r.options.doubleSided ? r.handles.index(n) : 0, 7769 a = parseFloat(r.inputs.eq(s).val()); 7770 o.Keyboard.handleKey(t, "Slider", { 7771 decrease: function () { 7772 e = a - r.options.step; 7773 }, 7774 increase: function () { 7775 e = a + r.options.step; 7776 }, 7777 decreaseFast: function () { 7778 e = a - 10 * r.options.step; 7779 }, 7780 increaseFast: function () { 7781 e = a + 10 * r.options.step; 7782 }, 7783 min: function () { 7784 e = r.options.start; 7785 }, 7786 max: function () { 7787 e = r.options.end; 7788 }, 7789 handled: function () { 7790 (t.preventDefault(), r._setHandlePos(n, e)); 7791 }, 7792 }); 7793 })); 7794 }, 7795 }, 7796 { 7797 key: "_destroy", 7798 value: function () { 7799 (this.handles.off(".zf.slider"), 7800 this.inputs.off(".zf.slider"), 7801 this.$element.off(".zf.slider"), 7802 clearTimeout(this.timeout)); 7803 }, 7804 }, 7805 ]) && f(t.prototype, e), 7806 u 7807 ); 7808 })(); 7809 function g(t, e, n, i) { 7810 return Math.abs(t.position()[e] + t[i]() / 2 - n); 7811 } 7812 m.defaults = { 7813 start: 0, 7814 end: 100, 7815 step: 1, 7816 initialStart: 0, 7817 initialEnd: 100, 7818 binding: !1, 7819 clickSelect: !0, 7820 vertical: !1, 7821 draggable: !0, 7822 disabled: !1, 7823 doubleSided: !1, 7824 decimal: 2, 7825 moveTime: 200, 7826 disabledClass: "disabled", 7827 invertVertical: !1, 7828 changedDelay: 500, 7829 nonLinearBase: 5, 7830 positionValueFunction: "linear", 7831 }; 7832 }, 7833
7833"./js/foundation.smoothScroll.js": function (t, e, n) { 7834 "use strict"; 7835 (n.r(e), 7836 n.d(e, "SmoothScroll", function () { 7837 return f; 7838 })); 7839 e = n("jquery"); 7840 var i = n.n(e), 7841 o = n("./js/foundation.core.utils.js"), 7842 s = n("./js/foundation.core.plugin.js"); 7843 function r(t) { 7844 return (r = 7845 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 7846 ? function (t) { 7847 return typeof t; 7848 } 7849 : function (t) { 7850 return t && 7851 "function" == typeof Symbol && 7852 t.constructor === Symbol && 7853 t !== Symbol.prototype 7854 ? "symbol" 7855 : typeof t; 7856 })(t); 7857 } 7858 function a(t, e) { 7859 for (var n = 0; n < e.length; n++) { 7860 var i = e[n]; 7861 ((i.enumerable = i.enumerable || !1), 7862 (i.configurable = !0), 7863 "value" in i && (i.writable = !0), 7864 Object.defineProperty(t, i.key, i)); 7865 } 7866 } 7867 function l(t, e) { 7868 return (l = 7869 Object.setPrototypeOf || 7870 function (t, e) { 7871 return ((t.__proto__ = e), t); 7872 })(t, e); 7873 } 7874 function c(t) { 7875 var e = (function () { 7876 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 7877 if (Reflect.construct.sham) return !1; 7878 if ("function" == typeof Proxy) return !0; 7879 try { 7880 return ( 7881 Boolean.prototype.valueOf.call( 7882 Reflect.construct(Boolean, [], function () {}), 7883 ), 7884 !0 7885 ); 7886 } catch (t) { 7887 return !1; 7888 } 7889 })(); 7890 return function () { 7891 var n, 7892 i = u(t); 7893 return (function (t, e) { 7894 if (e && ("object" === r(e) || "function" == typeof e)) return e; 7895 if (void 0 !== e) 7896 throw new TypeError( 7897 "Derived constructors may only return object or undefined", 7898 ); 7899 return (function (t) { 7900 if (void 0 !== t) return t; 7901 throw new ReferenceError( 7902 "this hasn't been initialised - super() hasn't been called", 7903 ); 7904 })(t); 7905 })( 7906 this, 7907 e 7908 ? ((n = u(this).constructor), 7909 Reflect.construct(i, arguments, n)) 7910 : i.apply(this, arguments), 7911 ); 7912 }; 7913 } 7914 function u(t) { 7915 return (u = Object.setPrototypeOf 7916 ? Object.getPrototypeOf 7917 : function (t) { 7918 return t.__proto__ || Object.getPrototypeOf(t); 7919 })(t); 7920 } 7921 var f = (function () { 7922 !(function (t, e) { 7923 if ("function" != typeof e && null !== e) 7924 throw new TypeError( 7925 "Super expression must either be null or a function", 7926 ); 7927 ((t.prototype = Object.create(e && e.prototype, { 7928 constructor: { value: t, writable: !0, configurable: !0 }, 7929 })), 7930 e && l(t, e)); 7931 })(u, s.Plugin); 7932 var t, 7933 e, 7934 n, 7935 r = c(u); 7936 function u() { 7937 return ( 7938 (function (t, e) { 7939 if (!(t instanceof e)) 7940 throw new TypeError("Cannot call a class as a function"); 7941 })(this, u), 7942 r.apply(this, arguments) 7943 ); 7944 } 7945 return ( 7946 (t = u), 7947 (n = [ 7948 { 7949 key: "scrollToLoc", 7950 value: function (t) { 7951 var e = 7952 1 < arguments.length && void 0 !== arguments[1] 7953 ? arguments[1] 7954 : u.defaults, 7955 n = 2 < arguments.length ? arguments[2] : void 0; 7956 if (!(t = i()(t)).length) return !1; 7957 ((t = Math.round( 7958 t.offset().top - e.threshold / 2 - e.offset, 7959 )), 7960 i()("html, body") 7961 .stop(!0) 7962 .animate( 7963 { scrollTop: t }, 7964 e.animationDuration, 7965 e.animationEasing, 7966 function () { 7967 "function" == typeof n && n(); 7968 }, 7969 )); 7970 }, 7971 }, 7972 ]), 7973 (e = [ 7974 { 7975 key: "_setup", 7976 value: function (t, e) { 7977 ((this.$element = t), 7978 (this.options = i.a.extend( 7979 {}, 7980 u.defaults, 7981 this.$element.data(), 7982 e, 7983 )), 7984 (this.className = "SmoothScroll"), 7985 this._init()); 7986 }, 7987 }, 7988 { 7989 key: "_init", 7990 value: function () { 7991 var t = 7992 this.$element[0].id || 7993 Object(o.GetYoDigits)(6, "smooth-scroll"); 7994 (this.$element.attr({ id: t }), this._events()); 7995 }, 7996 }, 7997 { 7998 key: "_events", 7999 value: function () { 8000 ((this._linkClickListener = this._handleLinkClick.bind(this)), 8001 this.$element.on( 8002 "click.zf.smoothScroll", 8003 this._linkClickListener, 8004 ), 8005 this.$element.on( 8006 "click.zf.smoothScroll", 8007 'a[href^="#"]', 8008 this._linkClickListener, 8009 )); 8010 }, 8011 }, 8012 { 8013 key: "_handleLinkClick", 8014 value: function (t) { 8015 var e, 8016 n = this; 8017 i()(t.currentTarget).is('a[href^="#"]') && 8018 ((e = t.currentTarget.getAttribute("href")), 8019 (this._inTransition = !0), 8020 u.scrollToLoc(e, this.options, function () { 8021 n._inTransition = !1; 8022 }), 8023 t.preventDefault()); 8024 }, 8025 }, 8026 { 8027 key: "_destroy", 8028 value: function () { 8029 (this.$element.off( 8030 "click.zf.smoothScroll", 8031 this._linkClickListener, 8032 ), 8033 this.$element.off( 8034 "click.zf.smoothScroll", 8035 'a[href^="#"]', 8036 this._linkClickListener, 8037 )); 8038 }, 8039 }, 8040 ]) && a(t.prototype, e), 8041 n && a(t, n), 8042 u 8043 ); 8044 })(); 8045 f.defaults = { 8046 animationDuration: 500, 8047 animationEasing: "linear", 8048 threshold: 50, 8049 offset: 0, 8050 }; 8051 }, 8052
8052"./js/foundation.sticky.js": function (t, e, n) { 8053 "use strict"; 8054 (n.r(e), 8055 n.d(e, "Sticky", function () { 8056 return h; 8057 })); 8058 e = n("jquery"); 8059 var i = n.n(e), 8060 o = n("./js/foundation.core.plugin.js"), 8061 s = n("./js/foundation.core.utils.js"), 8062 r = n("./js/foundation.util.mediaQuery.js"), 8063 a = n("./js/foundation.util.triggers.js"); 8064 function l(t) { 8065 return (l = 8066 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 8067 ? function (t) { 8068 return typeof t; 8069 } 8070 : function (t) { 8071 return t && 8072 "function" == typeof Symbol && 8073 t.constructor === Symbol && 8074 t !== Symbol.prototype 8075 ? "symbol" 8076 : typeof t; 8077 })(t); 8078 } 8079 function c(t, e) { 8080 for (var n = 0; n < e.length; n++) { 8081 var i = e[n]; 8082 ((i.enumerable = i.enumerable || !1), 8083 (i.configurable = !0), 8084 "value" in i && (i.writable = !0), 8085 Object.defineProperty(t, i.key, i)); 8086 } 8087 } 8088 function u(t, e) { 8089 return (u = 8090 Object.setPrototypeOf || 8091 function (t, e) { 8092 return ((t.__proto__ = e), t); 8093 })(t, e); 8094 } 8095 function f(t) { 8096 var e = (function () { 8097 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 8098 if (Reflect.construct.sham) return !1; 8099 if ("function" == typeof Proxy) return !0; 8100 try { 8101 return ( 8102 Boolean.prototype.valueOf.call( 8103 Reflect.construct(Boolean, [], function () {}), 8104 ), 8105 !0 8106 ); 8107 } catch (t) { 8108 return !1; 8109 } 8110 })(); 8111 return function () { 8112 var n, 8113 i = d(t); 8114 return (function (t, e) { 8115 if (e && ("object" === l(e) || "function" == typeof e)) return e; 8116 if (void 0 !== e) 8117 throw new TypeError( 8118 "Derived constructors may only return object or undefined", 8119 ); 8120 return (function (t) { 8121 if (void 0 !== t) return t; 8122 throw new ReferenceError( 8123 "this hasn't been initialised - super() hasn't been called", 8124 ); 8125 })(t); 8126 })( 8127 this, 8128 e 8129 ? ((n = d(this).constructor), 8130 Reflect.construct(i, arguments, n)) 8131 : i.apply(this, arguments), 8132 ); 8133 }; 8134 } 8135 function d(t) { 8136 return (d = Object.setPrototypeOf 8137 ? Object.getPrototypeOf 8138 : function (t) { 8139 return t.__proto__ || Object.getPrototypeOf(t); 8140 })(t); 8141 } 8142 var h = (function () { 8143 !(function (t, e) { 8144 if ("function" != typeof e && null !== e) 8145 throw new TypeError( 8146 "Super expression must either be null or a function", 8147 ); 8148 ((t.prototype = Object.create(e && e.prototype, { 8149 constructor: { value: t, writable: !0, configurable: !0 }, 8150 })), 8151 e && u(t, e)); 8152 })(l, o.Plugin); 8153 var t, 8154 e, 8155 n = f(l); 8156 function l() { 8157 return ( 8158 (function (t, e) { 8159 if (!(t instanceof e)) 8160 throw new TypeError("Cannot call a class as a function"); 8161 })(this, l), 8162 n.apply(this, arguments) 8163 ); 8164 } 8165 return ( 8166 (t = l), 8167 (e = [ 8168 { 8169 key: "_setup", 8170 value: function (t, e) { 8171 ((this.$element = t), 8172 (this.options = i.a.extend( 8173 {}, 8174 l.defaults, 8175 this.$element.data(), 8176 e, 8177 )), 8178 (this.className = "Sticky"), 8179 a.Triggers.init(i.a), 8180 this._init()); 8181 }, 8182 }, 8183 { 8184 key: "_init", 8185 value: function () { 8186 r.MediaQuery._init(); 8187 var t = this.$element.parent("[data-sticky-container]"), 8188 e = 8189 this.$element[0].id || Object(s.GetYoDigits)(6, "sticky"), 8190 n = this; 8191 (t.length 8192 ? (this.$container = t) 8193 : ((this.wasWrapped = !0), 8194 this.$element.wrap(this.options.container), 8195 (this.$container = this.$element.parent())), 8196 this.$container.addClass(this.options.containerClass), 8197 this.$element 8198 .addClass(this.options.stickyClass) 8199 .attr({ "data-resize": e, "data-mutate": e }), 8200 "" !== this.options.anchor && 8201 i()("#" + n.options.anchor).attr({ "data-mutate": e }), 8202 (this.scrollCount = this.options.checkEvery), 8203 (this.isStuck = !1), 8204 (this.onLoadListener = Object(s.onLoad)( 8205 i()(window), 8206 function () { 8207 ((n.containerHeight = 8208 "none" === n.$element.css("display") 8209 ? 0 8210 : n.$element[0].getBoundingClientRect().height), 8211 n.$container.css("height", n.containerHeight), 8212 (n.elemHeight = n.containerHeight), 8213 "" !== n.options.anchor 8214 ? (n.$anchor = i()("#" + n.options.anchor)) 8215 : n._parsePoints(), 8216 n._setSizes(function () { 8217 var t = window.pageYOffset; 8218 (n._calc(!1, t), 8219 n.isStuck || n._removeSticky(!(t >= n.topPoint))); 8220 }), 8221 n._events(e.split("-").reverse().join("-"))); 8222 }, 8223 ))); 8224 }, 8225 }, 8226 { 8227 key: "_parsePoints", 8228 value: function () { 8229 for ( 8230 var t, 8231 e, 8232 n, 8233 o = [ 8234 "" === this.options.topAnchor 8235 ? 1 8236 : this.options.topAnchor, 8237 "" === this.options.btmAnchor 8238 ? document.documentElement.scrollHeight 8239 : this.options.btmAnchor, 8240 ], 8241 s = {}, 8242 r = 0, 8243 a = o.length; 8244 r < a && o[r]; 8245 r++ 8246 ) 8247 ("number" == typeof o[r] 8248 ? (n = o[r]) 8249 : ((t = o[r].split(":")), 8250 (n = (e = i()("#".concat(t[0]))).offset().top), 8251 t[1] && 8252 "bottom" === t[1].toLowerCase() && 8253 (n += e[0].getBoundingClientRect().height)), 8254 (s[r] = n)); 8255 this.points = s; 8256 }, 8257 }, 8258 { 8259 key: "_events", 8260 value: function (t) { 8261 var e = this, 8262 n = (this.scrollListener = "scroll.zf.".concat(t)); 8263 this.isOn || 8264 (this.canStick && 8265 ((this.isOn = !0), 8266 i()(window) 8267 .off(n) 8268 .on(n, function () {
8269 0 === e.scrollCount 8270 ? ((e.scrollCount = e.options.checkEvery), 8271 e._setSizes(function () { 8272 e._calc(!1, window.pageYOffset); 8273 })) 8274 : (e.scrollCount--, 8275 e._calc(!1, window.pageYOffset)); 8276 })), 8277 this.$element 8278 .off("resizeme.zf.trigger") 8279 .on("resizeme.zf.trigger", function () { 8280 e._eventsHandler(t); 8281 }), 8282 this.$element.on("mutateme.zf.trigger", function () { 8283 e._eventsHandler(t); 8284 }), 8285 this.$anchor && 8286 this.$anchor.on("mutateme.zf.trigger", function () { 8287 e._eventsHandler(t); 8288 })); 8289 }, 8290 }, 8291 { 8292 key: "_eventsHandler", 8293 value: function (t) { 8294 var e = this, 8295 n = (this.scrollListener = "scroll.zf.".concat(t)); 8296 e._setSizes(function () { 8297 (e._calc(!1), 8298 e.canStick 8299 ? e.isOn || e._events(t) 8300 : e.isOn && e._pauseListeners(n)); 8301 }); 8302 }, 8303 }, 8304 { 8305 key: "_pauseListeners", 8306 value: function (t) { 8307 ((this.isOn = !1), 8308 i()(window).off(t), 8309 this.$element.trigger("pause.zf.sticky")); 8310 }, 8311 }, 8312 { 8313 key: "_calc", 8314 value: function (t, e) { 8315 if ((t && this._setSizes(), !this.canStick)) 8316 return (this.isStuck && this._removeSticky(!0), !1); 8317 (e = e || window.pageYOffset) >= this.topPoint 8318 ? e <= this.bottomPoint 8319 ? this.isStuck || this._setSticky() 8320 : this.isStuck && this._removeSticky(!1) 8321 : this.isStuck && this._removeSticky(!0); 8322 }, 8323 }, 8324 { 8325 key: "_setSticky", 8326 value: function () { 8327 var t = this, 8328 e = this.options.stickTo, 8329 n = "top" === e ? "marginTop" : "marginBottom", 8330 i = "top" === e ? "bottom" : "top", 8331 o = {}; 8332 ((o[n] = "".concat(this.options[n], "em")), 8333 (o[e] = 0), 8334 (o[i] = "auto"), 8335 (this.isStuck = !0), 8336 this.$element 8337 .removeClass("is-anchored is-at-".concat(i)) 8338 .addClass("is-stuck is-at-".concat(e)) 8339 .css(o) 8340 .trigger("sticky.zf.stuckto:".concat(e)), 8341 this.$element.on( 8342 "transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd", 8343 function () { 8344 t._setSizes(); 8345 }, 8346 )); 8347 }, 8348 }, 8349 { 8350 key: "_removeSticky", 8351 value: function (t) { 8352 var e = this.options.stickTo, 8353 n = {}, 8354 i = 8355 (this.points 8356 ? this.points[1] - this.points[0] 8357 : this.anchorHeight) - this.elemHeight, 8358 o = t ? "top" : "bottom"; 8359 ((n["top" === e ? "marginTop" : "marginBottom"] = 0), 8360 (n.bottom = "auto"), 8361 (n.top = t ? 0 : i), 8362 (this.isStuck = !1), 8363 this.$element 8364 .removeClass("is-stuck is-at-".concat(e)) 8365 .addClass("is-anchored is-at-".concat(o)) 8366 .css(n) 8367 .trigger("sticky.zf.unstuckfrom:".concat(o))); 8368 }, 8369 }, 8370 { 8371 key: "_setSizes", 8372 value: function (t) { 8373 ((this.canStick = r.MediaQuery.is(this.options.stickyOn)), 8374 this.canStick || (t && "function" == typeof t && t())); 8375 var e, 8376 n = this.$container[0].getBoundingClientRect().width, 8377 i = window.getComputedStyle(this.$container[0]), 8378 o = parseInt(i["padding-left"], 10); 8379 i = parseInt(i["padding-right"], 10); 8380 (this.$anchor && this.$anchor.length 8381 ? (this.anchorHeight = 8382 this.$anchor[0].getBoundingClientRect().height) 8383 : this._parsePoints(), 8384 this.$element.css({ 8385 "max-width": "".concat(n - o - i, "px"), 8386 }), 8387 (!this.options.dynamicHeight && this.containerHeight) || 8388 ((e = 8389 this.$element[0].getBoundingClientRect().height || 8390 this.containerHeight), 8391 (e = "none" === this.$element.css("display") ? 0 : e), 8392 this.$container.css("height", e), 8393 (this.containerHeight = e)), 8394 (this.elemHeight = this.containerHeight), 8395 this.isStuck || 8396 (this.$element.hasClass("is-at-bottom") && 8397 ((e = 8398 (this.points 8399 ? this.points[1] - this.$container.offset().top 8400 : this.anchorHeight) - this.elemHeight), 8401 this.$element.css("top", e))), 8402 this._setBreakPoints(this.containerHeight, function () { 8403 t && "function" == typeof t && t(); 8404 })); 8405 }, 8406 }, 8407 { 8408 key: "_setBreakPoints", 8409 value: function (t, e) { 8410 if (!this.canStick) { 8411 if (!e || "function" != typeof e) return !1; 8412 e(); 8413 } 8414 var n = p(this.options.marginTop), 8415 i = p(this.options.marginBottom), 8416 o = this.points 8417 ? this.points[0] 8418 : this.$anchor.offset().top, 8419 s = this.points ? this.points[1] : o + this.anchorHeight, 8420 r = window.innerHeight; 8421 ("top" === this.options.stickTo 8422 ? ((o -= n), (s -= t + n)) 8423 : "bottom" === this.options.stickTo && 8424 ((o -= r - (t + i)), (s -= r - i)), 8425 (this.topPoint = o), 8426 (this.bottomPoint = s), 8427 e && "function" == typeof e && e()); 8428 }, 8429 }, 8430 { 8431 key: "_destroy", 8432 value: function () { 8433 (this._removeSticky(!0), 8434 this.$element 8435 .removeClass( 8436 "".concat( 8437 this.options.stickyClass, 8438 " is-anchored is-at-top", 8439 ), 8440 ) 8441 .css({ height: "", top: "", bottom: "", "max-width": "" }) 8442 .off("resizeme.zf.trigger") 8443 .off("mutateme.zf.trigger"), 8444 this.$anchor && 8445 this.$anchor.length && 8446 this.$anchor.off("change.zf.sticky"), 8447 this.scrollListener && i()(window).off(this.scrollListener), 8448 this.onLoadListener && i()(window).off(this.onLoadListener), 8449 this.wasWrapped 8450 ? this.$element.unwrap() 8451 : this.$container 8452 .removeClass(this.options.containerClass) 8453 .css({ height: "" })); 8454 }, 8455 }, 8456 ]) && c(t.prototype, e), 8457 l 8458 ); 8459 })(); 8460 function p(t) { 8461 return ( 8462 parseInt( 8463 window.getComputedStyle(document.body, null).fontSize, 8464 10, 8465 ) * t 8466 ); 8467 } 8468 h.defaults = { 8469 container: "<div data-sticky-container></div>", 8470 stickTo: "top", 8471 anchor: "", 8472 topAnchor: "", 8473 btmAnchor: "", 8474 marginTop: 1, 8475 marginBottom: 1, 8476 stickyOn: "medium", 8477 stickyClass: "sticky", 8478 containerClass: "sticky-container", 8479 dynamicHeight: !0, 8480 checkEvery: -1, 8481 }; 8482 }, 8483
8483"./js/foundation.tabs.js": function (t, e, n) { 8484 "use strict"; 8485 (n.r(e), 8486 n.d(e, "Tabs", function () { 8487 return h; 8488 })); 8489 e = n("jquery"); 8490 var i = n.n(e), 8491 o = n("./js/foundation.core.plugin.js"), 8492 s = n("./js/foundation.core.utils.js"), 8493 r = n("./js/foundation.util.keyboard.js"), 8494 a = n("./js/foundation.util.imageLoader.js"); 8495 function l(t) { 8496 return (l = 8497 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 8498 ? function (t) { 8499 return typeof t; 8500 } 8501 : function (t) { 8502 return t && 8503 "function" == typeof Symbol && 8504 t.constructor === Symbol && 8505 t !== Symbol.prototype 8506 ? "symbol" 8507 : typeof t; 8508 })(t); 8509 } 8510 function c(t, e) { 8511 for (var n = 0; n < e.length; n++) { 8512 var i = e[n]; 8513 ((i.enumerable = i.enumerable || !1), 8514 (i.configurable = !0), 8515 "value" in i && (i.writable = !0), 8516 Object.defineProperty(t, i.key, i)); 8517 } 8518 } 8519 function u(t, e) { 8520 return (u = 8521 Object.setPrototypeOf || 8522 function (t, e) { 8523 return ((t.__proto__ = e), t); 8524 })(t, e); 8525 } 8526 function f(t) { 8527 var e = (function () { 8528 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 8529 if (Reflect.construct.sham) return !1; 8530 if ("function" == typeof Proxy) return !0; 8531 try { 8532 return ( 8533 Boolean.prototype.valueOf.call( 8534 Reflect.construct(Boolean, [], function () {}), 8535 ), 8536 !0 8537 ); 8538 } catch (t) { 8539 return !1; 8540 } 8541 })(); 8542 return function () { 8543 var n, 8544 i = d(t); 8545 return (function (t, e) { 8546 if (e && ("object" === l(e) || "function" == typeof e)) return e; 8547 if (void 0 !== e) 8548 throw new TypeError( 8549 "Derived constructors may only return object or undefined", 8550 ); 8551 return (function (t) { 8552 if (void 0 !== t) return t; 8553 throw new ReferenceError( 8554 "this hasn't been initialised - super() hasn't been called", 8555 ); 8556 })(t); 8557 })( 8558 this, 8559 e 8560 ? ((n = d(this).constructor), 8561 Reflect.construct(i, arguments, n)) 8562 : i.apply(this, arguments), 8563 ); 8564 }; 8565 } 8566 function d(t) { 8567 return (d = Object.setPrototypeOf 8568 ? Object.getPrototypeOf 8569 : function (t) { 8570 return t.__proto__ || Object.getPrototypeOf(t); 8571 })(t); 8572 } 8573 var h = (function () { 8574 !(function (t, e) { 8575 if ("function" != typeof e && null !== e) 8576 throw new TypeError( 8577 "Super expression must either be null or a function", 8578 ); 8579 ((t.prototype = Object.create(e && e.prototype, { 8580 constructor: { value: t, writable: !0, configurable: !0 }, 8581 })), 8582 e && u(t, e)); 8583 })(d, o.Plugin); 8584 var t, 8585 e, 8586 n = f(d); 8587 function d() { 8588 return ( 8589 (function (t, e) { 8590 if (!(t instanceof e)) 8591 throw new TypeError("Cannot call a class as a function"); 8592 })(this, d), 8593 n.apply(this, arguments) 8594 ); 8595 } 8596 return ( 8597 (t = d), 8598 (e = [ 8599 { 8600 key: "_setup", 8601 value: function (t, e) { 8602 ((this.$element = t), 8603 (this.options = i.a.extend( 8604 {}, 8605 d.defaults, 8606 this.$element.data(), 8607 e, 8608 )), 8609 (this.className = "Tabs"), 8610 this._init(), 8611 r.Keyboard.register("Tabs", { 8612 ENTER: "open", 8613 SPACE: "open", 8614 ARROW_RIGHT: "next", 8615 ARROW_UP: "previous", 8616 ARROW_DOWN: "next", 8617 ARROW_LEFT: "previous", 8618 })); 8619 }, 8620 }, 8621 { 8622 key: "_init", 8623 value: function () { 8624 var t, 8625 e = this, 8626 n = this; 8627 ((this._isInitializing = !0), 8628 this.$element.attr({ role: "tablist" }), 8629 (this.$tabTitles = this.$element.find( 8630 ".".concat(this.options.linkClass), 8631 )), 8632 (this.$tabContent = i()( 8633 '[data-tabs-content="'.concat(this.$element[0].id, '"]'), 8634 )), 8635 this.$tabTitles.each(function () { 8636 var t = i()(this), 8637 e = t.find("a"), 8638 o = t.hasClass("".concat(n.options.linkActiveClass)), 8639 r = e.attr("data-tabs-target") || e[0].hash.slice(1), 8640 a = e[0].id || "".concat(r, "-label"), 8641 l = i()("#".concat(r)); 8642 (t.attr({ role: "presentation" }), 8643 e.attr({ 8644 role: "tab", 8645 "aria-controls": r, 8646 "aria-selected": o, 8647 id: a, 8648 tabindex: o ? "0" : "-1", 8649 }), 8650 l.attr({ role: "tabpanel", "aria-labelledby": a }), 8651 o && (n._initialAnchor = "#".concat(r)), 8652 o || l.attr("aria-hidden", "true"), 8653 o && 8654 n.options.autoFocus && 8655 (n.onLoadListener = Object(s.onLoad)( 8656 i()(window), 8657 function () { 8658 i()("html, body").animate( 8659 { scrollTop: t.offset().top }, 8660 n.options.deepLinkSmudgeDelay, 8661 function () { 8662 e.focus(); 8663 }, 8664 ); 8665 }, 8666 ))); 8667 }), 8668 this.options.matchHeight && 8669 ((t = this.$tabContent.find("img")).length 8670 ? Object(a.onImagesLoaded)( 8671 t, 8672 this._setHeight.bind(this), 8673 ) 8674 : this._setHeight()), 8675 (this._checkDeepLink = function () { 8676 if (!(o = window.location.hash).length) { 8677 if (e._isInitializing) return; 8678 e._initialAnchor && (o = e._initialAnchor); 8679 } 8680 var t = 0 <= o.indexOf("#") ? o.slice(1) : o, 8681 n = t && i()("#".concat(t)), 8682 o = 8683 o && 8684 e.$element 8685 .find( 8686 '[href$="' 8687 .concat(o, '"],[data-tabs-target="') 8688 .concat(t, '"]'), 8689 ) 8690 .first(); 8691 !n.length || 8692 !o.length || 8693 (n && n.length && o && o.length 8694 ? e.selectTab(n, !0) 8695 : e._collapse(), 8696 e.options.deepLinkSmudge && 8697 ((t = e.$element.offset()), 8698 i()("html, body").animate( 8699 { 8700 scrollTop: t.top - e.options.deepLinkSmudgeOffset, 8701 }, 8702 e.options.deepLinkSmudgeDelay, 8703 )), 8704 e.$element.trigger("deeplink.zf.tabs", [o, n])); 8705 }), 8706 this.options.deepLink && this._checkDeepLink(), 8707 this._events(), 8708 (this._isInitializing = !1)); 8709 }, 8710 }, 8711 { 8712 key: "_events", 8713 value: function () { 8714 (this._addKeyHandler(), 8715 this._addClickHandler(), 8716 (this._setHeightMqHandler = null),
8717 this.options.matchHeight && 8718 ((this._setHeightMqHandler = this._setHeight.bind(this)), 8719 i()(window).on( 8720 "changed.zf.mediaquery", 8721 this._setHeightMqHandler, 8722 )), 8723 this.options.deepLink && 8724 i()(window).on("hashchange", this._checkDeepLink)); 8725 }, 8726 }, 8727 { 8728 key: "_addClickHandler", 8729 value: function () { 8730 var t = this; 8731 this.$element 8732 .off("click.zf.tabs") 8733 .on( 8734 "click.zf.tabs", 8735 ".".concat(this.options.linkClass), 8736 function (e) { 8737 (e.preventDefault(), t._handleTabChange(i()(this))); 8738 }, 8739 ); 8740 }, 8741 }, 8742 { 8743 key: "_addKeyHandler", 8744 value: function () { 8745 var t = this; 8746 this.$tabTitles 8747 .off("keydown.zf.tabs") 8748 .on("keydown.zf.tabs", function (e) { 8749 var n, o, s, a; 8750 9 !== e.which && 8751 ((n = i()(this)), 8752 (o = n.parent("ul").children("li")).each(function (e) { 8753 i()(this).is(n) && 8754 (a = t.options.wrapOnKeys 8755 ? ((s = 0 === e ? o.last() : o.eq(e - 1)), 8756 e === o.length - 1 ? o.first() : o.eq(e + 1)) 8757 : ((s = o.eq(Math.max(0, e - 1))), 8758 o.eq(Math.min(e + 1, o.length - 1)))); 8759 }), 8760 r.Keyboard.handleKey(e, "Tabs", { 8761 open: function () { 8762 (n.find('[role="tab"]').focus(), 8763 t._handleTabChange(n)); 8764 }, 8765 previous: function () { 8766 (s.find('[role="tab"]').focus(), 8767 t._handleTabChange(s)); 8768 }, 8769 next: function () { 8770 (a.find('[role="tab"]').focus(), 8771 t._handleTabChange(a)); 8772 }, 8773 handled: function () { 8774 e.preventDefault(); 8775 }, 8776 })); 8777 }); 8778 }, 8779 }, 8780 { 8781 key: "_handleTabChange", 8782 value: function (t, e) { 8783 var n, i, o; 8784 t.hasClass("".concat(this.options.linkActiveClass)) 8785 ? this.options.activeCollapse && this._collapse() 8786 : ((n = this.$element.find( 8787 "." 8788 .concat(this.options.linkClass, ".") 8789 .concat(this.options.linkActiveClass), 8790 )), 8791 (i = 8792 (i = (o = t.find('[role="tab"]')).attr( 8793 "data-tabs-target", 8794 )) && i.length 8795 ? "#".concat(i) 8796 : o[0].hash), 8797 (o = this.$tabContent.find(i)), 8798 this._collapseTab(n), 8799 this._openTab(t), 8800 this.options.deepLink && 8801 !e && 8802 (this.options.updateHistory 8803 ? history.pushState({}, "", i) 8804 : history.replaceState({}, "", i)), 8805 this.$element.trigger("change.zf.tabs", [t, o]), 8806 o.find("[data-mutate]").trigger("mutateme.zf.trigger")); 8807 }, 8808 }, 8809 { 8810 key: "_openTab", 8811 value: function (t) { 8812 var e = t.find('[role="tab"]'), 8813 n = e.attr("data-tabs-target") || e[0].hash.slice(1); 8814 n = this.$tabContent.find("#".concat(n)); 8815 (t.addClass("".concat(this.options.linkActiveClass)), 8816 e.attr({ "aria-selected": "true", tabindex: "0" }), 8817 n 8818 .addClass("".concat(this.options.panelActiveClass)) 8819 .removeAttr("aria-hidden")); 8820 }, 8821 }, 8822 { 8823 key: "_collapseTab", 8824 value: function (t) { 8825 ((t = t 8826 .removeClass("".concat(this.options.linkActiveClass)) 8827 .find('[role="tab"]') 8828 .attr({ "aria-selected": "false", tabindex: -1 })), 8829 i()("#".concat(t.attr("aria-controls"))) 8830 .removeClass("".concat(this.options.panelActiveClass)) 8831 .attr({ "aria-hidden": "true" })); 8832 }, 8833 }, 8834 { 8835 key: "_collapse", 8836 value: function () { 8837 var t = this.$element.find( 8838 "." 8839 .concat(this.options.linkClass, ".") 8840 .concat(this.options.linkActiveClass), 8841 ); 8842 t.length && 8843 (this._collapseTab(t), 8844 this.$element.trigger("collapse.zf.tabs", [t])); 8845 }, 8846 }, 8847 { 8848 key: "selectTab", 8849 value: function (t, e) { 8850 var n; 8851 ((t = "object" === l(t) ? t[0].id : t).indexOf("#") < 0 8852 ? (n = "#".concat(t)) 8853 : (t = (n = t).slice(1)), 8854 (t = this.$tabTitles 8855 .has( 8856 '[href$="' 8857 .concat(n, '"],[data-tabs-target="') 8858 .concat(t, '"]'), 8859 ) 8860 .first()), 8861 this._handleTabChange(t, e)); 8862 }, 8863 }, 8864 { 8865 key: "_setHeight", 8866 value: function () { 8867 var t = 0, 8868 e = this; 8869 this.$tabContent && 8870 this.$tabContent 8871 .find(".".concat(this.options.panelClass)) 8872 .css("min-height", "") 8873 .each(function () { 8874 var n = i()(this), 8875 o = n.hasClass("".concat(e.options.panelActiveClass)); 8876 o || n.css({ visibility: "hidden", display: "block" }); 8877 var s = this.getBoundingClientRect().height; 8878 (o || n.css({ visibility: "", display: "" }), 8879 (t = t < s ? s : t)); 8880 }) 8881 .css("min-height", "".concat(t, "px")); 8882 }, 8883 }, 8884 { 8885 key: "_destroy", 8886 value: function () { 8887 (this.$element 8888 .find(".".concat(this.options.linkClass)) 8889 .off(".zf.tabs") 8890 .hide() 8891 .end() 8892 .find(".".concat(this.options.panelClass)) 8893 .hide(), 8894 this.options.matchHeight && 8895 null != this._setHeightMqHandler && 8896 i()(window).off( 8897 "changed.zf.mediaquery", 8898 this._setHeightMqHandler, 8899 ), 8900 this.options.deepLink && 8901 i()(window).off("hashchange", this._checkDeepLink), 8902 this.onLoadListener && 8903 i()(window).off(this.onLoadListener)); 8904 }, 8905 }, 8906 ]) && c(t.prototype, e), 8907 d 8908 ); 8909 })(); 8910 h.defaults = { 8911 deepLink: !1, 8912 deepLinkSmudge: !1, 8913 deepLinkSmudgeDelay: 300, 8914 deepLinkSmudgeOffset: 0, 8915 updateHistory: !1, 8916 autoFocus: !1, 8917 wrapOnKeys: !0, 8918 matchHeight: !1, 8919 activeCollapse: !1, 8920 linkClass: "tabs-title", 8921 linkActiveClass: "is-active", 8922 panelClass: "tabs-panel", 8923 panelActiveClass: "is-active", 8924 }; 8925 }, 8926
8926"./js/foundation.toggler.js": function (t, e, n) { 8927 "use strict"; 8928 (n.r(e), 8929 n.d(e, "Toggler", function () { 8930 return h; 8931 })); 8932 e = n("jquery"); 8933 var i = n.n(e), 8934 o = n("./js/foundation.util.motion.js"), 8935 s = n("./js/foundation.core.plugin.js"), 8936 r = n("./js/foundation.core.utils.js"), 8937 a = n("./js/foundation.util.triggers.js"); 8938 function l(t) { 8939 return (l = 8940 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 8941 ? function (t) { 8942 return typeof t; 8943 } 8944 : function (t) { 8945 return t && 8946 "function" == typeof Symbol && 8947 t.constructor === Symbol && 8948 t !== Symbol.prototype 8949 ? "symbol" 8950 : typeof t; 8951 })(t); 8952 } 8953 function c(t, e) { 8954 for (var n = 0; n < e.length; n++) { 8955 var i = e[n]; 8956 ((i.enumerable = i.enumerable || !1), 8957 (i.configurable = !0), 8958 "value" in i && (i.writable = !0), 8959 Object.defineProperty(t, i.key, i)); 8960 } 8961 } 8962 function u(t, e) { 8963 return (u = 8964 Object.setPrototypeOf || 8965 function (t, e) { 8966 return ((t.__proto__ = e), t); 8967 })(t, e); 8968 } 8969 function f(t) { 8970 var e = (function () { 8971 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 8972 if (Reflect.construct.sham) return !1; 8973 if ("function" == typeof Proxy) return !0; 8974 try { 8975 return ( 8976 Boolean.prototype.valueOf.call( 8977 Reflect.construct(Boolean, [], function () {}), 8978 ), 8979 !0 8980 ); 8981 } catch (t) { 8982 return !1; 8983 } 8984 })(); 8985 return function () { 8986 var n, 8987 i = d(t); 8988 return (function (t, e) { 8989 if (e && ("object" === l(e) || "function" == typeof e)) return e; 8990 if (void 0 !== e) 8991 throw new TypeError( 8992 "Derived constructors may only return object or undefined", 8993 ); 8994 return (function (t) { 8995 if (void 0 !== t) return t; 8996 throw new ReferenceError( 8997 "this hasn't been initialised - super() hasn't been called", 8998 ); 8999 })(t); 9000 })( 9001 this, 9002 e 9003 ? ((n = d(this).constructor), 9004 Reflect.construct(i, arguments, n)) 9005 : i.apply(this, arguments), 9006 ); 9007 }; 9008 } 9009 function d(t) { 9010 return (d = Object.setPrototypeOf 9011 ? Object.getPrototypeOf 9012 : function (t) { 9013 return t.__proto__ || Object.getPrototypeOf(t); 9014 })(t); 9015 } 9016 var h = (function () { 9017 !(function (t, e) { 9018 if ("function" != typeof e && null !== e) 9019 throw new TypeError( 9020 "Super expression must either be null or a function", 9021 ); 9022 ((t.prototype = Object.create(e && e.prototype, { 9023 constructor: { value: t, writable: !0, configurable: !0 }, 9024 })), 9025 e && u(t, e)); 9026 })(l, s.Plugin); 9027 var t, 9028 e, 9029 n = f(l); 9030 function l() { 9031 return ( 9032 (function (t, e) { 9033 if (!(t instanceof e)) 9034 throw new TypeError("Cannot call a class as a function"); 9035 })(this, l), 9036 n.apply(this, arguments) 9037 ); 9038 } 9039 return ( 9040 (t = l), 9041 (e = [ 9042 { 9043 key: "_setup", 9044 value: function (t, e) { 9045 ((this.$element = t), 9046 (this.options = i.a.extend({}, l.defaults, t.data(), e)), 9047 (this.className = ""), 9048 (this.className = "Toggler"), 9049 a.Triggers.init(i.a), 9050 this._init(), 9051 this._events()); 9052 }, 9053 }, 9054 { 9055 key: "_init", 9056 value: function () { 9057 var t, 9058 e = this.$element[0].id, 9059 n = i()( 9060 '[data-open~="' 9061 .concat(e, '"], [data-close~="') 9062 .concat(e, '"], [data-toggle~="') 9063 .concat(e, '"]'), 9064 ); 9065 if (this.options.animate) 9066 ((t = this.options.animate.split(" ")), 9067 (this.animationIn = t[0]), 9068 (this.animationOut = t[1] || null), 9069 n.attr("aria-expanded", !this.$element.is(":hidden"))); 9070 else { 9071 if ( 9072 "string" != typeof (t = this.options.toggler) || 9073 !t.length 9074 ) 9075 throw new Error( 9076 "The 'toggler' option containing the target class is required, got \"".concat( 9077 t, 9078 '"', 9079 ), 9080 ); 9081 ((this.className = "." === t[0] ? t.slice(1) : t), 9082 n.attr( 9083 "aria-expanded", 9084 this.$element.hasClass(this.className), 9085 )); 9086 } 9087 n.each(function (t, n) { 9088 var o = i()(n); 9089 n = o.attr("aria-controls") || ""; 9090 new RegExp( 9091 "\\b".concat(Object(r.RegExpEscape)(e), "\\b"), 9092 ).test(n) || 9093 o.attr( 9094 "aria-controls", 9095 n ? "".concat(n, " ").concat(e) : e, 9096 ); 9097 }); 9098 }, 9099 }, 9100 { 9101 key: "_events", 9102 value: function () { 9103 this.$element 9104 .off("toggle.zf.trigger") 9105 .on("toggle.zf.trigger", this.toggle.bind(this)); 9106 }, 9107 }, 9108 { 9109 key: "toggle", 9110 value: function () { 9111 this[ 9112 this.options.animate ? "_toggleAnimate" : "_toggleClass" 9113 ](); 9114 }, 9115 }, 9116 { 9117 key: "_toggleClass", 9118 value: function () { 9119 this.$element.toggleClass(this.className); 9120 var t = this.$element.hasClass(this.className); 9121 (t 9122 ? this.$element.trigger("on.zf.toggler") 9123 : this.$element.trigger("off.zf.toggler"), 9124 this._updateARIA(t), 9125 this.$element 9126 .find("[data-mutate]") 9127 .trigger("mutateme.zf.trigger")); 9128 }, 9129 }, 9130 { 9131 key: "_toggleAnimate", 9132 value: function () { 9133 var t = this; 9134 this.$element.is(":hidden") 9135 ? o.Motion.animateIn( 9136 this.$element, 9137 this.animationIn,
9138 function () { 9139 (t._updateARIA(!0), 9140 this.trigger("on.zf.toggler"), 9141 this.find("[data-mutate]").trigger( 9142 "mutateme.zf.trigger", 9143 )); 9144 }, 9145 ) 9146 : o.Motion.animateOut( 9147 this.$element, 9148 this.animationOut, 9149 function () { 9150 (t._updateARIA(!1), 9151 this.trigger("off.zf.toggler"), 9152 this.find("[data-mutate]").trigger( 9153 "mutateme.zf.trigger", 9154 )); 9155 }, 9156 ); 9157 }, 9158 }, 9159 { 9160 key: "_updateARIA", 9161 value: function (t) { 9162 var e = this.$element[0].id; 9163 i()( 9164 '[data-open="' 9165 .concat(e, '"], [data-close="') 9166 .concat(e, '"], [data-toggle="') 9167 .concat(e, '"]'), 9168 ).attr({ "aria-expanded": !!t }); 9169 }, 9170 }, 9171 { 9172 key: "_destroy", 9173 value: function () { 9174 this.$element.off(".zf.toggler"); 9175 }, 9176 }, 9177 ]) && c(t.prototype, e), 9178 l 9179 ); 9180 })(); 9181 h.defaults = { toggler: void 0, animate: !1 }; 9182 }, 9183
9183"./js/foundation.tooltip.js": function (t, e, n) { 9184 "use strict"; 9185 (n.r(e), 9186 n.d(e, "Tooltip", function () { 9187 return p; 9188 })); 9189 e = n("jquery"); 9190 var i = n.n(e), 9191 o = n("./js/foundation.core.utils.js"), 9192 s = n("./js/foundation.util.mediaQuery.js"), 9193 r = n("./js/foundation.util.triggers.js"), 9194 a = n("./js/foundation.positionable.js"); 9195 function l(t) { 9196 return (l = 9197 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 9198 ? function (t) { 9199 return typeof t; 9200 } 9201 : function (t) { 9202 return t && 9203 "function" == typeof Symbol && 9204 t.constructor === Symbol && 9205 t !== Symbol.prototype 9206 ? "symbol" 9207 : typeof t; 9208 })(t); 9209 } 9210 function c(t, e) { 9211 for (var n = 0; n < e.length; n++) { 9212 var i = e[n]; 9213 ((i.enumerable = i.enumerable || !1), 9214 (i.configurable = !0), 9215 "value" in i && (i.writable = !0), 9216 Object.defineProperty(t, i.key, i)); 9217 } 9218 } 9219 function u(t, e, n) { 9220 return (u = 9221 "undefined" != typeof Reflect && Reflect.get 9222 ? Reflect.get 9223 : function (t, e, n) { 9224 if ( 9225 ((t = (function (t, e) { 9226 for ( 9227 ; 9228 !Object.prototype.hasOwnProperty.call(t, e) && 9229 null !== (t = h(t)); 9230 ); 9231 return t; 9232 })(t, e)), 9233 t) 9234 ) 9235 return (e = Object.getOwnPropertyDescriptor(t, e)).get 9236 ? e.get.call(n) 9237 : e.value; 9238 })(t, e, n || t); 9239 } 9240 function f(t, e) { 9241 return (f = 9242 Object.setPrototypeOf || 9243 function (t, e) { 9244 return ((t.__proto__ = e), t); 9245 })(t, e); 9246 } 9247 function d(t) { 9248 var e = (function () { 9249 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 9250 if (Reflect.construct.sham) return !1; 9251 if ("function" == typeof Proxy) return !0; 9252 try { 9253 return ( 9254 Boolean.prototype.valueOf.call( 9255 Reflect.construct(Boolean, [], function () {}), 9256 ), 9257 !0 9258 ); 9259 } catch (t) { 9260 return !1; 9261 } 9262 })(); 9263 return function () { 9264 var n, 9265 i = h(t); 9266 return (function (t, e) { 9267 if (e && ("object" === l(e) || "function" == typeof e)) return e; 9268 if (void 0 !== e) 9269 throw new TypeError( 9270 "Derived constructors may only return object or undefined", 9271 ); 9272 return (function (t) { 9273 if (void 0 !== t) return t; 9274 throw new ReferenceError( 9275 "this hasn't been initialised - super() hasn't been called", 9276 ); 9277 })(t); 9278 })( 9279 this, 9280 e 9281 ? ((n = h(this).constructor), 9282 Reflect.construct(i, arguments, n)) 9283 : i.apply(this, arguments), 9284 ); 9285 }; 9286 } 9287 function h(t) { 9288 return (h = Object.setPrototypeOf 9289 ? Object.getPrototypeOf 9290 : function (t) { 9291 return t.__proto__ || Object.getPrototypeOf(t); 9292 })(t); 9293 } 9294 var p = (function () { 9295 !(function (t, e) { 9296 if ("function" != typeof e && null !== e) 9297 throw new TypeError( 9298 "Super expression must either be null or a function", 9299 ); 9300 ((t.prototype = Object.create(e && e.prototype, { 9301 constructor: { value: t, writable: !0, configurable: !0 },
9302 })), 9303 e && f(t, e)); 9304 })(l, a.Positionable); 9305 var t, 9306 e, 9307 n = d(l); 9308 function l() { 9309 return ( 9310 (function (t, e) { 9311 if (!(t instanceof e)) 9312 throw new TypeError("Cannot call a class as a function"); 9313 })(this, l), 9314 n.apply(this, arguments) 9315 ); 9316 } 9317 return ( 9318 (t = l), 9319 (e = [ 9320 { 9321 key: "_setup", 9322 value: function (t, e) { 9323 ((this.$element = t), 9324 (this.options = i.a.extend( 9325 {}, 9326 l.defaults, 9327 this.$element.data(), 9328 e, 9329 )), 9330 (this.className = "Tooltip"), 9331 (this.isActive = !1), 9332 (this.isClick = !1), 9333 r.Triggers.init(i.a), 9334 this._init()); 9335 }, 9336 }, 9337 { 9338 key: "_init", 9339 value: function () { 9340 s.MediaQuery._init(); 9341 var t = 9342 this.$element.attr("aria-describedby") || 9343 Object(o.GetYoDigits)(6, "tooltip"); 9344 ((this.options.tipText = 9345 this.options.tipText || this.$element.attr("title")), 9346 (this.template = this.options.template 9347 ? i()(this.options.template) 9348 : this._buildTemplate(t)), 9349 (this.options.allowHtml 9350 ? this.template 9351 .appendTo(document.body) 9352 .html(this.options.tipText) 9353 : this.template 9354 .appendTo(document.body) 9355 .text(this.options.tipText) 9356 ).hide(), 9357 this.$element 9358 .attr({ 9359 title: "", 9360 "aria-describedby": t, 9361 "data-yeti-box": t, 9362 "data-toggle": t, 9363 "data-resize": t, 9364 }) 9365 .addClass(this.options.triggerClass), 9366 u(h(l.prototype), "_init", this).call(this), 9367 this._events()); 9368 }, 9369 }, 9370 { 9371 key: "_getDefaultPosition", 9372 value: function () { 9373 var t = this.$element[0].className; 9374 return (t = (t = 9375 this.$element[0] instanceof SVGElement 9376 ? t.baseVal 9377 : t).match(/\b(top|left|right|bottom)\b/g)) 9378 ? t[0] 9379 : "top"; 9380 }, 9381 }, 9382 { 9383 key: "_getDefaultAlignment", 9384 value: function () { 9385 return "center"; 9386 }, 9387 }, 9388 { 9389 key: "_getHOffset", 9390 value: function () { 9391 return "left" === this.position || "right" === this.position 9392 ? this.options.hOffset + this.options.tooltipWidth 9393 : this.options.hOffset; 9394 }, 9395 }, 9396 { 9397 key: "_getVOffset", 9398 value: function () { 9399 return "top" === this.position || "bottom" === this.position 9400 ? this.options.vOffset + this.options.tooltipHeight 9401 : this.options.vOffset; 9402 }, 9403 }, 9404 { 9405 key: "_buildTemplate", 9406 value: function (t) { 9407 var e = "" 9408 .concat(this.options.tooltipClass, " ") 9409 .concat(this.options.templateClasses) 9410 .trim(); 9411 return i()("<div></div>").addClass(e).attr({ 9412 role: "tooltip", 9413 "aria-hidden": !0, 9414 "data-is-active": !1, 9415 "data-is-focus": !1, 9416 id: t, 9417 }); 9418 }, 9419 }, 9420 { 9421 key: "_setPosition", 9422 value: function () { 9423 u(h(l.prototype), "_setPosition", this).call( 9424 this, 9425 this.$element, 9426 this.template, 9427 ); 9428 }, 9429 }, 9430 { 9431 key: "show", 9432 value: function () { 9433 if ( 9434 "all" !== this.options.showOn && 9435 !s.MediaQuery.is(this.options.showOn) 9436 ) 9437 return !1; 9438 (this.template.css("visibility", "hidden").show(), 9439 this._setPosition(), 9440 this.template 9441 .removeClass("top bottom left right") 9442 .addClass(this.position), 9443 this.template 9444 .removeClass( 9445 "align-top align-bottom align-left align-right al
9445ign-center", 9446 ) 9447 .addClass("align-" + this.alignment), 9448 this.$element.trigger( 9449 "closeme.zf.tooltip", 9450 this.template.attr("id"), 9451 ), 9452 this.template.attr({ 9453 "data-is-active": !0, 9454 "aria-hidden": !1, 9455 }), 9456 (this.isActive = !0), 9457 this.template 9458 .stop() 9459 .hide() 9460 .css("visibility", "") 9461 .fadeIn(this.options.fadeInDuration, function () {}), 9462 this.$element.trigger("show.zf.tooltip")); 9463 }, 9464 }, 9465 { 9466 key: "hide", 9467 value: function () { 9468 var t = this; 9469 (this.template 9470 .stop() 9471 .attr({ "aria-hidden": !0, "data-is-active": !1 }) 9472 .fadeOut(this.options.fadeOutDuration, function () { 9473 ((t.isActive = !1), (t.isClick = !1)); 9474 }), 9475 this.$element.trigger("hide.zf.tooltip")); 9476 }, 9477 }, 9478 { 9479 key: "_events", 9480 value: function () { 9481 var t = this, 9482 e = 9483 "ontouchstart" in window || 9484 void 0 !== window.ontouchstart, 9485 n = !1; 9486 (e && this.options.disableForTouch) || 9487 (this.options.disableHover || 9488 this.$element 9489 .on("mouseenter.zf.tooltip", function () { 9490 t.isActive || 9491 (t.timeout = setTimeout(function () { 9492 t.show(); 9493 }, t.options.hoverDelay)); 9494 }) 9495 .on( 9496 "mouseleave.zf.tooltip", 9497 Object(o.ignoreMousedisappear)(function () { 9498 (clearTimeout(t.timeout), 9499 (n && (!t.isClick || t.options.clickOpen)) || 9500 t.hide()); 9501 }), 9502 ), 9503 e && 9504 this.$element.on( 9505 "tap.zf.tooltip touchend.zf.tooltip", 9506 function () { 9507 t.isActive ? t.hide() : t.show(); 9508 }, 9509 ), 9510 this.options.clickOpen 9511 ? this.$element.on("mousedown.zf.tooltip", function () { 9512 t.isClick || 9513 ((t.isClick = !0), 9514 (!t.options.disableHover && 9515 t.$element.attr("tabindex")) || 9516 t.isActive || 9517 t.show()); 9518 }) 9519 : this.$element.on("mousedown.zf.tooltip", function () { 9520 t.isClick = !0; 9521 }), 9522 this.$element.on({ 9523 "close.zf.trigger": this.hide.bind(this), 9524 }), 9525 this.$element 9526 .on("focus.zf.tooltip", function () { 9527 return ( 9528 (n = !0), 9529 t.isClick 9530 ? (t.options.clickOpen || (n = !1), !1) 9531 : void t.show() 9532 ); 9533 }) 9534 .on("focusout.zf.tooltip", function () { 9535 ((n = !1), (t.isClick = !1), t.hide()); 9536 }) 9537 .on("resizeme.zf.trigger", function () { 9538 t.isActive && t._setPosition(); 9539 })); 9540 }, 9541 }, 9542 { 9543 key: "toggle", 9544 value: function () { 9545 this.isActive ? this.hide() : this.show(); 9546 }, 9547 }, 9548 { 9549 key: "_destroy", 9550 value: function () { 9551 (this.$element 9552 .attr("title", this.template.text()) 9553 .off(".zf.trigger .zf.tooltip") 9554 .removeClass(this.options.triggerClass) 9555 .removeClass("top right left bottom") 9556 .removeAttr( 9557 "aria-describedby data-disable-hover data-resize data-toggle data-tooltip data-yeti-box", 9558 ), 9559 this.template.remove()); 9560 }, 9561 }, 9562 ]) && c(t.prototype, e), 9563 l 9564 ); 9565 })(); 9566 p.defaults = { 9567 hoverDelay: 200, 9568 fadeInDuration: 150, 9569 fadeOutDuration: 150, 9570 disableHover: !1, 9571 disableForTouch: !1, 9572 templateClasses: "", 9573 tooltipClass: "tooltip", 9574 triggerClass: "has-tip", 9575 showOn: "small", 9576 template: "", 9577 tipText: "", 9578 touchCloseText: "Tap to close.", 9579 clickOpen: !0, 9580 position: "auto", 9581 alignment: "auto", 9582 allowOverlap: !1, 9583 allowBottomOverlap: !1, 9584 vOffset: 0, 9585 hOffset: 0, 9586 tooltipHeight: 14, 9587 tooltipWidth: 12, 9588 allowHtml: !1, 9589 }; 9590 }, 9591
9591"./js/foundation.util.box.js": function (t, e, n) { 9592 "use strict"; 9593 (n.r(e), 9594 n.d(e, "Box", function () { 9595 return i; 9596 })); 9597 var i = { 9598 ImNotTouchingYou: function (t, e, n, i, s) { 9599 return 0 === o(t, e, n, i, s); 9600 }, 9601 OverlapArea: o, 9602 GetDimensions: s, 9603 GetExplicitOffsets: function (t, e, n, i, o, r, a) { 9604 var l, 9605 c, 9606 u = s(t), 9607 f = e ? s(e) : null; 9608 if (null !== f) { 9609 switch (n) { 9610 case "top": 9611 l = f.offset.top - (u.height + o); 9612 break; 9613 case "bottom": 9614 l = f.offset.top + f.height + o; 9615 break; 9616 case "left": 9617 c = f.offset.left - (u.width + r); 9618 break; 9619 case "right": 9620 c = f.offset.left + f.width + r; 9621 } 9622 switch (n) { 9623 case "top": 9624 case "bottom": 9625 switch (i) { 9626 case "left": 9627 c = f.offset.left + r; 9628 break; 9629 case "right": 9630 c = f.offset.left - u.width + f.width - r; 9631 break; 9632 case "center": 9633 c = a ? r : f.offset.left + f.width / 2 - u.width / 2 + r; 9634 } 9635 break; 9636 case "right": 9637 case "left": 9638 switch (i) { 9639 case "bottom": 9640 l = f.offset.top - o + f.height - u.height; 9641 break; 9642 case "top": 9643 l = f.offset.top + o; 9644 break; 9645 case "center": 9646 l = f.offset.top + o + f.height / 2 - u.height / 2; 9647 } 9648 } 9649 } 9650 return { top: l, left: c }; 9651 }, 9652 }; 9653 function o(t, e, n, i, o) { 9654 var r, a, l; 9655 t = s(t); 9656 return ( 9657 (t = e 9658 ? ((r = 9659 (e = s(e)).height + e.offset.top - (t.offset.top + t.height)), 9660 (a = t.offset.top - e.offset.top), 9661 (l = t.offset.left - e.offset.left), 9662 e.width + e.offset.left - (t.offset.left + t.width)) 9663 : ((r = 9664 t.windowDims.height + 9665 t.windowDims.offset.top - 9666 (t.offset.top + t.height)), 9667 (a = t.offset.top - t.windowDims.offset.top), 9668 (l = t.offset.left - t.windowDims.offset.left), 9669 t.windowDims.width - (t.offset.left + t.width))), 9670 (r = o ? 0 : Math.min(r, 0)), 9671 (a = Math.min(a, 0)), 9672 (l = Math.min(l, 0)), 9673 (t = Math.min(t, 0)), 9674 n ? l + t : i ? a + r : Math.sqrt(a * a + r * r + l * l + t * t) 9675 ); 9676 } 9677 function s(t) { 9678 if ((t = t.length ? t[0] : t) === window || t === document) 9679 throw new Error("I'm sorry, Dave. I'm afraid I can't do that."); 9680 var e = t.getBoundingClientRect(), 9681 n = t.parentNode.getBoundingClientRect(), 9682 i = document.body.getBoundingClientRect(), 9683 o = window.pageYOffset; 9684 t = window.pageXOffset; 9685 return { 9686 width: e.width, 9687 height: e.height, 9688 offset: { top: e.top + o, left: e.left + t }, 9689 parentDims: { 9690 width: n.width, 9691 height: n.height, 9692 offset: { top: n.top + o, left: n.left + t }, 9693 }, 9694 windowDims: { 9695 width: i.width, 9696 height: i.height, 9697 offset: { top: o, left: t }, 9698 }, 9699 }; 9700 } 9701 }, 9702
9702"./js/foundation.util.imageLoader.js": function (t, e, n) { 9703 "use strict"; 9704 (n.r(e), 9705 n.d(e, "onImagesLoaded", function () { 9706 return o; 9707 })); 9708 e = n("jquery"); 9709 var i = n.n(e); 9710 function o(t, e) { 9711 var n = t.length; 9712 function o() { 9713 0 == --n && e(); 9714 } 9715 (0 === n && e(), 9716 t.each(function () { 9717 var t, e; 9718 this.complete && void 0 !== this.naturalWidth 9719 ? o() 9720 : ((t = new Image()), 9721 (e = "load.zf.images error.zf.images"), 9722 i()(t).one(e, function t() { 9723 (i()(this).off(e, t), o()); 9724 }), 9725 (t.src = i()(this).attr("src"))); 9726 })); 9727 } 9728 }, 9729
9729"./js/foundation.util.keyboard.js": function (t, e, n) { 9730 "use strict"; 9731 (n.r(e), 9732 n.d(e, "Keyboard", function () { 9733 return c; 9734 })); 9735 e = n("jquery"); 9736 var i = n.n(e), 9737 o = n("./js/foundation.core.utils.js"), 9738 s = { 9739 9: "TAB", 9740 13: "ENTER", 9741 27: "ESCAPE", 9742 32: "SPACE", 9743 35: "END", 9744 36: "HOME", 9745 37: "ARROW_LEFT", 9746 38: "ARROW_UP", 9747 39: "ARROW_RIGHT", 9748 40: "ARROW_DOWN", 9749 }, 9750 r = {}; 9751 function a(t) { 9752 return ( 9753 !!t && 9754 t 9755 .find( 9756 "a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]", 9757 ) 9758 .filter(function () { 9759 return !( 9760 !i()(this).is(":visible") || i()(this).attr("tabindex") < 0 9761 ); 9762 }) 9763 .sort(function (t, e) { 9764 if (i()(t).attr("tabindex") === i()(e).attr("tabindex")) 9765 return 0; 9766 var n = parseInt(i()(t).attr("tabindex"), 10), 9767 o = parseInt(i()(e).attr("tabindex"), 10); 9768 return void 0 === i()(t).attr("tabindex") && 0 < o 9769 ? 1 9770 : void 0 === i()(e).attr("tabindex") && 0 < n 9771 ? -1 9772 : 0 === n && 0 < o 9773 ? 1 9774 : (0 === o && 0 < n) || n < o 9775 ? -1 9776 : o < n 9777 ? 1 9778 : void 0; 9779 }) 9780 ); 9781 } 9782 function l(t) { 9783 var e = (e = 9784 s[t.which || t.keyCode] || 9785 String.fromCharCode(t.which).toUpperCase()).replace(/\W+/, ""); 9786 return ( 9787 t.shiftKey && (e = "SHIFT_".concat(e)), 9788 t.ctrlKey && (e = "CTRL_".concat(e)), 9789 (e = t.altKey ? "ALT_".concat(e) : e).replace(/_$/, "") 9790 ); 9791 } 9792 var c = { 9793 keys: (function (t) { 9794 var e, 9795 n = {}; 9796 for (e in t) t.hasOwnProperty(e) && (n[t[e]] = t[e]); 9797 return n; 9798 })(s), 9799 parseKey: l, 9800 handleKey: function (t, e, n) { 9801 var s = r[e]; 9802 e = this.parseKey(t); 9803 if (!s) return console.warn("Component not defined!"); 9804 !0 !== t.zfIsKeyHandled && 9805 ((e = 9806 n[ 9807 (void 0 === s.ltr 9808 ? s 9809 : Object(o.rtl)() 9810 ? i.a.extend({}, s.ltr, s.rtl) 9811 : i.a.extend({}, s.rtl, s.ltr))[e] 9812 ]) && "function" == typeof e 9813 ? ((e = e.apply()), 9814 (t.zfIsKeyHandled = !0), 9815 (!n.handled && "function" != typeof n.handled) || 9816 n.handled(e)) 9817 : (!n.unhandled && "function" != typeof n.unhandled) || 9818 n.unhandled()); 9819 }, 9820 findFocusable: a, 9821 register: function (t, e) { 9822 r[t] = e; 9823 }, 9824 trapFocus: function (t) { 9825 var e = a(t), 9826 n = e.eq(0), 9827 i = e.eq(-1); 9828 t.on("keydown.zf.trapfocus", function (t) { 9829 t.target === i[0] && "TAB" === l(t) 9830 ? (t.preventDefault(), n.focus()) 9831 : t.target === n[0] && 9832 "SHIFT_TAB" === l(t) && 9833 (t.preventDefault(), i.focus()); 9834 }); 9835 }, 9836 releaseFocus: function (t) { 9837 t.off("keydown.zf.trapfocus"); 9838 }, 9839 }; 9840 }, 9841
9841"./js/foundation.util.mediaQuery.js": function (t, e, n) { 9842 "use strict"; 9843 (n.r(e), 9844 n.d(e, "MediaQuery", function () { 9845 return c; 9846 })); 9847 e = n("jquery"); 9848 var i, 9849 o, 9850 s, 9851 r = n.n(e); 9852 function a(t) { 9853 return (a = 9854 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 9855 ? function (t) { 9856 return typeof t; 9857 } 9858 : function (t) { 9859 return t && 9860 "function" == typeof Symbol && 9861 t.constructor === Symbol && 9862 t !== Symbol.prototype 9863 ? "symbol" 9864 : typeof t; 9865 })(t); 9866 } 9867 function l(t, e) { 9868 (null == e || e > t.length) && (e = t.length); 9869 for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n]; 9870 return i; 9871 } 9872 window.matchMedia || 9873 (window.matchMedia = 9874 ((s = window.styleMedia || window.media) || 9875 ((i = document.createElement("style")), 9876 (e = document.getElementsByTagName("script")[0]), 9877 null, 9878 (i.type = "text/css"), 9879 (i.id = "matchmediajs-test"), 9880 e 9881 ? e.parentNode.insertBefore(i, e) 9882 : document.head.appendChild(i), 9883 (o = 9884 ("getComputedStyle" in window && 9885 window.getComputedStyle(i, null)) || 9886 i.currentStyle), 9887 (s = { 9888 matchMedium: function (t) { 9889 return ( 9890 (t = 9891 "@media " + t + "{ #matchmediajs-test { width: 1px; } }"), 9892 i.styleSheet 9893 ? (i.styleSheet.cssText = t) 9894 : (i.textContent = t), 9895 "1px" === o.width 9896 ); 9897 }, 9898 })), 9899 function (t) { 9900 return { matches: s.matchMedium(t || "all"), media: t || "all" }; 9901 })); 9902 var c = { 9903 queries: [], 9904 current: "", 9905 _init: function () { 9906 if (!0 === this.isInitialized) return this; 9907 ((this.isInitialized = !0), 9908 r()("meta.foundation-mq").length || 9909 r()( 9910 '<meta class="foundation-mq" name="foundation-mq" content>', 9911 ).appendTo(document.head)); 9912 var t, 9913 e, 9914 n, 9915 i = r()(".foundation-mq").css("font-family"); 9916 for (n in ((e = {}), 9917 (t = 9918 "string" == typeof (i = i) && (i = i.trim().slice(1, -1)) 9919 ? (e = i.split("&").reduce(function (t, e) { 9920 e = (n = e.replace(/\+/g, " ").split("="))[0]; 9921 var n = n[1]; 9922 ((e = decodeURIComponent(e)), 9923 (n = void 0 === n ? null : decodeURIComponent(n))); 9924 return ( 9925 t.hasOwnProperty(e) 9926 ? Array.isArray(t[e]) 9927 ? t[e].push(n) 9928 : (t[e] = [t[e], n]) 9929 : (t[e] = n), 9930 t 9931 ); 9932 }, {})) 9933 : e), 9934 (this.queries = []), 9935 t)) 9936 t.hasOwnProperty(n) && 9937 this.queries.push({ 9938 name: n, 9939 value: "only screen and (min-width: ".concat(t[n], ")"), 9940 }); 9941 ((this.current = this._getCurrentSize()), this._watcher()); 9942 }, 9943 _reInit: function () { 9944 ((this.isInitialized = !1), this._init()); 9945 }, 9946 atLeast: function (t) { 9947 return !!(t = this.get(t)) && window.matchMedia(t).matches; 9948 }, 9949 only: function (t) { 9950 return t === this._getCurrentSize(); 9951 }, 9952 upTo: function (t) { 9953 return !(t = this.next(t)) || !this.atLeast(t); 9954 }, 9955 is: function (t) { 9956 var e = (function (t, e) { 9957 return ( 9958 (function (t) { 9959 if (Array.isArray(t)) return t; 9960 })(t) || 9961 (function (t, e) { 9962 var n = 9963 null == t 9964 ? null 9965 : ("undefined" != typeof Symbol && 9966 t[Symbol.iterator]) || 9967 t["@@iterator"]; 9968 if (null != n) { 9969 var i, 9970 o, 9971 s = [], 9972 r = !0, 9973 a = !1; 9974 try { 9975 for ( 9976 n = n.call(t); 9977 !(r = (i = n.next()).done) && 9978 (s.push(i.value), !e || s.length !== e); 9979 r = !0 9980 ); 9981 } catch (t) { 9982 ((a = !0), (o = t)); 9983 } finally { 9984 try { 9985 r || null == n.return || n.return(); 9986 } finally { 9987 if (a) throw o; 9988 } 9989 } 9990 return s; 9991 } 9992 })(t, e) || 9993 (function (t, e) { 9994 if (t) { 9995 if ("string" == typeof t) return l(t, e); 9996 var n = Object.prototype.toString.call(t).slice(8, -1); 9997 return "Map" === 9998 (n = 9999 "Object" === n && t.constructor 10000 ? t.constructor.name 10001 : n) || "Set" === n 10002 ? Array.from(t) 10003 : "Arguments" === n || 10004 /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) 10005 ? l(t, e) 10006 : void 0; 10007 } 10008 })(t, e) || 10009 (function () { 10010 throw new TypeError(
10011 "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.", 10012 ); 10013 })() 10014 ); 10015 })( 10016 t 10017 .trim() 10018 .split(" ") 10019 .filter(function (t) { 10020 return !!t.length; 10021 }), 10022 2, 10023 ), 10024 n = e[0]; 10025 if ("only" === (e = void 0 === (e = e[1]) ? "" : e)) 10026 return this.only(n); 10027 if (!e || "up" === e) return this.atLeast(n); 10028 if ("down" === e) return this.upTo(n); 10029 throw new Error( 10030 '\n Invalid breakpoint passed to MediaQuery.is().\n Expected a breakpoint name formatted like "<size> <modifier>", got "'.concat( 10031 t, 10032 '".\n ', 10033 ), 10034 ); 10035 }, 10036 get: function (t) { 10037 for (var e in this.queries) 10038 if ( 10039 this.queries.hasOwnProperty(e) && 10040 t === (e = this.queries[e]).name 10041 ) 10042 return e.value; 10043 return null; 10044 }, 10045 next: function (t) { 10046 var e = this, 10047 n = this.queries.findIndex(function (n) { 10048 return e._getQueryName(n) === t; 10049 }); 10050 if (-1 === n) 10051 throw new Error( 10052 '\n Unknown breakpoint "'.concat( 10053 t, 10054 '" passed to MediaQuery.next().\n Ensure it is present in your Sass "$breakpoints" setting.\n ', 10055 ), 10056 ); 10057 return (n = this.queries[n + 1]) ? n.name : null; 10058 }, 10059 _getQueryName: function (t) { 10060 if ("string" == typeof t) return t; 10061 if ("object" === a(t)) return t.name; 10062 throw new TypeError( 10063 '\n Invalid value passed to MediaQuery._getQueryName().\n Expected a breakpoint name (String) or a breakpoint query (Object), got "' 10064 .concat(t, '" (') 10065 .concat(a(t), ")\n "), 10066 ); 10067 }, 10068 _getCurrentSize: function () { 10069 for (var t, e = 0; e < this.queries.length; e++) { 10070 var n = this.queries[e]; 10071 window.matchMedia(n.value).matches && (t = n); 10072 } 10073 return t && this._getQueryName(t); 10074 }, 10075 _watcher: function () { 10076 var t = this; 10077 r()(window).on("resize.zf.trigger", function () { 10078 var e = t._getCurrentSize(), 10079 n = t.current; 10080 e !== n && 10081 ((t.current = e), 10082 r()(window).trigger("changed.zf.mediaquery", [e, n])); 10083 }); 10084 }, 10085 }; 10086 }, 10087
10087"./js/foundation.util.motion.js": function (t, e, n) { 10088 "use strict"; 10089 (n.r(e), 10090 n.d(e, "Move", function () { 10091 return l; 10092 }), 10093 n.d(e, "Motion", function () { 10094 return a; 10095 })); 10096 e = n("jquery"); 10097 var i = n.n(e), 10098 o = n("./js/foundation.core.utils.js"), 10099 s = ["mui-enter", "mui-leave"], 10100 r = ["mui-enter-active", "mui-leave-active"], 10101 a = { 10102 animateIn: function (t, e, n) { 10103 c(!0, t, e, n); 10104 }, 10105 animateOut: function (t, e, n) { 10106 c(!1, t, e, n); 10107 }, 10108 }; 10109 function l(t, e, n) { 10110 var i, 10111 o, 10112 s = null; 10113 if (0 === t) 10114 return ( 10115 n.apply(e), 10116 void e 10117 .trigger("finished.zf.animate", [e]) 10118 .triggerHandler("finished.zf.animate", [e]) 10119 ); 10120 i = window.requestAnimationFrame(function r(a) { 10121 ((o = a - (s = s || a)), 10122 n.apply(e), 10123 o < t 10124 ? (i = window.requestAnimationFrame(r, e)) 10125 : (window.cancelAnimationFrame(i), 10126 e 10127 .trigger("finished.zf.animate", [e]) 10128 .triggerHandler("finished.zf.animate", [e]))); 10129 }); 10130 } 10131 function c(t, e, n, a) { 10132 var l, c; 10133 function u() { 10134 ((e[0].style.transitionDuration = 0), 10135 e.removeClass("".concat(l, " ").concat(c, " ").concat(n))); 10136 } 10137 (e = i()(e).eq(0)).length && 10138 ((l = t ? s[0] : s[1]), 10139 (c = t ? r[0] : r[1]), 10140 u(), 10141 e.addClass(n).css("transition", "none"), 10142 requestAnimationFrame(function () { 10143 (e.addClass(l), t && e.show()); 10144 }), 10145 requestAnimationFrame(function () { 10146 (e[0].offsetWidth, e.css("transition", "").addClass(c)); 10147 }), 10148 e.one(Object(o.transitionend)(e), function () { 10149 (t || e.hide(), u(), a && a.apply(e)); 10150 })); 10151 } 10152 }, 10153
10153"./js/foundation.util.nest.js": function (t, e, n) { 10154 "use strict"; 10155 (n.r(e), 10156 n.d(e, "Nest", function () { 10157 return o; 10158 })); 10159 e = n("jquery"); 10160 var i = n.n(e), 10161 o = { 10162 Feather: function (t) { 10163 var e = 10164 1 < arguments.length && void 0 !== arguments[1] 10165 ? arguments[1] 10166 : "zf"; 10167 (t.attr("role", "menubar"), 10168 t.find("a").attr({ role: "menuitem" })); 10169 t = t.find("li").attr({ role: "none" }); 10170 var n = "is-".concat(e, "-submenu"), 10171 o = "".concat(n, "-item"), 10172 s = "is-".concat(e, "-submenu-parent"), 10173 r = "accordion" !== e; 10174 t.each(function () { 10175 var t = i()(this), 10176 a = t.children("ul"); 10177 (a.length && 10178 (t.addClass(s), 10179 r && 10180 (t.children("a:first").attr({ 10181 "aria-haspopup": !0, 10182 "aria-label": t.children("a:first").text(), 10183 }), 10184 "drilldown" === e && t.attr({ "aria-expanded": !1 })), 10185 a 10186 .addClass("submenu ".concat(n)) 10187 .attr({ "data-submenu": "", role: "menubar" }), 10188 "drilldown" === e && a.attr({ "aria-hidden": !0 })), 10189 t.parent("[data-submenu]").length && 10190 t.addClass("is-submenu-item ".concat(o))); 10191 }); 10192 }, 10193 Burn: function (t, e) { 10194 var n = "is-".concat(e, "-submenu"), 10195 i = "".concat(n, "-item"); 10196 e = "is-".concat(e, "-submenu-parent"); 10197 t.find(">li, > li > ul, .menu, .menu > li, [data-submenu] > li") 10198 .removeClass( 10199 "" 10200 .concat(n, " ") 10201 .concat(i, " ") 10202 .concat(e, " is-submenu-item submenu is-active"), 10203 ) 10204 .removeAttr("data-submenu") 10205 .css("display", ""); 10206 }, 10207 }; 10208 }, 10209
10209"./js/foundation.util.timer.js": function (t, e, n) { 10210 "use strict"; 10211 function i(t, e, n) { 10212 var i, 10213 o, 10214 s = this, 10215 r = e.duration, 10216 a = Object.keys(t.data())[0] || "timer", 10217 l = -1; 10218 ((this.isPaused = !1), 10219 (this.restart = function () { 10220 ((l = -1), clearTimeout(o), this.start()); 10221 }), 10222 (this.start = function () { 10223 ((this.isPaused = !1), 10224 clearTimeout(o), 10225 (l = l <= 0 ? r : l), 10226 t.data("paused", !1), 10227 (i = Date.now()), 10228 (o = setTimeout(function () { 10229 (e.infinite && s.restart(), 10230 n && "function" == typeof n && n()); 10231 }, l)), 10232 t.trigger("timerstart.zf.".concat(a))); 10233 }), 10234 (this.pause = function () { 10235 ((this.isPaused = !0), clearTimeout(o), t.data("paused", !0)); 10236 var e = Date.now(); 10237 ((l -= e - i), t.trigger("timerpaused.zf.".concat(a))); 10238 })); 10239 } 10240 (n.r(e), 10241 n.d(e, "Timer", function () { 10242 return i; 10243 })); 10244 }, 10245
10245"./js/foundation.util.touch.js": function (t, e, n) { 10246 "use strict"; 10247 (n.r(e), 10248 n.d(e, "Touch", function () { 10249 return c; 10250 })); 10251 e = n("jquery"); 10252 var i = n.n(e); 10253 function o(t, e) { 10254 for (var n = 0; n < e.length; n++) { 10255 var i = e[n]; 10256 ((i.enumerable = i.enumerable || !1), 10257 (i.configurable = !0), 10258 "value" in i && (i.writable = !0), 10259 Object.defineProperty(t, i.key, i)); 10260 } 10261 } 10262 var s, 10263 r, 10264 a, 10265 l, 10266 c = {}, 10267 u = !1, 10268 f = !1; 10269 function d(t) { 10270 (this.removeEventListener("touchmove", h), 10271 this.removeEventListener("touchend", d), 10272 f || ((t = i.a.Event("tap", l || t)), i()(this).trigger(t)), 10273 (l = null), 10274 (f = u = !1)); 10275 } 10276 function h(t) { 10277 var e, n; 10278 (!0 === i.a.spotSwipe.preventDefault && t.preventDefault(), 10279 u && 10280 ((e = t.touches[0].pageX), 10281 (e = s - e), 10282 (f = !0), 10283 (a = new Date().getTime() - r), 10284 (n = 10285 Math.abs(e) >= i.a.spotSwipe.moveThreshold && 10286 a <= i.a.spotSwipe.timeThreshold 10287 ? 0 < e 10288 ? "left" 10289 : "right" 10290 : n) && 10291 (t.preventDefault(), 10292 d.apply(this, arguments), 10293 i()(this) 10294 .trigger(i.a.Event("swipe", Object.assign({}, t)), n) 10295 .trigger( 10296 i.a.Event("swipe".concat(n), Object.assign({}, t)), 10297 )))); 10298 } 10299 function p(t) { 10300 1 === t.touches.length && 10301 ((s = t.touches[0].pageX), 10302 (l = t), 10303 (f = !(u = !0)), 10304 (r = new Date().getTime()), 10305 this.addEventListener("touchmove", h, { 10306 passive: !0 === i.a.spotSwipe.preventDefault, 10307 }), 10308 this.addEventListener("touchend", d, !1)); 10309 } 10310 function m() { 10311 this.addEventListener && 10312 this.addEventListener("touchstart", p, { passive: !0 }); 10313 } 10314 var g = (function () { 10315 function t() { 10316 (!(function (t, e) { 10317 if (!(t instanceof e)) 10318 throw new TypeError("Cannot call a class as a function"); 10319 })(this, t), 10320 (this.version = "1.0.0"), 10321 (this.enabled = "ontouchstart" in document.documentElement), 10322 (this.preventDefault = !1), 10323 (this.moveThreshold = 75), 10324 (this.timeThreshold = 200), 10325 this._init()); 10326 } 10327 var e, n; 10328 return ( 10329 (e = t), 10330 (n = [ 10331 { 10332 key: "_init", 10333 value: function () { 10334 ((i.a.event.special.swipe = { setup: m }), 10335 (i.a.event.special.tap = { setup: m }), 10336 i.a.each(["left", "up", "down", "right"], function () { 10337 i.a.event.special["swipe".concat(this)] = { 10338 setup: function () { 10339 i()(this).on("swipe", i.a.noop); 10340 }, 10341 }; 10342 })); 10343 }, 10344 }, 10345 ]) && o(e.prototype, n), 10346 t 10347 ); 10348 })(); 10349 ((c.setupSpotSwipe = function () { 10350 i.a.spotSwipe = new g(i.a); 10351 }), 10352 (c.setupTouchHandler = function () { 10353 i.a.fn.addTouch = function () { 10354 this.each(function (e, n) { 10355 i()(n).bind( 10356 "touchstart touchmove touchend touchcancel", 10357 function (e) { 10358 t(e); 10359 }, 10360 ); 10361 }); 10362 var t = function (t) { 10363 var e, 10364 n = t.changedTouches[0]; 10365 t = { 10366 touchstart: "mousedown", 10367 touchmove: "mousemove", 10368 touchend: "mouseup", 10369 }[t.type]; 10370 ("MouseEvent" in window && 10371 "function" == typeof window.MouseEvent 10372 ? (e = new window.MouseEvent(t, { 10373 bubbles: !0, 10374 cancelable: !0, 10375 screenX: n.screenX, 10376 screenY: n.screenY, 10377 clientX: n.clientX, 10378 clientY: n.clientY, 10379 })) 10380 : (e = document.createEvent("MouseEvent")).initMouseEvent( 10381 t, 10382 !0, 10383 !0, 10384 window, 10385 1, 10386 n.screenX, 10387 n.screenY, 10388 n.clientX, 10389 n.clientY, 10390 !1, 10391 !1, 10392 !1, 10393 !1, 10394 0, 10395 null, 10396 ), 10397 n.target.dispatchEvent(e)); 10398 }; 10399 }; 10400 }), 10401 (c.init = function () { 10402 void 0 === i.a.spotSwipe && 10403 (c.setupSpotSwipe(i.a), c.setupTouchHandler(i.a)); 10404 })); 10405 }, 10406
10406"./js/foundation.util.triggers.js": function (t, e, n) { 10407 "use strict"; 10408 (n.r(e), 10409 n.d(e, "Triggers", function () { 10410 return c; 10411 })); 10412 e = n("jquery"); 10413 var i = n.n(e), 10414 o = n("./js/foundation.core.utils.js"), 10415 s = n("./js/foundation.util.motion.js"); 10416 function r(t) { 10417 return (r = 10418 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 10419 ? function (t) { 10420 return typeof t; 10421 } 10422 : function (t) { 10423 return t && 10424 "function" == typeof Symbol && 10425 t.constructor === Symbol && 10426 t !== Symbol.prototype 10427 ? "symbol" 10428 : typeof t; 10429 })(t); 10430 } 10431 function a(t, e) { 10432 t.data(e) 10433 .split(" ") 10434 .forEach(function (n) { 10435 i()("#".concat(n))["close" === e ? "trigger" : "triggerHandler"]( 10436 "".concat(e, ".zf.trigger"), 10437 [t], 10438 ); 10439 }); 10440 } 10441 var l = (function () { 10442 for ( 10443 var t = ["WebKit", "Moz", "O", "Ms", ""], e = 0; 10444 e < t.length; 10445 e++ 10446 ) 10447 if ("".concat(t[e], "MutationObserver") in window) 10448 return window["".concat(t[e], "MutationObserver")]; 10449 return !1; 10450 })(), 10451 c = { Listeners: { Basic: {}, Global: {} }, Initializers: {} }; 10452 function u(t, e, n) { 10453 var o, 10454 s = Array.prototype.slice.call(arguments, 3); 10455 i()(window).on(e, function () { 10456 (o && clearTimeout(o), 10457 (o = setTimeout(function () { 10458 n.apply(null, s); 10459 }, t || 10))); 10460 }); 10461 } 10462 ((c.Listeners.Basic = { 10463 openListener: function () { 10464 a(i()(this), "open"); 10465 }, 10466 closeListener: function () { 10467 i()(this).data("close") 10468 ? a(i()(this), "close") 10469 : i()(this).trigger("close.zf.trigger"); 10470 }, 10471 toggleListener: function () { 10472 i()(this).data("toggle") 10473 ? a(i()(this), "toggle") 10474 : i()(this).trigger("toggle.zf.trigger"); 10475 }, 10476 closeableListener: function (t) { 10477 var e = i()(this).data("closable"); 10478 (t.stopPropagation(), 10479 "" !== e 10480 ? s.Motion.animateOut(i()(this), e, function () { 10481 i()(this).trigger("closed.zf"); 10482 }) 10483 : i()(this).fadeOut().trigger("closed.zf")); 10484 }, 10485 toggleFocusListener: function () { 10486 var t = i()(this).data("toggle-focus"); 10487 i()("#".concat(t)).triggerHandler("toggle.zf.trigger", [i()(this)]); 10488 }, 10489 }), 10490 (c.Initializers.addOpenListener = function (t) { 10491 (t.off("click.zf.trigger", c.Listeners.Basic.openListener), 10492 t.on( 10493 "click.zf.trigger", 10494 "[data-open]", 10495 c.Listeners.Basic.openListener, 10496 )); 10497 }), 10498 (c.Initializers.addCloseListener = function (t) { 10499 (t.off("click.zf.trigger", c.Listeners.Basic.closeListener), 10500 t.on( 10501 "click.zf.trigger", 10502 "[data-close]", 10503 c.Listeners.Basic.closeListener, 10504 )); 10505 }), 10506 (c.Initializers.addToggleListener = function (t) { 10507 (t.off("click.zf.trigger", c.Listeners.Basic.toggleListener), 10508 t.on( 10509 "click.zf.trigger", 10510 "[data-toggle]", 10511 c.Listeners.Basic.toggleListener, 10512 )); 10513 }), 10514 (c.Initializers.addCloseableListener = function (t) { 10515 (t.off("close.zf.trigger", c.Listeners.Basic.closeableListener), 10516 t.on( 10517 "close.zf.trigger", 10518 "[data-closeable], [data-closable]", 10519 c.Listeners.Basic.closeableListener, 10520 )); 10521 }),
10522 (c.Initializers.addToggleFocusListener = function (t) { 10523 (t.off( 10524 "focus.zf.trigger blur.zf.trigger", 10525 c.Listeners.Basic.toggleFocusListener, 10526 ), 10527 t.on( 10528 "focus.zf.trigger blur.zf.trigger", 10529 "[data-toggle-focus]", 10530 c.Listeners.Basic.toggleFocusListener, 10531 )); 10532 }), 10533 (c.Listeners.Global = { 10534 resizeListener: function (t) { 10535 (l || 10536 t.each(function () { 10537 i()(this).triggerHandler("resizeme.zf.trigger"); 10538 }), 10539 t.attr("data-events", "resize")); 10540 }, 10541 scrollListener: function (t) { 10542 (l || 10543 t.each(function () { 10544 i()(this).triggerHandler("scrollme.zf.trigger"); 10545 }), 10546 t.attr("data-events", "scroll")); 10547 }, 10548 closeMeListener: function (t, e) { 10549 ((t = t.namespace.split(".")[0]), 10550 i()("[data-".concat(t, "]")) 10551 .not('[data-yeti-box="'.concat(e, '"]')) 10552 .each(function () { 10553 var t = i()(this); 10554 t.triggerHandler("close.zf.trigger", [t]); 10555 })); 10556 }, 10557 }), 10558 (c.Initializers.addClosemeListener = function (t) { 10559 var e = i()("[data-yeti-box]"), 10560 n = ["dropdown", "tooltip", "reveal"]; 10561 (t && 10562 ("string" == typeof t 10563 ? n.push(t) 10564 : "object" === r(t) && "string" == typeof t[0] 10565 ? (n = n.concat(t)) 10566 : console.error("Plugin names must be strings")), 10567 e.length && 10568 ((n = n 10569 .map(function (t) { 10570 return "closeme.zf.".concat(t); 10571 }) 10572 .join(" ")), 10573 i()(window).off(n).on(n, c.Listeners.Global.closeMeListener))); 10574 }), 10575 (c.Initializers.addResizeListener = function (t) { 10576 var e = i()("[data-resize]"); 10577 e.length && 10578 u(t, "resize.zf.trigger", c.Listeners.Global.resizeListener, e); 10579 }), 10580 (c.Initializers.addScrollListener = function (t) { 10581 var e = i()("[data-scroll]"); 10582 e.length && 10583 u(t, "scroll.zf.trigger", c.Listeners.Global.scrollListener, e); 10584 }), 10585 (c.Initializers.addMutationEventsListener = function (t) { 10586 if (!l) return !1; 10587 function e(t) { 10588 var e = i()(t[0].target); 10589 switch (t[0].type) { 10590 case "attributes": 10591 ("scroll" === e.attr("data-events") && 10592 "data-events" === t[0].attributeName && 10593 e.triggerHandler("scrollme.zf.trigger", [ 10594 e, 10595 window.pageYOffset, 10596 ]), 10597 "resize" === e.attr("data-events") && 10598 "data-events" === t[0].attributeName && 10599 e.triggerHandler("resizeme.zf.trigger", [e]), 10600 "style" === t[0].attributeName && 10601 (e.closest("[data-mutate]").attr("data-events", "mutate"), 10602 e 10603 .closest("[data-mutate]") 10604 .triggerHandler("mutateme.zf.trigger", [ 10605 e.closest("[data-mutate]"), 10606 ]))); 10607 break; 10608 case "childList": 10609 (e.closest("[data-mutate]").attr("data-events", "mutate"), 10610 e 10611 .closest("[data-mutate]") 10612 .triggerHandler("mutateme.zf.trigger", [ 10613 e.closest("[data-mutate]"), 10614 ])); 10615 break; 10616 default: 10617 return !1; 10618 } 10619 } 10620 var n = t.find("[data-resize], [data-scroll], [data-mutate]"); 10621 if (n.length) 10622 for (var o = 0; o <= n.length - 1; o++) 10623 new l(e).observe(n[o], { 10624 attributes: !0, 10625 childList: !0, 10626 characterData: !1, 10627 subtree: !0, 10628 attributeFilter: ["data-events", "style"], 10629 }); 10630 }),
10631 (c.Initializers.addSimpleListeners = function () { 10632 var t = i()(document); 10633 (c.Initializers.addOpenListener(t), 10634 c.Initializers.addCloseListener(t), 10635 c.Initializers.addToggleListener(t), 10636 c.Initializers.addCloseableListener(t), 10637 c.Initializers.addToggleFocusListener(t)); 10638 }), 10639 (c.Initializers.addGlobalListeners = function () { 10640 var t = i()(document); 10641 (c.Initializers.addMutationEventsListener(t), 10642 c.Initializers.addResizeListener(250), 10643 c.Initializers.addScrollListener(), 10644 c.Initializers.addClosemeListener()); 10645 }), 10646 (c.init = function (t, e) { 10647 (Object(o.onLoad)(i()(window), function () { 10648 !0 !== i.a.triggersInitialized && 10649 (c.Initializers.addSimpleListeners(), 10650 c.Initializers.addGlobalListeners(), 10651 (i.a.triggersInitialized = !0)); 10652 }), 10653 e && 10654 ((e.Triggers = c), 10655 (e.IHearYou = c.Initializers.addGlobalListeners))); 10656 })); 10657 }
10657, 10658 0: function (t, e, n) { 10659 t.exports = n("./js/entries/foundation.js"); 10660 }, 10661 jquery: function (e, n) { 10662 e.exports = t; 10663 }, 10664 }), 10665 (i = {}), 10666 (e.m = n), 10667 (e.c = i), 10668 (e.d = function (t, n, i) { 10669 e.o(t, n) || Object.defineProperty(t, n, { enumerable: !0, get: i }); 10670 }), 10671 (e.r = function (t) { 10672 ("undefined" != typeof Symbol && 10673 Symbol.toStringTag && 10674 Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }), 10675 Object.defineProperty(t, "__esModule", { value: !0 })); 10676 }), 10677 (e.t = function (t, n) { 10678 if ((1 & n && (t = e(t)), 8 & n)) return t; 10679 if (4 & n && "object" == typeof t && t && t.__esModule) return t; 10680 var i = Object.create(null); 10681 if ( 10682 (e.r(i), 10683 Object.defineProperty(i, "default", { enumerable: !0, value: t }), 10684 2 & n && "string" != typeof t) 10685 ) 10686 for (var o in t) 10687 e.d( 10688 i, 10689 o, 10690 function (e) { 10691 return t[e]; 10692 }.bind(null, o), 10693 ); 10694 return i; 10695 }), 10696 (e.n = function (t) { 10697 var n = 10698 t && t.__esModule 10699 ? function () { 10700 return t.default; 10701 } 10702 : function () { 10703 return t; 10704 }; 10705 return (e.d(n, "a", n), n); 10706 }), 10707 (e.o = function (t, e) { 10708 return Object.prototype.hasOwnProperty.call(t, e); 10709 }), 10710 (e.p = ""), 10711 e((e.s = 0)) 10712 ); 10713 function e(t) { 10714 if (i[t]) return i[t].exports; 10715 var o = (i[t] = { i: t, l: !1, exports: {} }); 10716 return (n[t].call(o.exports, o, o.exports, e), (o.l = !0), o.exports
10716); 10717 } 10718 var n, i; 10719}); 10720var bgRegex = /(b[0-9]).(jpg|png)/g; 10721function makeBreadcrumbs() { 10722 var t = '<li><a href="/">Home</a></li>', 10723 e = [$("#sliding-menu nav .nav-title a"), $("#sliding-menu nav a.active")]; 10724 $.each(e, function (e, n) { 10725 $.each(n, function (e, n) { 10726 t += '<li><a href="' + n.href + '">' + n.text + "</a></li>"; 10727 }); 10728 }); 10729 var n = '<div id="breadcrumbs"><ul>' + t + "</ul></div>"; 10730 $("article#content #content1").prepend(n); 10731} 10732function minimizeHeader() { 10733 var t = 230; 10734 $(document).scroll(function () { 10735 $(window).scrollTop() > t 10736 ? $("#site-header").addClass("minimized") 10737 : $("#site-header").removeClass("minimized"); 10738 }); 10739} 10740function scrollToAnchor(t) { 10741 var e = $("#site-header"), 10742 n = $("#top-nav"); 10743 if ((t = t.length ? t : $("[name=" + this.hash.slice(1) + "]")).length) { 10744 var i = 0; 10745 ("fixed" == e.css("position") && (i += e.height()), 10746 "fixed" == n.css("position") && (i += n.height())); 10747 var o = t.offset().top - i; 10748 return ($("html,body").animate({ scrollTop: o }, 200), !1); 10749 } 10750} 10751/** 10752 * Accessible disclosure panels with conditional focus trapping. 10753 * 10754 * Replaces setupSiteSearch() / setupSlideMenu() / toggleSideMenu(). 10755 * 10756 * #top-nav is only a disclosure when updateClassAtBreakpoint() has given it 10757 * the "sb-slide" class (mobile-down). Above that breakpoint it is an ordinary 10758 * inline nav bar, so it must NOT be trapped, must NOT carry aria-hidden, and 10759 * .toggle-menu must NOT carry aria-expanded. That state is re-evaluated on 10760 * resize, so crossing the breakpoint with the menu open cleans up correctly. 10761 * 10762 * Requires jQuery. 10763 */ 10764(function ($) { 10765 "use strict"; 10766 10767 /* ------------------------------------------------------------------ * 10768 * Focusable-element discovery 10769 * ------------------------------------------------------------------ */ 10770 10771 var FOCUSABLE_SELECTOR = [ 10772 "a[href]", 10773 "area[href]", 10774 "button", 10775 "input", 10776 "select", 10777 "textarea", 10778 "iframe", 10779 "object", 10780 "embed", 10781 "audio[controls]", 10782 "video[controls]", 10783 "[contenteditable]", 10784 "[tabindex]", 10785 ].join(","); 10786 10787 /** 10788 * Every element inside $container that a user can actually Tab to, in DOM 10789 * order. Recomputed on each Tab so panels whose controls are hidden at 10790 * some breakpoints behave correctly. 10791 */ 10792 function getFocusable($container) { 10793 return $container.find(FOCUSABLE_SELECTOR).filter(function () { 10794 var tabindex = this.getAttribute("tabindex"); 10795 10796 if (this.disabled) { 10797 return false; 10798 } 10799 if (this.type === "hidden") { 10800 return false; 10801 } 10802 if (tabindex !== null && parseInt(tabindex, 10) < 0) { 10803 return false; 10804 } 10805 10806 return $(this).is(":visible"); 10807 }); 10808 } 10809 10810 function contains($container, node) { 10811 return !!node && $container.length && $container[0].contains(node); 10812 } 10813 10814 function alwaysTrue() { 10815 return true; 10816 } 10817 10818 /* ------------------------------------------------------------------ * 10819 * Disclosure 10820 * ------------------------------------------------------------------ */ 10821 10822 var registry = []; 10823 10824 /** 10825 * @param {Object} config 10826 * @param {string} config.panel Selector for the panel element. 10827 * @param {string} config.toggle Selector for the control(s) that open it. 10828 * @param {Function} config.isOpen Returns true when the panel is open. 10829 * @param {Function} config.show Reveals the panel. 10830 * @param {Function} config.hide Conceals the panel. 10831 * @param {Function} [config.isEnabled] Returns false when the element is not 10832 * behaving as a disclosure at the current 10833 * breakpoint. Defaults to always enabled. 10834 * @param {Function}
10834 [config.onDisable] Cleanup when isEnabled() flips to false. 10835 * @param {string} [config.initialFocus] Selector for the element to focus on open. 10836 * @param {boolean} [config.modal=true] Trap Tab inside the panel while enabled. 10837 */ 10838 function Disclosure(config) { 10839 this.$panel = $(config.panel); 10840 this.$toggle = $(config.toggle); 10841 10842 if (!this.$panel.length || !this.$toggle.length) { 10843 return; 10844 } 10845 10846 this._isOpen = config.isOpen; 10847 this._show = config.show; 10848 this._hide = config.hide; 10849 this._isEnabled = config.isEnabled || alwaysTrue; 10850 this._onDisable = config.onDisable || null; 10851 10852 this.initialFocus = config.initialFocus || null; 10853 this.modal = config.modal !== false; 10854 this._enabled = null; 10855 10856 this.init(); 10857 } 10858 10859 Disclosure.prototype.init = function () { 10860 var self = this; 10861 10862 // aria-controls must reference the panel's real id. The original code 10863 // pointed .toggle-menu at "sliding-menu", which does not exist in the 10864 // markup -- the panel is #top-nav. 10865 var panelId = this.$panel.attr("id"); 10866 if (panelId) { 10867 this.$toggle.attr("aria-controls", panelId); 10868 } 10869 10870 // Bound permanently. The panel only receives keydown while focus is 10871 // inside it, so there is nothing to tear down on close. 10872 this.$panel.on("keydown.disclosure", function (event) { 10873 self.handleTab(event); 10874 }); 10875 10876 this.$toggle.on("click.disclosure", function (event) { 10877 if (!self.isEnabled()) { 10878 return; 10879 } 10880 event.preventDefault(); 10881 self.toggle(); 10882 }); 10883 10884 registry.push(this); 10885 this.sync(); 10886 }; 10887 10888 /** 10889 * Is this element acting as a disclosure right now? Evaluated live, never 10890 * cached, because the breakpoint can change under us. 10891 */ 10892 Disclosure.prototype.isEnabled = function () { 10893 return !!this._isEnabled.call(this); 10894 }; 10895 10896 Disclosure.prototype.isOpen = function () { 10897 return this.isEnabled() && !!this._isOpen.call(this); 10898 }; 10899 10900 Disclosure.prototype.shouldTrap = function () { 10901 return this.modal && this.isEnabled(); 10902 }; 10903 10904 Disclosure.prototype.setState = function (open) { 10905 if (!this.isEnabled()) { 10906 return; 10907 } 10908 10909 this.$toggle.attr("aria-expanded", open ? "true" : "false"); 10910 this.$panel.attr("aria-hidden", open ? "false" : "true"); 10911 }; 10912 10913 /** 10914 * Reconcile ARIA with the current breakpoint. Idempotent -- safe to call 10915 * on every resize tick. 10916 */ 10917 Disclosure.prototype.sync = function () { 10918 var enabled = this.isEnabled(); 10919 10920 if (enabled === this._enabled) { 10921 return; 10922 } 10923 this._enabled = enabled; 10924 10925 if (enabled) { 10926 this.setState(this._isOpen.call(this)); 10927 return; 10928 } 10929 10930 // No longer a disclosure: strip the state attributes entirely rather 10931 // than leaving aria-hidden="true" on a nav bar that is plainly visible. 10932 if (this._onDisable) { 10933 this._onDisable.call(this); 10934 } 10935 10936 this.$panel.removeAttr("aria-hidden"); 10937 this.$toggle.removeAttr("aria-expanded"); 10938 }; 10939 10940 Disclosure.prototype.open = function () { 10941 if (!this.isEnabled() || this.isOpen()) { 10942 return; 10943 } 10944 10945 closeOthers(this); 10946 10947 this._show.call(this); 10948 this.setState(true); 10949 this.focusInitial(); 10950 }; 10951 10952 /** 10953 * @param {Object} [options] 10954 * @param {boolean} [options.returnFocus] Move focus back to the toggle. When 10955 * omitted, focus only moves if it would otherwise be stranded inside 10956 * the panel being closed. 10957 */ 10958 Disclosure.prototype.close = function (options) { 10959 if (!this.isOpen()) { 10960 return; 10961 } 10962 10963 options = options || {}; 10964 10965 var focusWasInside = contains(this.$panel, document.activeElement); 10966 10967 this._hide.call(this); 10968 this.setState(false); 10969 10970 if (options.returnFocus || focusWasInside) { 10971 this.$toggle.filter(":visible").first().focus(); 10972 } 10973 }; 10974 10975 Disclosure.prototype.toggle = function () { 10976 if (this.isOpen()) { 10977 this.close({ returnFocus: true }); 10978 } else { 10979 this.open(); 10980 } 10981 }; 10982 10983 Disclosure.prototype.focusInitial = function () { 10984 var $target = this.initialFocus 10985 ? $(this.initialFocus).filter(":visible") 10986 : $(); 10987 10988 if (!$target.length) { 10989 $target = getFocusable(this.$panel).first(); 10990 } 10991 10992 $target.first().focus(); 10993 }; 10994 10995 /** 10996 * The trap. Tab from the last control wraps to the first; Shift+Tab from the 10997 * first wraps to the last. Everything in between falls through to the 10998 * browser's native tab order. 10999 * 11000 * Skipped entirely when the panel is not currently a disclosure -- an inline 11001 * nav bar must let Tab carry on into the rest of the page. 11002 */ 11003 Disclosure.prototype.handleTab = function (event) { 11004 if (!this.shouldTrap()) { 11005 return; 11006 } 11007 if (event.key !== "Tab" && event.keyCode !== 9) { 11008 return; 11009 } 11010
11011 var $focusable = getFocusable(this.$panel); 11012 if (!$focusable.length) { 11013 return; 11014 } 11015 11016 var first = $focusable[0]; 11017 var last = $focusable[$focusable.length - 1]; 11018 var active = document.activeElement; 11019 11020 if (event.shiftKey && active === first) { 11021 event.preventDefault(); 11022 last.focus(); 11023 } else if (!event.shiftKey && active === last) { 11024 event.preventDefault(); 11025 first.focus(); 11026 } 11027 }; 11028 11029 function closeOthers(keepOpen) { 11030 for (var i = 0; i < registry.length; i++) { 11031 if (registry[i] !== keepOpen) { 11032 registry[i].close(); 11033 } 11034 } 11035 } 11036 11037 function closeAll(options) { 11038 for (var i = 0; i < registry.length; i++) { 11039 registry[i].close(options); 11040 } 11041 } 11042 11043 function syncAll() { 11044 for (var i = 0; i < registry.length; i++) { 11045 registry[i].sync(); 11046 } 11047 } 11048 11049 /* ------------------------------------------------------------------ * 11050 * Global handlers 11051 * ------------------------------------------------------------------ */ 11052 11053 $(document).on("keydown.disclosure", function (event) { 11054 var isEscape = 11055 event.key === "Escape" || event.key === "Esc" || event.keyCode === 27; 11056 if (!isEscape) { 11057 return; 11058 } 11059 11060 closeAll({ returnFocus: true }); 11061 }); 11062 11063 // updateClassAtBreakpoint() adds and removes sb-slide as the viewport 11064 // changes; re-check after the dust settles. 11065 var resizeTimer = null; 11066 $(window).on("resize.disclosure orientationchange.disclosure", function () { 11067 window.clearTimeout(resizeTimer); 11068 resizeTimer = window.setTimeout(syncAll, 150); 11069 }); 11070 11071 /* ------------------------------------------------------------------ * 11072 * Panel definitions 11073 * ------------------------------------------------------------------ */ 11074 11075 var siteSearch; 11076 var slideMenu; 11077 var shareModule; 11078 11079 function setupSiteSearch() { 11080 siteSearch = new Disclosure({ 11081 panel: "#search-module", 11082 toggle: ".toggle-search", 11083 11084 isOpen: function () { 11085 return this.$panel.is(":visible"); 11086 }, 11087 show: function () { 11088 this.$panel.stop(true, true).slideDown("fast"); 11089 }, 11090 hide: function () { 11091 this.$panel.stop(true, true).slideUp("fast"); 11092 }, 11093 11094 initialFocus: "#search-q", 11095 }); 11096 11097 // Form submission -- unchanged from the original, minus the focusout 11098 // handler on #search-btn-programs that was closing the panel. 11099 $("#search-btn-section").on("click touchend", function () { 11100 var $field = $( 11101 '<input type="hidden" name="as_sitesearch" value="http://binghamton.edu' + 11102 section_path + 11103 '" />', 11104 ); 11105 $("#search-google").append($field).submit(); 11106 }); 11107 11108 $("#search-btn-people").on("click touchend", function () { 11109 var $field = $( 11110 '<input type="hidden" name="search" value="' + 11111 $("#search-q").val() + 11112 '" />', 11113 ); 11114 $("#search-directory").append($field).submit(); 11115 }); 11116 11117 $("#search-btn-programs").on("click touchend", function () { 11118 var $field = $( 11119 '<input type="hidden" name="q" value="' + $("#search-q").val() + '" />', 11120 ); 11121 $("#search-programs").append($field).submit(); 11122 }); 11123 } 11124 11125 function setupSlideMenu() { 11126 // Must run first -- sb-slide has to be settled before the first sync(). 11127 updateClassAtBreakpoint("#top-nav", "sb-slide", "mobile down"); 11128 11129 slideMenu = new Disclosure({ 11130 panel: "#top-nav", 11131 toggle: ".toggle-menu", 11132 11133 // The whole disclosure only exists in slide mode. Above the 11134 // breakpoint #top-nav is a plain nav bar: no trap, no aria-hidden, 11135 // no aria-expanded, and Escape leaves it alone. 11136 isEnabled: function () { 11137 return this.$panel.hasClass("sb-slide"); 11138 }, 11139 11140 // #top-nav is revealed by a class, not by display, so :visible can 11141 // report true even when the menu is translated off-screen. Test the 11142 // class the CSS actually keys off. 11143 isOpen: function () { 11144 return this.$panel.hasClass("is-visible"); 11145 }, 11146 show: function () { 11147 $("#top-nav, .sliding-menu-fade-screen").addClass("is-visible"); 11148 }, 11149 hide: function () { 11150 $("#top-nav, .sliding-menu-fade-screen").removeClass("is-visible"); 11151 }, 11152 11153 // Resizing up to desktop while the menu is open would otherwise 11154 // leave is-visible stuck on the nav and the backdrop. 11155 onDisable: function () { 11156 $("#top-nav, .sliding-menu-fade-screen").removeClass("is-visible"); 11157 }, 11158 11159 initialFocus: "#top-nav nav .nav-title a:first-of-type", 11160 }); 11161 11162 // The backdrop closes the menu. It is not the toggle, so it must not 11163 // carry aria-expanded -- close() puts that attribute on .toggle-menu. 11164 $(".sliding-menu-fade-screen").on("click.disclosure", function (event) { 11165 event.preventDefault(); 11166 if (slideMenu) { 11167 slideMenu.close({ returnFocus: true }); 11168 } 11169 }); 11170 } 11171
11172 function setupShareModule() { 11173 if (!$("#share-module").length) { 11174 return; 11175 } 11176 11177 shareModule = new Disclosure({ 11178 panel: "#share-module", 11179 toggle: ".toggle-share", 11180 11181 isOpen: function () { 11182 return this.$panel.is(":visible"); 11183 }, 11184 show: function () { 11185 this.$panel.stop(true, true).slideDown("fast"); 11186 }, 11187 hide: function () { 11188 this.$panel.stop(true, true).slideUp("fast"); 11189 }, 11190 }); 11191 } 11192 11193 /* ------------------------------------------------------------------ * 11194 * Init 11195 * ------------------------------------------------------------------ */ 11196 11197 // Keep the existing page-load calls, or call window.setupDisclosures(). 11198 window.setupSiteSearch = setupSiteSearch; 11199 window.setupSlideMenu = setupSlideMenu; 11200 11201 window.setupDisclosures = function () { 11202 setupSiteSearch(); 11203 setupSlideMenu(); 11204 setupShareModule(); 11205 }; 11206})(jQuery); 11207 11208function updateClassAtBreakpoint(t, e, n) { 11209 Foundation.MediaQuery.is(n) ? $(t).addClass(e) : $(t).removeClass(e); 11210} 11211function linearizeTable(t) { 11212 var e = []; 11213 (t.find("thead th").each(function () { 11214 e.push($(this).text()); 11215 }), 11216 e.length && 11217 t.find("tbody tr").each(function () { 11218 $(this) 11219 .children() 11220 .each(function (t) { 11221 $(this).attr("data-title", e[t]); 11222 }); 11223 })); 11224} 11225function createJSONTable(t, e, n = e, i) { 11226 let o = [], 11227 s = e[0], 11228 r = "asc"; 11229 const a = document.getElementById("jsonTable"), 11230 l = a.querySelector("thead tr"), 11231 c = a.querySelector("tbody"), 11232 u = document.getElementById("count"), 11233 f = document.getElementById("status"), 11234 d = document.getElementById("error"), 11235 h = document.getElementById("search"); 11236 function p(t = "") { 11237 c.innerHTML = ""; 11238 const n = t.trim().toLowerCase(); 11239 let i = o.filter( 11240 (t) => !n || e.some((e) => t[e]?.toString().toLowerCase().includes(n)), 11241 ); 11242 var a; 11243 ((a = i), 11244 (i = [...a].sort((t, e) => { 11245 let n = t[s] ?? "", 11246 i = e[s] ?? ""; 11247 const o = parseFloat(n), 11248 a = parseFloat(i); 11249 return isNaN(o) || 11250 isNaN(a) || 11251 "" === n.toString().trim() || 11252 "" === i.toString().trim() 11253 ? ((n = n.toString().toLowerCase()), 11254 (i = i.toString().toLowerCase()), 11255 n < i ? ("asc" === r ? -1 : 1) : n > i ? ("asc" === r ? 1 : -1) : 0) 11256 : "asc" === r 11257 ? o - a 11258 : a - o; 11259 })), 11260 i.forEach((t) => { 11261 const n = document.createElement("tr"); 11262 (e.forEach((e) => { 11263 const i = document.createElement("td"); 11264 ((i.innerHTML = t[e] || ""), n.appendChild(i)); 11265 }), 11266 c.appendChild(n)); 11267 }), 11268 (u.textContent = `${i.length} row${1 !== i.length ? "s" : ""}`), 11269 (f.textContent = `Showing ${i.length} of ${o.length}`)); 11270 } 11271 function m(t, n) { 11272 return t.map((t) => { 11273 const i = {}; 11274 return ( 11275 "geojson" == n && (t = t.properties), 11276 e.forEach( 11277 (e) => 11278 (i[e] = t[e] ?? t[e.charAt(0).toUpperCase() + e.slice(1)] ?? ""), 11279 ), 11280 i 11281 ); 11282 }); 11283 } 11284 ((l.innerHTML = ""),
11285 n.forEach((t, n) => { 11286 const i = document.createElement("th"); 11287 ((i.textContent = t), 11288 (i.dataset.col = e[n]), 11289 i.addEventListener("click", () => { 11290 const t = i.dataset.col; 11291 (s === t 11292 ? (r = "asc" === r ? "desc" : "asc") 11293 : ((s = t), (r = "asc")), 11294 l 11295 .querySelectorAll("th") 11296 .forEach((t) => t.classList.remove("sort-asc", "sort-desc")), 11297 i.classList.add("asc" === r ? "sort-asc" : "sort-desc"), 11298 p(h.value)); 11299 }), 11300 l.appendChild(i)); 11301 }), 11302 h.addEventListener("input", (t) => p(t.target.value)), 11303 (async function () { 11304 try { 11305 const e = await fetch(t, { cache: "no-store" }); 11306 if (!e.ok) throw new Error(`HTTP ${e.status}`); 11307 const n = await e.json(); 11308 ((o = (function (t, e) { 11309 if ((console.log(e), Array.isArray(t))) return m(t); 11310 if ("object" == typeof t) 11311 for (const n of Object.values(t)) 11312 if (Array.isArray(n)) return m(n, e); 11313 return []; 11314 })(n, i)), 11315 p()); 11316 } catch (t) { 11317 (console.error("Error loading data:", t), 11318 (d.hidden = !1), 11319 (d.textContent = "Could not load data.")); 11320 } 11321 })()); 11322} 11323function getUrlParams() { 11324 for ( 11325 var t, 11326 e = [], 11327 n = window.location.href 11328 .slice(window.location.href.indexOf("?") + 1) 11329 .split("&"), 11330 i = 0; 11331 i < n.length; 11332 i++ 11333 ) 11334 ((t = n[i].split("=")), e.push(t[0]), (e[t[0]] = t[1])); 11335 return e; 11336} 11337function calcReadTime(t) { 11338 var e = 1; 11339 return ((e = t.split(" ").length / 225), (e = Math.round(e))); 11340} 11341function selectRandomProperty(t) { 11342 var e = Object.keys(t); 11343 return t[e[(e.length * Math.random()) << 0]]; 11344} 11345function loadRandomVideo(t, e) { 11346 $.getJSON(t, function (t) { 11347 var n = selectRandomProperty(t.videos); 11348 $(e).append(
11349 '<div class="flex-video widescreen" id="' + 11350 n.id + 11351 '"><iframe title="Video Player: ' + 11352 n.id + 11353 '" src="//www.youtube.com/embed/' + 11354 n.id + 11355 '?showinfo=1&controls=1&modestbranding=1&portrait=0&rel=0" frameborder="0" width="560" height="315" webkitallowfullscreen="true" mozallowfullscreen="true" allowfullscreen="true">\x3c!--video--\x3e</iframe></div>', 11356 ); 11357 }); 11358} 11359function shuffleArray(t) { 11360 for (var e, n, i = t.length; 0 !== i; ) 11361 ((n = Math.floor(Math.random() * i)), 11362 (e = t[(i -= 1)]), 11363 (t[i] = t[n]), 11364 (t[n] = e)); 11365 return t; 11366} 11367function filterArrayByValue(t, e, n) { 11368 return t.filter(function (t) { 11369 return t[e] == n; 11370 }); 11371} 11372($(".hero.photo").each(function () { 11373 var t = $(this).css("background-image"), 11374 e = bgRegex.exec(t); 11375 e && $(this).addClass(e[1]); 11376}), 11377 $(function () { 11378 $(".shade-green").wrapInner( 11379 "<div class='bg-dark-green photo-shade'></div>", 11380 ); 11381 }), 11382 $(function () { 11383 makeBreadcrumbs(); 11384 }), 11385 $(function () { 11386 iOS && 11387 $("#subscribe-calendar").attr( 11388 "href", 11389 "webcal:" + $("#subscribe-calendar").attr("href"), 11390 ); 11391 }), 11392 $("a").each(function () { 11393 var t = this.href.match(/\.([a-zA-Z0-9]{2,4})([#;\?]|$)/); 11394 if (t && t[1].match(/(pdf|rtf|doc|docx|gdoc|odt|xls|xlsx|gsheet|ods)/i)) { 11395 var e = t[1].toLowerCase(); 11396 $(this).attr("aria-label", e + " file download: " + this.text); 11397 } 11398 }), 11399 $(document).ready(function () { 11400 $("a[href]").each(function () { 11401 var t = $(this), 11402 e = t.attr("href"); 11403 if ( 11404 e && 11405 0 !== e.indexOf("#") && 11406 0 !== e.indexOf("/") && 11407 0 !== e.indexOf("mailto:") && 11408 0 !== e.indexOf("tel:") 11409 ) { 11410 var n = document.createElement("a"); 11411 ((n.href = e), 11412 -1 === n.hostname.indexOf(".binghamton.edu") && 11413 (0 === t.find(".sr-only").length && 11414 t.append('<span class="sr-only"> (opens in a new window)</span>'), 11415 t.addClass("external-link"), 11416 t.attr("target", "_blank"), 11417 t.attr("rel", "noopener noreferrer"))); 11418 } 11419 }); 11420 }), 11421 $(function () { 11422 minimizeHeader(); 11423 }), 11424 $(function () { 11425 ($(".modal-video-link").bind("click", function (t) { 11426 t.preventDefault(); 11427 var e = $(this).attr("data-video-id"), 11428 n = $(this).attr("data-provider"), 11429 i = "#" + $(this).attr("data-open"), 11430 o =
11431 '<div class="flex-video widescreen" id="modalvideo"><iframe name="modalvideo" title="Video" class="video-frame" frameborder="0" width="560" height="315" allow="fullscreen" src="' + 11432 ("panopto" == n 11433 ? "//binghamton.hosted.panopto.com/Panopto/Pages/Embed.aspx?id=" + e 11434 : "//www.youtube.com/embed/" + e + "?modestbranding=1&rel=0") + 11435 '"></iframe></div>'; 11436 ($(i + " .modal-content").html(o), $(i).foundation("open")); 11437 }), 11438 $(".modal-video").on("closed.zf.reveal", function () { 11439 var t = $(this).find("iframe"), 11440 e = t.attr("src"); 11441 (t.attr("src", ""), t.attr("src", e)); 11442 })); 11443 }), 11444 (function (t) { 11445 t.fn.returnToTop = function (e) { 11446 var n = t.extend( 11447 {}, 11448 { scrollStart: 500, scrollTop: 0, returnSpeed: 250, fadeSpeed: 300 }, 11449 e, 11450 ); 11451 return this.each(function () { 11452 var e = t(this); 11453 (e.hide(), 11454 e.bind("click touchend", function (e) { 11455 (e.preventDefault(), 11456 t("html, body").animate( 11457 { scrollTop: n.scrollTop }, 11458 n.returnSpeed, 11459 )); 11460 }), 11461 t(document).scroll(function () { 11462 ((footerTop = t("#site-footer").offset().top), 11463 (windowBottom = t(window).scrollTop() + t(window).height()), 11464 windowBottom >= footerTop 11465 ? e.addClass("gt-inline") 11466 : e.removeClass("gt-inline"), 11467 t(window).scrollTop() > n.scrollStart 11468 ? e.fadeIn(n.fadeSpeed) 11469 : e.fadeOut(n.fadeSpeed)); 11470 })); 11471 }); 11472 }; 11473 })(jQuery), 11474 $(function () { 11475 $("#goto-top").returnToTop(); 11476 }), 11477 $(function () { 11478 var t = $(window.location.hash); 11479 if (t.length) 11480 if (t.hasClass("accordion-content")) { 11481 var e = t.parent().parent(); 11482 (e.foundation("toggle", t), scrollToAnchor(e)); 11483 } else if (t.hasClass("tabs-panel")) { 11484 var n = t.parent().prev(); 11485 (n.eq(0).foundation("selectTab", t), scrollToAnchor(n)); 11486 } else scrollToAnchor(t); 11487 $( 11488 "a[href*=\\#]:not([href=\\#]):not([class~='noscroll']):not([class~='accordion-title']):not([role~='tab'])", 11489 ).on("click touchstart", function (t) { 11490 (location.pathname.replace(/^\//, "") != 11491 this.pathname.replace(/^\//, "") && 11492 location.hostname != this.hostname) || 11493 scrollToAnchor($(this.hash)); 11494 }); 11495 }), 11496 $(function () { 11497 setupSiteSearch(); 11498 }), 11499 $(function () { 11500 setupSlideMenu(); 11501 }), 11502 $(function () { 11503 var t = $(".nav-section ul[data-nav-path]").not(":has(li)"), 11504 e = t.parent(); 11505 (e.removeClass("menu"), 11506 e.children("a").addClass("final"), 11507 t.addClass("hide")); 11508 }), 11509 $(window).on("changed.zf.mediaquery", function (t, e, n) { 11510 updateClassAtBreakpoint("#top-nav", "sb-slide", "mobile down"); 11511 }), 11512 $(function () { 11513 ($(".toggle-share").attr("aria-controls", "share-module"), 11514 $(".toggle-share").attr("aria-expanded", !1), 11515 $(".toggle-share").on("click", function (t) { 11516 ($("#share-module").slideToggle("fast"), 11517 $(this).attr("aria-expanded", function (t, e) { 11518 return "false" === e ? "true" : "false"; 11519 })); 11520 })); 11521 }), 11522 $(function () { 11523 $("table.linearize").each(function () { 11524 linearizeTable($(this)); 11525 }); 11526 })); 11527var by = function (t, e, n, i) { 11528 var o = function (t, e) { 11529 if (e) { 11530 for (var n = 0, i = (e = e.split(".")).length - 1; n < i; n++) 11531 t = t[e[n]]; 11532 return t[e[i]]; 11533 } 11534 return t; 11535 }, 11536 s = function (e) { 11537 return n ? n(o(e, t)) : o(e, t); 11538 }; 11539 return function (t, n) { 11540 var o = s(t), 11541 r = s(n); 11542 return ( 11543 (o < r ? -1 : o > r ? 1 : "function" == typeof i ? i(t, n) : 0) * 11544 [1, -1][+!!e] 11545 ); 11546 }; 11547}; 11548(((BingU = window.BingU || {}).lazyLoad = { 11549 init: function () { 11550 var t = { rootMargin: "100px 0px 300px 0px", threshold: 0 }, 11551 e = document.querySelectorAll("[data-src]"), 11552 n = document.querySelectorAll("[data-bkg]"), 11553 i = document.querySelectorAll(".recent-content"), 11554 o = new IntersectionObserver(function (t, e) { 11555 t.forEach(function (t) { 11556 t.isIntersecting && 11557 (BingU.lazyLoad.lazyloadImage(t.target), e.unobserve(t.target)); 11558 }); 11559 }, t), 11560 s = new IntersectionObserver(function (t, e) { 11561 t.forEach(function (t) { 11562 t.isIntersecting &&
11563 (BingU.lazyLoad.lazyloadBackground(t.target), 11564 e.unobserve(t.target)); 11565 }); 11566 }, t), 11567 r = new IntersectionObserver(function (t, e) { 11568 t.forEach(function (t) { 11569 t.isIntersecting && 11570 (BingU.contentCollection.loadAjax(t.target), e.unobserve(t.target)); 11571 }); 11572 }, t); 11573 ([].slice.call(e).forEach(function (t) { 11574 o.observe(t); 11575 }), 11576 [].slice.call(n).forEach(function (t) { 11577 s.observe(t); 11578 }), 11579 [].slice.call(i).forEach(function (t) { 11580 r.observe(t); 11581 })); 11582 }, 11583 lazyloadImage: function (t) { 11584 var e = t.getAttribute("data-src"); 11585 e && ((t.src = e), t.removeAttribute("data-src")); 11586 }, 11587 lazyloadBackground: function (t) { 11588 var e = t.getAttribute("data-bkg"); 11589 e && 11590 (t.setAttribute("style", "background-image: url(" + e + ");"), 11591 t.removeAttribute("data-bkg")); 11592 }, 11593}), 11594 $(document).foundation()); 11595var iOS = 11596 /iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent) && !window.MSStream; 11597"unwrap" in getUrlParams() && $("body").addClass("unwrap"); 11598var BingU = window.BingU || {}; 11599("interactive" === document.readyState || "complete" === document.readyState 11600 ? BingU.lazyLoad.init() 11601 : document.addEventListener("DOMContentLoaded", function () { 11602 BingU.lazyLoad.init(); 11603 }), 11604 $(function () { 11605 ($("#top-nav .nav-section").attr("aria-label", "Top Navigation"), 11606 $("#sliding-menu .nav-section").attr("aria-label", "Side Navigation"), 11607 $(".dired").detach().appendTo("#site-footer")); 11608 })); 11609// set Acalog Catalog ID for course pulls 11610const acalog_catalog_id = 7; 11611const acalog_courses = document.querySelectorAll("ul.acalog"); 11612acalog_courses.forEach((item) => 11613 item.setAttribute("data-acalog-catalog-id", acalog_catalog_id), 11614);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.