PageSourceSearch

https://www.belfor.com/us/wp-content/themes/digitalexpress/assets/_dist/js/index.js?ver=1789985705

js belfor.com collected 2026-09-25 19:07:58 UTC 35,917 bytes, 1 lines download raw bytes

1!function(){"use strict";var e={232:function(e){e.exports=jQuery}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}!function(){var e=void 0,t=function(t,n,r){var o;return function(){for(var a=arguments.length,i=new Array(a),s=0;s<a;s++)i[s]=arguments[s];var c=t.bind.apply(t,[e].concat(i));o||(r&&!o&&c(),o=setTimeout((function(){r||c(),o=null}),n))}},r=function(){return!("undefined"==typeof window||!("ontouchstart"in window||window.DocumentTouch&&"undefined"!=typeof document&&document instanceof window.DocumentTouch))||!("undefined"==typeof navigator||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints)},o=function(){var e=r(),t=document.getElementsByTagName("html")[0];e?(t.classList.remove("no-touch-device"),t.classList.add("touch-device")):(t.classList.remove("touch-device"),t.classList.add("no-touch-device"))};function a(e){return a="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},a(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){var r,o,a;r=e,o=t,a=n[t],(o=l(o))in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function l(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:String(t)}var u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.config={selector:'[data-viewport="true"]',repeat:"false",class:"in-view",threshold:0,margin:"0px 0px 0px 0px",callback:function(){}},this.configOptions=s(s({},this.config),t||{}),this.triggers=document.querySelectorAll(this.configOptions.selector),this.inViewport(),this.ioBindEvents()}var n,r;return n=e,r=[{key:"inViewport",value:function(){var e=this;this.triggers.forEach((function(t){var n={repeat:t.dataset.viewportRepeat,threshold:t.dataset.viewportThreshold,margin:t.dataset.viewportMargin},r=e.configOptions,o=r.class,a=r.repeat,i=r.threshold,s=r.margin,c=r.callback;!function(e,t){if(!("IntersectionObserver"in window))return e.classList.add(t.className),void(t.cb&&t.cb(e));new IntersectionObserver((function(e,n){e.forEach((function(e){e.isIntersecting?(e.target.classList.add(t.className),t.cb&&t.cb(e),"true"!==t.repeat&&n.unobserve(e.target)):"true"===t.repeat&&e.target.classList.remove(t.className)}))}),{root:null,rootMargin:t.margin,threshold:t.threshold}).observe(e)}(t,{className:o,repeat:n.repeat||a,threshold:n.threshold||i,margin:n.margin||s,cb:c})}))}},{key:"ioBindEvents",value:function(){var e=this,n=t((function(){e.inViewport()}),30);document.addEventListener("resize",n,{passive:!0}),document.addEventListener("orientationchange",n,{passive:!0})}}],r&&c(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),e}(),d=u,f=function(e,t){e.classList.remove("is-active"),t.classList.remove("nav-active"),e.setAttribute("aria-expanded","false")},p=function(e,t,n){e&&(e.classList[t]("is-visible"),e.ariaExpanded=[n])},m=function(e,t,n){e.classList.remove("is-toggled"),t.classList.remove("is-opened"),p(n,"remove","false")},g=function(e){if(document.querySelector(e)){var t=document.querySelector(e),n=document.querySelector("body");t.addEventListener("click",(function(e){e.preventDefault(),"false"===t.getAttribute("aria-expanded")?function(e,t){e.classList.add("is-active"),t.classList.add("nav-active"),e.setAttribute("aria-expanded","true")}(t,n):f(t,n)}))}},y=function(e,t){var n=document.querySelector(e);
1if(n){var r=document.querySelector(t),o=n.querySelectorAll(".js-sub-menu-toggle");o.forEach((function(e){var t=e.nextElementSibling,n=e.parentElement;m(e,n,t),e.addEventListener("click",(function(){var r,o,a=e.className.includes("is-toggled");m(e,n,t),r=e,(o=Array.from(r.nextElementSibling.getElementsByClassName("js-sub-menu-toggle")))&&o.forEach((function(e){var t=e.nextElementSibling;"true"===t.ariaExpanded?t.ariaExpanded="false":t.classList.contains("is-visible")&&(t.ariaExpanded="true")})),a||function(e,t,n){e.classList.add("is-toggled"),t.classList.add("is-opened"),p(n,"add","true")}(e,n,t)}))})),r&&r.addEventListener("click",(function(){o.forEach((function(e){var t=e.nextElementSibling,n=e.parentElement;m(e,n,t)}))}))}},v=function(e){var t=window.location.search||window.location.hash.split("?")[1];if(t){var n=new URLSearchParams(t).get(e);return null!==n?n:""}return""},h=n(232),b=n(232),w=function(e){var t,n=window.location.href.split("?"),r=new URL(window.location.href.toString()),o=new URL(n[0]),a=r.searchParams,i=!1,s=b(e).find('form[data-form="ajax"]'),c=s.find(".js-page-num");c.length>0&&(c.val(null!==(t=a.get("page_num"))&&void 0!==t?t:1),i=!0),s.find('input[type=text]:not([data-ajax="false"])').each((function(e,t){var n,r=b(t);r.val(null!==(n=a.get(r.attr("name")))&&void 0!==n?n:""),i=!0})),s.find('select:not([data-ajax="false"])').each((function(e,t){var n,r=b(t),o=null!==(n=a.get(r.attr("name")))&&void 0!==n?n:"";""!==o?r.find("option[value=".concat(o,"]")).prop("selected",!0):r.find("option:eq(0)").prop("selected",!0),i=!0})),s.find('ul[data-ajax-push-url="true"]:first li a').each((function(e,t){var n=b(t);n.attr("href")!==o.href||n.hasClass("active_term")||(n.trigger("click"),i=!0)})),s.find('select[data-target="input"]').each((function(e,t){var n=b(t),r=n.find("option:selected"),a=s.find("input.".concat(n.data("target-name")));if(r.data("term-url")!==o.href){n.find('option[data-term-url="'.concat(o.href,'"]')).prop("selected",!0);var c=n.find("option:selected");a.val(c.val()),a.data("push-url",c.data("term-url")),i=!0}})),i&&s.trigger("ds_trigger_browser_button_used")},S=function e(t,n){for(var r in n)n[r]&&n[r].constructor&&n[r].constructor===Object?(t[r]=t[r]||{},e(t[r],n[r])):t[r]=n[r];return t};function j(e){return j="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},j(e)}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,A(r.key),r)}}function A(e){var t=function(e,t){if("object"!=j(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=j(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==j(t)?t:String(t)}var E=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.defaults={selector:".js-video-init",wrapper:"js-video-wrap",buttons:{play:".btn-play",mute:".btn-mute",close:".btn-close"},classes:{pause:"is-pause",playing:"is-playing",sound:"is-sound",mute:"is-muted",parentPlay:"is-video-playing",parentPause:"is-video-paused",triggerAutoplay:"js-trigger-autoplay"},controls:!1},this.config=S(this.defaults,t),this.items=document.querySelectorAll(this.config.selector),this.init()}var t,n;return t=e,(n=[{key:"init",value:function(){var e,t=this;t.bindTogglePlay=this.togglePlay.bind(this),t.bindToggleMute=this.toggleMute.bind(this),t.bindEndedVideo=this.endedVideo.bind(this),(e=t.items,function(e){if(Array.isArray(e))return x(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return x(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)?x(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.")}
1()).forEach((function(e){t.config.controls||(e.controls=!1);var n=e.parentElement;n.classList.add(t.config.wrapper);var r=n.querySelector(t.config.buttons.play),o=n.querySelector(t.config.buttons.mute);r&&r.addEventListener("click",t.bindTogglePlay),o&&o.addEventListener("click",t.bindToggleMute),e.addEventListener("ended",t.bindEndedVideo,!1),e.classList.contains(t.config.classes.triggerAutoplay)&&t.startPlay(e)}))}},{key:"endedVideo",value:function(e){var t=this,n=e.currentTarget,r=n.closest("."+t.config.wrapper),o=r.querySelector(t.config.buttons.play);n.pause(),n.currentTime=0,o.classList.add(t.config.classes.pause),o.classList.remove(t.config.classes.playing),r.classList.remove(t.config.classes.parentPlay)}},{key:"togglePlay",value:function(e){var t=this,n=e.currentTarget,r=n.closest("."+t.config.wrapper),o=r.querySelector(t.config.selector);o.paused||o.ended?(n.classList.add(t.config.classes.playing),r.classList.add(t.config.classes.parentPlay),r.classList.remove(t.config.classes.parentPause),n.classList.remove(t.config.classes.pause),o.play()):(n.classList.add(t.config.classes.pause),r.classList.add(t.config.classes.parentPause),r.classList.remove(t.config.classes.parentPlay),n.classList.remove(t.config.classes.playing),o.pause())}},{key:"toggleMute",value:function(e){var t=this,n=e.currentTarget,r=n.closest("."+t.config.wrapper).querySelector(t.config.selector);r.muted=!r.muted,r.muted?(n.classList.add(t.config.classes.mute),n.classList.remove(t.config.classes.sound)):(n.classList.add(t.config.classes.sound),n.classList.remove(t.config.classes.mute))}},{key:"stopPlay",value:function(e){var t=this,n=e,r=n.parentElement.querySelector(t.config.buttons.play);n.paused&&n.ended||(r.classList.add(t.config.classes.pause),r.classList.remove(t.config.classes.playing),n.pause())}},{key:"startPlay",value:function(e){var t=this,n=e,r=n.parentElement.querySelector(t.config.buttons.play);(n.paused||n.ended)&&(r.classList.add(t.config.classes.playing),r.classList.remove(t.config.classes.pause),n.play())}}])&&L(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var q=function(){var e;(e=document.querySelectorAll(".js-video-play-pause"),function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return _(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)?_(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.")}()).forEach((function(e){var t=e.closest(".m-banner");if(t){var n=t.querySelector("video");if(n){var r=e.dataset.playText,o=e.innerText;e.setAttribute("tabIndex","0"),n.autoplay?e.classList.add("is-playing"):e.innerText=r;var a=function(){n.paused?(n.play(),e.innerText=o,e.classList.add("is-playing")):(n.pause(),e.classList.remove("is-playing"),e.innerText=r)};e.addEventListener("click",a),e.addEventListener("keydown",(function(e){13===e.keyCode&&a()}))}else e.style.display="none"}}))};function O(e){return O="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},O(e)}function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){return function(e){if(Array.isArray(e))return P(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return P(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)?P(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 P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function T(e){return function(e){if(Array.isArray(e))return C(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return C(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)?C(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 C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var D=function(){var e;(e=document.querySelectorAll(".js-image-before-after"),function(e){if(Array.isArray(e))return M(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return M(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)?M(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.")}
1()).forEach((function(e){var t=e.querySelector(".c-image__primary"),n=e.querySelector(".c-image__secondary");if(t&&n){var r=t.parentElement,o=t.querySelector(".c-image__src"),a=n.querySelector(".c-image__src"),i=document.createElement("template");if(i.innerHTML='<input type="range" min="0" max="100" value="50" class="c-image__slider" name=\'slider\' title="Before & After Slider">\n    <div class=\'c-image__slider-button\'></div>',o&&a){t.style.backgroundImage='url("'.concat(o.getAttribute("src"),'")'),n.style.width="50%",n.style.backgroundImage='url("'.concat(a.getAttribute("src"),'")'),r.style.setProperty("--image-background-size","".concat(r.offsetWidth,"px 100%")),r.appendChild(i.content);var s=r.querySelector(".c-image__slider"),c=r.querySelector(".c-image__slider-button");s.addEventListener("input",(function(e){var t=e.target.value;n.style.width="".concat(t,"%"),c.style.left="".concat(t,"%")})),window.addEventListener("resize",(function(){r.style.setProperty("--image-background-size","".concat(r.offsetWidth,"px 100%"))}))}}}))};function R(e){return function(e){if(Array.isArray(e))return H(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||B(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 B(e,t){if(e){if("string"==typeof e)return H(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)?H(e,t):void 0}}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var W=function(){setTimeout((function(){var e;(e=document.querySelectorAll('button[role="group"]'),function(e){if(Array.isArray(e))return U(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return U(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)?U(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.")}()).forEach((function(e){return e.removeAttribute("role")}))}),2e3)},Y=n(232),F="ds_gate_form_",N=function(e){return document.cookie.split("; ").some((function(t){return t.startsWith("".concat(F).concat(e,"="))}))},z=function(e,t){var n=document.createElement("a");n.href=e,n.origin===window.location.origin?n.setAttribute("download",t||""):(n.target="_blank",n.rel="noopener"),n.style.display="none",document.body.appendChild(n),n.click(),n.remove()},V=function(e){e.href=e.dataset.gateFile,e.target="_blank",e.rel="noopener",e.setAttribute("download",e.dataset.gateFilename||""),e.classList.remove("floatbox")};document.addEventListener("DOMContentLoaded",(function(){var e,n,a,i,s,c,l,u,p,m,b,S,j;!function(){o();var e=t((function(){o()}),300);window.addEventListener("resize",(function(){e()}))}(),u=".site-header",p="is-sticky",m=document.querySelector(u),b=parseInt(m.offsetHeight/2,10),S=parseInt(b/5,10),j=t((function(){window.pageYOffset>b+S?m.classList.add(p):window.pageYOffset<b-S&&m.classList.remove(p)}),30),window.addEventListener("scroll",(function(){j()})),window.pageYOffset>b+S&&m.classList.add(p),function(){var e=document.querySelector(".woocommerce-store-notice"),t=document.createElement("style");t.type="text/css",t.classList.add("ds-custom");var n=document.querySelector(".site-header"),r=new ResizeObserver((function(e){e.forEach((function(e){var n=e.target.offsetHeight;t.innerHTML=":root {--navbar-height: ".concat(n,"px;}"),document.head.appendChild(t),r.disconnect()}))}));r.observe(n),e&&new ResizeObserver((function(e){e.forEach((function(e){var n=e.target.offsetHeight;t.innerHTML+=":root {--wc-notice-height: ".concat(n,"px;}")}))})).observe(e)}(),q(),I(document.querySelectorAll(".js-scroll-anim-image")).forEac
1h((function(e){var t=e.querySelector(".c-block__media"),n=e.querySelector(".c-block__text-image");if(t&&n){var r=I(n.parentElement.children).filter((function(e){return e!==n})),o=window.innerWidth>=1112,a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){var r,o,a,i;r=e,o=t,a=n[t],i=function(e,t){if("object"!=O(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=O(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==O(i)?i:String(i))in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({step:20},{currentStep:0,isReversed:!1,prevWrapperTop:e.getBoundingClientRect().top,isStart:!1,isInit:!1,start:{},finish:{},offset:.4,threshold:100}),i={rootMargin:"0px",threshold:new Array(a.threshold).fill(1).map((function(e,t){return(t+1)/a.threshold}))},s=new IntersectionObserver((function(e,t){var n=e[0];if(a.isInit){var r=a.prevWrapperTop<n.boundingClientRect.top,o=a.currentStep;a.isReversed=r,a.prevWrapperTop=n.boundingClientRect.top,n.isIntersecting?(!r&&n.boundingClientRect.top<=n.rootBounds.height*a.offset||r&&n.boundingClientRect.bottom>=n.rootBounds.height)&&((o+=r?1:-1)<0&&(o=0),o>a.step&&(o=a.step),a.currentStep!==o&&(a.currentStep=o,c())):(n.boundingClientRect.bottom<0?0!==a.currentStep&&(a.currentStep=0):n.boundingClientRect.top>n.rootBounds.height&&a.currentStep!==a.step&&(a.currentStep=a.step,a.isStart=!0),c())}else a.prevWrapperTop=n.boundingClientRect.top,a.prevWrapperTop>n.rootBounds.height*a.offset&&(a.currentStep=a.step,a.isStart=!0,c()),a.isInit=!0}),i),c=function(){var e=a.currentStep,o=a.step,i=a.start,s=a.finish;e>=o?(t.style.transform="scale(".concat(i.media,")"),n.style.transform="scale(".concat(i.image,") translateY(").concat(a.start.imageY,"px)"),r.forEach((function(e){return e.style&&(e.style.opacity=i.contents)})),a.isStart=!0):e<=0?(t.style.transform="scale(".concat(s.media,")"),n.style.transform="scale(".concat(s.image,")"),r.forEach((function(e){return e.style&&(e.style.opacity=s.contents)})),a.isStart=!1):(t.style.transform="scale(".concat(s.media+(a.start.media-a.finish.media)/a.step*e,")"),n.style.transform="scale(".concat(s.image+(a.start.image-a.finish.image)/a.step*e,") translateY(").concat((a.start.imageY-a.finish.imageY)/a.step*e,"px)"),r.forEach((function(t){return t.style&&(t.style.opacity=s.contents/e)})))},l=function(){s.observe(e);var o=t.getBoundingClientRect(),i=n.getBoundingClientRect(),c="all 0.375s ease-out";a.start={media:i.width/o.width-.0651,image:o.width/i.width+.0651,contents:0},a.finish={media:1,image:1,imageY:1,contents:1},a.start.imageY=o.top-(i.top-(i.height*a.start.image-i.height+60)),t.style.transition=c,n.style.transition=c,r.forEach((function(e){return e.style&&(e.style.transition=c)}))};o&&l(),window.addEventListener("resize",(function(){window.innerWidth>=1112?o||(setTimeout((function(){return l()}),300),o=!0):o&&(a.isInit=!1,s.unobserve(e),a.currentStep=0,c(),o=!1)}))}})),D(),g(".js-m-burger-toggle"),y(".js-m-burger-wrap",".js-m-burger-toggle"),function(e){var t=document.querySelector(".navbar-mobile__inner");if(t){var n=document.querySelector(e),o=document.querySelector("body"),a=null,i=null;r()&&(t.addEventListener("touchmove",(function(e){!function(e){if(a&&i){var r,s=e.touches[0].clientX,c=e.touches[0].clientY,l=a-s,u=i-c;Math.abs(l)>Math.abs(u)||u>0&&((r=t).scrollHeight>r.offsetHeight||f(n,o)),a=null,i=null}}(e),t.removeEventListener("touchstart",(function(){}),{once:!0})}),!1),t.addEventListener("touchstart",(function(e){var n;a=(n=e).touches[0].clientX,i=n.touches[0].clientY,t.removeEventListener("touchmove",(function(){}),{once:!0})}),!1))}}(".js-m-burger-toggle"),g(".js-d-burger-toggle"),y(".js-d-burger-wrap",".js-d-burger-toggle"),function(){var e=document.querySelector('[data-js="search-target"]');if(e){var t=document.querySelector('[data-js="search-trigger"]'),n=document.querySelector('[data-js="search-close"]'),r=e.querySelector(".search-field");n.setAttribute("tabIndex","-1"),r.setAttribute("tabIndex","-1");var o=function(o){o.preventDefault(),console.log("showOverlay",e),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"is-hidden",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is-shown";e.classList.remove(t),e.classList.add(n)}(e),r.removeAttribute("tabIndex"),n.removeAttribute("tabIndex"),t.removeAttribute("tabIndex"),t.style.opacity=0,r.focus(),document.body.classList.add("ds-overlay-search")},a=function(o){o.preventDefault(),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"is-hidden",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is-shown";e.classList.add(t),e.classList.remove(n)}(e),r.setAttribute("tabIndex","-1"),n.setAttribute("tabIndex","-1"),n.setAttribute("tabIndex","0"),t.style.opacity=1,t.focu
1s(),document.body.classList.add("ds-overlay-search")};t.addEventListener("click",o),n.addEventListener("click",a),t.addEventListener("keydown",(function(e){13===e.keyCode&&o(e)})),n.addEventListener("keydown",(function(e){13===e.keyCode&&a(e)})),document.addEventListener("keydown",(function(e){document.body.classList.contains("ds-overlay-search")&&("Escape"!==e.key&&27!==e.keyCode||a(e))}))}}(),function(){var e=Array.from(document.querySelectorAll('[data-toggle="collapse"]'));window.addEventListener("click",(function(t){var r=t.target;if(e.includes(r)){t.preventDefault();var o=r.getAttribute("data-target"),a=r.getAttribute("data-text-closed"),i=r.getAttribute("data-text-opened");n(o,"toggle"),t.target.classList.contains("collapse-trigger--opened")?(t.target.classList.remove("collapse-trigger--opened"),t.target.innerHTML=a):(t.target.classList.add("collapse-trigger--opened"),t.target.innerHTML=i)}}),!1);var t={toggle:"toggle",show:"add",hide:"remove"},n=function(e,n){Array.from(document.querySelectorAll(e)).forEach((function(e){e.classList[t[n]]("is-show")}))}}(),document.querySelectorAll(".read-more-wrapper").forEach((function(e){var t=e.querySelector(".js-read-more-toggle"),n=t.getAttribute("data-show-less-text"),r=t.children[0].textContent,o=e.querySelector(".read-more-text");t.addEventListener("click",(function(a){a.preventDefault();var i=e.classList.contains("is-active"),s=o.scrollHeight;i?(e.classList.remove("is-active"),t.children[0].textContent=r,o.style.maxHeight=0):(e.classList.add("is-active"),t.children[0].textContent=n,o.style.maxHeight="".concat(s,"px"))}))})),document.addEventListener("click",(function(e){if(e.target.matches('[data-js="toggle-element"]')){e.preventDefault();var t=document.querySelector(e.target.hash);if(!t)return;!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"is-hidden";e.classList.toggle(t)}(t)}}),!1),document.querySelector(".js-ajax-block")&&function(e){e(".js-ajax-block").each((function(t){var n,r;n=e(".js-ajax-block")[t],r={module:null,action:null,form:"",moreBtn:e(),results:null,doing_ajax:null,timeout:null,query:{post_type:null,per_page:9,page:1,main_taxonomy:null},component_styles:{},page_num:1,ajax_url:ds.ajax_url,page_get_parameter_enable:!1,preloader:'<div class="filter-loader loader"><div class="spinner"><div class="double-bounce1"></div><div class="double-bounce2"></div></div><div class="loader-bg"></div></div>',init:function(t){var n=e(t),o=v("page_num");n&&(r.module=n,r.action=n.data("action"),r.query.page=""!==o?parseInt(o):1,r.query.post_type=n.data("post-type"),r.query.posts_per_page=n.data("per-page"),r.query.main_taxonomy=n.data("main-taxonomy"),r.page_get_parameter_enable=!0===n.data("page-parameter"),r.initElementsActions())},initElementsActions:function(){var e=r.module.find('div[data-container="ajax-result"]');if(e){r.results=e;var t=r.module.find(".ajax-load-more");t&&(r.moreBtn=t,r.morePosts());var n=r.module.find('form[data-form="ajax"]');n&&(r.form=n,r.changeForm())}var o=r.module.data("class");o&&(r.component_styles.class=o);var a=r.module.data("styles");a&&(r.component_styles.styles=a);var i=r.module.data("image");i&&(r.component_styles.image=i)},morePosts:function(){r.moreBtn.on("click",(function(e){e.preventDefault(),r.sendAjax(r.query.page,!0,!0)}))},changeForm:function(){var t=r.form.find('input[type="text"], textarea');
1t.unbind("keyup"),t.not('[data-ajax="false"]').keyup((function(e){13!==e.keyCode&&(null!=r.timeout&&clearTimeout(r.timeout),r.timeout=setTimeout((function(){r.timeout=null,r.sendAjax(),n.parent().addClass("is-filter-active")}),500))}));var n=r.form.find('button[type="submit"]');n.unbind("click"),n.not('[data-ajax="false"]').click((function(e){e.preventDefault(),r.sendAjax(),n.parent().addClass("is-filter-active")}));var o=r.form.find("select");o.unbind("change"),o.not('[data-ajax="false"]').change((function(){r.sendAjax()})),o.filter('[data-target="input"]').change((function(t){var n=e(t.target),o=r.form.find("input.".concat(n.data("target-name")));if(o){var a=n.find("option:selected");o.val(a.val()),o.data("push-url",a.data("term-url")),r.sendAjax()}})),o.filter('[data-target="ul"]').change((function(t){var n=e(t.target);r.form.find("ul.".concat(n.data("target-name"))).find('li a[data-term-slug="'.concat(n.find("option:selected").val(),'"]')).trigger("click"),r.sendAjax()}));var a=r.form.find('ul[data-ajax-push-url="true"]').first();a.unbind("change"),a.find("li a").click((function(t){t.preventDefault(),a.find("li a").removeClass("active_term");var n=e(t.target);n.addClass("active_term");var o,i=r.form.find("input.".concat(a.data("target-name")));i&&(i.val(n.data("term-slug")),i.data("push-url",n.attr("href")),null===(o=r.form.find("select.".concat(a.data("target-name"),' option[value="').concat(n.data("term-slug"),'"]')))||void 0===o||o.prop("selected",!0),r.sendAjax())})),r.form.unbind("keydown"),r.form.on("ds_trigger_browser_button_used",(function(e){e.preventDefault(),r.sendAjax(0,!1,!1,!0)}))},sendAjax:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];null!=r.doing_ajax&&(r.doing_ajax.abort(),r.doing_ajax=null,r.module.find(".loader").remove());var i,s={action:r.action,query:{post_type:r.query.post_type,posts_per_page:r.query.posts_per_page,paged:t},main_taxonomy:r.query.main_taxonomy,component:r.component_styles,device:e(window).width()<=768?"mobile":"desktop",browser_button_used:a};r.form.length>0&&(s.form=r.form.serialize()),n&&r.build_url(s.query.paged,o),r.page_get_parameter_enable&&(t=null!==(i=v("page_num"))&&void 0!==i?i:s.query.paged,s.query.paged=t),r.doing_ajax=e.ajax({url:r.ajax_url,type:"POST",data:s,beforeSend:function(e){r.module.append(r.preloader)},success:function(e){var n;e?(1!=e.page&&0!=e.page||r.results.html(""),r.results.append(e.posts),e.max_pages===e.page?r.moreBtn.hide():r.moreBtn.show(),0===e.total_posts_showing?r.module.find(".js-blog-counter-wrapper").hide():r.module.find(".js-blog-counter-wrapper").show(),e.total_posts_showing&&(r.module.find(".js-blog-counter-showing").text(e.total_posts_showing),r.module.find(".js-total-items-shown").val(e.total_posts_showing)),e.total_posts&&r.module.find(".js-blog-counter-total").text(e.total_posts),t=null!==(n=v("page_num"))&&void 0!==n?n:e.query.paged,t=r.page_get_parameter_enable?t:parseInt(e.page),r.query.page=t,r.module.find(".js-page-num").val(t),r.moreBtn.attr("data-page",e.page),r.module.find(".loader").remove()):r.moreBtn.hide(),r.doing_ajax=null}})},build_url:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=window.location.href.split("?"),a=new URL(o[0]),i=new URL(window.history.state&&window.history.state.path?window.history.state.path:window.location.href),s=!1,c=null!==(e=r.form.find("input[data-push-url]").first().data("push-url"))&&void 0!==e?e:"";""!==c&&(s=!0,a.href=c),n?(a.searchParams.set("page_num",(isNaN(parseInt(r.query.page))?1:parseInt(r.query.page))+1),s=!0):a.searchParams.delete("page_num"),r.form.find('input[type=text]:not([data-ajax="false"])').each((function(){s=!0,h(this).val().length>0&&a.searchParams.set(h(this).attr("name"),h(this).val())})),r.form.find('select:not([data-ajax="false"])').each((function(){s=!0,h(this).find("option:selected").val().length>0&&a.searchParams.set(h(this).attr("name"),h(this).find("option:selected").val())}));var l=decodeURIComponent(a);!s||i.searchParams.toString()===a.searchParams.toString()&&i.href===a.href||window.history.pushState({path:l,ds_trigger_filter:!0,paged:t},null,l)}},r.init(n)})),addEventListener("popstate",(function(t){e(".js-ajax-block").each((function(e,t){w(t)}))}))}(h),new E,c=window.innerWidth>
1=1112,T(l=document.querySelectorAll(".js-list-toggle")).forEach((function(e){var t=e.parentElement;e.addEventListener("click",(function(){t.classList.contains("is-opened")?t.classList.remove("is-opened"):t.classList.add("is-opened")}))})),window.addEventListener("resize",(function(){window.innerWidth>=1112&&(c?c&&(c=!1):(c=!0,T(l).forEach((function(e){var t=e.parentElement;t&&t.classList.remove("is-opened")}))))})),a=document.body,i=function(e){e.relatedTarget&&(e.relatedTarget.classList.contains("exit-popup-link")||e.relatedTarget===e.currentTarget)&&e.target.focus()},s=null,new MutationObserver((function(e,t){var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=B(e))){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw a}}}}(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;"childList"===o.type&&(o.addedNodes.forEach((function(e){if(e.classList.contains("fbMain")){var t=document.createElement("a");t.classList.add("exit-popup-link"),t.setAttribute("tabIndex","0"),e.appendChild(t),e.setAttribute("tabIndex",0),e.addEventListener("focusout",i),setTimeout((function(){var t=e.querySelector('[id*="popup"]');if(s="#".concat(t.id),t){var n=t.querySelectorAll("a"),r=t.querySelectorAll("button"),o=t.querySelectorAll("input"),a=t.querySelectorAll("select"),i=t.querySelectorAll("textarea"),c=t.querySelector(".c-team__details-bio");R(r).forEach((function(e){return e.setAttribute("tabIndex",0)})),R(n).forEach((function(e){return e.setAttribute("tabIndex",0)})),R(o).forEach((function(e){return e.setAttribute("tabIndex",0)})),R(a).forEach((function(e){return e.setAttribute("tabIndex",0)}
1)),R(i).forEach((function(e){return e.setAttribute("tabIndex",0)})),c&&c.setAttribute("tabIndex",0)}}),1500)}})),o.removedNodes.forEach((function(e){if(e.classList.contains("fbMain")&&(e.removeEventListener("focusout",i),s)){var t=document.querySelector('a[href="'.concat(s,'"]'));t&&t.focus()}})))}}catch(e){r.e(e)}finally{r.f()}})).observe(a,{childList:!0}),e=null,n=new Set,document.querySelectorAll(".js-gate-shortcode").forEach((function(e){N(e.dataset.gateForm)&&V(e)})),document.addEventListener("click",(function(t){var r=t.target.closest(".js-gate-download");if(r){var o=r.dataset,a=o.gateForm,i=o.gateFile,s=o.gateFilename;if(n.has(String(a))||N(a))return t.stopImmediatePropagation(),r.classList.contains("js-gate-shortcode")?void V(r):(t.preventDefault(),void z(i,s));e=r}}),!0),Y&&Y(document).on("gform_confirmation_loaded",(function(t,r){if(e&&String(e.dataset.gateForm)===String(r)){var o=e.dataset,a=o.gateFile,i=o.gateFilename;n.add(String(r)),function(e){var t="https:"===window.location.protocol?"; Secure":"";document.cookie="".concat(F).concat(e,"=1; max-age=").concat(2592e3,"; path=/; SameSite=Lax").concat(t)}(r),z(a,i),e=null;var s=document.getElementById("gform_confirmation_wrapper_".concat(r));s&&(s.style.display="none"),window.fb&&window.fb.end()}})),W(),new d({})})),window.addEventListener("load",(function(){}))}()}();

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.