vendor: 4,503 bytes, lines 1-3
1!function e(t,i,n){function o(s,a){if(!i[s]){if(!t[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(r)return r(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=i[s]={exports:{}};t[s][0].call(u.exports,(function(e){return o(t[s][1][e]||e)}),u,u.exports,e,t,i,n)}return i[s].exports}for(var r="function"==typeof require&&require,s=0;s<n.length;s++)o(n[s]);return o}({1:[function(e,t,i){(function(e,n){(function(){ 2/*! @vimeo/player v2.21.0 | (c) 2024 Vimeo | MIT License | https://github.com/vimeo/player.js */ 3!function(e,n){"object"==typeof i&&void 0!==t?t.exports=n():"function"==typeof define&&define.amd?define(n):((e="undefined"!=typeof globalThis?globalThis:e||self).Vimeo=e.Vimeo||{},e.Vimeo.Player=n())}(this,(function(){"use strict";function t(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function i(e){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?t(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):t(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(){o=function(){return e};var e={},t=Object.prototype,i=t.hasOwnProperty,n=Object.defineProperty||function(e,t,i){e[t]=i.value},r="function"==typeof Symbol?Symbol:{},s=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function c(e,t,i){return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,i){return e[t]=i}}function u(e,t,i,o){var r=t&&t.prototype instanceof f?t:f,s=Object.create(r.prototype),a=new _(o||[]);return n(s,"_invoke",{value:C(e,i,a)}),s}function h(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function f(){}function p(){}function m(){}var g={};c(g,s,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(A([])));y&&y!==t&&i.call(y,s)&&(g=y);var b=m.prototype=f.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function o(n,r,s,a){var l=h(e[n],e,r);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==typeof u&&i.call(u,"__await")?t.resolve(u.__await).then((function(e){o("next",e,s,a)}),(function(e){o("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return o("throw",e,s,a)}))}a(l.arg)}var r;n(this,"_invoke",{value:function(e,i){function n(){return new t((function(t,n){o(e,i,t,n)}))}return r=r?r.then(n,n):n()}})}function C(e,t,i){var n="suspendedStart";return function(o,r){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw r;return L()}for(i.method=o,i.arg=r;;){var s=i.delegate;if(s){var a=x(s,i);if(a){if(a===d)continue;return a}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===n)throw n="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n="executing";var l=h(e,t,i);if("normal"===l.type){if(n=i.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(n="completed",i.method="throw",i.arg=l.arg)}}}function x(e,t){var i=t.method,n=e.iterator[i];if(void 0===n)return t.delegate=null,"throw"===i&&e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),d;var o=h(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var r=o.arg;return r?r.done?(t[e.resultName]=r.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function A(e){if(e){var t=e[s];if(t)return t.call(e);
vendor: 4,275 bytes, line 3
3if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:L}}function L(){return{value:void 0,done:!0}}return p.prototype=m,n(b,"constructor",{value:m,configurable:!0}),n(m,"constructor",{value:p,configurable:!0}),p.displayName=c(m,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,c(e,l,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},w(E.prototype),c(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,i,n,o,r){void 0===r&&(r=Promise);var s=new E(u(t,i,n,o),r);return e.isGeneratorFunction(i)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},w(b),c(b,l,"Generator"),c(b,s,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),i=[];for(var n in t)i.push(n);return i.reverse(),function e(){for(;i.length;){var n=i.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=A,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(i,n){return s.type="throw",s.arg=e,t.next=i,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o],s=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var a=i.call(r,"catchLoc"),l=i.call(r,"finallyLoc");if(a&&l){if(this.prev<r.catchLoc)return n(r.catchLoc,!0);if(this.prev<r.finallyLoc)return n(r.finallyLoc)}else if(a){if(this.prev<r.catchLoc)return n(r.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return n(r.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var s=r?r.completion:{};return s.type=e,s.arg=t,r?(this.method="next",this.next=r.finallyLoc,d):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.finallyLoc===e)return this.complete(i.completion,i.afterLoc),S(i),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.tryLoc===e){var n=i.completion;if("throw"===n.type){var o=n.arg;S(i)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:A(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=void 0),d}},e}function r(e,t,i,n,o,r,s){try{var a=e[r](s),l=a.value}catch(e){return void i(e)}a.done?t(l):Promise.resolve(l).then(n,o)}function s(e){return function(){var t=this,i=arguments;return new Promise((function(n,o){var s=e.apply(t,i);function a(e){r(s,n,o,a,l,"next",e)}function l(e){r(s,n,o,a,l,"throw",e)}a(void 0)}))}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function c(e,t,i){return t&&l(e.prototype,t),i&&l(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t,i){return(t=y(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}
vendor: 8,877 bytes, lines 3-15
3function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function p(e,t,i){return p=f()?Reflect.construct.bind():function(e,t,i){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return i&&d(o,i.prototype),o},p.apply(null,arguments)}function m(e){var t="function"==typeof Map?new Map:void 0;return m=function(e){if(null===e||(i=e,-1===Function.toString.call(i).indexOf("[native code]")))return e;var i;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return p(e,arguments,h(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),d(n,e)},m(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){var t=f();return function(){var i,n=h(e);if(t){var o=h(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}(this,i)}}function y(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var b=void 0!==e&&"[object global]"==={}.toString.call(e);function w(e,t){return 0===e.indexOf(t.toLowerCase())?e:"".concat(t.toLowerCase()).concat(e.substr(0,1).toUpperCase()).concat(e.substr(1))}function E(e){return/^(https?:)?\/\/((player|www)\.)?vimeo\.com(?=$|\/)/.test(e)}function C(e){return/^https:\/\/player\.vimeo\.com\/video\/\d+/.test(e)}function x(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.id,n=t.url,o=i||n;if(!o)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(e=o,!isNaN(parseFloat(e))&&isFinite(e)&&Math.floor(e)==e)return"https://vimeo.com/".concat(o);if(E(o))return o.replace("http:","https:");if(i)throw new TypeError("â".concat(i,"â is not a valid video id."));throw new TypeError("â".concat(o,"â is not a vimeo.com url."))}var k=function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"addEventListener",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"removeEventListener",r="string"==typeof t?[t]:t;return r.forEach((function(t){e[n](t,i)})),{cancel:function(){return r.forEach((function(t){return e[o](t,i)}))}}},S=void 0!==Array.prototype.indexOf,_="undefined"!=typeof window&&void 0!==window.postMessage;if(!(b||S&&_))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var A="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{}; 4/*! 5 * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill 6 * https://github.com/polygonplanet/weakmap-polyfill 7 * Copyright (c) 2015-2021 polygonplanet <[email protected]> 8 * @license MIT 9 */ 10!function(e){if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,i=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),n=function(e,t,n){i?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n}):e[t]=n};e.WeakMap=function(){function e(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id","_WeakMap"+"_"+r()+"."+r()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function i(e,i){if(!o(e)||!t.call(e,"_id"))throw new TypeError(i+" method called on incompatible receiver "+typeof e)}function r(){return Math.random().toString().substring(2)}return n(e.prototype,"delete",(function(e){if(i(this,"delete"),!o(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)&&(delete e[this._id],!0)})),n(e.prototype,"get",(function(e){if(i(this,"get"),o(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}})),n(e.prototype,"has",(function(e){if(i(this,"has"),!o(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)})),n(e.prototype,"set",(function(e,t){if(i(this,"set"),!o(e))throw new TypeError("Invalid value used as weak map key");var r=e[this._id];return r&&r[0]===e?(r[1]=t,this):(n(e,this._id,[e,t]),this)})),n(e,"_polyfill",!0),e}()}function o(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:A);var L=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){ 11/*! Native Promise Only 12 v0.8.1 (c) Kyle Simpson 13 MIT License: http://getify.mit-license.org 14 */ 15var t,i,o;o=function(){var e,t,i,o=Object.prototype.toString,r=void 0!==n?function(e){return n(e)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(e,t,i,n){return Object.defineProperty(e,t,{value:i,writable:!0,configurable:!1!==n})}}catch(t){e=function(e,t,i){return e[t]=i,e}}function s(e,n){i.add(e,n),t||(t=r(i.drain))}function a(e){var t,i=typeof e;return null==e||"object"!=i&&"function"!=i||(t=e.then),"function"==typeof t&&t}function l(){for(var e=0;e<this.chain.length;e++)c(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function c(e,t,i){var n,o;try{!1===t?i.reject(e.msg):(n=!0===t?e.msg:t.call(void 0,e.msg))===i.promise?i.reject(TypeError("Promise-chain cycle")):(o=a(n))?o.call(n,i.resolve,i.reject):i.resolve(n)}catch(e){i.reject(e)}}function u(e){var t,i=this;if(!i.triggered){i.triggered=!0,i.def&&(i=i.def);try{(t=a(e))?s((function(){var n=new f(i);try{t.call(e,(function(){u.apply(n,arguments)}),(function(){h.apply(n,arguments)}))}catch(e){h.call(n,e)}})):(i.msg=e,i.state=1,i.chain.length>0&&s(l,i))}catch(e){h.call(new f(i),e)}}}function h(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&s(l,t))}function d(e,t,i,n){for(var o=0;o<t.length;o++)!function(o){e.resolve(t[o]).then((function(e){i(o,e)}),n)}(o)}function f(e){this.def=e,this.triggered=!1}function p(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function m(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var t=new p(this);this.then=function(e,i){var n={success:"function"!=typeof e||e,failure:"function"==typeof i&&i};return n.promise=new this.constructor((function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");n.resolve=e,n.reject=t})),t.chain.push(n),0!==t.state&&s(l,t),n.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,(function(e){u.call(t,e)}),(function(e){h.call(t,e)}))}catch(e){h.call(t,e)}}i=function(){var e,i,n;function o(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(t,r){n=new o(t,r),i?i.next=n:e=n,i=n,n=void 0},drain:function(){var n=e;for(e=i=t=void 0;n;)n.fn.call(n.self),n=n.next}}}();var g=e({},"constructor",m,!1);return m.prototype=g,e(g,"__NPO__",0,!1),e(m,"resolve",(function(e){return e&&"object"==typeof e&&1===e.__NPO__?e:new this((function(t,i){if("function"!=typeof t||"function"!=typeof i)throw TypeError("Not a function");t(e)}))})),e(m,"reject",(function(e){return new this((function(t,i){if("function"!=typeof t||"function"!=typeof i)throw TypeError("Not a function");i(e)}))})),e(m,"all",(function(e){var t=this;return"[object Array]"!=o.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t((function(i,n){if("function"!=typeof i||"function"!=typeof n)throw TypeError("Not a function");var o=e.length,r=Array(o),s=0;d(t,e,(function(e,t){r[e]=t,++s===o&&i(r)}),n)}))})),e(m,"race",(function(e){var t=this;return"[object Array]"!=o.call(e)?t.reject(TypeError("Not an array")):new t((function(i,n){if("function"!=typeof i||"function"!=typeof n)throw TypeError("Not a function");d(t,e,(function(e,t){i(t)}),n)}))})),m},(i=A)[t="Promise"]=i[t]||o(),e.exports&&(e.exports=i[t])})),P=new WeakMap;function T(e,t,i){var n=P.get(e.element)||{};t in n||(n[t]=[]),n[t].push(i),P.set(e.element,n)}function D(e,t){return(P.get(e.element)||{})[t]||[]}function z(e,t,i){var n=P.get(e.element)||{};if(!n[t])return!0;
15if(!i)return n[t]=[],P.set(e.element,n),!0;var o=n[t].indexOf(i);return-1!==o&&n[t].splice(o,1),P.set(e.element,n),n[t]&&0===n[t].length}function M(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return console.warn(e),{}}return e}function I(e,t,i){if(e.element.contentWindow&&e.element.contentWindow.postMessage){var n={method:t};void 0!==i&&(n.value=i);var o=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));o>=8&&o<10&&(n=JSON.stringify(n)),e.element.contentWindow.postMessage(n,e.origin)}}function O(e,t){var i,n=[];if((t=M(t)).event){if("error"===t.event)D(e,t.data.method).forEach((function(i){var n=new Error(t.data.message);n.name=t.data.name,i.reject(n),z(e,t.data.method,i)}));n=D(e,"event:".concat(t.event)),i=t.data}else if(t.method){var o=function(e,t){var i=D(e,t);if(i.length<1)return!1;var n=i.shift();return z(e,t,n),n}(e,t.method);o&&(n.push(o),i=t.value)}n.forEach((function(t){try{if("function"==typeof t)return void t.call(e,i);t.resolve(i)}catch(e){}}))}var F=["airplay","audio_tracks","autopause","autoplay","background","byline","cc","chapters","chromecast","color","colors","controls","dnt","fullscreen","height","id","interactive_params","keyboard","loop","maxheight","maxwidth","muted","play_button_position","playsinline","portrait","progress_bar","quality_selector","responsive","speed","texttrack","title","transcript","transparent","url","vimeo_logo","volume","width"];function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return F.reduce((function(t,i){var n=e.getAttribute("data-vimeo-".concat(i));return(n||""===n)&&(t[i]=""===n?1:n),t}),t)}function j(e,t){var i=e.html;if(!t)throw new TypeError("An element must be provided");if(null!==t.getAttribute("data-vimeo-initialized"))return t.querySelector("iframe");var n=document.createElement("div");return n.innerHTML=i,t.appendChild(n.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return new Promise((function(n,o){if(!E(e))throw new TypeError("â".concat(e,"â is not a vimeo.com url."));var r="https://vimeo.com/api/oembed.json?url=".concat(encodeURIComponent(e));for(var s in t)t.hasOwnProperty(s)&&(r+="&".concat(s,"=").concat(encodeURIComponent(t[s])));var a="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;a.open("GET",r,!0),a.onload=function(){if(404!==a.status)if(403!==a.status)try{var t=JSON.parse(a.responseText);if(403===t.domain_status_code)return j(t,i),void o(new Error("â".concat(e,"â is not embeddable.")));n(t)}catch(e){o(e)}else o(new Error("â".concat(e,"â is not embeddable.")));else o(new Error("â".concat(e,"â was not found.")))},a.onerror=function(){var e=a.status?" (".concat(a.status,")"):"";o(new Error("There was an error fetching the embed code from Vimeo".concat(e,".")))},a.send()}))}var B={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},W=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(h,e);var t,n,r,l=v(h);function h(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=arguments.length>3?arguments[3]:void 0;return a(this,h),u(g(n=l.call(this)),"logger",void 0),u(g(n),"speedAdjustment",0),u(g(n),"adjustSpeed",function(){var e=s(o().mark((function e(t,i){var r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.speedAdjustment!==i){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.getPlaybackRate();case 4:return e.t0=e.sent,e.t1=n.speedAdjustment,e.t2=e.t0-e.t1,e.t3=i,r=e.t2+e.t3,n.log("New playbackRate: ".concat(r)),e.next=12,t.setPlaybackRate(r);case 12:n.speedAdjustment=i;case 13:case"end":return e.stop()}}),e)})));return function(t,i){return e.apply(this,arguments)}}()),n.logger=c,n.init(t,e,i(i({},B),r)),n}return c(h,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:(r=s(o().mark((function e(t,i,n){var r,s,a,l=this;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.waitForTOReadyState(t,"open");case 2:if("viewer"!==n.role){e.next=10;break}return e.next=5,this.updatePlayer(t,i,n);case 5:r=k(t,"change",(function(){return l.updatePlayer(t,i,n)})),s=this.maintainPlaybackPosition(t,i,n),this.addEventListener("disconnect",(function(){s.c
15ancel(),r.cancel()})),e.next=14;break;case 10:return e.next=12,this.updateTimingObject(t,i);case 12:a=k(i,["seeked","play","pause","ratechange"],(function(){return l.updateTimingObject(t,i)}),"on","off"),this.addEventListener("disconnect",(function(){return a.cancel()}));case 14:case"end":return e.stop()}}),e,this)}))),function(e,t,i){return r.apply(this,arguments)})},{key:"updateTimingObject",value:(n=s(o().mark((function e(t,i){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=t,e.next=3,i.getCurrentTime();case 3:return e.t1=e.sent,e.next=6,i.getPaused();case 6:if(!e.sent){e.next=10;break}e.t2=0,e.next=13;break;case 10:return e.next=12,i.getPlaybackRate();case 12:e.t2=e.sent;case 13:e.t3=e.t2,e.t4={position:e.t1,velocity:e.t3},e.t0.update.call(e.t0,e.t4);case 16:case"end":return e.stop()}}),e)}))),function(e,t){return n.apply(this,arguments)})},{key:"updatePlayer",value:(t=s(o().mark((function e(t,i,n){var r,a,l;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.query(),a=r.position,l=r.velocity,"number"==typeof a&&i.setCurrentTime(a),"number"!=typeof l){e.next=25;break}if(0!==l){e.next=11;break}return e.next=6,i.getPaused();case 6:if(e.t0=e.sent,!1!==e.t0){e.next=9;break}i.pause();case 9:e.next=25;break;case 11:if(!(l>0)){e.next=25;break}return e.next=14,i.getPaused();case 14:if(e.t1=e.sent,!0!==e.t1){e.next=19;break}return e.next=18,i.play().catch(function(){var e=s(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("NotAllowedError"!==t.name||!n.autoPlayMuted){e.next=5;break}return e.next=3,i.setMuted(!0);case 3:return e.next=5,i.play().catch((function(e){return console.error("Couldn't play the video from TimingSrcConnector. Error:",e)}));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 18:this.updatePlayer(t,i,n);case 19:return e.next=21,i.getPlaybackRate();case 21:if(e.t2=e.sent,e.t3=l,e.t2===e.t3){e.next=25;break}i.setPlaybackRate(l);case 25:case"end":return e.stop()}}),e,this)}))),function(e,i,n){return t.apply(this,arguments)})},{key:"maintainPlaybackPosition",value:function(e,t,i){var n=this,r=i.allowedDrift,a=i.maxAllowedDrift,l=i.minCheckInterval,c=i.maxRateAdjustment,u=i.maxTimeToCatchUp,h=1e3*Math.min(u,Math.max(l,a)),d=function(){var i=s(o().mark((function i(){var s,l,h,d,f;return o().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(i.t0=0===e.query().velocity,i.t0){i.next=6;break}return i.next=4,t.getPaused();case 4:i.t1=i.sent,i.t0=!0===i.t1;case 6:if(!i.t0){i.next=8;break}return i.abrupt("return");case 8:return i.t2=e.query().position,i.next=11,t.getCurrentTime();case 11:if(i.t3=i.sent,s=i.t2-i.t3,l=Math.abs(s),n.log("Drift: ".concat(s)),!(l>a)){i.next=22;break}return i.next=18,n.adjustSpeed(t,0);case 18:t.setCurrentTime(e.query().position),n.log("Resync by currentTime"),i.next=29;break;case 22:if(!(l>r)){i.next=29;break}return f=(h=l/u)<(d=c)?(d-h)/2:d,i.next=28,n.adjustSpeed(t,f*Math.sign(s));case 28:n.log("Resync by playbackRate");case 29:case"end":return i.stop()}}),i)})));return function(){return i.apply(this,arguments)}}(),f=setInterval((function(){return d()}),h);return{cancel:function(){return clearInterval(f)}}}},{key:"log",value:function(e){var t;null===(t=this.logger)||void 0===t||t.call(this,"TimingSrcConnector: ".concat(e))}},{key:"waitForTOReadyState",value:function(e,t){return new Promise((function(i){!function n(){e.readyState===t?i():e.addEventListener("readystatechange",n,{once:!0})}()}))}}]),h}(m(EventTarget)),R=new WeakMap,U=new WeakMap,H={},V=function(){function e(t){var i=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(a(this,e),window.jQuery&&t instanceof jQuery&&(t.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),t=t[0]),"undefined"!=typeof document&&"string"==typeof t&&(t=document.getElementById(t)),!function(e){return Boolean(e&&1===e.nodeType&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}(t))throw new TypeError("You must pass either a valid element or a valid id.");
vendor: 6,492 bytes, line 15
15if("IFRAME"!==t.nodeName){var o=t.querySelector("iframe");o&&(t=o)}if("IFRAME"===t.nodeName&&!E(t.getAttribute("src")||""))throw new Error("The player element passed isnât a Vimeo embed.");if(R.has(t))return R.get(t);this._window=t.ownerDocument.defaultView,this.element=t,this.origin="*";var r=new L((function(e,o){if(i._onMessage=function(t){if(E(t.origin)&&i.element.contentWindow===t.source){"*"===i.origin&&(i.origin=t.origin);var n=M(t.data);if(n&&"error"===n.event&&n.data&&"ready"===n.data.method){var r=new Error(n.data.message);return r.name=n.data.name,void o(r)}var s=n&&"ready"===n.event,a=n&&"ping"===n.method;if(s||a)return i.element.setAttribute("data-ready","true"),void e();O(i,n)}},i._window.addEventListener("message",i._onMessage),"IFRAME"!==i.element.nodeName){var r=N(t,n);q(x(r),r,t).then((function(e){var n,o,r,s=j(e,t);return i.element=s,i._originalElement=t,n=t,o=s,r=P.get(n),P.set(o,r),P.delete(n),R.set(i.element,i),e})).catch(o)}}));if(U.set(this,r),R.set(this.element,this),"IFRAME"===this.element.nodeName&&I(this,"ping"),H.isEnabled){var s=function(){return H.exit()};this.fullscreenchangeHandler=function(){H.isFullscreen?T(i,"event:exitFullscreen",s):z(i,"event:exitFullscreen",s),i.ready().then((function(){I(i,"fullscreenchange",H.isFullscreen)}))},H.on("fullscreenchange",this.fullscreenchangeHandler)}return this}var t;return c(e,[{key:"callMethod",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new L((function(n,o){return t.ready().then((function(){T(t,e,{resolve:n,reject:o}),I(t,e,i)})).catch(o)}))}},{key:"get",value:function(e){var t=this;return new L((function(i,n){return e=w(e,"get"),t.ready().then((function(){T(t,e,{resolve:i,reject:n}),I(t,e)})).catch(n)}))}},{key:"set",value:function(e,t){var i=this;return new L((function(n,o){if(e=w(e,"set"),null==t)throw new TypeError("There must be a value to set.");return i.ready().then((function(){T(i,e,{resolve:n,reject:o}),I(i,e,t)})).catch(o)}))}},{key:"on",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(!t)throw new TypeError("You must pass a callback function.");if("function"!=typeof t)throw new TypeError("The callback must be a function.");0===D(this,"event:".concat(e)).length&&this.callMethod("addEventListener",e).catch((function(){})),T(this,"event:".concat(e),t)}},{key:"off",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(t&&"function"!=typeof t)throw new TypeError("The callback must be a function.");z(this,"event:".concat(e),t)&&this.callMethod("removeEventListener",e).catch((function(e){}))}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=U.get(this)||new L((function(e,t){t(new Error("Unknown player. Probably unloaded."))}));return L.resolve(e)}},{key:"addCuePoint",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:t})}},{key:"removeCuePoint",value:function(e){return this.callMethod("removeCuePoint",e)}},{key:"enableTextTrack",value:function(e,t){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:t})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return H.isEnabled?H.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return H.isEnabled?H.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return H.isEnabled?L.resolve(H.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var e=this;return new L((function(t){if(U.delete(e),R.delete(e.element),e._originalElement&&(R.delete(e._originalElement),e._originalElement.removeAttribute("data-vimeo-initialized")),e.element&&"IFRAME"===e.element.nodeName&&e.element.parentNode&&(e.element.parentNode.parentNode&&e._originalElement&&e._originalElement!==e.element.parentNode?e.element.parentNode.parentNode.removeChild(e.element.parentNode):e.element.parentNode.removeChild(e.element)),e.element&&"DIV"===e.element.nodeName&&e.element.parentNode){e.element.removeAttribute("data-vimeo-initialized");var i=e.element.querySelector("iframe");i&&i.parentNode&&(i.parentNode.parentNode&&e._originalElement&&e._originalElement!==i.parentNode?i.parentNode.parentNode.removeChild(i.parentNode):i.parentNode.removeChild(i))}e._window.removeEventListener("message",e._onMessage),H.isEnabled&&H.off("fullscreenchange",e.fullscreenchangeHandler),t()}))}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(e){return this.set("autopause",e)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(e){return this.set("cameraProps",e)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return L.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(e){return this.set("color",e)}},{key:"setColors",value:function(e){if(!Array.isArray(e))return new L((function(e,t){return t(new TypeError("Argument must be an array."))}));var t=new L((function(e){return e(null)})),i=[e[0]?this.set("colorOne",e[0]):t,e[1]?this.set("colorTwo",e[1]):t,e[2]?this.set("colorThree",e[2]):t,e[3]?this.set("colorFour",e[3]):t];return L.all(i)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(e){return this.set("currentTime",e)}
15},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(e){return this.set("loop",e)}},{key:"setMuted",value:function(e){return this.set("muted",e)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(e){return this.set("playbackRate",e)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(e){return this.set("quality",e)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(e){return this.set("volume",e)}},{key:"setTimingSrc",value:(t=s(o().mark((function e(t,i){var n,r=this;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return e.next=4,this.ready();case 4:return n=new W(this,t,i),I(this,"notifyTimingObjectConnect"),n.addEventListener("disconnect",(function(){return I(r,"notifyTimingObjectDisconnect")})),e.abrupt("return",n);case 8:case"end":return e.stop()}}),e,this)}))),function(e,i){return t.apply(this,arguments)})}]),e}();return b||(H=function(){var e=function(){for(var e,t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=0,n=t.length,o={};i<n;i++)if((e=t[i])&&e[1]in document){for(i=0;i<e.length;i++)o[t[0][i]]=e[i];return o}return!1}(),t={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},i={request:function(t){return new Promise((function(n,o){var r=function e(){i.off("fullscreenchange",e),n()};i.on("fullscreenchange",r);var s=(t=t||document.documentElement)[e.requestFullscreen]();s instanceof Promise&&s.then(r).catch(o)}))},exit:function(){return new Promise((function(t,n){if(i.isFullscreen){var o=function e(){i.off("fullscreenchange",e),t()};i.on("fullscreenchange",o);var r=document[e.exitFullscreen]();r instanceof Promise&&r.then(o).catch(n)}else t()}))},on:function(e,i){var n=t[e];n&&document.addEventListener(n,i)},off:function(e,i){var n=t[e];n&&document.removeEventListener(n,i)}};return Object.defineProperties(i,{isFullscreen:{get:function(){return Boolean(document[e.fullscreenElement])}},element:{enumerable:!0,get:function(){return document[e.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(document[e.fullscreenEnabled])}}}),i}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),i=function(e){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(e))};t.forEach((function(e){try{if(null!==e.getAttribute("data-vimeo-defer"))return;var t=N(e);q(x(t),t,e).then((function(t){return j(t,e)}
15)).catch(i)}catch(e){i(e)}}))}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",(function(t){if(E(t.origin)&&t.data&&"spacechange"===t.data.event)for(var i=e.querySelectorAll("iframe"),n=0;n<i.length;n++)if(i[n].contentWindow===t.source){i[n].parentElement.style.paddingBottom="".concat(t.data.data[0].bottom,"px");break}})))}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoSeoMetadataAppended||(window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",(function(t){if(E(t.origin)){var i=M(t.data);if(i&&"ready"===i.event)for(var n=e.querySelectorAll("iframe"),o=0;o<n.length;o++){var r=n[o],s=r.contentWindow===t.source;C(r.src)&&s&&new V(r).callMethod("appendVideoMetadata",window.location.href)}}})))}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam
15=!0;var t=function(e){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(e))};window.addEventListener("message",(function(i){if(E(i.origin)){var n=M(i.data);if(n&&"ready"===n.event)for(var o=e.querySelectorAll("iframe"),r=function(){var e=o[s],n=e.contentWindow===i.source;if(C(e.src)&&n){var r=new V(e);r.getVideoId().then((function(e){var t=new RegExp("[?&]vimeo_t_".concat(e,"=([^&#]*)")).exec(window.location.href);if(t&&t[1]){var i=decodeURI(t[1]);r.setCurrentTime(i)}})).catch(t)}},s=0;s<o.length;s++)r()}}))}}()),V}))}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{timers:44}],2:[function(e,t,i){var n,o,r;n=window,o=0,r=function e(t,i){var n=this,r=this,s=!1;if(Array.isArray(t))return!!t.length&&t.map((function(t){return new e(t,i)}));var a={init:function(){this.options=Object.assign({duration:600,ariaEnabled:!0,collapse:!0,showMultiple:!1,onlyChildNodes:!0,openOnInit:[],elementClass:"ac",triggerClass:"ac-trigger",panelClass:"ac-panel",activeClass:"is-active",beforeOpen:function(){},onOpen:function(){},beforeClose:function(){},onClose:function(){}},i);var e="string"==typeof t;this.container=e?document.querySelector(t):t,this.createDefinitions(),r.attachEvents()},createDefinitions:function(){var e=this,t=this.options,i=t.elementClass,n=t.openOnInit,r=t.onlyChildNodes?this.container.childNodes:this.container.querySelectorAll(u(i));this.elements=Array.from(r).filter((function(e){return e.classList&&e.classList.contains(i)})),this.firstElement=this.elements[0],this.lastElement=this.elements[this.elements.length-1],this.elements.filter((function(e){return!e.classList.contains("js-enabled")})).forEach((function(t){t.classList.add("js-enabled"),e.generateIDs(t),e.setARIA(t),e.setTransition(t);var i=e.elements.indexOf(t);o++,n.includes(i)?e.showElement(t,!1):e.closeElement(t,!1)}))},setTransition:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.options,n=i.duration,o=i.panelClass,r=e.querySelector(u(o)),s=l("transitionDuration");r.style[s]=t?null:"".concat(n,"ms")},generateIDs:function(e){var t=this.options,i=t.triggerClass,n=t.panelClass,r=e.querySelector(u(i)),s=e.querySelector(u(n));e.setAttribute("id",e.id||"ac-".concat(o)),r.setAttribute("id",r.id||"ac-trigger-".concat(o)),s.setAttribute("id",s.id||"ac-panel-".concat(o))},removeIDs:function(e){var t=this.options,i=t.triggerClass,n=t.panelClass,o=e.querySelector(u(i)),r=e.querySelector(u(n));e.id.startsWith("ac-")&&e.removeAttribute("id"),o.id.startsWith("ac-")&&o.removeAttribute("id"),r.id.startsWith("ac-")&&r.removeAttribute("id")},setARIA:function(e){var t=this.options,i=t.ariaEnabled,n=t.triggerClass,o=t.panelClass;if(i){var r=e.querySelector(u(n)),s=e.querySelector(u(o));r.setAttribute("role","button"),r.setAttribute("aria-controls",s.id),r.setAttribute("aria-disabled",!1),r.setAttribute("aria-expanded",!1),s.setAttribute("role","region"),s.setAttribute("aria-labelledby",r.id)}},updateARIA:function(e,t){var i=t.ariaExpanded,n=t.ariaDisabled,o=this.options,r=o.ariaEnabled,s=o.triggerClass;if(r){var a=e.querySelector(u(s));a.setAttribute("aria-expanded",i),a.setAttribute("aria-disabled",n)}},removeARIA:function(e){var t=this.options,i=t.ariaEnabled,n=t.triggerClass,o=t.panelClass;if(i){var r=e.querySelector(u(n)),s=e.querySelector(u(o));r.removeAttribute("role"),r.removeAttribute("aria-controls"),r.removeAttribute("aria-disabled"),r.removeAttribute("aria-expanded"),s.removeAttribute("role"),s.removeAttribute("aria-labelledby")}},focus:function(e,t){e.preventDefault();var i=this.options.triggerClass;t.querySelector(u(i)).focus()},focusFirstElement:function(e){this.focus(e,this.firstElement),this.currFocusedIdx=0},focusLastElement:function(e){this.focus(e,this.lastElement),this.currFocusedIdx=this.elements.length-1},focusNextElement:function(e){var t=this.currFocusedIdx+1;if(t>this.elements.length-1)return this.focusFirstElement(e);this.focus(e,this.elements[t]),this.currFocusedIdx=t},focusPrevElement:function(e){var t=this.currFocusedIdx-1;if(t<0)return this.focusLastElement(e);this.focus(e,this.elements[t]),this.currFocusedIdx=t},showElement:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.options,n=i.panelClass,o=i.activeClass,r=i.collapse,s=i.beforeOpen;t&&s(e);var a=e.querySelector(u(n)),l=a.scrollHeight;e.classList.add(o),requestAnimationFrame((function(){requestAnimationFrame((function(){a.style.height=t?"".concat(l,"px"):"auto"}))})),this.updateARIA(e,{ariaExpanded:!0,ariaDisabled:!r})},closeElement:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.options,n=i.panelClass,o=i.activeClass,r=i.beforeClose,s=e.querySelector(u(n)),a=s.scrollHeight;e.classList.remove(o),t?(r(e),requestAnimationFrame((function(){s.style.height="".concat(a,"px"),requestAnimationFrame((function(){s.style.height=0}))}))):s.style.height=0,this.updateARIA(e,{ariaExpanded:!1,ariaDisabled:!1})},toggleElement:function(e){var t=this.options,i=t.activeClass,n=t.collapse,o=e.classList.contains(i);if(!o||n)return o?this.closeElement(e):this.showElement(e)},closeElements:function(){var e=this,t=this.options,i=t.activeClass;
15t.showMultiple||this.elements.forEach((function(t,n){t.classList.contains(i)&&n!==e.currFocusedIdx&&e.closeElement(t)}))},handleClick:function(e){var t=this,i=e.currentTarget;this.elements.forEach((function(n,o){n.contains(i)&&"A"!==e.target.nodeName&&(t.currFocusedIdx=o,t.closeElements(),t.focus(e,n),t.toggleElement(n))}))},handleKeydown:function(e){switch(e.key){case"ArrowUp":return this.focusPrevElement(e);case"ArrowDown":return this.focusNextElement(e);case"Home":return this.focusFirstElement(e);case"End":return this.focusLastElement(e);default:return null}},handleFocus:function(e){var t=e.currentTarget,i=this.elements.find((function(e){return e.contains(t)}));this.currFocusedIdx=this.elements.indexOf(i)},handleTransitionEnd:function(e){if(e.stopPropagation(),"height"===e.propertyName){var t=this.options,i=t.onOpen,n=t.onClose,o=e.currentTarget,r=parseInt(o.style.height),s=this.elements.find((function(e){return e.contains(o)}));r>0?(o.style.height="auto",i(s)):n(s)}}};this.attachEvents=function(){if(!s){var e=a.options,t=e.triggerClass,i=e.panelClass;a.handleClick=a.handleClick.bind(a),a.handleKeydown=a.handleKeydown.bind(a),a.handleFocus=a.handleFocus.bind(a),a.handleTransitionEnd=a.handleTransitionEnd.bind(a),a.elements.forEach((function(e){var n=e.querySelector(u(t)),o=e.querySelector(u(i));n.addEventListener("click",a.handleClick),n.addEventListener("keydown",a.handleKeydown),n.addEventListener("focus",a.handleFocus),o.addEventListener("webkitTransitionEnd",a.handleTransitionEnd),o.addEventListener("transitionend",a.handleTransitionEnd)})),s=!0}},this.detachEvents=function(){if(s){var e=a.options,t=e.triggerClass,i=e.panelClass;a.elements.forEach((function(e){var n=e.querySelector(u(t)),o=e.querySelector(u(i));n.removeEventListener("click",a.handleClick),n.removeEventListener("keydown",a.handleKeydown),n.removeEventListener("focus",a.handleFocus),o.removeEventListener("webkitTransitionEnd",a.handleTransitionEnd),o.removeEventListener("transitionend",a.handleTransitionEnd)})),s=!1}},this.toggle=function(e){var t=a.elements[e];t&&a.toggleElement(t)},this.open=function(e){var t=a.elements[e];t&&a.showElement(t)},this.openAll=function(){var e=a.options,t=e.activeClass,i=e.onOpen;a.elements.forEach((function(e){e.classList.contains(t)||(a.showElement(e,!1),i(e))}))},this.close=function(e){var t=a.elements[e];t&&a.closeElement(t)},this.closeAll=function(){var e=a.options,t=e.activeClass,i=e.onClose;a.elements.forEach((function(e){e.classList.contains(t)&&(a.closeElement(e,!1),i(e))}))},this.destroy=function(){n.detachEvents(),n.openAll(),a.elements.forEach((function(e){a.removeIDs(e),a.removeARIA(e),a.setTransition(e,!0)})),s=!0},this.update=function(){a.createDefinitions(),n.detachEvents(),n.attachEvents()};var l=function(e){return"string"==typeof document.documentElement.style[e]?e:(e=c(e),e="webkit".concat(e))},c=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},u=function(e){return".".concat(CSS.escape(e))};a.init()},void 0!==t&&void 0!==t.exports?t.exports=r:n.Accordion=r},{}],3:[function(e,t,i){!function(e,i){"use strict";"function"==typeof define&&define.amd?define(i):"object"==typeof t&&t.exports?t.exports=i():e.matchesSelector=i()}(window,(function(){"use strict";var e=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0;i<t.length;i++){var n=t[i]+"MatchesSelector";if(e[n])return n}}();return function(t,i){return t[e](i)}}))},{}],4:[function(e,t,i){!function(e,i){"object"==typeof t&&t.exports?t.exports=i():e.EvEmitter=i()}("undefined"!=typeof window?window:this,(function(){function e(){}let t=e.prototype;return t.on=function(e,t){if(!e||!t)return this;let i=this._events=this._events||{},n=i[e]=i[e]||[];return n.includes(t)||n.push(t),this},t.once=function(e,t){if(!e||!t)return this;this.on(e,t);let i=this._onceEvents=this._onceEvents||{};return(i[e]=i[e]||{})[t]=!0,this},t.off=function(e,t){let i=this._events&&this._events[e];if(!i||!i.length)return this;let n=i.indexOf(t);return-1!=n&&i.splice(n,1),this},t.emitEvent=function(e,t){let i=this._events&&this._events[e];if(!i||!i.length)return this;i=i.slice(0),t=t||[];let n=this._onceEvents&&this._onceEvents[e];for(let o of i){n&&n[o]&&(this.off(e,o),delete n[o]),o.apply(this,t)}return this},t.allOff=function(){return delete this._events,delete this._onceEvents,this},e}))},{}],5:[function(e,t,i){!function(e,i){"object"==typeof t&&t.exports?t.exports=i(e):e.fizzyUIUtils=i(e)}(this,(function(e){let t={extend:function(e,t){return Object.assign(e,t)},modulo:function(e,t){return(e%t+t)%t},makeArray:function(e){if(Array.isArray(e))return e;if(null==e)return[];return"object"==typeof e&&"number"==typeof e.length?[...e]:[e]},removeFrom:function(e,t){let i=e.indexOf(t);-1!=i&&e.splice(i,1)},getParent:function(e,t){for(;e.parentNode&&e!=document.body;)if((e=e.parentNode).matches(t))return e},getQueryElement:function(e){return"string"==typeof e?document.querySelector(e):e},handleEvent:function(e){let t="on"+e.type;this[t]&&this[t](e)},filterFindElements:function(e,i){return(e=t.makeArray(e)).filter((e=>e instanceof HTMLElement)).reduce(((e,t)=>{if(!i)return e.push(t),e;t.matches(i)&&e.push(t);let n=t.querySelectorAll(i);return e=e.concat(...n)}),[])},debounceMethod:function(e,t,i){i=i||100;let n=e.prototype[t],o=t+"Timeout";e.prototype[t]=function(){clearTimeout(this[o]);let e=arguments;this[o]=setTimeout((()=>{n.apply(this,e),delete this[o]}),i)}},docReady:function(e){let t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},toDashed:function(e){return e.replace(/(.)([A-Z])/g,(function(e,t,i){return t+"-"+i})).toLowerCase()}},i=e.console;return t.htmlInit=function(n,o){t.docReady((function(){let r="data-"+t.toDashed(o),s=document.querySelectorAll(`[${r}]`),a=e.jQuery;
15[...s].forEach((e=>{let t,s=e.getAttribute(r);try{t=s&&JSON.parse(s)}catch(t){return void(i&&i.error(`Error parsing ${r} on ${e.className}: ${t}`))}let l=new n(e,t);a&&a.data(e,o,l)}))}))},t}))},{}],6:[function(e,t,i){ 16/*! 17 * Flickity imagesLoaded v2.0.0 18 * enables imagesLoaded option for Flickity 19 */ 20!function(i,n){"function"==typeof define&&define.amd?define(["flickity/js/index","imagesloaded/imagesloaded"],(function(e,t){return n(i,e,t)})):"object"==typeof t&&t.exports?t.exports=n(i,e("flickity"),e("imagesloaded")):i.Flickity=n(i,i.Flickity,i.imagesLoaded)}(window,(function(e,t,i){"use strict";t.createMethods.push("_createImagesLoaded");var n=t.prototype;return n._createImagesLoaded=function(){this.on("activate",this.imagesLoaded)},n.imagesLoaded=function(){if(this.options.imagesLoaded){var e=this;i(this.slider).on("progress",(function(t,i){var n=e.getParentCell(i.img);e.cellSizeChange(n&&n.element),e.options.freeScroll||e.positionSliderAtSelected()}))}},t}))},{flickity:14,imagesloaded:21}],7:[function(e,t,i){!function(e,i){"function"==typeof define&&define.amd?define(i):"object"==typeof t&&t.exports?t.exports=i():e.EvEmitter=i()}("undefined"!=typeof window?window:this,(function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return-1==n.indexOf(t)&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{};return(i[e]=i[e]||{})[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return-1!=n&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],o=0;o<i.length;o++){var r=i[o];n&&n[r]&&(this.off(e,r),delete n[r]),r.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}))},{}],8:[function(e,t,i){!function(i,n){"function"==typeof define&&define.amd?define(["desandro-matches-selector/matches-selector"],(function(e){return n(i,e)})):"object"==typeof t&&t.exports?t.exports=n(i,e("desandro-matches-selector")):i.fizzyUIUtils=n(i,i.matchesSelector)}(window,(function(e,t){"use strict";var i={extend:function(e,t){for(var i in t)e[i]=t[i];return e},modulo:function(e,t){return(e%t+t)%t}},n=Array.prototype.slice;i.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?n.call(e):[e]},i.removeFrom=function(e,t){var i=e.indexOf(t);-1!=i&&e.splice(i,1)},i.getParent=function(e,i){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,t(e,i))return e},i.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},i.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.filterFindElements=function(e,n){e=i.makeArray(e);var o=[];return e.forEach((function(e){if(e instanceof HTMLElement)if(n){t(e,n)&&o.push(e);for(var i=e.querySelectorAll(n),r=0;r<i.length;r++)o.push(i[r])}else o.push(e)})),o},i.debounceMethod=function(e,t,i){i=i||100;var n=e.prototype[t],o=t+"Timeout";e.prototype[t]=function(){var e=this[o];clearTimeout(e);var t=arguments,r=this;this[o]=setTimeout((function(){n.apply(r,t),delete r[o]}),i)}},i.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},i.toDashed=function(e){return e.replace(/(.)([A-Z])/g,(function(e,t,i){return t+"-"+i})).toLowerCase()};var o=e.console;return i.htmlInit=function(t,n){i.docReady((function(){var r=i.toDashed(n),s="data-"+r,a=document.querySelectorAll("["+s+"]"),l=d
20ocument.querySelectorAll(".js-"+r),c=i.makeArray(a).concat(i.makeArray(l)),u=s+"-options",h=e.jQuery;c.forEach((function(e){var i,r=e.getAttribute(s)||e.getAttribute(u);try{i=r&&JSON.parse(r)}catch(t){return void(o&&o.error("Error parsing "+s+" on "+e.className+": "+t))}var a=new t(e,i);h&&h.data(e,n,a)}))}))},i}))},{"desandro-matches-selector":3}],9:[function(e,t,i){!function(i,n){"function"==typeof define&&define.amd?define(["./flickity","fizzy-ui-utils/utils"],(function(e,t){return n(i,e,t)})):"object"==typeof t&&t.exports?t.exports=n(i,e("./flickity"),e("fizzy-ui-utils")):n(i,i.Flickity,i.fizzyUIUtils)}(window,(function(e,t,i){"use strict";var n=t.prototype;return n.insert=function(e,t){var i=this._makeCells(e);if(i&&i.length){var n=this.cells.length;t=void 0===t?n:t;var o=function(e){var t=document.createDocumentFragment();return e.forEach((function(e){t.appendChild(e.element)})),t}(i),r=t==n;if(r)this.slider.appendChild(o);else{var s=this.cells[t].element;this.slider.insertBefore(o,s)}if(0===t)this.cells=i.concat(this.cells);else if(r)this.cells=this.cells.concat(i);else{var a=this.cells.splice(t,n-t);this.cells=this.cells.concat(i).concat(a)}this._sizeCells(i),this.cellChange(t,!0)}},n.append=function(e){this.insert(e,this.cells.length)},n.prepend=function(e){this.insert(e,0)},n.remove=function(e){var t=this.getCells(e);if(t&&t.length){var n=this.cells.length-1;t.forEach((function(e){e.remove();var t=this.cells.indexOf(e);n=Math.min(t,n),i.removeFrom(this.cells,e)}),this),this.cellChange(n,!0)}},n.cellSizeChange=function(e){var t=this.getCell(e);if(t){t.getSize();var i=this.cells.indexOf(t);this.cellChange(i)}},n.cellChange=function(e,t){var i=this.selectedElement;this._positionCells(e),this._getWrapShiftCells(),this.setGallerySize();var n=this.getCell(i);n&&(this.selectedIndex=this.getCellSlideIndex(n)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[e]),this.select(this.selectedIndex),t&&this.positionSliderAtSelected()},t}))},{"./flickity":13,"fizzy-ui-utils":8}],10:[function(e,t,i){!function(i,n){"function"==typeof define&&define.amd?define(["fizzy-ui-utils/utils"],(function(e){return n(i,e)})):"object"==typeof t&&t.exports?t.exports=n(i,e("fizzy-ui-utils")):(i.Flickity=i.Flickity||{},i.Flickity.animatePrototype=n(i,i.fizzyUIUtils))}(window,(function(e,t){"use strict";var i={startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();var e=this.x;if(this.integratePhysics(),this.positionSlider(),this.settle(e),this.isAnimating){var t=this;requestAnimationFrame((function(){t.animate()}))}},positionSlider:function(){var e=this.x;this.options.wrapAround&&this.cells.length>1&&(e=t.modulo(e,this.slideableWidth),e-=this.slideableWidth,this.shiftWrapCells(e)),this.setTranslateX(e,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(e,t){e+=this.cursorPosition,e=this.options.rightToLeft?-e:e;var i=this.getPositionValue(e);this.slider.style.transform=t?"translate3d("+i+",0,0)":"translateX("+i+")"},dispatchScrollEvent:function(){var e=this.slides[0];if(e){var t=-this.x-e.target,i=t/this.slidesWidth;this.dispatchEvent("scroll",null,[i,t])}},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(e){return this.options.percentPosition?.01*Math.round(e/this.size.innerWidth*1e4)+"%":Math.round(e)+"px"},settle:function(e){!this.isPointerDown&&Math.round(100*this.x)==Math.round(100*e)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(e){var t=this.cursorPosition+e;this._shiftCells(this.beforeShiftCells,t,-1);var i=this.size.innerWidth-(e+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,i,1)},_shiftCells:function(e,t,i){for(var n=0;n<e.length;n++){var o=e[n],r=t>0?i:0;o.wrapShift(r),t-=o.size.outerWidth}},_unshiftCells:function(e){if(e&&e.length)for(var t=0;t<e.length;t++)e[t].wrapShift(0)},integratePhysics:function(){this.x+=this.velocity,this.velocity
vendor: 39,880 bytes, lines 20-49
20*=this.getFrictionFactor()},applyForce:function(e){this.velocity+=e},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){if(this.isDraggable&&this.isPointerDown){var e=this.dragX-this.x-this.velocity;this.applyForce(e)}},applySelectedAttraction:function(){if(!(this.isDraggable&&this.isPointerDown)&&!this.isFreeScrolling&&this.slides.length){var e=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction;this.applyForce(e)}}};return i}))},{"fizzy-ui-utils":8}],11:[function(e,t,i){!function(i,n){"function"==typeof define&&define.amd?define(["get-size/get-size"],(function(e){return n(i,e)})):"object"==typeof t&&t.exports?t.exports=n(i,e("get-size")):(i.Flickity=i.Flickity||{},i.Flickity.Cell=n(i,i.getSize))}(window,(function(e,t){"use strict";function i(e,t){this.element=e,this.parent=t,this.create()}var n=i.prototype;return n.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-hidden","true"),this.x=0,this.shift=0,this.element.style[this.parent.originSide]=0},n.destroy=function(){this.unselect(),this.element.style.position="";var e=this.parent.originSide;this.element.style[e]="",this.element.style.transform="",this.element.removeAttribute("aria-hidden")},n.getSize=function(){this.size=t(this.element)},n.setPosition=function(e){this.x=e,this.updateTarget(),this.renderPosition(e)},n.updateTarget=n.setDefaultTarget=function(){var e="left"==this.parent.originSide?"marginLeft":"marginRight";this.target=this.x+this.size[e]+this.size.width*this.parent.cellAlign},n.renderPosition=function(e){var t="left"===this.parent.originSide?1:-1,i=this.parent.options.percentPosition?e*t*(this.parent.size.innerWidth/this.size.width):e*t;this.element.style.transform="translateX("+this.parent.getPositionValue(i)+")"},n.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},n.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},n.wrapShift=function(e){this.shift=e,this.renderPosition(this.x+this.parent.slideableWidth*e)},n.remove=function(){this.element.parentNode.removeChild(this.element)},i}))},{"get-size":20}],12:[function(e,t,i){!function(i,n){"function"==typeof define&&define.amd?define(["./flickity","unidragger/unidragger","fizzy-ui-utils/utils"],(function(e,t,o){return n(i,e,t,o)})):"object"==typeof t&&t.exports?t.exports=n(i,e("./flickity"),e("unidragger"),e("fizzy-ui-utils")):i.Flickity=n(i,i.Flickity,i.Unidragger,i.fizzyUIUtils)}(window,(function(e,t,i,n){"use strict";n.extend(t.defaults,{draggable:">1",dragThreshold:3}),t.createMethods.push("_createDrag");var o=t.prototype;n.extend(o,i.prototype),o._touchActionValue="pan-y",o._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable)},o.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},o.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},o.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},o.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},o.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},o._uiChangeDrag=function(){delete this.isFreeScrolling},o.pointerDown=function(t,i){this.isDraggable?this.okayPointerDown(t)&&(this._pointerDownPreventDefault(t),this.pointerDownFocus(t),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=s(),e.addEventListener("scroll",this),this._pointerDownDefault(t,i)):this._pointerDownDefault(t,i)},o._pointerDownDefault=function(e,t){this.pointerDownPointer={pageX:t.pageX,pageY:t.pageY},this._bindPostStartEvents(e),this.dispatchEvent("pointerDown",e,[t])};var r={INPUT:!0,TEXTAREA:!0,SELECT:!0};function s(){return{x:e.pageXOffset,y:e.pageYOffset}}return o.pointerDownFocus=function(e){r[e.target.nodeName]||this.focus()},o._pointerDownPreventDefault=function(e){var t="touchstart"==e.type,i="touch"==e.pointerType,n=r[e.target.nodeName];t||i||n||e.preventDefault()},o.hasDragStarted=function(e){return Math.abs(e.x)>this.options.dragThreshold},o.pointerUp=function(e,t){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",e,[t]),this._dragPointerUp(e,t)},o.pointerDone=function(){e.removeEventListener("scroll",this),delete this.pointerDownScroll},o.dragStart=function(t,i){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),e.removeEventListener("scroll",this),this.dispatchEvent("dragStart",t,[i]))},o.pointerMove=function(e,t){var i=this._dragPointerMove(e,t);this.dispatchEvent("pointerMove",e,[t,i]),this._dragMove(e,t,i)},o.dragMove=function(e,t,i){if(this.isDraggable){e.preventDefault(),this.previousDragX=this.dragX;var n=this.options.rightToLeft?-1:1;this.options.wrapAround&&(i.x%=this.slideableWidth);var o=this.dragStartPosition+i.x*n;if(!this.options.wrapAround&&this.slides.length){var r=Math.max(-this.slides[0].target,this.dragStartPosition);o=o>r?.5*(o+r):o;var s=Math.min(-this.getLastSlide().target,this.dragStartPosition);o=o<s?.5*(o+s):o}this.dragX=o,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",e,[t,i])}},o.dragEnd=function(e,t){if(this.isDraggable){this.options.freeScroll&&(this.isFreeScrolling=!0);var i=this.dragEndRestingSelect();if(this.options.freeScroll&&!this.options.wrapAround){var n=this.getRestingPosition();this.isFreeScrolling=-n>this.slides[0].target&&-n<this.getLastSlide().target}else this.options.freeScroll||i!=this.selectedIndex||(i+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(i),delete this.isDragSelect,this.dispatchEvent("dragEnd",e,[t])}},o.dragEndRestingSelect=function(){var e=this.getRestingPosition(),t=Math.abs(this.getSlideDistance(-e,this.selectedIndex)),i=this._getClosestResting(e,t,1),n=this._getClosestResting(e,t,-1);return i.distance<n.distance?i.index:n.index},o._getClosestResting=function(e,t,i){for(var n=this.selectedIndex,o=1/0,r=this.options.contain&&!this.options.wrapAround?function(e,t){return e<=t}:function(e,t){return e<t};r(t,o)&&(n+=i,o=t,null!==(t=this.getSlideDistance(-e,n)));)t=Math.abs(t);return{distance:o,index:n-i}},o.getSlideDistance=function(e,t){var i=this.slides.length,o=this.options.wrapAround&&i>1,r=o?n.modulo(t,i):t,s=this.slides[r];if(!s)return null;var a=o?this.slideableWidth*Math.floor(t/i):0;return e-(s.target+a)},o.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var e=this.getSlideDistance(-this.dragX,this.selectedIndex),t=this.previousDragX-this.dragX;return e>0&&t>0?1:e<0&&t<0?-1:0},o.staticClick=function(e,t){var i=this.getParentCell(e.target),n=i&&i.element,o=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",e,[t,n,o])},o.onscroll=function(){var e=s(),t=this.pointerDownScroll.x-e.x,i=this.pointerDownScroll.y-e.y;(Math.abs(t)>3||Math.abs(i)>3)&&this._pointerDone()},t}))},{"./flickity":13,"fizzy-ui-utils":8,unidragger:22}],13:[function(e,t,i){!function(i,n){if("function"==typeof define&&define.amd)define(["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./cell","./slide","./animate"],(function(e,t,o,r,s,a){return n(i,e,t,o,r,s,a)}));else if("object"==typeof t&&t.exports)t.exports=n(i,e("ev-emitter"),e("get-size"),e("fizzy-ui-utils"),e("./cell"),e("./slide"),e("./animate"));else{var o=i.Flickity;i.Flickity=n(i,i.EvEmitter,i.getSize,i.fizzyUIUtils,o.Cell,o.Slide,o.animatePrototype)}}(window,(function(e,t,i,n,o,r,s){"use strict";var a=e.jQuery,l=e.getComputedStyle,c=e.console;function u(e,t){for(e=n.makeArray(e);e.length;)t.appendChild(e.shift())}var h=0,d={};function f(e,t){var i=n.getQueryElement(e);if(i){if(this.element=i,this.element.flickityGUID){var o=d[this.element.flickityGUID];return o&&o.option(t),o}a&&(this.$element=a(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(t),this._create()}else c&&c.error("Bad element for Flickity: "+(i||e))}f.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},f.createMethods=[];var p=f.prototype;n.extend(p,t.prototype),p._create=function(){var t=this.guid=++h;for(var i in this.element.flickityGUID=t,d[t]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&e.addEventListener("resize",this),this.options.on){var n=this.options.on[i];this.on(i,n)}f.createMethods.forEach((function(e){this[e]()}),this),this.options.watchCSS?this.watchCSS():this.activate()},p.option=function(e){n.extend(this.options,e)},p.activate=function(){this.isActive||(this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize(),u(this._filterFindCellElements(this.element.children),this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready"))},p._createSlider=function(){var e=document.createElement("div");e.className="flickity-slider",e.style[this.originSide]=0,this.slider=e},p._filterFindCellElements=function(e){return n.filterFindElements(e,this.options.cellSelector)},p.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},p._makeCells=function(e){return this._filterFindCellElements(e).map((function(e){return new o(e,this)}),this)},p.getLastCell=function(){return this.cells[this.cells.length-1]},p.getLastSlide=function(){return this.slides[this.slides.length-1]},p.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},p._positionCells=function(e){e=e||0,this.maxCellHeight=e&&this.maxCellHeight||0;var t=0;if(e>0){var i=this.cells[e-1];t=i.x+i.size.outerWidth}for(var n=this.cells.length,o=e;o<n;o++){var r=this.cells[o];r.setPosition(t),t+=r.size.outerWidth,this.maxCellHeight=Math.max(r.size.outerHeight,this.maxCellHeight)}this.slideableWidth=t,this.updateSlides(),this._containSlides(),this.slidesWidth=n?this.getLastSlide().target-this.slides[0].target:0},p._sizeCells=function(e){e.forEach((function(e){e.getSize()}))},p.updateSlides=function(){if(this.slides=[],this.cells.length){var e=new r(this);this.slides.push(e);var t="left"==this.originSide?"marginRight":"marginLeft",i=this._getCanCellFit();this.cells.forEach((function(n,o){if(e.cells.length){var s=e.outerWidth-e.firstMargin+(n.size.outerWidth-n.size[t]);i.call(this,o,s)||(e.updateTarget(),e=new r(this),this.slides.push(e)),e.addCell(n)}else e.addCell(n)}),this),e.updateTarget(),this.updateSelectedSlide()}},p._getCanCellFit=function(){var e=this.options.groupCells;if(!e)return function(){return!1};if("number"==typeof e){var t=parseInt(e,10);return function(e){return e%t!=0}}var i="string"==typeof e&&e.match(/^(\d+)%$/),n=i?parseInt(i[1],10)/100:1;return function(e,t){return t<=(this.size.innerWidth+1)*n}},p._init=p.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},p.getSize=function(){this.size=i(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};var m={center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}};return p.setCellAlign=function(){var e=m[this.options.cellAlign];this.cellAlign=e?e[this.originSide]:this.options.cellAlign},p.setGallerySize=function(){if(this.options.setGallerySize){var e=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=e+"px"}},p._getWrapShiftCells=function(){if(this.options.wrapAround){this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);var e=this.cursorPosition,t=this.cells.length-1;this.beforeShiftCells=this._getGapCells(e,t,-1),e=this.size.innerWidth-this.cursorPosition,this.afterShiftCells=this._getGapCells(e,0,1)}},p._getGapCells=function(e,t,i){for(var n=[];e>0;){var o=this.cells[t];if(!o)break;n.push(o),t+=i,e-=o.size.outerWidth}return n},p._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var e=this.options.rightToLeft,t=e?"marginRight":"marginLeft",i=e?"marginLeft":"marginRight",n=this.slideableWidth-this.getLastCell().size[i],o=n<this.size.innerWidth,r=this.cursorPosition+this.cells[0].size[t],s=n-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach((function(e){o?e.target=n*this.cellAlign:(e.target=Math.max(e.target,r),e.target=Math.min(e.target,s))}),this)}},p.dispatchEvent=function(e,t,i){var n=t?[t].concat(i):i;if(this.emitEvent(e,n),a&&this.$element){var o=e+=this.options.namespaceJQueryEvents?".flickity":"";if(t){var r=new a.Event(t);r.type=e,o=r}this.$element.trigger(o,i)}},p.select=function(e,t,i){if(this.isActive&&(e=parseInt(e,10),this._wrapSelect(e),(this.options.wrapAround||t)&&(e=n.modulo(e,this.slides.length)),this.slides[e])){var o=this.selectedIndex;this.selectedIndex=e,this.updateSelectedSlide(),i?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[e]),e!=o&&this.dispatchEvent("change",null,[e]),this.dispatchEvent("cellSelect")}},p._wrapSelect=function(e){var t=this.slides.length;if(!(this.options.wrapAround&&t>1))return e;var i=n.modulo(e,t),o=Math.abs(i-this.selectedIndex),r=Math.abs(i+t-this.selectedIndex),s=Math.abs(i-t-this.selectedIndex);!this.isDragSelect&&r<o?e+=t:!this.isDragSelect&&s<o&&(e-=t),e<0?this.x-=this.slideableWidth:e>=t&&(this.x+=this.slideableWidth)},p.previous=function(e,t){this.select(this.selectedIndex-1,e,t)},p.next=function(e,t){this.select(this.selectedIndex+1,e,t)},p.updateSelectedSlide=function(){var e=this.slides[this.selectedIndex];e&&(this.unselectSelectedSlide(),this.selectedSlide=e,e.select(),this.selectedCells=e.cells,this.selectedElements=e.getCellElements(),this.selectedCell=e.cells[0],this.selectedElement=this.selectedElements[0])},p.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},p.selectInitialIndex=function(){var e=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(e&&"string"==typeof e)if(this.queryCell(e))return void this.selectCell(e,!1,!0);var t=0;e&&this.slides[e]&&(t=e),this.select(t,!1,!0)}},p.selectCell=function(e,t,i){var n=this.queryCell(e);if(n){var o=this.getCellSlideIndex(n);this.select(o,t,i)}},p.getCellSlideIndex=function(e){for(var t=0;t<this.slides.length;t++){if(-1!=this.slides[t].cells.indexOf(e))return t}},p.getCell=function(e){for(var t=0;t<this.cells.length;t++){var i=this.cells[t];if(i.element==e)return i}},p.getCells=function(e){e=n.makeArray(e);var t=[];return e.forEach((function(e){var i=this.getCell(e);i&&t.push(i)}),this),t},p.getCellElements=function(){return this.cells.map((function(e){return e.element}))},p.getParentCell=function(e){var t=this.getCell(e);return t||(e=n.getParent(e,".flickity-slider > *"),this.getCell(e))},p.getAdjacentCellElements=function(e,t){if(!e)return this.selectedSlide.getCellElements();t=void 0===t?this.selectedIndex:t;var i=this.slides.length;if(1+2*e>=i)return this.getCellElements();for(var o=[],r=t-e;r<=t+e;r++){var s=this.options.wrapAround?n.modulo(r,i):r,a=this.slides[s];a&&(o=o.concat(a.getCellElements()))}return o},p.queryCell=function(e){if("number"==typeof e)return this.cells[e];if("string"==typeof e){if(e.match(/^[#.]?[\d/]/))return;e=this.element.querySelector(e)}return this.getCell(e)},p.uiChange=function(){this.emitEvent("uiChange")},p.childUIPointerDown=function(e){"touchstart"!=e.type&&e.preventDefault(),this.focus()},p.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(f,"onresize",150),p.resize=function(){if(this.isActive&&!this.isAnimating&&!this.isDragging){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");var e=this.selectedElements&&this.selectedElements[0];this.selectCell(e,!1,!0)}},p.watchCSS=function(){this.options.watchCSS&&(-1!=l(this.element,":after").content.indexOf("flickity")?this.activate():this.deactivate())},p.onkeydown=function(e){var t=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!t){var i=f.keyboardHandlers[e.keyCode];i&&i.call(this)}},f.keyboardHandlers={37:function(){var e=this.options.rightToLeft?"next":"previous";this.uiChange(),this[e]()},39:function(){var e=this.options.rightToLeft?"previous":"next";this.uiChange(),this[e]()}},p.focus=function(){var t=e.pageYOffset;this.element.focus({preventScroll:!0}),e.pageYOffset!=t&&e.scrollTo(e.pageXOffset,t)},p.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach((function(e){e.destroy()})),this.element.removeChild(this.viewport),u(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},p.destroy=function(){this.deactivate(),e.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),a&&this.$element&&a.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete d[this.guid]},n.extend(p,s),f.data=function(e){var t=(e=n.getQueryElement(e))&&e.flickityGUID;return t&&d[t]},n.htmlInit(f,"flickity"),a&&a.bridget&&a.bridget("flickity",f),f.setJQuery=function(e){a=e},f.Cell=o,f.Slide=r,f}))},{"./animate":10,"./cell":11,"./slide":19,"ev-emitter":7,"fizzy-ui-utils":8,"get-size":20}],14:[function(e,t,i){ 21/*! 22 * Flickity v2.3.0 23 * Touch, responsive, flickable carousels 24 * 25 * Licensed GPLv3 for open source use 26 * or Flickity Commercial License for commercial use 27 * 28 * https://flickity.metafizzy.co 29 * Copyright 2015-2021 Metafizzy 30 */ 31var n;window,n=function(e){return e},"function"==typeof define&&define.amd?define(["./flickity","./drag","./prev-next-button","./page-dots","./player","./add-remove-cell","./lazyload"],n):"object"==typeof t&&t.exports&&(t.exports=n(e("./flickity"),e("./drag"),e("./prev-next-button"),e("./page-dots"),e("./player"),e("./add-remove-cell"),e("./lazyload")))},{"./add-remove-cell":9,"./drag":12,"./flickity":13,"./lazyload":15,"./page-dots":16,"./player":17,"./prev-next-button":18}],15:[function(e,t,i){!function(i,n){"function"==typeof define&&define.amd?define(["./flickity","fizzy-ui-utils/utils"],(function(e,t){return n(i,e,t)})):"object"==typeof t&&t.exports?t.exports=n(i,e("./flickity"),e("fizzy-ui-utils")):n(i,i.Flickity,i.fizzyUIUtils)}(window,(function(e,t,i){"use strict";t.createMethods.push("_createLazyload");var n=t.prototype;function o(e,t){this.img=e,this.flickity=t,this.load()}return n._createLazyload=function(){this.on("select",this.lazyLoad)},n.lazyLoad=function(){var e=this.options.lazyLoad;if(e){var t="number"==typeof e?e:0,n=this.getAdjacentCellElements(t),r=[];n.forEach((function(e){var t=function(e){if("IMG"==e.nodeName){var t=e.getAttribute("data-flickity-lazyload"),n=e.getAttribute("data-flickity-lazyload-src"),o=e.getAttribute("data-flickity-lazyload-srcset");if(t||n||o)return[e]}var r="img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]",s=e.querySelectorAll(r);return i.makeArray(s)}(e);r=r.concat(t)})),r.forEach((function(e){new o(e,this)}),this)}},o.prototype.handleEvent=i.handleEvent,o.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);var e=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),t=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=e,t&&this.img.setAttribute("srcset",t),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},o.prototype.onload=function(e){this.complete(e,"flickity-lazyloaded")},o.prototype.onerror=function(e){this.complete(e,"flickity-lazyerror")},o.prototype.complete=function(e,t){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var i=this.flickity.getParentCell(this.img),n=i&&i.element;this.flickity.cellSizeChange(n),this.img.classList.add(t),this.flickity.dispatchEvent("lazyLoad",e,n)},t.LazyLoader=o,t}))},{"./flickity":13,"fizzy-ui-utils":8}],16:[function(e,t,i){!function(i,n){"function"==typeof define&&define.amd?define(["./flickity","unipointer/unipointer","fizzy-ui-utils/utils"],(function(e,t,o){return n(i,e,t,o)})):"object"==typeof t&&t.exports?t.exports=n(i,e("./flickity"),e("unipointer"),e("fizzy-ui-utils")):n(i,i.Flickity,i.Unipointer,i.fizzyUIUtils)}(window,(function(e,t,i,n){"use strict";function o(e){this.parent=e,this._create()}o.prototype=Object.create(i.prototype),o.prototype._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickity-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},o.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},o.prototype.setDots=function(){var e=this.parent.slides.length-this.dots.length;e>0?this.addDots(e):e<0&&this.removeDots(-e)},o.prototype.addDots=function(e){for(var t=document.createDocumentFragment(),i=[],n=this.dots.length,o=n+e,r=n;r<o;r++){var s=document.createElement("li");s.className="dot",s.setAttribute("aria-label","Page dot "+(r+1)),t.appendChild(s),i.push(s)}this.holder.appendChild(t),this.dots=this.dots.concat(i)},o.prototype.removeDots=function(e){this.dots.splice(this.dots.length-e,e).forEach((function(e){this.holder.removeChild(e)}),this)},o.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className="dot",this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className="dot is-selected",this.selectedDot.setAttribute("aria-current","step"))},o.prototype.onTap=o.prototype.onClick=function(e){var t=e.target;if("LI"==t.nodeName){this.parent.uiChange();var i=this.dots.indexOf(t);this.parent.select(i)}},o.prototype.destroy=function(){this.deactivate(),this.allOff()},t.PageDots=o,n.extend(t.defaults,{pageDots:!0}),t.createMethods.push("_createPageDots");var r=t.prototype;return r._createPageDots=function(){this.options.pageDots&&(this.pageDots=new o(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},r.activatePageDots=function(){this.pageDots.activate()},r.updateSelectedPageDots=function(){this.pageDots.updateSelected()},r.updatePageDots=function(){this.pageDots.setDots()},r.deactivatePageDots=function(){this.pageDots.deactivate()},t.PageDots=o,t}))},{"./flickity":13,"fizzy-ui-utils":8,unipointer:47}],17:[function(e,t,i){!function(i,n){"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter","fizzy-ui-utils/utils","./flickity"],(function(e,t,i){return n(e,t,i)})):"object"==typeof t&&t.exports?t.exports=n(e("ev-emitter"),e("fizzy-ui-utils"),e("./flickity")):n(i.EvEmitter,i.fizzyUIUtils,i.Flickity)}(window,(function(e,t,i){"use strict";function n(e){this.parent=e,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}n.prototype=Object.create(e.prototype),n.prototype.play=function(){"playing"!=this.state&&(document.hidden?document.addEventListener("visibilitychange",this.onVisibilityPlay):(this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()))},n.prototype.tick=function(){if("playing"==this.state){var e=this.parent.options.autoPlay;e="number"==typeof e?e:3e3;var t=this;this.clear(),this.timeout=setTimeout((function(){t.parent.next(!0),t.tick()}),e)}},n.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},n.prototype.clear=function(){clearTimeout(this.timeout)},n.prototype.pause=function(){"playing"==this.state&&(this.state="paused",this.clear())},n.prototype.unpause=function(){"paused"==this.state&&this.play()},n.prototype.visibilityChange=function(){this[document.hidden?"pause":"unpause"]()},n.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},t.extend(i.defaults,{pauseAutoPlayOnHover:!0}),i.createMethods.push("_createPlayer");var o=i.prototype;return o._createPlayer=function(){this.player=new n(this),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)},o.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},o.playPlayer=function(){this.player.play()},o.stopPlayer=function(){this.player.stop()},o.pausePlayer=function(){this.player.pause()},o.unpausePlayer=function(){this.player.unpause()},o.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},o.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},o.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},i.Player=n,i}))},{"./flickity":13,"ev-emitter":7,"fizzy-ui-utils":8}],18:[function(e,t,i){!function(i,n){"function"==typeof define&&define.amd?define(["./flickity","unipointer/unipointer","fizzy-ui-utils/utils"],(function(e,t,o){return n(i,e,t,o)})):"object"==typeof t&&t.exports?t.exports=n(i,e("./flickity"),e("unipointer"),e("fizzy-ui-utils")):n(i,i.Flickity,i.Unipointer,i.fizzyUIUtils)}(window,(function(e,t,i,n){"use strict";var o="http://www.w3.org/2000/svg";function r(e,t){this.direction=e,this.parent=t,this._create()}r.prototype=Object.create(i.prototype),r.prototype._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var e=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==e;var t=this.element=document.createElement("button");t.className="flickity-button flickity-prev-next-button",t.className+=this.isPrevious?" previous":" next",t.setAttribute("type","button"),this.disable(),t.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var i=this.createSVG();t.appendChild(i),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},r.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},r.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},r.prototype.createSVG=function(){var e=document.createElementNS(o,"svg");e.setAttribute("class","flickity-button-icon"),e.setAttribute("viewBox","0 0 100 100");var t=document.createElementNS(o,"path"),i=function(e){if("string"==typeof e)return e;return"M "+e.x0+",50 L "+e.x1+","+(e.y1+50)+" L "+e.x2+","+(e.y2+50)+" L "+e.x3+",50 L "+e.x2+","+(50-e.y2)+" L "+e.x1+","+(50-e.y1)+" Z"}(this.parent.options.arrowShape);return t.setAttribute("d",i),t.setAttribute("class","arrow"),this.isLeft||t.setAttribute("transform","translate(100, 100) rotate(180) "),e.appendChild(t),e},r.prototype.handleEvent=n.handleEvent,r.prototype.onclick=function(){if(this.isEnabled){this.parent.uiChange();var e=this.isPrevious?"previous":"next";this.parent[e]()}},r.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},r.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},r.prototype.update=function(){var e=this.parent.slides;if(this.parent.options.wrapAround&&e.length>1)this.enable();else{var t=e.length?e.length-1:0,i=this.isPrevious?0:t;this[this.parent.selectedIndex==i?"disable":"enable"]()}},r.prototype.destroy=function(){this.deactivate(),this.allOff()},n.extend(t.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),t.createMethods.push("_createPrevNextButtons");var s=t.prototype;return s._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new r(-1,this),this.nextButton=new r(1,this),this.on("activate",this.activatePrevNextButtons))},s.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},s.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},t.PrevNextButton=r,t}))},{"./flickity":13,"fizzy-ui-utils":8,unipointer:47}],19:[function(e,t,i){!function(e,i){"function"==typeof define&&define.amd?define(i):"object"==typeof t&&t.exports?t.exports=i():(e.Flickity=e.Flickity||{},e.Flickity.Slide=i())}(window,(function(){"use strict";function e(e){this.parent=e,this.isOriginLeft="left"==e.originSide,this.cells=[],this.outerWidth=0,this.height=0}var t=e.prototype;return t.addCell=function(e){if(this.cells.push(e),this.outerWidth+=e.size.outerWidth,this.height=Math.max(e.size.outerHeight,this.height),1==this.cells.length){this.x=e.x;var t=this.isOriginLeft?"marginLeft":"marginRight";this.firstMargin=e.size[t]}},t.updateTarget=function(){var e=this.isOriginLeft?"marginRight":"marginLeft",t=this.getLastCell(),i=t?t.size[e]:0,n=this.outerWidth-(this.firstMargin+i);this.target=this.x+this.firstMargin+n*this.parent.cellAlign},t.getLastCell=function(){return this.cells[this.cells.length-1]},t.select=function(){this.cells.forEach((function(e){e.select()}))},t.unselect=function(){this.cells.forEach((function(e){e.unselect()}))},t.getCellElements=function(){return this.cells.map((function(e){return e.element}))},e}))},{}],20:[function(e,t,i){ 32/*! 33 * getSize v2.0.3 34 * measure size of elements 35 * MIT license 36 */ 37!function(e,i){"function"==typeof define&&define.amd?define(i):"object"==typeof t&&t.exports?t.exports=i():e.getSize=i()}(window,(function(){"use strict";function e(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}var t="undefined"==typeof console?function(){}:function(e){console.error(e)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],n=i.length;function o(e){var i=getComputedStyle(e);return i||t("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),i}var r,s=!1;function a(t){if(function(){if(!s){s=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(t);var n=o(t);r=200==Math.round(e(n.width)),a.isBoxSizeOuter=r,i.removeChild(t)}}(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var l=o(t);if("none"==l.display)return function(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<n;t++)e[i[t]]=0;return e}();var c={};c.width=t.offsetWidth,c.height=t.offsetHeight;for(var u=c.isBorderBox="border-box"==l.boxSizing,h=0;h<n;h++){var d=i[h],f=l[d],p=parseFloat(f);c[d]=isNaN(p)?0:p}var m=c.paddingLeft+c.paddingRight,g=c.paddingTop+c.paddingBottom,v=c.marginLeft+c.marginRight,y=c.marginTop+c.marginBottom,b=c.borderLeftWidth+c.borderRightWidth,w=c.borderTopWidth+c.borderBottomWidth,E=u&&r,C=e(l.width);!1!==C&&(c.width=C+(E?0:m+b));var x=e(l.height);return!1!==x&&(c.height=x+(E?0:g+w)),c.innerWidth=c.width-(m+b),c.innerHeight=c.height-(g+w),c.outerWidth=c.width+v,c.outerHeight=c.height+y,c}}return a}))},{}],21:[function(e,t,i){ 38/*! 39 * imagesLoaded v4.1.4 40 * JavaScript is all like "You images are done yet or what?" 41 * MIT License 42 */ 43!function(i,n){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],(function(e){return n(i,e)})):"object"==typeof t&&t.exports?t.exports=n(i,e("ev-emitter")):i.imagesLoaded=n(i,i.EvEmitter)}("undefined"!=typeof window?window:this,(function(e,t){"use strict";var i=e.jQuery,n=e.console;function o(e,t){for(var i in t)e[i]=t[i];return e}var r=Array.prototype.slice;function s(e,t,a){if(!(this instanceof s))return new s(e,t,a);var l,c=e;("string"==typeof e&&(c=document.querySelectorAll(e)),c)?(this.elements=(l=c,Array.isArray(l)?l:"object"==typeof l&&"number"==typeof l.length?r.call(l):[l]),this.options=o({},this.options),"function"==typeof t?a=t:o(this.options,t),a&&this.on("always",a),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):n.error("Bad element for imagesLoaded "+(c||e))}s.prototype=Object.create(t.prototype),s.prototype.options={},s.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},s.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&a[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var r=e.querySelectorAll(this.options.background);for(n=0;n<r.length;n++){var s=r[n];this.addElementBackgroundImages(s)}}}};var a={1:!0,9:!0,11:!0};function l(e){this.img=e}function c(e,t){this.url=e,this.element=t,this.img=new Image}return s.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,e),n=i.exec(t.backgroundImage)}},s.prototype.addImage=function(e){var t=new l(e);this.images.push(t)},s.prototype.addBackground=function(e,t){var i=new c(e,t);this.images.push(i)},s.prototype.check=function(){var e=this;function t(t,i,n){setTimeout((function(){e.progress(t,i,n)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(e){e.once("progress",t),e.check()})):this.complete()},s.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&n&&n.log("progress: "+i,e,t)},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},l.prototype=Object.create(t.prototype),l.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},l.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype=Object.create(l.prototype),c.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},s.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((i=t).fn.imagesLoaded=function(e,t){return new s(this,e,t).jqDeferred.promise(i(this))})},s.makeJQueryPlugin(),s}))},{"ev-emitter":7}],22:[function(e,t,i){ 44/*! 45 * Unidragger v2.4.0 46 * Draggable base class 47 * MIT license 48 */ 49!function(i,n){"function"==typeof define&&define.amd?define(["unipointer/unipointer"],(function(e){return n(i,e)})):"object"==typeof t&&t.exports?t.exports=n(i,e("unipointer")):i.Unidragger=n(i,i.Unipointer)}(window,(function(e,t){"use strict";function i(){}var n=i.prototype=Object.create(t.prototype);n.bindHandles=function(){this._bindHandles(!0)},n.unbindHandles=function(){this._bindHandles(!1)},n._bindHandles=function(t){for(var i=(t=void 0===t||t)?"addEventListener":"removeEventListener",n=t?this._touchActionValue:"",o=0;o<this.handles.length;o++){var r=this.handles[o];this._bindStartEvent(r,t),r[i]("click",this),e.PointerEvent&&(r.style.touchAction=n)}},n._touchActionValue="none",n.pointerDown=function(e,t){this.okayPointerDown(e)&&(this.pointerDownPointer={pageX:t.pageX,pageY:t.pageY},e.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(e),this.emitEvent("pointerDown",[e,t]))};var o={TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0},r={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return n.okayPointerDown=function(e){var t=o[e.target.nodeName],i=r[e.target.type],n=!t||i;return n||this._pointerReset(),n},n.pointerDownBlur=function(){var e=document.activeElement;e&&e.blur&&e!=document.body&&e.blur()},n.pointerMove=function(e,t){var i=this._dragPointerMove(e,t);this.emitEvent("pointerMove",[e,t,i]),this._dragMove(e,t,i)},n._dragPointerMove=function(e,t){var i={x:t.pageX-this.pointerDownPointer.pageX,y:t.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(i)&&this._dragStart(e,t),i},n.hasDragStarted=function(e){return Math.abs(e.x)>3||Math.abs(e.y)>3},n.pointerUp=function(e,t){this.emitEvent("pointerUp",[e,t]),this._dragPointerUp(e,t)},n._dragPointerUp=function(e,t){this.isDragging?this._dragEnd(e,t):this._staticClick(e,t)},n._dragStart=function(e,t){this.isDragging=!0,this.isPreventing
49Clicks=!0,this.dragStart(e,t)},n.dragStart=function(e,t){this.emitEvent("dragStart",[e,t])},n._dragMove=function(e,t,i){this.isDragging&&this.dragMove(e,t,i)},n.dragMove=function(e,t,i){e.preventDefault(),this.emitEvent("dragMove",[e,t,i])},n._dragEnd=function(e,t){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(e,t)},n.dragEnd=function(e,t){this.emitEvent("dragEnd",[e,t])},n.onclick=function(e){this.isPreventingClicks&&e.preventDefault()},n._staticClick=function(e,t){this.isIgnoringMouseUp&&"mouseup"==e.type||(this.staticClick(e,t),"mouseup"!=e.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(e,t){this.emitEvent("staticClick",[e,t])},i.getPointerPoint=t.getPointerPoint,i}))},{unipointer:47}],23:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("./core"),e("fizzy-ui-utils")):n(i.Flickity,i.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(e,t){let i=e.prototype;return i.insert=function(e,t){let i=this._makeCells(e);if(!i||!i.length)return;let n=this.cells.length;t=void 0===t?n:t;let o=function(e){let t=document.createDocumentFragment();return e.forEach((e=>t.appendChild(e.element))),t}(i),r=t===n;if(r)this.slider.appendChild(o);else{let e=this.cells[t].element;this.slider.insertBefore(o,e)}if(0===t)this.cells=i.concat(this.cells);else if(r)this.cells=this.cells.concat(i);else{let e=this.cells.splice(t,n-t);this.cells=this.cells.concat(i).concat(e)}this._sizeCells(i),this.cellChange(t),this.positionSliderAtSelected()},i.append=function(e){this.insert(e,this.cells.length)},i.prepend=function(e){this.insert(e,0)},i.remove=function(e){let i=this.getCells(e);if(!i||!i.length)return;let n=this.cells.length-1;i.forEach((e=>{e.remove();let i=this.cells.indexOf(e);n=Math.min(i,n),t.removeFrom(this.cells,e)})),this.cellChange(n),this.positionSliderAtSelected()},i.cellSizeChange=function(e){let t=this.getCell(e);if(!t)return;t.getSize();let i=this.cells.indexOf(t);this.cellChange(i)},i.cellChange=function(e){let t=this.selectedElement;this._positionCells(e),this._updateWrapShiftCells(),this.setGallerySize();let i=this.getCell(t);i&&(this.selectedIndex=this.getCellSlideIndex(i)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[e]),this.select(this.selectedIndex)},e}))},{"./core":26,"fizzy-ui-utils":5}],24:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("fizzy-ui-utils")):(i.Flickity=i.Flickity||{},i.Flickity.animatePrototype=n(i.fizzyUIUtils))}("undefined"!=typeof window?window:this,(function(e){let t={startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();let e=this.x;this.integratePhysics(),this.positionSlider(),this.settle(e),this.isAnimating&&requestAnimationFrame((()=>this.animate()))},positionSlider:function(){let t=this.x;this.isWrapping&&(t=e.modulo(t,this.slideableWidth)-this.slideableWidth,this.shiftWrapCells(t)),this.setTranslateX(t,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(e,t){e+=this.cursorPosition,this.options.rightToLeft&&(e=-e);let i=this.getPositionValue(e);this.slider.style.transform=t?`translate3d(${i},0,0)`:`translateX(${i})`},dispatchScrollEvent:function(){let e=this.slides[0];if(!e)return;let t=-this.x-e.target,i=t/this.slidesWidth;this.dispatchEvent("scroll",null,[i,t])},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(e){return this.options.percentPosition?.01*Math.round(e/this.size.innerWidth*1e4)+"%":Math.round(e)+"px"},settle:function(e){!this.isPointerDown&&Math.round(100*this.x)===Math.round(100*e)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(e){let t=this.cursorPosition+e;this._shiftCells(this.beforeShiftCells,t,-1);let i=this.size.innerWidth-(e+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,i,1)},_shiftCells:function(e,t,i){e.forEach((e=>{let n=t>0?i:0;this._wrapShiftCell(e,n),t-=e.size.outerWidth}))},_unshiftCells:function(e){e&&e.length&&e.forEach((e=>this._wrapShiftCell(e,0)))},_wrapShiftCell:function(e,t){this._renderCellPosition(e,e.x+this.slideableWidth*t)},integratePhysics:function(){this.x+=this.velocity,this.velocity
vendor: 30,673 bytes, lines 49-72
49*=this.getFrictionFactor()},applyForce:function(e){this.velocity+=e},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){if(!this.isDraggable||!this.isPointerDown)return;let e=this.dragX-this.x-this.velocity;this.applyForce(e)},applySelectedAttraction:function(){if(this.isDraggable&&this.isPointerDown||this.isFreeScrolling||!this.slides.length)return;let e=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction;this.applyForce(e)}};return t}))},{"fizzy-ui-utils":5}],25:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("get-size")):(i.Flickity=i.Flickity||{},i.Flickity.Cell=n(i.getSize))}("undefined"!=typeof window?window:this,(function(e){const t="flickity-cell";function i(e){this.element=e,this.element.classList.add(t),this.x=0,this.unselect()}let n=i.prototype;return n.destroy=function(){this.unselect(),this.element.classList.remove(t),this.element.style.transform="",this.element.removeAttribute("aria-hidden")},n.getSize=function(){this.size=e(this.element)},n.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},n.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},n.remove=function(){this.element.remove()},i}))},{"get-size":35}],26:[function(e,t,i){!function(i,n){if("object"==typeof t&&t.exports)t.exports=n(i,e("ev-emitter"),e("get-size"),e("fizzy-ui-utils"),e("./cell"),e("./slide"),e("./animate"));else{let e=i.Flickity;i.Flickity=n(i,i.EvEmitter,i.getSize,i.fizzyUIUtils,e.Cell,e.Slide,e.animatePrototype)}}("undefined"!=typeof window?window:this,(function(e,t,i,n,o,r,s){const{getComputedStyle:a,console:l}=e;let{jQuery:c}=e,u=0,h={};function d(e,t){let i=n.getQueryElement(e);if(i){if(this.element=i,this.element.flickityGUID){let e=h[this.element.flickityGUID];return e&&e.option(t),e}c&&(this.$element=c(this.element)),this.options={...this.constructor.defaults},this.option(t),this._create()}else l&&l.error(`Bad element for Flickity: ${i||e}`)}d.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},d.create={};let f=d.prototype;Object.assign(f,t.prototype),f._create=function(){let{resize:t,watchCSS:i,rightToLeft:n}=this.options,o=this.guid=++u;this.element.flickityGUID=o,h[o]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.beginMargin=n?"marginRight":"marginLeft",this.endMargin=n?"marginLeft":"marginRight",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),this.focusableElems=[this.element],(t||i)&&e.addEventListener("resize",this);for(let e in this.options.on){let t=this.options.on[e];this.on(e,t)}for(let e in d.create)d.create[e].call(this);i?this.watchCSS():this.activate()},f.option=function(e){Object.assign(this.options,e)},f.activate=function(){if(this.isActive)return;this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize();let e=this._filterFindCellElements(this.element.children);this.slider.append(...e),this.viewport.append(this.slider),this.element.append(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready")},f._createSlider=function(){let e=document.createElement("div");e.className="flickity-slider",this.slider=e},f._filterFindCellElements=function(e){return n.filterFindElements(e,this.options.cellSelector)},f.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._updateWrapShiftCells(),this.setGallerySize()},f._makeCells=function(e){return this._filterFindCellElements(e).map((e=>new o(e)))},f.getLastCell=function(){return this.cells[this.cells.length-1]},f.getLastSlide=function(){return this.slides[this.slides.length-1]},f.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},f._positionCells=function(e){e=e||0,this.maxCellHeight=e&&this.maxCellHeight||0;let t=0;if(e>0){let i=this.cells[e-1];t=i.x+i.size.outerWidth}this.cells.slice(e).forEach((e=>{e.x=t,this._renderCellPosition(e,t),t+=e.size.outerWidth,this.maxCellHeight=Math.max(e.size.outerHeight,this.maxCellHeight)})),this.slideableWidth=t,this.updateSlides(),this._containSlides(),this.slidesWidth=this.cells.length?this.getLastSlide().target-this.slides[0].target:0},f._renderCellPosition=function(e,t){let i=t*(this.options.rightToLeft?-1:1);this.options.percentPosition&&(i*=this.size.innerWidth/e.size.width);let n=this.getPositionValue(i);e.element.style.transform=`translateX( ${n} )`},f._sizeCells=function(e){e.forEach((e=>e.getSize()))},f.updateSlides=function(){if(this.slides=[],!this.cells.length)return;let{beginMargin:e,endMargin:t}=this,i=new r(e,t,this.cellAlign);this.slides.push(i);let n=this._getCanCellFit();this.cells.forEach(((o,s)=>{if(!i.cells.length)return void i.addCell(o);let a=i.outerWidth-i.firstMargin+(o.size.outerWidth-o.size[t]);n(s,a)||(i.updateTarget(),i=new r(e,t,this.cellAlign),this.slides.push(i)),i.addCell(o)})),i.updateTarget(),this.updateSelectedSlide()},f._getCanCellFit=function(){let{groupCells:e}=this.options;if(!e)return()=>!1;if("number"==typeof e){let t=parseInt(e,10);return e=>e%t!=0}let t=1,i="string"==typeof e&&e.match(/^(\d+)%$/);i&&(t=parseInt(i[1],10)/100);let n=(this.size.innerWidth+1)*t;return(e,t)=>t<=n},f._init=f.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},f.getSize=function(){this.size=i(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};let p={left:0,center:.5,right:1};f.setCellAlign=function(){let{cellAlign:e,rightToLeft:t}=this.options,i=p[e];this.cellAlign=void 0!==i?i:e,t&&(this.cellAlign=1-this.cellAlign)},f.setGallerySize=function(){if(!this.options.setGallerySize)return;let e=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=`${e}px`},f._updateWrapShiftCells=function(){if(this.isWrapping=this.getIsWrapping(),!this.isWrapping)return;this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);let e=this.cursorPosition,t=this.cells.length-1;this.beforeShiftCells=this._getGapCells(e,t,-1);let i=this.size.innerWidth-this.cursorPosition;this.afterShiftCells=this._getGapCells(i,0,1)},f.getIsWrapping=function(){let{wrapAround:e}=this.options;if(!e||this.slides.length<2)return!1;if("fill"!==e)return!0;let t=this.slideableWidth-this.size.innerWidth;if(t>this.size.innerWidth)return!0;for(let e of this.cells)if(e.size.outerWidth>t)return!1;return!0},f._getGapCells=function(e,t,i){let n=[];for(;e>0;){let o=this.cells[t];if(!o)break;n.push(o),t+=i,e-=o.size.outerWidth}return n},f._containSlides=function(){if(!(this.options.contain&&!this.isWrapping&&this.cells.length))return;let e=this.slideableWidth-this.getLastCell().size[this.endMargin];if(e<this.size.innerWidth)this.slides.forEach((t=>{t.target=e*this.cellAlign}));else{let t=this.cursorPosition+this.cells[0].size[this.beginMargin],i=e-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach((e=>{e.target=Math.max(e.target,t),e.target=Math.min(e.target,i)}))}},f.dispatchEvent=function(e,t,i){let n=t?[t].concat(i):i;if(this.emitEvent(e,n),c&&this.$element){let n=e+=this.options.namespaceJQueryEvents?".flickity":"";if(t){let i=new c.Event(t);i.type=e,n=i}this.$element.trigger(n,i)}};const m=["dragStart","dragMove","dragEnd","pointerDown","pointerMove","pointerEnd","staticClick"];let g=f.emitEvent;f.emitEvent=function(e,t){if("staticClick"===e){let e=this.getParentCell(t[0].target),i=e&&e.element,n=e&&this.cells.indexOf(e);t=t.concat(i,n)}if(g.call(this,e,t),!m.includes(e)||!c||!this.$element)return;e+=this.options.namespaceJQueryEvents?".flickity":"";let i=t.shift(0),n=new c.Event(i);n.type=e,this.$element.trigger(n,t)},f.select=function(e,t,i){if(!this.isActive)return;if(e=parseInt(e,10),this._wrapSelect(e),(this.isWrapping||t)&&(e=n.modulo(e,this.slides.length)),!this.slides[e])return;let o=this.selectedIndex;this.selectedIndex=e,this.updateSelectedSlide(),i?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[e]),e!==o&&this.dispatchEvent("change",null,[e])},f._wrapSelect=function(e){if(!this.isWrapping)return;const{selectedIndex:t,slideableWidth:i,slides:{length:o}}=this;if(!this.isDragSelect){let i=n.modulo(e,o),r=Math.abs(i-t),s=Math.abs(i+o-t),a=Math.abs(i-o-t);s<r?e+=o:a<r&&(e-=o)}e<0?this.x-=i:e>=o&&(this.x+=i)},f.previous=function(e,t){this.select(this.selectedIndex-1,e,t)},f.next=function(e,t){this.select(this.selectedIndex+1,e,t)},f.updateSelectedSlide=function(){let e=this.slides[this.selectedIndex];e&&(this.unselectSelectedSlide(),this.selectedSlide=e,e.select(),this.selectedCells=e.cells,this.selectedElements=e.getCellElements(),this.selectedCell=e.cells[0],this.selectedElement=this.selectedElements[0])},f.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},f.selectInitialIndex=function(){let e=this.options.initialIndex;if(this.isInitActivated)return void this.select(this.selectedIndex,!1,!0);if(e&&"string"==typeof e){if(this.queryCell(e))return void this.selectCell(e,!1,!0)}let t=0;e&&this.slides[e]&&(t=e),this.select(t,!1,!0)},f.selectCell=function(e,t,i){let n=this.queryCell(e);if(!n)return;let o=this.getCellSlideIndex(n);this.select(o,t,i)},f.getCellSlideIndex=function(e){let t=this.slides.find((t=>t.cells.includes(e)));return this.slides.indexOf(t)},f.getCell=function(e){for(let t of this.cells)if(t.element===e)return t},f.getCells=function(e){return(e=n.makeArray(e)).map((e=>this.getCell(e))).filter(Boolean)},f.getCellElements=function(){return this.cells.map((e=>e.element))},f.getParentCell=function(e){let t=this.getCell(e);if(t)return t;let i=e.closest(".flickity-slider > *");return this.getCell(i)},f.getAdjacentCellElements=function(e,t){if(!e)return this.selectedSlide.getCellElements();t=void 0===t?this.selectedIndex:t;let i=this.slides.length;if(1+2*e>=i)return this.getCellElements();let o=[];for(let r=t-e;r<=t+e;r++){let e=this.isWrapping?n.modulo(r,i):r,t=this.slides[e];t&&(o=o.concat(t.getCellElements()))}return o},f.queryCell=function(e){if("number"==typeof e)return this.cells[e];return"string"==typeof e&&!e.match(/^[#.]?[\d/]/)&&(e=this.element.querySelector(e)),this.getCell(e)},f.uiChange=function(){this.emitEvent("uiChange")},f.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(d,"onresize",150),f.resize=function(){if(!this.isActive||this.isAnimating||this.isDragging)return;this.getSize(),this.isWrapping&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._updateWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");let e=this.selectedElements&&this.selectedElements[0];this.selectCell(e,!1,!0)},f.watchCSS=function(){if(!this.options.watchCSS)return;a(this.element,":after").content.includes("flickity")?this.activate():this.deactivate()},f.onkeydown=function(e){let{activeElement:t}=document,i=d.keyboardHandlers[e.key];this.options.accessibility&&t&&i&&this.focusableElems.some((e=>t===e))&&i.call(this)},d.keyboardHandlers={ArrowLeft:function(){this.uiChange(),this[this.options.rightToLeft?"next":"previous"]()},ArrowRight:function(){this.uiChange(),this[this.options.rightToLeft?"previous":"next"]()}},f.focus=function(){this.element.focus({preventScroll:!0})},f.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach((e=>e.destroy())),this.viewport.remove(),this.element.append(...this.slider.children),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},f.destroy=function(){this.deactivate(),e.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),c&&this.$element&&c.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete h[this.guid]},Object.assign(f,s),d.data=function(e){if(e=n.getQueryElement(e))return h[e.flickityGUID]},n.htmlInit(d,"flickity");let{jQueryBridget:v}=e;return c&&v&&v("flickity",d,c),d.setJQuery=function(e){c=e},d.Cell=o,d.Slide=r,d}))},{"./animate":24,"./cell":25,"./slide":34,"ev-emitter":4,"fizzy-ui-utils":5,"get-size":35}],27:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(i,e("./core"),e("unidragger"),e("fizzy-ui-utils")):i.Flickity=n(i,i.Flickity,i.Unidragger,i.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(e,t,i,n){Object.assign(t.defaults,{draggable:">1",dragThreshold:3});let o=t.prototype;function r(){return{x:e.pageXOffset,y:e.pageYOffset}}return Object.assign(o,i.prototype),o.touchActionValue="",t.create.drag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable),this.on("pointerDown",this.handlePointerDown),this.on("pointerUp",this.handlePointerUp),this.on("pointerDown",this.handlePointerDone),this.on("dragStart",this.handleDragStart),this.on("dragMove",this.handleDragMove),this.on("dragEnd",this.handleDragEnd),this.on("staticClick",this.handleStaticClick)},o.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},o.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},o.updateDraggable=function(){">1"===this.options.draggable?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.element.classList.toggle("is-draggable",this.isDraggable)},o._uiChangeDrag=function(){delete this.isFreeScrolling},o.handlePointerDown=function(t){if(!this.isDraggable)return void this.bindActivePointerEvents(t);let i="touchstart"===t.type,n="touch"===t.pointerType,o=t.target.matches("input, textarea, select");i||n||o||t.preventDefault(),o||this.focus(),document.activeElement!==this.element&&document.activeElement.blur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=r(),e.addEventListener("scroll",this),this.bindActivePointerEvents(t)},o.hasDragStarted=function(e){return Math.abs(e.x)>this.options.dragThreshold},o.handlePointerUp=function(){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down")},o.handlePointerDone=function(){e.removeEventListener("scroll",this),delete this.pointerDownScroll},o.handleDragStart=function(){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),e.removeEventListener("scroll",this))},o.handleDragMove=function(e,t,i){if(!this.isDraggable)return;e.preventDefault(),this.previousDragX=this.dragX;let n=this.options.rightToLeft?-1:1;this.isWrapping&&(i.x%=this.slideableWidth);let o=this.dragStartPosition+i.x*n;if(!this.isWrapping){let e=Math.max(-this.slides[0].target,this.dragStartPosition);o=o>e?.5*(o+e):o;let t=Math.min(-this.getLastSlide().target,this.dragStartPosition);o=o<t?.5*(o+t):o}this.dragX=o,this.dragMoveTime=new Date},o.handleDragEnd=function(){if(!this.isDraggable)return;let{freeScroll:e}=this.options;e&&(this.isFreeScrolling=!0);let t=this.dragEndRestingSelect();if(e&&!this.isWrapping){let e=this.getRestingPosition();this.isFreeScrolling=-e>this.slides[0].target&&-e<this.getLastSlide().target}else e||t!==this.selectedIndex||(t+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.isWrapping,this.select(t),delete this.isDragSelect},o.dragEndRestingSelect=function(){let e=this.getRestingPosition(),t=Math.abs(this.getSlideDistance(-e,this.selectedIndex)),i=this._getClosestResting(e,t,1),n=this._getClosestResting(e,t,-1);return i.distance<n.distance?i.index:n.index},o._getClosestResting=function(e,t,i){let n=this.selectedIndex,o=1/0,r=this.options.contain&&!this.isWrapping?(e,t)=>e<=t:(e,t)=>e<t;for(;r(t,o)&&(n+=i,o=t,null!==(t=this.getSlideDistance(-e,n)));)t=Math.abs(t);return{distance:o,index:n-i}},o.getSlideDistance=function(e,t){let i=this.slides.length,o=this.options.wrapAround&&i>1,r=o?n.modulo(t,i):t,s=this.slides[r];if(!s)return null;let a=o?this.slideableWidth*Math.floor(t/i):0;return e-(s.target+a)},o.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;let e=this.getSlideDistance(-this.dragX,this.selectedIndex),t=this.previousDragX-this.dragX;return e>0&&t>0?1:e<0&&t<0?-1:0},o.onscroll=function(){let e=r(),t=this.pointerDownScroll.x-e.x,i=this.pointerDownScroll.y-e.y;(Math.abs(t)>3||Math.abs(i)>3)&&this.pointerDone()},t}))},{"./core":26,"fizzy-ui-utils":5,unidragger:45}],28:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("./core"),e("imagesloaded")):n(i.Flickity,i.imagesLoaded)}("undefined"!=typeof window?window:this,(function(e,t){return e.create.imagesLoaded=function(){this.on("activate",this.imagesLoaded)},e.prototype.imagesLoaded=function(){if(!this.options.imagesLoaded)return;t(this.slider).on("progress",((e,t)=>{let i=this.getParentCell(t.img);this.cellSizeChange(i&&i.element),this.options.freeScroll||this.positionSliderAtSelected()}))},e}))},{"./core":26,imagesloaded:37}],29:[function(e,t,i){ 50/*! 51 * Flickity v3.0.0 52 * Touch, responsive, flickable carousels 53 * 54 * Licensed GPLv3 for open source use 55 * or Flickity Commercial License for commercial use 56 * 57 * https://flickity.metafizzy.co 58 * Copyright 2015-2022 Metafizzy 59 */ 60if("object"==typeof t&&t.exports){const i=e("./core");e("./drag"),e("./prev-next-button"),e("./page-dots"),e("./player"),e("./add-remove-cell"),e("./lazyload"),e("./imagesloaded"),t.exports=i}},{"./add-remove-cell":23,"./core":26,"./drag":27,"./imagesloaded":28,"./lazyload":30,"./page-dots":31,"./player":32,"./prev-next-button":33}],30:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("./core"),e("fizzy-ui-utils")):n(i.Flickity,i.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(e,t){const i="data-flickity-lazyload",n=`${i}-src`,o=`${i}-srcset`,r=`img[${i}], img[${n}], img[${o}], source[${o}]`;e.create.lazyLoad=function(){this.on("select",this.lazyLoad),this.handleLazyLoadComplete=this.onLazyLoadComplete.bind(this)};let s=e.prototype;function a(e){if(e.matches("img")){let t=e.getAttribute(i),r=e.getAttribute(n),s=e.getAttribute(o);if(t||r||s)return e}return[...e.querySelectorAll(r)]}function l(e,t){this.img=e,this.onComplete=t,this.load()}return s.lazyLoad=function(){let{lazyLoad:e}=this.options;if(!e)return;let t="number"==typeof e?e:0;this.getAdjacentCellElements(t).map(a).flat().forEach((e=>new l(e,this.handleLazyLoadComplete)))},s.onLazyLoadComplete=function(e,t){let i=this.getParentCell(e),n=i&&i.element;this.cellSizeChange(n),this.dispatchEvent("lazyLoad",t,n)},l.prototype.handleEvent=t.handleEvent,l.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);let e=this.img.getAttribute(i)||this.img.getAttribute(n),t=this.img.getAttribute(o);this.img.src=e,t&&this.img.setAttribute("srcset",t),this.img.removeAttribute(i),this.img.removeAttribute(n),this.img.removeAttribute(o)},l.prototype.onload=function(e){this.complete(e,"flickity-lazyloaded")},l.prototype.onerror=function(e){this.complete(e,"flickity-lazyerror")},l.prototype.complete=function(e,t){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this),(this.img.parentNode.matches("picture")?this.img.parentNode:this.img).classList.add(t),this.onComplete(this.img,e)},e.LazyLoader=l,e}))},{"./core":26,"fizzy-ui-utils":5}],31:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("./core"),e("fizzy-ui-utils")):n(i.Flickity,i.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(e,t){function i(){this.holder=document.createElement("div"),this.holder.className="flickity-page-dots",this.dots=[]}i.prototype.setDots=function(e){let t=e-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},i.prototype.addDots=function(e){let t=new Array(e).fill().map(((e,t)=>{let i=document.createElement("button");i.setAttribute("type","button");let n=t+1+this.dots.length;return i.className="flickity-page-dot",i.textContent=`View slide ${n}`,i}));this.holder.append(...t),this.dots=this.dots.concat(t)},i.prototype.removeDots=function(e){this.dots.splice(this.dots.length-e,e).forEach((e=>e.remove()))},i.prototype.updateSelected=function(e){this.selectedDot&&(this.selectedDot.classList.remove("is-selected"),this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[e],this.selectedDot.classList.add("is-selected"),this.selectedDot.setAttribute("aria-current","step"))},e.PageDots=i,Object.assign(e.defaults,{pageDots:!0}),e.create.pageDots=function(){this.options.pageDots&&(this.pageDots=new i,this.handlePageDotsClick=this.onPageDotsClick.bind(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))};let n=e.prototype;return n.activatePageDots=function(){this.pageDots.setDots(this.slides.length),this.focusableElems.push(...this.pageDots.dots),this.pageDots.holder.addEventListener("click",this.handlePageDotsClick),this.element.append(this.pageDots.holder)},n.onPageDotsClick=function(e){let t=this.pageDots.dots.indexOf(e.target);-1!==t&&(this.uiChange(),this.select(t))},n.updateSelectedPageDots=function(){this.pageDots.updateSelected(this.selectedIndex)},n.updatePageDots=function(){this.pageDots.dots.forEach((e=>{t.removeFrom(this.focusableElems,e)})),this.pageDots.setDots(this.slides.length),this.focusableElems.push(...this.pageDots.dots)},n.deactivatePageDots=function(){this.pageDots.holder.remove(),this.pageDots.holder.removeEventListener("click",this.handlePageDotsClick)},e.PageDots=i,e}))},{"./core":26,"fizzy-ui-utils":5}],32:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("./core")):n(i.Flickity)}("undefined"!=typeof window?window:this,(function(e){function t(e,t){this.autoPlay=e,this.onTick=t,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}t.prototype.play=function(){if("playing"===this.state)return;document.hidden?document.addEventListener("visibilitychange",this.onVisibilityPlay):(this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick())},t.prototype.tick=function(){if("playing"!==this.state)return;let e="number"==typeof this.autoPlay?this.autoPlay:3e3;this.clear(),this.timeout=setTimeout((()=>{this.onTick(),this.tick()}),e)},t.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},t.prototype.clear=function(){clearTimeout(this.timeout)},t.prototype.pause=function(){"playing"===this.state&&(this.state="paused",this.clear())},t.prototype.unpause=function(){"paused"===this.state&&this.play()},t.prototype.visibilityChange=function(){this[document.hidden?"pause":"unpause"]()},t.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},Object.assign(e.defaults,{pauseAutoPlayOnHover:!0}),e.create.player=function(){this.player=new t(this.options.autoPlay,(()=>{this.next(!0)})),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)};let i=e.prototype;return i.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},i.playPlayer=function(){this.player.play()},i.stopPlayer=function(){this.player.stop()},i.pausePlayer=function(){this.player.pause()},i.unpausePlayer=function(){this.player.unpause()},i.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},i.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},i.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},e.Player=t,e}))},{"./core":26}],33:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("./core")):n(i.Flickity)}("undefined"!=typeof window?window:this,(function(e){const t="http://www.w3.org/2000/svg";function i(e,t,i){this.increment=e,this.direction=t,this.isPrevious="previous"===e,this.isLeft="left"===t,this._create(i)}i.prototype._create=function(e){let t=this.element=document.createElement("button");t.className=`flickity-button flickity-prev-next-button ${this.increment}`;let i=this.isPrevious?"Previous":"Next";t.setAttribute("type","button"),t.setAttribute("aria-label",i),this.disable();let n=this.createSVG(i,e);t.append(n)},i.prototype.createSVG=function(e,i){let n=document.createElementNS(t,"svg");n.setAttribute("class","flickity-button-icon"),n.setAttribute("viewBox","0 0 100 100");let o=document.createElementNS(t,"title");o.append(e);let r=document.createElementNS(t,"path"),s=function(e){if("string"==typeof e)return e;let{x0:t,x1:i,x2:n,x3:o,y1:r,y2:s}=e;return`M ${t}, 50\n L ${i}, ${r+50}\n L ${n}, ${s+50}\n L ${o}, 50\n L ${n}, ${50-s}\n L ${i}, ${50-r}\n Z`}(i);return r.setAttribute("d",s),r.setAttribute("class","arrow"),this.isLeft||r.setAttribute("transform","translate(100, 100) rotate(180)"),n.append(o,r),n},i.prototype.enable=function(){this.element.removeAttribute("disabled")},i.prototype.disable=function(){this.element.setAttribute("disabled",!0)},Object.assign(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.create.prevNextButtons=function(){if(!this.options.prevNextButtons)return;let{rightToLeft:e,arrowShape:t}=this.options,n=e?"right":"left",o=e?"left":"right";this.prevButton=new i("previous",n,t),this.nextButton=new i("next",o,t),this.focusableElems.push(this.prevButton.element),this.focusableElems.push(this.nextButton.element),this.handlePrevButtonClick=()=>{this.uiChange(),this.previous()},this.handleNextButtonClick=()=>{this.uiChange(),this.next()},this.on("activate",this.activatePrevNextButtons),this.on("select",this.updatePrevNextButtons)};let n=e.prototype;return n.updatePrevNextButtons=function(){let e=this.slides.length?this.slides.length-1:0;this.updatePrevNextButton(this.prevButton,0),this.updatePrevNextButton(this.nextButton,e)},n.updatePrevNextButton=function(e,t){if(this.isWrapping&&this.slides.length>1)return void e.enable();let i=this.selectedIndex!==t;e[i?"enable":"disable"](),!i&&document.activeElement===e.element&&this.focus()},n.activatePrevNextButtons=function(){this.prevButton.element.addEventListener("click",this.handlePrevButtonClick),this.nextButton.element.addEventListener("click",this.handleNextButtonClick),this.element.append(this.prevButton.element,this.nextButton.element),this.on("deactivate",this.deactivatePrevNextButtons)},n.deactivatePrevNextButtons=function(){this.prevButton.element.remove(),this.nextButton.element.remove(),this.prevButton.element.removeEventListener("click",this.handlePrevButtonClick),this.nextButton.element.removeEventListener("click",this.handleNextButtonClick),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=i,e}))},{"./core":26}],34:[function(e,t,i){!function(e,i){"object"==typeof t&&t.exports?t.exports=i():(e.Flickity=e.Flickity||{},e.Flickity.Slide=i())}("undefined"!=typeof window?window:this,(function(){function e(e,t,i){this.beginMargin=e,this.endMargin=t,this.cellAlign=i,this.cells=[],this.outerWidth=0,this.height=0}let t=e.prototype;return t.addCell=function(e){this.cells.push(e),this.outerWidth+=e.size.outerWidth,this.height=Math.max(e.size.outerHeight,this.height),1===this.cells.length&&(this.x=e.x,this.firstMargin=e.size[this.beginMargin])},t.updateTarget=function(){let e=this.getLastCell(),t=e?e.size[this.endMargin]:0,i=this.outerWidth-(this.firstMargin+t);this.target=this.x+this.firstMargin+i*this.cellAlign},t.getLastCell=function(){return this.cells[this.cells.length-1]},t.select=function(){this.cells.forEach((e=>e.select()))},t.unselect=function(){this.cells.forEach((e=>e.unselect()))},t.getCellElements=function(){return this.cells.map((e=>e.element))},e}))},{}],35:[function(e,t,i){ 61/*! 62 * Infinite Scroll v2.0.4 63 * measure size of elements 64 * MIT license 65 */ 66!function(e,i){"object"==typeof t&&t.exports?t.exports=i():e.getSize=i()}(window,(function(){function e(e){let t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}let t=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];t.length;return function(i){if("string"==typeof i&&(i=document.querySelector(i)),!(i&&"object"==typeof i&&i.nodeType))return;let n=getComputedStyle(i);if("none"==n.display)return function(){let e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0};return t.forEach((t=>{e[t]=0})),e}();let o={};o.width=i.offsetWidth,o.height=i.offsetHeight;let r=o.isBorderBox="border-box"==n.boxSizing;t.forEach((e=>{let t=n[e],i=parseFloat(t);o[e]=isNaN(i)?0:i}));let s=o.paddingLeft+o.paddingRight,a=o.paddingTop+o.paddingBottom,l=o.marginLeft+o.marginRight,c=o.marginTop+o.marginBottom,u=o.borderLeftWidth+o.borderRightWidth,h=o.borderTopWidth+o.borderBottomWidth,d=e(n.width);!1!==d&&(o.width=d+(r?0:s+u));let f=e(n.height);return!1!==f&&(o.height=f+(r?0:a+h)),o.innerWidth=o.width-(s+u),o.innerHeight=o.height-(a+h),o.outerWidth=o.width+l,o.outerHeight=o.height+c,o}}))},{}],36:[function(e,t,i){ 67/*! 68 * headroom.js v0.12.0 - Give your page some headroom. Hide your header until you need it 69 * Copyright (c) 2020 Nick Williams - http://wicky.nillia.ms/headroom.js 70 * License: MIT 71 */ 72!function(e,n){"object"==typeof i&&void 0!==t?t.exports=n():"function"==typeof define&&define.amd?define(n):(e=e||self).Headroom=n()}(this,(function(){"use strict";function e(){return"undefined"!=typeof window}function t(e){return(r=e)&&r.document&&function(e){return 9===e.n
72odeType}(r.document)?(i=(t=e).document,n=i.body,o=i.documentElement,{scrollHeight:function(){return Math.max(n.scrollHeight,o.scrollHeight,n.offsetHeight,o.offsetHeight,n.clientHeight,o.clientHeight)},height:function(){return t.innerHeight||o.clientHeight||n.clientHeight},scrollY:function(){return void 0!==t.pageYOffset?t.pageYOffset:(o||n.parentNode||n).scrollTop}}):function(e){return{scrollHeight:function(){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},height:function(){return Math.max(e.offsetHeight,e.clientHeight)},scrollY:function(){return e.scrollTop}}}(e);var t,i,n,o,r}function i(e,i,n){var o,r=function(){var e=!1;try{var t={get passive(){e=!0}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){e=!1}return e}(),s=!1,a=t(e),l=a.scrollY(),c={};function u(){var e=Math.round(a.scrollY()),t=a.height(),o=a.scrollHeight();c.scrollY=e,c.lastScrollY=l,c.direction=e>l?"down":"up",c.distance=Math.abs(e-l),c.isOutOfBounds=e<0||e+t>o,c.top=e<=i.offset[c.direction],c.bottom=e+t>=o,c.toleranceExceeded=c.distance>i.tolerance[c.direction],n(c),l=e,s=!1}function h(){s||(s=!0,o=requestAnimationFrame(u))}var d=!!r&&{passive:!0,capture:!1};return e.addEventListener("scroll",h,d),u(),{destroy:function(){cancelAnimationFrame(o),e.removeEventListener("scroll",h,d)}}}function n(e){return e===Object(e)?e:{down:e,up:e}}function o(e,t){t=t||{},Object.assign(this,o.options,t),this.classes=Object.assign({},o.options.classes,t.classes),this.elem=e,this.tolerance=n(this.tolerance),this.offset=n(this.offset),this.initialised=!1,this.frozen=!1}return o.prototype={constructor:o,init:function(){return o.cutsTheMustard&&!this.initialised&&(this.addClass("initial"),this.initialised=!0,setTimeout((function(e){e.scrollTracker=i(e.scroller,{offset:e.offset,tolerance:e.tolerance},e.update.bind(e))}),100,this)),this},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEach(this.removeClass,this),this.scrollTracker.destroy()},unpin:function(){!this.hasClass("pinned")&&this.hasClass("unpinned")||(this.addClass("unpinned"),this.removeClass("pinned"),this.onUnpin&&this.onUnpin.call(this))},pin:function(){this.hasClass("unpinned")&&(this.addClass("pinned"),this.removeClass("unpinned"),this.onPin&&this.onPin.call(this))},freeze:function(){this.frozen=!0,this.addClass("frozen")},unfreeze:function(){this.frozen=!1,this.removeClass("frozen")},top:function(){this.hasClass("top")||(this.addClass("top"),this.removeClass("notTop"),this.onTop&&this.onTop.call(this))},notTop:function(){this.hasClass("notTop")||(this.addClass("notTop"),this.removeClass("top"),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){this.hasClass("bottom")||(this.addClass("bottom"),this.removeClass("notBottom"),this.onBottom&&this.onBottom.call(this))},notBottom:function(){this.hasClass("notBottom")||(this.addClass("notBottom"),this.removeClass("bottom"),this.onNotBottom&&this.onNotBottom.call(this))},shouldUnpin:function(e){return"down"===e.direction&&!e.top&&e.toleranceExceeded},shouldPin:function(e){return"up"===e.direction&&e.toleranceExceeded||e.top},addClass:function(e){this.elem.classList.add.apply(this.elem.classList,this.classes[e].split(" "))},removeClass:function(e){this.elem.classList.remove.apply(this.elem.classList,this.classes[e].split(" "))},hasClass:function(e){return this.classes[e].split(" ").every((function(e){return this.classList.contains(e)}),this.elem)},update:function(e){e.isOutOfBounds||!0!==this.frozen&&(e.top?this.top():this.notTop(),e.bottom?this.bottom():this.notBottom(),this.shouldUnpin(e)?this.unpin():this.shouldPin(e)&&this.pin())}},o.options={tolerance:{up:0,down:0},offset:0,scroller:e()?window:null,classes:{frozen:"headroom--frozen",pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},o.cutsTheMustard=!!(e()&&function(){}.bind&&"classList"in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame),o}))},{}],37:[function(e,t,i){ 73/*! 74 * imagesLoaded v5.0.0 75 * JavaScript is all like "You images are done yet or what?" 76 * MIT License 77 */ 78!function(i,n){"object"==typeof t&&t.exports?t.exports=n(i,e("ev-emitter")):i.imagesLoaded=n(i,i.EvEmitter)}("undefined"!=typeof window?window:this,(function(e,t){let i=e.jQuery,n=e.console;function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);let s=e;var a;("string"==typeof e&&(s=document.querySelectorAll(e)),s)?(this.elements=(a=s,Array.isArray(a)?a:"object"==typeof a&&"number"==typeof a.length?[...a]:[a]),this.options={},"function"==typeof t?r=t:Object.assign(this.options,t),r&&this.on("always",r),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):n.error(`Bad element for imagesLoaded ${s||e}`)}o.prototype=Object.create(t.prototype),o.prototype.getImages=function(){this.images=[],this.elements.forEac
78h(this.addElementImages,this)};const r=[1,9,11];o.prototype.addElementImages=function(e){"IMG"===e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);let{nodeType:t}=e;if(!t||!r.includes(t))return;let i=e.querySelectorAll("img");for(let e of i)this.addImage(e);if("string"==typeof this.options.background){let t=e.querySelectorAll(this.options.background);for(let e of t)this.addElementBackgroundImages(e)}};const s=/url\((['"])?(.*?)\1\)/gi;function a(e){this.img=e}function l(e,t){this.url=e,this.element=t,this.img=new Image}return o.prototype.addElementBackgroundImages=function(e){let t=getComputedStyle(e);if(!t)return;let i=s.exec(t.backgroundImage);for(;null!==i;){let n=i&&i[2];n&&this.addBackground(n,e),i=s.exec(t.backgroundImage)}},o.prototype.addImage=function(e){let t=new a(e);this.images.push(t)},o.prototype.addBackground=function(e,t){let i=new l(e,t);this.images.push(i)},o.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let e=(e,t,i)=>{setTimeout((()=>{this.progress(e,t,i)}))};this.images.forEach((function(t){t.once("progress",e),t.check()}))},o.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&n&&n.log(`progress: ${i}`,e,t)},o.prototype.complete=function(){let e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){let e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},a.prototype=Object.create(t.prototype),a.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},a.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},a.prototype.confirm=function(e,t){this.isLoaded=e;let{parentNode:i}=this.img,n="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,n,t])},a.prototype.handleEvent=function(e){let t="on"+e.type;this[t]&&this[t](e)},a.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},a.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},a.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype=Object.create(a.prototype),l.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},l.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},o.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&(i=t,i.fn.imagesLoaded=function(e,t){return new o(this,e,t).jqDeferred.promise(i(this))})},o.makeJQueryPlugin(),o}))},{"ev-emitter":4}],38:[function(e,t,i){!function(e,n){"object"==typeof i&&void 0!==t?t.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self,function(){var t=e.Cookies,i=e.Cookies=n();i.noConflict=function(){return e.Cookies=t,i}}())}(this,(function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)e[n]=i[n]}return e}var t=function t(i,n){function o(t,o,r){if("undefined"!=typeof document){"number"==typeof(r=e({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decode
78URIComponent).replace(/[()]/g,escape);var s="";for(var a in r)r[a]&&(s+="; "+a,!0!==r[a]&&(s+="="+r[a].split(";")[0]));return document.cookie=t+"="+i.write(o,t)+s}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},o=0;o<t.length;o++){var r=t[o].split("="),s=r.slice(1).join("=");try{var a=decodeURIComponent(r[0]);if(n[a]=i.read(s,a),e===a)break}catch(e){}}return e?n[e]:n}},remove:function(t,i){o(t,"",e({},i,{expires:-1}))},withAttributes:function(i){return t(this.converter,e({},this.attributes,i))},withConverter:function(i){return t(e({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(i)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});return t}))},{}],39:[function(e,t,i){function n(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function o(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}t.exports=function(e,t,i){var r=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");"function"==typeof t&&(i=t,t={}),t=t||{},i=i||function(){},s.type=t.type||"text/javascript",s.charset=t.charset||"utf8",s.async=!("async"in t)||!!t.async,s.src=e,t.attrs&&function(e,t){for(var i in t)e.setAttribute(i,t[i])}(s,t.attrs),t.text&&(s.text=""+t.text),("onload"in s?n:o)(s,i),s.onload||n(s,i),r.appendChild(s)}},{}],40:[function(e,t,i){(function(e){(function(){var i=NaN,n="[object Symbol]",o=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof e&&e&&e.Object===Object&&e,u="object"==typeof self&&self&&self.Object===Object&&self,h=c||u||Function("return this")(),d=Object.prototype.toString,f=Math.max,p=Math.min,m=function(){return h.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&d.call(e)==n}(e))return i;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var c=s.test(e);return c||a.test(e)?l(e.slice(2),c?2:8):r.test(e)?i:+e}t.exports=function(e,t,i){var n,o,r,s,a,l,c=0,u=!1,h=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var i=n,r=o;return n=o=void 0,c=t,s=e.apply(r,i)}function b(e){var i=e-l;return void 0===l||i>=t||i<0||h&&e-c>=r}function w(){var e=m();if(b(e))return E(e);a=setTimeout(w,function(e){var i=t-(e-l);return h?p(i,r-(e-c)):i}(e))}function E(e){return a=void 0,d&&n?y(e):(n=o=void 0,s)}function C(){var e=m(),i=b(e);if(n=arguments,o=this,l=e,i){if(void 0===a)return function(e){return c=e,a=setTimeout(w,t),u?y(e):s}(l);if(h)return a=setTimeout(w,t),y(l)}return void 0===a&&(a=setTimeout(w,t)),s}return t=v(t)||0,g(i)&&(u=!!i.leading,r=(h="maxWait"in i)?f(v(i.maxWait)||0,t):r,d="trailing"in i?!!i.trailing:d),C.cancel=function(){void 0!==a&&clearTimeout(a),c=0,n=l=o=a=void 0},C.flush=function(){return void 0===a?s:E(m())},C}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],41:[function(e,t,i){var n,o;n=this,o=function(){"use strict";function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var n,o,r,s,a,l=(n=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not
78([tabindex^="-"])'],o=function(){function i(e){var n=e.targetModal,o=e.triggers,r=void 0===o?[]:o,s=e.onShow,a=void 0===s?function(){}:s,l=e.onClose,c=void 0===l?function(){}:l,u=e.openTrigger,h=void 0===u?"data-micromodal-trigger":u,d=e.closeTrigger,f=void 0===d?"data-micromodal-close":d,p=e.openClass,m=void 0===p?"is-open":p,g=e.disableScroll,v=void 0!==g&&g,y=e.disableFocus,b=void 0!==y&&y,w=e.awaitCloseAnimation,E=void 0!==w&&w,C=e.awaitOpenAnimation,x=void 0!==C&&C,k=e.debugMode,S=void 0!==k&&k;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),this.modal=document.getElementById(n),this.config={debugMode:S,disableScroll:v,openTrigger:h,closeTrigger:f,openClass:m,onShow:a,onClose:c,awaitCloseAnimation:E,awaitOpenAnimation:x,disableFocus:b},r.length>0&&this.registerTriggers.apply(this,t(r)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var o,r;return o=i,(r=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];i.filter(Boolean).forEach((function(t){t.addEventListener("click",(function(t){return e.showModal(t)}))}))}},{key:"showModal",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation?this.modal.addEventListener("animationend",(function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode()}),!1):this.setFocusToFirstNode(),this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var i=this.config.openClass;this.modal.addEventListener("animationend",(function e(){t.classList.remove(i),t.removeEventListener("animationend",e,!1)}),!1)}else t.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case"enable":Object.assign(t.style,{overflow:""});break;case"disable":Object.assign(t.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e))}},{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(n);return Array.apply(void 0,t(e))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var i=t.filter((function(t){return!t.hasAttribute(e.config.closeTrigger)}));i.length>0&&i[0].focus(),0===i.length&&t[0].focus()}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter((function(e){return null!==e.offsetParent})),this.modal.contains(document.activeElement)){var i=t.indexOf(document.activeElement);e.shiftKey&&0===i&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&i===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}])&&e(o.prototype,r),i}(),r=null,s=function(e){if(!document.getElementById(e))return console.warn("MicroModal: âSeems like you have missed %c'".concat(e,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<div class="modal" id="'.concat(e,'"></div>')),!1},a=function(e,t){if(function(e){e.length<=0&&(console.warn("MicroModal: âPlease specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<a href="#" data-micromodal-trigger="my-modal"></a>'))}(e),!t)return!0;for(var i in t)s(i);return!0},{init:function(e){var i=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),n=t(document.querySelectorAll("[".concat(i.openTrigger,"]"))),s=function(e,t){var i=[];return e.forEach((function(e){var n=e.attributes[t].value;void 0===i[n]&&(i[n]=[]),i[n].push(e)})),i}(n,i.openTrigger);if(!0!==i.debugMode||!1!==a(n,s))for(var l in s){var c=s[l];i.targetModal=l,i.triggers=t(c),r=new o(i)}},show:function(e,t){var i=t||{};i.targetModal=e,!0===i.debugMode&&!1===s(e)||(r&&r.removeEventListeners(),(r=new o(i)).showModal())},close:function(e){e?r.closeModalById(e):r.closeModal()}});return"undefined"!=typeof window&&(window.MicroModal=l),l},"object"==typeof i&&void 0!==t?t.exports=o():"function"==typeof define&&define.amd?define(o):(n="undefined"!=typeof globalThis?globalThis:n||self).MicroModal=o()},{}],42:[function(e,t,i){var n,o,r=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===s||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:s}
78catch(e){n=s}try{o="function"==typeof clearTimeout?clearTimeout:a}catch(e){o=a}}();var c,u=[],h=!1,d=-1;function f(){h&&c&&(h=!1,c.length?u=c.concat(u):d=-1,u.length&&p())}function p(){if(!h){var e=l(f);h=!0;for(var t=u.length;t;){for(c=u,u=[];++d<t;)c&&c[d].run();d=-1,t=u.length}c=null,h=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===a||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{return o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)t[i-1]=arguments[i];u.push(new m(e,t)),1!==u.length||h||l(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=g,r.addListener=g,r.once=g,r.off=g,r.removeListener=g,r.removeAllListeners=g,r.emit=g,r.prependListener=g,r.prependOnceListener=g,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},{}],43:[function(e,t,i){"use strict";var n; 79/** 80* @link https://github.com/gajus/sister for the canonical source repository 81* @license https://github.com/gajus/sister/blob/master/LICENSE BSD 3-Clause 82*/n=function(){var e={},t={};return e.on=function(e,i){var n={name:e,handler:i};return t[e]=t[e]||[],t[e].unshift(n),n},e.off=function(e){var i=t[e.name].indexOf(e);-1!==i&&t[e.name].splice(i,1)},e.trigger=function(e,i){var n,o=t[e];if(o)for(n=o.length;n--;)o[n].handler(i)},e},t.exports=n},{}],44:[function(e,t,i){(function(t,n){(function(){var o=e("process/browser.js").nextTick,r=Function.prototype.apply,s=Array.prototype.slice,a={},l=0;function c(e,t){this._id=e,this._clearFn=t}i.setTimeout=function(){return new c(r.call(setTimeout,window,arguments),clearTimeout)},i.setInterval=function(){return new c(r.call(setInterval,window,arguments),clearInterval)},i.clearTimeout=i.clearInterval=function(e){e.close()},c.prototype.unref=c.prototype.ref=function(){},c.prototype.close=function(){this._clearFn.call(window,this._id)},i.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},i.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},i._unrefActive=i.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},i.setImmediate="function"==typeof t?t:function(e){var t=l++,n=!(arguments.length<2)&&s.call(arguments,1);return a[t]=!0,o((function(){a[t]&&(n?e.apply(null,n):e.call(null),i.clearImmediate(t))})),t},i.clearImmediate="function"==typeof n?n:function(e){delete a[e]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":42,timers:44}],45:[function(e,t,i){ 83/*! 84 * Unidragger v3.0.1 85 * Draggable base class 86 * MIT license 87 */ 88!function(i,n){"object"==typeof t&&t.exports?t.exports=n(i,e("ev-emitter")):i.Unidragger=n(i,i.EvEmitter)}("undefined"!=typeof window?window:this,(function(e,t){function i(){}let n,o,r=i.prototype=Object.create(t.prototype);r.handleEvent=function(e){let t="on"+e.type;this[t]&&this[t](e)},"ontouchstart"in e?(n="touchstart",o=["touchmove","touchend","touchcancel"]):e.PointerEvent?(n="pointerdown",o=["pointermove","pointerup","pointercancel"]):(n="mousedown",o=["mousemove","mouseup"]),r.touchActionValue="none",r.bindHandles=function(){this._bindHandles("addEventListener",this.touchActionValue)},r.unbindHandles=function(){this._bindHandles("removeEventListener","")},r._bindHandles=function(t,i){this.handles.forEach((o=>{o[t](n,this),o[t]("click",this),e.PointerEvent&&(o.style.touchAction=i)}))},r.bindActivePointerEvents=function(){o.forEach((t=>{e.addEventListener(t,this)}))},r.unbindActivePointerEvents=function(){o.forEach((t=>{e.removeEventListener(t,this)}))},r.withPointer=function(e,t){t.pointerId===this.pointerIdentifier&&this[e](t,t)},r.withTouch=function(e,t){let i;for(let e of t.changedTouches)e.identifier===this.pointerIdentifier&&(i=e);i&&this[e](t,i)},r.onmousedown=function(e){this.pointerDown(e,e)},r.ontouchstart=function(e){this.pointerDown(e,e.changedTouches[0])},r.onpointerdown=function(e){this.pointerDown(e,e)};const s=["TEXTAREA","INPUT","SELECT","OPTION"],a=["radio","checkbox","button","submit","image","file"];return r.pointerDown=function(e,t){let i=s.includes(e.target.nodeName),n=a.includes(e.target.type),o=!i||n;!this.isPointerDown&&!e.button&&o&&(this.isPointerDown=!0,this.pointerIdentifier=void 0!==t.pointerId?t.pointerId:t.identifier,this.pointerDownPointer={pageX:t.pageX,pageY:t.pageY},this.bindActivePointerEvents(),this.emitEvent("pointerDown",[e,t]))},r.onmousemove=function(e){this.pointerMove(e,e)},r.onpointermove=function(e){this.withPointer("pointerMove",e)},r.ontouchmove=function(e){this.withTouch("pointerMove",e)},r.pointerMove=function(e,t){let i={x:t.pageX-this.pointerDownPointer.pageX,y:t.pageY-this.pointerDownPointer.pageY};this.emitEvent("pointerMove",[e,t,i]),!this.isDragging&&this.hasDragStarted(i)&&this.dragStart(e,t),this.isDragging&&this.dragMove(e,t,i)},r.hasDragStarted=function(e){return Math.abs(e.x)>3||Math.abs(e.y)>3}
88,r.dragStart=function(e,t){this.isDragging=!0,this.isPreventingClicks=!0,this.emitEvent("dragStart",[e,t])},r.dragMove=function(e,t,i){this.emitEvent("dragMove",[e,t,i])},r.onmouseup=function(e){this.pointerUp(e,e)},r.onpointerup=function(e){this.withPointer("pointerUp",e)},r.ontouchend=function(e){this.withTouch("pointerUp",e)},r.pointerUp=function(e,t){this.pointerDone(),this.emitEvent("pointerUp",[e,t]),this.isDragging?this.dragEnd(e,t):this.staticClick(e,t)},r.dragEnd=function(e,t){this.isDragging=!1,setTimeout((()=>delete this.isPreventingClicks)),this.emitEvent("dragEnd",[e,t])},r.pointerDone=function(){this.isPointerDown=!1,delete this.pointerIdentifier,this.unbindActivePointerEvents(),this.emitEvent("pointerDone")},r.onpointercancel=function(e){this.withPointer("pointerCancel",e)},r.ontouchcancel=function(e){this.withTouch("pointerCancel",e)},r.pointerCancel=function(e,t){this.pointerDone(),this.emitEvent("pointerCancel",[e,t])},r.onclick=function(e){this.isPreventingClicks&&e.preventDefault()},r.staticClick=function(e,t){let i="mouseup"===e.type;i&&this.isIgnoringMouseUp||(this.emitEvent("staticClick",[e,t]),i&&(this.isIgnoringMouseUp=!0,setTimeout((()=>{delete this.isIgnoringMouseUp}),400)))},i}))},{"ev-emitter":4}],46:[function(e,t,i){arguments[4][7][0].apply(i,arguments)},{dup:7}],47:[function(e,t,i){ 89/*! 90 * Unipointer v2.4.0 91 * base class for doing one thing with pointer event 92 * MIT license 93 */ 94!function(i,n){"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],(function(e){return n(i,e)})):"object"==typeof t&&t.exports?t.exports=n(i,e("ev-emitter")):i.Unipointer=n(i,i.EvEmitter)}(window,(function(e,t){"use strict";function i(){}var n=i.prototype=Object.create(t.prototype);n.bindStartEvent=function(e){this._bindStartEvent(e,!0)},n.unbindStartEvent=function(e){this._bindStartEvent(e,!1)},n._bindStartEvent=function(t,i){var n=(i=void 0===i||i)?"addEventListener":"removeEventListener",o="mousedown";"ontouchstart"in e?o="touchstart":e.PointerEvent&&(o="pointerdown"),t[n](o,this)},n.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},n.getTouch=function(e){for(var t=0;t<e.length;t++){var i=e[t];if(i.identifier==this.pointerIdentifier)return i}},n.onmousedown=function(e){var t=e.button;t&&0!==t&&1!==t||this._pointerDown(e,e)},n.ontouchstart=function(e){this._pointerDown(e,e.changedTouches[0])},n.onpointerdown=function(e){this._pointerDown(e,e)},n._pointerDown=function(e,t){e.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==t.pointerId?t.pointerId:t.identifier,this.pointerDown(e,t))},n.pointerDown=function(e,t){this._bindPostStartEvents(e),this.emitEvent("pointerDown",[e,t])};var o={mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]};return n._bindPostStartEvents=function(t){if(t){var i=o[t.type];i.forEach((function(t){e.addEventListener(t,this)}),this),this._boundPointerEvents=i}},n._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach((function(t){e.removeEventListener(t,this)}),this),delete this._boundPointerEvents)},n.onmousemove=function(e){this._pointerMove(e,e)},n.onpointermove=function(e){e.pointerId==this.pointerIdentifier&&this._pointerMove(e,e)},n.ontouchmove=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerMove(e,t)},n._pointerMove=function(e,t){this.pointerMove(e,t)},n.pointerMove=function(e,t){this.emitEvent("pointerMove",[e,t])},n.onmouseup=function(e){this._pointerUp(e,e)},n.onpointerup=function(e){e.pointerId==this.pointerIdentifier&&this._pointerUp(e,e)},n.ontouchend=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerUp(e,t)},n._pointerUp=function(e,t){this._pointerDone(),this.pointerUp(e,t)},n.pointerUp=function(e,t){this.emitEvent("pointerUp",[e,t])},n._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},n._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},n.pointerDone=function(){},n.onpointercancel=function(e){e.pointerId==this.pointerIdentifier&&this._pointerCancel(e,e)},n.ontouchcancel=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerCancel(e,t)},n._pointerCancel=function(e,t){this._pointerDone(),this.pointerCancel(e,t)},n.pointerCancel=function(e,t){this.emitEvent("pointerCancel",[e,t])},i.getPointerPoint=function(e){return{x:e.pageX,y:e.pageY}},i}))},{"ev-emitter":46}],48:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n,o=e("./constants/PlayerStates"),r=(n=o)&&n.__esModule?n:{default:n};i.default={pauseVideo:{acceptableStates:[r.default.ENDED,r.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[r.default.ENDED,r.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[r.default.ENDED,r.default.PLAYING,r.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},t.exports=i.default},{"./constants/PlayerStates":50}],49:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=a(e("debug")),o=a(e("./FunctionStateMap")),r=a(e("./eventNames")),s=a(e("./functionNames"));
94function a(e){return e&&e.__esModule?e:{default:e}}const l=(0,n.default)("youtube-player"),c={proxyEvents:e=>{const t={};for(const i of r.default){const n="on"+i.slice(0,1).toUpperCase()+i.slice(1);t[n]=t=>{l('event "%s"',n,t),e.trigger(i,t)}}return t},promisifyPlayer:(e,t=!1)=>{const i={};for(const n of s.default)t&&o.default[n]?i[n]=(...t)=>e.then((e=>{const i=o.default[n],r=e.getPlayerState(),s=e[n].apply(e,t);return i.stateChangeRequired||Array.isArray(i.acceptableStates)&&!i.acceptableStates.includes(r)?new Promise((t=>{const n=()=>{const o=e.getPlayerState();let r;"number"==typeof i.timeout&&(r=setTimeout((()=>{e.removeEventListener("onStateChange",n),t()}),i.timeout)),Array.isArray(i.acceptableStates)&&i.acceptableStates.includes(o)&&(e.removeEventListener("onStateChange",n),clearTimeout(r),t())};e.addEventListener("onStateChange",n)})).then((()=>s)):s})):i[n]=(...t)=>e.then((e=>e[n].apply(e,t)));return i}};i.default=c,t.exports=i.default},{"./FunctionStateMap":48,"./eventNames":51,"./functionNames":52,debug:55}],50:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},t.exports=i.default},{}],51:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],t.exports=i.default},{}],52:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","
94setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe","getSphericalProperties","setSphericalProperties"],t.exports=i.default},{}],53:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=s(e("sister")),o=s(e("./YouTubePlayer")),r=s(e("./loadYouTubeIframeApi"));function s(e){return e&&e.__esModule?e:{default:e}}let a;i.default=(e,t={},i=!1)=>{const s=(0,n.default)();if(a||(a=(0,r.default)(s)),t.events)throw new Error("Event handlers cannot be overwritten.");if("string"==typeof e&&!document.getElementById(e))throw new Error('Element "'+e+'" does not exist.');t.events=o.default.proxyEvents(s);const l=new Promise((i=>{if("object"==typeof e&&e.playVideo instanceof Function){i(e)}else a.then((n=>{const o=new n.Player(e,t);return s.on("ready",(()=>{i(o)})),null}))})),c=o.default.promisifyPlayer(l,i);return c.on=s.on,c.off=s.off,c},t.exports=i.default},{"./YouTubePlayer":49,"./loadYouTubeIframeApi":54,sister:43}],54:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n,o=e("load-script"),r=(n=o)&&n.__esModule?n:{default:n};i.default=e=>new Promise((t=>{if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function)return void t(window.YT);{const t="http:"===window.location.protocol?"http:":"https:";(0,r.default)(t+"//www.youtube.com/iframe_api",(t=>{t&&e.trigger("error",t)}))}const i=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{i&&i(),t(window.YT)}})),t.exports=i.default},{"load-script":39}],55:[function(e,t,i){(function(n){(function(){i.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const i="color: "+this.color;e.splice(1,0,i,"color: inherit");let n=0,o=0;e[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))})),e.splice(o,0,i)},i.save=function(e){try{e?i.storage.setItem("debug",e):i.storage.removeItem("debug")}catch(e){}},i.load=function(){let e;try{e=i.storage.getItem("debug")}catch(e){}!e&&void 0!==n&&"env"in n&&(e=n.env.DEBUG);return e},i.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},i.storage=function(){try{return localStorage}catch(e){}}(),i.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),i.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#F
94F6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],i.log=console.debug||console.log||(()=>{}),t.exports=e("./common")(i);const{formatters:o}=t.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this)}).call(this,e("_process"))},{"./common":56,_process:42}],56:[function(e,t,i){t.exports=function(t){function i(e){let t,o,r,s=null;function a(...e){if(!a.enabled)return;const n=a,o=Number(new Date),r=o-(t||o);n.diff=r,n.prev=t,n.curr=o,t=o,e[0]=i.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((t,o)=>{if("%%"===t)return"%";s++;const r=i.formatters[o];if("function"==typeof r){const i=e[s];t=r.call(n,i),e.splice(s,1),s--}return t})),i.formatArgs.call(n,e);(n.log||i.log).apply(n,e)}return a.namespace=e,a.useColors=i.useColors(),a.color=i.selectColor(e),a.extend=n,a.destroy=i.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(o!==i.namespaces&&(o=i.namespaces,r=i.enabled(e)),r),set:e=>{s=e}}),"function"==typeof i.init&&i.init(a),a}function n(e,t){const n=i(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return i.debug=i,i.default=i,i.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},i.disable=function(){const e=[...i.names.map(o),...i.skips.map(o).map((e=>"-"+e))].join(",");return i.enable(""),e},i.enable=function(e){let t;i.save(e),i.namespaces=e,i.names=[],i.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(t=0;t<o;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?i.skips.push(new RegExp("^"+e.slice(1)+"$")):i.names.push(new RegExp("^"+e+"$")))},i.enabled=function(e){if("*"===e[e.length-1])return!0;let t,n;for(t=0,n=i.skips.length;t<n;t++)if(i.skips[t].test(e))return!1;for(t=0,n=i.names.length;t<n;t++)if(i.names[t].test(e))return!0;return!1},i.humanize=e("ms"),i.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach((e=>{i[e]=t[e]})),i.names=[],i.skips=[],i.formatters={},i.selectColor=function(e){let t=0;for(let i=0;i<e.length;i++)t=(t<<5)-t+e.charCodeAt(i),t|=0;return i.colors[Math.abs(t)%i.colors.length]},i.enable(i.load()),i}},{ms:57}],57:[function(e,t,i){var n=1e3,o=60*n,r=60*o,s=24*r,a=7*s,l=365.25*s;function c(e,t,i,n){var o=t>=1.5*i;return Math.round(e/i)+" "+n+(o?"s":"")}t.exports=function(e,t){t=t||{};var i=typeof e;if("string"===i&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var i=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return i*l;case"weeks":case"week":case"w":return i*a;case"days":case"day":case"d":return i*s;case"hours":case"hour":case"hrs":case"hr":case"h":return i*r;case"minutes":case"minute":case"mins":case"min":case"m":return i*o;case"seconds":case"second":case"secs":case"sec":case"s":return i*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}(e);if("number"===i&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=s)return c(e,t,s,"day");if(t>=r)return c(e,t,r,"hour");if(t>=o)return c(e,t,o,"minute");if(t>=n)return c(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=s)return Math.round(e/s)+"d";if(t>=r)return Math.round(e/r)+"h";if(t>=o)return Math.round(e/o)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},{}],58:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.AccordionJS=void 0;var n=e("accordion-js"),o=function(){function e(e){e&&(this.element=e,this.init())}return e.prototype.init=function(){new n(this.element,{duration:100,elementClass:"accordion__accordion",triggerClass:"accordion__trigger",panelClass:"accordion__content",showMultiple:!1,ariaEnabled:!0})},e}();i.AccordionJS=o,i.default=function(){for(var e=document.querySelectorAll(".accordion"),t=0;t<e.length;t++)new o(e[t])}},{"accordion-js":2}],59:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.atozSearch=void 0;var n=function(){function e(e){e&&(this.formElement=e.querySelector("#atoz-search__form"),this.searchInput=e.querySelector("#atozSearch"),this.atozListContainer=e.querySelector("#atoz-linklist"),this.linkList=e.querySelector("#atoz-linklist"),this.init())}return e.prototype.init=function(){this.getListData()},e.prototype.getListData=function(){var e=this,t=new XMLHttpRequest;t.open("GET","/atoz-list/",!0),t.onload=function(){if(t.status>=200&&t.status<300){var i=document.getElementById("atoz-linklist");i.innerHTML=t.responseText,e.fulllistItemArray=Array.from(i.querySelectorAll("li")),e.fulllistItemArray.sort((function(e,t){return e.textContent.toUpperCase()<t.textContent.toUpperCase()?-1:1})),i.innerHTML="",e.fulllistItemArray.forEach((function(e){return i.appendChild(e)})),e.addEventListeners()}},t.onerror=function(){console.error("Request failed")},t.send()},e.prototype.addEventListeners=function(){var e=this;this.searchInput.addEventListener("input",(function(t){t.preventDefault();var i=e.searchInput.value.toLowerCase();e.filterLinkList(i)}))},e.prototype.filterLinkList=function(e){var t=this,i=[];this.atozListContainer.innerHTML="",this.fulllistItemArray.forEach((function(n){n.getAttribute("data-title").toLowerCase().includes(e)&&(i.push(n),t.atozListContainer.appendChild(n))}))},e}();i.atozSearch=n,i.default=function(){var e=document.querySelector("#atoz-search");new n(e)}},{}],60:[function(e,t,i){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(i,"__esModule",{value:!0}),i.Card=void 0;var o={clickable:!0,titleClass:"card__title",ctaClass:"card__link"},r=function(){function e(e,t){void 0===t&&(t=o),this.clickable=!1,e&&(this.element=e,this.options=n(n({},o),t),this.titleLink=this.element.querySelector(".".concat(this.options.titleClass," a")),this.cta=this.element.querySelector(".".concat(this.options.ctaClass)),this.clickable=this.options.clickable&&"false"!==this.element.dataset.clickable&&(!!this.cta||!!this.titleLink),this.init())}return Object.defineProperty(e.prototype,"href",{get:function(){return this.titleLink?this.titleLink.href:this.cta?this.cta.href:""}
94,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){return this.element.dataset.target?this.element.dataset.target:this.titleLink?this.titleLink.target:this.cta?this.cta.target:""},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.clickable&&this.makeEntireCardClickable()},e.prototype.makeEntireCardClickable=function(){var e=this;this.element.classList.add("card--clickable"),this.element.addEventListener("click",(function(t){"A"!==t.target.tagName&&("_blank"===e.target?window.open().location.href=e.href:window.location.href=e.href)}))},e}();i.Card=r,i.default=function(){for(var e=document.querySelectorAll(".card"),t=0;t<e.length;t++)new r(e[t])}},{}],61:[function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0}),i.Carousel=void 0;var o=n(e("flickity"));e("flickity-imagesloaded");var r=n(e("lodash.debounce")),s=function(){function e(e){e&&e.querySelector(".carousel")&&(this.element=e,this.elementNavNext=this.element.querySelector(".carousel__nav-next"),this.elementNavPrevious=this.element.querySelector(".carousel__nav-previous"),this.carouselContainer=this.element.querySelector(".carousel"),this.navSizer=this.element.querySelector(".carousel__nav-sizer"),this.centerSlide=this.element.querySelector(".carousel__slide:first-child .carousel__slide-image-holder"),this.init())}return e.prototype.init=function(){this.handleCarousel(),this.handleResize()},e.prototype.handleResize=function(){var e=this,t=function(){e.setNavPosition()};window.addEventListener("resize",(0,r.default)(t,100)),t()},e.prototype.handleCarousel=function(){var e=this;this.carousel=new o.default(this.element.querySelector(".carousel"),{contain:!0,imagesLoaded:!0,wrapAround:!0,lazyLoad:2,pageDots:!1,prevNextButtons:!1,adaptiveHeight:!0,on:{ready:function(){setTimeout((function(){e.addCarou
94selEventlisteners(),e.handleInactiveSlideLinks(),e.setNavPosition(),e.carousel.resize()}),500)}}})},e.prototype.setNavPosition=function(){this.navSizer.style.paddingTop=this.centerSlide.offsetHeight/2+"px";var e=(window.innerWidth-this.centerSlide.offsetWidth)/2+"px";this.elementNavPrevious.style.left=e,this.elementNavNext.style.right=e},e.prototype.addCarouselEventlisteners=function(){var e=this;if(this.elementNavNext.addEventListener("click",(function(t){e.carousel.next()})),this.elementNavPrevious.addEventListener("click",(function(t){e.carousel.previous()})),this.elementNavDots){var t=this.elementNavDots.querySelectorAll("button");this.carousel.on("change",(function(i){var n,o=e.elementNavDots.querySelector(".is-selected");null==o||o.classList.remove("is-selected"),null===(n=t[i])||void 0===n||n.classList.add("is-selected"),e.handleInactiveSlideLinks()})),this.elementNavDots.addEventListener("click",(function(t){var i=t.target.closest("li"),n=Array.from(e.elementNavDots.children).indexOf(i);e.carousel.select(n)}))}},e.prototype.createNavDots=function(){var e=document.createElement("UL");e.className="flickity-page-dots";for(var t=0;t<this.carousel.cells.length;t++){var i=document.createElement("LI"),n=document.createElement("BUTTON");n.classList.add("flickity-page-dot");var o=document.createElement("SPAN");0===t&&n.classList.add("is-selected"),o.className="visible-for-screen-readers",o.textContent="Navigate to slide ".concat(t+1),n.appendChild(o),i.appendChild(n),e.appendChild(i)}this.elementNavDots=e,this.carouselContainer.appendChild(this.elementNavDots)},e.prototype.handleInactiveSlideLinks=function(){var e=this.element.querySelectorAll(".carousel__slide"),t=this.element.querySelectorAll("a[href], button:not(.carousel__nav-previous):not(.carousel__nav-next):not(.flickity-page-dot), input, textarea, select, details, audio, video, iframe, .flickity-enabled, table, .table");e.forEach((function(e){"true"===e.getAttribute("aria-hidden")?t.forEach((function(t){e.contains(t)&&t.setAttribute("tabindex","-1")})):t.forEach((function(t){e.contains(t)&&t.removeAttribute("tabindex")}))}))},e}();i.Carousel=s,i.default=function(){for(var e=document.querySelectorAll(".carousel__holder"),t=0;t<e.length;t++)new s(e[t])}},{flickity:29,"flickity-imagesloaded":6,"lodash.debounce":40}],62:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.cookieBar=void 0;var n=e("js-cookie"),o=function(){function e(e){e&&(this.element=e,this.accept=this.element.querySelector(".privacy-consent__accept"),this.init())}return e.prototype.init=function(){var e=this;void 0===n.get("__id5_cookie_privacy")?this.element.removeAttribute("hidden"):this.element.remove(),this.accept.addEventListener("click",(function(){e.element.classList.add("fade-out"),n.set("__id5_cookie_privacy",!0),setTimeout((function(){e.element.remove()}),300)}))},e}();i.cookieBar=o,i.default=function(){var e=document.querySelectorAll(".privacy-consent");if(e.length>0)for(var t=0;t<e.length;t++)new o(e[t])}},{"js-cookie":38}],63:[function(e,t,i){"use strict";
94var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(i,"__esModule",{value:!0}),i.EventsCard=void 0;var r=function(e){function t(t,i){return e.call(this,t,i)||this}return o(t,e),t}(e("./card").Card);i.EventsCard=r,i.default=function(){for(var e=document.querySelectorAll(".calendar_events .event"),t=0;t<e.length;t++)new r(e[t],{clickable:!0,ctaClass:"eventtitle"})}},{"./card":60}],64:[function(e,t,i){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(i,"__esModule",{value:!0}),i.FactFeatureCard=void 0;var r=function(e){function t(t,i){return e.call(this,t,i)||this}return o(t,e),t}(e("./card").Card);i.FactFeatureCard=r,i.default=function(){for(var e=document.querySelectorAll(".facts-feature__feature-item"),t=0;t<e.length;t++)new r(e[t],{clickable:!0,ctaClass:"feature-item__link"})}},{"./card":60}],65:[function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0}),i.FactsFeature=void 0;var o=n(e("flickity"));e("flickity-imagesloaded");var r=n(e("lodash.debounce")),s=window.matchMedia("(max-width: 1024px)"),a=function(){function e(e){this.carouselInitialized=!1,e&&(this.element=e,this.elementNavNext=this.element.querySelector(".facts-feature__nav-next"),this.elementNavPrevious=this.element.querySelector(".facts-feature__nav-previous"),this.navSizer=this.element.querySelector(".facts-feature__nav-sizer"),this.introSlide=this.element.querySelector(".facts-feature__intro"),this.centerSlide=this.element.querySelector(".facts-feature__feature-item:first-child"),this.init())}return e.prototype.init=function(){this.handleResize()},e.prototype.handleResize=function(){var e=this,t=function(){e.handleCarousel()};window.addEventListener("resize",(0,r.default)(t,100)),t()},e.prototype.handleCarousel=function(){var e=this;this.carouselInitialized?s.matches||(this.factsFeatureGallery.destroy(),this.carouselInitialized=!1,this.factsFeatureGallery=null):s.matches&&(this.factsFeatureGallery=new o.default(this.element.querySelector(".facts-feature__carousel"),{contain:!0,imagesLoaded:!0,watchCSS:!1,wrapAround:!0,lazyLoad:2,pageDots:!1,prevNextButtons:!1,adaptiveHeight:!0,on:{ready:function(){setTimeout((function(){e.createNavDots(),e.handleInactiveSlideLinks(),e.addTileGalleryEventlisteners(),e.setNavPosition()}),500)}}}),this.carouselInitialized=!0)},e.prototype.setNavPosition=function(){this.navSizer.style.paddingTop=this.introSlide.offsetHeight+this.centerSlide.offsetHeight+"px"},e.prototype.addTileGalleryEventlisteners=function(){var e=this;if(this.elementNavNext.addEventListener("click",(function(t){e.factsFeatureGallery.next()})),this.elementNavPrevious.addEventListener("click",(function(t){e.factsFeatureGallery.previous()})),this.elementNavDots){var t=this.elementNavDots.querySelectorAll("button");this.factsFeatureGallery.on("change",(function(i){var n,o=e.elementNavDots.querySelector(".is-selected");null==o||o.classList.remove("is-selected"),null===(n=t[i])||void 0===n||n.classList.add("is-selected"),e.handleInactiveSlideLinks()})),this.elementNavDots.addEventListener("click",(function(t){var i=t.target.closest("li"),n=Array.from(e.elementNavDots.children).indexOf(i);e.factsFeatureGallery.select(n)}))}},e.prototype.createNavDots=function(){if(!this.elementNavDots){var e=document.createElement("UL");e.className="flickity-page-dots";for(var t=0;t<this.factsFeatureGallery.cells.length;t++){var i=document.createElement("LI"),n=document.createElement("BUTTON");n.classList.add("flickity-page-dot");var o=document.createElement("SPAN");0===t&&n.classList.add("is-selected"),o.className="visible-for-screen-readers",o.textContent="Navigate to slide ".concat(t+1),n.appendChild(o),i.appendChild(n),e.appendChild(i)}this.elementNavDots=e,this.element.appendChild(this.elementNavDots)}},e.prototype.handleInactiveSlideLinks=function(){var e=this.element.querySelectorAll(".facts-feature__feature-item"),t=this.element.querySelectorAll("a[href], button:not(.facts-feature-previous):not(.facts-feature-next):not(.flickity-page-dot), input, textarea, select, details, audio, video, iframe, .flickity-enabled, table, .table");e.forEach((function(e){"true"===e.getAttribute("aria-hidden")?t.forEach((function(t){e.contains(t)&&t.setAttribute("tabindex","-1")})):t.forEach((function(t){e.contains(t)&&t.removeAttribute("tabindex")}))}))},e}();i.FactsFeature=a,i.default=function(){for(var e=document.querySelectorAll(".facts-feature__holder"),t=0;t<e.length;t++)new a(e[t])}},{flickity:29,"flickity-imagesloaded":6,"lodash.debounce":40}],66:[function(e,t,i){"use strict";
94var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(i,"__esModule",{value:!0}),i.FeaturedEventCard=void 0;var r=function(e){function t(t,i){return e.call(this,t,i)||this}return o(t,e),t}(e("./card").Card);i.FeaturedEventCard=r,i.default=function(){for(var e=document.querySelectorAll(".events-listing__featured-event"),t=0;t<e.length;t++)new r(e[t],{clickable:!0,ctaClass:"featured-event__link"})}},{"./card":60}],67:[function(e,t,i){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(i,"__esModule",{value:!0}),i.FeaturedNewsCard=void 0;var r=function(e){function t(t,i){return e.call(this,t,i)||this}return o(t,e),t}(e("./card").Card);i.FeaturedNewsCard=r,i.default=function(){for(var e=document.querySelectorAll(".featured-news__item"),t=0;t<e.length;t++)new r(e[t],{clickable:!0,ctaClass:"featured-news__headline-link"})}},{"./card":60}],68:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.HighlightTabs=void 0;var n=function(){function e(e){e&&(this.highlightSection=e,this.tabButtons=e.querySelectorAll(".icon-button"),this.highlightPanels=e.querySelectorAll(".highlights-section__highlight"),this.init())}return e.prototype.init=function(){this.setInitialState(),this.addEventListeners()},e.prototype.setInitialState=function(){var e=this;this.tabButtons.forEach((function(t,i){0==i?(t.classList.toggle("--active",!0),t.setAttribute("aria-expanded","true"),e.lastClickedButton=t):t.setAttribute("aria-expanded","false")})),this.highlightPanels.forEach((function(e,t){0==t?(e.classList.toggle("--active",!0),e.setAttribute("aria-hidden","false"),e.querySelector(".primary-link").setAttribute("tab-index","1")):(e.setAttribute("aria-hidden","true"),e.querySelector(".primary-link").setAttribute("tab-index","-1"))}))},e.prototype.addEventListeners=function(){var e=this;this.tabButtons.forEach((function(t,i){t.setAttribute("data-target",(i+1).toString()),t.addEventListener("click",(function(t){t.preventDefault(),t.currentTarget!=e.lastClickedButton&&(e.toggleButtons(i+1),e.showPanel(i+1),e.lastClickedButton=t.currentTarget)}))}))},e.prototype.toggleButtons=function(e){this.tabButtons.forEach((function(t){t.getAttribute("data-target")==e.toString()?(t.classList.toggle("--active",!0),t.setAttribute("aria-expanded","true")):(t.classList.toggle("--active",!1),t.setAttribute("aria-expanded","false"))}))},e.prototype.showPanel=function(e){this.highlightSection.querySelectorAll(".highlights-section__highlight.--animate-out").forEach((function(e){e.classList.toggle("--animate-out",!1)})),this.highlightSection.querySelector(".highlights-section__highlight.--active").classList.toggle("--animate-out",!0),this.highlightPanels.forEach((function(t){t.getAttribute("data-panelindex")==e.toString()?(t.classList.toggle("--active",!0),t.setAttribute("aria-hidden","false"),t.querySelector(".primary-link").removeAttribute("tab-index")):(t.classList.toggle("--active",!1),t.setAttribute("aria-hidden","true"),t.querySelector(".primary-link").setAttribute("tab-index","-1"))}))},e}();i.HighlightTabs=n,i.default=function(){document.querySelectorAll(".highlights-section").forEach((function(e){new n(e)}))}},{}],69:[function(e,t,i){"use strict";
94var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(i,"__esModule",{value:!0}),i.HomepageNewsCard=void 0;var r=function(e){function t(t,i){return e.call(this,t,i)||this}return o(t,e),t}(e("./card").Card);i.HomepageNewsCard=r,i.default=function(){for(var e=document.querySelectorAll(".homepage-news-feature__feature, .homepage-news-feature__subfeature"),t=0;t<e.length;t++)new r(e[t],{clickable:!0,ctaClass:"homepage-news__link"})}},{"./card":60}],70:[function(e,t,i){"use strict";var n=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,o=0,r=t.length;o<r;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0}),i.Modal=void 0;var r=e("micromodal"),s=o(e("../utilities/accessibility")),a=function(){function e(e){var t=this;e&&(this.element=e,this.modalId=this.element.id,this.triggers=document.querySelectorAll('[data-micromodal-trigger="'.concat(this.modalId,'"]')),this.closers=this.element.querySelectorAll("[data-micromodal-close]"),this.micromodalOptions={onShow:function(e){document.body.style.overflow="hidden"},onClose:function(e){document.body.style.removeProperty("overflow");var i=t.element.querySelector("iframe");
94i&&(i.src=i.src)},openClass:"is-open",disableScroll:!1,awaitOpenAnimation:!0,awaitCloseAnimation:!0,disableFocus:!0},this.init())}return e.prototype.init=function(){this.convertAnchorsToButtons(),this.initializeModals(),this.moveModalToBottomOfBody(),this.disableInnerLinkTabbing(),this.mutationObserveAriaHidden()},e.prototype.convertAnchorsToButtons=function(){for(var e=this.element.querySelectorAll("a[data-micromodal-close]"),t=n(n([],Array.from(this.triggers),!0),Array.from(e),!0),i=0;i<t.length;i++)s.default.convertAnchorToButton(t[i])},e.prototype.initializeModals=function(){r.init(this.micromodalOptions)},e.prototype.moveModalToBottomOfBody=function(){document.body.appendChild(this.element)},e.prototype.disableInnerLinkTabbing=function(){this.element.querySelectorAll("a[href]:not(.skip-link), button, input, textarea, select, form, details, audio, video, iframe, table").forEach((function(e){e.setAttribute("tabindex","-1")}))},e.prototype.enableInnerLinkTabbing=function(){this.element.querySelectorAll("a[href]:not(.skip-link), button, input, textarea, select, form, details, audio, video, iframe, table").forEach((function(e){e.removeAttribute("tabindex")}))},e.prototype.mutationObserveAriaHidden=function(){var e=this,t=this.element,i=t.getAttribute("aria-hidden");new MutationObserver((function(t){t.forEach((function(t){if("aria-hidden"===t.attributeName){var n=t.target.getAttribute("aria-hidden");i!==n&&(i=n,"true"===n?e.disableInnerLinkTabbing():e.enableInnerLinkTabbing())}}))})).observe(t,{attributes:!0,attributeFilter:["aria-hidden"]})},e}();i.Modal=a,i.default=function(){for(var e=document.querySelectorAll(".modal__lightbox"),t=0;t<e.length;t++)new a(e[t])}},{"../utilities/accessibility":80,micromodal:41}],71:[function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0}),i.SecondarySubnav=void 0;var o=n(e("lodash.debounce")),r=window.matchMedia("(max-width: 1023px)"),s=function(){function e(e){this.expanded=!1,e&&(this.element=e,this.list=this.element.querySelector(".secondary-subnav__list"),this.innerLinks=this.list.querySelectorAll("ul li a"),this.init())}return e.prototype.init=function(){this.createMobileToggle(),this.handleResize(),this.handleToggleClick(),this.handleListTransition()},e.prototype.handleResize=function(){var e=this,t=function(){r.matches?(e.toggle.setAttribute("aria-expanded","".concat(e.expanded)),e.list.setAttribute("aria-hidden","".concat(!e.expanded)),e.innerLinks.forEach((function(e){e.setAttribute("tabindex","-1")}))):(e.list.style.height=null,e.list.removeAttribute("aria-hidden"),e.innerLinks.forEach((function(e){e.removeAttribute("tabindex")}))),e.handleEscKey(),e.handleTabbingPast(),e.closeOnOutsideClick()};window.addEventListener("resize",(0,o.default)(t,150)),t()},e.prototype.handleListTransition=function(){var e=this;this.list.addEventListener("transitionend",(function(t){"height"===t.propertyName&&(e.list.style.height=null)}))},e.prototype.handleToggleClick=function(){var e=this;this.toggle.addEventListener("click",(function(){e.expanded=!e.expanded,e.toggleVisibility()}))},e.prototype.createMobileToggle=function(){this.toggle=document.createElement("BUTTON"),this.toggle.className="secondary-subnav__toggle",this.toggle.id="secondary-subnav-toggle",this.toggle.innerHTML="<span>Pages in This Section</span>",this.toggle.setAttribute("aria-controls","secondary-subnav-list"),this.toggle.setAttribute("aria-haspopup","true"),this.element.insertBefore(this.toggle,this.element.children[0])},e.prototype.toggleVisibility=function(){this.toggle.setAttribute("aria-expanded","".concat(this.expanded)),this.list.setAttribute("aria-hidden","".concat(!this.expanded)),!0===this.expanded?this.innerLinks.forEach((function(e){e.removeAttribute("tabindex")})):this.innerLinks.forEach((function(e){e.setAttribute("tabindex","-1")}))},e.prototype.handleEscKey=function(){var e=this;r.matches&&document.addEventListener("keydown",(function(t){var i=t.key||t.keyCode;"Escape"!==i&&"Esc"!==i&&27!==i||"false"===e.list.getAttribute("aria-hidden")&&(e.expanded=!e.expanded,e.toggleVisibility())}))},e.prototype.handleTabbingPast=function(){var e=this;this.innerLinks[this.innerLinks.length-1].addEventListener("keydown",(function(t){t.key||t.keyCode;"Tab"!==t.key||t.shiftKey||r.matches&&(e.expanded=!e.expanded,e.toggleVisibility())}))},e.prototype.closeOnOutsideClick=function(){var e=this;document.body.addEventListener("click",(function(t){var i=t.target;"false"===e.list.getAttribute("aria-hidden")&&!e.element.contains(i)&&r.matches&&(e.expanded=!e.expanded,e.toggleVisibility())}))},e}();i.SecondarySubnav=s,i.default=function(){new s(document.querySelector(".secondary-subnav"))}},{"lodash.debounce":40}],72:[function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esMo
94dule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0}),i.SiteHeader=void 0;var o=n(e("../utilities/accessibility")),r=e("headroom.js"),s=function(){function e(e){this.menuButtons=[],this.menuCloseButtons=[],this.visible=!1,this.eventHandlers={show:[],hide:[]},e&&(this.element=e,this.skipLink=document.querySelector(".skip-link"),this.mainMenuButton=o.default.convertAnchorToButton(document.querySelector(".main-site-header__mega-menu-open[aria-controls='site-header-mega-menu']")),this.searchMenuButton=o.default.convertAnchorToButton(document.querySelector(".main-site-header__search[aria-controls='site-header-search-menu']")),this.atozMenuButton=o.default.convertAnchorToButton(document.querySelector(".main-site-header__atoz[aria-controls='site-header-atoz-menu']")),this.menuButtons=[this.mainMenuButton,this.searchMenuButton,this.atozMenuButton],this.siteHeaderContainer=document.querySelector(".main-site-header"),this.headerMenuBodyOverlay=this.siteHeaderContainer.querySelector(".header-menu-body-overlay"),this.subNavs=document.querySelectorAll(".main-site-header__mega-menu-main-nav-subnav"),this.megaMenuSubnavTriggers=document.querySelectorAll(".site-header__mega-menu-main-top-link--with-submenu"),this.subNavBackButtons=document.querySelectorAll(".main-site-header__mega-menu-main-nav-subnav-link-back"),this.backgroundPanel=document.querySelector("#site-header-background-panel"),this.mainMenuButton=o.default.convertAnchorToButton(document.querySelector(".main-site-header__mega-menu--close[aria-controls='site-header-mega-menu']")),this.searchMenuButton=o.default.convertAnchorToButton(document.querySelector(".main-site-header__mega-menu--close[aria-controls='site-header-search-menu']")),this.atozMenuButton=o.default.convertAnchorToButton(document.querySelector(".main-site-header__mega-menu--close[aria-controls='site-header-atoz-menu']")),this.searchForm=document.querySelector(".main-site-header__search-form"),this.searchFormInput=this.searchForm.querySelector("#siteHeaderSearch"),this.menuCloseButtons=[this.mainMenuButton,this.searchMenuButton,this.atozMenuButton],this.mainPageContent=document.querySelector("main"),this.siteFooter=document.querySelector(".site-footer"),this.init())}return e.prototype.init=function(){this.applyReadyClassOnLoad(),this.handleEsc(),this.handleSkipLinkClick(),this.initialSettings(),this.handleOpeningMenus(),this.handleClosingMenus(),this.handleTransitionEnd(),this.handleSubnavTriggers(),this.handleSubnavBackButtons(),this.initStickyNav(),this.closeMenuOnClickOff(),this.detectResize(),this.handleTallMenuOnDesktop()},e.prototype.detectResize=function(){var e=this,t=!1;window.addEventListener("resize",(function(){t||(window.requestAnimationFrame((function(){e.handleTallMenuOnDesktop(),t=!1})),t=!0)}),!0)},e.prototype.applyReadyClassOnLoad=function(){document.querySelector(".main-site-header").classList.add("main-site-header--ready")},e.prototype.handleSubnavTriggers=function(){var e=this;this.megaMenuSubnavTriggers.forEach((function(t){t.addEventListener("click",(function(i){i.preventDefault();var n=document.querySelector("#"+t.getAttribute("aria-controls"));e.transitionSubNav(n)}))}))},e.prototype.transitionSubNav=function(e){this.subNavs.forEach((function(e){e.setAttribute("aria-hidden","true")})),e.setAttribute("aria-hidden","false")},e.prototype.handleSubnavBackButtons=function(){var e=this;this.subNavBackButtons.forEach((function(t){t.addEventListener("click",(function(t){e.resetSubNavs()}))}))},e.prototype.resetSubNavs=function(){this.subNavs.forEach((function(e){e.setAttribute("aria-hidden","true")}))},e.prototype.handleEsc=function(){var e=this;window.addEventListener("keyup",(function(t){var i=t.key||t.keyCode;"Escape"!==i&&"Esc"!==i&&27!==i||(e.menuButtons.forEach((function(e){"true"===e.getAttribute("aria-expanded")&&e.setAttribute("aria-expanded","false"),e.classList.toggle("menu__button--is-expanded",!1)})),"false"===e.element.getAttribute("aria-hidden")&&(e.headerMenuBodyOverlay.classList.toggle("--active",!1),e.backgroundPanel.classList.toggle("--active",!1),e.resetSubNavs(),e.element.setAttribute("aria-hidden","true"),e.element.classList.add("transitioning"),e.siteHeaderContainer.classList.remove("main-site-header-open"),document.body.classList.remove("body--site-header-open")),e.mainPageContent.setAttribute("aria-hidden","false"),e.siteFooter.setAttribute("aria-hidden","false"))}))},e.prototype.handleSkipLinkClick=function(){var e=this;this.skipLink.addEventListener("click",(function(){e.menuButtons.forEach((function(e){"true"===e.getAttribute("aria-expanded")&&e.setAttribute("aria-expanded","fal
94se")})),"false"===e.element.getAttribute("aria-hidden")&&(e.element.setAttribute("aria-hidden","true"),e.element.classList.add("transitioning"),e.siteHeaderContainer.classList.remove("main-site-header-open"),document.body.classList.remove("body--site-header-open")),e.mainPageContent.setAttribute("aria-hidden","false"),e.siteFooter.setAttribute("aria-hidden","false"),e.resetSubNavs(),e.backgroundPanel.classList.toggle("--active",!1),document.body.classList.remove("body--site-header-open"),e.siteHeaderContainer.classList.remove("main-site-header-open"),e.headerMenuBodyOverlay.classList.toggle("--active",!1)}))},e.prototype.initialSettings=function(){this.menuButtons.forEach((function(e){e.setAttribute("aria-expanded","false")})),this.element.setAttribute("aria-hidden","true")},e.prototype.handleClosingMenus=function(){var e=this;this.menuCloseButtons.forEach((function(t){var i=document.querySelector("#".concat(t.getAttribute("aria-controls")));t.addEventListener("click",(function(t){e.resetSubNavs(),i.setAttribute("aria-hidden","true"),i.classList.add("transitioning"),e.backgroundPanel.classList.toggle("--active",!1),e.siteHeaderContainer.classList.remove("main-site-header-open"),e.headerMenuBodyOverlay.classList.remove("--active"),document.body.classList.remove("body--site-header-open"),e.menuButtons.forEach((function(e){e.setAttribute("aria-expanded","false"),e.classList.toggle("menu__button--is-expanded",!1)})),e.mainPageContent.setAttribute("aria-hidden","false"),e.siteFooter.setAttribute("aria-hidden","false")}))}))},e.prototype.resetOtherMenuButtons=function(e){this.menuButtons.forEach((function(t){t!=e&&(t.classList.toggle("menu__button--is-expanded",!1),t.setAttribute("aria-expanded","false"),document.querySelector("#"+t.getAttribute("aria-controls")).setAttribute("aria-hidden","true"))}))},e.prototype.handleOpeningMenus=function(){var e=this;this.menuButtons.forEach((function(t){var i=document.querySelector("#".concat(t.getAttribute("aria-controls")));t.addEventListener("click",(function(n){e.resetOtherMenuButtons(t),e.backgroundPanel.classList.toggle("--active",!0),t.classList.contains("menu__button--is-expanded")?(e.resetSubNavs(),e.backgroundPanel.classList.toggle("--active",!1),i.setAttribute("aria-hidden","true"),t.classList.toggle("menu__button--is-expanded",!1),t.setAttribute("aria-expanded","false"),document.body.classList.remove("body--site-header-open"),e.siteHeaderContainer.classList.remove("main-site-header-open"),e.headerMenuBodyOverlay.classList.toggle("--active",!1),i.classList.remove("transitioning"),e.mainPageContent.setAttribute("aria-hidden","false"),e.siteFooter.setAttribute("aria-hidden","false")):(t.setAttribute("aria-expanded","true"),t.classList.toggle("menu__button--is-expanded",!0),i.setAttribute("aria-hidden","false"),i.classList.add("transitioning"),e.siteHeaderContainer.classList.add("main-site-header-open"),document.body.classList.add("body--site-header-open"),e.headerMenuBodyOverlay.classList.toggle("--active",!0),e.mainPageContent.setAttribute("aria-hidden","true"),e.siteFooter.setAttribute("aria-hidden","true"))}))}))},e.prototype.handleTransitionEnd=function(){var e=this;this.element.addEventListener("transitionend",(function(t){t.target===t.currentTarget&&e.element.classList.contains("transitioning")&&e.element.classList.remove("transitioning")}))},e.prototype.initStickyNav=function(){var e=document.querySelector(".main-site-header");this.headroom=new r(e,{tolerance:5}),this.headroom.init()},e.prototype.closeMenuOnClickOff=function(){var e=this;this.headerMenuBodyOverlay.setAttribute("aria-hidden","true"),this.headerMenuBodyOverlay.addEventListener("click",(function(t){e.menuButtons.forEach((function(e){"true"===e.getAttribute("aria-expanded")&&e.setAttribute("aria-expanded","false"),e.classList.toggle("menu__button--is-expanded",!1)})),e.backgroundPanel.classList.toggle("--active",!1),e.headerMenuBodyOverlay.classList.toggle("--active",!1),"false"===e.element.getAttribute("aria-hidden")&&(e.element.setAttribute("aria-hidden","true"),e.element.classList.add("transitioning"),e.siteHeaderContainer.classList.remove("main-site-header-open"),document.body.classList.remove("body--site-header-open"))}))},e.prototype.handleTallMenuOnDesktop=function(){if(!(window.innerWidth<=1024)){var e=document.querySelector("#site-header-mega-menu .main-site-header__mega-menu-main .main-site-header__mega-menu-main-nav").clientHeight,t=Array.from(this.subNavs).reduce((function(e,t){var i=t.clientHeight;return i>e?i:e}),0);t>e&&document.documentElement.style.setProperty("--main-site-header__mega-menu-main-subnav-height","".concat(t-e,"px"))}},e.prototype.on=function(e,t){if(!this.eventHandlers.hasOwnProperty(e))throw new Error('Event type "'.concat(e,'" is not allowed for MegaMenu component.'));this.eventHandlers[e].push(t)},e.prototype.trigger=function(e){if(!this.eventHandlers.hasOwnProperty(e))throw new Error('Event type "'.concat(e,'" is not allowed for MegaMenu component.'));for(var t=0;t<this.eventHandlers[e].length;t++)this.eventHandlers[e][t]()},e}();i.SiteHeader=s,i.default=function(){for(var e=document.querySelectorAll(".main-site-header__mega-menu"),t=0;t<e.length;t++)new s(e[t])}},{"../utilities/accessibility":80,"headroom.js":36}],73:[function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esMo
94dule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0}),i.Subnav=void 0;var o=n(e("lodash.debounce")),r=window.matchMedia("(max-width: 1200px)"),s=function(){function e(e){this.expanded=!1,e&&(this.element=e,this.list=this.element.querySelector(".subnav__list"),this.innerLinks=this.list.querySelectorAll("ul li a"),this.init())}return e.prototype.init=function(){this.createMobileToggle(),this.handleResize(),this.handleToggleClick(),this.handleListTransition()},e.prototype.handleResize=function(){var e=this,t=function(){r.matches?(e.toggle.setAttribute("aria-expanded","".concat(e.expanded)),e.list.setAttribute("aria-hidden","".concat(!e.expanded)),e.innerLinks.forEach((function(e){e.setAttribute("tabindex","-1")}))):(e.list.style.height=null,e.list.removeAttribute("aria-hidden"),e.innerLinks.forEach((function(e){e.removeAttribute("tabindex")}))),e.handleEscKey(),e.handleTabbingPast(),e.closeOnOutsideClick()};window.addEventListener("resize",(0,o.default)(t,150)),t()},e.prototype.handleListTransition=function(){var e=this;this.list.addEventListener("transitionend",(function(t){"height"===t.propertyName&&(e.list.style.height=null)}))},e.prototype.handleToggleClick=function(){var e=this;this.toggle.addEventListener("click",(function(){e.expanded=!e.expanded,e.toggleVisibility()}))},e.prototype.createMobileToggle=function(){this.toggle=document.createElement("BUTTON"),this.toggle.className="subnav__toggle",this.toggle.id="subnav-toggle",this.toggle.innerHTML="<span>In This Section</span>",this.toggle.setAttribute("aria-controls","subnav-list"),this.toggle.setAttribute("aria-haspopup","true"),this.element.insertBefore(this.toggle,this.element.children[0])},e.prototype.toggleVisibility=function(){this.toggle.setAttribute("aria-expanded","".concat(this.expanded)),this.list.setAttribute("aria-hidden","".concat(!this.expanded)),!0===this.expanded?this.innerLinks.forEach((function(e){e.removeAttribute("tabindex")})):this.innerLinks.forEach((function(e){e.setAttribute("tabindex","-1")}))},e.prototype.handleEscKey=function(){var e=this;r.matches&&document.addEventListener("keydown",(function(t){var i=t.key||t.keyCode;"Escape"!==i&&"Esc"!==i&&27!==i||"false"===e.list.getAttribute("aria-hidden")&&(e.expanded=!e.expanded,e.toggleVisibility())}))},e.prototype.handleTabbingPast=function(){var e=this;this.innerLinks[this.innerLinks.length-1].addEventListener("keydown",(function(t){t.key||t.keyCode;"Tab"!==t.key||t.shiftKey||r.matches&&(e.expanded=!e.expanded,e.toggleVisibility())}))},e.prototype.closeOnOutsideClick=function(){var e=this;document.body.addEventListener("click",(function(t){var i=t.target;"false"===e.list.getAttribute("aria-hidden")&&!e.element.contains(i)&&r.matches&&(e.expanded=!e.expanded,e.toggleVisibility())}))},e}();i.Subnav=s,i.default=function(){new s(document.querySelector(".subnav"))}},{"lodash.debounce":40}],74:[function(e,t,i){"use strict";
94var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(i,"__esModule",{value:!0}),i.TileGalleryCard=void 0;var r=function(e){function t(t,i){return e.call(this,t,i)||this}return o(t,e),t}(e("./card").Card);i.TileGalleryCard=r,i.default=function(){for(var e=document.querySelectorAll(".tile-gallery__gallery-item"),t=0;t<e.length;t++)new r(e[t],{clickable:!0,ctaClass:"gallery-item__link"})}},{"./card":60}],75:[function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0}),i.TileGallery=void 0;var o=n(e("flickity"));e("flickity-imagesloaded");var r=window.matchMedia("(max-width: 1024px)"),s=function(){function e(e){this.carouselInitialized=!1,e&&e.querySelector(".tile-gallery")&&(this.element=e,this.elementNavNext=this.element.querySelector(".tile-gallery__nav-next"),this.elementNavPrevious=this.element.querySelector(".tile-gallery__nav-previous"),this.tileGalleryContainer=this.element.querySelector(".tile-gallery"),this.navSizer=this.element.querySelector(".tile-gallery__nav-sizer"),this.centerSlide=this.element.querySelector(".tile-gallery__gallery-item:first-child"),this.init())}return e.prototype.init=function(){this.handleResize()},e.prototype.handleResize=function(){var e=this,t=function(){e.handleCarousel()};r.addEventListener("change",t),t()},e.prototype.handleCarousel=function(){var e=this;this.carouselInitialized?r.matches||(this.tileGallery.destroy(),this.carouselInitialized=!1,this.tileGallery=null):r.matches&&(this.tileGallery=new o.default(this.element.querySelector(".tile-gallery"),{contain:!0,imagesLoaded:!0,watchCSS:!1,wrapAround:!0,lazyLoad:2,pageDots:!1,prevNextButtons:!1,adaptiveHeight:!0,on:{ready:function(){setTimeout((function(){e.handleInactiveSlideLinks(),e.createNavDots(),e.addTileGalleryEventlisteners(),e.setNavPosition(),e.tileGallery.resize()}),500)}}}),this.carouselInitialized=!0)},e.prototype.setNavPosition=function(){this.navSizer.style.paddingTop=this.centerSlide.offsetHeight/2+"px"},e.prototype.addTileGalleryEventlisteners=function(){var e=this;if(this.elementNavNext.addEventListener("click",(function(t){e.tileGallery.next()})),this.elementNavPrevious.addEventListener("click",(function(t){e.tileGallery.previous()})),this.elementNavDots){var t=this.elementNavDots.querySelectorAll("button");this.tileGallery.on("change",(function(i){var n,o=e.elementNavDots.querySelector(".is-selected");null==o||o.classList.remove("is-selected"),null===(n=t[i])||void 0===n||n.classList.add("is-selected"),e.handleInactiveSlideLinks()})),this.elementNavDots.addEventListener("click",(function(t){var i=t.target.closest("li"),n=Array.from(e.elementNavDots.children).indexOf(i);e.tileGallery.select(n)}))}},e.prototype.createNavDots=function(){if(!this.elementNavDots){var e=document.createElement("UL");e.className="flickity-page-dots";for(var t=0;t<this.tileGallery.cells.length;t++){var i=document.createElement("LI"),n=document.createElement("BUTTON");n.classList.add("flickity-page-dot");var o=document.createElement("SPAN");0===t&&n.classList.add("is-selected"),o.className="visible-for-screen-readers",o.textContent="Navigate to slide ".concat(t+1),n.appendChild(o),i.appendChild(n),e.appendChild(i)}this.elementNavDots=e,this.element.appendChild(this.elementNavDots)}},e.prototype.handleInactiveSlideLinks=function(){var e=this.element.querySelectorAll(".tile-gallery"),t=this.element.querySelectorAll("a[href], button:not(.tile-gallery-previous):not(.tile-gallery-next):not(.flickity-page-dot), input, textarea, select, details, audio, video, iframe, .flickity-enabled, table, .table");e.forEach((function(e){"true"===e.getAttribute("aria-hidden")?t.forEach((function(t){e.contains(t)&&t.setAttribute("tabindex","-1")})):t.forEach((function(t){e.contains(t)&&t.removeAttribute("tabindex")}))}))},e}();i.TileGallery=s,i.default=function(){for(var e=document.querySelectorAll(".tile-gallery__holder"),t=0;t<e.length;t++)new s(e[t])}},{flickity:29,"flickity-imagesloaded":6}],76:[function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esMo
94dule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0}),i.VideoEmbed=void 0;var o=n(e("youtube-player")),r=e("@vimeo/player"),s=function(){function e(e){e&&(this.element=e,this.init(),this.media=this.element.querySelector(".video-embed__media-wrap"),this.youtubeMedia=this.element.querySelector(".video-embed__video--yt"),this.vimeoMedia=this.element.querySelector(".video-embed__video--vimeo"),this.localCDNMedia=this.element.querySelector(".video-embed__video--local-cdn"))}return e.prototype.init=function(){this.createPlayButton(),this.handlePlayButtonClick(),this.handlePlayButtonHover()},e.prototype.createYouTubeVideoPlayer=function(){var e=this.element.querySelector(".video-embed__video"),t=e.dataset.vid;this.youTubePlayer=(0,o.default)(e,{videoId:t,playerVars:{rel:0}}),this.handleYouTubePlayerEvents()},e.prototype.handlePlayButtonClick=function(){var e=this;this.playButton.addEventListener("click",(function(){null!==e.youtubeMedia?e.createYouTubeVideoPlayer():null!==e.vimeoMedia?e.playVimeoVid():null!==e.localCDNMedia&&e.handleLocalCDNEvents(),e.toggleControls()}))},e.prototype.toggleControls=function(){var e=this.element.querySelector(".video-embed__video");e&&(e.getAttribute("controls")?e.controls=!1:e.controls=!0)},e.prototype.handlePlayButtonHover=function(){var e=this;this.playButton.addEventListener("mouseover",(function(){e.media.classList.add("video-embed__video-hover")})),this.playButton.addEventListener("mouseout",(function(){e.media.classList.remove("video-embed__video-hover")}))},e.prototype.handleYouTubePlayerEvents=function(){var e=this;this.youTubePlayer.on("ready",(function(){e.youTubePlayer.playVideo()})),this.youTubePlayer.on("stateChange",(function(t){e.media.classList.contains("video-playing")||e.media.classList.add("video-playing"),0==t.data&&(e.youTubePlayer.destroy(),e.media.classList.remove("video-playing"))}))},e.prototype.playVimeoVid=function(){var e=this;new r(this.vimeoMedia).play().then((function(){e.media.classList.contains("video-playing")||e.media.classList.add("video-playing")}))},e.prototype.handleLocalCDNEvents=function(){var e=this;this.localCDNMedia.play(),this.media.classList.add("video-playing"),this.localCDNMedia.addEventListener("pause",(function(t){e.media.classList.remove("video-playing")}))},e.prototype.createPlayButton=function(){var e=document.createElement("BUTTON");e.className="video-embed__button",e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20.459" height="24.198">\n <path fill="#fff" d="M16.547 12.099 3 3.79v16.619l13.547-8.31m3.912 0a1.983 1.983 0 0 1-.954 1.7l-16.459 10.1A2 2 0 0 1 0 22.199V2.003a2 2 0 0 1 3.046-1.7l16.459 10.1a1.983 1.983 0 0 1 .954 1.696Z"/>\n</svg>\n';var t=document.createElement("SPAN");t.className="visible-for-screen-readers",t.textContent="Play Video",e.appendChild(t),this.media=this.element.querySelector(".video-embed__media-wrap"),this.media.appendChild(e),this.playButton=e},e}();i.VideoEmbed=s,i.default=function(){for(var e=document.querySelectorAll(".video-embed"),t=0;t<e.length;t++)new s(e[t])}},{"@vimeo/player":1,"youtube-player":53}],77:[function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0}),i.VideoGalleryCarousel=void 0;var o=n(e("flickity"));e("flickity-imagesloaded");var r=window.matchMedia("(max-width: 1024px)"),s=function(){function e(e){this.carouselInitialized=!1,e&&e.querySelector(".video-gallery")&&(this.element=e,this.elementNavNext=this.element.querySelector(".video-gallery__nav-next"),this.elementNavPrevious=this.element.querySelector(".video-gallery__nav-previous"),this.tileGalleryContainer=this.element.querySelector(".video-gallery"),this.navSizer=this.element.querySelector(".video-gallery__nav-sizer"),this.centerSlide=this.element.querySelector(".video-gallery__gallery-item:first-child"),this.init())}return e.prototype.init=function(){this.handleResize()},e.prototype.handleResize=function(){var e=this,t=function(){e.handleCarousel()};r.addEventListener("change",t),t()},e.prototype.handleCarousel=function(){var e=this;this.carouselInitialized?r.matches||(this.tileGallery.destroy(),this.carouselInitialized=!1,this.tileGallery=null):r.matches&&(this.tileGallery=new o.default(this.element.querySelector(".video-gallery"),{contain:!0,imagesLoaded:!0,watchCSS:!1,wrapAround:!0,lazyLoad:2,pageDots:!1,prevNextButtons:!1,adaptiveHeight:!0,on:{ready:function(){setTimeout((function(){e.handleInactiveSlideLinks(),e.createNavDots(),e.addTileGalleryEventlisteners(),e.setNavPosition(),e.tileGallery.resize()}),500)}}}),this.carouselInitialized=!0)},e.prototype.setNavPosition=function(){this.navSizer.style.paddingTop=this.centerSlide.offsetHeight/2+"px"},e.prototype.addTileGalleryEventlisteners=function(){var e=this;if(this.elementNavNext.addEventListener("click",(function(t){e.tileGallery.next()})),this.elementNavPrevious.addEventListener("click",(function(t){e.tileGallery.previous()})),this.elementNavDots){var t=this.elementNavDots.querySelectorAll("button");this.tileGallery.on("change",(function(i){var n,o=e.elementNavDots.querySelector(".is-selected");null==o||o.classList.remove("is-selected"),null===(n=t[i])||void 0===n||n.classList.add("is-selected"),e.handleInactiveSlideLinks()})),this.elementNavDots.addEventListener("click",(function(t){var i=t.target.closest("li"),n=Array.from(e.elementNavDots.children).indexOf(i);e.tileGallery.select(n)}))}},e.prototype.createNavDots=function(){if(!this.elementNavDots){var e=document.createElement("UL");e.className="flickity-page-dots";for(var t=0;t<this.tileGallery.cells.length;t++){var i=document.createElement("LI"),n=document.createElement("BUTTON");n.classList.add("flickity-page-dot");var o=document.createElement("SPAN");0===t&&n.classList.add("is-selected"),o.className="visible-for-screen-readers",o.textContent="Navigate to slide ".concat(t+1),n.appendChild(o),i.appendChild(n),e.appendChild(i)}this.elementNavDots=e,this.element.appendChild(this.elementNavDots)}},e.prototype.handleInactiveSlideLinks=function(){var e=this.element.querySelectorAll(".video-gallery"),t=this.element.querySelectorAll("a[href], button:not(.video-gallery-previous):not(.video-gallery-next):not(.flickity-page-dot), input, textarea, select, details, audio, video, iframe, .flickity-enabled, table, .table");e.forEach((function(e){"true"===e.getAttribute("aria-hidden")?t.forEach((function(t){e.contains(t)&&t.setAttribute("tabindex","-1")})):t.forEach((function(t){e.contains(t)&&t.removeAttribute("tabindex")}))}))},e}();
94i.VideoGalleryCarousel=s,i.default=function(){for(var e=document.querySelectorAll(".video-gallery__holder"),t=0;t<e.length;t++)new s(e[t])}},{flickity:29,"flickity-imagesloaded":6}],78:[function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0}),i.VideoGalleryModal=void 0;var o=n(e("youtube-player")),r=e("@vimeo/player"),s=window.matchMedia("(max-width: 1024px)"),a=function(){function e(e){this.dialog=null,this.dialogClose=null,this.media=null,this.youtubeMedia=null,this.vimeoMedia=null,this.videoPlayButton=null,e&&(this.element=e,this.dialog=this.element.querySelector(".video-gallery__modal"),this.videoPlayButton=this.element.querySelector(".video-embed__button"),this.dialogClose=this.dialog?this.dialog.querySelector(".video-gallery__modal-close"):null,this.dialog&&(this.media=this.dialog.querySelector(".video-gallery-embed__video"),this.youtubeMedia=this.dialog.querySelector(".video-embed__video--yt"),this.vimeoMedia=this.dialog.querySelector(".video-embed__video--vimeo")),this.init())}return e.prototype.init=function(){if(this.handleEvents(),this.handleResize(),this.youtubeMedia&&this.createYouTubeVideoPlayer(),this.vimeoMedia)new r(this.vimeoMedia)},e.prototype.handleResize=function(){var e=this,t=function(){var t;(null===(t=e.dialog)||void 0===t?void 0:t.open)&&(e.dialog.close(),e.pauseVideo())};s.addEventListener("change",t),t()},e.prototype.handleEvents=function(){var e,t,i=this;this.element.addEventListener("click",(function(){var e;null===(e=i.dialog)||void 0===e||e.showModal()})),this.dialogClose&&this.dialogClose.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation(),i.dialog&&(i.pauseVideo(),i.dialog.close())})),null===(e=this.dialog)||void 0===e||e.addEventListener("keydown",(function(e){var t;"Escape"===e.key&&(null===(t=i.dialog)||void 0===t||t.close(),i.pauseVideo())})),this.dialog.addEventListener("click",(function(e){var t;e.target===i.dialog&&(e.preventDefault(),e.stopPropagation(),null===(t=i.dialog)||void 0===t||t.close(),i.pauseVideo())})),null===(t=this.dialog)||void 0===t||t.addEventListener("close",(function(){if(i.youTubePlayer&&i.youTubePlayer.getPlayerState().then((function(e){1===e&&i.youTubePlayer.pauseVideo()})).catch((function(e){console.error("Error checking YouTube player state:",e)})),i.vimeoMedia)try{var e=new r(i.vimeoMedia);e.getPaused().then((function(t){t||e.pause()})).catch((function(e){console.error("Error checking Vimeo player state:",e)}))}catch(e){console.error("Error creating Vimeo player:",e)}}))},e.prototype.createYouTubeVideoPlayer=function(){if(this.youtubeMedia&&this.media){var e=this.youtubeMedia,t=this.media.dataset.vid;t&&(this.youTubePlayer=(0,o.default)(e,{videoId:t,playerVars:{rel:0}}),this.handleYouTubePlayerEvents())}},e.prototype.handleYouTubePlayerEvents=function(){this.youTubePlayer},e.prototype.pauseVideo=function(){var e=this;if(this.youTubePlayer)try{this.youTubePlayer.getPlayerState().then((function(t){1!==t&&3!==t||e.youTubePlayer.pauseVideo()})).catch((function(t){console.log("State check failed, attempting direct pause"),e.youTubePlayer.pauseVideo()}))}catch(e){console.error("Error pausing YouTube video:",e)}if(this.vimeoMedia)try{new r(this.vimeoMedia).pause()}catch(e){console.error("Error pausing Vimeo video:",e)}this.media&&this.media.classList.contains("video-playing")&&this.media.classList.remove("video-playing")},e}();i.VideoGalleryModal=a,i.default=function(){for(var e=document.querySelectorAll(".video-gallery__gallery-item"),t=0;t<e.length;t++)new a(e[t])}},{"@vimeo/player":1,"youtube-player":53}],79:[function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0});var o=n(e("./utilities/accessibility")),r=n(e("./components/card")),s=n(e("./components/accordion")),a=n(e("./components/carousel")),l=n(e("./components/tile-gallery-carousel")),c=n(e("./components/tile-gallery-card")),u=n(e("./components/events-card")),h=n(e("./components/site-header")),d=n(e("./components/
94atoz-search")),f=n(e("./components/video-embed")),p=n(e("./components/modal")),m=n(e("./components/subnav")),g=n(e("./components/cookies")),v=n(e("./utilities/wysiwigTableWrapper")),y=n(e("./components/secondary-subnav")),b=n(e("./components/facts-feature-card")),w=n(e("./components/facts-feature-carousel")),E=n(e("./components/highlight-tabs")),C=n(e("./components/featured-event-card")),x=n(e("./components/homepage-news-card")),k=n(e("./components/featured-news-card")),S=n(e("./components/video-gallery-carousel")),_=n(e("./components/video-gallery-modal"));document.addEventListener("DOMContentLoaded",(function(){o.default.init(),(0,r.default)(),(0,s.default)(),(0,a.default)(),(0,c.default)(),(0,l.default)(),(0,S.default)(),(0,_.default)(),(0,C.default)(),(0,k.default)(),(0,u.default)(),(0,x.default)(),(0,p.default)(),(0,m.default)(),(0,y.default)(),(0,f.default)(),(0,v.default)(),(0,d.default)(),(0,b.default)(),(0,w.default)(),(0,E.default)(),(0,h.default)(),(0,g.default)()}))},{"./components/accordion":58,"./components/atoz-search":59,"./components/card":60,"./components/carousel":61,"./components/cookies":62,"./components/events-card":63,"./components/facts-feature-card":64,"./components/facts-feature-carousel":65,"./components/featured-event-card":66,"./components/featured-news-card":67,"./components/highlight-tabs":68,"./components/homepage-news-card":69,"./components/modal":70,"./components/secondary-subnav":71,"./components/site-header":72,"./components/subnav":73,"./components/tile-gallery-card":74,"./components/tile-gallery-carousel":75,"./components/video-embed":76,"./components/video-gallery-carousel":77,"./components/video-gallery-modal":78,"./utilities/accessibility":80,"./utilities/wysiwigTableWrapper":81}],80:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=function(){function e(){}return Object.defineProperty(e,"focusableChildSelector",{get:function(){return"a[href], button, input, textarea, select, details, video, iframe, table, [tabindex]:not([tabindex=\"-1\"]), [role='button'], .swiper-pagination .swiper-pagination-bullet"},enumerable:!1,configurable:!0}),e.init=function(){this.disableTabbingWithinHiddenElements()},e.convertAnchorToButton=function(e){if(e){for(var t=document.createElement("BUTTON"),i=0;i<e.attributes.length;i++){var n=e.attributes[i];if("href"!==n.name){if("role"===n.name&&"button"===n.value)continue;t.setAttribute(n.name,n.value)}}for(i=0;i<e.childNodes.length;i++)t.appendChild(e.childNodes[i].cloneNode(!0));return e.parentElement.replaceChild(t,e),t}},e.disableTabbingWithinHiddenElements=function(){var e=this;new MutationObserver((function(t){t.forEach((function(t){if("attributes"===t.type&&["aria-hidden","hidden"].includes(t.attributeName)&&t.target.nodeType===Node.ELEMENT_NODE){var i=t.target,n="hidden"===t.attributeName&&i.hasAttribute("hidden")||"aria-hidden"===t.attributeName&&"true"===i.getAttribute("aria-hidden");i.querySelectorAll(e.focusableChildSelector).forEach((function(e){e.closest("[aria-hidden]")===i&&setTimeout((function(){e.tabIndex=n?-1:0}),100)}))}}))})).observe(document.body,{subtree:!0,attributes:!0,attributeOldValue:!0})},e.userTabbing=!1,e}();i.default=n},{}],81:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.wysiwigTableWrapper=void 0;var n=function(){function e(e){e&&(this.element=e,this.tableElement=e,this.init())}return e.prototype.init=function(){this.wrapTable()},e.prototype.wrapTable=function(){var e=document.createElement("div");e.classList.add("text-content__table-wrapper"),this.tableElement.parentNode.insertBefore(e,this.tableElement),e.appendChild(this.tableElement)},e}();i.wysiwigTableWrapper=n,i.default=function(){for(var e=document.querySelectorAll(".text-content table"),t=0;t<e.length;t++)new n(e[t])}},{}]},{},[79]);
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.