1/*! For license information please see app.js.LICENSE.txt */ 2(self.webpackChunkmain_theme=self.webpackChunkmain_theme||[]).push([[449],{383:function(t,e,n){"use strict";var o=drupalSettings,r=n.n(o),i=(n(834),n(311)),a=n.n(i);a()((function(){a()('[data-toggle="tooltip"]').tooltip()}));var c=n(51),s=n.n(c);if(s().hasOwnProperty("Ajax")){var l=s().Ajax.prototype.beforeSubmit;s().Ajax.prototype.beforeSubmit=function(t,e,n){"undefined"!=typeof CKEDITOR&&CKEDITOR.instances&&Object.values(CKEDITOR.instances).forEach((function(e){t.forEach((function(t){var n=document.querySelector("#".concat(e.name));if(n){var o=n.getAttribute("name");t.name===o&&"source"===e.mode&&(t.value=e.getData())}}))}));return l.apply(this,arguments)}}n(92);Drupal.behaviors.match_height={attach:function(t,e){[".stories-card",".opportunities-card",".donation-list .frame",".block-type-card .card","[data-match-height]"].forEach((function(e){a()(t).find(e).length&&a()(e).matchHeight()}))}};var u=n(442),f=n.n(u),d=n(831),p=n.n(d);function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function b(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function m(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?b(Object(n),!0).forEach((function(e){y(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function y(t,e,n){return(e=k(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function v(t){return function(t){if(Array.isArray(t))return g(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(t,e)}(t)||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 g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function w(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,k(o.key),o)}}function k(t){var e=function(t,e){if("object"!==h(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==h(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===h(e)?e:String(e)}var j=function(){function t(e){var n=this;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.object=e.object||void 0,this.object){if(this.onMatched=e.onMatched||function(){},this.onUpdate=e.onUpdate||function(){},!this.object.responsive)return this.currentObject={type:"no-responsive",lastBreakpoint:void 0,breakpoint:-1,object:this.mergeObject(-1,this.object)},"function"==typeof this.onMatched&&this.onMatched(this.currentObject),!1;this.isInherit=void 0===e.isInherit||e.isInherit,this.currentObject={breakpoint:void 0,object:{}},this.object.responsive=this.getSortedArray(this.object.responsive),this.match(),window.addEventListener("resize",(function(){n.match()}))}}var e,n,o;return e=t,n=[{key:"match",value:function(){for(var t=!1,e=0;e<this.object.responsive.length;e++){var n=this.object.responsive[e];if(t=matchMedia(this.getQuery(e)).matches){this.currentObject.breakpoint!==n.breakpoint&&(this.currentObject={type:"responsive",lastBreakpoint:this.currentObject.breakpoint,breakpoint:n.breakpoint,object:this.mergeObject(n.breakpoint,n.settings)},"function"==typeof this.onMatched&&this.onMatched(this.currentObject));break}}t||-1===this.currentObject.breakpoint||(this.currentObject={type:"default",lastBreakpoint:this.currentObject.breakpoint,breakpoint:-1,object:this.mergeObject(-1,this.object)},"function"==typeof this.onMatched&&this.onMatched(this.currentObject)),"function"==typeof this.onUpdate&&this.onUpdate(this.currentObject)}},{key:"getQuery",value:function(t){var e=this.object.responsive[t].breakpoint,n="screen and (max-width:".concat(e,"px)"),o=this.object.responsive[t+1];return o&&(n+=" and (min-width:".concat(o.breakpoint+1,"px)")),n}},{key:"getSortedArray",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=v(t);return e?n.sort((function(t,e){return t.breakpoint<e.breakpoint?1:-1})):n.sort((function(t,e){return t.breakpoint>e.breakpoint?1:-1})),n}},{key:"mergeObject",value:function(t,e){var n=m({},e);if(this.isInherit&&-1!==t)for(var o=this.getSortedArray(this.object.responsive,!1),r=0;r<o.length;r++)o[r].breakpoint>t&&(n=m(m({},o[r].settings),n));return delete(n=m(m({},this.object),n)).responsive,n}}],n&&w(e.prototype,n),o&&w(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();function O(t){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O(t)}function S(t){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},S(t)}function A(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function x(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
2e%2?A(Object(n),!0).forEach((function(e){C(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function C(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==S(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==S(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===S(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}a().fn.flickityResponsive=function(t){var e=a()(this);new j({object:t,onMatched:function(t){void 0!==O(e.flickity)?(void 0!==e.data("flickity")&&e.flickity("destroy"),e.flickity(t.object),e.flickity("resize")):console.warn("Flickity is undefined!")}})},f().setJQuery(a()),p()("flickity",f(),a());function P(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i,a,c=[],s=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(o=i.call(n)).done)&&(c.push(o.value),c.length!==e);s=!0);}catch(t){l=!0,r=t}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw r}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function E(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i,a,c=[],s=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(o=i.call(n)).done)&&(c.push(o.value),c.length!==e);s=!0);}catch(t){l=!0,r=t}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw r}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return T(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}Drupal.behaviors.carousel={attach:function(t,e){a()(".main-carousel").each((function(){var t=a()(this).find(".carousel-cell"),e=t.length;t.find(".block-type-slider-block-item").length&&a()(this).addClass("has-slider-block-items");var n=a()(this).parents(".layout--slider-block-onecol"),o=n.attr("data-columns-count")?n.attr("data-columns-count"):3,r={cellAlign:"left",contain:!0,groupCells:!0,wrapAround:!1,imagesLoaded:!0,adaptiveHeight:!1,pageDots:e>o,prevNextButtons:e>o};n.length&&n.attr("data-flickity-default")&&(r=x(x({},r),JSON.parse(n.attr("data-flickity-default")))),a()(this).flickityResponsive(x(x({},r),{},{responsive:[{breakpoint:767,settings:{groupCells:!1,pageDots:!0,wrapAround:!0,prevNextButtons:!0,dragable:">1"}},{breakpoint:1023,settings:{groupCells:!1,contain:!0,pageDots:e>2||1===o&&e!==o,wrapAround:!1,prevNextButtons:e>2||1===o&&e!==o}}]})),a()(this).find(".block-content").css("min-height",0),a()(this).on("settle.flickity",(function(){var t=a()(this).find(".is-selected .block-content"),e=a()(this).find(".flickity-viewport").height();t.css("min-height")!==e&&a()(this).find(".is-selected .block-content").css("min-height",e)}))}
2))}},s().facets=s().facets||{},s().behaviors.opportunity_facets={attach:function(t,e){var n=a()(t).find('select[data-drupal-facet-id="opportunities_list_available_in"]');a()(n).length&&s().facets.geolocateSelect2(n),a()(".view-id-opportunities_list .views-exposed-form select.js-facets-select2").each((function(t){a()(once("js-facets-select2-widget-on-selection-change",this)).on("select2:select select2:unselect",(function(t){var e=s().facets.includeSearchTerm(t.params.data.id);a()(this).trigger("facets_filter",[e]),a()(this).prop("disabled",!0)}))})),a()(".view-id-opportunities_list .views-exposed-form .facets-widget-checkbox").each((function(t){a()(this).find(".facets-checkbox").unbind("change.facets").on("change.facets",(function(t){var e=a()(this).data("facetsredir");t.preventDefault();var n=a()(this).closest(".js-facets-widget");s().facets.disableFacet(n),e=s().facets.includeSearchTerm(e),a()(this).trigger("facets_filter",[e])}))})),a()(".view-id-opportunities_list .views-exposed-form input[name=search_text]").unbind("focus.search").on("focus.search",(function(){a()(this).parents(".views-exposed-form-wrapper").addClass("expanded")})),a()(".view-id-opportunities_list .views-exposed-form .opportunity-filter-search .filter-toggle").unbind("click.search").on("click.search",(function(){a()(this).parents(".views-exposed-form-wrapper").toggleClass("expanded")})),void 0!==e.facets&&"undefined"!==e.facets.softLimit&&a().each(e.facets.softLimit,(function(t,e){var n=e-1,o=t;a()('ul[data-drupal-facet-id="'+o+'"]').each((function(){a()(once("applysoftlimit",a()(this).find("li:gt("+n+")"))).hide()}))}))}},s().facets.geolocateSelect2=function(t){0!==t.length&&(0!==t.parent().find(".select2-selection__clear").length&&t.parent().find(".select2-selection__clear").on("mousedown",(function(){Cookies.remove("contact-address-country")})),t.on("change.facets",(function(){if(null!==a()(this).val()&&""!==a()(this).val()){var t=decodeURIComponent(a()(this).val()).split("&");if(t.length){var e=t[0].split(":")[1];void 0!==e&&2===e.length&&Cookies.set("contact-address-country",e,{expires:30})}}})),""===t.val()&&a().get(r().path.baseUrl+r().path.pathPrefix+"ip-geolocation-api",(function(e){var n=Cookies.get("contact-address-country");n&&0!==t.find("option[value*='f%5B0%5D=available_in%3A"+n+"']").length?t.trigger("facets_filter",[t.find("option[value*='f%5B0%5D=available_in%3A"+n+"']").val()]):t.find("option[value*='f%5B0%5D=available_in%3A"+e.country+"']").length&&t.trigger("facets_filter",[t.find("option[value*='f%5B0%5D=available_in%3A"+e.country+"']").val()]),a()(".ajax-progress-fullscreen").remove()})))},s().facets.includeSearchTerm=function(t){var e={};if(t&&t.indexOf("?")>-1){var n=t.split("?");t=n[0],e=n[1].split("&").reduce((function(t,e){var n=e.split("="),o=n[0],r=decodeURIComponent(n[1]);return r=isNaN(Number(r))?r:Number(r),t[o]=r,t}),{})}var o=a()("input[name=search_text]"),r=void 0!==o.val()?o.val():"";e.search_text=encodeURIComponent(r);for(var i="?",c=Object.keys(e)[Object.keys(e).length-1],s=0,l=Object.entries(e);s<l.length;s++){var u=P(l[s],2),f=u[0],d=u[1];i=i+f+"="+encodeURIComponent(d),f!==c&&(i+="&")}return t+i};var I=s().AjaxCommands&&s().AjaxCommands.prototype;I&&!I.mainThemeOriginalScrollTop&&(I.mainThemeOriginalScrollTop=I.scrollTop,I.scrollTop=function(t,e){var n=e&&e.selector?e.selector:null,o=n?document.querySelector(n):null;if(!!(!o||!o.matches(".view-contact-address, .view-id-contact-address")))return I.mainThemeOriginalScrollTop.call(this,t,e)}),s().behaviors.countryContactForm={attach:function(t,e){var n=a()(t).find(".js-country-contact-form .webform-button--submit").first();if(n.length){a()("a[href$=item-form]").bind("click",(function(){var t=a()(this).attr("data-requesting");if(t){var e=n.closest("form").find("input[name=requesting][value="+t+"]");e&&(n.closest("form").find("input[name=requesting]").removeAttr("checked"),e.prop("checked",!0).trigger("change",["webform.states"]),"application_form"==t?(a()("#item-form h2.heading-question").addClass("d-none"),a()("#item-form h2.heading-apply").removeClass("d-none")):(a()("#item-form h2.heading-question").removeClass("d-none"),a()("#item-form h2.heading-apply").addClass("d-none")))}}));var o=function(){return a()("#views-exposed-form-contact-address-block select[name=country_code],#views-exposed-form-contact-address-block-trip select[name=country_code]")},r=function(t,e){return!!e&&t.find("option").filter((function(){return a()(this).val()===e})).length>0},i=function(t,e){t.length&&e&&t.find("input[name=country]").val(e)},c=function(){var t=a()(".view-contact-address .views-field-field-email-address a,.view-contact-address .views-field-field-trip-email-address a").first(),e=function(t){var e=a()(t).closest("form");return e.length?e:a()(".js-country-contact-form").first()}(this),n=e.find("input[name=recipient]"),r=e.find("input[name=reference]"),c=o().first().val(),s=a()("article[data-reference].job-trip-node");if(t.length){var l=t.attr("href").split(":")[1];n.is("[data-default]")||n.attr("data-default",n.val()),n.val(l)}else n.val(n.attr("data-default"));i(e,c),r.length&&s.length&&r.val(s.attr("data-reference"))},s=function(t){if("undefined"!=typeof intlTelInputGlobals)for(var e=0,n=Object.entries(intlTelInputGlobals.instances);e<n.length;e++){var o=E(n[e],2);o[0];o[1].setCountry(t.toLowerCase())}},l=function(){var e=c.bind(this);e.call(),a()(this).bind("click",e),a()(t).find(".webform-submission-form .webform-button--submit").css("pointer-events","initial")}.bind(n);a()(t).find(".webform-ajax-form-wrapper").bind("DOMSubtreeModified",(function(){l.bind(a()(this).find(".webform-button--submit")).call()})),a()(t).find(".block-views-blockcontact-address-block,.block-views-blockcontact-address-block-trip").bind("DOMSubtreeModified",l),l.call(),a()(t).ready((function(){a().get(e.path.baseUrl+e.path.pathPrefix+"ip-geolocation-api",(function(t){var e=o();if(0!==e.length){var n=window.Cookies?Cookies.get("contact-address-country"):null,c=t&&t.country?t.country:null;e.off("change.countryContactForm").on("change.countryContactForm",(function(t,e){var n=a()(this).val();n&&(!1!==e&&window.Cookies&&window.Cookies.set("contact-address-country",n,{expires:30}),i(a()(".js-country-contact-form").first(),n),s(n))})),!n&&r(e,c)?(e.val(c),e.trigger("change",[!1])):n&&r(e,n)?(e.val(n),e.trigger("change",[!1])):i(a()(".js-country-contact-form").first(),e.first().val())}}))}))}}},s().behaviors.euCookieCompliancePopupLink={attach:function(t){var e=function(){a()("body").hasClass("eu-cookie-compliance-popup-open")||n.toggleWithdrawBanner(),a()(".eu-cookie-compliance-categories").attr("open","open"),a()("label[for=cookie-category-marketing]").addClass("mark")},n=s().eu_cookie_compliance;void 0!==n?(n.euccCurrentStatus=n.getCurrentStatus(),n.euccSelectedCategories=n.getAcceptedCategories(),a()(".eu-cookie-privacy-settings").click(n.toggleWithdrawBanner),n.hasAgreed("marketing")||(a()(".donate-give-btn").each((function(){var t=a()(this);t.on("click.eu_cookie_compliance",e),t.attr("data-placement","bottom"),t.get(0).hasAttribute("data-original-title")||t.attr("data-original-title",s().t("Please accept MARKETING related cookies so we can receive your donation online.")),t.tooltip()})),a()(".remote-video-button-play, .remote-video-title").each((function(){a()(this).on("click.eu_cookie_compliance",e)})),a()("iframe[data-category=marketing]").each((function(){var t=a()(this),n=t.contents().find("html");n.on("click",e),n.css("cursor","pointer"),t.attr("data-placement","top"),t.get(0).hasAttribute("data-original-title")||t.attr("data-original-title",s().t("Please accept MARKETING related Cookies so we can display this content for you.")),t.tooltip(),t.addClass("locked")})))):a()(".eu-cookie-privacy-settings").hide()}};var D=n(430),M=n(347),L=n.n(M);function N(t){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N(t)}function q(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(r=o.key,i=void 0,i=function(t,e){if("object"!==N(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==N(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===N(i)?i:String(i)),o)}var r,i}s().behaviors.balanceText={attach:function(){var t=".balance-text",e=[];once("balance-text",t).forEach((function(t){var n=window.getComputedStyle(t).getPropertyValue("font-family").split(",")[0];e.push(n)})),e.forEach((function(e){new(L())(e).load().then((function(){D.balanceText(t)}))}
2))}};var R=function(){function t(e,n,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.selector=e||void 0,this.callback=n||void 0,this.config=o||void 0,e&&n&&window.addEventListener("resize",this.trigger.bind(this))}var e,n,o;return e=t,(n=[{key:"trigger",value:function(){var t=this;document.querySelectorAll(this.selector).forEach((function(e){return t.callback(e,t.config)}))}}])&&q(e.prototype,n),o&&q(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();function B(t){return B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},B(t)}function U(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(r=o.key,i=void 0,i=function(t,e){if("object"!==B(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==B(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===B(i)?i:String(i)),o)}var r,i}var z=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),document.querySelectorAll(e).forEach(function(t){var o=this;this.options={selector:e,breakpoints:[{mw:"default",src:t.getAttribute("data-src"),type:t.getAttribute("type")}]},t.querySelectorAll("[data-src]").forEach((function(t){o.options.breakpoints.push({mw:t.getAttribute("data-mw"),src:t.getAttribute("data-src"),type:t.getAttribute("type")})})),this.post_resize=n,this.responseVideo(t,this.options)}.bind(this)),this.resizer=new R(e,this.responseVideo.bind(this),this.options)}var e,n,o;return e=t,(n=[{key:"responseVideo",value:function(t,e){e.selector;var n=e.breakpoints,o=t.getAttribute("data-width-now")||null,r=[];n.forEach((function(t){return r.push(t.mw)}));var i=Math.max.apply(Math,r.filter((function(t){return t<=document.body.clientWidth})).map(Number)),a=i>0?i:"default";o&&o===a||(t.setAttribute("data-width-now",a),n.length>0&&n.every((function(e){return parseInt(e.mw)===a&&""!==t.canPlayType(e.type)&&t.setAttribute("src",e.src),!(parseInt(e.mw)===a&&"probably"===t.canPlayType(e.type))})),this.post_resize=this.post_resize.bind(t),this.post_resize())}}])&&U(e.prototype,n),o&&U(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();s().behaviors.responsive_video={attach:function(t,e){var n=this;t===document&&(new z("video.responsive",(function(){this.playbackRate=this.getAttribute("data-playback-rate")||1,this.setAttribute("loop",""),this.setAttribute("autoplay",""),a()(this).on("play",(function(){var t=a()(this).parent(".bg-media-video");t.height()/t.width()-a()(this).height()/a()(this).width()>0?a()(this).css({width:"auto",height:"100%"}):a()(this).css({width:"100%",height:"auto"})})),setTimeout(function(){this.removeAttribute("loop"),this.removeAttribute("autoplay"),this.addEventListener("ended",(function(){this.load()}))}.bind(this),1e3*(this.getAttribute("data-loop-timeout")||300))})),this.resizer=new R(".bg-media-oembed .media-oembed-content",(function(t){var e=a()(t).closest(".bg-media-oembed");e.height()/e.width()-9/16>0?(a()(t).css({top:0,left:e.width()/2+"px",transform:"translateX(-50%)","-webit-transform":"translateX(-50%)"}),a()(t).parent().css({width:16*e.height()/9+"px",height:e.height()+"px","padding-bottom":0})):(a()(t).css({top:Math.round(e.height()/2)+"px",left:0,transform:"translateY(-50%)","-webkit-transform":"translateY(-50%)"}),a()(t).parent().css({height:"auto",width:"100%","padding-bottom":"calc(9/16 * 100%)"})),setTimeout(function(){a()(t).css("display","none")}.bind(n),1e3*(t.getAttribute("data-loop-timeout")||3e3))})),this.resizer.trigger())}},s().behaviors.alerts={attach:function(t,e){a()(t).find("section.alert-dismissible .close").on("click",(function(){var t,e,n=a()(this).parent().find(".block-type-text-block-alert").map((function(){return this.id})).get();
2if(Cookies.get("hide-alert")){t=n,e=Cookies.get("hide-alert").split(","),n=t.concat(e.filter((function(e){return-1===t.indexOf(e)})))}Cookies.set("hide-alert",n.join(","),{expires:1})}));var n=[];Cookies.get("hide-alert")&&(n=Cookies.get("hide-alert").split(",")),a()(t).find("section.alert-dismissible .block-type-text-block-alert").each((function(){n.indexOf(this.id)>=0?a()(this).toggleClass("d-none"):a()(this).closest("section.alert-dismissible.d-none").removeClass("d-none")}))}},a()(document).on("drupalContextualLinkAdded",(function(t,e){a()(e.$el[0]).find("li.node-clone a, li.node-layout a").each((function(){a()(this).attr("href",a()(this).attr("href").replace(/destination=[^&]+/,""))}))})),s().behaviors.fixedHeader={attach:function(t){if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&!document.body.classList.contains("toolbar-horizontal")){var e=new IntersectionObserver((function(t){t[0].boundingClientRect.y<0?document.body.classList.add("header-not-at-top"):document.body.classList.remove("header-not-at-top"),a()("#header").find(".search .dropdown-toggle, .lang .dropdown-toggle").dropdown("hide")})),n=a()("#top-of-site-pixel-anchor");n.length&&e.observe(n.get(0))}}},s().behaviors.languageSwitcher={attach:function(t){var e=a()(".language-switcher-language-url.dropdown-menu"),n=a()(document).scrollTop();e.on("mouseover",(function(t){(n=a()(document).scrollTop())>0&&a()(document.body).css("top",-n+"px"),a()(document.body).css("overflow-y","scroll "),a()(document.body).css("position","fixed"),a()(document.body).css("width","100%")})),e.on("mouseout",(function(t){a()(":root").css("scroll-behavior","auto"),a()(document.body).css("top",""),a()(document.body).css("overflow-y",""),a()(document.body).css("position",""),a()(document.body).css("width",""),a()(":root").scrollTop(n),a()(":root").css("scroll-behavior","")}))}};n(334);var F=n(981);n(511),n(331),n(48),n(863),n(872),n(471),n(824);window.Popper=F.default},334:function(){document.querySelectorAll(".triangle").forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation();var e=this.closest(".menu-item").nextElementSibling;e&&e.classList.contains("dropdown-menu")&&("block"===e.style.display||"block"===getComputedStyle(e).display?(e.style.display="none",this.classList.remove("open")):(e.style.display="block",this.classList.add("open")))}))}))},834:function(){var t=document.querySelectorAll(".tabbed-text li"),e=function(t){var e=document.querySelector(".tabs-wrapper")?document.querySelector(".tabs-wrapper").offsetLeft:0,n=document.querySelector(".tab-indicator"),o=t.getElementsByTagName("a")[0].offsetWidth;n.style.marginLeft="".concat(t.offsetLeft-e,"px"),n.style.width="".concat(o,"px")};t.forEach((function(t,n){0===n&&e(t),t.addEventListener("click",(function(n){n.preventDefault(),e(t)}))}))},51:function(t){"use strict";t.exports=Drupal},311:function(t){"use strict";t.exports=jQuery}},function(t){t.O(0,[931],(function(){return e=383,t(t.s=e);var e}));t.O()}]);
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.