PageSourceSearch

https://www.stpetersgirls.sa.edu.au/wp-content/themes/kwxp-spg/dist/919.76ecf8205e41488e.js

js stpetersgirls.sa.edu.au collected 2026-10-08 13:43:29 UTC 108,100 bytes, 2 lines download raw bytes

vendor: 4,344 bytes, lines 1-2
1/*! For license information please see 919.76ecf8205e41488e.js.LICENSE.txt */
2"use strict";(self.webpackChunkkwpx_theme=self.webpackChunkkwpx_theme||[]).push([[919],{8917:(e,t,r)=>{function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function s(){s=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",d=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,r){return e[t]=r}}function u(e,t,r,i){var s=t&&t.prototype instanceof w?t:w,n=Object.create(s.prototype),o=new A(i||[]);return a(n,"_invoke",{value:L(e,r,o)}),n}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var m="suspendedStart",h="suspendedYield",v="executing",g="completed",y={};function w(){}function b(){}function S(){}var T={};p(T,l,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(z([])));E&&E!==r&&n.call(E,l)&&(T=E);var C=S.prototype=w.prototype=Object.create(T);function M(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(s,a,o,l){var d=f(e[s],e,a);if("throw"!==d.type){var c=d.arg,p=c.value;return p&&"object"==i(p)&&n.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,o,l)}),(function(e){r("throw",e,o,l)})):t.resolve(p).then((function(e){c.value=e,o(c)}),(function(e){return r("throw",e,o,l)}))}l(d.arg)}var s;a(this,"_invoke",{value:function(e,i){function n(){return new t((function(t,s){r(e,i,t,s)}))}return s=s?s.then(n,n):n()}})}function L(t,r,i){var s=m;return function(n,a){if(s===v)throw new Error("Generator is already running");if(s===g){if("throw"===n)throw a;return{value:e,done:!0}}for(i.method=n,i.arg=a;;){var o=i.delegate;if(o){var l=k(o,i);if(l){if(l===y)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(s===m)throw s=g,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);s=v;var d=f(t,r,i);if("normal"===d.type){if(s=i.done?g:h,d.arg===y)continue;return{value:d.arg,done:i.done}}"throw"===d.type&&(s=g,i.method="throw",i.arg=d.arg)}}}function k(t,r){var i=r.method,s=t.iterator[i];if(s===e)return r.delegate=null,"throw"===i&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==i&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+i+"' method")),y;var n=f(s,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,y;var a=n.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function z(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var s=-1,a=function r(){for(;++s<t.length;)if(n.call(t,s))return r.value=t[s],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(i(t)+" is not iterable")}return b.prototype=S,a(C,"constructor",{value:S,configurable:!0}),a(S,"constructor",{value:b,configurable:!0}),b.displayName=p(S,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,p(e,c,"GeneratorFunction")),e.prototype=Object.create(C),e},t.awrap=function(e){return{__await:e}},M(P.prototype),p(P.prototype,d,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,i,s,n){void 0===n&&(n=Prom
2ise);var a=new P(u(e,r,i,s),n);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},M(C),p(C,c,"Generator"),p(C,l,(function(){return this})),p(C,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var i in t)r.push(i);return r.reverse(),function e(){for(;r.length;){var i=r.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},t.values=z,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function i(i,s){return o.type="throw",o.arg=t,r.next=i,s&&(r.method="next",r.arg=e),!!s}for(var s=this.tryEntries.length-1;s>=0;--s){var a=this.tryEntries[s],o=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),d=n.call(a,"finallyLoc");if(l&&d){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!d)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var s=i;break}}s&&("break"===e||"continue"===e)&&s.tryLoc<=t&&t<=s.finallyLoc&&(s=null);var a=s?s.completion:{};return a.type=e,a.arg=t,s?(this.method="next",this.next=s.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var i=r.completion;if("throw"===i.type){var s=i.arg;I(r)}return s}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,i){return this.delegate={iterator:z(t),resultName:r,nextLoc:i},"next"===this.method&&(this.arg=e),y}},t}function n(e,t,r,i,s,n,a){try{var o=e[n](a),l=o.value}catch(e){return void r(e)}o.done?t(l):Promise.resolve(l).then(i,s)}r.d(t,{debounce:()=>p,forAllCallback:()=>o,isAdmin:()=>a,onAllClick:()=>l,onFontLoaded:()=>f,scrollToElement:()=>d,throttle:()=>c});var a=function(){var e=document.querySelectorAll("body.wp-admin");return Boolean(e.length)},o=function(e,t){var r=document.querySelectorAll(e);r.length&&r.forEach((function(e){return t(e)}))},l=function(e,t){o(e,(function(e){e.addEventListener("click",t)}))},d=function(e){try{var t=function(){try{var e=document.querySelectorAll("header"),t=0;e.forEach((function(e){return t+=e.offsetHeight}));var r=document.getElementById("wpadminbar"),i=r?r.offsetHeight:0;return t+i}catch(e){}return 0}(),r=e.offsetTop-t;window.scrollTo({top:r,behavior:"smooth"})}catch(e){}},c=function(e,t){var r=!1;return function(){r||(e.call(),r=!0,setTimeout((function(){r=!1}),t))}},p=function(e,t,r){var i=0;return function(){var s=this,n=arguments,a=r&&!i;window.clearTimeout(i),i=window.setTimeout((function(){i=0,r||e.apply(s,n)}),t),a&&e.apply(this,n)}},u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return getComputedStyle(t).getPropertyValue(e)},f=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"--font-family";(t=s().mark((function t(){var i;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=u(r).trim(),t.next=3,document.fonts.load("1px "+i);case 3:e();case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;
2return new Promise((function(i,s){var a=t.apply(e,r);function o(e){n(a,i,s,o,l,"next",e)}function l(e){n(a,i,s,o,l,"throw",e)}o(void 0)}))})()}},919:(e,t,r)=>{r.r(t),r.d(t,{default:()=>o});var i=r(8917),s=r(3775),n=r(9977),a=r(4135);function o(){(0,i.forAllCallback)(".content-block.content-block--feature-slider",(function(e){var t=e.querySelector(".feature-slider__image-slider"),r=e.querySelector(".feature-slider__text-slider");if(t&&r){var i=(0,s.initDefaultSwiper)(e,".feature-slider__image-slider",{spaceBetween:0,modules:[a.Qr]},!0);(0,s.customCoverflow)(i);var o=new n.Z(r,{modules:[a.Qr,a.xW],effect:"fade",fadeEffect:{crossFade:!0}});i.controller.control=o,o.controller.control=i}}))}},3775:(e,t,r)=>{r.d(t,{animatePaginationProgress:()=>v,customCoverflow:()=>f,defaultPagination:()=>h,initDefaultSwiper:()=>u,revertCustomCoverflow:()=>m});var i=r(9977),s=r(4135),n=r(6038),a=r(1503);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function l(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!==o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=e.querySelector(t);if(!o)return null;var d=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({spaceBetween:16,modules:[]},r);if(n){var u=e.querySelectorAll(".swiper-nav__button--next"),f=e.querySelectorAll(".swiper-nav__button--prev");if(!u.length||!f.length)return;d.modules=[].concat(l(d.modules),[s.W_]),d.navigation={nextEl:Array.from(u),prevEl:Array.from(f),disabledClass:"swiper-nav__button--disabled"}}return a&&(d.modules=[].concat(l(d.modules),[s.lI]),d.effect="coverflow",d.coverflowEffect={rotate:0,stretch:0,scale:.95,modifier:1,slideShadows:!1}),new i.Z(o,d)}function f(e){var t="-".concat(e.slides[0].offsetWidth/2);n.p8.set(e.slides,{scale:.95,z:t}),e.slides.forEach((function(t){var r=n.p8.timeline({paused:!0,defaults:{ease:"linear"}});r.to(t,{scale:1,z:0}),t.animation=r,t===e.slides[e.activeIndex]&&t.animation.play()})),e.on("slideChange",(function(){var t,r;null===(t=e.slides[e.activeIndex].animation)||void 0===t||t.play(),null===(r=e.slides[e.previousIndex].animation)||void 0===r||r.reverse()}))}function m(e){n.p8.set(e.slides,{scale:1,z:0}
2),e.slides.forEach((function(e){var t;null===(t=e.animation)||void 0===t||t.revert()}))}function h(e){return{el:e,clickable:!0,bulletActiveClass:"swiper-pagination__item--active",renderBullet:function(e,t){return'<li class="'.concat(t,' swiper-pagination__item" data-cursor>\n                <svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36" fill="none" class="swiper-pagination__icon">\n                    <circle cx="18" cy="18" r="17.5" stroke="currentColor" stroke-width="1" class="swiper-pagination__circle swiper-pagination__circle--filled"/>\n                    <circle cx="18" cy="18" r="17.5" stroke="currentColor" stroke-dasharray="4 4" stroke-width="1" class="swiper-pagination__circle swiper-pagination__circle--dashed"/>\n                </svg>\n                <span class="swiper-pagination__text">\n                    ').concat((0,a.zeroPad)(e+1),"\n                </span>\n            </li>")}}}function v(e,t,r){if((0,a.animationIsOkay)()){n.p8.set(e.querySelectorAll(".swiper-pagination__circle--filled"),{visibility:"hidden"});var i=e.querySelector(".swiper-pagination__item--active").querySelector(".swiper-pagination__circle--filled");if(i){var s=r/1e3;t.slides[t.activeIndex].dataset.swiperAutoplay&&(s=t.slides[t.activeIndex].dataset.swiperAutoplay/1e3),n.p8.set(i,{visibility:"visible"}),n.p8.fromTo(i,{drawSVG:"0%"},{duration:s,drawSVG:"100%",ease:"linear"})}}}},1503:(e,t,r)=>{function i(){return window.matchMedia("(prefers-reduced-motion: no-preference)").matches}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return String(e).padStart(t,"0")}function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;return"none"===window.getComputedStyle(e).display?(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;e.style.removeProperty("display");var r=window.getComputedStyle(e).display;"none"===r&&(r="block"),e.style.display=r;var i=e.offsetHeight;e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,e.offsetHeight,e.style.boxSizing="border-box",e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.height=i+"px",e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),window.setTimeout((function(){e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")}),t)}(e,t),!0):(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.boxSizing="border-box",e.style.height=e.offsetHeight+"px",e.offsetHeight,e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,window.setTimeout((function(){e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")}),t)}(e,t),!1)}r.d(t,{animationIsOkay:()=>i,slideToggle:()=>n,zeroPad:()=>s})},4135:(e,t,r)=>{r.d(t,{pt:()=>c,Qr:()=>d,c4:()=>g,lI:()=>v,xW:()=>m,W_:()=>a,tl:()=>l});var i=r(3433),s=r(7185);function n(e,t,r,i){return e.params.createElements&&Object.keys(i).forEac
vendor: 37,057 bytes, line 2
2h((n=>{if(!r[n]&&!0===r.auto){let a=(0,s.e)(e.el,`.${i[n]}`)[0];a||(a=(0,s.c)("div",i[n]),a.className=i[n],e.el.append(a)),r[n]=a,t[n]=a}})),r}function a(e){let{swiper:t,extendParams:r,on:i,emit:s}=e;r({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};const a=e=>(Array.isArray(e)?e:[e]).filter((e=>!!e));function o(e){let r;return e&&"string"==typeof e&&t.isElement&&(r=t.el.querySelector(e),r)?r:(e&&("string"==typeof e&&(r=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&r.length>1&&1===t.el.querySelectorAll(e).length&&(r=t.el.querySelector(e))),e&&!r?e:r)}function l(e,r){const i=t.params.navigation;(e=a(e)).forEach((e=>{e&&(e.classList[r?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=r),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass))}))}function d(){const{nextEl:e,prevEl:r}=t.navigation;if(t.params.loop)return l(r,!1),void l(e,!1);l(r,t.isBeginning&&!t.params.rewind),l(e,t.isEnd&&!t.params.rewind)}function c(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),s("navigationPrev"))}function p(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),s("navigationNext"))}function u(){const e=t.params.navigation;if(t.params.navigation=n(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let r=o(e.nextEl),i=o(e.prevEl);Object.assign(t.navigation,{nextEl:r,prevEl:i}),r=a(r),i=a(i);const s=(r,i)=>{r&&r.addEventListener("click","next"===i?p:c),!t.enabled&&r&&r.classList.add(...e.lockClass.split(" "))};r.forEach((e=>s(e,"next"))),i.forEach((e=>s(e,"prev")))}function f(){let{nextEl:e,prevEl:r}=t.navigation;e=a(e),r=a(r);const i=(e,r)=>{e.removeEventListener("click","next"===r?p:c),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach((e=>i(e,"next"))),r.forEach((e=>i(e,"prev")))}i("init",(()=>{!1===t.params.navigation.enabled?m():(u(),d())})),i("toEdge fromEdge lock unlock",(()=>{d()})),i("destroy",(()=>{f()})),i("enable disable",(()=>{let{nextEl:e,prevEl:r}=t.navigation;e=a(e),r=a(r),t.enabled?d():[...e,...r].filter((e=>!!e)).forEach((e=>e.classList.add(t.params.navigation.lockClass)))})),i("click",((e,r)=>{let{nextEl:i,prevEl:n}=t.navigation;i=a(i),n=a(n);const o=r.target;if(t.params.navigation.hideOnClick&&!n.includes(o)&&!i.includes(o)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===o||t.pagination.el.contains(o)))return;let e;i.length?e=i[0].classList.contains(t.params.navigation.hiddenClass):n.length&&(e=n[0].classList.contains(t.params.navigation.hiddenClass)),s(!0===e?"navigationShow":"navigationHide"),[...i,...n].filter((e=>!!e)).forEach((e=>e.classList.toggle(t.params.navigation.hiddenClass)))}}));const m=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),f()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),u(),d()},disable:m,update:d,init:u,destroy:f})}function o(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function l(e){let{swiper:t,extendParams:r,on:i,emit:a}=e;const l="swiper-pagination";let d;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:e=>e,formatFractionTotal:e=>e,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),t.pagination={el:null,bullets:[]};let c=0;const p=e=>(Array.isArray(e)?e:[e]).filter((e=>!!e));function u(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function f(e,r){const{bulletActiveClass:i}=t.params.pagination;e&&(e=e[("prev"===r?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${i}-${r}`),(e=e[("prev"===r?"previous":"next")+"ElementSibling"])&&e.classList.add(`${i}-${r}-${r}`))}function m(e){const r=e.target.closest(o(t.params.pagination.bulletClass));if(!r)return;e.preventDefault();const i=(0,s.g)(r)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===i)return;t.slideToLoop(i)}else t.slideTo(i)}function h(){const e=t.rtl,r=t.params.pagination;if(u())return;let i,n,l=t.pagination.el;l=p(l);const m=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,h=t.params.loop?Math.ceil(m/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(n=t.previousRealIndex||0,i=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(i=t.snapIndex,n=t.previousSnapIndex):(n=t.previousIndex||0,i=t.activeIndex||0),"bullets"===r.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const a=t.pagination.bullets;let o,p,u;if(r.dynamicBullets&&(d=(0,s.f)(a[0],t.isHorizontal()?"width":"height",!0),l.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=d*(r.dynamicMainBullets+4)+"px"})),r.dynamicMainBullets>1&&void 0!==n&&(c+=i-(n||0),c>r.dynamicMainBullets-1?c=r.dynamicMainBullets-1:c<0&&(c=0)),o=Math.max(i-c,0),p=o+(Math.min(a.length,r.dynamicMainBullets)-1),u=(p+o)/2),a.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${r.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),l.length>1)a.forEach((e=>{const n=(0,s.g)(e);n===i?e.classList.add(...r.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),r.dynamicBullets&&(n>=o&&n<=p&&e.classList.add(...`${r.bulletActiveClass}-main`.split(" ")),n===o&&f(e,"prev"),n===p&&f(e,"next"))}));else{const e=a[i];if(e&&e.classList.add(...r.bulletActiveClass.split(" ")),t.isElement&&a.forEach(((e,t)=>{e.setAttribute("part",t===i?"bullet-active":"bullet")})),r.dynamicBullets){const e=a[o],t=a[p];for(let e=o;e<=p;e+=1)a[e]&&a[e].classList.add(...`${r.bulletActiveClass}-main`.split(" "));f(e,"prev"),f(t,"next")}}if(r.dynamicBullets){const i=Math.min(a.length,r.dynamicMainBullets+4),s=(d*i-d)/2-u*d,n=e?"right":"left";a.forEach((e=>{e.style[t.isHorizontal()?n:"top"]=`${s}px`}))}}l.forEach(((e,s)=>{if("fraction"===r.type&&(e.querySelectorAll(o(r.currentClass)).forEach((e=>{e.textContent=r.formatFractionCurrent(i+1)})),e.querySelectorAll(o(r.totalClass)).forEach((e=>{e.textContent=r.formatFractionTotal(h)}))),"progressbar"===r.type){let s;s=r.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const n=(i+1)/h;let a=1,l=1;"horizontal"===s?a=n:l=n,e.querySelectorAll(o(r.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${l})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===r.type&&r.renderCustom?(e.innerHTML=r.renderCustom(t,i+1,h),0===s&&a("paginationRender",e)):(0===s&&a("paginationRender",e),a("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](r.lockClass)}))}function v(){const e=t.params.pagination;if(u())return;const r=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 i=t.pagination.el;i=p(i);let s="";if("bullets"===e.type){let i=t.params.loop?Math.ceil(r/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&i>r&&(i=r);for(let r=0;r<i;r+=1)e.renderBullet?s+=e.renderBullet.call(t,r,e.bulletClass):s+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(s=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(s=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],i.forEach((r=>{"custom"!==e.type&&(r.innerHTML=s||""),"bullets"===e.type&&t.pagination.bullets.push(...r.querySelectorAll(o(e.bulletClass)))})),"custom"!==e.type&&a("paginationRender",i[0])}function g(){t.params.pagination=n(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let r;"string"==typeof e.el&&t.isElement&&(r=t.el.querySelector(e.el)),r||"string"!=typeof e.el||(r=[...document.querySelectorAll(e.el)]),r||(r=e.el),r&&0!==r.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(r)&&r.length>1&&(r=[...t.el.querySelectorAll(e.el)],r.length>1&&(r=r.filter((e=>(0,s.a)(e,".swiper")[0]===t.el))[0])),Array.isArray(r)&&1===r.length&&(r=r[0]),Object.assign(t.pagination,{el:r}),r=p(r),r.forEach((r=>{"bullets"===e.type&&e.clickable&&r.classList.add(...(e.clickableClass||"").split(" ")),r.classList.add(e.modifierClass+e.type),r.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(r.classList.add(`${e.modifierClass}${e.type}-dynamic`),c=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&r.classList.add(e.progressbarOppositeClass),e.clickable&&r.addEventListener("click",m),t.enabled||r.classList.add(e.lockClass)})))}function y(){const e=t.params.pagination;if(u())return;let r=t.pagination.el;r&&(r=p(r),r.forEach((r=>{r.classList.remove(e.hiddenClass),r.classList.remove(e.modifierClass+e.type),r.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(r.classList.remove(...(e.clickableClass||"").split(" ")),r.removeEventListener("click",m))}))),t.pagination.bullets&&t.pagination.bullets.forEach((t=>t.classList.remove(...e.bulletActiveClass.split(" "))))}i("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:r}=t.pagination;r=p(r),r.forEach((r=>{r.classList.remove(e.horizontalClass,e.verticalClass),r.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),i("init",(()=>{!1===t.params.pagination.enabled?w():(g(),v(),h())})),i("activeIndexChange",(()=>{void 0===t.snapIndex&&h()})),i("snapIndexChange",(()=>{h()})),i("snapGridLengthChange",(()=>{v(),h()})),i("destroy",(()=>{y()})),i("enable disable",(()=>{let{el:e}=t.pagination;e&&(e=p(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),i("lock unlock",(()=>{h()})),i("click",((e,r)=>{const i=r.target,s=p(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&s&&s.length>0&&!i.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&i===t.navigation.nextEl||t.navigation.prevEl&&i===t.navigation.prevEl))return;const e=s[0].classList.contains(t.params.pagination.hiddenClass);a(!0===e?"paginationShow":"paginationHide"),s.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const w=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=p(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),y()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=p(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),g(),v(),h()},disable:w,render:v,update:h,init:g,destroy:y})}function d(e){let{swiper:t,extendParams:r,on:i}=e;function n(e,t){const r=function(){let e,t,r;return(i,s)=>{for(t=-1,e=i.length;e-t>1;)r=e+t>>1,i[r]<=s?t=r:e=r;return e}}();let i,s;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(s=r(this.x,e),i=s-1,(e-this.x[i])*(this.y[s]-this.y[i])/(this.x[s]-this.x[i])+this.y[i]):0},this}function a(){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},i("beforeInit",(()=>{if("undefined"!=typeof window&&("string"==typeof t.params.controller.control||t.params.controller.control instanceof HTMLElement)){const e=document.querySelector(t.params.controller.control);if(e&&e.swiper)t.controller.control=e.swiper;else if(e){const r=i=>{t.controller.control=i.detail[0],t.update(),e.removeEventListener("init",r)};e.addEventListener("init",r)}}else t.controller.control=t.params.controller.control})),i("update",(()=>{a()})),i("resize",(()=>{a()})),i("observerUpdate",(()=>{a()})),i("setTranslate",((e,r,i)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTranslate(r,i)})),i("setTransition",((e,r,i)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTransition(r,i)})),Object.assign(t.controller,{setTranslate:function(e,r){const i=t.controller.control;let s,a;const o=t.constructor;function l(e){if(e.destroyed)return;const r=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(!function(e){t.controller.spline=t.params.loop?new n(t.slidesGrid,e.slidesGrid):new n(t.snapGrid,e.snapGrid)}(e),a=-t.controller.spline.interpolate(-r)),a&&"container"!==t.params.controller.by||(s=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()),!Number.isNaN(s)&&Number.isFinite(s)||(s=1),a=(r-t.minTranslate())*s+e.minTranslate()),t.params.controller.inverse&&(a=e.maxTranslate()-a),e.updateProgress(a),e.setTranslate(a,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(i))for(let e=0;e<i.length;e+=1)i[e]!==r&&i[e]instanceof o&&l(i[e]);else i instanceof o&&r!==i&&l(i)},setTransition:function(e,r){const i=t.constructor,n=t.controller.control;let a;function o(r){r.destroyed||(r.setTransition(e,t),0!==e&&(r.transitionStart(),r.params.autoHeight&&(0,s.n)((()=>{r.updateAutoHeight()})),(0,s.j)(r.wrapperEl,(()=>{n&&r.transitionEnd()}))))}if(Array.isArray(n))for(a=0;a<n.length;a+=1)n[a]!==r&&n[a]instanceof i&&o(n[a]);else n instanceof i&&r!==n&&o(n)}})}function c(e){let t,r,{swiper:s,extendParams:n,on:a,emit:o,params:l}=e;s.autoplay={running:!1,paused:!1,timeLeft:0},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let d,c,p,u,f,m,h,v,g=l&&l.autoplay?l.autoplay.delay:3e3,y=l&&l.autoplay?l.autoplay.delay:3e3,w=(new Date).getTime();function b(e){s&&!s.destroyed&&s.wrapperEl&&e.target===s.wrapperEl&&(s.wrapperEl.removeEventListener("transitionend",b),v||M())}const S=()=>{if(s.destroyed||!s.autoplay.running)return;s.autoplay.paused?c=!0:c&&(y=d,c=!1);const e=s.autoplay.paused?d:w+y-(new Date).getTime();s.autoplay.timeLeft=e,o("autoplayTimeLeft",e,e/g),r=requestAnimationFrame((()=>{S()}))},T=e=>{if(s.destroyed||!s.autoplay.running)return;cancelAnimationFrame(r),S();let i=void 0===e?s.params.autoplay.delay:e;g=s.params.autoplay.delay,y=s.params.autoplay.delay;const n=(()=>{let e;if(e=s.virtual&&s.params.virtual.enabled?s.slides.filter((e=>e.classList.contains("swiper-slide-active")))[0]:s.slides[s.activeIndex],!e)return;return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(n)&&n>0&&void 0===e&&(i=n,g=n,y=n),d=i;const a=s.params.speed,l=()=>{s&&!s.destroyed&&(s.params.autoplay.reverseDirection?!s.isBeginning||s.params.loop||s.params.rewind?(s.slidePrev(a,!0,!0),o("autoplay")):s.params.autoplay.stopOnLastSlide||(s.slideTo(s.slides.length-1,a,!0,!0),o("autoplay")):!s.isEnd||s.params.loop||s.params.rewind?(s.slideNext(a,!0,!0),o("autoplay")):s.params.autoplay.stopOnLastSlide||(s.slideTo(0,a,!0,!0),o("autoplay")),s.params.cssMode&&(w=(new Date).getTime(),requestAnimationFrame((()=>{T()}))))};return i>0?(clearTimeout(t),t=setTimeout((()=>{l()}),i)):requestAnimationFrame((()=>{l()})),i},x=()=>{w=(new Date).getTime(),s.autoplay.running=!0,T(),o("autoplayStart")},E=()=>{s.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(r),o("autoplayStop")},C=(e,r)=>{if(s.destroyed||!s.autoplay.running)return;clearTimeout(t),e||(h=!0);const i=()=>{o("autoplayPause"),s.params.autoplay.waitForTransition?s.wrapperEl.addEventListener("transitionend",b):M()};if(s.autoplay.paused=!0,r)return m&&(d=s.params.autoplay.delay),m=!1,void i();const n=d||s.params.autoplay.delay;d=n-((new Date).getTime()-w),s.isEnd&&d<0&&!s.params.loop||(d<0&&(d=0),i())},M=()=>{s.isEnd&&d<0&&!s.params.loop||s.destroyed||!s.autoplay.running||(w=(new Date).getTime(),h?(h=!1,T(d)):T(),s.autoplay.paused=!1,o("autoplayResume"))},P=()=>{if(s.destroyed||!s.autoplay.running)return;const e=(0,i.g)();"hidden"===e.visibilityState&&(h=!0,C(!0)),"visible"===e.visibilityState&&M()},L=e=>{"mouse"===e.pointerType&&(h=!0,v=!0,s.animating||s.autoplay.paused||C(!0))},k=e=>{"mouse"===e.pointerType&&(v=!1,s.autoplay.paused&&M())};a("init",(()=>{s.params.autoplay.enabled&&(s.params.autoplay.pauseOnMouseEnter&&(s.el.addEventListener("pointerenter",L),s.el.addEventListener("pointerleave",k)),(0,i.g)().addEventListener("visibilitychange",P),x())})),a("destroy",(()=>{s.el.removeEventListener("pointerenter",L),s.el.removeEventListener("pointerleave",k),(0,i.g)().removeEventListener("visibilitychange",P),s.autoplay.running&&E()})),a("_freeModeStaticRelease",(()=>{(u||h)&&M()})),a("_freeModeNoMomentumRelease",(()=>{s.params.autoplay.disableOnInteraction?E():C(!0,!0)})),a("beforeTransitionStart",((e,t,r)=>{!s.destroyed&&s.autoplay.running&&(r||!s.params.autoplay.disableOnInteraction?C(!0,!0):E())})),a("sliderFirstMove",(()=>{!s.destroyed&&s.autoplay.running&&(s.params.autoplay.disableOnInteraction?E():(p=!0,u=!1,h=!1,f=setTimeout((()=>{h=!0,u=!0,C(!0)}),200)))})),a("touchEnd",(()=>{if(!s.destroyed&&s.autoplay.running&&p){if(clearTimeout(f),clearTimeout(t),s.params.autoplay.disableOnInteraction)return u=!1,void(p=!1);u&&s.params.cssMode&&M(),u=!1,p=!1}})),a("slideChange",(()=>{!s.destroyed&&s.autoplay.running&&(m=!0)})),Object.assign(s.autoplay,{start:x,stop:E,pause:C,resume:M})}function p(e){const{effect:t,swiper:r,on:i,setTranslate:s,setTransition:n,overwriteParams:a,perspective:o,recreateShadows:l,getEffectParams:d}=e;let c;i("beforeInit",(()=>{if(r.params.effect!==t)return;r.classNames.push(`${r.params.containerModifierClass}${t}`),o&&o()&&r.classNames.push(`${r.params.containerModifierClass}3d`);const e=a?a():{};Object.assign(r.params,e),Object.assign(r.originalParams,e)})),i("setTranslate",(()=>{r.params.effect===t&&s()})),i("setTransition",((e,i)=>{r.params.effect===t&&n(i)})),i("transitionEnd",(()=>{if(r.params.effect===t&&l){if(!d||!d().slideShadows)return;r.slides.forEach((e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((e=>e.remove()))})),l()}})),i("virtualUpdate",(()=>{r.params.effect===t&&(r.slides.length||(c=!0),requestAnimationFrame((()=>{c&&r.slides&&r.slides.length&&(s(),c=!1)})))}))}function u(e,t){const r=(0,s.l)(t);return r!==t&&(r.style.backfaceVisibility="hidden",r.style["-webkit-backface-visibility"]="hidden"),r}function f(e){let{swiper:t,duration:r,transformElements:i,allSlides:n}=e;const{activeIndex:a}=t;if(t.params.virtualTranslate&&0!==r){let e,r=!1;e=n?i:i.filter((e=>{const r=e.classList.contains("swiper-slide-transform")?(e=>{if(!e.parentElement)return t.slides.filter((t=>t.shadowRoot&&t.shadowRoot===e.parentNode))[0];return e.parentElement})(e):e;return t.getSlideIndex(r)===a})),e.forEach((e=>{(0,s.j)(e,(()=>{if(r)return;if(!t||t.destroyed)return;r=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)}))}))}}function m(e){let{swiper:t,extendParams:r,on:i}=e;r({fadeEffect:{crossFade:!1}});p({effect:"fade",swiper:t,on:i,setTranslate:()=>{const{slides:e}=t;t.params.fadeEffect;for(let r=0;r<e.length;r+=1){const e=t.slides[r];let i=-e.swiperSlideOffset;t.params.virtualTranslate||(i-=t.translate);let s=0;t.isHorizontal()||(s=i,i=0);const n=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e.progress),0):1+Math.min(Math.max(e.progress,-1),0),a=u(0,e);a.style.opacity=n,a.style.transform=`translate3d(${i}px, ${s}px, 0px)`}},setTransition:e=>{const r=t.slides.map((e=>(0,s.l)(e)));r.forEach((t=>{t.style.transitionDuration=`${e}ms`})),f({swiper:t,duration:e,transformElements:r,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function h(e,t,r){const i=`swiper-slide-shadow${r?`-${r}`:""}${e?` swiper-slide-shadow-${e}`:""}`,n=(0,s.l)(t);let a=n.querySelector(`.${i.split(" ").join(".")}`);return a||(a=(0,s.c)("div",i.split(" ")),n.append(a)),a}function v(e){let{swiper:t,extendParams:r,on:i}=e;r({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}});p({effect:"coverflow",swiper:t,on:i,setTranslate:()=>{const{width:e,height:r,slides:i,slidesSizesGrid:s}=t,n=t.params.coverflowEffect,a=t.isHorizontal(),o=t.translate,l=a?e/2-o:r/2-o,d=a?n.rotate:-n.rotate,c=n.depth;for(let e=0,r=i.length;e<r;e+=1){const r=i[e],o=s[e],p=(l-r.swiperSlideOffset-o/2)/o,f="function"==typeof n.modifier?n.modifier(p):p*n.modifier;let m=a?d*f:0,v=a?0:d*f,g=-c*Math.abs(f),y=n.stretch;"string"==typeof y&&-1!==y.indexOf("%")&&(y=parseFloat(n.stretch)/100*o);let w=a?0:y*f,b=a?y*f:0,S=1-(1-n.scale)*Math.abs(f);Math.abs(b)<.001&&(b=0),Math.abs(w)<.001&&(w=0),Math.abs(g)<.001&&(g=0),Math.abs(m)<.001&&(m=0),Math.abs(v)<.001&&(v=0),Math.abs(S)<.001&&(S=0),t.browser&&t.browser.isSafari&&(Math.abs(m)/90%2==1&&(m+=.001),Math.abs(v)/90%2==1&&(v+=.001));const T=`translate3d(${b}px,${w}px,${g}px)  rotateX(${v}deg) rotateY(${m}deg) scale(${S})`;if(u(0,r).style.transform=T,r.style.zIndex=1-Math.abs(Math.round(f)),n.slideShadows){let e=a?r.querySelector(".swiper-slide-shadow-left"):r.querySelector(".swiper-slide-shadow-top"),t=a?r.querySelector(".swiper-slide-shadow-right"):r.querySelector(".swiper-slide-shadow-bottom");e||(e=h("coverflow",r,a?"left":"top")),t||(t=h("coverflow",r,a?"right":"bottom")),e&&(e.style.opacity=f>0?f:0),t&&(t.style.opacity=-f>0?-f:0)}}},setTransition:e=>{t.slides.map((e=>(0,s.l)(e))).forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))}))},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function g(e){let{swiper:t,extendParams:r,on:i}=e;r({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}});p({effect:"cards",swiper:t,on:i,setTranslate:()=>{const{slides:e,activeIndex:r,rtlTranslate:i}=t,s=t.params.cardsEffect,{startTranslate:n,isTouched:a}=t.touchEventsData,o=i?-t.translate:t.translate;for(let l=0;l<e.length;l+=1){const d=e[l],c=d.progress,p=Math.min(Math.max(c,-4),4);let f=d.swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&(t.wrapperEl.style.transform=`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(f-=e[0].swiperSlideOffset);let m=t.params.cssMode?-f-t.translate:-f,v=0;const g=-100*Math.abs(p);let y=1,w=-s.perSlideRotate*p,b=s.perSlideOffset-.75*Math.abs(p);const S=t.virtual&&t.params.virtual.enabled?t.virtual.from+l:l,T=(S===r||S===r-1)&&p>0&&p<1&&(a||t.params.cssMode)&&o<n,x=(S===r||S===r+1)&&p<0&&p>-1&&(a||t.params.cssMode)&&o>n;if(T||x){const e=(1-Math.abs((Math.abs(p)-.5)/.5))**.5;w+=-28*p*e,y+=-.5*e,b+=96*e,v=-25*e*Math.abs(p)+"%"}if(m=p<0?`calc(${m}px ${i?"-":"+"} (${b*Math.abs(p)}%))`:p>0?`calc(${m}px ${i?"-":"+"} (-${b*Math.abs(p)}%))`:`${m}px`,!t.isHorizontal()){const e=v;v=m,m=e}const E=p<0?""+(1+(1-y)*p):""+(1-(1-y)*p),C=`\n        translate3d(${m}, ${v}, ${g}px)\n        rotateZ(${s.rotate?i?-w:w:0}deg)\n        scale(${E})\n      `;if(s.slideShadows){let e=d.querySelector(".swiper-slide-shadow");e||(e=h("cards",d)),e&&(e.style.opacity=Math.min(Math.max((Math.abs(p)-.5)/.5,0),1))}d.style.zIndex=-Math.abs(Math.round(c))+e.length;u(0,d).style.transform=C}},setTransition:e=>{const r=t.slides.map((e=>(0,s.l)(e)));r.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),f({swiper:t,duration:e,transformElements:r})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}},3433:(e,t,r)=>{function i(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function s(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((r=>{void 0===e[r]?e[r]=t[r]:i(t[r])&&i(e[r])&&Object.keys(t[r]).length>0&&s(e[r],t[r])}))}r.d(t,{a:()=>l,g:()=>a});const n={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){const e="undefined"!=typeof document?document:{};return s(e,n),e}const o={document:n,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){const e="undefined"!=typeof window?window:{};return s(e,o),e}},7185:(e,t,r)=>{r.d(t,{a:()=>b,c:()=>h,d:()=>a,e:()=>f,f:()=>T,g:()=>w,i:()=>o,j:()=>S,l:()=>u,m:()=>y,n:()=>n,o:()=>g,p:()=>v,q:()=>p,r:()=>m,s:()=>c,t:()=>d,u:()=>s});var i=r(3433);function s(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}function n(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function a(){return Date.now()}function o(e,t){void 0===t&&(t="x");const r=(0,i.a)();let s,n,a;const o=function(e){const t=(0,i.a)();let r;return t.getComputedStyle&&(r=t.getComputedStyle(e,null)),!r&&e.currentStyle&&(r=e.currentStyle),r||(r=e.style),r}(e);return r.WebKitCSSMatrix?(n=o.transform||o.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map((e=>e.replace(",","."))).join(", ")),a=new r.WebKitCSSMatrix("none"===n?"":n)):(a=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=a.toString().split(",")),"x"===t&&(n=r.WebKitCSSMatrix?a.m41:16===s.length?parseFloat(s[12]):parseFloat(s[4])),"y"===t&&(n=r.WebKitCSSMatrix?a.m42:16===s.length?parseFloat(s[13]):parseFloat(s[5])),n||0}function l(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function d(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const s=i<0||arguments.length<=i?void 0:arguments[i];if(null!=s&&(r=s,!("undefined"!=typeof window&&void 0!==window.HTMLElement?r instanceof HTMLElement:r&&(1===r.nodeType||11===r.nodeType)))){const r=Object.keys(Object(s)).filter((e=>t.indexOf(e)<0));for(let t=0,i=r.length;t<i;t+=1){const i=r[t],n=Object.getOwnPropertyDescriptor(s,i);void 0!==n&&n.enumerable&&(l(e[i])&&l(s[i])?s[i].__swiper__?e[i]=s[i]:d(e[i],s[i]):!l(e[i])&&l(s[i])?(e[i]={},s[i].__swiper__?e[i]=s[i]:d(e[i],s[i])):e[i]=s[i])}}}var r;return e}function c(e,t,r){e.style.setProperty(t,r)}function p(e){let{swiper:t,targetPosition:r,side:s}=e;const n=(0,i.a)(),a=-t.translate;let o,l=null;const d=t.params.speed;t.wrapperEl.style.scrollSnapType="none",n.cancelAnimationFrame(t.cssModeFrameID);const c=r>a?"next":"prev",p=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{o=(new Date).getTime(),null===l&&(l=o);const e=Math.max(Math.min((o-l)/d,1),0),i=.5-Math.cos(e*Math.PI)/2;let c=a+i*(r-a);if(p(c,r)&&(c=r),t.wrapperEl.scrollTo({[s]:c}),p(c,r))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[s]:c})})),void n.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=n.requestAnimationFrame(u)};u()}function u(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function f(e,t){return void 0===t&&(t=""),[...e.children].filter((e=>e.matches(t)))}function m(e){try{return void console.warn(e)}catch(e){}}function h(e,t){void 0===t&&(t=[]);const r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:function(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}(t)),r}function v(e,t){const r=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;t?i.matches(t)&&r.push(i):r.push(i),e=i}return r}function g(e,t){const r=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;t?i.matches(t)&&r.push(i):r.push(i),e=i}return r}function y(e,t){return(0,i.a)().getComputedStyle(e,null).getPropertyValue(t)}function w(e){let t,r=e;if(r){for(t=0;null!==(r=r.previousSibling);)1===r.nodeType&&(t+=1);return t}}function b(e,t){const r=[];let i=e.parentElement;for(;i;)t?i.matches(t)&&r.push(i):r.push(i),i=i.parentElement;return r}function S(e,t){t&&e.addEventListener("transitionend",(function r(i){i.target===e&&(t.call(e,i),e.removeEventListener("transitionend",r))}))}function T(e,t,r){const s=(0,i.a)();return r?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}},9977:(e,t,r)=>{r.d(t,{Z:()=>D});var i=r(3433),s=r(7185);let n,a,o;function l(){return n||(n=function(){const e=(0,i.a)(),t=(0,i.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),n}function d(e){return void 0===e&&(e={}),a||(a=function(e){let{userAgent:t}=void 0===e?{}:e;const r=l(),s=(0,i.a)(),n=s.navigator.platform,a=t||s.navigator.userAgent,o={ios:!1,android:!1},d=s.screen.width,c=s.screen.height,p=a.match(/(Android);?[\s\/]+([\d.]+)?/);let u=a.match(/(iPad).*OS\s([\d_]+)/);const f=a.match(/(iPod)(.*OS\s([\d_]+))?/),m=!u&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===n;let v="MacIntel"===n;return!u&&v&&r.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${d}x${c}`)>=0&&(u=a.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),v=!1),p&&!h&&(o.os="android",o.android=!0),(u||m||f)&&(o.os="ios",o.ios=!0),o}(e)),a}function c(){return o||(o=function(){const e=(0,i.a)();let t=!1;function r(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(r()){const r=String(e.navigator.userAgent);if(r.includes("Version/")){const[e,i]=r.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));t=e<16||16===e&&i<2}}return{isSafari:t||r(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),o}var p={on(e,t,r){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const s=r?"unshift":"push";return e.split(" ").forEach((e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][s](t)})),i},once(e,t,r){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function s(){i.off(e,s),s.__emitterProxy&&delete s.__emitterProxy;for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];t.apply(i,n)}return s.__emitterProxy=t,i.on(e,s,r)},onAny(e,t){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof e)return r;const i=t?"unshift":"push";return r.eventsAnyListeners.indexOf(e)<0&&r.eventsAnyListeners[i](e),r},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const r=t.eventsAnyListeners.indexOf(e);return r>=0&&t.eventsAnyListeners.splice(r,1),t},off(e,t){const r=this;return!r.eventsListeners||r.destroyed?r:r.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].forEach(((i,s)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&r.eventsListeners[e].splice(s,1)}))})),r):r},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,r,i;for(var s=arguments.length,n=new Array(s),a=0;a<s;a++)n[a]=arguments[a];"string"==typeof n[0]||Array.isArray(n[0])?(t=n[0],r=n.slice(1,n.length),i=e):(t=n[0].events,r=n[0].data,i=n[0].context||e),r.unshift(i);return(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(i,[t,...r])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(i,r)}))})),e}};const u=(e,t)=>{if(!e||e.destroyed||!e.params)return;const r=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(r){let t=r.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(r.shadowRoot?t=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{r.shadowRoot&&(t=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},f=(e,t)=>{if(!e.slides[t])return;const r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},m=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const r=e.slides.length;if(!r||!t||t<0)return;t=Math.min(t,r);const i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),s=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const r=s,n=[r-t];return n.push(...Array.from({length:t}).map(((e,t)=>r+i+t))),void e.slides.forEach(((t,r)=>{n.includes(t.column)&&f(e,r)}))}const n=s+i-1;if(e.params.rewind||e.params.loop)for(let i=s-t;i<=n+t;i+=1){const t=(i%r+r)%r;(t<s||t>n)&&f(e,t)}else for(let i=Math.max(s-t,0);i<=Math.min(n+t,r-1);i+=1)i!==s&&(i>n||i<s)&&f(e,i)};var h={updateSize:function(){const e=this;let t,r;const i=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:i.clientWidth,r=void 0!==e.params.height&&null!==e.params.height?e.params.height:i.clientHeight,0===t&&e.isHorizontal()||0===r&&e.isVertical()||(t=t-parseInt((0,s.m)(i,"padding-left")||0,10)-parseInt((0,s.m)(i,"padding-right")||0,10),r=r-parseInt((0,s.m)(i,"padding-top")||0,10)-parseInt((0,s.m)(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(r)&&(r=0),Object.assign(e,{width:t,height:r,size:e.isHorizontal()?t:r}))},updateSlides:function(){const e=this;function t(t,r){return parseFloat(t.getPropertyValue(e.getDirectionLabel(r))||0)}const r=e.params,{wrapperEl:i,slidesEl:n,size:a,rtlTranslate:o,wrongRTL:l}=e,d=e.virtual&&r.virtual.enabled,c=d?e.virtual.slides.length:e.slides.length,p=(0,s.e)(n,`.${e.params.slideClass}, swiper-slide`),u=d?e.virtual.slides.length:p.length;let f=[];const m=[],h=[];let v=r.slidesOffsetBefore;"function"==typeof v&&(v=r.slidesOffsetBefore.call(e));let g=r.slidesOffsetAfter;"function"==typeof g&&(g=r.slidesOffsetAfter.call(e));const y=e.snapGrid.length,w=e.slidesGrid.length;let b=r.spaceBetween,S=-v,T=0,x=0;if(void 0===a)return;"string"==typeof b&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*a:"string"==typeof b&&(b=parseFloat(b)),e.virtualSize=-b,p.forEach((e=>{o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),r.centeredSlides&&r.cssMode&&((0,s.s)(i,"--swiper-centered-offset-before",""),(0,s.s)(i,"--swiper-centered-offset-after",""));const E=r.grid&&r.grid.rows>1&&e.grid;let C;E?e.grid.initSlides(p):e.grid&&e.grid.unsetSlides();const M="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter((e=>void 0!==r.breakpoints[e].slidesPerView)).length>0;for(let i=0;i<u;i+=1){let n;if(C=0,p[i]&&(n=p[i]),E&&e.grid.updateSlide(i,n,p),!p[i]||"none"!==(0,s.m)(n,"dis
2play")){if("auto"===r.slidesPerView){M&&(p[i].style[e.getDirectionLabel("width")]="");const a=getComputedStyle(n),o=n.style.transform,l=n.style.webkitTransform;if(o&&(n.style.transform="none"),l&&(n.style.webkitTransform="none"),r.roundLengths)C=e.isHorizontal()?(0,s.f)(n,"width",!0):(0,s.f)(n,"height",!0);else{const e=t(a,"width"),r=t(a,"padding-left"),i=t(a,"padding-right"),s=t(a,"margin-left"),o=t(a,"margin-right"),l=a.getPropertyValue("box-sizing");if(l&&"border-box"===l)C=e+s+o;else{const{clientWidth:t,offsetWidth:a}=n;C=e+r+i+s+o+(a-t)}}o&&(n.style.transform=o),l&&(n.style.webkitTransform=l),r.roundLengths&&(C=Math.floor(C))}else C=(a-(r.slidesPerView-1)*b)/r.slidesPerView,r.roundLengths&&(C=Math.floor(C)),p[i]&&(p[i].style[e.getDirectionLabel("width")]=`${C}px`);p[i]&&(p[i].swiperSlideSize=C),h.push(C),r.centeredSlides?(S=S+C/2+T/2+b,0===T&&0!==i&&(S=S-a/2-b),0===i&&(S=S-a/2-b),Math.abs(S)<.001&&(S=0),r.roundLengths&&(S=Math.floor(S)),x%r.slidesPerGroup==0&&f.push(S),m.push(S)):(r.roundLengths&&(S=Math.floor(S)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup==0&&f.push(S),m.push(S),S=S+C+b),e.virtualSize+=C+b,T=C,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,a)+g,o&&l&&("slide"===r.effect||"coverflow"===r.effect)&&(i.style.width=`${e.virtualSize+b}px`),r.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=`${e.virtualSize+b}px`),E&&e.grid.updateWrapperSize(C,f),!r.centeredSlides){const t=[];for(let i=0;i<f.length;i+=1){let s=f[i];r.roundLengths&&(s=Math.floor(s)),f[i]<=e.virtualSize-a&&t.push(s)}f=t,Math.floor(e.virtualSize-a)-Math.floor(f[f.length-1])>1&&f.push(e.virtualSize-a)}if(d&&r.loop){const t=h[0]+b;if(r.slidesPerGroup>1){const i=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/r.slidesPerGroup),s=t*r.slidesPerGroup;for(let e=0;e<i;e+=1)f.push(f[f.length-1]+s)}for(let i=0;i<e.virtual.slidesBefore+e.virtual.slidesAfter;i+=1)1===r.slidesPerGroup&&f.push(f[f.length-1]+t),m.push(m[m.length-1]+t),e.virtualSize+=t}if(0===f.length&&(f=[0]),0!==b){const t=e.isHorizontal()&&o?"marginLeft":e.getDirectionLabel("marginRight");p.filter(((e,t)=>!(r.cssMode&&!r.loop)||t!==p.length-1)).forEach((e=>{e.style[t]=`${b}px`}))}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;h.forEach((t=>{e+=t+(b||0)})),e-=b;const t=e-a;f=f.map((e=>e<=0?-v:e>t?t+g:e))}if(r.centerInsufficientSlides){let e=0;if(h.forEach((t=>{e+=t+(b||0)})),e-=b,e<a){const t=(a-e)/2;f.forEach(((e,r)=>{f[r]=e-t})),m.forEach(((e,r)=>{m[r]=e+t}))}}if(Object.assign(e,{slides:p,snapGrid:f,slidesGrid:m,slidesSizesGrid:h}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){(0,s.s)(i,"--swiper-centered-offset-before",-f[0]+"px"),(0,s.s)(i,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],r=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+r))}if(u!==c&&e.emit("slidesLengthChange"),f.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),m.length!==w&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),!(d||r.cssMode||"slide"!==r.effect&&"fade"!==r.effect)){const t=`${r.containerModifierClass}backface-hidden`,i=e.el.classList.contains(t);u<=r.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,r=[],i=t.virtual&&t.params.virtual.enabled;let s,n=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=e=>i?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{r.push(e)}));else for(s=0;s<Math.ceil(t.params.slidesPerView);s+=1){const e=t.activeIndex+s;if(e>t.slides.length&&!i)break;r.push(a(e))}else r.push(a(t.activeIndex));for(s=0;s<r.length;s+=1)if(void 0!==r[s]){const e=r[s].offsetHeight;n=e>n?e:n}(n||0===n)&&(t.wrapperEl.style.height=`${n}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,r=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=(e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop)-r-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,r=t.params,{slides:i,rtlTranslate:s,snapGrid:n}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;
vendor: 26,525 bytes, line 2
2s&&(a=e),i.forEach((e=>{e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass)})),t.visibleSlidesIndexes=[],t.visibleSlides=[];let o=r.spaceBetween;"string"==typeof o&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*t.size:"string"==typeof o&&(o=parseFloat(o));for(let e=0;e<i.length;e+=1){const l=i[e];let d=l.swiperSlideOffset;r.cssMode&&r.centeredSlides&&(d-=i[0].swiperSlideOffset);const c=(a+(r.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o),p=(a-n[0]+(r.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o),u=-(a-d),f=u+t.slidesSizesGrid[e],m=u>=0&&u<=t.size-t.slidesSizesGrid[e];(u>=0&&u<t.size-1||f>1&&f<=t.size||u<=0&&f>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e),i[e].classList.add(r.slideVisibleClass)),m&&i[e].classList.add(r.slideFullyVisibleClass),l.progress=s?-c:c,l.originalProgress=s?-p:p}},updateProgress:function(e){const t=this;if(void 0===e){const r=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*r||0}const r=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:s,isBeginning:n,isEnd:a,progressLoop:o}=t;const l=n,d=a;if(0===i)s=0,n=!0,a=!0;else{s=(e-t.minTranslate())/i;const r=Math.abs(e-t.minTranslate())<1,o=Math.abs(e-t.maxTranslate())<1;n=r||s<=0,a=o||s>=1,r&&(s=0),o&&(s=1)}if(r.loop){const r=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),s=t.slidesGrid[r],n=t.slidesGrid[i],a=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);o=l>=s?(l-s)/a:(l+a-n)/a,o>1&&(o-=1)}Object.assign(t,{progress:s,progressLoop:o,isBeginning:n,isEnd:a}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),n&&!l&&t.emit("reachBeginning toEdge"),a&&!d&&t.emit("reachEnd toEdge"),(l&&!n||d&&!a)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){const e=this,{slides:t,params:r,slidesEl:i,activeIndex:n}=e,a=e.virtual&&r.virtual.enabled,o=e.grid&&r.grid&&r.grid.rows>1,l=e=>(0,s.e)(i,`.${r.slideClass}${e}, swiper-slide${e}`)[0];let d,c,p;if(t.forEach((e=>{e.classList.remove(r.slideActiveClass,r.slideNextClass,r.slidePrevClass)})),a)if(r.loop){let t=n-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),d=l(`[data-swiper-slide-index="${t}"]`)}else d=l(`[data-swiper-slide-index="${n}"]`);else o?(d=t.filter((e=>e.column===n))[0],p=t.filter((e=>e.column===n+1))[0],c=t.filter((e=>e.column===n-1))[0]):d=t[n];d&&(d.classList.add(r.slideActiveClass),o?(p&&p.classList.add(r.slideNextClass),c&&c.classList.add(r.slidePrevClass)):(p=(0,s.o)(d,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!p&&(p=t[0]),p&&p.classList.add(r.slideNextClass),c=(0,s.p)(d,`.${r.slideClass}, swiper-slide`)[0],r.loop&&0===!c&&(c=t[t.length-1]),c&&c.classList.add(r.slidePrevClass))),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,r=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:s,activeIndex:n,realIndex:a,snapIndex:o}=t;let l,d=e;const c=e=>{let r=e-t.virtual.slidesBefore;return r<0&&(r=t.virtual.slides.length+r),r>=t.virtual.slides.length&&(r-=t.virtual.slides.length),r};if(void 0===d&&(d=function(e){const{slidesGrid:t,params:r}=e,i=e.rtlTranslate?e.translate:-e.translate;let s;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?i>=t[e]&&i<t[e+1]-(t[e+1]-t[e])/2?s=e:i>=t[e]&&i<t[e+1]&&(s=e+1):i>=t[e]&&(s=e);return r.normalizeSlideIndex&&(s<0||void 0===s)&&(s=0),s}(t)),i.indexOf(r)>=0)l=i.indexOf(r);else{const e=Math.min(s.slidesPerGroupSkip,d);l=e+Math.floor((d-e)/s.slidesPerGroup)}if(l>=i.length&&(l=i.length-1),d===n&&!t.params.loop)return void(l!==o&&(t.snapIndex=l,t.emit("snapIndexChange")));if(d===n&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=c(d));const p=t.grid&&s.grid&&s.grid.rows>1;let u;if(t.virtual&&s.virtual.enabled&&s.loop)u=c(d);else if(p){const e=t.slides.filter((e=>e.column===d))[0];let r=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(r)&&(r=Math.max(t.slides.indexOf(e),0)),u=Math.floor(r/s.grid.rows)}else if(t.slides[d]){const e=t.slides[d].getAttribute("data-swiper-slide-index");u=e?parseInt(e,10):d}else u=d;Object.assign(t,{previousSnapIndex:o,snapIndex:l,previousRealIndex:a,realIndex:u,previousIndex:n,activeIndex:d}),t.initialized&&m(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(a!==u&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const r=this,i=r.params;let s=e.closest(`.${i.slideClass}, swiper-slide`);!s&&r.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!s&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(s=e)}));let n,a=!1;if(s)for(let e=0;e<r.slides.length;e+=1)if(r.slides[e]===s){a=!0,n=e;break}if(!s||!a)return r.clickedSlide=void 0,void(r.clickedIndex=void 0);r.clickedSlide=s,r.virtual&&r.params.virtual.enabled?r.clickedIndex=parseInt(s.getAttribute("data-swiper-slide-index"),10):r.clickedIndex=n,i.slideToClickedSlide&&void 0!==r.clickedIndex&&r.clickedIndex!==r.activeIndex&&r.slideToClickedSlide()}};var v={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:r,translate:i,wrapperEl:n}=this;if(t.virtualTranslate)return r?-i:i;if(t.cssMode)return i;let a=(0,s.i)(n,e);return a+=this.cssOverflowAdjustment(),r&&(a=-a),a||0},setTranslate:function(e,t){const r=this,{rtlTranslate:i,params:s,wrapperEl:n,progress:a}=r;let o,l=0,d=0;r.isHorizontal()?l=i?-e:e:d=e,s.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),r.previousTranslate=r.translate,r.translate=r.isHorizontal()?l:d,s.cssMode?n[r.isHorizontal()?"scrollLeft":"scrollTop"]=r.isHorizontal()?-l:-d:s.virtualTranslate||(r.isHorizontal()?l-=r.cssOverflowAdjustment():d-=r.cssOverflowAdjustment(),n.style.transform=`translate3d(${l}px, ${d}px, 0px)`);const c=r.maxTranslate()-r.minTranslate();o=0===c?0:(e-r.minTranslate())/c,o!==a&&r.updateProgress(e),r.emit("setTranslate",r.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,r,i,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),void 0===i&&(i=!0);const a=this,{params:o,wrapperEl:l}=a;if(a.animating&&o.preventInteractionOnTransition)return!1;const d=a.minTranslate(),c=a.maxTranslate();let p;if(p=i&&e>d?d:i&&e<c?c:e,a.updateProgress(p),o.cssMode){const e=a.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-p;else{if(!a.support.smoothScroll)return(0,s.q)({swiper:a,targetPosition:-p,side:e?"left":"top"}),!0;l.scrollTo({[e?"left":"top"]:-p,behavior:"smooth"})}return!0}return 0===t?(a.setTransition(0),a.setTranslate(p),r&&(a.emit("beforeTransitionStart",t,n),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(p),r&&(a.emit("beforeTransitionStart",t,n),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,r&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}};function g(e){let{swiper:t,runCallbacks:r,direction:i,step:s}=e;const{activeIndex:n,previousIndex:a}=t;let o=i;if(o||(o=n>a?"next":n<a?"prev":"reset"),t.emit(`transition${s}`),r&&n!==a){if("reset"===o)return void t.emit(`slideResetTransition${s}`);t.emit(`slideChangeTransition${s}`),"next"===o?t.emit(`slideNextTransition${s}`):t.emit(`slidePrevTransition${s}`)}}var y={slideTo:function(e,t,r,i,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),"string"==typeof e&&(e=parseInt(e,10));const a=this;let o=e;o<0&&(o=0);const{params:l,snapGrid:d,slidesGrid:c,previousIndex:p,activeIndex:u,rtlTranslate:f,wrapperEl:m,enabled:h}=a;if(a.animating&&l.preventInteractionOnTransition||!h&&!i&&!n)return!1;const v=Math.min(a.params.slidesPerGroupSkip,o);let g=v+Math.floor((o-v)/a.params.slidesPerGroup);g>=d.length&&(g=d.length-1);const y=-d[g];if(l.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*y),r=Math.floor(100*c[e]),i=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=r&&t<i-(i-r)/2?o=e:t>=r&&t<i&&(o=e+1):t>=r&&(o=e)}if(a.initialized&&o!==u){if(!a.allowSlideNext&&(f?y>a.translate&&y>a.minTranslate():y<a.translate&&y<a.minTranslate()))return!1;if(!a.allowSlidePrev&&y>a.translate&&y>a.maxTranslate()&&(u||0)!==o)return!1}let w;if(o!==(p||0)&&r&&a.emit("beforeSlideChangeStart"),a.updateProgress(y),w=o>u?"next":o<u?"prev":"reset",f&&-y===a.translate||!f&&y===a.translate)return a.updateActiveIndex(o),l.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==l.effect&&a.setTranslate(y),"reset"!==w&&(a.transitionStart(r,w),a.transitionEnd(r,w)),!1;if(l.cssMode){const e=a.isHorizontal(),r=f?y:-y;if(0===t){const t=a.virtual&&a.params.virtual.enabled;t&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),t&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{m[e?"scrollLeft":"scrollTop"]=r}))):m[e?"scrollLeft":"scrollTop"]=r,t&&requestAnimationFrame((()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1}))}else{if(!a.support.smoothScroll)return(0,s.q)({swiper:a,targetPosition:r,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:r,behavior:"smooth"})}return!0}return a.setTransition(t),a.setTranslate(y),a.updateActiveIndex(o),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,i),a.transitionStart(r,w),0===t?a.transitionEnd(r,w):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(r,w))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,r,i){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),"string"==typeof e){e=parseInt(e,10)}const s=this,n=s.grid&&s.params.grid&&s.params.grid.rows>1;let a=e;if(s.params.loop)if(s.virtual&&s.params.virtual.enabled)a+=s.virtual.slidesBefore;else{let e;if(n){const t=a*s.params.grid.rows;e=s.slides.filter((e=>1*e.getAttribute("data-swiper-slide-index")===t))[0].column}else e=s.getSlideIndexByData(a);const t=n?Math.ceil(s.slides.length/s.params.grid.rows):s.slides.length,{centeredSlides:r}=s.params;let i=s.params.slidesPerView;"auto"===i?i=s.slidesPerViewDynamic():(i=Math.ceil(parseFloat(s.params.slidesPerView,10)),r&&i%2==0&&(i+=1));let o=t-e<i;if(r&&(o=o||e<Math.ceil(i/2)),o){const i=r?e<s.activeIndex?"prev":"next":e-s.activeIndex-1<s.params.slidesPerView?"next":"prev";s.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?e+1:e-t+1,slideRealIndex:"next"===i?s.realIndex:void 0})}if(n){const e=a*s.params.grid.rows;a=s.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0].column}else a=s.getSlideIndexByData(a)}return requestAnimationFrame((()=>{s.slideTo(a,t,r,i)})),s},slideNext:function(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const i=this,{enabled:s,params:n,animating:a}=i;if(!s)return i;let o=n.slidesPerGroup;"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(o=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<n.slidesPerGroupSkip?1:o,d=i.virtual&&n.virtual.enabled;if(n.loop){if(a&&!d&&n.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&n.cssMode)return requestAnimationFrame((()=>{i.slideTo(i.activeIndex+l,e,t,r)})),!0}return n.rewind&&i.isEnd?i.slideTo(0,e,t,r):i.slideTo(i.activeIndex+l,e,t,r)},slidePrev:function(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const i=this,{params:s,snapGrid:n,slidesGrid:a,rtlTranslate:o,enabled:l,animating:d}=i;if(!l)return i;const c=i.virtual&&s.virtual.enabled;if(s.loop){if(d&&!c&&s.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}function p(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const u=p(o?i.translate:-i.translate),f=n.map((e=>p(e)));let m=n[f.indexOf(u)-1];if(void 0===m&&s.cssMode){let e;n.forEach(((t,r)=>{u>=t&&(e=r)})),void 0!==e&&(m=n[e>0?e-1:e])}let h=0;if(void 0!==m&&(h=a.indexOf(m),h<0&&(h=i.activeIndex-1),"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(h=h-i.slidesPerViewDynamic("previous",!0)+1,h=Math.max(h,0))),s.rewind&&i.isBeginning){const s=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(s,e,t,r)}return s.loop&&0===i.activeIndex&&s.cssMode?(requestAnimationFrame((()=>{i.slideTo(h,e,t,r)})),!0):i.slideTo(h,e,t,r)},slideReset:function(e,t,r){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,r)},slideToClosest:function(e,t,r,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===i&&(i=.5);const s=this;let n=s.activeIndex;const a=Math.min(s.params.slidesPerGroupSkip,n),o=a+Math.floor((n-a)/s.params.slidesPerGroup),l=s.rtlTranslate?s.translate:-s.translate;if(l>=s.snapGrid[o]){const e=s.snapGrid[o];l-e>(s.snapGrid[o+1]-e)*i&&(n+=s.params.slidesPerGroup)}else{const e=s.snapGrid[o-1];l-e<=(s.snapGrid[o]-e)*i&&(n-=s.params.slidesPerGroup)}return n=Math.max(n,0),n=Math.min(n,s.slidesGrid.length-1),s.slideTo(n,e,t,r)},slideToClickedSlide:function(){const e=this,{params:t,slidesEl:r}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let n,a=e.clickedIndex;const o=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;n=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?a<e.loopedSlides-i/2||a>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),a=e.getSlideIndex((0,s.e)(r,`${o}[data-swiper-slide-index="${n}"]`)[0]),(0,s.n)((()=>{e.slideTo(a)}))):e.slideTo(a):a>e.slides.length-i?(e.loopFix(),a=e.getSlideIndex((0,s.e)(r,`${o}[data-swiper-slide-index="${n}"]`)[0]),(0,s.n)((()=>{e.slideTo(a)}))):e.slideTo(a)}else e.slideTo(a)}};var w={loopCreate:function(e){const t=this,{params:r,slidesEl:i}=t;if(!r.loop||t.virtual&&t.params.virtual.enabled)return;const n=()=>{(0,s.e)(i,`.${r.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},a=t.grid&&r.grid&&r.grid.rows>1,o=r.slidesPerGroup*(a?r.grid.rows:1),l=t.slides.length%o!=0,d=a&&t.slides.length%r.grid.rows!=0,c=e=>{for(let i=0;i<e;i+=1){const e=t.isElement?(0,s.c)("swiper-slide",[r.slideBlankClass]):(0,s.c)("div",[r.slideClass,r.slideBlankClass]);t.slidesEl.append(e)}};if(l){if(r.loopAddBlankSlides){c(o-t.slides.length%o),t.recalcSlides(),t.updateSlides()}else(0,s.r)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");n()}else if(d){if(r.loopAddBlankSlides){c(r.grid.rows-t.slides.length%r.grid.rows),t.recalcSlides(),t.updateSlides()}else(0,s.r)("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)");n()}else n();t.loopFix({slideRealIndex:e,direction:r.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:r=!0,direction:i,setTranslate:n,activeSlideIndex:a,byController:o,byMousewheel:l}=void 0===e?{}:e;const d=this;if(!d.params.loop)return;d.emit("beforeLoopFix");const{slides:c,allowSlidePrev:p,allowSlideNext:u,slidesEl:f,params:m}=d,{centeredSlides:h}=m;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&m.virtual.enabled)return r&&(m.centeredSlides||0!==d.snapIndex?m.centeredSlides&&d.snapIndex<m.slidesPerView?d.slideTo(d.virtual.slides.length+d.snapIndex,0,!1,!0):d.snapIndex===d.snapGrid.length-1&&d.slideTo(d.virtual.slidesBefore,0,!1,!0):d.slideTo(d.virtual.slides.length,0,!1,!0)),d.allowSlidePrev=p,d.allowSlideNext=u,void d.emit("loopFix");let v=m.slidesPerView;"auto"===v?v=d.slidesPerViewDynamic():(v=Math.ceil(parseFloat(m.slidesPerView,10)),h&&v%2==0&&(v+=1));const g=m.slidesPerGroupAuto?v:m.slidesPerGroup;let y=g;y%g!=0&&(y+=g-y%g),y+=m.loopAdditionalSlides,d.loopedSlides=y;const w=d.grid&&m.grid&&m.grid.rows>1;c.length<v+y?(0,s.r)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):w&&"row"===m.grid.fill&&(0,s.r)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const b=[],S=[];let T=d.activeIndex;void 0===a?a=d.getSlideIndex(c.filter((e=>e.classList.contains(m.slideActiveClass)))[0]):T=a;const x="next"===i||!i,E="prev"===i||!i;let C=0,M=0;const P=w?Math.ceil(c.length/m.grid.rows):c.length,L=(w?c[a].column:a)+(h&&void 0===n?-v/2+.5:0);if(L<y){C=Math.max(y-L,g);for(let e=0;e<y-L;e+=1){const t=e-Math.floor(e/P)*P;if(w){const e=P-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&b.push(t)}else b.push(P-t-1)}}else if(L+v>P-y){M=Math.max(L-(P-2*y),g);for(let e=0;e<M;e+=1){const t=e-Math.floor(e/P)*P;w?c.forEach(((e,r)=>{e.column===t&&S.push(r)})):S.push(t)}}if(d.__preventObserver__=!0,requestAnimationFrame((()=>{d.__preventObserver__=!1})),E&&b.forEach((e=>{c[e].swiperLoopMoveDOM=!0,f.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),x&&S.forEach((e=>{c[e].swiperLoopMoveDOM=!0,f.append(c[e]),c[e].swiperLoopMoveDOM=!1})),d.recalcSlides(),"auto"===m.slidesPerView?d.updateSlides():w&&(b.length>0&&E||S.length>0&&x)&&d.slides.forEach(((e,t)=>{d.grid.updateSlide(t,e,d.slides)})),m.watchSlidesProgress&&d.updateSlidesOffset(),r)if(b.length>0&&E){if(void 0===t){const e=d.slidesGrid[T],t=d.slidesGrid[T+C]-e;l?d.setTranslate(d.translate-t):(d.slideTo(T+C,0,!1,!0),n&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else if(n){const e=w?b.length/m.grid.rows:b.length;d.slideTo(d.activeIndex+e,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(S.length>0&&x)if(void 0===t){const e=d.slidesGrid[T],t=d.slidesGrid[T-M]-e;l?d.setTranslate(d.translate-t):(d.slideTo(T-M,0,!1,!0),n&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else{const e=w?S.length/m.grid.rows:S.length;d.slideTo(d.activeIndex-e,0,!1,!0)}if(d.allowSlidePrev=p,d.allowSlideNext=u,d.controller&&d.controller.control&&!o){const e={slideRealIndex:t,direction:i,setTranslate:n,activeSlideIndex:a,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===m.slidesPerView&&r})})):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...e,slideTo:d.controller.control.params.slidesPerView===m.slidesPerView&&r})}d.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:r}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const i=[];e.slides.forEach((e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;i[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),i.forEach((e=>{r.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function b(e,t,r){const s=(0,i.a)(),{params:n}=e,a=n.edgeSwipeDetection,o=n.edgeSwipeThreshold;return!a||!(r<=o||r>=s.innerWidth-o)||"prevent"===a&&(t.preventDefault(),!0)}function S(e){const t=this,r=(0,i.g)();let n=e;n.originalEvent&&(n=n.originalEvent);const a=t.touchEventsData;if("pointerdown"===n.type){if(null!==a.pointerId&&a.pointerId!==n.pointerId)return;a.pointerId=n.pointerId}else"touchstart"===n.type&&1===n.targetTouches.length&&(a.touchId=n.targetTouches[0].identifier);if("touchstart"===n.type)return void b(t,n,n.targetTouches[0].pageX);const{params:o,touches:l,enabled:d}=t;if(!d)return;if(!o.simulateTouch&&"mouse"===n.pointerType)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let c=n.target;if("wrapper"===o.touchEventsTarget&&!t.wrapperEl.contains(c))return;if("which"in n&&3===n.which)return;if("button"in n&&n.button>0)return;if(a.isTouched&&a.isMoved)return;const p=!!o.noSwipingClass&&""!==o.noSwipingClass,u=n.composedPath?n.composedPath():n.path;p&&n.target&&n.target.shadowRoot&&u&&(c=u[0]);const f=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,m=!(!n.target||!n.target.shadowRoot);if(o.noSwiping&&(m?function(e,t){return void 0===t&&(t=this),function t(r){if(!r||r===(0,i.g)()||r===(0,i.a)())return null;r.assignedSlot&&(r=r.assignedSlot);const s=r.closest(e);return s||r.getRootNode?s||t(r.getRootNode().host):null}(t)}(f,c):c.closest(f)))return void(t.allowClick=!0);if(o.swipeHandler&&!c.closest(o.swipeHandler))return;l.currentX=n.pageX,l.currentY=n.pageY;const h=l.currentX,v=l.currentY;if(!b(t,n,h))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=h,l.startY=v,a.touchStartTime=(0,s.d)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(a.allowThresholdMove=!1);let g=!0;c.matches(a.focusableElements)&&(g=!1,"SELECT"===c.nodeName&&(a.isTouched=!1)),r.activeElement&&r.activeElement.matches(a.focusableElements)&&r.activeElement!==c&&r.activeElement.blur();const y=g&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!y||c.isContentEditable||n.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",n)}function T(e){const t=(0,i.g)(),r=this,n=r.touchEventsData,{params:a,touches:o,rtlTranslate:l,enabled:d}=r;if(!d)return;if(!a.simulateTouch&&"mouse"===e.pointerType)return;let c,p=e;if(p.originalEvent&&(p=p.originalEvent),"pointermove"===p.type){if(null!==n.touchId)return;if(p.pointerId!==n.pointerId)return}if("touchmove"===p.type){if(c=[...p.changedTouches].filter((e=>e.identifier===n.touchId))[0],!c||c.identifier!==n.touchId)return}else c=p;if(!n.isTouched)return void(n.startMoving&&n.isScrolling&&r.emit("touchMoveOpposite",p));const u=c.pageX,f=c.pageY;if(p.preventedByNestedSwiper)return o.startX=u,void(o.startY=f);if(!r.allowTouchMove)return p.target.matches(n.focusableElements)||(r.allowClick=!1),void(n.isTouched&&(Object.assign(o,{startX:u,startY:f,currentX:u,currentY:f}),n.touchStartTime=(0,s.d)()));if(a.touchReleaseOnEdges&&!a.loop)if(r.isVertical()){if(f<o.startY&&r.translate<=r.maxTranslate()||f>o.startY&&r.translate>=r.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(u<o.startX&&r.translate<=r.maxTranslate()||u>o.startX&&r.translate>=r.minTranslate())return;if(t.activeElement&&p.target===t.activeElement&&p.target.matches(n.focusableElements))return n.isMoved=!0,void(r.allowClick=!1);n.allowTouchCallbacks&&r.emit("touchMove",p),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=u,o.currentY=f;const m=o.currentX-o.startX,h=o.currentY-o.startY;if(r.params.threshold&&Math.sqrt(m**2+h**2)<r.params.threshold)return;if(void 0===n.isScrolling){let e;r.isHorizontal()&&o.currentY===o.startY||r.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:m*m+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(m))/Math.PI,n.isScrolling=r.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(n.isScrolling&&r.emit("touchMoveOpposite",p),void 0===n.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(n.startMoving=!0)),n.isScrolling)return void(n.isTouched=!1);if(!n.startMoving)return;r.allowClick=!1,!a.cssMode&&p.cancelable&&p.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&p.stopPropagation();let v=r.isHorizontal()?m:h,g=r.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;a.oneWayMovement&&(v=Math.abs(v)*(l?1:-1),g=Math.abs(g)*(l?1:-1)),o.diff=v,v*=a.touchRatio,l&&(v=-v,g=-g);const y=r.touchesDirection;r.swipeDirection=v>0?"prev":"next",r.touchesDirection=g>0?"prev":"next";const w=r.params.loop&&!a.cssMode,b="next"===r.touchesDirection&&r.allowSlideNext||"prev"===r.touchesDirection&&r.allowSlidePrev;if(!n.isMoved){if(w&&b&&r.loopFix({direction:r.swipeDirection}),n.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});r.wrapperEl.dispatchEvent(e)}n.allowMomentumBounce=!1,!a.grabCursor||!0!==r.allowSlideNext&&!0!==r.allowSlidePrev||r.setGrabCursor(!0),r.emit("sliderFirstMove",p)}if((new Date).getTime(),n.isMoved&&n.allowThresholdMove&&y!==r.touchesDirection&&w&&b&&Math.abs(v)>=1)return Object.assign(o,{startX:u,startY:f,currentX:u,currentY:f,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,void(n.startTranslate=n.currentTranslate);r.emit("sliderMove",p),n.isMoved=!0,n.currentTranslate=v+n.startTranslate;let S=!0,T=a.resistanceRatio;if(a.touchReleaseOnEdges&&(T=0),v>0?(w&&b&&n.allowThresholdMove&&n.currentTranslate>(a.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>r.minTranslate()&&(S=!1,a.resistance&&(n.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+n.startTranslate+v)**T))):v<0&&(w&&b&&n.allowThresholdMove&&n.currentTranslate<(a.centeredSlides?r.maxTranslate()+r.slidesSizesGrid[r.slidesSizesGrid.length-1]:r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-("auto"===a.slidesPerView?r.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),n.currentTranslate<r.maxTranslate()&&(S=!1,a.resistance&&(n.currentTranslate=r.maxTranslate()+1-(r.maxTranslate()-n.startTranslate-v)**T))),S&&(p.preventedByNestedSwiper=!0),!r.allowSlideNext&&"next"===r.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!r.allowSlidePrev&&"prev"===r.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),r.allowSlidePrev||r.allowSlideNext||(n.currentTranslate=n.startTranslate),a.threshold>0){if(!(Math.abs(v)>a.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);
vendor: 4,846 bytes, line 2
2if(!n.allowThresholdMove)return n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,void(o.diff=r.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&r.freeMode||a.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(n.currentTranslate),r.setTranslate(n.currentTranslate))}function x(e){const t=this,r=t.touchEventsData;let i,n=e;n.originalEvent&&(n=n.originalEvent);if("touchend"===n.type||"touchcancel"===n.type){if(i=[...n.changedTouches].filter((e=>e.identifier===r.touchId))[0],!i||i.identifier!==r.touchId)return}else{if(null!==r.touchId)return;if(n.pointerId!==r.pointerId)return;i=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)){if(!(["pointercancel","contextmenu"].includes(n.type)&&(t.browser.isSafari||t.browser.isWebView)))return}r.pointerId=null,r.touchId=null;const{params:a,touches:o,rtlTranslate:l,slidesGrid:d,enabled:c}=t;if(!c)return;if(!a.simulateTouch&&"mouse"===n.pointerType)return;if(r.allowTouchCallbacks&&t.emit("touchEnd",n),r.allowTouchCallbacks=!1,!r.isTouched)return r.isMoved&&a.grabCursor&&t.setGrabCursor(!1),r.isMoved=!1,void(r.startMoving=!1);a.grabCursor&&r.isMoved&&r.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const p=(0,s.d)(),u=p-r.touchStartTime;if(t.allowClick){const e=n.path||n.composedPath&&n.composedPath();t.updateClickedSlide(e&&e[0]||n.target,e),t.emit("tap click",n),u<300&&p-r.lastClickTime<300&&t.emit("doubleTap doubleClick",n)}if(r.lastClickTime=(0,s.d)(),(0,s.n)((()=>{t.destroyed||(t.allowClick=!0)})),!r.isTouched||!r.isMoved||!t.swipeDirection||0===o.diff&&!r.loopSwapReset||r.currentTranslate===r.startTranslate&&!r.loopSwapReset)return r.isTouched=!1,r.isMoved=!1,void(r.startMoving=!1);let f;if(r.isTouched=!1,r.isMoved=!1,r.startMoving=!1,f=a.followFinger?l?t.translate:-t.translate:-r.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:f});let m=0,h=t.slidesSizesGrid[0];for(let e=0;e<d.length;e+=e<a.slidesPerGroupSkip?1:a.slidesPerGroup){const t=e<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==d[e+t]?f>=d[e]&&f<d[e+t]&&(m=e,h=d[e+t]-d[e]):f>=d[e]&&(m=e,h=d[d.length-1]-d[d.length-2])}let v=null,g=null;a.rewind&&(t.isBeginning?g=a.virtual&&a.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));const y=(f-d[m])/h,w=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(u>a.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(y>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?v:m+w):t.slideTo(m)),"prev"===t.swipeDirection&&(y>1-a.longSwipesRatio?t.slideTo(m+w):null!==g&&y<0&&Math.abs(y)>a.longSwipesRatio?t.slideTo(g):t.slideTo(m))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(n.target===t.navigation.nextEl||n.target===t.navigation.prevEl)?n.target===t.navigation.nextEl?t.slideTo(m+w):t.slideTo(m):("next"===t.swipeDirection&&t.slideTo(null!==v?v:m+w),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:m))}}function E(){const e=this,{params:t,el:r}=e;if(r&&0===r.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:s,snapGrid:n}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const o=a&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=s,e.allowSlideNext=i,e.params.watchOverflow&&n!==e.snapGrid&&e.checkOverflow()}function C(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function M(){const e=this,{wrapperEl:t,rtlTranslate:r,enabled:i}=e;if(!i)return;let s;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const n=e.maxTranslate()-e.minTranslate();s=0===n?0:(e.translate-e.minTranslate())/n,s!==e.progress&&e.updateProgress(r?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function P(e){const t=this;u(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update(
vendor: 13,879 bytes, line 2
2)}function L(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const k=(e,t)=>{const r=(0,i.g)(),{params:s,el:n,wrapperEl:a,device:o}=e,l=!!s.nested,d="on"===t?"addEventListener":"removeEventListener",c=t;r[d]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),n[d]("touchstart",e.onTouchStart,{passive:!1}),n[d]("pointerdown",e.onTouchStart,{passive:!1}),r[d]("touchmove",e.onTouchMove,{passive:!1,capture:l}),r[d]("pointermove",e.onTouchMove,{passive:!1,capture:l}),r[d]("touchend",e.onTouchEnd,{passive:!0}),r[d]("pointerup",e.onTouchEnd,{passive:!0}),r[d]("pointercancel",e.onTouchEnd,{passive:!0}),r[d]("touchcancel",e.onTouchEnd,{passive:!0}),r[d]("pointerout",e.onTouchEnd,{passive:!0}),r[d]("pointerleave",e.onTouchEnd,{passive:!0}),r[d]("contextmenu",e.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&n[d]("click",e.onClick,!0),s.cssMode&&a[d]("scroll",e.onScroll),s.updateOnWindowResize?e[c](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",E,!0):e[c]("observerUpdate",E,!0),n[d]("load",e.onLoad,{capture:!0})};const O=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var I={init:!0,direction:"horizontal",oneWayMovement:!1,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,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 A(e,t){return function(r){void 0===r&&(r={});const i=Object.keys(r)[0],n=r[i];"object"==typeof n&&null!==n?(!0===e[i]&&(e[i]={enabled:!0}),"navigation"===i&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),i in e&&"enabled"in n?("object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),(0,s.t)(t,r)):(0,s.t)(t,r)):(0,s.t)(t,r)}}const z={eventsEmitter:p,update:h,translate:v,transition:{setTransition:function(e,t){const r=this;r.params.cssMode||(r.wrapperEl.style.transitionDuration=`${e}ms`,r.wrapperEl.style.transitionDelay=0===e?"0ms":""),r.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const r=this,{params:i}=r;i.cssMode||(i.autoHeight&&r.updateAutoHeight(),g({swiper:r,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const r=this,{params:i}=r;r.animating=!1,i.cssMode||(r.setTransition(0),g({swiper:r,runCallbacks:e,direction:t,step:"End"}))}},slide:y,loop:w,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const r="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=S.bind(e),e.onTouchMove=T.bind(e),e.onTouchEnd=x.bind(e),e.onDocumentTouchStart=L.bind(e),t.cssMode&&(e.onScroll=M.bind(e)),e.onClick=C.bind(e),e.onLoad=P.bind(e),k(e,"on")},detachEvents:function(){k(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:r,params:i,el:n}=e,a=i.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const o=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const l=(o in a?a[o]:void 0)||e.originalParams,d=O(e,i),c=O(e,l),p=i.enabled;d&&!c?(n.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&c&&(n.classList.add(`${i.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===i.grid.fill)&&n.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===l[t])return;const r=i[t]&&i[t].enabled,s=l[t]&&l[t].enabled;r&&!s&&e[t].disable(),!r&&s&&e[t].enable()}));const u=l.direction&&l.direction!==i.direction,f=i.loop&&(l.slidesPerView!==i.slidesPerView||u),m=i.loop;u&&r&&e.changeDirection(),(0,s.t)(e.params,l);const h=e.params.enabled,v=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!h?e.disable():!p&&h&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",l),r&&(f?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!m&&v?(e.loopCreate(t),e.updateSlides()):m&&!v&&e.loopDestroy()),e.emit("breakpoint",l)},getBreakpoint:function(e,t,r){if(void 0===t&&(t="window"),!e||"container"===t&&!r)return;let s=!1;const n=(0,i.a)(),a="window"===t?n.innerHeight:r.clientHeight,o=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:a*t,point:e}}return{value:e,point:e}}));o.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<o.length;e+=1){const{point:i,value:a}=o[e];"window"===t?n.matchMedia(`(min-width: ${a}px)`).matches&&(s=i):a<=r.clientWidth&&(s=i)}return s||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:r}=e,{slidesOffsetBefore:i}=r;if(i){const t=e.slides.length-1,r=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>r}else e.isLocked=1===e.snapGrid.length;!0===r.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===r.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:r,rtl:i,el:s,device:n}=e,a=function(e,t){const r=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((i=>{e[i]&&r.push(t+i)})):"string"==typeof e&&r.push(t+e)})),r}(["initialized",r.direction,{"free-mode":e.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:i},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&"column"===r.grid.fill},{android:n.android},{ios:n.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);t.push(...a),s.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},_={};class D{constructor(){let e,t;for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?t=n[0]:[e,t]=n,t||(t={}),t=(0,s.t)({},t),e&&!t.el&&(t.el=e);const o=(0,i.g)();if(t.el&&"string"==typeof t.el&&o.querySelectorAll(t.el).length>1){const e=[];return o.querySelectorAll(t.el).forEach((r=>{const i=(0,s.t)({},t,{el:r});e.push(new D(i))})),e}const p=this;p.__swiper__=!0,p.support=l(),p.device=d({userAgent:t.userAgent}),p.browser=c(),p.eventsListeners={},p.eventsAnyListeners=[],p.modules=[...p.__modules__],t.modules&&Array.isArray(t.modules)&&p.modules.push(...t.modules);const u={};p.modules.forEach((e=>{e({params:t,swiper:p,extendParams:A(t,u),on:p.on.bind(p),once:p.once.bind(p),off:p.off.bind(p),emit:p.emit.bind(p)})}));const f=(0,s.t)({},I,u);return p.params=(0,s.t)({},f,_,t),p.originalParams=(0,s.t)({},p.params),p.passedParams=(0,s.t)({},t),p.params&&p.params.on&&Object.keys(p.params.on).forEach((e=>{p.on(e,p.params.on[e])})),p.params&&p.params.onAny&&p.onAny(p.params.onAny),Object.assign(p,{enabled:p.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===p.params.direction,isVertical:()=>"vertical"===p.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:p.params.allowSlideNext,allowSlidePrev:p.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:p.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:p.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),p.emit("_swiper"),p.params.init&&p.init(),p}getDirectionLabel(e){return this.isHorizontal()?e:{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"}[e]}getSlideIndex(e){const{slidesEl:t,params:r}=this,i=(0,s.e)(t,`.${r.slideClass}, swiper-slide`),n=(0,s.g)(i[0]);return(0,s.g)(e)-n}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=(0,s.e)(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const r=this;e=Math.min(Math.max(e,0),1);const i=r.minTranslate(),s=(r.maxTranslate()-i)*e+i;r.translateTo(s,void 0===t?0:t),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((r=>{const i=e.getSlideClasses(r);t.push({slideEl:r,classNames:i}),e.emit("_slideClass",r,i)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:r,slides:i,slidesGrid:s,slidesSizesGrid:n,size:a,activeIndex:o}=this;let l=1;if("number"==typeof r.slidesPerView)return r.slidesPerView;if(r.centeredSlides){let e,t=i[o]?i[o].swiperSlideSize:0;for(let r=o+1;r<i.length;r+=1)i[r]&&!e&&(t+=i[r].swiperSlideSize,l+=1,t>a&&(e=!0));for(let r=o-1;r>=0;r-=1)i[r]&&!e&&(t+=i[r].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let e=o+1;e<i.length;e+=1){(t?s[e]+n[e]-s[o]<a:s[e]-s[o]<a)&&(l+=1)}else for(let e=o-1;e>=0;e-=1){s[o]-s[e]<a&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:r}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,r=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(r),e.updateActiveIndex(),e.updateSlidesClasses()}let s;if(r.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&u(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),r.freeMode&&r.freeMode.enabled&&!r.cssMode)i(),r.autoHeight&&e.updateAutoHeight();else{if(("auto"===r.slidesPerView||r.slidesPerView>1)&&e.isEnd&&!r.centeredSlides){const t=e.virtual&&r.virtual.enabled?e.virtual.slides:e.slides;s=e.slideTo(t.length-1,0,!1,!0)}else s=e.slideTo(e.activeIndex,0,!1,!0);s||i()}r.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const r=this,i=r.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(r.el.classList.remove(`${r.params.containerModifierClass}${i}`),r.el.classList.add(`${r.params.containerModifierClass}${e}`),r.emitContainerClasses(),r.params.direction=e,r.slides.forEac
vendor: 5,099 bytes, line 2
2h((t=>{"vertical"===e?t.style.width="":t.style.height=""})),r.emit("changeDirection"),t&&r.update()),r}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let r=e||t.params.el;if("string"==typeof r&&(r=document.querySelector(r)),!r)return!1;r.swiper=t,r.parentNode&&r.parentNode.host&&"SWIPER-CONTAINER"===r.parentNode.host.nodeName&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let n=(()=>{if(r&&r.shadowRoot&&r.shadowRoot.querySelector){return r.shadowRoot.querySelector(i())}return(0,s.e)(r,i())[0]})();return!n&&t.params.createElements&&(n=(0,s.c)("div",t.params.wrapperClass),r.append(n),(0,s.e)(r,`.${t.params.slideClass}`).forEach((e=>{n.append(e)}))),Object.assign(t,{el:r,wrapperEl:n,slidesEl:t.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:n,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,rtl:"rtl"===r.dir.toLowerCase()||"rtl"===(0,s.m)(r,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===(0,s.m)(r,"direction")),wrongRTL:"-webkit-box"===(0,s.m)(n,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach((e=>{e.complete?u(t,e):e.addEventListener("load",(e=>{u(t,e.target)}))})),m(t),t.initialized=!0,m(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const r=this,{params:i,el:n,wrapperEl:a,slides:o}=r;return void 0===r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),i.loop&&r.loopDestroy(),t&&(r.removeClasses(),n.removeAttribute("style"),a.removeAttribute("style"),o&&o.length&&o.forEach((e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),r.emit("destroy"),Object.keys(r.eventsListeners).forEach((e=>{r.off(e)})),!1!==e&&(r.el.swiper=null,(0,s.u)(r)),r.destroyed=!0),null}static extendDefaults(e){(0,s.t)(_,e)}static get extendedDefaults(){return _}static get defaults(){return I}static installModule(e){D.prototype.__modules__||(D.prototype.__modules__=[]);const t=D.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>D.installModule(e))),D):(D.installModule(e),D)}}Object.keys(z).forEach((e=>{Object.keys(z[e]).forEach((t=>{D.prototype[t]=z[e][t]}))})),D.use([function(e){let{swiper:t,on:r,emit:s}=e;const n=(0,i.a)();let a=null,o=null;const l=()=>{t&&!t.destroyed&&t.initialized&&(s("beforeResize"),s("resize"))},d=()=>{t&&!t.destroyed&&t.initialized&&s("orientationchange")};r("init",(()=>{t.params.resizeObserver&&void 0!==n.ResizeObserver?t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver((e=>{o=n.requestAnimationFrame((()=>{const{width:r,height:i}=t;let s=r,n=i;e.forEach((e=>{let{contentBoxSize:r,contentRect:i,target:a}=e;a&&a!==t.el||(s=i?i.width:(r[0]||r).inlineSize,n=i?i.height:(r[0]||r).blockSize)})),s===r&&n===i||l()}))})),a.observe(t.el)):(n.addEventListener("resize",l),n.addEventListener("orientationchange",d))})),r("destroy",(()=>{o&&n.cancelAnimationFrame(o),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null),n.removeEventListener("resize",l),n.removeEventListener("orientationchange",d)}))},function(e){let{swiper:t,extendParams:r,on:n,emit:a}=e;const o=[],l=(0,i.a)(),d=function(e,r){void 0===r&&(r={});const i=new(l.MutationObserver||l.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void a("observerUpdate",e[0]);const r=function(){a("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(r):l.setTimeout(r,0)}));i.observe(e,{attributes:void 0===r.attributes||r.attributes,childList:void 0===r.childList||r.childList,characterData:void 0===r.characterData||r.characterData}),o.push(i)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=(0,s.a)(t.hostEl);for(let t=0;t<e.length;t+=1)d(e[t])}d(t.hostEl,{childList:t.params.observeSlideChildren}),d(t.wrapperEl,{attributes:!1})}})),n("destroy",(()=>{o.forEach((e=>{e.disconnect()})),o.splice(0,o.length)}))}])}}]);

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.