PageSourceSearch

https://www.senseca.com/build/app.f7289c85.js

js senseca.com collected 2026-10-04 18:51:03 UTC 247,999 bytes, 2 lines download raw bytes

1/*! For license information please see app.f7289c85.js.LICENSE.txt */
2"use strict";(self.webpackChunksenseca_cms=self.webpackChunksenseca_cms||[]).push([[524],{683:function(t,r,a){a(3774),a(9212),a(6972);var l,c=function disablePageScroll(){document.body.classList.add("no-scroll")},u=function scrollIntoView(t){null==t||t.scrollIntoView({behavior:"smooth",block:"start"})};function isMinBreakpoint(t){return globalThis.matchMedia("(min-width: ".concat(t,"px)")).matches}function onBreakpoint(t,r){t.includes(function getActiveBreakpoint(){var t=window.innerWidth;return t<=l.MD?l.SM:t<=l.LG?l.MD:l.LG}())&&r()}!function(t){t[t.SM=640]="SM",t[t.MD=1024]="MD",t[t.LG=1464]="LG"}(l||(l={}));var p="undefined"!=typeof pimcore,m=function debounce(t,r){var a=null;return function(){for(var l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];null!==a&&clearTimeout(a),a=setTimeout(function(){return t.apply(void 0,c)},r)}};function _typeof(t){return _typeof="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},_typeof(t)}function ownKeys(t,r){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);r&&(l=l.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),a.push.apply(a,l)}return a}function _objectSpread(t){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(a),!0).forEach(function(r){_defineProperty(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):ownKeys(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function _defineProperty(t,r,a){return(r=_toPropertyKey(r))in t?Object.defineProperty(t,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[r]=a,t}function _slicedToArray(t,r){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,r){var a=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=a){var l,c,u,p,m=[],h=!0,v=!1;try{if(u=(a=a.call(t)).next,0===r){if(Object(a)!==a)return;h=!1}else for(;!(h=(l=u.call(a)).done)&&(m.push(l.value),m.length!==r);h=!0);}catch(t){v=!0,c=t}finally{try{if(!h&&null!=a.return&&(p=a.return(),Object(p)!==p))return}finally{if(v)throw c}}return m}}(t,r)||function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return _arrayLikeToArray(t,r);var a={}.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?_arrayLikeToArray(t,r):void 0}}(t,r)||function _nonIterableRest(){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 _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var a=0,l=Array(r);a<r;a++)l[a]=t[a];return l}function _regenerator(){var t,r,a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",c=a.toStringTag||"@@toStringTag";function i(a,l,c,p){var m=l&&l.prototype instanceof Generator?l:Generator,h=Object.create(m.prototype);return _regeneratorDefine2(h,"_invoke",function(a,l,c){var p,m,h,v=0,y=c||[],g=!1,b={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function d(r,a){return p=r,m=0,h=t,b.n=a,u}};function d(a,l){for(m=a,h=l,r=0;!g&&v&&!c&&r<y.length;r++){var c,p=y[r],S=b.p,w=p[2];a>3?(c=w===l)&&(h=p[(m=p[4])?5:(m=3,3)],p[4]=p[5]=t):p[0]<=S&&((c=a<2&&S<p[1])?(m=0,b.v=l,b.n=p[1]):S<w&&(c=a<3||p[0]>l||l>w)&&(p[4]=a,p[5]=l,b.n=w,m=0))}if(c||a>1)return u;throw g=!0,l}return function(c,y,S){if(v>1)throw TypeError("Generator is already running");for(g&&1===y&&d(y,S),m=y,h=S;(r=m<2?t:h)||!g;){p||(m?m<3?(m>1&&(b.n=-1),d(m,h)):b.n=h:b.v=h);try{if(v=2,p){if(m||(c="next"),r=p[c]){if(!(r=r.call(p,h)))throw TypeError("iterator result is not an object");if(!r.done)return r;h=r.value,m<2&&(m=0)}else 1===m&&(r=p.return)&&r.call(p),m<2&&(h=TypeError("The iterator does not provide a '"+c+"' method"),m=1);p=t}else if((r=(g=b.n<0)?h:a.call(l,b))!==u)break}catch(r){p=t,m=1,h=r}finally{v=1}}return{value:r,done:g}}}(a,c,p),!0),h}var u={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}r=Object.getPrototypeOf;var p=[][l]?r(r([][l]())):(_regeneratorDefine2(r={},l,function(){return this}),r),m=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(t,c,"GeneratorFunction")),t.prototype=Object.create(m),t}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(m,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,c,"GeneratorFunction"),_regeneratorDefine2(m),_regeneratorDefine2(m,c,"Generator"),_regeneratorDefine2(m,l,function(){return this}),_regeneratorDefine2(m,"toString",function(){return"[object Generator]"}),(_regenerator=function _regenerator(){return{w:i,m:f}})()}function _regeneratorDefine2(t,r,a,l){var c=Object.defineProperty;try{c({},"",{})}catch(t){c=0}_regeneratorDefine2=function _regeneratorDefine(t,r,a,l){function o(r,a){_regeneratorDefine2(t,r,function(t){return this._invoke(r,a,t)})}r?c?c(t,r,{value:a,enumerable:!l,configurable:!l,writable:!l}):t[r]=a:(o("next",0),o("throw",1),o("return",2))},_regeneratorDefine2(t,r,a,l)}function asyncGeneratorStep(t,r,a,l,c,u,p){try{var m=t[u](p),h=m.value}catch(t){return void a(t)}m.done?r(h):Promise.resolve(h).then(l,c)}function _defineProperties(t,r){for(var a=0;a<r.length;a++){var l=r[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,_toPropertyKey(l.ke
2y),l)}}function _toPropertyKey(t){var r=function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var l=a.call(t,r||"default");if("object"!=_typeof(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(r)?r:r+""}var h;!function(t){t.asset="asset",t.youtube="youtube",t.vimeo="vimeo",t.dailymotion="dailymotion"}(h||(h={}));var v=function(){return function _createClass(t,r,a){return r&&_defineProperties(t.prototype,r),a&&_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(function Video(t){var r,a;!function _classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,Video),this.videoType=null,this.videoType=null!==(r=t.dataset.type)&&void 0!==r?r:null,this.rawVideoId=null!==(a=t.dataset.video)&&void 0!==a?a:"",this.mediaContainer=t.querySelector(".video__media"),this.videoOverlay=t.querySelector(".video__overlay"),this.consentNotice=t.querySelector(".cookieconsent-optout-marketing")},[{key:"isBlockedByConsent",value:function isBlockedByConsent(){var t;return null!==this.consentNotice&&!(null!==(t=globalThis.Cookiebot)&&void 0!==t&&null!==(t=t.consent)&&void 0!==t&&t.marketing)}},{key:"init",value:function init(){this.mediaContainer&&this.videoType&&("asset"===this.videoType?this.handleVideoAsset():this.handleExternalAsset())}},{key:"handleVideoAsset",value:function handleVideoAsset(){var t=this.mediaContainer,r=this.videoOverlay,a=null==t?void 0:t.querySelector("video");if(a){var l=a.hasAttribute("autoplay");if(a.controls=!1,l){var c=t.querySelector(".video__pause-button");if(!window.matchMedia("(min-width: 1024px)").matches)return void(c&&(c.style.display="none"));if(a.querySelectorAll("source[data-src]").forEach(function(t){t.dataset.src&&(t.src=t.dataset.src)}),a.load(),a.play().then(function(){a.setAttribute("is-playing","")}),!c)return;var u=c.querySelector(".icon--play"),p=c.querySelector(".icon--pause");null==c||c.addEventListener("click",function(){var t=function _asyncToGenerator(t){return function(){var r=this,a=arguments;return new Promise(function(l,c){var u=t.apply(r,a);function _next(t){asyncGeneratorStep(u,l,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(u,l,c,_next,_throw,"throw",t)}_next(void 0)})}}(_regenerator().m(function _callee(t){return _regenerator().w(function(r){for(;;)switch(r.n){case 0:if(t.preventDefault(),t.stopImmediatePropagation(),c.focus(),!a.hasAttribute("is-playing")){r.n=1;break}a.pause(),a.removeAttribute("is-playing"),u.style.display="block",p.style.display="none",r.n=3;break;case 1:return r.n=2,a.play();case 2:a.setAttribute("is-playing",""),u.style.display="none",p.style.display="block";case 3:return r.a(2)}},_callee)}));return function(r){return t.apply(this,arguments)}}())}else a.addEventListener("click",function(t){t.preventDefault(),t.stopImmediatePropagation(),a.removeAttribute("controls"),a.pause(),r&&(r.style.display="block")}),r&&r.addEventListener("click",function(){a.setAttribute("controls","true"),a.play(),this.style.display="none"})}}},{key:"handleExternalAsset",value:function handleExternalAsset(){var t=this,r=this.mediaContainer,a=this.videoOverlay,l=document.createElement("iframe");l.src="",l.allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen",l.allowFullscreen=!0;var c=this.rawVideoId.split(/[?&]/)[0],u=this.getQuery({autoplay:1});switch(this.videoType){case h.youtube:l.src="https://www.youtube.com/embed/".concat(c).concat(u);break;case h.vimeo:u=this.getQuery({autoplay:1,title:0,byline:0,portrait:0}),l.src="https://player.vimeo.com/video/".concat(c).concat(u);break;case h.dailymotion:l.src="https://www.dailymotion.com/embed/video/".concat(c).concat(u);break;default:return}null==a||a.addEventListener("click",function(){t.isBlockedByConsent()||(r.innerHTML="",r.appendChild(l),a.style.display="none")})}},{key:"getQuery",value:function getQuery(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=this.rawVideoId.split(/[?&]/)[1],l={};a&&a.split("&").forEach(function(r){var a=_slicedToArray(r.split("="),2),c=a[0],u=a[1];if(c){if(u=null!=u?u:"","t"===c&&"youtube"===t.videoType){c="start";var p=u.replace(/s$/,""),m=Number(p);Number.isNaN(m)||(u=m.toString())}l[c]=u}});var c=_objectSpread(_objectSpread({},l),r),u=Object.entries(c);return u.length?"?"+u.map(function(t){var r=_slicedToArray(t,2),a=r[0],l=r[1];return"".concat(encodeURIComponent(a),"=").concat(encodeURIComponent(String(l)))}).join("&"):""}}])}();function FileUpload_typeof(t){return FileUpload_typeof="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},FileUpload_typeof(t)}function FileUpload_slicedToArray(t,r){return function FileUpload_arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function FileUpload_iterableToArrayLimit(t,r){var a=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=a){var l,c,u,p,m=[],h=!0,v=!1;try{if(u=(a=a.call(t)).next,0===r){if(Object(a)!==a)return;h=!1}else for(;!(h=(l=u.call(a)).done)&&(m.push(l.value),m.length!==r);h=!0);}catch(t){v=!0,c=t}
2finally{try{if(!h&&null!=a.return&&(p=a.return(),Object(p)!==p))return}finally{if(v)throw c}}return m}}(t,r)||FileUpload_unsupportedIterableToArray(t,r)||function FileUpload_nonIterableRest(){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 FileUpload_defineProperties(t,r){for(var a=0;a<r.length;a++){var l=r[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,FileUpload_toPropertyKey(l.key),l)}}function FileUpload_toPropertyKey(t){var r=function FileUpload_toPrimitive(t,r){if("object"!=FileUpload_typeof(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var l=a.call(t,r||"default");if("object"!=FileUpload_typeof(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==FileUpload_typeof(r)?r:r+""}function _createForOfIteratorHelper(t,r){var a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=FileUpload_unsupportedIterableToArray(t))||r&&t&&"number"==typeof t.length){a&&(t=a);var l=0,c=function F(){};return{s:c,n:function n(){return l>=t.length?{done:!0}:{done:!1,value:t[l++]}},e:function e(t){throw t},f:c}}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 u,p=!0,m=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return p=t.done,t},e:function e(t){m=!0,u=t},f:function f(){try{p||null==a.return||a.return()}finally{if(m)throw u}}}}function FileUpload_unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return FileUpload_arrayLikeToArray(t,r);var a={}.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?FileUpload_arrayLikeToArray(t,r):void 0}}function FileUpload_arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var a=0,l=Array(r);a<r;a++)l[a]=t[a];return l}document.addEventListener("DOMContentLoaded",function(){p||document.querySelectorAll(".video").forEach(function(t){new v(t).init()})});var y=new Set(["application/pdf","image/jpeg","image/png"]),g=new Set(["pdf","jpg","jpeg","png"]),b={pdf:"application/pdf",jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png"};var S=function(){return function FileUpload_createClass(t,r,a){return r&&FileUpload_defineProperties(t.prototype,r),a&&FileUpload_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(function FileUpload(t){!function FileUpload_classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,FileUpload),this.files=[],this.root=t,this.input=t.querySelector("[data-file-upload-field]"),this.dropzone=t.querySelector("[data-file-upload-dropzone]"),this.list=t.querySelector("[data-file-upload-list]"),this.rowTemplate=t.querySelector("[data-file-upload-row-template]"),this.maxTotalBytes=Number(t.dataset.maxSize)||20971520,this.maxFileCount=Number(t.dataset.maxCount)||20,this.typeFailMessage=t.dataset.messageType||"Only PDF, JPG and PNG files are allowed.",this.sizeLimitMessage=t.dataset.messageSize||"The total size of all files must not exceed 20 MB.",this.countLimitMessage=t.dataset.messageCount||"You may attach at most 20 files.";var r=function parseAllowedTypes(t){var r,a=new Set,l=new Set,c=_createForOfIteratorHelper(t.split(",").map(function(t){return t.trim().toLowerCase()}));try{for(c.s();!(r=c.n()).done;){var u=r.value;if(u.startsWith(".")){var p=u.slice(1);a.add(p),b[p]&&l.add(b[p])}else u.includes("/")&&l.add(u)}}catch(t){c.e(t)}finally{c.f()}return 0===a.size&&0===l.size?{extensions:g,mimeTypes:y}:{extensions:a,mimeTypes:l}}(this.input.accept||"");this.allowedExtensions=r.extensions,this.allowedMimeTypes=r.mimeTypes,this.bindEvents(),this.adoptRestoredFiles()},[{key:"adoptRestoredFiles",value:function adoptRestoredFiles(){var t,r;0===this.files.length&&(null!==(t=null===(r=this.input.files)||void 0===r?void 0:r.length)&&void 0!==t?t:0)>0&&this.addFiles(this.input.files)}},{key:"bindEvents",value:function bindEvents(){var t,r=this;this.input.addEventListener("change",function(){r.addFiles(r.input.files)});var a=this.root.querySelector("[data-file-upload-browse]");null==a||a.addEventListener("click",function(t){t.preventDefault(),r.input.click()});for(var l=0,c=["dragenter","dragover"];l<c.length;l++){var u=c[l];this.dropzone.addEventListener(u,function(t){t.preventDefault(),r.dropzone.classList.add("file-upload__dropzone--active")})}for(var p=0,m=["dragleave","dragend","drop"];p<m.length;p++){var h=m[p];this.dropzone.addEventListener(h,function(){r.dropzone.classList.remove("file-upload__dropzone--active")})}this.dropzone.addEventListener("drop",function(t){var a,l;t.preventDefault(),r.addFiles(null!==(a=null===(l=t.dataTransfer)||void 0===l?void 0:l.files)&&void 0!==a?a:null)}),null===(t=this.input.form)||void 0===t||t.addEventListener("reset",function(){r.files=[],r.render()}),window.addEventListener("pageshow",function(){return r.adoptRestoredFiles()})}},{key:"addFiles",value:function addFiles(t){if(t){for(var r=0,a=Array.from(t);r<a.length;r++){var l=a[r];this.files.push(l)}this.syncInput(),this.render()}}},{key:"removeFile",value:function removeFile(t){this.files.splice(t,1),this.syncInput(),this.render()}},{key:"syncInput",value:function syncInput(){var t,r=this,a=new DataTransfer,l=this.files.filter(function(t){return r.hasAllowedType(t)&&r.withinCountLimit(t)&&r.withinTotalLimit(t)}),c=_createForOfIteratorHelper(l);try{for(c.s();!(t=c.n()).done;){var u=t.value;a.items.add(u)}}catch(t){c.e(t)}
2finally{c.f()}this.input.files=a.files}},{key:"hasAllowedType",value:function hasAllowedType(t){var r,a;if(this.allowedMimeTypes.has(t.type))return!0;var l=null!==(r=null===(a=t.name.split(".").pop())||void 0===a?void 0:a.toLowerCase())&&void 0!==r?r:"";return this.allowedExtensions.has(l)}},{key:"withinCountLimit",value:function withinCountLimit(t){var r=this;return this.files.filter(function(t){return r.hasAllowedType(t)}).indexOf(t)<this.maxFileCount}},{key:"withinTotalLimit",value:function withinTotalLimit(t){var r,a=this,l=this.files.filter(function(t){return a.hasAllowedType(t)}),c=0,u=_createForOfIteratorHelper(l);try{for(u.s();!(r=u.n()).done;){var p=r.value;if(c+=p.size,p===t)return c<=this.maxTotalBytes}}catch(t){u.e(t)}finally{u.f()}return!0}},{key:"render",value:function render(){var t=this;this.list.innerHTML="";var r,a=_createForOfIteratorHelper(this.files.entries());try{var l=function _loop(){var a=FileUpload_slicedToArray(r.value,2),l=a[0],c=a[1],u=t.rowTemplate.content.cloneNode(!0),p=u.querySelector(".file-upload__row"),m=u.querySelector("[data-file-upload-row-name]"),h=u.querySelector("[data-file-upload-row-meta]"),v=u.querySelector("[data-file-upload-remove]");t.hasAllowedType(c)?t.withinCountLimit(c)?t.withinTotalLimit(c)?(m.textContent=c.name,h.textContent=" - ".concat(function formatSize(t){return t<1048576?"".concat(Math.round(t/1024)," KB"):"".concat((t/1048576).toFixed(1).replace(".",","),"MB")}(c.size))):(p.classList.add("file-upload__row--error"),m.textContent=t.sizeLimitMessage,h.textContent=""):(p.classList.add("file-upload__row--error"),m.textContent=t.countLimitMessage,h.textContent=""):(p.classList.add("file-upload__row--failed"),m.textContent=c.name,h.textContent=t.typeFailMessage),v.addEventListener("click",function(){return t.removeFile(l)}),t.list.appendChild(p)};for(a.s();!(r=a.n()).done;)l()}catch(t){a.e(t)}finally{a.f()}}}])}();document.addEventListener("DOMContentLoaded",function(){return function initFileUploads(){var t,r=[],a=_createForOfIteratorHelper((arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).querySelectorAll("[data-file-upload]"));try{for(a.s();!(t=a.n()).done;){var l=t.value;r.push(new S(l))}}catch(t){a.e(t)}finally{a.f()}return r}()});var w=".generator-info__item",_="[data-generator-info-toggle]",T="[data-generator-info]",E="baseHref",C="generatorInfoBound",A="generator-info--expanded",P="generator-info--expanded-mobile";function handleHashSync(t){var r=t.target,a=null==r?void 0:r.closest(w);a&&function syncItemHref(t){var r,a;void 0===t.dataset[E]&&(t.dataset[E]=null!==(a=t.getAttribute("href"))&&void 0!==a?a:""),t.setAttribute("href","".concat(null!==(r=t.dataset[E])&&void 0!==r?r:"").concat(globalThis.location.hash))}(a)}void 0===document.documentElement.dataset[C]&&(document.documentElement.dataset[C]="true",document.addEventListener("mousedown",handleHashSync),document.addEventListener("click",handleHashSync),document.addEventListener("click",function handleToggle(t){var r,a=null===(r=t.target)||void 0===r?void 0:r.closest(_);if(a){var l=a.closest(T);if(l){var c=!function isExpanded(t){return!!t.classList.contains(A)||!!t.classList.contains(P)&&!globalThis.matchMedia("(min-width: 1464px)").matches}(l);l.classList.remove(P),l.classList.toggle(A,c),a.setAttribute("aria-expanded",c?"true":"false")}}}));a(2095);function isObject(t){return null!==t&&"object"==typeof t&&"constructor"in t&&t.constructor===Object}function extend(t={},r={}){const a=["__proto__","constructor","prototype"];Object.keys(r).filter(t=>a.indexOf(t)<0).forEach(a=>{void 0===t[a]?t[a]=r[a]:isObject(r[a])&&isObject(t[a])&&Object.keys(r[a]).length>0&&extend(t[a],r[a])})}const x={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function getDocument(){const t="undefined"!=typeof document?document:{};return extend(t,x),t}const k={document:x,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function CustomEvent(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){}
vendor: 21,343 bytes, line 2
2,clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return"undefined"==typeof setTimeout?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){"undefined"!=typeof setTimeout&&clearTimeout(t)}};function getWindow(){const t="undefined"!=typeof window?window:{};return extend(t,k),t}function nextTick(t,r=0){return setTimeout(t,r)}function now(){return Date.now()}function getTranslate(t,r="x"){const window=getWindow();let a,l,c;const u=function utils_getComputedStyle(t){const window=getWindow();let r;return window.getComputedStyle&&(r=window.getComputedStyle(t,null)),!r&&t.currentStyle&&(r=t.currentStyle),r||(r=t.style),r}(t);return window.WebKitCSSMatrix?(l=u.transform||u.webkitTransform,l.split(",").length>6&&(l=l.split(", ").map(t=>t.replace(",",".")).join(", ")),c=new window.WebKitCSSMatrix("none"===l?"":l)):(c=u.MozTransform||u.OTransform||u.MsTransform||u.msTransform||u.transform||u.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),a=c.toString().split(",")),"x"===r&&(l=window.WebKitCSSMatrix?c.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===r&&(l=window.WebKitCSSMatrix?c.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),l||0}function utils_isObject(t){return"object"==typeof t&&null!==t&&t.constructor&&"Object"===Object.prototype.toString.call(t).slice(8,-1)}function isNode(t){return"undefined"!=typeof window&&void 0!==window.HTMLElement?t instanceof HTMLElement:t&&(1===t.nodeType||11===t.nodeType)}function utils_extend(...t){const r=Object(t[0]);for(let a=1;a<t.length;a+=1){const l=t[a];if(null!=l&&!isNode(l)){const t=Object.keys(Object(l)).filter(t=>"__proto__"!==t&&"constructor"!==t&&"prototype"!==t);for(let a=0,c=t.length;a<c;a+=1){const c=t[a],u=Object.getOwnPropertyDescriptor(l,c);void 0!==u&&u.enumerable&&(utils_isObject(r[c])&&utils_isObject(l[c])?l[c].__swiper__?r[c]=l[c]:utils_extend(r[c],l[c]):!utils_isObject(r[c])&&utils_isObject(l[c])?(r[c]={},l[c].__swiper__?r[c]=l[c]:utils_extend(r[c],l[c])):r[c]=l[c])}}}return r}function setCSSProperty(t,r,a){t.style.setProperty(r,a)}function animateCSSModeScroll({swiper:t,targetPosition:r,side:a}){const window=getWindow(),l=-t.translate;let c,u=null;const p=t.params.speed;t.wrapperEl.style.scrollSnapType="none",window.cancelAnimationFrame(t.cssModeFrameID);const m=r>l?"next":"prev",isOutOfBound=(t,r)=>"next"===m&&t>=r||"prev"===m&&t<=r,animate=()=>{c=(new Date).getTime(),null===u&&(u=c);const m=Math.max(Math.min((c-u)/p,1),0),h=.5-Math.cos(m*Math.PI)/2;let v=l+h*(r-l);if(isOutOfBound(v,r)&&(v=r),t.wrapperEl.scrollTo({[a]:v}),isOutOfBound(v,r))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[a]:v})}),void window.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=window.requestAnimationFrame(animate)};animate()}function elementChildren(t,r=""){const window=getWindow(),a=[...t.children];return window.HTMLSlotElement&&t instanceof HTMLSlotElement&&a.push(...t.assignedElements()),r?a.filter(t=>t.matches(r)):a}function showWarning(t){try{return void console.warn(t)}catch(t){}}function createElement(t,r=[]){const a=document.createElement(t);return a.classList.add(...Array.isArray(r)?r:function classesToTokens(t=""){return t.trim().split(" ").filter(t=>!!t.trim())}(r)),a}function elementStyle(t,r){return getWindow().getComputedStyle(t,null).getPropertyValue(r)}function elementIndex(t){let r,a=t;if(a){for(r=0;null!==(a=a.previousSibling);)1===a.nodeType&&(r+=1);return r}}function elementParents(t,r){const a=[];let l=t.parentElement;for(;l;)r?l.matches(r)&&a.push(l):a.push(l),l=l.parentElement;return a}function elementOuterSize(t,r,a){const window=getWindow();return a?t["width"===r?"offsetWidth":"offsetHeight"]+parseFloat(window.getComputedStyle(t,null).getPropertyValue("width"===r?"margin-right":"margin-top"))+parseFloat(window.getComputedStyle(t,null).getPropertyValue("width"===r?"margin-left":"margin-bottom")):t.offsetWidth}function makeElementsArray(t){return(Array.isArray(t)?t:[t]).filter(t=>!!t)}function setInnerHTML(t,r=""){"undefined"!=typeof trustedTypes?t.innerHTML=trustedTypes.createPolicy("html",{createHTML:t=>t}).createHTML(r):t.innerHTML=r}let L,O,M;function getSupport(){return L||(L=function calcSupport(){const window=getWindow(),t=getDocument();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in window||window.DocumentTouch&&t instanceof window.DocumentTouch)}}()),L}function getDevice(t={}){return O||(O=function calcDevice({userAgent:t}={}){const r=getSupport(),window=getWindow(),a=window.navigator.platform,l=t||window.navigator.userAgent,c={ios:!1,android:!1},u=window.screen.width,p=window.screen.height,m=l.match(/(Android);?[\s\/]+([\d.]+)?/);let h=l.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const v=l.match(/(iPod)(.*OS\s([\d_]+))?/),y=!h&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),g="Win32"===a;let b="MacIntel"===a;return!h&&b&&r.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${u}x${p}`)>=0&&(h=l.match(/(Version)\/([\d.]+)/),h||(h=[0,1,"13_0_0"]),b=!1),m&&!g&&(c.os="android",c.android=!0),(h||y||v)&&(c.os="ios",c.ios=!0),c}(t)),O}function getBrowser(){return M||(M=function calcBrowser(){const window=getWindow(),t=getDevice();let r=!1;function isSafari(){const t=window.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(isSafari()){const t=String(window.navigator.userAgent);if(t.includes("Version/")){const[a,l]=t.split("Version/")[1].split(" ")[0].split(".").map(t=>Number(t));r=a<16||16===a&&l<2}}const a=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(window.navigator.userAgent),l=isSafari();return{isSafari:r||l,needPerspectiveFix:r,need3dFix:l||a&&t.ios,isWebView:a}}()),M}var I={on(t,r,a){const l=this;if(!l.eventsListeners||l.destroyed)return l;if("function"!=typeof r)return l;const c=a?"unshift":"push";return t.split(" ").forEach(t=>{l.eventsListeners[t]||(l.eventsListeners[t]=[]),l.eventsListeners[t][c](r)}),l},once(t,r,a){const l=this;if(!l.eventsListeners||l.destroyed)return l;if("function"!=typeof r)return l;function onceHandler(...a){l.off(t,onceHandler),onceHandler.__emitterProxy&&delete onceHandler.__emitterProxy,r.apply(l,a)}return onceHandler.__emitterProxy=r,l.on(t,onceHandler,a)},onAny(t,r){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;const l=r?"unshift":"push";return a.eventsAnyListeners.indexOf(t)<0&&a.eventsAnyListeners[l](t),a},offAny(t){const r=this;if(!r.eventsListeners||r.destroyed)return r;if(!r.eventsAnyListeners)return r;const a=r.eventsAnyListeners.indexOf(t);return a>=0&&r.eventsAnyListeners.splice(a,1),r},off(t,r){const a=this;return!a.eventsListeners||a.destroyed?a:a.eventsListeners?(t.split(" ").forEach(t=>{void 0===r?a.eventsListeners[t]=[]:a.eventsListeners[t]&&a.eventsListeners[t].forEach((l,c)=>{(l===r||l.__emitterProxy&&l.__emitterProxy===r)&&a.eventsListeners[t].splice(c,1)})}),a):a},emit(...t){const r=this;if(!r.eventsListeners||r.destroyed)return r;if(!r.eventsListeners)return r;let a,l,c;"string"==typeof t[0]||Array.isArray(t[0])?(a=t[0],l=t.slice(1,t.length),c=r):(a=t[0].events,l=t[0].data,c=t[0].context||r),l.unshift(c);return(Array.isArray(a)?a:a.split(" ")).forEach(t=>{r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach(r=>{r.apply(c,[t,...l])}),r.eventsListeners&&r.eventsListeners[t]&&r.eventsListeners[t].forEach(t=>{t.apply(c,l)})}),r}};const toggleSlideClasses$1=(t,r,a)=>{r&&!t.classList.contains(a)?t.classList.add(a):!r&&t.classList.contains(a)&&t.classList.remove(a)};const toggleSlideClasses=(t,r,a)=>{r&&!t.classList.contains(a)?t.classList.add(a):!r&&t.classList.contains(a)&&t.classList.remove(a)};const processLazyPreloader=(t,r)=>{if(!t||t.destroyed||!t.params)return;const a=r.closest(t.isElement?"swiper-slide":`.${t.params.slideClass}`);if(a){let r=a.querySelector(`.${t.params.lazyPreloaderClass}`);!r&&t.isElement&&(a.shadowRoot?r=a.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{a.shadowRoot&&(r=a.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),r&&!r.lazyPreloaderManaged&&r.remove())})),r&&!r.lazyPreloaderManaged&&r.remove()}},unlazy=(t,r)=>{if(!t.slides[r])return;const a=t.slides[r].querySelector('[loading="lazy"]');a&&a.removeAttribute("loading")},preload=t=>{if(!t||t.destroyed||!t.params)return;let r=t.params.lazyPreloadPrevNext;const a=t.slides.length;if(!a||!r||r<0)return;r=Math.min(r,a);const l="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),c=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const a=c,u=[a-r];return u.push(...Array.from({length:r}).map((t,r)=>a+l+r)),void t.slides.forEach((r,a)=>{u.includes(r.column)&&unlazy(t,a)})}const u=c+l-1;if(t.params.rewind||t.params.loop)for(let l=c-r;l<=u+r;l+=1){const r=(l%a+a)%a;(r<c||r>u)&&unlazy(t,r)}else for(let l=Math.max(c-r,0);l<=Math.min(u+r,a-1);l+=1)l!==c&&(l>u||l<c)&&unlazy(t,l)};var j={updateSize:function updateSize(){const t=this;let r,a;const l=t.el;r=void 0!==t.params.width&&null!==t.params.width?t.params.width:l.clientWidth,a=void 0!==t.params.height&&null!==t.params.height?t.params.height:l.clientHeight,0===r&&t.isHorizontal()||0===a&&t.isVertical()||(r=r-parseInt(elementStyle(l,"padding-left")||0,10)-parseInt(elementStyle(l,"padding-right")||0,10),a=a-parseInt(elementStyle(l,"padding-top")||0,10)-parseInt(elementStyle(l,"padding-bottom")||0,10),Number.isNaN(r)&&(r=0),Number.isNaN(a)&&(a=0),Object.assign(t,{width:r,height:a,size:t.isHorizontal()?r:a}))},updateSlides:function updateSlides(){const t=this;function getDirectionPropertyValue(r,a){return parseFloat(r.getPropertyValue(t.getDirectionLabel(a))||0)}const r=t.params,{wrapperEl:a,slidesEl:l,rtlTranslate:c,wrongRTL:u}=t,p=t.virtual&&r.virtual.enabled,m=p?t.virtual.slides.length:t.slides.length,h=elementChildren(l,`.${t.params.slideClass}, swiper-slide`),v=p?t.virtual.slides.length:h.length;let y=[];const g=[],b=[];let S=r.slidesOffsetBefore;"function"==typeof S&&(S=r.slidesOffsetBefore.call(t));let w=r.slidesOffsetAfter;"function"==typeof w&&(w=r.slidesOffsetAfter.call(t));const _=t.snapGrid.length,T=t.slidesGrid.length,E=t.size-S-w;let C=r.spaceBetween,A=-S,P=0,x=0;if(void 0===E)return;"string"==typeof C&&C.indexOf("%")>=0?C=parseFloat(C.replace("%",""))/100*E:"string"==typeof C&&(C=parseFloat(C)),t.virtualSize=-C-S-w,h.forEach(t=>{c?t.style.marginLeft="":t.style.marginRight="",t.style.marginBottom="",t.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(setCSSProperty(a,"--swiper-centered-offset-before",""),setCSSProperty(a,"--swiper-centered-offset-after","")),r.cssMode&&(setCSSProperty(a,"--swiper-slides-offset-before",`${S}px`),setCSSProperty(a,"--swiper-slides-offset-after",`${w}px`));const k=r.grid&&r.grid.rows>1&&t.grid;let L;k?t.grid.initSlides(h):t.grid&&t.grid.unsetSlides();const O="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter(t=>void 0!==r.breakpoints[t].slidesPerView).length>0;for(let a=0;a<v;a+=1){L=0;const l=h[a];if(!l||(k&&t.grid.updateSlide(a,l,h),"none"!==elementStyle(l,"display"))){if(p&&"auto"===r.slidesPerView)r.virtual.slidesPerViewAutoSlideSize&&(L=r.virtual.slidesPerViewAutoSlideSize),L&&l&&(r.roundLengths&&(L=Math.floor(L)),l.style[t.getDirectionLabel("width")]=`${L}px`);else if("auto"===r.slidesPerView){O&&(l.style[t.getDirectionLabel("width")]="");const a=getComputedStyle(l),c=l.style.transform,u=l.style.webkitTransform;if(c&&(l.style.transform="none"),u&&(l.style.webkitTransform="none"),r.roundLengths)L=t.isHorizontal()?elementOuterSize(l,"width",!0):elementOuterSize(l,"height",!0);else{const t=getDirectionPropertyValue(a,"width"),r=getDirectionPropertyValue(a,"padding-left"),c=getDirectionPropertyValue(a,"padding-right"),u=getDirectionPropertyValue(a,"margin-left"),p=getDirectionPropertyValue(a,"margin-right"),m=a.getPropertyValue("box-sizing");if(m&&"border-box"===m)L=t+u+p;else{const{clientWidth:a,offsetWidth:m}=l;L=t+r+c+u+p+(m-a)}}c&&(l.style.transform=c),u&&(l.style.webkitTransform=u),r.roundLengths&&(L=Math.floor(L))}else L=(E-(r.slidesPerView-1)*C)/r.slidesPerView,r.roundLengths&&(L=Math.floor(L)),l&&(l.style[t.getDirectionLabel("width")]=`${L}px`);l&&(l.swiperSlideSize=L),b.push(L),r.centeredSlides?(A=A+L/2+P/2+C,0===P&&0!==a&&(A=A-E/2-C),0===a&&(A=A-E/2-C),Math.abs(A)<.001&&(A=0),r.roundLengths&&(A=Math.floor(A)),x%r.slidesPerGroup===0&&y.push(A),g.push(A)):(r.roundLengths&&(A=Math.floor(A)),(x-Math.min(t.params.slidesPerGroupSkip,x))%t.params.slidesPerGroup===0&&y.push(A),g.push(A),A=A+L+C),t.virtualSize+=L+C,P=L,x+=1}}if(t.virtualSize=Math.max(t.virtualSize,E)+w,c&&u&&("slide"===r.effect||"coverflow"===r.effect)&&(a.style.width=`${t.virtualSize+C}px`),r.setWrapperSize&&(a.style[t.getDirectionLabel("width")]=`${t.virtualSize+C}px`),k&&t.grid.updateWrapperSize(L,y),!r.centeredSlides){const a="auto"!==r.slidesPerView&&r.slidesPerView%1!=0,l=r.snapToSlideEdge&&!r.loop&&("auto"===r.slidesPerView||a);let c=y.length;if(l){let t;if("auto"===r.slidesPerView){t=1;let r=0;for(let a=b.length-1;a>=0&&(r+=b[a]+(a<b.length-1?C:0),r<=E);a-=1)t=b.length-a}else t=Math.floor(r.slidesPerView);c=Math.max(v-t,0)}const u=[];for(let a=0;a<y.length;a+=1){let p=y[a];r.roundLengths&&(p=Math.floor(p)),l?a<=c&&u.push(p):y[a]<=t.virtualSize-E&&u.push(p)}y=u,Math.floor(t.virtualSize-E)-Math.floor(y[y.length-1])>1&&(l||y.push(t.virtualSize-E))}if(p&&r.loop){const a=b[0]+C;if(r.slidesPerGroup>1){const l=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/r.slidesPerGroup),c=a*r.slidesPerGroup;for(let t=0;t<l;t+=1)y.push(y[y.length-1]+c)}for(let l=0;l<t.virtual.slidesBefore+t.virtual.slidesAfter;l+=1)1===r.slidesPerGroup&&y.push(y[y.length-1]+a),g.push(g[g.length-1]+a),t.virtualSize+=a}if(0===y.length&&(y=[0]),0!==C){const a=t.isHorizontal()&&c?"marginLeft":t.getDirectionLabel("marginRight");h.filter((t,a)=>!(r.cssMode&&!r.loop)||a!==h.length-1).forEach(t=>{t.style[a]=`${C}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let t=0;b.forEach(r=>{t+=r+(C||0)}),t-=C;const r=t>E?t-E:0;y=y.map(t=>t<=0?-S:t>r?r+w:t)}if(r.centerInsufficientSlides){let t=0;if(b.forEach(r=>{t+=r+(C||0)}),t-=C,t<E){const r=(E-t)/2;y.forEach((t,a)=>{y[a]=t-r}),g.forEach((t,a)=>{g[a]=t+r})}}if(Object.assign(t,{slides:h,snapGrid:y,slidesGrid:g,slidesSizesGrid:b}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){setCSSProperty(a,"--swiper-centered-offset-before",-y[0]+"px"),setCSSProperty(a,"--swiper-centered-offset-after",t.size/2-b[b.length-1]/2+"px");const r=-t.snapGrid[0],l=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+r),t.slidesGrid=t.slidesGrid.map(t=>t+l)}if(v!==m&&t.emit("slidesLengthChange"),y.length!==_&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),g.length!==T&&t.emit("slidesGridLengthChange"),r.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!(p||r.cssMode||"slide"!==r.effect&&"fade"!==r.effect)){const a=`${r.containerModifierClass}backface-hidden`,l=t.el.classList.contains(a);v<=r.maxBackfaceHiddenSlides?l||t.el.classList.add(a):l&&t.el.classList.remove(a)}},updateAutoHeight:function updateAutoHeight(t){const r=this,a=[],l=r.virtual&&r.params.virtual.enabled;let c,u=0;"number"==typeof t?r.setTransition(t):!0===t&&r.setTransition(r.params.speed);const getSlideByIndex=t=>l?r.slides[r.getSlideIndexByData(t)]:r.slides[t];if("auto"!==r.params.slidesPerView&&r.params.slidesPerView>1)if(r.params.centeredSlides)(r.visibleSlides||[]).forEach(t=>{a.push(t)});else for(c=0;c<Math.ceil(r.params.slidesPerView);c+=1){const t=r.activeIndex+c;if(t>r.slides.length&&!l)break;a.push(getSlideByIndex(t))}else a.push(getSlideByIndex(r.activeIndex));for(c=0;c<a.length;c+=1)if(void 0!==a[c]){const t=a[c].offsetHeight;u=t>u?t:u}(u||0===u)&&(r.wrapperEl.style.height=`${u}px`)},updateSlidesOffset:function updateSlidesOffset(){const t=this,r=t.slides,a=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let l=0;l<r.length;l+=1)r[l].swiperSlideOffset=(t.isHorizontal()?r[l].offsetLeft:r[l].offsetTop)-a-t.cssOverflowAdjustment()},updateSlidesProgress:function updateSlidesProgress(t=this&&this.translate||0){const r=this,a=r.params,{slides:l,rtlTranslate:c,snapGrid:u}=r;if(0===l.length)return;void 0===l[0].swiperSlideOffset&&r.updateSlidesOffset();let p=-t;c&&(p=t),r.visibleSlidesIndexes=[],r.visibleSlides=[];let m=a.spaceBetween;"string"==typeof m&&m.indexOf("%")>=0?m=parseFloat(m.replace("%",""))/100*r.size:"string"==typeof m&&(m=parseFloat(m));for(let t=0;t<l.length;t+=1){const h=l[t];let v=h.swiperSlideOffset;a.cssMode&&a.centeredSlides&&(v-=l[0].swiperSlideOffset);const y=(p+(a.centeredSlides?r.minTranslate():0)-v)/(h.swiperSlideSize+m),g=(p-u[0]+(a.centeredSlides?r.minTranslate():0)-v)/(h.swiperSlideSize+m),b=-(p-v),S=b+r.slidesSizesGrid[t],w=b>=0&&b<=r.size-r.slidesSizesGrid[t],_=b>=0&&b<r.size-1||S>1&&S<=r.size||b<=0&&S>=r.size;_&&(r.visibleSlides.push(h),r.visibleSlidesIndexes.push(t)),toggleSlideClasses$1(h,_,a.slideVisibleClass),toggleSlideClasses$1(h,w,a.slideFullyVisibleClass),h.progress=c?-y:y,h.originalProgress=c?-g:g}},updateProgress:function updateProgress(t){const r=this;if(void 0===t){const a=r.rtlTranslate?-1:1;t=r&&r.translate&&r.translate*a||0}const a=r.params,l=r.maxTranslate()-r.minTranslate();let{progress:c,isBeginning:u,isEnd:p,progressLoop:m}=r;const h=u,v=p;if(0===l)c=0,u=!0,p=!0;else{c=(t-r.minTranslate())/l;const a=Math.abs(t-r.minTranslate())<1,m=Math.abs(t-r.maxTranslate())<1;u=a||c<=0,p=m||c>=1,a&&(c=0),m&&(c=1)}if(a.loop){const a=r.getSlideIndexByData(0),l=r.getSlideIndexByData(r.slides.length-1),c=r.slidesGrid[a],u=r.slidesGrid[l],p=r.slidesGrid[r.slidesGrid.length-1],h=Math.abs(t);m=h>=c?(h-c)/p:(h+p-u)/p,m>1&&(m-=1)}Object.assign(r,{progress:c,progressLoop:m,isBeginning:u,isEnd:p}),(a.watchSlidesProgress||a.centeredSlides&&a.autoHeight)&&r.updateSlidesProgress(t),u&&!h&&r.emit("reachBeginning toEdge"),p&&!v&&r.emit("reachEnd toEdge"),(h&&!u||v&&!p)&&r.emit("fromEdge"),r.emit("progress",c)},updateSlidesClasses:function updateSlidesClasses(){const t=this,{slides:r,params:a,slidesEl:l,activeIndex:c}=t,u=t.virtual&&a.virtual.enabled,p=t.grid&&a.grid&&a.grid.rows>1,getFilteredSlide=t=>elementChildren(l,`.${a.slideClass}${t}, swiper-slide${t}`)[0];let m,h,v;if(u)if(a.loop){let r=c-t.virtual.slidesBefore;r<0&&(r=t.virtual.slides.length+r),r>=t.virtual.slides.length&&(r-=t.virtual.slides.length),m=getFilteredSlide(`[data-swiper-slide-index="${r}"]`)}else m=getFilteredSlide(`[data-swiper-slide-index="${c}"]`);else p?(m=r.find(t=>t.column===c),v=r.find(t=>t.column===c+1),h=r.find(t=>t.column===c-1)):m=r[c];m&&(p||(v=function elementNextAll(t,r){const a=[];for(;t.nextElementSibling;){const l=t.nextElementSibling;r?l.matches(r)&&a.push(l):a.push(l),t=l}return a}(m,`.${a.slideClass}, swiper-slide`)[0],a.loop&&!v&&(v=r[0]),h=function elementPrevAll(t,r){const a=[];for(;t.previousElementSibling;){const l=t.previousElementSibling;r?l.matches(r)&&a.push(l):a.push(l),t=l}return a}(m,`.${a.slideClass}, swiper-slide`)[0],a.loop&&0===!h&&(h=r[r.length-1]))),r.forEach(t=>{toggleSlideClasses(t,t===m,a.slideActiveClass),toggleSlideClasses(t,t===v,a.slideNextClass),toggleSlideClasses(t,t===h,a.slidePrevClass)}),t.emitSlidesClasses()},updateActiveIndex:function updateActiveIndex(t){const r=this,a=r.rtlTranslate?r.translate:-r.translate,{snapGrid:l,params:c,activeIndex:u,realIndex:p,snapIndex:m}=r;let h,v=t;const getVirtualRealIndex=t=>{let a=t-r.virtual.slidesBefore;return a<0&&(a=r.virtual.slides.length+a),a>=r.virtual.slides.length&&(a-=r.virtual.slides.length),a};if(void 0===v&&(v=function getActiveIndexByTranslate(t){const{slidesGrid:r,params:a}=t,l=t.rtlTranslate?t.translate:-t.translate;let c;for(let t=0;t<r.length;t+=1)void 0!==r[t+1]?l>=r[t]&&l<r[t+1]-(r[t+1]-r[t])/2?c=t:l>=r[t]&&l<r[t+1]&&(c=t+1):l>=r[t]&&(c=t);return a.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0),c}(r)),l.indexOf(a)>=0)h=l.indexOf(a);else{const t=Math.min(c.slidesPerGroupSkip,v);h=t+Math.floor((v-t)/c.slidesPerGroup)}if(h>=l.length&&(h=l.length-1),v===u&&!r.params.loop)return void(h!==m&&(r.snapIndex=h,r.emit("snapIndexChange")));if(v===u&&r.params.loop&&r.virtual&&r.params.virtual.enabled)return void(r.realIndex=getVirtualRealIndex(v));const y=r.grid&&c.grid&&c.grid.rows>1;let g;if(r.virtual&&c.virtual.enabled)g=c.loop?getVirtualRealIndex(v):v;else if(y){const t=r.slides.find(t=>t.column===v);let a=parseInt(t.getAttribute("data-swiper-slide-index"),10);Number.isNaN(a)&&(a=Math.max(r.slides.indexOf(t),0)),g=Math.floor(a/c.grid.rows)}else if(r.slides[v]){const t=r.slides[v].getAttribute("data-swiper-slide-index");g=t?parseInt(t,10):v}else g=v;Object.assign(r,{previousSnapIndex:m,snapIndex:h,previousRealIndex:p,realIndex:g,previousIndex:u,activeIndex:v}),r.initialized&&preload(r),r.emit("activeIndexChange"),r.emit("snapIndexChange"),(r.initialized||r.params.runCallbacksOnInit)&&(p!==g&&r.emit("realIndexChange"),r.emit("slideChange"))},updateClickedSlide:function updateClickedSlide(t,r){const a=this,l=a.params;let c=t.closest(`.${l.slideClass}, swiper-slide`);!c&&a.isElement&&r&&r.length>
vendor: 4,937 bytes, line 2
21&&r.includes(t)&&[...r.slice(r.indexOf(t)+1,r.length)].forEach(t=>{!c&&t.matches&&t.matches(`.${l.slideClass}, swiper-slide`)&&(c=t)});let u,p=!1;if(c)for(let t=0;t<a.slides.length;t+=1)if(a.slides[t]===c){p=!0,u=t;break}if(!c||!p)return a.clickedSlide=void 0,void(a.clickedIndex=void 0);a.clickedSlide=c,a.virtual&&a.params.virtual.enabled?a.clickedIndex=parseInt(c.getAttribute("data-swiper-slide-index"),10):a.clickedIndex=u,l.slideToClickedSlide&&void 0!==a.clickedIndex&&a.clickedIndex!==a.activeIndex&&a.slideToClickedSlide()}};var D={getTranslate:function getSwiperTranslate(t=(this.isHorizontal()?"x":"y")){const{params:r,rtlTranslate:a,translate:l,wrapperEl:c}=this;if(r.virtualTranslate)return a?-l:l;if(r.cssMode)return l;let u=getTranslate(c,t);return u+=this.cssOverflowAdjustment(),a&&(u=-u),u||0},setTranslate:function setTranslate(t,r){const a=this,{rtlTranslate:l,params:c,wrapperEl:u,progress:p}=a;let m,h=0,v=0;a.isHorizontal()?h=l?-t:t:v=t,c.roundLengths&&(h=Math.floor(h),v=Math.floor(v)),a.previousTranslate=a.translate,a.translate=a.isHorizontal()?h:v,c.cssMode?u[a.isHorizontal()?"scrollLeft":"scrollTop"]=a.isHorizontal()?-h:-v:c.virtualTranslate||(a.isHorizontal()?h-=a.cssOverflowAdjustment():v-=a.cssOverflowAdjustment(),u.style.transform=`translate3d(${h}px, ${v}px, 0px)`);const y=a.maxTranslate()-a.minTranslate();m=0===y?0:(t-a.minTranslate())/y,m!==p&&a.updateProgress(t),a.emit("setTranslate",a.translate,r)},minTranslate:function minTranslate(){return-this.snapGrid[0]},maxTranslate:function maxTranslate(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function translateTo(t=0,r=this.params.speed,a=!0,l=!0,c){const u=this,{params:p,wrapperEl:m}=u;if(u.animating&&p.preventInteractionOnTransition)return!1;const h=u.minTranslate(),v=u.maxTranslate();let y;if(y=l&&t>h?h:l&&t<v?v:t,u.updateProgress(y),p.cssMode){const t=u.isHorizontal();if(0===r)m[t?"scrollLeft":"scrollTop"]=-y;else{if(!u.support.smoothScroll)return animateCSSModeScroll({swiper:u,targetPosition:-y,side:t?"left":"top"}),!0;m.scrollTo({[t?"left":"top"]:-y,behavior:"smooth"})}return!0}return 0===r?(u.setTransition(0),u.setTranslate(y),a&&(u.emit("beforeTransitionStart",r,c),u.emit("transitionEnd"))):(u.setTransition(r),u.setTranslate(y),a&&(u.emit("beforeTransitionStart",r,c),u.emit("transitionStart")),u.animating||(u.animating=!0,u.onTranslateToWrapperTransitionEnd||(u.onTranslateToWrapperTransitionEnd=function transitionEnd(t){u&&!u.destroyed&&t.target===this&&(u.wrapperEl.removeEventListener("transitionend",u.onTranslateToWrapperTransitionEnd),u.onTranslateToWrapperTransitionEnd=null,delete u.onTranslateToWrapperTransitionEnd,u.animating=!1,a&&u.emit("transitionEnd"))}),u.wrapperEl.addEventListener("transitionend",u.onTranslateToWrapperTransitionEnd))),!0}};function transitionEmit({swiper:t,runCallbacks:r,direction:a,step:l}){const{activeIndex:c,previousIndex:u}=t;let p=a;p||(p=c>u?"next":c<u?"prev":"reset"),t.emit(`transition${l}`),r&&"reset"===p?t.emit(`slideResetTransition${l}`):r&&c!==u&&(t.emit(`slideChangeTransition${l}`),"next"===p?t.emit(`slideNextTransition${l}`):t.emit(`slidePrevTransition${l}`))}var q={slideTo:function slideTo(t=0,r,a=!0,l,c){"string"==typeof t&&(t=parseInt(t,10));const u=this;let p=t;p<0&&(p=0);const{params:m,snapGrid:h,slidesGrid:v,previousIndex:y,activeIndex:g,rtlTranslate:b,wrapperEl:S,enabled:w}=u;if(!w&&!l&&!c||u.destroyed||u.animating&&m.preventInteractionOnTransition)return!1;void 0===r&&(r=u.params.speed);const _=Math.min(u.params.slidesPerGroupSkip,p);let T=_+Math.floor((p-_)/u.params.slidesPerGroup);T>=h.length&&(T=h.length-1);const E=-h[T];if(m.normalizeSlideIndex)for(let t=0;t<v.length;t+=1){const r=-Math.floor(100*E),a=Math.floor(100*v[t]),l=Math.floor(100*v[t+1]);void 0!==v[t+1]?r>=a&&r<l-(l-a)/2?p=t:r>=a&&r<l&&(p=t+1):r>=a&&(p=t)}if(u.initialized&&p!==g){if(!u.allowSlideNext&&(b?E>u.translate&&E>u.minTranslate():E<u.translate&&E<u.minTranslate()))return!1;if(!u.allowSlidePrev&&E>u.translate&&E>u.maxTranslate()&&(g||0)!==p)return!1}let C;p!==(y||0)&&a&&u.emit("beforeSlideChangeStart"),u.updateProgress(E),C=p>g?"next":p<g?"prev":"reset";const A=u.virtual&&u.params.virtual.enabled;if(!(A&&c)&&(b&&-E===u.translate||!b&&E===u.translate))return u.updateActiveIndex(p),m.autoHeight&&u.updateAutoHeight(),u.updateSlidesClasses(),"slide"!==m.effect&&u.setTranslate(E),"reset"!==C&&(u.transitionStart(a,C),u.transitionEnd(a,C)),!1;if(m.cssMode){const t=u.isHorizontal(),a=b?E:-E;if(0===r)A&&(u.wrapperEl.style.scrollSnapType="none",u._immediateVirtual=!0),A&&!u._cssModeVirtualInitialSet&&u.params.initialSlide>0?(u._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{S[t?"scrollLeft":"scrollTop"]=a})):S[t?"scrollLeft":"scrollTop"]=a,A&&requestAnimationFrame(()=>{u.wrapperEl.style.scrollSnapType="",u._immediateVirtual=!1});else{if(!u.support.smoothScroll)return animateCSSModeScroll({swiper:u,targetPosition:a,side:t?"left":"top"}),!0;
vendor: 6,146 bytes, line 2
2S.scrollTo({[t?"left":"top"]:a,behavior:"smooth"})}return!0}const P=getBrowser().isSafari;return A&&!c&&P&&u.isElement&&u.virtual.update(!1,!1,p),u.setTransition(r),u.setTranslate(E),u.updateActiveIndex(p),u.updateSlidesClasses(),u.emit("beforeTransitionStart",r,l),u.transitionStart(a,C),0===r?u.transitionEnd(a,C):u.animating||(u.animating=!0,u.onSlideToWrapperTransitionEnd||(u.onSlideToWrapperTransitionEnd=function transitionEnd(t){u&&!u.destroyed&&t.target===this&&(u.wrapperEl.removeEventListener("transitionend",u.onSlideToWrapperTransitionEnd),u.onSlideToWrapperTransitionEnd=null,delete u.onSlideToWrapperTransitionEnd,u.transitionEnd(a,C))}),u.wrapperEl.addEventListener("transitionend",u.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function slideToLoop(t=0,r,a=!0,l){if("string"==typeof t){t=parseInt(t,10)}const c=this;if(c.destroyed)return;void 0===r&&(r=c.params.speed);const u=c.grid&&c.params.grid&&c.params.grid.rows>1;let p=t;if(c.params.loop)if(c.virtual&&c.params.virtual.enabled)p+=c.virtual.slidesBefore;else{let t;if(u){const r=p*c.params.grid.rows;t=c.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===r).column}else t=c.getSlideIndexByData(p);const r=u?Math.ceil(c.slides.length/c.params.grid.rows):c.slides.length,{centeredSlides:a,slidesOffsetBefore:m,slidesOffsetAfter:h}=c.params,v=a||!!m||!!h;let y=c.params.slidesPerView;"auto"===y?y=c.slidesPerViewDynamic():(y=Math.ceil(parseFloat(c.params.slidesPerView,10)),v&&y%2==0&&(y+=1));let g=r-t<y;if(v&&(g=g||t<Math.ceil(y/2)),l&&v&&"auto"!==c.params.slidesPerView&&!u&&(g=!1),g){const a=v?t<c.activeIndex?"prev":"next":t-c.activeIndex-1<c.params.slidesPerView?"next":"prev";c.loopFix({direction:a,slideTo:!0,activeSlideIndex:"next"===a?t+1:t-r+1,slideRealIndex:"next"===a?c.realIndex:void 0})}if(u){const t=p*c.params.grid.rows;p=c.slides.find(r=>1*r.getAttribute("data-swiper-slide-index")===t).column}else p=c.getSlideIndexByData(p)}return requestAnimationFrame(()=>{c.slideTo(p,r,a,l)}),c},slideNext:function slideNext(t,r=!0,a){const l=this,{enabled:c,params:u,animating:p}=l;if(!c||l.destroyed)return l;void 0===t&&(t=l.params.speed);let m=u.slidesPerGroup;"auto"===u.slidesPerView&&1===u.slidesPerGroup&&u.slidesPerGroupAuto&&(m=Math.max(l.slidesPerViewDynamic("current",!0),1));const h=l.activeIndex<u.slidesPerGroupSkip?1:m,v=l.virtual&&u.virtual.enabled;if(u.loop){if(p&&!v&&u.loopPreventsSliding)return!1;if(l.loopFix({direction:"next"}),l._clientLeft=l.wrapperEl.clientLeft,l.activeIndex===l.slides.length-1&&u.cssMode)return requestAnimationFrame(()=>{l.slideTo(l.activeIndex+h,t,r,a)}),!0}return u.rewind&&l.isEnd?l.slideTo(0,t,r,a):l.slideTo(l.activeIndex+h,t,r,a)},slidePrev:function slidePrev(t,r=!0,a){const l=this,{params:c,snapGrid:u,slidesGrid:p,rtlTranslate:m,enabled:h,animating:v}=l;if(!h||l.destroyed)return l;void 0===t&&(t=l.params.speed);const y=l.virtual&&c.virtual.enabled;if(c.loop){if(v&&!y&&c.loopPreventsSliding)return!1;l.loopFix({direction:"prev"}),l._clientLeft=l.wrapperEl.clientLeft}function normalize(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}const g=normalize(m?l.translate:-l.translate),b=u.map(t=>normalize(t)),S=c.freeMode&&c.freeMode.enabled;let w=u[b.indexOf(g)-1];if(void 0===w&&(c.cssMode||S)){let t;u.forEach((r,a)=>{g>=r&&(t=a)}),void 0!==t&&(w=S?u[t]:u[t>0?t-1:t])}let _=0;if(void 0!==w&&(_=p.indexOf(w),_<0&&(_=l.activeIndex-1),"auto"===c.slidesPerView&&1===c.slidesPerGroup&&c.slidesPerGroupAuto&&(_=_-l.slidesPerViewDynamic("previous",!0)+1,_=Math.max(_,0))),c.rewind&&l.isBeginning){const c=l.params.virtual&&l.params.virtual.enabled&&l.virtual?l.virtual.slides.length-1:l.slides.length-1;return l.slideTo(c,t,r,a)}return c.loop&&0===l.activeIndex&&c.cssMode?(requestAnimationFrame(()=>{l.slideTo(_,t,r,a)}),!0):l.slideTo(_,t,r,a)},slideReset:function slideReset(t,r=!0,a){const l=this;if(!l.destroyed)return void 0===t&&(t=l.params.speed),l.slideTo(l.activeIndex,t,r,a)},slideToClosest:function slideToClosest(t,r=!0,a,l=.5){const c=this;if(c.destroyed)return;void 0===t&&(t=c.params.speed);let u=c.activeIndex;const p=Math.min(c.params.slidesPerGroupSkip,u),m=p+Math.floor((u-p)/c.params.slidesPerGroup),h=c.rtlTranslate?c.translate:-c.translate;if(h>=c.snapGrid[m]){const t=c.snapGrid[m];h-t>(c.snapGrid[m+1]-t)*l&&(u+=c.params.slidesPerGroup)}else{const t=c.snapGrid[m-1];h-t<=(c.snapGrid[m]-t)*l&&(u-=c.params.slidesPerGroup)}return u=Math.max(u,0),u=Math.min(u,c.slidesGrid.length-1),c.slideTo(u,t,r,a)},slideToClickedSlide:function slideToClickedSlide(){const t=this;if(t.destroyed)return;const{params:r,slidesEl:a}=t,l="auto"===r.slidesPerView?t.slidesPerViewDynamic():r.slidesPerView;let c,u=t.getSlideIndexWhenGrid(t.clickedIndex);const p=t.isElement?"swiper-slide":`.${r.slideClass}`,m=t.grid&&t.params.grid&&t.params.grid.rows>1;if(r.loop){if(t.animating)return;c=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),r.centeredSlides?t.slideToLoop(c):u>(m?(t.slides.length-l)/2-(t.params.grid.rows-1):t.slides.length-l)?(t.loopFix(),u=t.getSlideIndex(elementChildren(a,`${p}[data-swiper-slide-index="${c}"]`)[0]),nextTick(()=>{t.slideTo(u)})):t.slideTo(u)}else t.slideTo(u)}};var N={loopCreate:function loopCreate(t,r){const a=this,{params:l,slidesEl:c}=a;if(!l.loop||a.virtual&&a.params.virtual.enabled)return;const initSlides=()=>{elementChildren(c,`.${l.slideClass}, swiper-slide`).forEach((t,r)=>{t.setAttribute("data-swiper-slide-index",r)})},u=a.grid&&l.grid&&l.grid.rows>1;l.loopAddBlankSlides&&(l.slidesPerGroup>1||u)&&(()=>{const t=elementChildren(c,`.${l.slideBlankClass}`);t.forEach(t=>{t.remove()}),t.length>0&&(a.recalcSlides(),a.updateSlides())})();const p=l.slidesPerGroup*(u?l.grid.rows:1),m=a.slides.length%p!==0,h=u&&a.slides.length%l.grid.rows!==0,addBlankSlides=t=>{for(let r=0;r<t;r+=1){const t=a.isElement?createElement("swiper-slide",[l.slideBlankClass]):createElement("div",[l.slideClass,l.slideBlankClass]);a.slidesEl.append(t)}};if(m){if(l.loopAddBlankSlides){addBlankSlides(p-a.slides.length%p),a.recalcSlides(),a.updateSlides()}else showWarning("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may 
2not function properly. You need to add more slides (or make duplicates, or empty slides)");initSlides()}else if(h){if(l.loopAddBlankSlides){addBlankSlides(l.grid.rows-a.slides.length%l.grid.rows),a.recalcSlides(),a.updateSlides()}else showWarning("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");initSlides()}else initSlides();const v=l.centeredSlides||!!l.slidesOffsetBefore||!!l.slidesOffsetAfter;a.loopFix({slideRealIndex:t,direction:v?void 0:"next",initial:r})},loopFix:function loopFix({slideRealIndex:t,slideTo:r=!0,direction:a,setTranslate:l,activeSlideIndex:c,initial:u,byController:p,byMousewheel:m}={}){const h=this;if(!h.params.loop)return;h.emit("beforeLoopFix");const{slides:v,allowSlidePrev:y,allowSlideNext:g,slidesEl:b,params:S}=h,{centeredSlides:w,slidesOffsetBefore:_,slidesOffsetAfter:T,initialSlide:E}=S,C=w||!!_||!!T;if(h.allowSlidePrev=!0,h.allowSlideNext=!0,h.virtual&&S.virtual.enabled)return r&&(C||0!==h.snapIndex?C&&h.snapIndex<S.slidesPerView?h.slideTo(h.virtual.slides.length+h.snapIndex,0,!1,!0):h.snapIndex===h.snapGrid.length-1&&h.slideTo(h.virtual.slidesBefore,0,!1,!0):h.slideTo(h.virtual.slides.length,0,!1,!0)),h.allowSlidePrev=y,h.allowSlideNext=g,void h.emit("loopFix");let A=S.slidesPerView;"auto"===A?A=h.slidesPerViewDynamic():(A=Math.ceil(parseFloat(S.slidesPerView,10)),C&&A%2==0&&(A+=1));const P=S.slidesPerGroupAuto?A:S.slidesPerGroup;let x=C?Math.max(P,Math.ceil(A/2)):P;x%P!==0&&(x+=P-x%P),x+=S.loopAdditionalSlides,h.loopedSlides=x;const k=h.grid&&S.grid&&S.grid.rows>1;v.length<A+x||"cards"===h.params.effect&&v.length<A+2*x?showWarning("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):k&&"row"===S.grid.fill&&showWarning("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const L=[],O=[],M=k?Math.ceil(v.length/S.grid.rows):v.length,I=u&&M-E<A&&!C;let j=I?E:h.activeIndex;void 0===c?c=h.getSlideIndex(v.find(t=>t.classList.contains(S.slideActiveClass))):j=c;const D="next"===a||!a,q="prev"===a||!a;let N=0,R=0;const H=(k?v[c].column:c)+(C&&void 0===l?-A/2+.5:0);if(H<x){N=Math.max(x-H,P);for(let t=0;t<x-H;t+=1){const r=t-Math.floor(t/M)*M;if(k){const t=M-r-1;for(let r=v.length-1;r>=0;r-=1)v[r].column===t&&L.push(r)}else L.push(M-r-1)}}else if(H+A>M-x){R=Math.max(H-(M-2*x),P),I&&(R=Math.max(R,A-M+E+1));for(let t=0;t<R;t+=1){const r=t-Math.floor(t/M)*M;k?v.forEach((t,a)=>{t.column===r&&O.push(a)}):O.push(r)}}if(h.__preventObserver__=!0,requestAnimationFrame(()=>{h.__preventObserver__=!1}),"cards"===h.params.effect&&v.length<A+2*x&&(O.includes(c)&&O.splice(O.indexOf(c),1),L.includes(c)&&L.splice(L.indexOf(c),1)),q&&L.forEach(t=>{v[t].swiperLoopMoveDOM=!0,b.prepend(v[t]),v[t].swiperLoopMoveDOM=!1}),D&&O.forEach(t=>{v[t].swiperLoopMoveDOM=!0,b.append(v[t]),v[t].swiperLoopMoveDOM=!1}),h.recalcSlides(),"auto"===S.slidesPerView?h.updateSlides():k&&(L.length>0&&q||O.length>0&&D)&&h.slides.forEach((t,r)=>{h.grid.updateSlide(r,t,h.slides)}),S.watchSlidesProgress&&h.updateSlidesOffset(),r)if(L.length>0&&q){if(void 0===t){const t=h.slidesGrid[j],r=h.slidesGrid[j+N]-t;m?h.setTranslate(h.translate-r):(h.slideTo(j+Math.ceil(N),0,!1,!0),l&&(h.touchEventsData.startTranslate=h.touchEventsData.startTranslate-r,h.touchEventsData.currentTranslate=h.touchEventsData.currentTranslate-r))}else if(l){const t=k?L.length/S.grid.rows:L.length;h.slideTo(h.activeIndex+t,0,!1,!0),h.touchEventsData.currentTranslate=h.translate}}else if(O.length>0&&D)if(void 0===t){const t=h.slidesGrid[j],r=h.slidesGrid[j-R]-t;m?h.setTranslate(h.translate-r):(h.slideTo(j-R,0,!1,!0),l&&(h.touchEventsData.startTranslate=h.touchEventsData.startTranslate-r,h.touchEventsData.currentTranslate=h.touchEventsData.currentTranslate-r))}else{const t=k?O.length/S.grid.rows:O.length;h.slideTo(h.activeIndex-t,0,!1,!0)}if(h.allowSlidePrev=y,h.allowSlideNext=g,h.controller&&h.controller.control&&!p){const u={slideRealIndex:t,direction:a,setTranslate:l,activeSlideIndex:c,byController:!0};Array.isArray(h.controller.control)?h.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...u,slideTo:t.params.slidesPerView===S.slidesPerView&&r})}):h.controller.control instanceof h.constructor&&h.controller.control.params.loop&&h.controller.control.loopFix({...u,slideTo:h.controller.control.params.slidesPerView===S.slidesPerView&&r})}h.emit("loopFix")},loopDestroy:function loopDestroy(){const t=this,{params:r,slidesEl:a}=t;if(!r.loop||!a||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const l=[];
vendor: 6,242 bytes, line 2
2t.slides.forEach(t=>{const r=void 0===t.swiperSlideIndex?1*t.getAttribute("data-swiper-slide-index"):t.swiperSlideIndex;l[r]=t}),t.slides.forEach(t=>{t.removeAttribute("data-swiper-slide-index")}),l.forEach(t=>{a.append(t)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}};function preventEdgeSwipe(t,r,a){const window=getWindow(),{params:l}=t,c=l.edgeSwipeDetection,u=l.edgeSwipeThreshold;return!c||!(a<=u||a>=window.innerWidth-u)||"prevent"===c&&(r.preventDefault(),!0)}function onTouchStart(t){const r=this;if(r.destroyed)return;const a=getDocument();let l=t;l.originalEvent&&(l=l.originalEvent);const c=r.touchEventsData;if("pointerdown"===l.type){if(null!==c.pointerId&&c.pointerId!==l.pointerId)return;c.pointerId=l.pointerId}else"touchstart"===l.type&&1===l.targetTouches.length&&(c.touchId=l.targetTouches[0].identifier);if("touchstart"===l.type)return void preventEdgeSwipe(r,l,l.targetTouches[0].pageX);const{params:u,touches:p,enabled:m}=r;if(!m)return;if(!u.simulateTouch&&"mouse"===l.pointerType)return;if(r.animating&&u.preventInteractionOnTransition)return;!r.animating&&u.cssMode&&u.loop&&r.loopFix();let h=l.target;if("wrapper"===u.touchEventsTarget&&!function elementIsChildOf(t,r){const window=getWindow();let a=r.contains(t);!a&&window.HTMLSlotElement&&r instanceof HTMLSlotElement&&(a=[...r.assignedElements()].includes(t),a||(a=function elementIsChildOfSlot(t,r){const a=[r];for(;a.length>0;){const r=a.shift();if(t===r)return!0;a.push(...r.children,...r.shadowRoot?r.shadowRoot.children:[],...r.assignedElements?r.assignedElements():[])}}(t,r)));return a}(h,r.wrapperEl))return;if("which"in l&&3===l.which)return;if("button"in l&&l.button>0)return;if(c.isTouched&&c.isMoved)return;const v=!!u.noSwipingClass&&""!==u.noSwipingClass,y=l.composedPath?l.composedPath():l.path;v&&l.target&&l.target.shadowRoot&&y&&(h=y[0]);const g=u.noSwipingSelector?u.noSwipingSelector:`.${u.noSwipingClass}`,b=!(!l.target||!l.target.shadowRoot);if(u.noSwiping&&(b?function closestElement(t,r=this){return function __closestFrom(r){if(!r||r===getDocument()||r===getWindow())return null;r.assignedSlot&&(r=r.assignedSlot);const a=r.closest(t);return a||r.getRootNode?a||__closestFrom(r.getRootNode().host):null}(r)}(g,h):h.closest(g)))return void(r.allowClick=!0);if(u.swipeHandler&&!h.closest(u.swipeHandler))return;p.currentX=l.pageX,p.currentY=l.pageY;const S=p.currentX,w=p.currentY;if(!preventEdgeSwipe(r,l,S))return;Object.assign(c,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),p.startX=S,p.startY=w,c.touchStartTime=now(),r.allowClick=!0,r.updateSize(),r.swipeDirection=void 0,u.threshold>0&&(c.allowThresholdMove=!1);let _=!0;h.matches(c.focusableElements)&&(_=!1,"SELECT"===h.nodeName&&(c.isTouched=!1)),a.activeElement&&a.activeElement.matches(c.focusableElements)&&a.activeElement!==h&&("mouse"===l.pointerType||"mouse"!==l.pointerType&&!h.matches(c.focusableElements))&&a.activeElement.blur();const T=_&&r.allowTouchMove&&u.touchStartPreventDefault;!u.touchStartForcePreventDefault&&!T||h.isContentEditable||l.preventDefault(),u.freeMode&&u.freeMode.enabled&&r.freeMode&&r.animating&&!u.cssMode&&r.freeMode.onTouchStart(),r.emit("touchStart",l)}function onTouchMove(t){const r=getDocument(),a=this;if(a.destroyed)return;const l=a.touchEventsData,{params:c,touches:u,rtlTranslate:p,enabled:m}=a;if(!m)return;if(!c.simulateTouch&&"mouse"===t.pointerType)return;let h,v=t;if(v.originalEvent&&(v=v.originalEvent),"pointermove"===v.type){if(null!==l.touchId)return;if(v.pointerId!==l.pointerId)return}if("touchmove"===v.type){if(h=[...v.changedTouches].find(t=>t.identifier===l.touchId),!h||h.identifier!==l.touchId)return}else h=v;if(!l.isTouched)return void(l.startMoving&&l.isScrolling&&a.emit("touchMoveOpposite",v));const y=h.pageX,g=h.pageY;if(v.preventedByNestedSwiper)return u.startX=y,void(u.startY=g);if(!a.allowTouchMove)return v.target.matches(l.focusableElements)||(a.allowClick=!1),void(l.isTouched&&(Object.assign(u,{startX:y,startY:g,currentX:y,currentY:g}),l.touchStartTime=now()));if(c.touchReleaseOnEdges&&!c.loop)if(a.isVertical()){if(g<u.startY&&a.translate<=a.maxTranslate()||g>u.startY&&a.translate>=a.minTranslate())return l.isTouched=!1,void(l.isMoved=!1)}else{if(p&&(y>u.startX&&-a.translate<=a.maxTranslate()||y<u.startX&&-a.translate>=a.minTranslate()))return;if(!p&&(y<u.startX&&a.translate<=a.maxTranslate()||y>u.startX&&a.translate>=a.minTranslate()))return}if(r.activeElement&&r.activeElement.matches(l.focusableElements)&&r.activeElement!==v.target&&"mouse"!==v.pointerType&&r.activeElement.blur(),r.activeElement&&v.target===r.activeElement&&v.target.matches(l.focusableElements))return l.isMoved=!0,void(a.allowClick=!1);l.allowTouchCallbacks&&a.emit("touchMove",v),u.previousX=u.currentX,u.previousY=u.currentY,u.currentX=y,u.currentY=g;const b=u.currentX-u.startX,S=u.currentY-u.startY;if(a.params.threshold&&Math.sqrt(b**2+S**2)<a.params.threshold)return;if(void 0===l.isScrolling){let t;a.isHorizontal()&&u.currentY===u.startY||a.isVertical()&&u.currentX===u.startX?l.isScrolling=!1:b*b+S*S>=25&&(t=180*Math.atan2(Math.abs(S),Math.abs(b))/Math.PI,l.isScrolling=a.isHorizontal()?t>c.touchAngle:90-t>c.touchAngle)}if(l.isScrolling&&a.emit("touchMoveOpposite",v),void 0===l.startMoving&&(u.currentX===u.startX&&u.currentY===u.startY||(l.startMoving=!0)),l.isScrolling||"touchmove"===v.type&&l.preventTouchMoveFromPointerMove)return void(l.isTouched=!1);if(!l.startMoving)return;a.allowClick=!1,!c.cssMode&&v.cancelable&&v.preventDefault(),c.touchMoveStopPropagation&&!c.nested&&v.stopPropagation();let w=a.isHorizontal()?b:S,_=a.isHorizontal()?u.currentX-u.previousX:u.currentY-u.previousY;c.oneWayMovement&&(w=Math.abs(w)*(p?1:-1),_=Math.abs(_)*(p?1:-1)),u.diff=w,w*=c.touchRatio,p&&(w=-w,_=-_);const T=a.touchesDirection;a.swipeDirection=w>0?"prev":"next",a.touchesDirection=_>0?"prev":"next";const E=a.params.loop&&!c.cssMode,C="next"===a.touchesDirection&&a.allowSlideNext||"prev"===a.touchesDirection&&a.allowSlidePrev;if(!l.isMoved){if(E&&C&&a.loopFix({direction:a.swipeDirection}),l.startTranslate=a.getTranslate(),a.setTransition(0),a.animating){const t=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});
vendor: 2,162 bytes, line 2
2a.wrapperEl.dispatchEvent(t)}l.allowMomentumBounce=!1,!c.grabCursor||!0!==a.allowSlideNext&&!0!==a.allowSlidePrev||a.setGrabCursor(!0),a.emit("sliderFirstMove",v)}if((new Date).getTime(),!1!==c._loopSwapReset&&l.isMoved&&l.allowThresholdMove&&T!==a.touchesDirection&&E&&C&&Math.abs(w)>=1)return Object.assign(u,{startX:y,startY:g,currentX:y,currentY:g,startTranslate:l.currentTranslate}),l.loopSwapReset=!0,void(l.startTranslate=l.currentTranslate);a.emit("sliderMove",v),l.isMoved=!0,l.currentTranslate=w+l.startTranslate;let A=!0,P=c.resistanceRatio;if(c.touchReleaseOnEdges&&(P=0),w>0?(E&&C&&l.allowThresholdMove&&l.currentTranslate>(c.centeredSlides?a.minTranslate()-a.slidesSizesGrid[a.activeIndex+1]-("auto"!==c.slidesPerView&&a.slides.length-c.slidesPerView>=2?a.slidesSizesGrid[a.activeIndex+1]+a.params.spaceBetween:0)-a.params.spaceBetween:a.minTranslate())&&a.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),l.currentTranslate>a.minTranslate()&&(A=!1,c.resistance&&(l.currentTranslate=a.minTranslate()-1+(-a.minTranslate()+l.startTranslate+w)**P))):w<0&&(E&&C&&l.allowThresholdMove&&l.currentTranslate<(c.centeredSlides?a.maxTranslate()+a.slidesSizesGrid[a.slidesSizesGrid.length-1]+a.params.spaceBetween+("auto"!==c.slidesPerView&&a.slides.length-c.slidesPerView>=2?a.slidesSizesGrid[a.slidesSizesGrid.length-1]+a.params.spaceBetween:0):a.maxTranslate())&&a.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:a.slides.length-("auto"===c.slidesPerView?a.slidesPerViewDynamic():Math.ceil(parseFloat(c.slidesPerView,10)))}),l.currentTranslate<a.maxTranslate()&&(A=!1,c.resistance&&(l.currentTranslate=a.maxTranslate()+1-(a.maxTranslate()-l.startTranslate-w)**P))),A&&(v.preventedByNestedSwiper=!0),!a.allowSlideNext&&"next"===a.swipeDirection&&l.currentTranslate<l.startTranslate&&(l.currentTranslate=l.startTranslate),!a.allowSlidePrev&&"prev"===a.swipeDirection&&l.currentTranslate>l.startTranslate&&(l.currentTranslate=l.startTranslate),a.allowSlidePrev||a.allowSlideNext||(l.currentTranslate=l.startTranslate),c.threshold>0){if(!(Math.abs(w)>c.threshold||l.allowThresholdMove))return void(l.currentTranslate=l.startTranslate);
vendor: 5,055 bytes, line 2
2if(!l.allowThresholdMove)return l.allowThresholdMove=!0,u.startX=u.currentX,u.startY=u.currentY,l.currentTranslate=l.startTranslate,void(u.diff=a.isHorizontal()?u.currentX-u.startX:u.currentY-u.startY)}c.followFinger&&!c.cssMode&&((c.freeMode&&c.freeMode.enabled&&a.freeMode||c.watchSlidesProgress)&&(a.updateActiveIndex(),a.updateSlidesClasses()),c.freeMode&&c.freeMode.enabled&&a.freeMode&&a.freeMode.onTouchMove(),a.updateProgress(l.currentTranslate),a.setTranslate(l.currentTranslate))}function onTouchEnd(t){const r=this;if(r.destroyed)return;const a=r.touchEventsData;let l,c=t;c.originalEvent&&(c=c.originalEvent);if("touchend"===c.type||"touchcancel"===c.type){if(l=[...c.changedTouches].find(t=>t.identifier===a.touchId),!l||l.identifier!==a.touchId)return}else{if(null!==a.touchId)return;if(c.pointerId!==a.pointerId)return;l=c}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(c.type)){if(!(["pointercancel","contextmenu"].includes(c.type)&&(r.browser.isSafari||r.browser.isWebView)))return}a.pointerId=null,a.touchId=null;const{params:u,touches:p,rtlTranslate:m,slidesGrid:h,enabled:v}=r;if(!v)return;if(!u.simulateTouch&&"mouse"===c.pointerType)return;if(a.allowTouchCallbacks&&r.emit("touchEnd",c),a.allowTouchCallbacks=!1,!a.isTouched)return a.isMoved&&u.grabCursor&&r.setGrabCursor(!1),a.isMoved=!1,void(a.startMoving=!1);u.grabCursor&&a.isMoved&&a.isTouched&&(!0===r.allowSlideNext||!0===r.allowSlidePrev)&&r.setGrabCursor(!1);const y=now(),g=y-a.touchStartTime;if(r.allowClick){const t=c.path||c.composedPath&&c.composedPath();r.updateClickedSlide(t&&t[0]||c.target,t),r.emit("tap click",c),g<300&&y-a.lastClickTime<300&&r.emit("doubleTap doubleClick",c)}if(a.lastClickTime=now(),nextTick(()=>{r.destroyed||(r.allowClick=!0)}),!a.isTouched||!a.isMoved||!r.swipeDirection||0===p.diff&&!a.loopSwapReset||a.currentTranslate===a.startTranslate&&!a.loopSwapReset)return a.isTouched=!1,a.isMoved=!1,void(a.startMoving=!1);let b;if(a.isTouched=!1,a.isMoved=!1,a.startMoving=!1,b=u.followFinger?m?r.translate:-r.translate:-a.currentTranslate,u.cssMode)return;if(u.freeMode&&u.freeMode.enabled)return void r.freeMode.onTouchEnd({currentPos:b});const S=b>=-r.maxTranslate()&&!r.params.loop;let w=0,_=r.slidesSizesGrid[0];for(let t=0;t<h.length;t+=t<u.slidesPerGroupSkip?1:u.slidesPerGroup){const r=t<u.slidesPerGroupSkip-1?1:u.slidesPerGroup;void 0!==h[t+r]?(S||b>=h[t]&&b<h[t+r])&&(w=t,_=h[t+r]-h[t]):(S||b>=h[t])&&(w=t,_=h[h.length-1]-h[h.length-2])}let T=null,E=null;u.rewind&&(r.isBeginning?E=u.virtual&&u.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1:r.isEnd&&(T=0));const C=(b-h[w])/_,A=w<u.slidesPerGroupSkip-1?1:u.slidesPerGroup;if(g>u.longSwipesMs){if(!u.longSwipes)return void r.slideTo(r.activeIndex);"next"===r.swipeDirection&&(C>=u.longSwipesRatio?r.slideTo(u.rewind&&r.isEnd?T:w+A):r.slideTo(w)),"prev"===r.swipeDirection&&(C>1-u.longSwipesRatio?r.slideTo(w+A):null!==E&&C<0&&Math.abs(C)>u.longSwipesRatio?r.slideTo(E):r.slideTo(w))}else{if(!u.shortSwipes)return void r.slideTo(r.activeIndex);r.navigation&&(c.target===r.navigation.nextEl||c.target===r.navigation.prevEl)?c.target===r.navigation.nextEl?r.slideTo(w+A):r.slideTo(w):("next"===r.swipeDirection&&r.slideTo(null!==T?T:w+A),"prev"===r.swipeDirection&&r.slideTo(null!==E?E:w))}}function onResize(){const t=this,{params:r,el:a}=t;if(a&&0===a.offsetWidth)return;r.breakpoints&&t.setBreakpoint();const{allowSlideNext:l,allowSlidePrev:c,snapGrid:u}=t,p=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const m=p&&r.loop;if(!("auto"===r.slidesPerView||r.slidesPerView>1)||!t.isEnd||t.isBeginning||t.params.centeredSlides||m)t.params.loop&&!p?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0);else{const r=p?t.virtual.slides:t.slides;t.slideTo(r.length-1,0,!1,!0)}t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=c,t.allowSlideNext=l,t.params.watchOverflow&&u!==t.snapGrid&&t.checkOverflow()}function onClick(t){const r=this;r.destroyed||r.enabled&&(r.allowClick||(r.params.preventClicks&&t.preventDefault(),r.params.preventClicksPropagation&&r.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function onScroll(){const t=this;if(t.destroyed)return;const{wrapperEl:r,rtlTranslate:a,enabled:l}=t;if(!l)return;let c;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-r.scrollLeft:t.translate=-r.scrollTop,0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();const u=t.maxTranslate()-t.minTranslate();c=0===u?0:(t.translate-t.minTranslate())/u,c!==t.progress&&t.updateProgress(a?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function onLoad(t){const r=this;r.destroyed||(processLazyPreloader(r,t.target),r.params.cssMode||"auto"!==r.params.slidesPerView&&!r.params.autoHeight||r.update(
vendor: 4,817 bytes, line 2
2))}function onDocumentTouchStart(){const t=this;t.destroyed||t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const events=(t,r)=>{const a=getDocument(),{params:l,el:c,wrapperEl:u,device:p}=t,m=!!l.nested,h="on"===r?"addEventListener":"removeEventListener",v=r;c&&"string"!=typeof c&&(a[h]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:m}),c[h]("touchstart",t.onTouchStart,{passive:!1}),c[h]("pointerdown",t.onTouchStart,{passive:!1}),a[h]("touchmove",t.onTouchMove,{passive:!1,capture:m}),a[h]("pointermove",t.onTouchMove,{passive:!1,capture:m}),a[h]("touchend",t.onTouchEnd,{passive:!0}),a[h]("pointerup",t.onTouchEnd,{passive:!0}),a[h]("pointercancel",t.onTouchEnd,{passive:!0}),a[h]("touchcancel",t.onTouchEnd,{passive:!0}),a[h]("pointerout",t.onTouchEnd,{passive:!0}),a[h]("pointerleave",t.onTouchEnd,{passive:!0}),a[h]("contextmenu",t.onTouchEnd,{passive:!0}),(l.preventClicks||l.preventClicksPropagation)&&c[h]("click",t.onClick,!0),l.cssMode&&u[h]("scroll",t.onScroll),l.updateOnWindowResize?t[v](p.ios||p.android?"resize orientationchange observerUpdate":"resize observerUpdate",onResize,!0):t[v]("observerUpdate",onResize,!0),c[h]("load",t.onLoad,{capture:!0}))};const isGridEnabled=(t,r)=>t.grid&&r.grid&&r.grid.rows>1;var R={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function moduleExtendParams(t,r){return function extendParams(a={}){const l=Object.keys(a)[0],c=a[l];"object"==typeof c&&null!==c?(!0===t[l]&&(t[l]={enabled:!0}),"navigation"===l&&t[l]&&t[l].enabled&&!t[l].prevEl&&!t[l].nextEl&&(t[l].auto=!0),["pagination","scrollbar"].indexOf(l)>=0&&t[l]&&t[l].enabled&&!t[l].el&&(t[l].auto=!0),l in t&&"enabled"in c?("object"!=typeof t[l]||"enabled"in t[l]||(t[l].enabled=!0),t[l]||(t[l]={enabled:!1}),utils_extend(r,a)):utils_extend(r,a)):utils_extend(r,a)}}const H={eventsEmitter:I,update:j,translate:D,transition:{setTransition:function setTransition(t,r){const a=this;a.params.cssMode||(a.wrapperEl.style.transitionDuration=`${t}ms`,a.wrapperEl.style.transitionDelay=0===t?"0ms":""),a.emit("setTransition",t,r)},transitionStart:function transitionStart(t=!0,r){const a=this,{params:l}=a;l.cssMode||(l.autoHeight&&a.updateAutoHeight(),transitionEmit({swiper:a,runCallbacks:t,direction:r,step:"Start"}))},transitionEnd:function transitionEnd(t=!0,r){const a=this,{params:l}=a;a.animating=!1,l.cssMode||(a.setTransition(0),transitionEmit({swiper:a,runCallbacks:t,direction:r,step:"End"}))}},slide:q,loop:N,grabCursor:{setGrabCursor:function setGrabCursor(t){const r=this;if(!r.params.simulateTouch||r.params.watchOverflow&&r.isLocked||r.params.cssMode)return;const a="container"===r.params.touchEventsTarget?r.el:r.wrapperEl;r.isElement&&(r.__preventObserver__=!0),a.style.cursor="move",a.style.cursor=t?"grabbing":"grab",r.isElement&&requestAnimationFrame(()=>{r.__preventObserver__=!1})}
2,unsetGrabCursor:function unsetGrabCursor(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t["container"===t.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}},events:{attachEvents:function attachEvents(){const t=this,{params:r}=t;t.onTouchStart=onTouchStart.bind(t),t.onTouchMove=onTouchMove.bind(t),t.onTouchEnd=onTouchEnd.bind(t),t.onDocumentTouchStart=onDocumentTouchStart.bind(t),r.cssMode&&(t.onScroll=onScroll.bind(t)),t.onClick=onClick.bind(t),t.onLoad=onLoad.bind(t),events(t,"on")},detachEvents:function detachEvents(){events(this,"off")}},breakpoints:{setBreakpoint:function setBreakpoint(){const t=this,{realIndex:r,initialized:a,params:l,el:c}=t,u=l.breakpoints;if(!u||u&&0===Object.keys(u).length)return;const p=getDocument(),m="window"!==l.breakpointsBase&&l.breakpointsBase?"container":l.breakpointsBase,h=["window","container"].includes(l.breakpointsBase)||!l.breakpointsBase?t.el:p.querySelector(l.breakpointsBase),v=t.getBreakp
vendor: 4,189 bytes, line 2
2oint(u,m,h);if(!v||t.currentBreakpoint===v)return;const y=(v in u?u[v]:void 0)||t.originalParams,g=isGridEnabled(t,l),b=isGridEnabled(t,y),S=t.params.grabCursor,w=y.grabCursor,_=l.enabled;g&&!b?(c.classList.remove(`${l.containerModifierClass}grid`,`${l.containerModifierClass}grid-column`),t.emitContainerClasses()):!g&&b&&(c.classList.add(`${l.containerModifierClass}grid`),(y.grid.fill&&"column"===y.grid.fill||!y.grid.fill&&"column"===l.grid.fill)&&c.classList.add(`${l.containerModifierClass}grid-column`),t.emitContainerClasses()),S&&!w?t.unsetGrabCursor():!S&&w&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(r=>{if(void 0===y[r])return;const a=l[r]&&l[r].enabled,c=y[r]&&y[r].enabled;a&&!c&&t[r].disable(),!a&&c&&t[r].enable()});const T=y.direction&&y.direction!==l.direction,E=l.loop&&(y.slidesPerView!==l.slidesPerView||T),C=l.loop;T&&a&&t.changeDirection(),utils_extend(t.params,y);const A=t.params.enabled,P=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),_&&!A?t.disable():!_&&A&&t.enable(),t.currentBreakpoint=v,t.emit("_beforeBreakpoint",y),a&&(E?(t.loopDestroy(),t.loopCreate(r),t.updateSlides()):!C&&P?(t.loopCreate(r),t.updateSlides()):C&&!P&&t.loopDestroy()),t.emit("breakpoint",y)},getBreakpoint:function getBreakpoint(t,r="window",a){if(!t||"container"===r&&!a)return;let l=!1;const window=getWindow(),c="window"===r?window.innerHeight:a.clientHeight,u=Object.keys(t).map(t=>{if("string"==typeof t&&0===t.indexOf("@")){const r=parseFloat(t.substr(1));return{value:c*r,point:t}}return{value:t,point:t}});u.sort((t,r)=>parseInt(t.value,10)-parseInt(r.value,10));for(let t=0;t<u.length;t+=1){const{point:c,value:p}=u[t];"window"===r?window.matchMedia(`(min-width: ${p}px)`).matches&&(l=c):p<=a.clientWidth&&(l=c)}return l||"max"}},checkOverflow:{checkOverflow:function checkOverflow(){const t=this,{isLocked:r,params:a}=t,{slidesOffsetBefore:l}=a;if(l){const r=t.slides.length-1,a=t.slidesGrid[r]+t.slidesSizesGrid[r]+2*l;t.isLocked=t.size>a}else t.isLocked=1===t.snapGrid.length;!0===a.allowSlideNext&&(t.allowSlideNext=!t.isLocked),!0===a.allowSlidePrev&&(t.allowSlidePrev=!t.isLocked),r&&r!==t.isLocked&&(t.isEnd=!1),r!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}},classes:{addClasses:function addClasses(){const t=this,{classNames:r,params:a,rtl:l,el:c,device:u}=t,p=function prepareClasses(t,r){const a=[];return t.forEach(t=>{"object"==typeof t?Object.keys(t).forEach(l=>{t[l]&&a.push(r+l)}):"string"==typeof t&&a.push(r+t)}),a}(["initialized",a.direction,{"free-mode":t.params.freeMode&&a.freeMode.enabled},{autoheight:a.autoHeight},{rtl:l},{grid:a.grid&&a.grid.rows>1},{"grid-column":a.grid&&a.grid.rows>1&&"column"===a.grid.fill},{android:u.android},{ios:u.ios},{"css-mode":a.cssMode},{centered:a.cssMode&&a.centeredSlides},{"watch-progress":a.watchSlidesProgress}],a.containerModifierClass);r.push(...p),c.classList.add(...r),t.emitContainerClasses()},removeClasses:function removeClasses(){const{el:t,classNames:r}=this;t&&"string"!=typeof t&&(t.classList.remove(...r),this.emitContainerClasses())}}},G={};class Swiper{constructor(...t){let r,a;1===t.length&&t[0].constructor&&"Object"===Object.prototype.toString.call(t[0]).slice(8,-1)?a=t[0]:[r,a]=t,a||(a={}),a=utils_extend({},a),r&&!a.el&&(a.el=r);const l=getDocument();if(a.el&&"string"==typeof a.el&&l.querySelectorAll(a.el).length>1){const t=[];return l.querySelectorAll(a.el).forEach(r=>{const l=utils_extend({},a,{el:r});t.push(new Swiper(l))}),t}const c=this;c.__swiper__=!0,c.support=getSupport(),c.device=getDevice({userAgent:a.userAgent}),c.browser=getBrowser(),c.eventsListeners={},c.eventsAnyListeners=[],c.modules=[...c.__modules__],a.modules&&Array.isArray(a.modules)&&a.modules.forEach(t=>{"function"==typeof t&&c.modules.indexOf(t)<0&&c.modules.push(t)});const u={};c.modules.forEach(t=>{t({params:a,swiper:c,extendParams:moduleExtendParams(a,u),on:c.on.bind(c),once:c.once.bind(c),off:c.off.bind(c),emit:c.emit.bind(c)})});const p=utils_extend({},R,u);return c.params=utils_extend({},p,G,a),c.originalParams=utils_extend({},c.params),c.passedParams=utils_extend({}
vendor: 9,274 bytes, line 2
2,a),c.params&&c.params.on&&Object.keys(c.params.on).forEach(t=>{c.on(t,c.params.on[t])}),c.params&&c.params.onAny&&c.onAny(c.params.onAny),Object.assign(c,{enabled:c.params.enabled,el:r,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===c.params.direction},isVertical(){return"vertical"===c.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:c.params.allowSlideNext,allowSlidePrev:c.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:c.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:c.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),c.emit("_swiper"),c.params.init&&c.init(),c}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:r,params:a}=this,l=elementIndex(elementChildren(r,`.${a.slideClass}, swiper-slide`)[0]);return elementIndex(t)-l}getSlideIndexByData(t){return this.getSlideIndex(this.slides.find(r=>1*r.getAttribute("data-swiper-slide-index")===t))}getSlideIndexWhenGrid(t){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?t=Math.floor(t/this.params.grid.rows):"row"===this.params.grid.fill&&(t%=Math.ceil(this.slides.length/this.params.grid.rows))),t}recalcSlides(){const{slidesEl:t,params:r}=this;this.slides=elementChildren(t,`.${r.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,r){const a=this;t=Math.min(Math.max(t,0),1);const l=a.minTranslate(),c=(a.maxTranslate()-l)*t+l;a.translateTo(c,void 0===r?0:r),a.updateActiveIndex(),a.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const r=t.el.className.split(" ").filter(r=>0===r.indexOf("swiper")||0===r.indexOf(t.params.containerModifierClass));t.emit("_containerClasses",r.join(" "))}getSlideClasses(t){const r=this;return r.destroyed?"":t.className.split(" ").filter(t=>0===t.indexOf("swiper-slide")||0===t.indexOf(r.params.slideClass)).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const r=[];t.slides.forEach(a=>{const l=t.getSlideClasses(a);r.push({slideEl:a,classNames:l}),t.emit("_slideClass",a,l)}),t.emit("_slideClasses",r)}slidesPerViewDynamic(t="current",r=!1){const{params:a,slides:l,slidesGrid:c,slidesSizesGrid:u,size:p,activeIndex:m}=this;let h=1;if("number"==typeof a.slidesPerView)return a.slidesPerView;if(a.centeredSlides){let t,r=l[m]?Math.ceil(l[m].swiperSlideSize):0;for(let a=m+1;a<l.length;a+=1)l[a]&&!t&&(r+=Math.ceil(l[a].swiperSlideSize),h+=1,r>p&&(t=!0));for(let a=m-1;a>=0;a-=1)l[a]&&!t&&(r+=l[a].swiperSlideSize,h+=1,r>p&&(t=!0))}else if("current"===t)for(let t=m+1;t<l.length;t+=1){(r?c[t]+u[t]-c[m]<p:c[t]-c[m]<p)&&(h+=1)}else for(let t=m-1;t>=0;t-=1){c[m]-c[t]<p&&(h+=1)}return h}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:r,params:a}=t;function setTranslate(){const r=t.rtlTranslate?-1*t.translate:t.translate,a=Math.min(Math.max(r,t.maxTranslate()),t.minTranslate());t.setTranslate(a),t.updateActiveIndex(),t.updateSlidesClasses()}let l;if(a.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(r=>{r.complete&&processLazyPreloader(t,r)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),a.freeMode&&a.freeMode.enabled&&!a.cssMode)setTranslate(),a.autoHeight&&t.updateAutoHeight();else{if(("auto"===a.slidesPerView||a.slidesPerView>1)&&t.isEnd&&!a.centeredSlides){const r=t.virtual&&a.virtual.enabled?t.virtual.slides:t.slides;l=t.slideTo(r.length-1,0,!1,!0)}else l=t.slideTo(t.activeIndex,0,!1,!0);l||setTranslate()}a.watchOverflow&&r!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,r=!0){const a=this,l=a.params.direction;return t||(t="horizontal"===l?"vertical":"horizontal"),t===l||"horizontal"!==t&&"vertical"!==t||(a.el.classList.remove(`${a.params.containerModifierClass}${l}`),a.el.classList.add(`${a.params.containerModifierClass}${t}`),a.emitContainerClasses(),a.params.direction=t,a.slides.forEach(r=>{"vertical"===t?r.style.width="":r.style.height=""}),a.emit("changeDirection"),r&&a.update()),a}changeLanguageDirection(t){const r=this;r.rtl&&"rtl"===t||!r.rtl&&"ltr"===t||(r.rtl="rtl"===t,r.rtlTranslate="horizontal"===r.params.direction&&r.rtl,r.rtl?(r.el.classList.add(`${r.params.containerModifierClass}rtl`),r.el.dir="rtl"):(r.el.classList.remove(`${r.params.containerModifierClass}rtl`),r.el.dir="ltr"),r.update())}mount(t){const r=this;if(r.mounted)return!0;let a=t||r.params.el;if("string"==typeof a&&(a=document.querySelector(a)),!a)return!1;a.swiper=r,a.parentNode&&a.parentNode.host&&a.parentNode.host.nodeName===r.params.swiperElementNodeName.toUpperCase()&&(r.isElement=!0);const getWrapperSelector=()=>`.${(r.params.wrapperClass||"").trim().split(" ").join(".")}`;let l=(()=>{if(a&&a.shadowRoot&&a.shadowRoot.querySelector){return a.shadowRoot.querySelector(getWrapperSelector())}return elementChildren(a,getWrapperSelector())[0]})();return!l&&r.params.createElements&&(l=createElement("div",r.params.wrapperClass),a.append(l),elementChildren(a,`.${r.params.slideClass}`).forEach(t=>{l.append(t)})),Object.assign(r,{el:a,wrapperEl:l,slidesEl:r.isElement&&!a.parentNode.host.slideSlots?a.parentNode.host:l,hostEl:r.isElement?a.parentNode.host:a,mounted:!0,rtl:"rtl"===a.dir.toLowerCase()||"rtl"===elementStyle(a,"direction"),rtlTranslate:"horizontal"===r.params.direction&&("rtl"===a.dir.toLowerCase()||"rtl"===elementStyle(a,"direction")),wrongRTL:"-webkit-box"===elementStyle(l,"display")}),!0}init(t){const r=this;if(r.initialized)return r;if(!1===r.mount(t))return r;r.emit("beforeInit"),r.params.breakpoints&&r.setBreakpoint(),r.addClasses(),r.updateSize(),r.updateSlides(),r.params.watchOverflow&&r.checkOverflow(),r.params.grabCursor&&r.enabled&&r.setGrabCursor(),r.params.loop&&r.virtual&&r.params.virtual.enabled?r.slideTo(r.params.initialSlide+r.virtual.slidesBefore,0,r.params.runCallbacksOnInit,!1,!0):r.slideTo(r.params.initialSlide,0,r.params.runCallbacksOnInit,!1,!0),r.params.loop&&r.loopCreate(void 0,!0),r.attachEvents();const a=[...r.el.querySelectorAll('[loading="lazy"]')];return r.isElement&&a.push(...r.hostEl.querySelectorAll('[loading="lazy"]')),a.forEach(t=>{t.complete?processLazyPreloader(r,t):t.addEventListener("load",t=>{processLazyPreloader(r,t.target)})}),preload(r),r.initialized=!0,preload(r),r.emit("init"),r.emit("afterInit"),r}destroy(t=!0,r=!0){const a=this,{params:l,el:c,wrapperEl:u,slides:p}=a;return void 0===a.params||a.destroyed||(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),l.loop&&a.loopDestroy(),r&&(a.removeClasses(),c&&"string"!=typeof c&&c.removeAttribute("style"),u&&u.removeAttribute("style"),p&&p.length&&p.forEach(t=>{t.classList.remove(l.slideVisibleClass,l.slideFullyVisibleClass,l.slideActiveClass,l.slideNextClass,l.slidePrevClass),t.removeAttribute("style"),t.removeAttribute("data-swiper-slide-index")})),a.emit("destroy"),Object.keys(a.eventsListeners).forEach(t=>{a.off(t)}),!1!==t&&(a.el&&"string"!=typeof a.el&&(a.el.swiper=null),function deleteProps(t){const r=t;Object.keys(r).forEach(t=>{try{r[t]=null}catch(t){}try{delete r[t]}catch(t){}})}(a)),a.destroyed=!0),null}static extendDefaults(t){utils_extend(G,t)}static get extendedDefaults(){return G}static get defaults(){return R}static installModule(t){Swiper.prototype.__modules__||(Swiper.prototype.__modules__=[]);const r=Swiper.prototype.__modules__;"function"==typeof t&&r.indexOf(t)<0&&r.push(t)}static use(t){return Array.isArray(t)?(t.forEach(t=>Swiper.installModule(t)),Swiper):(Swiper.installModule(t),Swiper)}}function createElementIfNotDefined(t,r,a,l){return t.params.createElements&&Object.keys(l).forEach(c=>{if(!a[c]&&!0===a.auto){let u=elementChildren(t.el,`.${l[c]}`)[0];u||(u=createElement("div",l[c]),u.className=l[c],t.el.append(u)),a[c]=u,r[c]=u}}),a}Object.keys(H).forEach(t=>{Object.keys(H[t]).forEach(r=>{Swiper.prototype[r]=H[t][r]})}),Swiper.use([function Resize({swiper:t,on:r,emit:a}){const window=getWindow();let l=null,c=null;const resizeHandler=()=>{t&&!t.destroyed&&t.initialized&&(a("beforeResize"),a("resize"))},orientationChangeHandler=()=>{t&&!t.destroyed&&t.initialized&&a("orientationchange")};r("init",()=>{t.params.resizeObserver&&void 0!==window.ResizeObserver?t&&!t.destroyed&&t.initialized&&(l=new ResizeObserver(r=>{c=window.requestAnimationFrame(()=>{const{width:a,height:l}=t;
2let c=a,u=l;r.forEach(({contentBoxSize:r,contentRect:a,target:l})=>{l&&l!==t.el||(c=a?a.width:(r[0]||r).inlineSize,u=a?a.height:(r[0]||r).blockSize)}),c===a&&u===l||resizeHandler()})}),l.observe(t.el)):(window.addEventListener("resize",resizeHandler),window.addEventListener("orientationchange",orientationChangeHandler))}),r("destroy",()=>{c&&window.cancelAnimationFrame(c),l&&l.unobserve&&t.el&&(l.unobserve(t.el),l=null),window.removeEventListener("resize",resizeHandler),window.removeEventListener("orientationchange",orientationChangeHandler)})},function Observer({swiper:t,extendParams:r,on:a,emit:l}){const c=[],window=getWindow(),attach=(r,a={})=>{const u=new(window.MutationObserver||window.WebkitMutationObserver)(r=>{if(t.__preventObserver__)return;if(1===r.length)return void l("observerUpdate",r[0]);const a=function observerUpdate(){l("observerUpdate",r[0])};window.requestAnimationFrame?window.requestAnimationFrame(a):window.setTimeout(a,0)});u.observe(r,{attributes:void 0===a.attributes||a.attributes,childList:t.isElement||(void 0===a.childList||a).childList,characterData:void 0===a.characterData||a.characterData}),c.push(u)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),a("init",()=>{if(t.params.observer){if(t.params.observeParents){const r=elementParents(t.hostEl);for(let t=0;t<r.length;t+=1)attach(r[t])}attach(t.hostEl,{childList:t.params.observeSlideChildren}),attach(t.wrapperEl,{attributes:!1})}}),a("destroy",()=>{c.forEach(t=>{t.disconnect()}),c.splice(0,c.length)})}]);const B='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function Navigation({swiper:t,extendParams:r,on:a,emit:l}){function getEl(r){let a;return r&&"string"==typeof r&&t.isElement&&(a=t.el.querySelector(r)||t.hostEl.querySelector(r),a)?a:(r&&("string"==typeof r&&(a=[...document.querySelectorAll(r)]),t.params.uniqueNavElements&&"string"==typeof r&&a&&a.length>1&&1===t.el.querySelectorAll(r).length?a=t.el.querySelector(r):a&&1===a.length&&(a=a[0])),r&&!a?r:a)}function toggleEl(r,a){const l=t.params.navigation;(r=makeElementsArray(r)).forEach(r=>{r&&(r.classList[a?"add":"remove"](...l.disabledClass.split(" ")),"BUTTON"===r.tagName&&(r.disabled=a),t.params.watchOverflow&&t.enabled&&r.classList[t.isLocked?"add":"remove"](l.lockClass))})}function update(){const{nextEl:r,prevEl:a}=t.navigation;if(t.params.loop)return toggleEl(a,!1),void toggleEl(r,!1);toggleEl(a,t.isBeginning&&!t.params.rewind),toggleEl(r,t.isEnd&&!t.params.rewind)}function onPrevClick(r){r.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),l("navigationPrev"))}function onNextClick(r){r.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),l("navigationNext"))}function init(){const r=t.params.navigation;if(t.params.navigation=createElementIfNotDefined(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!r.nextEl&&!r.prevEl)return;let a=getEl(r.nextEl),l=getEl(r.prevEl);Object.assign(t.navigation,{nextEl:a,prevEl:l}),a=makeElementsArray(a),l=makeElementsArray(l);const initButton=(a,l)=>{if(a){if(r.addIcons&&a.matches(".swiper-button-next,.swiper-button-prev")&&!a.querySelector("svg")){const t=document.createElement("div");setInnerHTML(t,B),a.appendChild(t.querySelector("svg")),t.remove()}a.addEventListener("click","next"===l?onNextClick:onPrevClick)}!t.enabled&&a&&a.classList.add(...r.lockClass.split(" "))};a.forEach(t=>initButton(t,"next")),l.forEach(t=>initButton(t,"prev"))}function destroy(){let{nextEl:r,prevEl:a}=t.navigation;r=makeElementsArray(r),a=makeElementsArray(a);const destroyButton=(r,a)=>{r.removeEventListener("click","next"===a?onNextClick:onPrevClick),r.classList.remove(...t.params.navigation.disabledClass.split(" "))};r.forEach(t=>
2destroyButton(t,"next")),a.forEach(t=>destroyButton(t,"prev"))}r({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null,arrowSvg:B},a("init",()=>{!1===t.params.navigation.enabled?disable():(init(),update())}),a("toEdge fromEdge lock unlock",()=>{update()}),a("destroy",()=>{destroy()}),a("enable disable",()=>{let{nextEl:r,prevEl:a}=t.navigation;r=makeElementsArray(r),a=makeElementsArray(a),t.enabled?update():[...r,...a].filter(t=>!!t).forEach(r=>r.classList.add(t.params.navigation.lockClass))}),a("click",(r,a)=>{let{nextEl:c,prevEl:u}=t.navigation;c=makeElementsArray(c),u=makeElementsArray(u);const p=a.target;let m=u.includes(p)||c.includes(p);if(t.isElement&&!m){const t=a.path||a.composedPath&&a.composedPath();t&&(m=t.find(t=>c.includes(t)||u.includes(t)))}if(t.params.navigation.hideOnClick&&!m){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===p||t.pagination.el.contains(p)))return;let r;c.length?r=c[0].classList.contains(t.params.navigation.hiddenClass):u.length&&(r=u[0].classList.contains(t.params.navigation.hiddenClass)),l(!0===r?"navigationShow":"navigationHide"),[...c,...u].filter(t=>!!t).forEach(r=>r.classList.toggle(t.params.navigation.hiddenClass))}});const disable=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),destroy()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),init(),update()},disable:disable,update:update,init:init,destroy:destroy})}function Controller({swiper:t,extendParams:r,on:a}){function LinearSpline(t,r){const a=function search(){let t,r,a;return(l,c)=>{for(r=-1,t=l.length;t-r>1;)a=t+r>>1,l[a]<=c?r=a:t=a;return t}}();let l,c;return this.x=t,this.y=r,this.lastIndex=t.length-1,this.interpolate=function interpolate(t){return t?(c=a(this.x,t),l=c-1,(t-this.x[l])*(this.y[c]-this.y[l])/(this.x[c]-this.x[l])+this.y[l]):0},this}function removeSpline(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}r({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},a("beforeInit",()=>{if("undefined"!=typeof window&&("string"==typeof t.params.controller.control||t.params.controller.control instanceof HTMLElement)){return void("string"==typeof t.params.controller.control?[...document.querySelectorAll(t.params.controller.control)]:[t.params.controller.control]).forEach(r=>{if(t.controller.control||(t.controller.control=[]),r&&r.swiper)t.controller.control.push(r.swiper);else if(r){const a=`${t.params.eventsPrefix}init`,onControllerSwiper=l=>{t.controller.control.push(l.detail[0]),t.update(),r.removeEventListener(a,onControllerSwiper)};r.addEventListener(a,onControllerSwiper)}})}t.controller.control=t.params.controller.control}),a("update",()=>{removeSpline()}),a("resize",()=>{removeSpline()}),a("observerUpdate",()=>{removeSpline()}),a("setTranslate",(r,a,l)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTranslate(a,l)}),a("setTransition",(r,a,l)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTransition(a,l)}),Object.assign(t.controller,{setTranslate:function setTranslate(r,a){const l=t.controller.control;let c,u;const p=t.constructor;function setControlledTranslate(r){if(r.destroyed)return;const a=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(!function getInterpolateFunction(r){t.controller.spline=t.params.loop?new LinearSpline(t.slidesGrid,r.slidesGrid):new LinearSpline(t.snapGrid,r.snapGrid)}(r),u=-t.controller.spline.interpolate(-a)),u&&"container"!==t.params.controller.by||(c=(r.maxTranslate()-r.minTranslate())/(t.maxTranslate()-t.minTranslate()),!Number.isNaN(c)&&Number.isFinite(c)||(c=1),u=(a-t.minTranslate())*c+r.minTranslate()),t.params.controller.inverse&&(u=r.maxTranslate()-u),r.updateProgress(u),r.setTranslate(u,t),r.updateActiveIndex(),r.updateSlidesClasses()}if(Array.isArray(l))for(let t=0;t<l.length;t+=1)l[t]!==a&&l[t]instanceof p&&setControlledTranslate(l[t]);else l instanceof p&&a!==l&&setControlledTranslate(l)},setTransition:function setTransition(r,a){const l=t.constructor,c=t.controller.control;let u;function setControlledTransition(a){a.destroyed||(a.setTransition(r,t),0!==r&&(a.transitionStart(),a.params.autoHeight&&nextTick(()=>{a.updateAutoHeight()}),function elementTransitionEnd(t,r){r&&t.addEventListener("transitionend",function fireCallBack(a){a.target===t&&(r.call(t,a),t.removeEventListener("transitionend",fireCallBack))})}(a.wrapperEl,()=>{c&&a.transitionEnd()})))}if(Array.isArray(c))for(u=0;
2u<c.length;u+=1)c[u]!==a&&c[u]instanceof l&&setControlledTransition(c[u]);else c instanceof l&&a!==c&&setControlledTransition(c)}})}function classesToSelector(t=""){return`.${t.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}function A11y({swiper:t,extendParams:r,on:a}){r({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0,wrapperLiveRegion:!0}}),t.a11y={clicked:!1};let l,c,u=null,p=(new Date).getTime();function notify(t){const r=u;0!==r.length&&setInnerHTML(r,t)}function makeElFocusable(t){(t=makeElementsArray(t)).forEach(t=>{t.setAttribute("tabIndex","0")})}function makeElNotFocusable(t){(t=makeElementsArray(t)).forEach(t=>{t.setAttribute("tabIndex","-1")})}function addElRole(t,r){(t=makeElementsArray(t)).forEach(t=>{t.setAttribute("role",r)})}function addElRoleDescription(t,r){(t=makeElementsArray(t)).forEach(t=>{t.setAttribute("aria-roledescription",r)})}function addElLabel(t,r){(t=makeElementsArray(t)).forEach(t=>{t.setAttribute("aria-label",r)})}function disableEl(t){(t=makeElementsArray(t)).forEach(t=>{t.setAttribute("aria-disabled",!0)})}function enableEl(t){(t=makeElementsArray(t)).forEach(t=>{t.removeAttribute("aria-disabled")})}function onEnterOrSpaceKey(r){if(13!==r.keyCode&&32!==r.keyCode)return;const a=t.params.a11y,l=r.target;if(!t.pagination||!t.pagination.el||l!==t.pagination.el&&!t.pagination.el.contains(r.target)||r.target.matches(classesToSelector(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const r=makeElementsArray(t.navigation.prevEl);makeElementsArray(t.navigation.nextEl).includes(l)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?notify(a.lastSlideMessage):notify(a.nextSlideMessage)),r.includes(l)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?notify(a.firstSlideMessage):notify(a.prevSlideMessage))}t.pagination&&l.matches(classesToSelector(t.params.pagination.bulletClass))&&l.click()}}function hasPagination(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function hasClickablePagination(){return hasPagination()&&t.params.pagination.clickable}const initNavEl=(t,r,a)=>{makeElFocusable(t),"BUTTON"!==t.tagName&&(addElRole(t,"button"),t.addEventListener("keydown",onEnterOrSpaceKey)),addElLabel(t,a)},handlePointerDown=r=>{c&&c!==r.target&&!c.contains(r.target)&&(l=!0),t.a11y.clicked=!0},handlePointerUp=()=>{l=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t.destroyed||(t.a11y.clicked=!1)})})},onVisibilityChange=t=>{p=(new Date).getTime()},handleFocus=r=>{if(t.a11y.clicked||!t.params.a11y.scrollOnFocus)return;if((new Date).getTime()-p<100)return;const a=r.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!a||!t.slides.includes(a))return;c=a;const u=t.virtual&&t.params.virtual.enabled,m=(u?parseInt(a.getAttribute("data-swiper-slide-index"),10):t.slides.indexOf(a))===t.activeIndex,h=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(a);m||h||r.sourceCapabilities&&r.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame(()=>{l||(t.params.loop?t.slideToLoop(t.getSlideIndexWhenGrid(parseInt(a.getAttribute("data-swiper-slide-index"))),0):u?t.slideTo(t.getSlideIndexWhenGrid(parseInt(a.getAttribute("data-swiper-slide-index"),10)),0):t.slideTo(t.getSlideIndexWhenGrid(t.slides.indexOf(a)),0),l=!1)}))},initSlides=()=>{const r=t.params.a11y;r.itemRoleDescriptionMessage&&addElRoleDescription(t.slides,r.itemRoleDescriptionMessage),r.slideRole&&addElRole(t.slides,r.slideRole);const a=t.slides.length;r.slideLabelMessage&&t.slides.forEach((l,c)=>{const u=t.params.loop?parseInt(l.getAttribute("data-swiper-slide-index"),10):c;addElLabel(l,r.slideLabelMessage.replace(/\{\{index\}\}/,u+1).replace(/\{\{slidesLength\}\}/,a))})},init=()=>{const r=t.params.a11y;t.el.append(u);const a=t.el;r.containerRoleDescriptionMessage&&addElRoleDescription(a,r.containerRoleDescriptionMessage),r.containerMessage&&addElLabel(a,r.containerMessage),r.containerRole&&addElRole(a,r.containerRole);const l=t.wrapperEl,c=r.id||l.getAttribute("id")||`swiper-wrapper-${function getRandomNumber(t=16){return"x".repeat(t).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}(16)}`;
2if(function addElId(t,r){(t=makeElementsArray(t)).forEach(t=>{t.setAttribute("id",r)})}(l,c),r.wrapperLiveRegion){!function addElLive(t,r){(t=makeElementsArray(t)).forEach(t=>{t.setAttribute("aria-live",r)})}(l,t.params.autoplay&&t.params.autoplay.enabled?"off":"polite")}initSlides();let{nextEl:p,prevEl:m}=t.navigation?t.navigation:{};if(p=makeElementsArray(p),m=makeElementsArray(m),p&&p.forEach(t=>initNavEl(t,0,r.nextSlideMessage)),m&&m.forEach(t=>initNavEl(t,0,r.prevSlideMessage)),hasClickablePagination()){makeElementsArray(t.pagination.el).forEach(t=>{t.addEventListener("keydown",onEnterOrSpaceKey)})}getDocument().addEventListener("visibilitychange",onVisibilityChange),t.el.addEventListener("focus",handleFocus,!0),t.el.addEventListener("pointerdown",handlePointerDown,!0),t.el.addEventListener("pointerup",handlePointerUp,!0)};a("beforeInit",()=>{u=createElement("span",t.params.a11y.notificationClass),u.setAttribute("aria-live","assertive"),u.setAttribute("aria-atomic","true")}),a("afterInit",()=>{t.params.a11y.enabled&&init()}),a("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{t.params.a11y.enabled&&initSlides()}),a("fromEdge toEdge afterInit lock unlock",()=>{t.params.a11y.enabled&&function updateNavigation(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:r,prevEl:a}=t.navigation;a&&(t.isBeginning?(disableEl(a),makeElNotFocusable(a)):(enableEl(a),makeElFocusable(a))),r&&(t.isEnd?(disableEl(r),makeElNotFocusable(r)):(enableEl(r),makeElFocusable(r)))}()}),a("paginationUpdate",()=>{t.params.a11y.enabled&&function updatePagination(){const r=t.params.a11y;hasPagination()&&t.pagination.bullets.forEach(a=>{t.params.pagination.clickable&&(makeElFocusable(a),t.params.pagination.renderBullet||(addElRole(a,"button"),addElLabel(a,r.paginationBulletMessage.replace(/\{\{index\}\}/,elementIndex(a)+1)))),a.matches(classesToSelector(t.params.pagination.bulletActiveClass))?a.setAttribute("aria-current","true"):a.removeAttribute("aria-current")})}()}),a("destroy",()=>{t.params.a11y.enabled&&function destroy(){u&&u.remove();let{nextEl:r,prevEl:a}=t.navigation?t.navigation:{};r=makeElementsArray(r),a=makeElementsArray(a),r&&r.forEach(t=>t.removeEventListener("keydown",onEnterOrSpaceKey)),a&&a.forEach(t=>t.removeEventListener("keydown",onEnterOrSpaceKey)),hasClickablePagination()&&makeElementsArray(t.pagination.el).forEach(t=>{t.removeEventListener("keydown",onEnterOrSpaceKey)});getDocument().removeEventListener("visibilitychange",onVisibilityChange),t.el&&"string"!=typeof t.el&&(t.el.removeEventListener("focus",handleFocus,!0),t.el.removeEventListener("pointerdown",handlePointerDown,!0),t.el.removeEventListener("pointerup",handlePointerUp,!0))}()})}function Keyboard({swiper:t,extendParams:r,on:a,emit:l}){const c=getDocument(),window=getWindow();function handle(r){if(!t.enabled)return;const{rtlTranslate:a}=t;let u=r;u.originalEvent&&(u=u.originalEvent);const p=u.keyCode||u.charCode,m=t.params.keyboard.pageUpDown,h=m&&33===p,v=m&&34===p,y=37===p,g=39===p,b=38===p,S=40===p;if(!t.allowSlideNext&&(t.isHorizontal()&&g||t.isVertical()&&S||v))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&y||t.isVertical()&&b||h))return!1;if(u.shiftKey||u.altKey||u.ctrlKey||u.metaKey)return;if(c.activeElement&&(c.activeElement.isContentEditable||c.activeElement.nodeName&&("input"===c.activeElement.nodeName.toLowerCase()||"textarea"===c.activeElement.nodeName.toLowerCase())))return;if(t.params.keyboard.onlyInViewport&&(h||v||y||g||b||S)){let r=!1;if(elementParents(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&0===elementParents(t.el,`.${t.params.slideActiveClass}`).length)return;const l=t.el,c=l.clientWidth,u=l.clientHeight,p=window.innerWidth,m=window.innerHeight,h=function elementOffset(t){const window=getWindow(),r=getDocument(),a=t.getBoundingClientRect(),l=r.body,c=t.clientTop||l.clientTop||0,u=t.clientLeft||l.clientLeft||0,p=t===window?window.scrollY:t.scrollTop,m=t===window?window.scrollX:t.scrollLeft;return{top:a.top+p-c,left:a.left+m-u}}(l);a&&(h.left-=l.scrollLeft);const v=[[h.left,h.top],[h.left+c,h.top],[h.left,h.top+u],[h.left+c,h.top+u]];for(let t=0;t<v.length;t+=1){const a=v[t];if(a[0]>=0&&a[0]<=p&&a[1]>=0&&a[1]<=m){if(0===a[0]&&0===a[1])continue;r=!0}}if(!r)return}const w=t.params.keyboard.speed;t.isHorizontal()?((h||v||y||g)&&(u.preventDefault?u.preventDefault():u.returnValue=!1),((v||g)&&!a||(h||y)&&a)&&t.slideNext(w),((h||y)&&!a||(v||g)&&a)&&t.slidePrev(w)):((h||v||b||S)&&(u.preventDefault?u.preventDefault():u.returnValue=!1),(v||S)&&t.slideNext(w),(h||b)&&t.slidePrev(w)),l("keyPress",p)}function enable(){t.keyboard.enabled||(c.addEventListener("keydown",handle),t.keyboard.enabled=!0)}function disable(){t.keyboard.enabled&&(c.removeEventListener("keydown",handle),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},r({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0,speed:void 0}}),a("init",()=>{t.params.keyboard.enabled&&enable()}),a("destroy",()=>{t.keyboard.enabled&&disable()}),Object.assign(t.keyboard,{enable:enable,disable:disable})}var z=".media-gallery",V=".media-gallery__thumbs-swiper",$=".media-gallery__main-swiper",W=".media-gallery__thumb",K=".media-gallery__thumbs",U=".media-gallery__thumbs-button--prev",Y=".media-gallery__thumbs-button--next",J="is-active",X="is-controls-enabled";function setActiveThumb(t,r){var a=Array.from(t.querySelectorAll(W));a.forEach(function(t){return t.classList.remove(J)});var l=a[r];l&&l.classList.add(J)}function initMediaGallery(t){var r=t,a=r.querySelector(V),l=r.querySelector($);if(a&&l){var c=r.querySelector(U),u=r.querySelector(Y),p=new Swiper(a,{modules:[Navigation,Controller,A11y,Ke
2yboard],direction:"vertical",slidesPerView:"auto",spaceBetween:8,watchOverflow:!0,loop:!1,allowTouchMove:!0,keyboard:{enabled:!0,onlyInViewport:!0},navigation:c&&u?{prevEl:c,nextEl:u,disabledClass:"disabled"}:void 0}),m=new Swiper(l,{modules:[Controller,A11y,Keyboard],direction:"horizontal",slidesPerView:1,spaceBetween:8,watchOverflow:!0,loop:!1,allowTouchMove:!0,keyboard:{enabled:!0,onlyInViewport:!0}});p.controller.control=m,m.controller.control=p,r.querySelectorAll(W).forEach(function(t,r){t.addEventListener("click",function(){return m.slideTo(r)})}),m.on("slideChange",function(){var t,a=null!==(t=m.activeIndex)&&void 0!==t?t:0;setActiveThumb(r,a)});var h=function updateControls(){return function syncThumbControls(t,r){var a=t.querySelector(K),l=t.querySelector(U),c=t.querySelector(Y);if(a&&l&&c){var u=!r.isLocked;a.classList.toggle(X,u),l.disabled=r.isBeginning,c.disabled=r.isEnd}}(r,p)};p.on("afterInit",function(){var t;setActiveThumb(r,null!==(t=m.activeIndex)&&void 0!==t?t:0),h()}),p.on("update",h),p.on("resize",h),p.on("slidesLengthChange",h),p.on("reachBeginning",h),p.on("reachEnd",h),p.on("fromEdge",h),setActiveThumb(r,0),h()}}function Modal_typeof(t){return Modal_typeof="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},Modal_typeof(t)}function Modal_createForOfIteratorHelper(t,r){var a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function Modal_unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return Modal_arrayLikeToArray(t,r);var a={}.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Modal_arrayLikeToArray(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){a&&(t=a);var l=0,c=function F(){};return{s:c,n:function n(){return l>=t.length?{done:!0}:{done:!1,value:t[l++]}},e:function e(t){throw t},f:c}}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 u,p=!0,m=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return p=t.done,t},e:function e(t){m=!0,u=t},f:function f(){try{p||null==a.return||a.return()}finally{if(m)throw u}}}}function Modal_arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var a=0,l=Array(r);a<r;a++)l[a]=t[a];return l}function Modal_defineProperties(t,r){for(var a=0;a<r.length;a++){var l=r[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,Modal_toPropertyKey(l.key),l)}}function Modal_toPropertyKey(t){var r=function Modal_toPrimitive(t,r){if("object"!=Modal_typeof(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var l=a.call(t,r||"default");if("object"!=Modal_typeof(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==Modal_typeof(r)?r:r+""}document.querySelectorAll(z).forEach(function(t){return initMediaGallery(t)});var Q=function(){return function Modal_createClass(t,r,a){return r&&Modal_defineProperties(t.prototype,r),a&&Modal_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(function Modal(t){var r=this;!function Modal_classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,Modal),this.dialog=t,this.dialog.addEventListener("click",function(t){t.target===r.dialog&&r.close()});var a,l=Modal_createForOfIteratorHelper(this.dialog.querySelectorAll("[data-modal-close]"));try{for(l.s();!(a=l.n()).done;){a.value.addEventListener("click",function(){return r.close()})}}catch(t){l.e(t)}finally{l.f()}},[{key:"open",value:function open(){openDialog(this.dialog)}},{key:"close",value:function close(){this.dialog.close()}}])}();function openDialog(t){t.showModal(),document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&document.activeElement.blur()}function wireTrigger(t){t.addEventListener("click",function(r){var a,l=document.getElementById(null!==(a=t.dataset.modalTrigger)&&void 0!==a?a:"");l instanceof HTMLDialogElement&&(r.preventDefault(),openDialog(l))})}document.addEventListener("DOMContentLoaded",function(){return function initModals(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,a=[],l=Modal_createForOfIteratorHelper(r.querySelectorAll("dialog[data-modal]"));try{for(l.s();!(t=l.n()).done;){var c=t.value;a.push(new Q(c))}}catch(t){l.e(t)}finally{l.f()}var u,p=Modal_createForOfIteratorHelper(r.querySelectorAll("[data-modal-trigger]"));try{for(p.s();!(u=p.n()).done;)wireTrigger(u.value)}catch(t){p.e(t)}finally{p.f()}return a}()});function SearchAutocompleteResults_typeof(t){return SearchAutocompleteResults_typeof="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},SearchAutocompleteResults_typeof(t)}function SearchAutocompleteResults_regenerator(){var t,r,a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",c=a.toStringTag||"@@toStringTag";function i(a,l,c,p){var m=l&&l.prototype instanceof Generator?l:Generator,h=Object.create(m.prototype);return SearchAutocompleteResults_regeneratorDefine2(h,"_invoke",function(a,l,c){var p,m,h,v=0,y=c||[],g=!1,b={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function d(r,a){return p=r,m=0,h=t,b.n=a,u}};function d(a,l){for(m=a,h=l,r=0;!g&&v&&!c&&r<y.length;r++){var c,p=y[r],S=b.p,w=p[2];a>3?(c=w===l)&&(h=p[(m=p[4])?5:(m=3,3)],p[4]=p[5]=t):p[0]<=S&&((c=a<2&&S<p[1])?(m=0,b.v=l,b.n=p[
21]):S<w&&(c=a<3||p[0]>l||l>w)&&(p[4]=a,p[5]=l,b.n=w,m=0))}if(c||a>1)return u;throw g=!0,l}return function(c,y,S){if(v>1)throw TypeError("Generator is already running");for(g&&1===y&&d(y,S),m=y,h=S;(r=m<2?t:h)||!g;){p||(m?m<3?(m>1&&(b.n=-1),d(m,h)):b.n=h:b.v=h);try{if(v=2,p){if(m||(c="next"),r=p[c]){if(!(r=r.call(p,h)))throw TypeError("iterator result is not an object");if(!r.done)return r;h=r.value,m<2&&(m=0)}else 1===m&&(r=p.return)&&r.call(p),m<2&&(h=TypeError("The iterator does not provide a '"+c+"' method"),m=1);p=t}else if((r=(g=b.n<0)?h:a.call(l,b))!==u)break}catch(r){p=t,m=1,h=r}finally{v=1}}return{value:r,done:g}}}(a,c,p),!0),h}var u={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}r=Object.getPrototypeOf;var p=[][l]?r(r([][l]())):(SearchAutocompleteResults_regeneratorDefine2(r={},l,function(){return this}),r),m=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,SearchAutocompleteResults_regeneratorDefine2(t,c,"GeneratorFunction")),t.prototype=Object.create(m),t}return GeneratorFunction.prototype=GeneratorFunctionPrototype,SearchAutocompleteResults_regeneratorDefine2(m,"constructor",GeneratorFunctionPrototype),SearchAutocompleteResults_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",SearchAutocompleteResults_regeneratorDefine2(GeneratorFunctionPrototype,c,"GeneratorFunction"),SearchAutocompleteResults_regeneratorDefine2(m),SearchAutocompleteResults_regeneratorDefine2(m,c,"Generator"),SearchAutocompleteResults_regeneratorDefine2(m,l,function(){return this}),SearchAutocompleteResults_regeneratorDefine2(m,"toString",function(){return"[object Generator]"}),(SearchAutocompleteResults_regenerator=function _regenerator(){return{w:i,m:f}})()}function SearchAutocompleteResults_regeneratorDefine2(t,r,a,l){var c=Object.defineProperty;try{c({},"",{})}catch(t){c=0}SearchAutocompleteResults_regeneratorDefine2=function _regeneratorDefine(t,r,a,l){function o(r,a){SearchAutocompleteResults_regeneratorDefine2(t,r,function(t){return this._invoke(r,a,t)})}r?c?c(t,r,{value:a,enumerable:!l,configurable:!l,writable:!l}):t[r]=a:(o("next",0),o("throw",1),o("return",2))},SearchAutocompleteResults_regeneratorDefine2(t,r,a,l)}function SearchAutocompleteResults_asyncGeneratorStep(t,r,a,l,c,u,p){try{var m=t[u](p),h=m.value}catch(t){return void a(t)}m.done?r(h):Promise.resolve(h).then(l,c)}function SearchAutocompleteResults_defineProperties(t,r){for(var a=0;a<r.length;a++){var l=r[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,SearchAutocompleteResults_toPropertyKey(l.key),l)}}function SearchAutocompleteResults_toPropertyKey(t){var r=function SearchAutocompleteResults_toPrimitive(t,r){if("object"!=SearchAutocompleteResults_typeof(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var l=a.call(t,r||"default");if("object"!=SearchAutocompleteResults_typeof(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==SearchAutocompleteResults_typeof(r)?r:r+""}var Z=function(){return function SearchAutocompleteResults_createClass(t,r,a){return r&&SearchAutocompleteResults_defineProperties(t.prototype,r),a&&SearchAutocompleteResults_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(function SearchAutocomplete(t){var r,a,l,c=this;!function SearchAutocompleteResults_classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,SearchAutocomplete),this.config=t,this.abortController=null,this.defaultHeadline=null!==(r=null!==(a=t.defaultHeadline)&&void 0!==a?a:null===(l=t.headlineEl)||void 0===l?void 0:l.textContent)&&void 0!==r?r:"",this.debouncedFetch=m(function(t){c.fetchAutocomplete(t)},750),this.bindEvents()},[{key:"clearResults",value:function clearResults(){var t=this.config,r=t.resultsEl,a=t.categoryEl,l=t.
2showAllEl,c=t.noResultsEl,u=t.errorEl;r.innerHTML="",r.hidden=!0,a.hidden=!0,l.hidden=!0,c.hidden=!0,u.hidden=!0}},{key:"setLoading",value:function setLoading(t){this.config.loadingEl.hidden=!t}},{key:"updateHeadline",value:function updateHeadline(t,r){var a=this.config,l=a.headlineEl,c=a.resultsHeadlineTemplate;l&&c&&(l.textContent=c.replace("%count%",String(t)).replace("%query%",r))}},{key:"resetHeadline",value:function resetHeadline(){var t=this.config.headlineEl;t&&(t.textContent=this.defaultHeadline)}},{key:"renderResults",value:function renderResults(t,r){var a=this.config,l=a.noResultsEl,c=a.categoryEl,u=a.categoryLabelEl,p=a.resultsEl,m=a.showAllEl,h=a.showAllButtonEl,v=a.resultsCategoryTemplate,y=a.showAllResultsTemplate,g=a.searchFormAction;if(0!==t.resultsTotal){if(u&&v&&(u.textContent=v.replace("%count%",String(t.resultsTotal))),c.hidden=!1,p.innerHTML=t.results,p.hidden=!1,t.resultsTotal>t.resultsCount){var b=h.querySelector("span");b&&y&&(b.textContent=y.replace("%count%",String(t.resultsTotal))),h.href="".concat(null!=g?g:"","?q=").concat(encodeURIComponent(r)),m.hidden=!1}}else l.hidden=!1}},{key:"fetchAutocomplete",value:(t=function SearchAutocompleteResults_asyncToGenerator(t){return function(){var r=this,a=arguments;return new Promise(function(l,c){var u=t.apply(r,a);function _next(t){SearchAutocompleteResults_asyncGeneratorStep(u,l,c,_next,_throw,"next",t)}function _throw(t){SearchAutocompleteResults_asyncGeneratorStep(u,l,c,_next,_throw,"throw",t)}_next(void 0)})}}(SearchAutocompleteResults_regenerator().m(function _callee(t){var r,a,l,c,u,p,m;return SearchAutocompleteResults_regenerator().w(function(h){for(;;)switch(h.p=h.n){case 0:return this.abortController&&this.abortController.abort(),this.abortController=new AbortController,r=this.config,a=r.autocompleteUrl,l=r.errorEl,c=r.onUpdate,this.clearResults(),this.setLoading(!0),null==c||c(),h.p=1,h.n=2,fetch("".concat(a,"?q=").concat(encodeURIComponent(t)),{signal:this.abortController.signal});case 2:if((u=h.v).ok){h.n=3;break}return console.error("[SearchAutocomplete] Request failed:",u.status),this.setLoading(!1),l.hidden=!1,null==c||c(),h.a(2);case 3:return h.n=4,u.json();case 4:if(!(p=h.v).redirectUrl){h.n=5;break}return globalThis.location.href=p.redirectUrl,h.a(2);case 5:this.setLoading(!1),this.updateHeadline(p.resultsTotal,t),this.renderResults(p,t),null==c||c(),h.n=8;break;case 6:if(h.p=6,!((m=h.v)instanceof DOMException&&"AbortError"===m.name)){h.n=7;break}return h.a(2);case 7:console.error("[SearchAutocomplete] Error:",m),this.setLoading(!1),l.hidden=!1,null==c||c();case 8:return h.a(2)}},_callee,this,[[1,6]])})),function fetchAutocomplete(r){return t.apply(this,arguments)})},{key:"focus",value:function focus(){this.config.input.focus()}},{key:"reset",value:function reset(){var t,r;this.abortController&&(this.abortController.abort(),this.abortController=null),this.setLoading(!1),this.clearResults(),this.resetHeadline(),null===(t=(r=this.config).onClear)||void 0===t||t.call(r)}},{key:"bindEvents",value:function bindEvents(){var t=this,r=this.config,a=r.input,l=r.clearButton;l.hidden=0===a.value.length,a.addEventListener("input",function(){var r=a.value.trim();l.hidden=0===a.value.length,r.length<3?t.reset():t.debouncedFetch(r)}),l.addEventListener("click",function(){a.value="",l.hidden=!0,t.reset(),a.focus()})}}]);var t}();document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll("[data-autocomplete-url]").forEach(function(t){var r,a,l,c,u,p,m,h,v,y=t.dataset.autocompleteUrl;if(y){var g=t.querySelector(".search-form__input"),b=t.querySelector(".search-form__clear"),S=null!==(r=null!==(a=t.querySelector(".search-autocomplete-results"))&&void 0!==a?a:null===(l=t.parentElement)||void 0===l?void 0:l.querySelector(".search-autocomplete-results"))&&void 0!==r?r:null;if(g&&b&&S){var w=S.querySelector(".search-autocomplete-results__loading"),_=S.querySelector(".search-autocomplete-results__list"),T=S.querySelector(".search-autocomplete-results__no-results"),E=S.querySelector(".search-autocomplete-results__error"),C=S.querySelector(".search-autocomplete-results__category"),A=S.querySelector(".search-autocomplete-results__category-label"),P=S.querySelector(".search-autocomplete-results__show-all"),x=S.querySelector(".search-autocomplete-results__show-all-button");if(w&&_&&T&&E&&C&&A&&P&&x){var k=t.classList.contains("mega-menu--search"),L=function recalculate(){return globalThis.dispatchEvent(new CustomEvent("mega-menu:recalculate-height"))},O=t.dataset.autocompleteHides,M=O?document.querySelector(O):null,I=k?t.querySelector(".mega-menu-header__text"):t.querySelector(".search-hero__headline"),j=null!==(c=null===(u=t.querySelector(".search-form"))||void 0===u?void 0:u.getAttribute("action"))&&void 0!==c?c:"",D=new Z({autocompleteUrl:y,input:g,clearButton:b,loadingEl:w,resultsEl:_,noResultsEl:T,errorEl:E,categoryEl:C,categoryLabelEl:A,showAllEl:P,showAllButtonEl:x,headlineEl:null!=I?I:void 0,defaultHeadline:null!==(p=t.dataset.defaultHeadline)&&void 0!==p?p:void 0,resultsHeadlineTemplate:null!==(m=t.dataset.resultsHeadline)&&void 0!==m?m:"",resultsCategoryTemplate:null!==(h=t.dataset.resultsCategory)&&void 0!==h?h:"",showAllResultsTemplate:null!==(v=t.dataset.showAllResults)&&void 0!==v?v:"",searchFormAction:j,onUpdate:function onUpdate(){S.hidden=!1,M&&(M.hidden=!0),k&&L()},onClear:function onClear(){S.hidden=!0,M&&(M.hidden=!0),k&&L()}});if(k){var q=function focusOnTransitionEnd(){return D.focus()};globalThis.addEventListener("mega-menu:search-opened",function(){t.removeEventListener("transitionend",q),t.addEventListener("transitionend",q,{once:!0})})}}}}})},{once:!0});var ee=".tabs",te=".js-tabs-scroll-prev",re=".js-tabs-scroll-next",ne=".js-tabs-viewport",oe=".js-tabs-tablist",ie=".js-tabs-sentinel",ae=".tabs__tab",se=".tabs__panel",le=".tabs__header",ce=".tabs__content-start",ue="is-active",de="is-scrollable",pe="is-stuck";function getPanelIdFromTab(t){return t.getAttribute("aria-controls")||""}function getTabIdFromTab(t){var r;return null!==(r=t.dataset.tabId)&&void 0!==r?r:""}function updateHashForTab(t){var r=getTabIdFromTab(t);if(r){var a=new URL(globalThis.location.href);a.hash=r,globalThis.history.replaceState(null,"",a.toString())}}function getHashTarget(){var t=globalThis.location.hash;if(!t||t.length<=1)return null;var r=decodeURIComponent(t.slice(1));return r?document.getElementById(r):null}function setActiveByTab(t,r,a){if(!r.disabled){var l=Array.from(t.querySelectorAll(ae)),c=Array.from(t.querySelectorAll(se)),u=getPanelIdFromTab(r);l.forEach(function(t){var a=t===r;t.classList.toggle(ue,a),t.setAttribute("aria-selected",a?"true":"false"),t.tabIndex=a?0:-1}
2),c.forEach(function(t){var r=t.id===u;t.classList.toggle(ue,r),r?t.removeAttribute("hidden"):t.setAttribute("hidden","")});var p=t.querySelector(ne);if(p){var m=p.getBoundingClientRect(),h=r.getBoundingClientRect(),v=h.left<m.left,y=h.right>m.right;if(v||y){var g=v?h.left-m.left:h.right-m.right;p.scrollBy({left:g,behavior:"smooth"})}}if(null!=a&&a.scrollToContentStart){var b=t.querySelector(ce);b&&b.scrollIntoView({behavior:"smooth",block:"start"})}}}function updateScrollOffsetVar(t){var r=t.querySelector(le);if(r){var a=getComputedStyle(t).getPropertyValue("--tabs-sticky-top").trim(),l=Number.parseFloat(a||"0")||0,c=r.offsetHeight||0,u=Math.max(0,l+c+8);t.style.setProperty("--tabs-scroll-offset","".concat(u,"px"))}}function syncOverflowControls(t){var r=t.querySelector(ne),a=t.querySelector(te),l=t.querySelector(re);if(r&&a&&l){var c=r.scrollWidth>r.clientWidth+2;if(t.classList.toggle(de,c),!c)return a.disabled=!0,void(l.disabled=!0);var u=r.scrollWidth-r.clientWidth,p=r.scrollLeft;a.disabled=p<=1,l.disabled=p>=u-1}}function initOverflowControls(t){var r=t.querySelector(ne),a=t.querySelector(te),l=t.querySelector(re);if(r&&a&&l){var c=function scrollAmount(){return function clamp(t,r,a){return Math.max(r,Math.min(a,t))}(Math.round(.75*r.clientWidth),200,520)};a.addEventListener("click",function(){return r.scrollBy({left:-c(),behavior:"smooth"})}),l.addEventListener("click",function(){return r.scrollBy({left:c(),behavior:"smooth"})}),r.addEventListener("scroll",function(){return syncOverflowControls(t)},{passive:!0});var u=function onResize(){updateScrollOffsetVar(t),syncOverflowControls(t)};globalThis.addEventListener("resize",u,{passive:!0}),u()}}function activateTabForHash(t){var r=globalThis.location.hash;if(r&&!(r.length<=1)){var a=decodeURIComponent(r.slice(1));if(a){var l=function findTabByTabId(t,r){var a;return null!==(a=Array.from(t.querySelectorAll(ae)).find(function(t){return getTabIdFromTab(t)===r}))&&void 0!==a?a:null}(t,a);if(l)l.disabled||"true"===l.getAttribute("aria-selected")||(setActiveByTab(t,l,{scrollToContentStart:!1}),syncOverflowControls(t));else{var c=getHashTarget();if(c){var u=function findOwningPanel(t,r){var a=r.closest(se);return a&&t.contains(a)?a:null}(t,c);if(u){var p=function findTabByPanel(t,r){var a;return r.id&&null!==(a=Array.from(t.querySelectorAll(ae)).find(function(t){return getPanelIdFromTab(t)===r.id}))&&void 0!==a?a:null}(t,u);if(p&&!p.disabled)"true"===p.getAttribute("aria-selected")&&!u.hasAttribute("hidden")||(setActiveByTab(t,p,{scrollToContentStart:!1}),syncOverflowControls(t)),requestAnimationFrame(function(){requestAnimationFrame(function(){!function scrollToHashTarget(){var t=getHashTarget();t&&t.scrollIntoView({behavior:"auto",block:"start"})}()})})}}}}}}function initTabs(t){var r=t;updateScrollOffsetVar(r),initOverflowControls(r),function initKeyboardAndClicks(t){var r=t.querySelector(oe);r&&(r.addEventListener("click",function(r){var a=r.target,l=null==a?void 0:a.closest(ae);l&&(l.disabled||(setActiveByTab(t,l,{scrollToContentStart:!0}),updateHashForTab(l),syncOverflowControls(t)))}),r.addEventListener("keydown",function(r){var a=Array.from(t.querySelectorAll(ae)).filter(function(t){return!t.disabled});if(0!==a.length){var l=a.findIndex(function(t){return"true"===t.getAttribute("aria-selected")}),c=function focusTab(t){return t.focus()};switch(r.key){case"ArrowRight":r.preventDefault();var u=a[(l+1)%a.length];u&&(setActiveByTab(t,u,{scrollToContentStart:!1}),updateHashForTab(u),c(u));break;case"ArrowLeft":r.preventDefault();var p=a[(l-1+a.length)%a.length];p&&(setActiveByTab(t,p,{scrollToContentStart:!1}),updateHashForTab(p),c(p));break;case"Home":r.preventDefault();var m=a[0];m&&(setActiveByTab(t,m,{scrollToContentStart:!1}),updateHashForTab(m),c(m));break;case"End":r.preventDefault();var h=a[a.length-1];h&&(setActiveByTab(t,h,{scrollToContentStart:!1}),updateHashForTab(h),c(h));break;case"Enter":case" ":r.preventDefault();var v=a[l];v&&(setActiveByTab(t,v,{scrollToContentStart:!0}),updateHashForTab(v))}}}))}(r),function initStickyStateClass(t){var r=t.querySelector(ie);if(r){var a=getComputedStyle(t).getPropertyValue("--tabs-sticky-top").trim(),l=Number.parseFloat(a||"0")||0;new IntersectionObserver(function(r){var a=r[0];t.classList.toggle(pe,!a.isIntersecting)},{threshold:[0],rootMargin:"-".concat(l,"px 0px 0px 0px")}).observe(r)}}(r),activateTabForHash(r),requestAnimationFrame(function(){return syncOverflowControls(r)})}function Accordion_typeof(t){return Accordion_typeof="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},Accordion_typeof(t)}function Accordion_defineProperties(t,r){for(var a=0;a<r.length;a++){var l=r[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,Accordion_toPropertyKey(l.ke
2y),l)}}function Accordion_toPropertyKey(t){var r=function Accordion_toPrimitive(t,r){if("object"!=Accordion_typeof(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var l=a.call(t,r||"default");if("object"!=Accordion_typeof(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==Accordion_typeof(r)?r:r+""}document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(ee).forEach(function(t){return initTabs(t)})},{once:!0}),globalThis.addEventListener("hashchange",function(){document.querySelectorAll(ee).forEach(function(t){return activateTabForHash(t)})}),document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".accordion").forEach(function(t){new fe(t).init()})},{once:!0});var fe=function(){return function Accordion_createClass(t,r,a){return r&&Accordion_defineProperties(t.prototype,r),a&&Accordion_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(function Accordion(t){!function Accordion_classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,Accordion),this.toggleElementSelector=".accordion-panel__header-container",this.toggleContentSelector=".accordion-panel__content-container",this.collapsedClass="collapsed",this.element=t,this.panels=this.element.querySelectorAll(".accordion-panel"),this.toggles=this.element.querySelectorAll(this.toggleElementSelector)},[{key:"init",value:function init(){var t=this;globalThis.addEventListener("resize",function(){var r=t.element.querySelector(t.toggleContentSelector+"."+t.collapsedClass);r&&(r.style.maxHeight=r.scrollHeight+"px")}),this.panels.forEach(function(r){var a=r.querySelector(t.toggleElementSelector),l=r.querySelector(t.toggleContentSelector),c=globalThis.location.hash,p=a.id;p&&c&&p===c.substring(1)&&(t.collapse(a,l),t.toggles.forEach(function(r){r.classList.contains("active")&&r.classList.remove("active",t.collapsedClass)}),globalThis.setTimeout(function(){return u(a)},500)),a.addEventListener("click",function(r){r.preventDefault(),r.stopImmediatePropagation(),r.target.classList.contains("pimcore_editable")||(t.toggles.forEach(function(r){r!==a&&t.close(r,r.nextElementSibling)}),a.classList.contains("active")||l.style.maxHeight&&"0px"!==l.style.maxHeight?t.close(a,l):t.collapse(a,l))}),document.querySelectorAll('a[href^="#'+CSS.escape(p)+'"]').forEach(function(r){r.addEventListener("click",function(){t.collapse(a,l)})})})}},{key:"close",value:function close(t,r){t.classList.remove(this.collapsedClass,"active"),r.classList.remove(this.collapsedClass),r.style.maxHeight="0"}},{key:"collapse",value:function collapse(t,r){t.classList.add(this.collapsedClass),r.classList.add(this.collapsedClass),this.recalculateHeight(r);var a=function handler(){u(t),r.removeEventListener("transitionend",a)};r.addEventListener("transitionend",a)}},{key:"recalculateHeight",value:function recalculateHeight(t){var r=t.querySelector(".accordion-panel__content"),a=.5*r.scrollHeight;a=Math.max(200,Math.min(600,a)),t.style.transitionDuration="".concat(a,"ms"),t.style.maxHeight=r.scrollHeight+"px"}}])}();function AbstractAjaxForm_typeof(t){return AbstractAjaxForm_typeof="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},AbstractAjaxForm_typeof(t)}function AbstractAjaxForm_ownKeys(t,r){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);r&&(l=l.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),a.push.apply(a,l)}return a}function AbstractAjaxForm_objectSpread(t){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?AbstractAjaxForm_ownKeys(Object(a),!0).forEach(function(r){AbstractAjaxForm_defineProperty(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):AbstractAjaxForm_ownKeys(Object(a)).forEac
2h(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function AbstractAjaxForm_defineProperty(t,r,a){return(r=AbstractAjaxForm_toPropertyKey(r))in t?Object.defineProperty(t,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[r]=a,t}function AbstractAjaxForm_slicedToArray(t,r){return function AbstractAjaxForm_arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function AbstractAjaxForm_iterableToArrayLimit(t,r){var a=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=a){var l,c,u,p,m=[],h=!0,v=!1;try{if(u=(a=a.call(t)).next,0===r){if(Object(a)!==a)return;h=!1}else for(;!(h=(l=u.call(a)).done)&&(m.push(l.value),m.length!==r);h=!0);}catch(t){v=!0,c=t}finally{try{if(!h&&null!=a.return&&(p=a.return(),Object(p)!==p))return}finally{if(v)throw c}}return m}}(t,r)||AbstractAjaxForm_unsupportedIterableToArray(t,r)||function AbstractAjaxForm_nonIterableRest(){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 AbstractAjaxForm_createForOfIteratorHelper(t,r){var a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=AbstractAjaxForm_unsupportedIterableToArray(t))||r&&t&&"number"==typeof t.length){a&&(t=a);var l=0,c=function F(){};return{s:c,n:function n(){return l>=t.length?{done:!0}:{done:!1,value:t[l++]}},e:function e(t){throw t},f:c}}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 u,p=!0,m=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return p=t.done,t},e:function e(t){m=!0,u=t},f:function f(){try{p||null==a.return||a.return()}finally{if(m)throw u}}}}function AbstractAjaxForm_unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return AbstractAjaxForm_arrayLikeToArray(t,r);var a={}.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?AbstractAjaxForm_arrayLikeToArray(t,r):void 0}}function AbstractAjaxForm_arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var a=0,l=Array(r);a<r;a++)l[a]=t[a];return l}function AbstractAjaxForm_regenerator(){var t,r,a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",c=a.toStringTag||"@@toStringTag";function i(a,l,c,p){var m=l&&l.prototype instanceof Generator?l:Generator,h=Object.create(m.prototype);return AbstractAjaxForm_regeneratorDefine2(h,"_invoke",function(a,l,c){var p,m,h,v=0,y=c||[],g=!1,b={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function d(r,a){return p=r,m=0,h=t,b.n=a,u}};function d(a,l){for(m=a,h=l,r=0;!g&&v&&!c&&r<y.length;r++){var c,p=y[r],S=b.p,w=p[2];a>3?(c=w===l)&&(h=p[(m=p[4])?5:(m=3,3)],p[4]=p[5]=t):p[0]<=S&&((c=a<2&&S<p[1])?(m=0,b.v=l,b.n=p[1]):S<w&&(c=a<3||p[0]>l||l>w)&&(p[4]=a,p[5]=l,b.n=w,m=0))}if(c||a>1)return u;throw g=!0,l}return function(c,y,S){if(v>1)throw TypeError("Generator is already running");for(g&&1===y&&d(y,S),m=y,h=S;(r=m<2?t:h)||!g;){p||(m?m<3?(m>1&&(b.n=-1),d(m,h)):b.n=h:b.v=h);try{if(v=2,p){if(m||(c="next"),r=p[c]){if(!(r=r.call(p,h)))throw TypeError("iterator result is not an object");if(!r.done)return r;h=r.value,m<2&&(m=0)}else 1===m&&(r=p.return)&&r.call(p),m<2&&(h=TypeError("The iterator does not provide a '"+c+"' method"),m=1);p=t}else if((r=(g=b.n<0)?h:a.call(l,b))!==u)break}catch(r){p=t,m=1,h=r}finally{v=1}}return{value:r,done:g}}}(a,c,p),!0),h}var u={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}r=Object.getPrototypeOf;var p=[][l]?r(r([][l]())):(AbstractAjaxForm_regeneratorDefine2(r={},l,function(){return this}),r),m=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,AbstractAjaxForm_regeneratorDefine2(t,c,"GeneratorFunction")),t.prototype=Object.create(m),t}return GeneratorFunction.prototype=GeneratorFunctionPrototype,AbstractAjaxForm_regeneratorDefine2(m,"constructor",GeneratorFunctionPrototype),AbstractAjaxForm_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",AbstractAjaxForm_regeneratorDefine2(GeneratorFunctionPrototype,c,"GeneratorFunction"),AbstractAjaxForm_regeneratorDefine2(m),AbstractAjaxForm_regeneratorDefine2(m,c,"Generator"),AbstractAjaxForm_regeneratorDefine2(m,l,function(){return this}),AbstractAjaxForm_regeneratorDefine2(m,"toString",function(){return"[object Generator]"}),(AbstractAjaxForm_regenerator=function _regenerator(){return{w:i,m:f}})()}function AbstractAjaxForm_regeneratorDefine2(t,r,a,l){var c=Object.defineProperty;try{c({},"",{})}catch(t){c=0}AbstractAjaxForm_regeneratorDefine2=function _regeneratorDefine(t,r,a,l){function o(r,a){AbstractAjaxForm_regeneratorDefine2(t,r,function(t){return this._invoke(r,a,t)})}r?c?c(t,r,{value:a,enumerable:!l,configurable:!l,writable:!l}):t[r]=a:(o("next",0),o("throw",1),o("return",2))},AbstractAjaxForm_regeneratorDefine2(t,r,a,l)}function AbstractAjaxForm_asyncGeneratorStep(t,r,a,l,c,u,p){try{var m=t[u](p),h=m.value}catch(t){return void a(t)}m.done?r(h):Promise.resolve(h).then(l,c)}function AbstractAjaxForm_asyncToGenerator(t){return function(){var r=this,a=arguments;return new Promise(function(l,c){var u=t.apply(r,a);function _next(t){AbstractAjaxForm_asyncGeneratorStep(u,l,c,_next,_throw,"next",t)}function _throw(t){AbstractAjaxForm_asyncGeneratorStep(u,l,c,_next,_throw,"throw",t)}_next(void 0)})}}function AbstractAjaxForm_defineProperties(t,r){for(var a=0;a<r.length;a++){var l=r[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,AbstractAjaxForm_toPropertyKey(l.ke
2y),l)}}function AbstractAjaxForm_toPropertyKey(t){var r=function AbstractAjaxForm_toPrimitive(t,r){if("object"!=AbstractAjaxForm_typeof(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var l=a.call(t,r||"default");if("object"!=AbstractAjaxForm_typeof(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==AbstractAjaxForm_typeof(r)?r:r+""}var me=/^[^\s@]+@[^\s@.]+(?:\.[^\s@.]+)+$/,he="[data-form-group].error, .form-element.error",ve="data-ajax-form-fail-detail",ye=function(){return function AbstractAjaxForm_createClass(t,r,a){return r&&AbstractAjaxForm_defineProperties(t.prototype,r),a&&AbstractAjaxForm_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(function AbstractAjaxForm(t,r){var a,l,c,u,p=this;!function AbstractAjaxForm_classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,AbstractAjaxForm),this.submitting=!1,this.root=t,this.prefix=r.prefix,this.requiredFields=r.requiredFields,this.messages=AbstractAjaxForm.readMessages(t,r.defaultMessages),this.form=t.querySelector("[data-ajax-form-form]"),this.banner=t.querySelector("[data-ajax-form-banner]"),this.successBlock=t.querySelector("[data-ajax-form-success]"),this.failBlock=t.querySelector("[data-ajax-form-fail]"),this.failText=null!==(a=null===(l=this.failBlock)||void 0===l?void 0:l.querySelector(".ajax-form__response-text"))&&void 0!==a?a:null,this.failTextDefault=null!==(c=null===(u=this.failText)||void 0===u?void 0:u.textContent)&&void 0!==c?c:"",this.form.addEventListener("submit",function(t){return p.onSubmit(t)}),this.form.addEventListener("input",function(t){return p.clearFieldError(t.target)}),this.form.addEventListener("change",function(t){return p.clearFieldError(t.target)})},[{key:"showSuccess",value:function showSuccess(){this.form.reset(),this.setSubmitting(!1),this.toggleBanner(!1),this.failBlock&&(this.failBlock.hidden=!0),this.successBlock&&(this.successBlock.hidden=!1,this.reveal(this.successBlock))}},{key:"reveal",value:function reveal(t){t.scrollIntoView({behavior:"smooth",block:"center"})}},{key:"setSubmitting",value:function setSubmitting(t){this.submitting=t;var r=this.form.querySelector('button[type="submit"]');r&&(r.disabled=t)}},{key:"toggleBanner",value:function toggleBanner(t){this.banner&&(this.banner.hidden=!t)}},{key:"onSubmit",value:(a=AbstractAjaxForm_asyncToGenerator(AbstractAjaxForm_regenerator().m(function _callee(t){var r,a,l,c,u,p,m;return AbstractAjaxForm_regenerator().w(function(h){for(;;)switch(h.p=h.n){case 0:if(t.preventDefault(),!this.submitting){h.n=1;break}return h.a(2);case 1:if(this.clearErrors(),this.hideResponses(),r=this.validate(),!(Object.keys(r).length>0)){h.n=2;break}return this.showErrors(r),this.toggleBanner(!0),h.a(2);case 2:return this.toggleBanner(!1),this.setSubmitting(!0),h.n=3,this.ensureCsrfToken();case 3:if(h.v){h.n=4;break}return this.showFail(void 0,"invalid_csrf"),this.setSubmitting(!1),h.a(2);case 4:return h.p=4,h.n=5,fetch(this.form.action,{method:"POST",body:new FormData(this.form),headers:{Accept:"application/json"}});case 5:if(!(a=h.v).ok){h.n=6;break}return this.showSuccess(),h.a(2);case 6:if(422!==a.status){h.n=8;break}return h.n=7,a.json();case 7:return c=h.v,this.showErrors(null!==(l=c.errors)&&void 0!==l?l:{}),this.toggleBanner(!0),this.setSubmitting(!1),h.a(2);case 8:return h.n=9,this.readError(a);case 9:u=h.v,p=u.code,m=u.detail,this.showFail(m,p),this.setSubmitting(!1),h.n=11;break;case 10:h.p=10,h.v,this.showFail(),this.setSubmitting(!1);case 11:return h.a(2)}},_callee,this,[[4,10]])})),function onSubmit(t){return a.apply(this,arguments)})},{key:"ensureCsrfToken",value:(r=AbstractAjaxForm_asyncToGenerator(AbstractAjaxForm_regenerator().m(function _callee2(){var t,r,a,l,c;return AbstractAjaxForm_regenerator().w(function(u){for(;;)switch(u.p=u.n){case 0:if(t=this.form.getAttribute("data-csrf-url"),r=this.form.querySelector("[data-csrf-token]"),t&&r){u.n=1;break}return u.a(2,!0);case 1:if(""===r.value){u.n=2;break}return u.a(2,!0);case 2:return u.p=2,u.n=3,fetch(t,{headers:{Accept:"application/json"}});case 3:if((a=u.v).ok){u.n=4;break}return u.a(2,!1);case 4:return u.n=5,a.json();case 5:if(l=u.v,c=l.token){u.n=6;break}return u.a(2,!1);case 6:return r.value=c,u.a(2,!0);case 7:return u.p=7,u.v,u.a(2,!1)}},_callee2,this,[[2,7]])})),function ensureCsrfToken(){return r.apply(this,arguments)})},{key:"readError",value:(t=AbstractAjaxForm_asyncToGenerator(AbstractAjaxForm_regenerator().m(function _callee3(t){var r,a;return AbstractAjaxForm_regenerator().w(function(l){for(;;)switch(l.p=l.n){case 0:return l.p=0,l.n=1,t.json();case 1:return r=l.v,console.error("".concat(this.prefix," submission failed:"),r),r.detail&&(a=r.exception?"".concat(r.exception,": ").concat(r.detail):r.detail),l.a(2,{code:r.error,detail
2:a});case 2:return l.p=2,l.v,l.a(2,{})}},_callee3,this,[[0,2]])})),function readError(r){return t.apply(this,arguments)})},{key:"validate",value:function validate(){var t,r={},a=AbstractAjaxForm_createForOfIteratorHelper(this.requiredFields);try{for(a.s();!(t=a.n()).done;){var l=t.value,c=this.getControl(l);c&&""===c.value.trim()&&(r[l]=this.messages[l])}}catch(t){a.e(t)}finally{a.f()}var u=this.getControl("email");u&&""!==u.value.trim()&&!me.test(u.value.trim())&&(r.email=this.messages.emailInvalid);var p,m=AbstractAjaxForm_createForOfIteratorHelper(this.form.querySelectorAll('input[type="checkbox"][required]'));try{for(m.s();!(p=m.n()).done;){var h=p.value;h.checked||(r[h.name]=this.messages[h.name])}}catch(t){m.e(t)}finally{m.f()}return r}},{key:"getControl",value:function getControl(t){return this.form.querySelector('[name="'.concat(t,'"]'))}},{key:"showErrors",value:function showErrors(t){for(var r=0,a=Object.entries(t);r<a.length;r++){var l,c=AbstractAjaxForm_slicedToArray(a[r],2),u=c[0],p=c[1],m=this.getControl(u),h=null!==(l=null==m?void 0:m.closest("[data-form-group]"))&&void 0!==l?l:null==m?void 0:m.closest(".form-element");if(h){h.classList.remove("success"),h.classList.add("error");var v=h.querySelector(".form-element__hint");v||((v=document.createElement("div")).className="form-element__hint",v.appendChild(document.createElement("span")),h.appendChild(v));var y=v.querySelector("span");y&&(y.textContent=p)}}}},{key:"clearFieldError",value:function clearFieldError(t){if(t instanceof HTMLElement){var r=t.closest(he);if(r){r.classList.remove("error");var a=r.querySelector(".form-element__hint span");a&&(a.textContent="")}}}},{key:"clearErrors",value:function clearErrors(){var t,r=AbstractAjaxForm_createForOfIteratorHelper(this.form.querySelectorAll(he));try{for(r.s();!(t=r.n()).done;){var a=t.value;a.classList.remove("error");var l=a.querySelector(".form-element__hint span");l&&(l.textContent="")}}catch(t){r.e(t)}finally{r.f()}}},{key:"hideResponses",value:function hideResponses(){this.successBlock&&(this.successBlock.hidden=!0),this.failBlock&&(this.failBlock.hidden=!0)}},{key:"showFail",value:function showFail(t,r){this.successBlock&&(this.successBlock.hidden=!0),this.failBlock&&(this.failText&&(this.failText.textContent="invalid_csrf"===r&&this.messages.csrfExpired?this.messages.csrfExpired:this.failTextDefault),this.failBlock.hidden=!1,this.renderFailDetail(t),this.reveal(this.failBlock))}},{key:"renderFailDetail",value:function renderFailDetail(t){var r,a;if(this.failBlock&&(null===(r=this.failBlock.querySelector("[".concat(ve,"]")))||void 0===r||r.remove(),void 0!==t&&""!==t)){var l=document.createElement("p");l.setAttribute(ve,""),l.className="ajax-form__response-detail",l.textContent=t,(null!==(a=this.failBlock.querySelector(".ajax-form__response-box"))&&void 0!==a?a:this.failBlock).appendChild(l)}}}],[{key:"readMessages",value:function readMessages(t,r){var a=t.dataset.messages;if(!a)return r;try{return AbstractAjaxForm_objectSpread(AbstractAjaxForm_objectSpread({},r),JSON.parse(a))}catch(t){return r}}}]);var t,r,a}();function CalibrationForm_typeof(t){return CalibrationForm_typeof="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},CalibrationForm_typeof(t)}function CalibrationForm_createForOfIteratorHelper(t,r){var a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function CalibrationForm_unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return CalibrationForm_arrayLikeToArray(t,r);var a={}.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?CalibrationForm_arrayLikeToArray(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){a&&(t=a);var l=0,c=function F(){};return{s:c,n:function n(){return l>=t.length?{done:!0}:{done:!1,value:t[l++]}},e:function e(t){throw t},f:c}}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 u,p=!0,m=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return p=t.done,t},e:function e(t){m=!0,u=t},f:function f(){try{p||null==a.return||a.return()}finally{if(m)throw u}}}}function CalibrationForm_arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var a=0,l=Array(r);a<r;a++)l[a]=t[a];return l}function CalibrationForm_defineProperties(t,r){for(var a=0;a<r.length;a++){var l=r[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,CalibrationForm_toPropertyKey(l.ke
2y),l)}}function CalibrationForm_toPropertyKey(t){var r=function CalibrationForm_toPrimitive(t,r){if("object"!=CalibrationForm_typeof(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var l=a.call(t,r||"default");if("object"!=CalibrationForm_typeof(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==CalibrationForm_typeof(r)?r:r+""}function _callSuper(t,r,a){return r=_getPrototypeOf(r),function _possibleConstructorReturn(t,r){if(r&&("object"==CalibrationForm_typeof(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,_isNativeReflectConstruct()?Reflect.construct(r,a||[],_getPrototypeOf(t).constructor):r.apply(t,a))}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,r,a){var l=function _superPropBase(t,r){for(;!{}.hasOwnProperty.call(t,r)&&null!==(t=_getPrototypeOf(t)););return t}(t,r);if(l){var c=Object.getOwnPropertyDescriptor(l,r);return c.get?c.get.call(arguments.length<3?t:a):c.value}},_get.apply(null,arguments)}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}function _setPrototypeOf(t,r){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},_setPrototypeOf(t,r)}var ge=["isSensecaProduct","firstName","lastName","email","company","postcode","city","country"],be={isSensecaProduct:"Please state whether your instrument is a Senseca product.","parameters[]":"Please select at least one parameter.",firstName:"First name is required.",lastName:"Last name is required.",email:"Email address is required.",emailInvalid:"Please enter a valid email address.",company:"Company is required.",postcode:"Postcode is required.",city:"City is required.",country:"Country is required.",privacyConsent:"You must accept the privacy policy.",csrfExpired:"Your form session has expired. Please reload the page and submit the form again."},Se=function(t){function CalibrationForm(t){return function CalibrationForm_classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,CalibrationForm),_callSuper(this,CalibrationForm,[t,{prefix:"calibration-form",requiredFields:ge,defaultMessages:be}])}return function _inherits(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&_setPrototypeOf(t,r)}(CalibrationForm,t),function CalibrationForm_createClass(t,r,a){return r&&CalibrationForm_defineProperties(t.prototype,r),a&&CalibrationForm_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(CalibrationForm,[{key:"validate",value:function validate(){var t=function _superPropGet(t,r,a,l){var c=_get(_getPrototypeOf(1&l?t.prototype:t),r,a);return 2&l&&"function"==typeof c?function(t){return c.apply(a,t)}:c}(CalibrationForm,"validate",this,3)([]);return this.form.querySelector('input[name="parameters[]"]')&&!this.form.querySelector('input[name="parameters[]"]:checked')&&(t["parameters[]"]=this.messages["parameters[]"]),t}}])}(ye);document.addEventListener("DOMContentLoaded",function(){return function initCalibrationForms(){var t,r=[],a=CalibrationForm_createForOfIteratorHelper((arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).querySelectorAll("[data-calibration-form]"));try{for(a.s();!(t=a.n()).done;){var l=t.value;r.push(new Se(l))}}catch(t){a.e(t)}finally{a.f()}return r}()});function ContactForm_typeof(t){return ContactForm_typeof="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},ContactForm_typeof(t)}function ContactForm_createForOfIteratorHelper(t,r){var a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function ContactForm_unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return ContactForm_arrayLikeToArray(t,r);var a={}.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?ContactForm_arrayLikeToArray(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){a&&(t=a);var l=0,c=function F(){};return{s:c,n:function n(){return l>=t.length?{done:!0}:{done:!1,value:t[l++]}},e:function e(t){throw t},f:c}}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 u,p=!0,m=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return p=t.done,t},e:function e(t){m=!0,u=t},f:function f(){try{p||null==a.return||a.return()}finally{if(m)throw u}}}}function ContactForm_arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var a=0,l=Array(r);a<r;a++)l[a]=t[a];return l}function ContactForm_defineProperties(t,r){for(var a=0;a<r.length;a++){var l=r[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,ContactForm_toPropertyKey(l.ke
2y),l)}}function ContactForm_toPropertyKey(t){var r=function ContactForm_toPrimitive(t,r){if("object"!=ContactForm_typeof(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var l=a.call(t,r||"default");if("object"!=ContactForm_typeof(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==ContactForm_typeof(r)?r:r+""}function ContactForm_callSuper(t,r,a){return r=ContactForm_getPrototypeOf(r),function ContactForm_possibleConstructorReturn(t,r){if(r&&("object"==ContactForm_typeof(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return function ContactForm_assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,ContactForm_isNativeReflectConstruct()?Reflect.construct(r,a||[],ContactForm_getPrototypeOf(t).constructor):r.apply(t,a))}function ContactForm_isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ContactForm_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}function ContactForm_getPrototypeOf(t){return ContactForm_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ContactForm_getPrototypeOf(t)}function ContactForm_setPrototypeOf(t,r){return ContactForm_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},ContactForm_setPrototypeOf(t,r)}var we=["firstName","lastName","email","company","postcode","city","country","topic","message"],_e={firstName:"First name is required.",lastName:"Last name is required.",email:"Email address is required.",emailInvalid:"Please enter a valid email address.",company:"Company is required.",postcode:"Postcode is required.",city:"City is required.",country:"Country is required.",topic:"Topic is required.",message:"Message is required.",privacyConsent:"You must accept the privacy policy.",csrfExpired:"Your form session has expired. Please reload the page and submit the form again."},Te=function(t){function ContactForm(t){return function ContactForm_classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}
2(this,ContactForm),ContactForm_callSuper(this,ContactForm,[t,{prefix:"contact-form",requiredFields:we,defaultMessages:_e}])}return function ContactForm_inherits(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&ContactForm_setPrototypeOf(t,r)}(ContactForm,t),function ContactForm_createClass(t,r,a){return r&&ContactForm_defineProperties(t.prototype,r),a&&ContactForm_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(ContactForm)}(ye);document.addEventListener("DOMContentLoaded",function(){return function initContactForms(){var t,r=[],a=ContactForm_createForOfIteratorHelper((arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).querySelectorAll("[data-contact-form]"));try{for(a.s();!(t=a.n()).done;){var l=t.value;r.push(new Te(l))}}catch(t){a.e(t)}finally{a.f()}return r}()});a(756);function HeroHome_typeof(t){return HeroHome_typeof="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},HeroHome_typeof(t)}function HeroHome_defineProperties(t,r){for(var a=0;a<r.length;a++){var l=r[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,HeroHome_toPropertyKey(l.key),l)}}function HeroHome_toPropertyKey(t){var r=function HeroHome_toPrimitive(t,r){if("object"!=HeroHome_typeof(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var l=a.call(t,r||"default");if("object"!=HeroHome_typeof(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==HeroHome_typeof(r)?r:r+""}document.addEventListener("DOMContentLoaded",function(){var t=document.querySelector(".hero-home");if(t&&!p){var r=new Ee(t);onBreakpoint([l.LG],function(){r.init()}),globalThis.addEventListener("resize",function(){onBreakpoint([l.SM,l.MD],function(){r.destroy()}),onBreakpoint([l.LG],function(){r.init()})})}});var Ee=function(){function HeroHome(t){var r=this;!function HeroHome_classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,HeroHome),this.animationDurationInMs=1e3,this.isExpanded=!1,this.isSnappingInProgress=!1,this.hasSnapped=!1,this.lastScrollY=globalThis.scrollY,this.scrollOffset=0,this.snapTarget=0,this.lastHandledHash="",this.flyoutIsOpen=!1,this.hero=t,this.followingContent=t.nextElementSibling,this.onScrollHandler=this.onScroll.bind(this),this.onFlyoutOpenHandler=function(){r.flyoutIsOpen=!0},this.onFlyoutCloseHandler=function(){r.flyoutIsOpen=!1}}return function HeroHome_createClass(t,r,a){return r&&HeroHome_defineProperties(t.prototype,r),a&&HeroHome_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(HeroHome,[{key:"init",value:function init(){this.followingContent&&(this.followingContent.style.transition="padding ".concat(this.animationDurationInMs,"ms ease, opacity ").concat(this.animationDurationInMs,"ms ease"));var t=document.querySelector("header");t&&(this.scrollOffset=t.offsetHeight-24),globalThis.addEventListener("scroll",this.onScrollHandler),globalThis.addEventListener("mega-menu:flyout-opened",this.onFlyoutOpenHandler),globalThis.addEventListener("mega-menu:flyout-closed",this.onFlyoutCloseHandler)}},{key:"destroy",value:function destroy(){globalThis.removeEventListener("scroll",this.onScrollHandler),globalThis.removeEventListener("mega-menu:flyout-opened",this.onFlyoutOpenHandler),globalThis.removeEventListener("mega-menu:flyout-closed",this.onFlyoutCloseHandler),this.flyoutIsOpen=!1,this.collapseHero(),this.showFollowingContent(),this.unlockScroll(),this.lastHandledHash="",this.followingContent&&this.followingContent.style.removeProperty("transition")}},{key:"onScroll",value:function onScroll(){var t=this;if(!this.flyoutIsOpen&&!this.handleHashNavigation()){var r=globalThis.scrollY,a=r>this.lastScrollY,l=r<this.lastScrollY;if(this.lastScrollY=r,this.isSnappingInProgress)globalThis.scrollY!==this.snapTarget&&globalThis.scrollTo({top:this.snapTarget,behavior:"instant"});else{if(!this.isExpanded&&!this.hasSnapped&&a&&r>this.scrollOffset&&this.isHeroInView()){this.hasSnapped=!0,this.expandHero(),this.snapTarget=this.hero.offsetTop,this.lockScroll(),globalThis.scrollTo({top:this.snapTarget,behavior:"instant"});var c=function onTransitionEnd(r){"max-width"===r.propertyName&&(t.hero.removeEventListener("transitionend",c),globalThis.scrollTo({top:t.hero.offsetTop,behavior:"instant"}),t.unlockScroll())};return this.hero.addEventListener("transitionend",c),void setTimeout(function(){t.isSnappingInProgress&&t.unlockScroll()},this.animationDurationInMs+10)}
2this.hasSnapped&&this.isExpanded&&a?this.showFollowingContent():this.isExpanded&&l&&r<=this.scrollOffset&&this.collapseHero()}}}},{key:"handleHashNavigation",value:function handleHashNavigation(){if(globalThis.location.hash){if(globalThis.location.hash!==this.lastHandledHash&&(this.lastHandledHash=globalThis.location.hash,this.isExpanded)){this.collapseHero();var t=document.querySelector(globalThis.location.hash);t&&requestAnimationFrame(function(){t.scrollIntoView({behavior:"instant"})})}return this.isSnappingInProgress&&this.unlockScroll(),!0}return this.lastHandledHash="",!1}},{key:"lockScroll",value:function lockScroll(){this.isSnappingInProgress||(this.isSnappingInProgress=!0,globalThis.addEventListener("wheel",HeroHome.blockScrollEvent,{passive:!1}),globalThis.addEventListener("touchmove",HeroHome.blockScrollEvent,{passive:!1}),globalThis.addEventListener("keydown",HeroHome.blockKeyScroll,{passive:!1}))}},{key:"unlockScroll",value:function unlockScroll(){this.isSnappingInProgress=!1,globalThis.removeEventListener("wheel",HeroHome.blockScrollEvent),globalThis.removeEventListener("touchmove",HeroHome.blockScrollEvent),globalThis.removeEventListener("keydown",HeroHome.blockKeyScroll)}},{key:"expandHero",value:function expandHero(){this.hero.classList.add("hero-expanded"),this.isExpanded=!0,this.hideFollowingContent()}},{key:"collapseHero",value:function collapseHero(){this.hero.classList.remove("hero-expanded"),this.isExpanded=!1,this.hasSnapped=!1,this.showFollowingContent()}},{key:"hideFollowingContent",value:function hideFollowingContent(){this.followingContent&&(this.followingContent.style.paddingTop="200px",this.followingContent.style.opacity="0")}},{key:"showFollowingContent",value:function showFollowingContent(){this.followingContent&&(this.followingContent.style.paddingTop="0",this.followingContent.style.opacity="1")}},{key:"isHeroInView",value:function isHeroInView(){var t=this.hero.getBoundingClientRect();return t.bottom>0&&t.top<globalThis.innerHeight}}],[{key:"blockScrollEvent",value:function blockScrollEvent(t){t.preventDefault()}},{key:"blockKeyScroll",value:function blockKeyScroll(t){["ArrowDown","ArrowUp","PageDown","PageUp","Space"," "].includes(t.key)&&t.preventDefault()}}])}();function Pagination({swiper:t,extendParams:r,on:a,emit:l}){const c="swiper-pagination";let u;r({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:t=>t,formatFractionTotal:t=>t,bulletClass:`${c}-bullet`,bulletActiveClass:`${c}-bullet-active`,modifierClass:`${c}-`,currentClass:`${c}-current`,totalClass:`${c}-total`,hiddenClass:`${c}-hidden`,progressbarFillClass:`${c}-progressbar-fill`,progressbarOppositeClass:`${c}-progressbar-opposite`,clickableClass:`${c}-clickable`,lockClass:`${c}-lock`,horizontalClass:`${c}-horizontal`,verticalClass:`${c}-vertical`,paginationDisabledClass:`${c}-disabled`}}),t.pagination={el:null,bullets:[]};let p=0;function isPaginationDisabled(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function setSideBullets(r,a){const{bulletActiveClass:l}=t.params.pagination;r&&(r=r[("prev"===a?"previous":"next")+"ElementSibling"])&&(r.classList.add(`${l}-${a}`),(r=r[("prev"===a?"previous":"next")+"ElementSibling"])&&r.classList.add(`${l}-${a}-${a}`))}function onBulletClick(r){const a=r.target.closest(classesToSelector(t.params.pagination.bulletClass));if(!a)return;r.preventDefault();const l=elementIndex(a)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===l)return;const r=function getMoveDirection(t,r,a){return(r%=a)===1+(t%=a)?"next":r===t-1?"previous":void 0}(t.realIndex,l,t.slides.length);"next"===r?t.slideNext():"previous"===r?t.slidePrev():t.slideToLoop(l)}else t.slideTo(l)}function update(){const r=t.rtl,a=t.params.pagination;if(isPaginationDisabled())return;let c,m,h=t.pagination.el;h=makeElementsArray(h);const v=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,y=t.params.loop?Math.
2ceil(v/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(m=t.previousRealIndex||0,c=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(c=t.snapIndex,m=t.previousSnapIndex):(m=t.previousIndex||0,c=t.activeIndex||0),"bullets"===a.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const l=t.pagination.bullets;let v,y,g;if(a.dynamicBullets&&(u=elementOuterSize(l[0],t.isHorizontal()?"width":"height",!0),h.forEach(r=>{r.style[t.isHorizontal()?"width":"height"]=u*(a.dynamicMainBullets+4)+"px"}),a.dynamicMainBullets>1&&void 0!==m&&(p+=c-(m||0),p>a.dynamicMainBullets-1?p=a.dynamicMainBullets-1:p<0&&(p=0)),v=Math.max(c-p,0),y=v+(Math.min(l.length,a.dynamicMainBullets)-1),g=(y+v)/2),l.forEach(t=>{const r=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(t=>`${a.bulletActiveClass}${t}`)].map(t=>"string"==typeof t&&t.includes(" ")?t.split(" "):t).flat();t.classList.remove(...r)}),h.length>1)l.forEach(r=>{const l=elementIndex(r);l===c?r.classList.add(...a.bulletActiveClass.split(" ")):t.isElement&&r.setAttribute("part","bullet"),a.dynamicBullets&&(l>=v&&l<=y&&r.classList.add(...`${a.bulletActiveClass}-main`.split(" ")),l===v&&setSideBullets(r,"prev"),l===y&&setSideBullets(r,"next"))});else{const r=l[c];if(r&&r.classList.add(...a.bulletActiveClass.split(" ")),t.isElement&&l.forEach((t,r)=>{t.setAttribute("part",r===c?"bullet-active":"bullet")}),a.dynamicBullets){const t=l[v],r=l[y];for(let t=v;t<=y;t+=1)l[t]&&l[t].classList.add(...`${a.bulletActiveClass}-main`.split(" "));setSideBullets(t,"prev"),setSideBullets(r,"next")}}if(a.dynamicBullets){const c=Math.min(l.length,a.dynamicMainBullets+4),p=(u*c-u)/2-g*u,m=r?"right":"left";l.forEach(r=>{r.style[t.isHorizontal()?m:"top"]=`${p}px`})}}h.forEach((r,u)=>{if("fraction"===a.type&&(r.querySelectorAll(classesToSelector(a.currentClass)).forEach(t=>{t.textContent=a.formatFractionCurrent(c+1)}),r.querySelectorAll(classesToSelector(a.totalClass)).forEach(t=>{t.textContent=a.formatFractionTotal(y)})),"progressbar"===a.type){let l;l=a.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const u=(c+1)/y;let p=1,m=1;"horizontal"===l?p=u:m=u,r.querySelectorAll(classesToSelector(a.progressbarFillClass)).forEach(r=>{r.style.transform=`translate3d(0,0,0) scaleX(${p}) scaleY(${m})`,r.style.transitionDuration=`${t.params.speed}ms`})}"custom"===a.type&&a.renderCustom?(setInnerHTML(r,a.renderCustom(t,c+1,y)),0===u&&l("paginationRender",r)):(0===u&&l("paginationRender",r),l("paginationUpdate",r)),t.params.watchOverflow&&t.enabled&&r.classList[t.isLocked?"add":"remove"](a.lockClass)})}function render(){const r=t.params.pagination;if(isPaginationDisabled())return;const a=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let c=t.pagination.el;c=makeElementsArray(c);let u="";if("bullets"===r.type){let l=t.params.loop?Math.ceil(a/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&l>a&&(l=a);for(let a=0;a<l;a+=1)r.renderBullet?u+=r.renderBullet.call(t,a,r.bulletClass):u+=`<${r.bulletElement} ${t.isElement?'part="bullet"':""} class="${r.bulletClass}"></${r.bulletElement}>`}"fraction"===r.type&&(u=r.renderFraction?r.renderFraction.call(t,r.currentClass,r.totalClass):`<span class="${r.currentClass}"></span> / <span class="${r.totalClass}"></span>`),"progressbar"===r.type&&(u=r.renderProgressbar?r.renderProgressbar.call(t,r.progressbarFillClass):`<span class="${r.progressbarFillClass}"></span>`),t.pagination.bullets=[],c.forEach(a=>{"custom"!==r.type&&setInnerHTML(a,u||""),"bullets"===r.type&&t.pagination.bullets.push(...a.querySelectorAll(classesToSelector(r.bulletClass)))}),"custom"!==r.type&&l("paginationRender",c[0])}function init(){t.params.pagination=createElementIfNotDefined(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const r=t.params.pagination;if(!r.el)return;let a;"string"==typeof r.el&&t.isElement&&(a=t.el.querySelector(r.el)),a||"string"!=typeof r.el||(a=[...document.querySelectorAll(r.el)]),a||(a=r.el),a&&0!==a.length&&(t.params.uniqueNavElements&&"string"==typeof r.el&&Array.isArray(a)&&a.length>1&&(a=[...t.el.querySelectorAll(r.el)],a.length>1&&(a=a.find(r=>elementParents(r,".swiper")[0]===t.el))),Array.isArray(a)&&1===a.length&&(a=a[0]),Object.assign(t.pagination,{el:a}),a=makeElementsArray(a),a.forEach(a=>{"bullets"===r.type&&r.clickable&&a.classList.add(...(r.clickableClass||"").split(" ")),a.classList.add(r.modifierClass+r.type),a.classList.add(t.isHorizontal()?r.horizontalClass:r.verticalClass),"bullets"===r.type&&r.dynamicBullets&&(a.classList.add(`${r.modifierClass}${r.type}-dynamic`),p=0,r.dynamicMainBullets<1&&(r.dynamicMainBullets=1)),"progressbar"===r.type&&r.progressbarOpposite&&a.classList.add(r.progressbarOppositeClass),r.clickable&&a.addEventListener("click",onBulletClick),t.enabled||a.classList.add(r.lockClass)}))}function destroy(){const r=t.params.pagination;if(isPaginationDisabled())return;let a=t.pagination.el;a&&(a=makeElementsArray(a),a.forEach(a=>{a.classList.remove(r.hiddenClass),a.classList.remove(r.modifierClass+r.type),a.classList.remove(t.isHorizontal()?r.horizontalClass:r.verticalClass),r.clickable&&(a.classList.remove(...(r.clickableClass||"").split(" ")),a.removeEventListener("click",onBulletClick))}
2)),t.pagination.bullets&&t.pagination.bullets.forEach(t=>t.classList.remove(...r.bulletActiveClass.split(" ")))}a("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const r=t.params.pagination;let{el:a}=t.pagination;a=makeElementsArray(a),a.forEach(a=>{a.classList.remove(r.horizontalClass,r.verticalClass),a.classList.add(t.isHorizontal()?r.horizontalClass:r.verticalClass)})}),a("init",()=>{!1===t.params.pagination.enabled?disable():(init(),render(),update())}),a("activeIndexChange",()=>{void 0===t.snapIndex&&update()}),a("snapIndexChange",()=>{update()}),a("snapGridLengthChange",()=>{render(),update()}),a("destroy",()=>{destroy()}),a("enable disable",()=>{let{el:r}=t.pagination;r&&(r=makeElementsArray(r),r.forEach(r=>r.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),a("lock unlock",()=>{update()}),a("click",(r,a)=>{const c=a.target,u=makeElementsArray(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&u&&u.length>0&&!c.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&c===t.navigation.nextEl||t.navigation.prevEl&&c===t.navigation.prevEl))return;const r=u[0].classList.contains(t.params.pagination.hiddenClass);l(!0===r?"paginationShow":"paginationHide"),u.forEach(r=>r.classList.toggle(t.params.pagination.hiddenClass))}});const disable=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:r}=t.pagination;r&&(r=makeElementsArray(r),r.forEach(r=>r.classList.add(t.params.pagination.paginationDisabledClass))),destroy()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:r}=t.pagination;r&&(r=makeElementsArray(r),r.forEach(r=>r.classList.remove(t.params.pagination.paginationDisabledClass))),init(),render(),update()},disable:disable,render:render,update:update,init:init,destroy:destroy})}function Thumb({swiper:t,extendParams:r,on:a}){r({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let l=!1,c=!1;function isVirtualEnabled(){const r=t.thumbs.swiper;return!(!r||r.destroyed)&&(r.params.virtual&&r.params.virtual.enabled)}function onThumbClick(){const r=t.thumbs.swiper;if(!r||r.destroyed)return;const a=r.clickedIndex,l=r.clickedSlide;if(l&&l.classList.contains(t.params.thumbs.slideThumbActiveClass))return;if(null==a)return;let c;c=r.params.loop?parseInt(r.clickedSlide.getAttribute("data-swiper-slide-index"),10):a,t.params.loop?t.slideToLoop(c):t.slideTo(c)}function init(){const{thumbs:r}=t.params;if(l)return!1;l=!0;const a=t.constructor;if(r.swiper instanceof a){if(r.swiper.destroyed)return l=!1,!1;t.thumbs.swiper=r.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper.update()}else if(utils_isObject(r.swiper)){const l=Object.assign({},r.swiper);Object.assign(l,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new a(l),c=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",onThumbClick),isVirtualEnabled()&&t.thumbs.swiper.on("virtualUpdate",()=>{update(!1,{autoScroll:!1})}),!0}function update(r,a){const l=t.thumbs.swiper;if(!l||l.destroyed)return;let c=1;const u=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(c=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(c=1),c=Math.floor(c),l.slides.forEach(t=>t.classList.remove(u)),l.params.loop||isVirtualEnabled())for(let r=0;r<c;r+=1)elementChildren(l.slidesEl,`[data-swiper-slide-index="${t.realIndex+r}"]`).forEach(t=>{t.classList.add(u)});else for(let r=0;r<c;r+=1)l.slides[t.realIndex+r]&&l.slides[t.realIndex+r].classList.add(u);(a?.autoScroll??1)&&function autoScroll(r){const a=t.thumbs.swiper;if(!a||a.destroyed)return;const l="auto"===a.params.slidesPerView?a.slidesPerViewDynamic():a.params.slidesPerView,c=t.params.thumbs.autoScrollOffset,u=c&&!a.params.loop;if(t.realIndex!==a.realIndex||u){const p=a.activeIndex;let m,h;if(a.params.loop){const r=a.slides.find(r=>r.getAttribute("data-swiper-slide-index")===`${t.realIndex}`);m=a.slides.indexOf(r),h=t.activeIndex>t.previousIndex?"next":"prev"}else m=t.realIndex,h=m>t.previousIndex?"next":"prev";u&&(m+="next"===h?c:-1*c),a.visibleSlidesIndexes&&a.visibleSlidesIndexes.indexOf(m)<0&&(a.params.centeredSlides?m=m>p?m-Math.floor(l/2)+1:m+Math.floor(l/2)-1:m>p&&a.params.slidesPerGroup,a.slideTo(m,r))}}(r?0:void 0)}t.thumbs={swiper:null},a("beforeInit",()=>{const{thumbs:r}=t.params;if(r&&r.swiper)if("string"==typeof r.swiper||r.swiper instanceof HTMLElement){const a=getDocument(),getThumbsElementAndInit=()=>{const l="string"==typeof r.swiper?a.querySelector(r.swiper):r.swiper;if(l&&l.swiper)r.swiper=l.swiper,init(),update(!0);else if(l){const a=`${t.params.eventsPrefix}init`,onThumbsSwiper=c=>{r.swiper=c.detail[0],l.removeEventListener(a,onThumbsSwiper),init(),update(!0),r.swiper.update(
2),t.update()};l.addEventListener(a,onThumbsSwiper)}return l},watchForThumbsToAppear=()=>{if(t.destroyed)return;getThumbsElementAndInit()||requestAnimationFrame(watchForThumbsToAppear)};requestAnimationFrame(watchForThumbsToAppear)}else init(),update(!0)}),a("slideChange update resize observerUpdate",()=>{update()}),a("setTransition",(r,a)=>{const l=t.thumbs.swiper;l&&!l.destroyed&&l.setTransition(a)}),a("beforeDestroy",()=>{const r=t.thumbs.swiper;r&&!r.destroyed&&c&&r.destroy()}),Object.assign(t.thumbs,{init:init,update:update})}function JobApplicationForm_typeof(t){return JobApplicationForm_typeof="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},JobApplicationForm_typeof(t)}function JobApplicationForm_createForOfIteratorHelper(t,r){var a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function JobApplicationForm_unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return JobApplicationForm_arrayLikeToArray(t,r);var a={}.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?JobApplicationForm_arrayLikeToArray(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){a&&(t=a);var l=0,c=function F(){};return{s:c,n:function n(){return l>=t.length?{done:!0}:{done:!1,value:t[l++]}},e:function e(t){throw t},f:c}}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 u,p=!0,m=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return p=t.done,t},e:function e(t){m=!0,u=t},f:function f(){try{p||null==a.return||a.return()}finally{if(m)throw u}}}}function JobApplicationForm_arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var a=0,l=Array(r);a<r;a++)l[a]=t[a];return l}function JobApplicationForm_defineProperties(t,r){for(var a=0;a<r.length;a++){var l=r[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,JobApplicationForm_toPropertyKey(l.key),l)}}function JobApplicationForm_toPropertyKey(t){var r=function JobApplicationForm_toPrimitive(t,r){if("object"!=JobApplicationForm_typeof(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var l=a.call(t,r||"default");if("object"!=JobApplicationForm_typeof(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==JobApplicationForm_typeof(r)?r:r+""}function JobApplicationForm_callSuper(t,r,a){return r=JobApplicationForm_getPrototypeOf(r),function JobApplicationForm_possibleConstructorReturn(t,r){if(r&&("object"==JobApplicationForm_typeof(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return function JobApplicationForm_assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,JobApplicationForm_isNativeReflectConstruct()?Reflect.construct(r,a||[],JobApplicationForm_getPrototypeOf(t).constructor):r.apply(t,a))}function JobApplicationForm_isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JobApplicationForm_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}function JobApplicationForm_getPrototypeOf(t){return JobApplicationForm_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},JobApplicationForm_getPrototypeOf(t)}function JobApplicationForm_setPrototypeOf(t,r){return JobApplicationForm_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},JobApplicationForm_setPrototypeOf(t,r)}document.querySelectorAll(".image-gallery").forEach(function(t){var r=t.querySelector(".swiper-container"),a=t.querySelector(".slideshow-pagination__button--next"),l=t.querySelector(".slideshow-pagination__button--prev");new Swiper(r,{modules:[Navigation,Pagination,Thumb,Controller,A11y,Ke
2yboard],keyboard:{enabled:!p,onlyInViewport:!0},loop:!1,spaceBetween:0,watchOverflow:!0,navigation:{nextEl:a,prevEl:l,disabledClass:"disabled"}}).init()});var Ce=["firstName","lastName","email","phone","earliestStartDate","desiredSalary","files[]"],Ae={firstName:"First name is required.",lastName:"Last name is required.",email:"Email address is required.",emailInvalid:"Please enter a valid email address.",phone:"Telephone is required.",earliestStartDate:"Earliest possible start date is required.",desiredSalary:"Desired annual salary is required.","files[]":"Please upload your CV.",privacyConsent:"You must accept the privacy policy.",talentPoolConsent:"You must agree to the talent pool storage.",csrfExpired:"Your form session has expired. Please reload the page and submit the form again."},Pe=function(t){function JobApplicationForm(t){return function JobApplicationForm_classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,JobApplicationForm),JobApplicationForm_callSuper(this,JobApplicationForm,[t,{prefix:"job-application-form",requiredFields:Ce,defaultMessages:Ae}])}return function JobApplicationForm_inherits(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&JobApplicationForm_setPrototypeOf(t,r)}(JobApplicationForm,t),function JobApplicationForm_createClass(t,r,a){return r&&JobApplicationForm_defineProperties(t.prototype,r),a&&JobApplicationForm_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(JobApplicationForm)}(ye);document.addEventListener("DOMContentLoaded",function(){return function initJobApplicationForms(){var t,r=[],a=JobApplicationForm_createForOfIteratorHelper((arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).querySelectorAll("[data-job-application-form]"));try{for(a.s();!(t=a.n()).done;){var l=t.value;r.push(new Pe(l))}}catch(t){a.e(t)}finally{a.f()}return r}()});function FilterableList_typeof(t){return FilterableList_typeof="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},FilterableList_typeof(t)}function FilterableList_defineProperties(t,r){for(var a=0;a<r.length;a++){var l=r[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,FilterableList_toPropertyKey(l.key),l)}}function FilterableList_toPropertyKey(t){var r=function FilterableList_toPrimitive(t,r){if("object"!=FilterableList_typeof(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var l=a.call(t,r||"default");if("object"!=FilterableList_typeof(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==FilterableList_typeof(r)?r:r+""}var xe="filter",ke=function(){return function FilterableList_createClass(t,r,a){return r&&FilterableList_defineProperties(t.prototype,r),a&&FilterableList_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(function FilterableList(t){var r,a,l;!function FilterableList_classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,FilterableList),this.elements=t.elements,this.hiddenClass=t.hiddenClass,this.hideOnDeselect=null!==(r=t.hideOnDeselect)&&void 0!==r&&r,this.select=null!==(a=t.select)&&void 0!==a?a:null,this.tabs=null!==(l=t.tabs)&&void 0!==l?l:[]},[{key:"init",value:function init(){this.elements.length&&(this.bindSelect(),this.bindTabs())}},{key:"bindSelect",value:function bindSelect(){var t,r=this;if(this.select){var a=(null!==(t=this.select.value)&&void 0!==t?t:"").trim();""!==a&&this.applyFilter(a),this.select.addEventListener("change",function(t){var a=t.target.value.trim();r.applyFilter(a)})}}},{key:"bindTabs",value:function bindTabs(){var t,r=this;if(!(this.tabs.length<2)){var a=this.tabs.find(function(t){var r;return""!==(null!==(r=t.dataset[xe])&&void 0!==r?r:"").trim()});if(a){var l=(null!==(t=a.dataset[xe])&&void 0!==t?t:"").trim();
2this.setActiveTab(a),this.applyFilter(l),this.tabs.forEach(function(t){t.addEventListener("click",function(){var a,l=(null!==(a=t.dataset[xe])&&void 0!==a?a:"").trim();""!==l&&(r.setActiveTab(t),r.applyFilter(l))})})}}}},{key:"setActiveTab",value:function setActiveTab(t){this.tabs.forEach(function(r){return r.classList.toggle("active",r===t)})}},{key:"applyFilter",value:function applyFilter(t){var r=this,a=t.trim();0!==a.length?this.elements.forEach(function(t){var l,c=(null!==(l=t.dataset[xe])&&void 0!==l?l:"").trim();t.classList.toggle(r.hiddenClass,c!==a)}):this.resetVisibility()}},{key:"resetVisibility",value:function resetVisibility(){var t=this;this.elements.forEach(function(r){r.classList.toggle(t.hiddenClass,t.hideOnDeselect)})}}])}();function DownloadList_typeof(t){return DownloadList_typeof="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},DownloadList_typeof(t)}function DownloadList_defineProperties(t,r){for(var a=0;a<r.length;a++){var l=r[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,DownloadList_toPropertyKey(l.key),l)}}function DownloadList_toPropertyKey(t){var r=function DownloadList_toPrimitive(t,r){if("object"!=DownloadList_typeof(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var l=a.call(t,r||"default");if("object"!=DownloadList_typeof(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==DownloadList_typeof(r)?r:r+""}document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".job-list.content-element").forEach(function(t){var r=t.querySelector(".job-list__filter-select select"),a=t.querySelectorAll("[data-filter]");new ke({elements:a,hiddenClass:"object-list-item--hidden",select:r}).init()})}),document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".location-grid.content-element").forEach(function(t){var r=t.querySelector(".location-grid__filter select"),a=t.querySelectorAll("[data-filter]");new ke({elements:a,hiddenClass:"location-grid-item--hidden",hideOnDeselect:!0,select:r}).init()})}),document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".download-list").forEach(function(t){new Fe(t).init()})});var Fe=function(){return function DownloadList_createClass(t,r,a){return r&&DownloadList_defineProperties(t.prototype,r),a&&DownloadList_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(function DownloadList(t){!function DownloadList_classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,DownloadList),this.root=t},[{key:"init",value:function init(){this.initSelectDownloads(),this.initTypeTabs()}},{key:"initSelectDownloads",value:function initSelectDownloads(){var t=this,r=this.root.querySelectorAll("select");r.length&&r.forEach(function(r){r.addEventListener("change",function(){var a=(r.value||"").trim();a&&(t.triggerDownload(a),r.value="")})})}},{key:"initTypeTabs",value:function initTypeTabs(){var t=Array.from(this.root.querySelectorAll(".download-list__tab[data-filter]")),r=this.root.querySelectorAll(".object-list-item[data-filter]");t.length<2||!r.length||new ke({elements:r,hiddenClass:"object-list-item--hidden",tabs:t}).init()}},{key:"triggerDownload",value:function triggerDownload(t){var r=document.createElement("a");r.href=t,r.setAttribute("download",""),r.style.display="none",document.body.appendChild(r);try{r.click()}finally{r.remove()}}}])}();function MainNavigation_callSuper(t,r,a){return r=MainNavigation_getPrototypeOf(r),function MainNavigation_possibleConstructorReturn(t,r){if(r&&("object"==MainNavigation_typeof(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return function MainNavigation_assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,MainNavigation_isNativeReflectConstruct()?Reflect.construct(r,a||[],MainNavigation_getPrototypeOf(t).constructor):r.apply(t,a))}function MainNavigation_isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(MainNavigation_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}function MainNavigation_superPropGet(t,r,a,l){var c=MainNavigation_get(MainNavigation_getPrototypeOf(1&l?t.prototype:t),r,a);return 2&l&&"function"==typeof c?function(t){return c.apply(a,t)}:c}function MainNavigation_get(){return MainNavigation_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,r,a){var l=function MainNavigation_superPropBase(t,r){for(;!{}.hasOwnProperty.call(t,r)&&null!==(t=MainNavigation_getPrototypeOf(t)););return t}(t,r);if(l){var c=Object.getOwnPropertyDescriptor(l,r);return c.get?c.get.call(arguments.length<3?t:a):c.value}},MainNavigation_get.apply(null,arguments)}function MainNavigation_getPrototypeOf(t){return MainNavigation_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},MainNavigation_getPrototypeOf(t)}function MainNavigation_setPrototypeOf(t,r){return MainNavigation_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},MainNavigation_setPrototypeOf(t,r)}function MainNavigation_typeof(t){return MainNavigation_typeof="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},MainNavigation_typeof(t)}function _toConsumableArray(t){return function _arrayWithoutHoles(t){if(Array.isArray(t))return MainNavigation_arrayLikeToArray(t)}(t)||function _iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function MainNavigation_unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return MainNavigation_arrayLikeToArray(t,r);var a={}.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?MainNavigation_arrayLikeToArray(t,r):void 0}}(t)||function _nonIterableSpread(){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 MainNavigation_arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var a=0,l=Array(r);a<r;a++)l[a]=t[a];return l}function MainNavigation_classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function MainNavigation_defineProperties(t,r){for(var a=0;a<r.length;a++){var l=r[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,MainNavigation_toPropertyKey(l.ke
2y),l)}}function MainNavigation_createClass(t,r,a){return r&&MainNavigation_defineProperties(t.prototype,r),a&&MainNavigation_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}function MainNavigation_toPropertyKey(t){var r=function MainNavigation_toPrimitive(t,r){if("object"!=MainNavigation_typeof(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var l=a.call(t,r||"default");if("object"!=MainNavigation_typeof(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==MainNavigation_typeof(r)?r:r+""}var Le;document.addEventListener("DOMContentLoaded",function(){var t=document.querySelector("header");t&&new Me(t).init()},{once:!0}),function(t){t.MobileNav="MobileNav",t.SubNav="SubNav",t.ProductCategories="ProductCategories",t.ProductSubCategories="ProductSubCategories",t.LanguageSwitch="LanguageSwitch",t.Search="Search"}(Le||(Le={}));var Oe=new Set([Le.SubNav,Le.Search,Le.LanguageSwitch,Le.MobileNav]),Me=function(t){function AccessibilityAdapter(){var t;return MainNavigation_classCallCheck(this,AccessibilityAdapter),(t=MainNavigation_callSuper(this,AccessibilityAdapter,arguments)).lastFocusedTrigger=null,t.lastFocusedBusinessUnit=null,t.lastFocusedCategory=null,t}return function MainNavigation_inherits(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&MainNavigation_setPrototypeOf(t,r)}(AccessibilityAdapter,t),MainNavigation_createClass(AccessibilityAdapter,[{key:"init",value:function init(){MainNavigation_superPropGet(AccessibilityAdapter,"init",this,3)([]),this.setupKeyboardNavigation(),this.updateInertStates()}},{key:"setupKeyboardNavigation",value:function setupKeyboardNavigation(){var t=this;this.navigationContainer.querySelectorAll(".main-nav-link").forEach(function(r){r.addEventListener("keydown",function(a){"Space"===a.code&&(r.parentNode.querySelector(".mega-menu")&&(a.preventDefault(),t.lastFocusedTrigger=r,r.click()))})}),this.navigationContainer.querySelectorAll("a[data-category-index]").forEach(function(r){r.addEventListener("keydown",function(a){"Space"===a.code&&(a.preventDefault(),t.lastFocusedBusinessUnit=r,r.click())})}),this.navigationContainer.querySelectorAll("a[data-group-index]").forEach(function(r){r.addEventListener("keydown",function(a){"Space"===a.code&&(a.preventDefault(),t.lastFocusedCategory=r,r.click())})})}},{key:"showNavigation",value:function showNavigation(t,r,a){if(MainNavigation_superPropGet(AccessibilityAdapter,"showNavigation",this,3)([t,r,a]),this.updateInertStates(),t===Le.Search)globalThis.dispatchEvent(new CustomEvent("mega-menu:search-opened"));else if(t===Le.ProductCategories&&this.lastFocusedBusinessUnit){var l;null===(l=this.navigationContainer.querySelector(".mega-menu__categories-panel.active ul a"))||void 0===l||l.focus()}else if(t===Le.ProductSubCategories&&this.lastFocusedCategory){var c;null===(c=this.navigationContainer.querySelector(".mega-menu__subcategories-panel.active ul a"))||void 0===c||c.focus()}}},{key:"closeLevelByLevel",value:function closeLevelByLevel(){if(isMinBreakpoint(l.LG))this.reset();else{var t=this.hasActiveNavigation(Le.ProductSubCategories),r=this.hasActiveNavigation(Le.ProductCategories),a=this.hasActiveNavigation(Le.SubNav);MainNavigation_superPropGet(AccessibilityAdapter,"closeLevelByLevel",this,3)([]),this.updateInertStates(),t&&this.lastFocusedCategory?(this.lastFocusedCategory.focus(),this.lastFocusedCategory=null):r&&this.lastFocusedBusinessUnit?(this.lastFocusedBusinessUnit.focus(),this.lastFocusedBusinessUnit=null):a&&this.lastFocusedTrigger&&(this.lastFocusedTrigger.focus(),this.lastFocusedTrigger=null)}}},{key:"reset",value:function reset(){MainNavigation_superPropGet(AccessibilityAdapter,"reset",this,3)([]),this.updateInertStates(),this.lastFocusedTrigger?this.lastFocusedTrigger.focus():document.activeElement.blur(),this.lastFocusedTrigger=null,this.lastFocusedBusinessUnit=null,this.lastFocusedCategory=null}},{key:"updateInertStates",value:function updateInertStates(){this.navigationContainer.querySelectorAll(".mega-menu").forEach(function(t){t.toggleAttribute("inert",!t.classList.contains("active"))}),this.navigationContainer.querySelectorAll(".mega-menu__categories").forEach(function(t){t.toggleAttribute("inert",!t.classList.contains("active"))}),this.navigationContainer.querySelectorAll(".mega-menu__categories-panel").forEach(function(t){t.toggleAttribute("inert",!t.classList.contains("active"))}),this.navigationContainer.querySelectorAll(".mega-menu__subcategories").forEach(function(t){t.toggleAttribute("inert",!t.classList.contains("active"))}),this.navigationContainer.querySelectorAll(".mega-menu__subcategories-panel").forEach(function(t){t.toggleAttribute("inert",!t.classList.contains("active"))}),this.languageNavigation&&this.languageNavigation.toggleAttribute("inert",!this.languageNavigation.classList.contains("active")),this.searchNavigation&&this.searchNavigation.toggleAttribute("inert",!this.searchNavigation.classList.contains("active"))}}])}(function(){return MainNavigation_createClass(function MainNavigation(t){var r=this;MainNavigation_classCallCheck(this,MainNavigation),this.activeNavigations=[],this.initialHeight=0,this.languageNavigation=null,this.searchNavigation=null,this.debouncedSetupBackdropManagement=m(function(){r.setupBackdropManagement()}
2,100),this.setHeaderBackgroundHeight=m(function(){var t=r.navigationContainer.querySelector(".mega-menu.active"),a=r.mainNav.getBoundingClientRect();if(t){var l=t.getBoundingClientRect().top+t.offsetHeight;r.navigationContainer.style.height=l+"px"}else r.navigationContainer.style.height=a.height+"px"},100),this.header=t,this.navigationContainer=t.querySelector(".main-nav-container"),this.mainNav=t.querySelector(".main-nav"),this.mobileNavigationToggle=t.querySelector(".mobile-navigation-toggle"),this.overlay=t.querySelector(".page-overlay"),this.setupBackdropManagement(),globalThis.addEventListener("resize",function(){r.debouncedSetupBackdropManagement()})},[{key:"init",value:function init(){var t=this;this.setupMainNavigation(),this.setupProductSidebar(),this.setupProductSubNavigation(),this.setupLanguageSelector(),this.setupSearchToggle(),this.setupMobileNavigationToggle(),this.setupCloseEvents(),globalThis.addEventListener("mega-menu:recalculate-height",function(){return t.setHeaderBackgroundHeight()})}},{key:"setupBackdropManagement",value:function setupBackdropManagement(){this.initialHeight=this.mainNav.getBoundingClientRect().height,this.header.style.height=this.initialHeight+"px",this.setHeaderBackgroundHeight()}},{key:"setupCloseEvents",value:function setupCloseEvents(){var t=this;document.addEventListener("keydown",function(r){"Escape"===r.key&&t.closeLevelByLevel()}),this.overlay.addEventListener("click",function(){return t.reset()}),this.mainNav.querySelectorAll(".js-close-button, .js-back-button").forEach(function(r){r.addEventListener("click",function(r){r.preventDefault(),r.stopImmediatePropagation(),t.closeLevelByLevel()})})}},{key:"setupMainNavigation",value:function setupMainNavigation(){var t=this;this.navigationContainer.querySelectorAll(".main-nav-link").forEach(function(r){r.addEventListener("click",function(a){var l=r.parentNode.querySelector(".mega-menu");if(l){if(a.preventDefault(),l.classList.contains("active"))return void t.reset();var c=[t.navigationContainer,t.overlay,t.mobileNavigationToggle,r,l];t.showNavigation(Le.SubNav,c,function beforeShow(){t.closeAllMenus(),t.restoreProductMenuActiveState(l)})}})})}},{key:"restoreProductMenuActiveState",value:function restoreProductMenuActiveState(t){var r,a=t.querySelector("a.mega-menu__business-unit.active[data-category-index]");if(a){var l=a.dataset.categoryIndex,c=t.querySelector(".mega-menu__categories"),u=t.querySelector('.mega-menu__categories-panel[data-category-index="'.concat(l,'"]'));if(c&&u){c.classList.add("active"),u.classList.add("active"),this.setNavigationActiveState(Le.ProductCategories,!0);var p=u.querySelector("li.mega-menu__nav-item.active a[data-group-index]");if(p){var m=p.dataset.groupIndex,h=t.querySelector(".mega-menu__subcategories"),v=t.querySelector('.mega-menu__subcategories-panel[data-category-index="'.concat(l,'"][data-group-index="').concat(m,'"]'));h&&v&&(p.classList.add("active"),null===(r=p.closest(".mega-menu__nav-item"))||void 0===r||r.classList.add("open"),h.classList.add("active"),v.classList.add("active"),this.setNavigationActiveState(Le.ProductSubCategories,!0))}}}}},{key:"setupProductSidebar",value:function setupProductSidebar(){var t=this,r=this.navigationContainer.querySelectorAll("a.mega-menu__business-unit");r.forEach(function(a){var l=a.closest(".mega-menu__content"),c=a.getAttribute("data-category-index"),u=l.querySelectorAll(".mega-menu__categories-panel");a.addEventListener("click",function(p){if(c&&!a.classList.contains("active")){var m=l.querySelector(".mega-menu__categories"),h=l.querySelector('.mega-menu__categories-panel[data-category-index="'+c+'"]');if(m&&h){p.preventDefault();t.showNavigation(Le.ProductCategories,[m,a,h],function callback(){[].concat(_toConsumableArray(u),_toConsumableArray(r)).forEach(function(t){return t.classList.remove("active")}),l.querySelectorAll(".mega-menu__subcategories, .mega-menu__subcategories-panel").forEach(function(t){return t.classList.remove("active")}),l.querySelectorAll(".mega-menu__nav-item.open").forEach(function(t){return t.classList.remove("open")}),t.setNavigationActiveState(Le.ProductSubCategories,!1)})}}})})}}
2,{key:"setupProductSubNavigation",value:function setupProductSubNavigation(){var t=this,r=this.navigationContainer.querySelectorAll("a[data-group-index]");r.forEach(function(a){var l,c=a.closest(".mega-menu__categories-panel"),u=null==c?void 0:c.dataset.categoryIndex,p=a.getAttribute("data-group-index"),m=a.closest(".mega-menu__content"),h=null==m?void 0:m.querySelector(".mega-menu__subcategories"),v=null!==(l=null==h?void 0:h.querySelectorAll(".mega-menu__subcategories-panel"))&&void 0!==l?l:[];a.addEventListener("click",function(l){if(!a.classList.contains("active")){var m=null==h?void 0:h.querySelector('.mega-menu__subcategories-panel[data-category-index="'.concat(u,'"][data-group-index="').concat(p,'"]'));if(m){var y;l.preventDefault();var g=[a,m,h];t.showNavigation(Le.ProductSubCategories,g,function beforeShow(){[].concat(_toConsumableArray(v),_toConsumableArray(r)).forEach(function(t){t.classList.remove("active")}),null==c||c.querySelectorAll(".mega-menu__nav-item").forEach(function(t){return t.classList.remove("open")})}),null===(y=a.closest(".mega-menu__nav-item"))||void 0===y||y.classList.add("open")}}})})}},{key:"setupLanguageSelector",value:function setupLanguageSelector(){this.setupFlyoutToggle(".language-selector",Le.LanguageSwitch,"languageNavigation")}},{key:"setupSearchToggle",value:function setupSearchToggle(){this.setupFlyoutToggle(".search-toggle",Le.Search,"searchNavigation")}},{key:"setupFlyoutToggle",value:function setupFlyoutToggle(t,r,a){var u=this,p=this.navigationContainer.querySelector(t);p&&(this[a]=p.nextElementSibling,p.addEventListener("click",function(t){t.preventDefault();var m=u[a];if(m)if(m.classList.contains("active"))u.reset();else{var h=[u.overlay,p,m];onBreakpoint([l.LG],function(){h.push(u.navigationContainer)});u.showNavigation(r,h,function beforeShow(){onBreakpoint([l.SM,l.MD],function(){return c()}),u.closeAllMenus()})}}))}},{key:"setupMobileNavigationToggle",value:function setupMobileNavigationToggle(){var t=this;this.mobileNavigationToggle.addEventListener("click",function(r){if(r.preventDefault(),t.mobileNavigationToggle.classList.contains("active"))t.reset();else{var a=[t.navigationContainer,t.overlay,t.mobileNavigationToggle];t.showNavigation(Le.MobileNav,a,function beforeShow(){onBreakpoint([l.SM,l.MD],function(){return c()}),t.closeAllMenus()})}})}},{key:"setNavigationActiveState",value:function setNavigationActiveState(t,r){r?this.activeNavigations.push(t):this.hasActiveNavigation(t)&&(this.activeNavigations=this.activeNavigations.filter(function(r){return r!==t}))}},{key:"resetNavigationActiveState",value:function resetNavigationActiveState(){this.activeNavigations=[]}},{key:"hasActiveNavigation",value:function hasActiveNavigation(t){return this.activeNavigations.indexOf(t)>-1}},{key:"closeLevelByLevel",value:function closeLevelByLevel(){if(!isMinBreakpoint(l.LG))return this.hasActiveNavigation(Le.ProductSubCategories)?(this.navigationContainer.querySelectorAll(".mega-menu__subcategories, .mega-menu__subcategories-panel, .mega-menu__categories-panel a[data-group-index], .mega-menu__categories-panel li.mega-menu__nav-item").forEach(function(t){return t.classList.remove("active")}),this.navigationContainer.querySelectorAll(".mega-menu__categories-panel .mega-menu__nav-item").forEach(function(t){return t.classList.remove("open")}),void this.setNavigationActiveState(Le.ProductSubCategories,!1)):this.hasActiveNavigation(Le.ProductCategories)?(this.navigationContainer.querySelectorAll(".mega-menu__categories, [data-category-index]").forEach(function(t){return t.classList.remove("active")}),void this.setNavigationActiveState(Le.ProductCategories,!1)):this.hasActiveNavigation(Le.SubNav)?(this.navigationContainer.querySelectorAll(".mega-menu").forEach(function(t){return t.classList.remove("active")}),void this.setNavigationActiveState(Le.SubNav,!1)):void this.reset();this.reset()}},{key:"showNavigation",value:function showNavigation(t,r,a){a(),this.setNavigationActiveState(t,!0),r.forEach(function(t){return null==t?void 0:t.classList.add("active")}),this.setHeaderBackgroundHeight(),Oe.has(t)&&globalThis.dispatchEvent(new CustomEvent("mega-menu:flyout-opened"))}},{key:"closeAllMenus",value:function closeAllMenus(t){this.navigationContainer.querySelectorAll([".main-navigation.active",".main-nav-link.active",".mega-menu.active",".mega-menu__categories.active",".mega-menu__categories-panel.active",".mega-menu__subcategories.active",".mega-menu__subcategories-panel.active",".language-selector.active",".search-toggle.active",".mobile-navigation-toggle.active"].join(",")).forEac
2h(function(r){r!==t&&(null==r||r.classList.remove("active"))}),this.navigationContainer.querySelectorAll(".mega-menu__nav-item.open").forEach(function(t){null==t||t.classList.remove("open")})}},{key:"reset",value:function reset(){var t=this,r=_toConsumableArray(Oe).some(function(r){return t.hasActiveNavigation(r)});!function enablePageScroll(){document.body.classList.remove("no-scroll")}(),this.resetNavigationActiveState(),this.closeAllMenus(),this.navigationContainer.classList.remove("active"),this.navigationContainer.style.height=this.initialHeight+"px",this.overlay.classList.remove("active"),r&&globalThis.dispatchEvent(new CustomEvent("mega-menu:flyout-closed"))}}])}());function TextImageCarousel_typeof(t){return TextImageCarousel_typeof="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},TextImageCarousel_typeof(t)}function TextImageCarousel_ownKeys(t,r){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);r&&(l=l.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),a.push.apply(a,l)}return a}function TextImageCarousel_objectSpread(t){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?TextImageCarousel_ownKeys(Object(a),!0).forEach(function(r){TextImageCarousel_defineProperty(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):TextImageCarousel_ownKeys(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function TextImageCarousel_defineProperty(t,r,a){return(r=function TextImageCarousel_toPropertyKey(t){var r=function TextImageCarousel_toPrimitive(t,r){if("object"!=TextImageCarousel_typeof(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var l=a.call(t,r||"default");if("object"!=TextImageCarousel_typeof(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==TextImageCarousel_typeof(r)?r:r+""}(r))in t?Object.defineProperty(t,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[r]=a,t}function TextImageCarousel_toConsumableArray(t){return function TextImageCarousel_arrayWithoutHoles(t){if(Array.isArray(t))return TextImageCarousel_arrayLikeToArray(t)}(t)||function TextImageCarousel_iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function TextImageCarousel_unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return TextImageCarousel_arrayLikeToArray(t,r);var a={}.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?TextImageCarousel_arrayLikeToArray(t,r):void 0}}(t)||function TextImageCarousel_nonIterableSpread(){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 TextImageCarousel_arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var a=0,l=Array(r);a<r;a++)l[a]=t[a];return l}var Ie={speed:1e3},je={motion:{defaultDuration:.5,incomingDuration:1,outgoingDuration:1.4,easing:"cubic-bezier(.17, 0, .23, 1)"},positions:{nextOffsetPercent:72,nextScale:.8,prevOffsetPercent:-60,prevOpacity:.5,farRightOffsetPercent:100,farRightScale:.8,farLeftOffsetPercent:-140},layering:{zActive:30,zNext:20,zPrev:10,zHidden:1}},De=".text-image-carousel",qe=".text-image-carousel__source-slides",Ne=".text-image-carousel__source-slide",Re=".text-image-carousel__source-text",He=".text-image-carousel__source-image",Ge=".text-image-carousel__text-swiper",Be=".text-image-carousel__image-swiper",ze=".swiper-wrapper",Ve=".text-image-carousel__pagination__button--next",$e=".text-image-carousel__pagination__button--prev",We=".text-image-carousel__info-overlay",Ke=".text-image-carousel__info-overlay-text--current",Ue=".text-image-carousel__info-overlay-text--prev",Ye=".text-image-carousel__media",Je=".text-image-carousel .pimcore_block_amount *",Xe="is-active",Qe="is-right",Ze="is-prev",et="is-prep",tt="is-animating",rt="data-info";function applyMediaLayoutForDesktop(t){var r,a,l=Array.from(t.slides),c=null!==(r=t.activeIndex)&&void 0!==r?r:0,u=null!==(a=t.previousIndex)&&void 0!==a?a:c,p=u!==c;t.wrapperEl.style.transform="translate3d(0, 0, 0)",l.forEach(function(t,r){var a=r-c;t.classList.remove(Xe,Qe,Ze);var l=function getMediaSlideState(t){return 0===t?"active":1===t?"next":-1===t?"prev":t<-1?"offLeft":"offRight"}(a);"active"===l&&t.classList.add(Xe),"prev"===l&&t.classList.add(Ze),"next"!==l&&"offRight"!==l||t.classList.add(Qe);var m=function getMediaSlideDuration(t){var r=je.motion,a=t.isChanging,l=t.slideIndex,c=t.activeIndex,u=t.previousIndex;return a?l===c?r.incomingDuration:l===u?r.outgoingDuration:r.defaultDuration:r.defaultDuration}({isChanging:p,slideIndex:r,activeIndex:c,previousIndex:u});!function setMediaSlideTransition(t,r){var a=je.motion;t.style.transition="transform ".concat(r,"s ").concat(a.easing,", ")+"opacity ".concat(r,"s ").concat(a.easing)}(t,m),function applyMediaSlideState(t,r){var a=je,l=a.positions,c=a.layering;switch(t.style.transformOrigin="left center",r){case"active":return t.style.opacity="1",t.style.zIndex=String(c.zActive),void(t.style.transform="translate3d(0, 0, 0) scale3d(1, 1, 1)");
2case"next":return t.style.opacity="1",t.style.zIndex=String(c.zNext),void(t.style.transform="translate3d(".concat(l.nextOffsetPercent,"%, 0, 0) ")+"scale3d(".concat(l.nextScale,", ").concat(l.nextScale,", 1)"));case"prev":return t.style.opacity=String(l.prevOpacity),t.style.zIndex=String(c.zPrev),void(t.style.transform="translate3d(".concat(l.prevOffsetPercent,"%, 0, 0) scale3d(1, 1, 1)"));case"offLeft":return t.style.opacity="0",t.style.zIndex=String(c.zHidden),void(t.style.transform="translate3d(".concat(l.farLeftOffsetPercent,"%, 0, 0) scale3d(1, 1, 1)"));default:return t.style.opacity="0",t.style.zIndex=String(c.zHidden),void(t.style.transform="translate3d(".concat(l.farRightOffsetPercent,"%, 0, 0) ")+"scale3d(".concat(l.farRightScale,", ").concat(l.farRightScale,", 1)"))}}(t,l)})}function getInfoForSwiperIndex(t,r){var a,l=Array.from(t.slides)[r];return l&&null!==(a=l.getAttribute(rt))&&void 0!==a?a:""}function syncInfoOverlay(t,r,a){var l;if(t){var c,u=null!==(l=r.activeIndex)&&void 0!==l?l:0,p=getInfoForSwiperIndex(r,u);if(!p&&a)p=getInfoForSwiperIndex(r,null!==(c=a.activeIndex)&&void 0!==c?c:u);p&&function animateInfoOverlayTo(t,r){r!==t.currentValue&&(null!==t.rafId&&(cancelAnimationFrame(t.rafId),t.rafId=null),t.root.classList.remove(et,tt),t.prev.textContent=t.currentValue,t.current.textContent=r,t.root.classList.add(et),t.rafId=requestAnimationFrame(function(){t.root.classList.remove(et),t.root.classList.add(tt),t.currentValue=r,t.rafId=null}))}(t,p)}}function initTextImageCarousel(t){var r=t;if(function transferSlidesSource(t){var r=t.querySelector(qe);if(r){var a=t.querySelector("".concat(Ge," ").concat(ze)),l=t.querySelector("".concat(Be," ").concat(ze));if(a&&l&&!(a.children.length>0||l.children.length>0)){var c=Array.from(r.querySelectorAll(Ne));0!==c.length&&c.forEach(function(t){var r,c=t.querySelector(Re),u=t.querySelector(He),p=null!==(r=t.getAttribute(rt))&&void 0!==r?r:"",m=document.createElement("div");m.className="swiper-slide",m.setAttribute(rt,p),c&&m.append.apply(m,TextImageCarousel_toConsumableArray(Array.from(c.childNodes)));var h=document.createElement("div");h.className="swiper-slide",u&&h.append.apply(h,TextImageCarousel_toConsumableArray(Array.from(u.childNodes))),a.appendChild(m),l.appendChild(h)})}}}(r),!p){var a=r.querySelector(Ye);a&&(a.querySelectorAll("img").forEach(function(t){return t.setAttribute("draggable","false")}),a.addEventListener("dragstart",function(t){var r=t.target;"IMG"===(null==r?void 0:r.tagName)&&t.preventDefault()}))}var c=r.querySelector(Ge),u=r.querySelector(Be);if(c&&u){var m=r.querySelector("".concat(Ge," ").concat(ze));if(m&&0!==m.children.length){var h=function createInfoOverlay(t){var r=t.querySelector(We),a=t.querySelector(Ke),l=t.querySelector(Ue);return r&&a&&l?{root:r,current:a,prev:l,currentValue:"",rafId:null}:null}(r),v=r.querySelector(Ve),y=r.querySelector($e),g=Boolean(v&&y),b=new Swiper(c,TextImageCarousel_objectSpread(TextImageCarousel_objectSpread({modules:[Navigation,Controller,A11y,Keyboard],loop:!1,watchOverflow:!0,keyboard:{enabled:!p,onlyInViewport:!0}},g?{navigation:{nextEl:v,prevEl:y,disabledClass:"disabled"}}:{}),{},{slidesPerView:1,allowTouchMove:!p,speed:Ie.speed,spaceBetween:28})),S=function isMediaTouchEnabled(){return!p&&!isMinBreakpoint(l.MD)},w=new Swiper(u,{modules:[Controller,A11y,Keyboard],loop:!1,watchOverflow:!0,keyboard:{enabled:!p,onlyInViewport:!0},slidesPerView:1,allowTouchMove:S(),spaceBetween:28,breakpoints:{1024:{spaceBetween:0}}}),_=function updateMediaTouchMove(){var t=S();Boolean(w.allowTouchMove)!==t&&(w.params.allowTouchMove=t,w.allowTouchMove=t)},T=function updateMediaLayout(){isMinBreakpoint(l.MD)?applyMediaLayoutForDesktop(w):function resetMediaLayoutForNonDesktop(t){var r=t.wrapperEl,a=Array.from(t.slides);r.style.transform="",a.forEach(function(t){t.classList.remove(Xe,Qe,Ze),t.style.transform="",t.style.opacity="",t.style.zIndex="",t.style.transition="",t.style.transformOrigin=""})}(w)};if(h){var E,C=getInfoForSwiperIndex(b,null!==(E=b.activeIndex)&&void 0!==E?E:0);!function setInfoOverlayImmediate(t,r){t.root.classList.remove(et,tt),t.prev.textContent="",t.current.textContent=r,t.currentValue=r}(h,C)}var A=function syncOverlayFrom(t){syncInfoOverlay(h,b,t)};
2[b,w].forEach(function(t){t.on("slideChangeTransitionStart",function(){A(t)}),t.on("slideChangeTransitionEnd",function(){A(t)})}),w.on("afterInit",function(){requestAnimationFrame(function(){w.update(),_(),T()})}),w.on("slideChange",function(){isMinBreakpoint(l.MD)&&applyMediaLayoutForDesktop(w)}),w.on("resize",function(){b.update(),w.update(),_(),T()}),b.controller.control=w,w.controller.control=b,_(),T()}}}function initAllCarousels(){document.querySelectorAll(De).forEach(function(t){initTextImageCarousel(t)})}if(p)if(document.querySelector(Je))initAllCarousels();else{var nt=new MutationObserver(function(){document.querySelector(Je)&&(nt.disconnect(),initAllCarousels())});nt.observe(document.body,{childList:!0,subtree:!0})}else initAllCarousels();function ProductHero_regenerator(){var t,r,a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",c=a.toStringTag||"@@toStringTag";function i(a,l,c,p){var m=l&&l.prototype instanceof Generator?l:Generator,h=Object.create(m.prototype);return ProductHero_regeneratorDefine2(h,"_invoke",function(a,l,c){var p,m,h,v=0,y=c||[],g=!1,b={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function d(r,a){return p=r,m=0,h=t,b.n=a,u}};function d(a,l){for(m=a,h=l,r=0;!g&&v&&!c&&r<y.length;r++){var c,p=y[r],S=b.p,w=p[2];a>3?(c=w===l)&&(h=p[(m=p[4])?5:(m=3,3)],p[4]=p[5]=t):p[0]<=S&&((c=a<2&&S<p[1])?(m=0,b.v=l,b.n=p[1]):S<w&&(c=a<3||p[0]>l||l>w)&&(p[4]=a,p[5]=l,b.n=w,m=0))}if(c||a>1)return u;throw g=!0,l}return function(c,y,S){if(v>1)throw TypeError("Generator is already running");for(g&&1===y&&d(y,S),m=y,h=S;(r=m<2?t:h)||!g;){p||(m?m<3?(m>1&&(b.n=-1),d(m,h)):b.n=h:b.v=h);try{if(v=2,p){if(m||(c="next"),r=p[c]){if(!(r=r.call(p,h)))throw TypeError("iterator result is not an object");if(!r.done)return r;h=r.value,m<2&&(m=0)}else 1===m&&(r=p.return)&&r.call(p),m<2&&(h=TypeError("The iterator does not provide a '"+c+"' method"),m=1);p=t}else if((r=(g=b.n<0)?h:a.call(l,b))!==u)break}catch(r){p=t,m=1,h=r}finally{v=1}}return{value:r,done:g}}}(a,c,p),!0),h}var u={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}r=Object.getPrototypeOf;var p=[][l]?r(r([][l]())):(ProductHero_regeneratorDefine2(r={},l,function(){return this}),r),m=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,ProductHero_regeneratorDefine2(t,c,"GeneratorFunction")),t.prototype=Object.create(m),t}return GeneratorFunction.prototype=GeneratorFunctionPrototype,ProductHero_regeneratorDefine2(m,"constructor",GeneratorFunctionPrototype),ProductHero_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",ProductHero_regeneratorDefine2(GeneratorFunctionPrototype,c,"GeneratorFunction"),ProductHero_regeneratorDefine2(m),ProductHero_regeneratorDefine2(m,c,"Generator"),ProductHero_regeneratorDefine2(m,l,function(){return this}),ProductHero_regeneratorDefine2(m,"toString",function(){return"[object Generator]"}),(ProductHero_regenerator=function _regenerator(){return{w:i,m:f}})()}function ProductHero_regeneratorDefine2(t,r,a,l){var c=Object.defineProperty;try{c({},"",{})}catch(t){c=0}ProductHero_regeneratorDefine2=function _regeneratorDefine(t,r,a,l){function o(r,a){ProductHero_regeneratorDefine2(t,r,function(t){return this._invoke(r,a,t)})}r?c?c(t,r,{value:a,enumerable:!l,configurable:!l,writable:!l}):t[r]=a:(o("next",0),o("throw",1),o("return",2))},ProductHero_regeneratorDefine2(t,r,a,l)}function ProductHero_asyncGeneratorStep(t,r,a,l,c,u,p){try{var m=t[u](p),h=m.value}catch(t){return void a(t)}m.done?r(h):Promise.resolve(h).then(l,c)}var ot=".product-hero",it=".product-hero__meta-item",at=".js-product-hero__meta-item-copy-trigger",st=".product-hero__meta-item-value",lt="is-copied";function initProductHero(t){t.querySelectorAll(it).forEach(function(t){var r=t,a=r.querySelector(at),l=r.querySelector(st);a&&l&&a.addEventListener("click",function(){var t=function ProductHero_asyncToGenerator(t){return function(){var r=this,a=arguments;return new Promise(function(l,c){var u=t.apply(r,a);function _next(t){ProductHero_asyncGeneratorStep(u,l,c,_next,_throw,"next",t)}function _throw(t){ProductHero_asyncGeneratorStep(u,l,c,_next,_throw,"throw",t)}_next(void 0)})}}(ProductHero_regenerator().m(function _callee(t){var a,c,u,p;return ProductHero_regenerator().w(function(m){for(;;)switch(m.p=m.n){case 0:if(t.preventDefault(),t.stopPropagation(),u=(null!==(a=l.textContent)&&void 0!==a?a:"").trim()){m.n=1;break}return m.a(2);case 1:if(null!==(c=navigator.clipboard)&&void 0!==c&&c.writeText){m.n=2;break}return m.a(2);case 2:return m.p=2,m.n=3,navigator.clipboard.writeText(u);case 3:r.classList.add(lt),window.setTimeout(function(){return r.classList.remove(lt)},900),m.n=5;break;
2case 4:m.p=4,p=m.v,console.debug("[ProductHero] Clipboard write failed.",p);case 5:return m.a(2)}},_callee,null,[[2,4]])}));return function(r){return t.apply(this,arguments)}}())})}function ProductRequestForm_typeof(t){return ProductRequestForm_typeof="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},ProductRequestForm_typeof(t)}function ProductRequestForm_createForOfIteratorHelper(t,r){var a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function ProductRequestForm_unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return ProductRequestForm_arrayLikeToArray(t,r);var a={}.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?ProductRequestForm_arrayLikeToArray(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){a&&(t=a);var l=0,c=function F(){};return{s:c,n:function n(){return l>=t.length?{done:!0}:{done:!1,value:t[l++]}},e:function e(t){throw t},f:c}}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 u,p=!0,m=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return p=t.done,t},e:function e(t){m=!0,u=t},f:function f(){try{p||null==a.return||a.return()}finally{if(m)throw u}}}}function ProductRequestForm_arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var a=0,l=Array(r);a<r;a++)l[a]=t[a];return l}function ProductRequestForm_defineProperties(t,r){for(var a=0;a<r.length;a++){var l=r[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,ProductRequestForm_toPropertyKey(l.key),l)}}function ProductRequestForm_toPropertyKey(t){var r=function ProductRequestForm_toPrimitive(t,r){if("object"!=ProductRequestForm_typeof(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var l=a.call(t,r||"default");if("object"!=ProductRequestForm_typeof(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==ProductRequestForm_typeof(r)?r:r+""}function ProductRequestForm_callSuper(t,r,a){return r=ProductRequestForm_getPrototypeOf(r),function ProductRequestForm_possibleConstructorReturn(t,r){if(r&&("object"==ProductRequestForm_typeof(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return function ProductRequestForm_assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,ProductRequestForm_isNativeReflectConstruct()?Reflect.construct(r,a||[],ProductRequestForm_getPrototypeOf(t).constructor):r.apply(t,a))}function ProductRequestForm_isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ProductRequestForm_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}function ProductRequestForm_getPrototypeOf(t){return ProductRequestForm_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ProductRequestForm_getPrototypeOf(t)}function ProductRequestForm_setPrototypeOf(t,r){return ProductRequestForm_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},ProductRequestForm_setPrototypeOf(t,r)}document.querySelectorAll(ot).forEach(function(t){return initProductHero(t)});var ct=["topic","firstName","lastName","email","company","postcode","city","country"],ut={topic:"Type of inquiry is required.",firstName:"First name is required.",lastName:"Last name is required.",email:"Email address is required.",emailInvalid:"Please enter a valid email address.",company:"Company is required.",postcode:"Postcode is required.",city:"City is required.",country:"Country is required.",privacyConsent:"You must accept the privacy policy.",csrfExpired:"Your form session has expired. Please reload the page and submit the form again."},dt=function(t){function ProductRequestForm(t){var r,a;return function ProductRequestForm_classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,ProductRequestForm),null===(r=(a=ProductRequestForm_callSuper(this,ProductRequestForm,[t,{prefix:"product-request-form",requiredFields:ct,defaultMessages:ut}])).root.closest("dialog"))||void 0===r||r.addEventListener("close",function(){return a.resetAfterSuccess()}),a}return function ProductRequestForm_inherits(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&ProductRequestForm_setPrototypeOf(t,r)}(ProductRequestForm,t),function ProductRequestForm_createClass(t,r,a){return r&&ProductRequestForm_defineProperties(t.prototype,r),a&&ProductRequestForm_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(ProductRequestForm,[{key:"showSuccess",value:function showSuccess(){this.setSubmitting(!1),this.toggleBanner(!1),this.failBlock&&(this.failBlock.hidden=!0),this.form.hidden=!0,this.successBlock&&(this.successBlock.hidden=!1)}},{key:"reveal",value:function reveal(t){t.scrollIntoView({behavior:"smooth",block:"nearest"})}},{key:"resetAfterSuccess",value:function resetAfterSuccess(){this.form.hidden&&(this.form.reset(),this.form.hidden=!1,this.successBlock&&(this.successBlock.hidden=!0))}}])}(ye);document.addEventListener("DOMContentLoaded",function(){return function initProductRequestForms(){var t,r=[],a=ProductRequestForm_createForOfIteratorHelper((arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).querySelectorAll("[data-product-request-form]"));try{for(a.s();!(t=a.n()).done;){var l=t.value;r.push(new dt(l))}}catch(t){a.e(t)}finally{a.f()}return r}()});function ReturnForm_typeof(t){return ReturnForm_typeof="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},ReturnForm_typeof(t)}function ReturnForm_createForOfIteratorHelper(t,r){var a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function ReturnForm_unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return ReturnForm_arrayLikeToArray(t,r);var a={}.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?ReturnForm_arrayLikeToArray(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){a&&(t=a);var l=0,c=function F(){};return{s:c,n:function n(){return l>=t.length?{done:!0}:{done:!1,value:t[l++]}},e:function e(t){throw t},f:c}}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 u,p=!0,m=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return p=t.done,t},e:function e(t){m=!0,u=t},f:function f(){try{p||null==a.return||a.return()}finally{if(m)throw u}}}}function ReturnForm_arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var a=0,l=Array(r);a<r;a++)l[a]=t[a];return l}function ReturnForm_defineProperties(t,r){for(var a=0;a<r.length;a++){var l=r[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,ReturnForm_toPropertyKey(l.ke
2y),l)}}function ReturnForm_toPropertyKey(t){var r=function ReturnForm_toPrimitive(t,r){if("object"!=ReturnForm_typeof(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var l=a.call(t,r||"default");if("object"!=ReturnForm_typeof(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==ReturnForm_typeof(r)?r:r+""}function ReturnForm_callSuper(t,r,a){return r=ReturnForm_getPrototypeOf(r),function ReturnForm_possibleConstructorReturn(t,r){if(r&&("object"==ReturnForm_typeof(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return function ReturnForm_assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,ReturnForm_isNativeReflectConstruct()?Reflect.construct(r,a||[],ReturnForm_getPrototypeOf(t).constructor):r.apply(t,a))}function ReturnForm_isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ReturnForm_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}function ReturnForm_get(){return ReturnForm_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,r,a){var l=function ReturnForm_superPropBase(t,r){for(;!{}.hasOwnProperty.call(t,r)&&null!==(t=ReturnForm_getPrototypeOf(t)););return t}(t,r);if(l){var c=Object.getOwnPropertyDescriptor(l,r);return c.get?c.get.call(arguments.length<3?t:a):c.value}},ReturnForm_get.apply(null,arguments)}function ReturnForm_getPrototypeOf(t){return ReturnForm_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ReturnForm_getPrototypeOf(t)}function ReturnForm_setPrototypeOf(t,r){return ReturnForm_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},ReturnForm_setPrototypeOf(t,r)}var pt=["productionSite","device","deviceType","returnReason","firstName","lastName","email","company","streetAddress","postcode","city","country"],ft={productionSite:"Production site is required.",device:"Device is required.",deviceType:"Type / device code is required.",deviceCleaned:"Please state whether the device has been cleaned.",returnReason:"Reason for return is required.","deviceHazards[]":"Please select at least one option.",deviceHazardOther:"Please describe the hazard.",company:"Company is required.",firstName:"First name is required.",lastName:"Last name is required.",streetAddress:"Street address is required.",postcode:"Postcode is required.",city:"City is required.",country:"Country is required.",email:"Email address is required.",emailInvalid:"Please enter a valid email address.",privacyConsent:"You must accept the privacy policy.",csrfExpired:"Your form session has expired. Please reload the page and submit the form again."},mt=function(t){function ReturnForm(t){var r;return function ReturnForm_classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,ReturnForm),(r=ReturnForm_callSuper(this,ReturnForm,[t,{prefix:"return-form",requiredFields:pt,defaultMessages:ft}])).hazardOtherRow=t.querySelector("[data-return-form-hazard-other]"),r.form.addEventListener("change",function(t){t.target instanceof HTMLInputElement&&"deviceHazards[]"===t.target.name&&r.toggleHazardOther()}),r.toggleHazardOther(),r}return function ReturnForm_inherits(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&ReturnForm_setPrototypeOf(t,r)}(ReturnForm,t),function ReturnForm_createClass(t,r,a){return r&&ReturnForm_defineProperties(t.prototype,r),a&&ReturnForm_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(ReturnForm,[{key:"validate",value:function validate(){var t=function ReturnForm_superPropGet(t,r,a,l){var c=ReturnForm_get(ReturnForm_getPrototypeOf(1&l?t.prototype:t),r,a);return 2&l&&"function"==typeof c?function(t){return c.apply(a,t)}:c}(ReturnForm,"validate",this,3)([]);this.form.querySelector('input[name="deviceCleaned"]:checked')||(t.deviceCleaned=this.messages.deviceCleaned),this.form.querySelector('input[name="deviceHazards[]"]:checked')||(t["deviceHazards[]"]=this.messages["deviceHazards[]"]);var r=this.form.querySelector('input[name="deviceHazardOther"]');return this.isOthersChecked()&&r&&""===r.value.trim()&&(t.deviceHazardOther=this.messages.deviceHazardOther),t}},{key:"isOthersChecked",value:function isOthersChecked(){var t,r;return null!==(t=null===(r=this.form.querySelector('input[name="deviceHazards[]"][value="'.concat("others",'"]')))||void 0===r?void 0:r.checked)&&void 0!==t&&t}},{key:"toggleHazardOther",value:function toggleHazardOther(){if(this.hazardOtherRow){var t=this.isOthersChecked();if(this.hazardOtherRow.hidden=!t,!t){var r=this.hazardOtherRow.querySelector('input[name="deviceHazardOther"]');r&&(r.value="")}}}}])}(ye);document.addEventListener("DOMContentLoaded",function(){return function initReturnForms(){var t,r=[],a=ReturnForm_createForOfIteratorHelper((arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).querySelectorAll("[data-return-form]"));try{for(a.s();!(t=a.n()).done;){var l=t.value;r.push(new mt(l))}}catch(t){a.e(t)}finally{a.f()}return r}()})},3774:function(){function setScrollbarWidth(){var t=globalThis.innerWidth-document.documentElement.clientWidth;document.documentElement.style.setProperty("--scrollbar-width","".concat(t,"px"))}globalThis.addEventListener("load",setScrollbarWidth),globalThis.addEventListener("resize",setScrollbarWidth)},9212:function(){document.addEventListener("click",function(t){var r,a,l;(null===(r=t.target)||void 0===r?void 0:r.closest("[data-consent-renew]"))&&(t.preventDefault(),null===(a=globalThis.Cookiebot)||void 0===a||null===(l=a.renew
2)||void 0===l||l.call(a))})},6972:function(){function _typeof(t){return _typeof="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},_typeof(t)}function _defineProperties(t,r){for(var a=0;a<r.length;a++){var l=r[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,_toPropertyKey(l.key),l)}}function _toPropertyKey(t){var r=function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var l=a.call(t,r||"default");if("object"!=_typeof(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(r)?r:r+""}document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".share-button").forEach(function(r){new t(r).init()})});var t=function(){return function _createClass(t,r,a){return r&&_defineProperties(t.prototype,r),a&&_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(function ShareButton(t){!function _classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,ShareButton),this.focusableElements=[],this.offsetTop=10,this.focusDelayMs=10,this.container=t,this.button=t.querySelector(".share-button__button"),this.dropdown=t.querySelector(".share-button__dropdown")},[{key:"init",value:function init(){this.button&&this.dropdown&&(this.focusableElements=Array.from(this.dropdown.querySelectorAll('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])')),this.bindEvents())}},{key:"updatePosition",value:function updatePosition(){var t=this.container.getBoundingClientRect();this.dropdown.style.width="".concat(t.width,"px");var r=this.dropdown.offsetHeight,a=globalThis.innerHeight-t.bottom,l=t.top,c=t.bottom+this.offsetTop;a<r+this.offsetTop&&l>a&&(c=t.top-r-this.offsetTop),this.dropdown.style.top="".concat(c,"px"),this.dropdown.style.left="".concat(t.left,"px")}},{key:"bindEvents",value:function bindEvents(){var t=this;this.dropdown.addEventListener("toggle",function(r){var a="open"===r.newState;t.button.classList.toggle("active",a),a&&(t.updatePosition(),t.focusableElements.length>0&&setTimeout(function(){return t.focusableElements[0].focus()},t.focusDelayMs))}),globalThis.addEventListener("scroll",function(){return t.hidePopoverSafely()},{passive:!0}),globalThis.addEventListener("resize",function(){return t.hidePopoverSafely()}),this.dropdown.addEventListener("keydown",function(r){return t.handleDropdownKeydown(r)})}},{key:"hidePopoverSafely",value:function hidePopoverSafely(){"function"==typeof this.dropdown.hidePopover&&this.dropdown.matches(":popover-open")&&this.dropdown.hidePopover()}},{key:"handleDropdownKeydown",value:function handleDropdownKeydown(t){var r=document.activeElement,a=this.focusableElements.indexOf(r);if(-1!==a)switch(t.key){case"ArrowDown":t.preventDefault();var l=a===this.focusableElements.length-1?0:a+1;this.focusableElements[l].focus();break;case"ArrowUp":t.preventDefault();var c=0===a?this.focusableElements.length-1:a-1;this.focusableElements[c].focus();break;case"Tab":var u=a===this.focusableElements.length-1,p=0===a;(!t.shiftKey&&u||t.shiftKey&&p)&&(t.preventDefault(),this.hidePopoverSafely(),this.button.focus())}}}])}()},2095:function(){function _regenerator(){var t,r,a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",c=a.toStringTag||"@@toStringTag";function i(a,l,c,p){var m=l&&l.prototype instanceof Generator?l:Generator,h=Object.create(m.prototype);return _regeneratorDefine2(h,"_invoke",function(a,l,c){var p,m,h,v=0,y=c||[],g=!1,b={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function d(r,a){return p=r,m=0,h=t,b.n=a,u}};function d(a,l){for(m=a,h=l,r=0;!g&&v&&!c&&r<y.length;r++){var c,p=y[r],S=b.p,w=p[2];a>3?(c=w===l)&&(h=p[(m=p[4])?5:(m=3,3)],p[4]=p[5]=t):p[0]<=S&&((c=a<2&&S<p[1])?(m=0,b.v=l,b.n=p[1]):S<w&&(c=a<3||p[0]>l||l>w)&&(p[4]=a,p[5]=l,b.n=w,m=0))}if(c||a>1)return u;throw g=!0,l}return function(c,y,S){if(v>1)throw TypeError("Generator is already running");for(g&&1===y&&d(y,S),m=y,h=S;(r=m<2?t:h)||!g;){p||(m?m<3?(m>1&&(b.n=-1),d(m,h)):b.n=h:b.v=h);
2try{if(v=2,p){if(m||(c="next"),r=p[c]){if(!(r=r.call(p,h)))throw TypeError("iterator result is not an object");if(!r.done)return r;h=r.value,m<2&&(m=0)}else 1===m&&(r=p.return)&&r.call(p),m<2&&(h=TypeError("The iterator does not provide a '"+c+"' method"),m=1);p=t}else if((r=(g=b.n<0)?h:a.call(l,b))!==u)break}catch(r){p=t,m=1,h=r}finally{v=1}}return{value:r,done:g}}}(a,c,p),!0),h}var u={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}r=Object.getPrototypeOf;var p=[][l]?r(r([][l]())):(_regeneratorDefine2(r={},l,function(){return this}),r),m=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(t,c,"GeneratorFunction")),t.prototype=Object.create(m),t}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(m,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,c,"GeneratorFunction"),_regeneratorDefine2(m),_regeneratorDefine2(m,c,"Generator"),_regeneratorDefine2(m,l,function(){return this}),_regeneratorDefine2(m,"toString",function(){return"[object Generator]"}),(_regenerator=function _regenerator(){return{w:i,m:f}})()}function _regeneratorDefine2(t,r,a,l){var c=Object.defineProperty;try{c({},"",{})}catch(t){c=0}_regeneratorDefine2=function _regeneratorDefine(t,r,a,l){function o(r,a){_regeneratorDefine2(t,r,function(t){return this._invoke(r,a,t)})}r?c?c(t,r,{value:a,enumerable:!l,configurable:!l,writable:!l}):t[r]=a:(o("next",0),o("throw",1),o("return",2))},_regeneratorDefine2(t,r,a,l)}function asyncGeneratorStep(t,r,a,l,c,u,p){try{var m=t[u](p),h=m.value}catch(t){return void a(t)}m.done?r(h):Promise.resolve(h).then(l,c)}function _asyncToGenerator(t){return function(){var r=this,a=arguments;return new Promise(function(l,c){var u=t.apply(r,a);function _next(t){asyncGeneratorStep(u,l,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(u,l,c,_next,_throw,"throw",t)}_next(void 0)})}}document.querySelectorAll("[data-load-more]").forEach(function initLoadMore(t){var r,a,l,c,u,p,m=null!==(r=t.dataset.itemsKey)&&void 0!==r?r:"results",h=null!==(a=t.dataset.countKey)&&void 0!==a?a:"resultsCount",v=null!==(l=t.dataset.totalKey)&&void 0!==l?l:"resultsTotal",y=null!==(c=t.dataset.nextKey)&&void 0!==c?c:"resultsNext",g=null!==(u=null===(p=t.parentElement)||void 0===p?void 0:p.querySelector("[data-load-more-list]"))&&void 0!==u?u:null,b=t.querySelector(".progress__info strong"),S=t.querySelector(".progress__bar-indicator");t.querySelectorAll(".load-more__button").forEach(function(t){t.addEventListener("click",_asyncToGenerator(_regenerator().m(function _callee(){var r,a,l,c,u,p,w,_,T;return _regenerator().w(function(E){for(;;)switch(E.p=E.n){case 0:if(!t.disabled){E.n=1;break}return E.a(2);case 1:if(r=t.dataset.url){E.n=2;break}return E.a(2);case 2:return t.disabled=!0,t.classList.add("disabled"),E.p=3,E.n=4,fetch(r);case 4:if((a=E.v).ok){E.n=5;break}return console.error("[LoadMore] Request failed:",a.status),t.disabled=!1,t.classList.remove("disabled"),E.a(2);case 5:return E.n=6,a.json();case 6:l=E.v,c=l[m],u=l[h],p=l[v],w=l[y],g&&"string"==typeof c&&g.insertAdjacentHTML("beforeend",c),b&&(b.textContent=u.toString()),S&&p>0&&(S.style.width=u/p*100+"%"),w?(t.dataset.url=w,t.disabled=!1,t.classList.remove("disabled")):null===(_=t.parentElement)||void 0===_||_.remove(),E.n=8;break;case 7:E.p=7,T=E.v,t.disabled=!1,t.classList.remove("disabled"),console.error("[LoadMore] Error:",T);case 8:return E.a(2)}},_callee,null,[[3,7]])})))})})},756:function(){document.addEventListener("DOMContentLoaded",function(){var t,r=document.querySelector(".footer-language-switcher");r&&(null===(t=r.querySelector("select"))||void 0===t||t.addEventListener("change",function(){globalThis.location.href=this.value}))})},7779:function(){}},function(t){var __webpack_exec__=function(r){return t(t.s=r)};__webpack_exec__(7779),__webpack_exec__(683)}]);

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.