1!function r(n,i,a){function l(t,e){if(!i[t]){if(!n[t]){var o="function"==typeof require&&require;if(!e&&o)return o(t,!0);if(s)return s(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}o=i[t]={exports:{}},n[t][0].call(o.exports,function(e){return l(n[t][1][e]||e)},o,o.exports,r,n,i,a)}return i[t].exports}for(var s="function"==typeof require&&require,e=0;e<a.length;e++)l(a[e]);return l}({1:[function(e,t,o){var r=d(e("./frontend/HeaderHeight.js")),n=d(e("./frontend/stickyHeader.js")),i=d(e("./frontend/HeaderBackgroundFade.js")),a=d(e("./frontend/mediaTextZoom.js")),l=d(e("./frontend/CoverImageScrollZoom.js")),s=d(e("./frontend/CoverContentScrollFade.js")),u=d(e("./frontend/CoverReveal.js")),c=d(e("./frontend/SearchToggle.js")),f=d(e("./frontend/MenuToggler.js"));function d(e){return e&&e.__esModule?e:{default:e}}document.addEventListener("DOMContentLoaded",function(){new r.default(".site-header"),new n.default(".site-header"),new i.default(".site-header","--wp--preset--color--theme",300),new c.default(".wp-block-button.is-style-coretrek-search",".coretrek-search-bar","is-active"),new f.default,new a.default,new l.default,new s.default,new u.default})},{"./frontend/CoverContentScrollFade.js":2,"./frontend/CoverImageScrollZoom.js":3,"./frontend/CoverReveal.js":4,"./frontend/HeaderBackgroundFade.js":5,"./frontend/HeaderHeight.js":6,"./frontend/MenuToggler.js":7,"./frontend/SearchToggle.js":8,"./frontend/mediaTextZoom.js":9,"./frontend/stickyHeader.js":10}],2:[function(e,t,o){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(e=>(e=((e,t)=>{if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0===o)return("string"===t?String:Number)(e);if("object"!=n(o=o.call(e,t||"default")))return o;throw new TypeError("@@toPrimitive must return a primitive value.")})(e,"string"),"symbol"==n(e)?e:e+""))(r.key),r)}}Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;o.default=(()=>{function e(){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this.blocks=[],this.init()}return t=e,(o=[{key:"init",value:function(){var e=this;this.blocks=Array.from(document.querySelectorAll(".wp-block-cover.is-style-coretrek-fadeout")),0!==this.blocks.length&&(this.blocks.forEach(function(e){var t=e.querySelector(".wp-block-cover__inner-container"),o=e.querySelector(".has-background-dim");t&&(t.style.transition="opacity 0.1s ease-out, transform 0.1s ease-out",t.style.willChange="opacity, transform",e._fadeContent=t),o&&(t=window.getComputedStyle(o),t=parseFloat(t.opacity||"1"),o.style.transition="opacity 0.1s ease-out",o.style.willChange="opacity",e._fadeDim=o,e._fadeDimInitial=t)}),window.addEventListener("scroll",function(){return e.onScroll()}),this.onScroll())}},{key:"onScroll",value:function(){var a=window.innerHeight;this.blocks.forEach(function(e){var t,o,r=e.getBoundingClientRect(),n=e._fadeContent,i=e._fadeDim,e=e._fadeDimInitial||1;r.top>=a?(n&&(n.style.opacity="1",n.style.transform="translateY(0%)"),i&&(i.style.opacity=e)):r.bottom<=0?(n&&(n.style.opacity="0",n.style.transform="translateY(150%)"),i&&(i.style.opacity="0")):(t=r.height,r=Math.max(0,-r.top)/t,t=1-(r=Math.min(Math.max(r,0),1)),o=200*r,n&&(n.style.opacity=t.toFixed(3),n.style.transform="translateY(".concat(o,"%)")),i&&(i.style.opacity=(e+(1-e)*r).toFixed(3)))})}}])&&i(t.prototype,o),r&&i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,o,r})()},{}],3:[function(e,t,o){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(e=>(e=((e,t)=>{if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0===o)return("string"===t?String:Number)(e);if("object"!=n(o=o.call(e,t||"default")))return o;throw new TypeError("@@toPrimitive must return a primitive value.")})(e,"string"),"symbol"==n(e)?e:e+""))(r.key),r)}}Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;o.default=(()=>{function e(){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this.minZoom=1,this.maxZoom=1.2,this.blocks=[],this.init()}return t=e,(o=[{key:"init",value:function(){var e=this;this.blocks=Array.from(document.querySelectorAll(".wp-block-cover.is-style-coretrek-zoom")),0!==this.blocks.length&&(this.blocks.forEach(function(e){var t=e.querySelector(".wp-block-cover__image, .wp-block-cover__image-background");t&&(t.style.transition="transform 0.1s ease-out",t.style.willChange="transform",t.style.transformOrigin="center center",e._zoomImage=t)}),window.addEventListener("scroll",function(){return e.onScroll()}),this.onScroll())}},{key:"onScroll",value:function(){var r=this,n=window.innerHeight;this.blocks.forEach(function(e){var t,o=e.getBoundingClientRect(),e=e._zoomImage;e&&(t=o.height,o=(n-o.top)/(n+t),o=Math.min(Math.max(o,0),1),t=r.minZoom+(r.maxZoom-r.minZoom)*(1-o),e.style.transform="scale(".concat(t,")"))})}}])&&i(t.prototype,o),r&&i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,o,r})()},{}],4:[function(e,t,o){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(e=>(e=((e,t)=>{if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0===o)return("string"===t?String:Number)(e);if("object"!=n(o=o.call(e,t||"default")))return o;throw new TypeError("@@toPrimitive must return a primitive value.")})(e,"string"),"symbol"==n(e)?e:e+""))(r.key),r)}}Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;o.default=(()=>{return e=function e(){var t=this,o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:".wp-block-cover.is-style-coretrek-reveal",r=this,n=e;if(!(r instanceof n))throw new TypeError("Cannot call a class as a function");this.selector=o,this.items=[],"loading"===document.readyState?document.addEventListener("DOMContentLoaded",function(){return t.init()}):this.init()},(t=[{key:"init",value:function(){this.items=document.querySelectorAll(this.selector),this.items.length&&(window.addEventListener("scroll",this.onScroll.bind(this)),this.onScroll())}},{key:"onScroll",value:function(){var n=this,i=window.innerHeight;
1this.items.forEach(function(e){var t=e.getBoundingClientRect(),o=t.height,t=1-Math.min(Math.max((t.top+o)/(i+o),0),1),o=n.easeOutCubic(t),t=Math.pow(o,.5),r=e.querySelector(".wp-block-cover__image-background");r&&(r.style.transform="scale(".concat(.5+.5*o,")"));e.style.setProperty("--reveal-border","".concat(3+37*(1-t),"vw"))})}},{key:"easeOutCubic",value:function(e){return 1-Math.pow(1-e,3)}}])&&r(e.prototype,t),o&&r(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o})()},{}],5:[function(e,t,o){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(e=>(e=((e,t)=>{if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0===o)return("string"===t?String:Number)(e);if("object"!=n(o=o.call(e,t||"default")))return o;throw new TypeError("@@toPrimitive must return a primitive value.")})(e,"string"),"symbol"==n(e)?e:e+""))(r.key),r)}}Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;o.default=(()=>{return e=function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:".site-header",o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"--wp--preset--color--theme",r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:200,n=this,i=e;if(!(n instanceof i))throw new TypeError("Cannot call a class as a function");this.header=document.querySelector(t),this.maxScroll=r,this.root=document.documentElement,this.colorVar=o,this.update=this.update.bind(this),this.header?(n=getComputedStyle(this.root).getPropertyValue(this.colorVar).trim(),this.rgb=this.hexToRgb(n),document.addEventListener("DOMContentLoaded",this.update),window.addEventListener("scroll",this.update),window.addEventListener("resize",this.update)):console.warn("[HeaderBackgroundFade] no element matches",t)},(t=[{key:"hexToRgb",value:function(e){e=e.replace(/^#/,""),3===e.length&&(e=e.split("").map(function(e){return e+e}).join("")),e=parseInt(e,16);return[e>>16&255,e>>8&255,255&e].join(",")}},{key:"update",value:function(){var e=window.scrollY,e=Math.min(e/this.maxScroll,1);this.header.classList.contains("transparent")?this.header.style.backgroundColor="rgba(".concat(this.rgb,", ").concat(e,")"):this.header.style.backgroundColor=""}},{key:"destroy",value:function(){document.removeEventListener("DOMContentLoaded",this.update),window.removeEventListener("scroll",this.update),window.removeEventListener("resize",this.update)}}])&&r(e.prototype,t),o&&r(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o})()},{}],6:[function(e,t,o){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){var o,r,n,i,a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(a)return n=!(r=!0),{s:function(){a=a.call(e)},n:function(){var e=a.next();return r=e.done,e},e:function(e){n=!0,o=e},f:function(){try{r||null==a.return||a.return()}finally{if(n)throw o}}};if(Array.isArray(e)||(a=((e,t)=>{var o;if(e)return"string"==typeof e?l(e,t):"Map"===(o="Object"===(o={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:o)||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?l(e,t):void 0})(e))||t&&e&&"number"==typeof e.length)return a&&(e=a),i=0,{s:t=function(){},n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=Array(t);o<t;o++)r[o]=e[o];return r}function i(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(e=>(e=((e,t)=>{if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0===o)return("string"===t?String:Number)(e);if("object"!=n(o=o.call(e,t||"default")))return o;throw new TypeError("@@toPrimitive must return a primitive value.")})(e,"string"),"symbol"==n(e)?e:e+""))(r.key),r)}}Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;o.default=(()=>{return e=function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:".site-header",o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.documentElement,r=this,n=e;if(!(r instanceof n))throw new TypeError("Cannot call a class as a function");this.header=document.querySelector(t),this.root=o,this.update=this.update.bind(this),this.handleMutations=this.handleMutations.bind(this),this.header&&this.init()},(t=[{key:"init",value:function(){this.update(),document.addEventListener("DOMContentLoaded",this.update),window.addEventListener("resize",this.update),this.observer=new MutationObserver(this.handleMutations),this.observer.observe(this.header,{attributes:!0,attributeFilter:["class"]})}},{key:"update",value:function(){var e=this.header.getBoundingClientRect().height;this.root.style.setProperty("--header-height","".concat(e,"px"))}},{key:"handleMutations",value:function(e){var t,o=r(e);try{for(o.s();!(t=o.n()).done;)if("attributes"===t.value.type){this.update();break}}catch(e){o.e(e)}finally{o.f()}}},{key:"destroy",value:function(){document.removeEventListener("DOMContentLoaded",this.update),window.removeEventListener("resize",this.update),this.observer&&this.observer.disconnect()}}])&&i(e.prototype,t),o&&i(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o})()},{}],7:[function(e,t,o){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(e=>(e=((e,t)=>{if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0===o)return("string"===t?String:Number)(e);if("object"!=n(o=o.call(e,t||"default")))return o;throw new TypeError("@@toPrimitive must return a primitive value.")})(e,"string"),"symbol"==n(e)?e:e+""))(r.key),r)}}Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;o.default=(()=>{return e=function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:".coretrek-toggler",o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:".site-header",r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"is-active",n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"is-mobile-menu",i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:".child-toggler",a=5<arguments.length&&void 0!==arguments[5]?arguments[5]:"show-submenu",l=this,s=e;if(!(l instanceof s))throw new TypeError("Cannot call a class as a function");this.button=document.querySelector(t),this.header=document.querySelector(o),this.activeClass=r,this.headerClass=n,this.childSelector=i,this.childActiveClass=a,this.button?(this.toggle=this.toggle.bind(this),this._onChildClick=this._onChildClick.bind(this),this.button.addEventListener("click",this.toggle),this.header&&this.header.addEventListener("click",this._onChildClick)):console.warn("[MenuToggler] Missing button:",t)},(t=[{key:"toggle",value:function(e){e.preventDefault(),this.button.classList.toggle(this.activeClass),this.header&&this.header.classList.toggle(this.headerClass),document.body.classList.toggle("menu-open")}},{key:"_onChildClick",value:function(e){e.target.matches(this.childSelector)&&(e.preventDefault(),e.target.classList.toggle(this.childActiveClass))}},{key:"destroy",value:function(){this.button.removeEventListener("click",this.toggle),this.header&&this.header.removeEventListener("click",this._onChildClick)}}])&&r(e.prototype,t),o&&r(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o})()},{}],8:[function(e,t,o){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(e=>(e=((e,t)=>{if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0===o)return("string"===t?String:Number)(e);if("object"!=n(o=o.call(e,t||"default")))return o;throw new TypeError("@@toPrimitive must return a primitive value.")})(e,"string"),"symbol"==n(e)?e:e+""))(r.key),r)}}Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;o.default=(()=>{return e=function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:".wp-block-button.is-style-coretrek-search",o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:".coretrek-search-bar",r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"is-active",n=this,i=e;if(!(n instanceof i))throw new TypeError("Cannot call a class as a function");this.button=document.querySelector(t),this.wrapper=document.querySelector(o),this.activeClass=r,this.button&&this.wrapper?(this.toggle=this.toggle.bind(this),this.button.addEventListener("click",this.toggle)):console.warn("[SearchToggle] Missing button or wrapper:",t,o)},(t=[{key:"toggle",value:function(e){e.preventDefault(),this.wrapper.classList.toggle(this.activeClass)}},{key:"destroy",value:function(){this.button.removeEventListener("click",this.toggle)}}])&&r(e.prototype,t),o&&r(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o})()},{}],9:[function(e,t,o){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(e=>(e=((e,t)=>{if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0===o)return("string"===t?String:Number)(e);if("object"!=n(o=o.call(e,t||"default")))return o;throw new TypeError("@@toPrimitive must return a primitive value.")})(e,"string"),"symbol"==n(e)?e:e+""))(r.key),r)}}Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;o.default=(()=>{return e=function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:".wp-block-media-text__media img",o=this,r=e;if(!(o instanceof r))throw new TypeError("Cannot call a class as a function");this.selector=t,this.minZoom=1,this.maxZoom=1.2,this.currentZoom=1,this.init()},(t=[{key:"init",value:function(){this.imageElements=document.querySelectorAll(this.selector),0===this.imageElements.length?console.warn("No images found matching the selector."):(window.addEventListener("wheel",this.onScroll.bind(this)),this.imageElements.forEac
1h(function(e){e.style.transition="transform 0.3s"}))}},{key:"onScroll",value:function(t){var o=this;this.imageElements.forEach(function(e){0<t.deltaY?o.zoomIn(e):o.zoomOut(e)})}},{key:"zoomIn",value:function(e){this.currentZoom<this.maxZoom&&(this.currentZoom+=.005,this.applyZoom(e))}},{key:"zoomOut",value:function(e){this.currentZoom>this.minZoom&&(this.currentZoom-=.005,this.applyZoom(e))}},{key:"applyZoom",value:function(e){e.style.transform="scale(".concat(this.currentZoom,")")}}])&&r(e.prototype,t),o&&r(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o})()},{}],10:[function(e,t,o){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(e=>(e=((e,t)=>{if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0===o)return("string"===t?String:Number)(e);if("object"!=n(o=o.call(e,t||"default")))return o;throw new TypeError("@@toPrimitive must return a primitive value.")})(e,"string"),"symbol"==n(e)?e:e+""))(r.key),r)}}Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;o.default=(()=>{return e=function e(t){var o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:100,r=this,n=e;if(!(r instanceof n))throw new TypeError("Cannot call a class as a function");this.header=document.querySelector(t),this.lastScrollTop=0,this.threshold=o,this.init()},(t=[{key:"init",value:function(){var e=this;this.header&&window.addEventListener("scroll",function(){return e.handleScroll()})}},{key:"handleScroll",value:function(){var e=window.pageYOffset||document.documentElement.scrollTop;e>this.lastScrollTop&&e>this.threshold?this.header.classList.add("hidden"):e<this.lastScrollTop&&this.header.classList.remove("hidden"),this.lastScrollTop=e<=0?0:e}}])&&r(e.prototype,t),o&&r(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o})()},{}]},{},[1]);
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.