Changeset 3447623
- Timestamp:
- 01/27/2026 08:45:03 AM (2 months ago)
- Location:
- vayu-blocks
- Files:
-
- 10 edited
- 1 copied
-
tags/1.4.4 (copied) (copied from vayu-blocks/trunk)
-
tags/1.4.4/inc/render/advance-animation/class-blocks-animation.php (modified) (1 diff)
-
tags/1.4.4/public/build/multi-block-frontend.asset.php (modified) (1 diff)
-
tags/1.4.4/public/build/multi-block-frontend.js (modified) (1 diff)
-
tags/1.4.4/readme.txt (modified) (2 diffs)
-
tags/1.4.4/vayu-blocks.php (modified) (2 diffs)
-
trunk/inc/render/advance-animation/class-blocks-animation.php (modified) (1 diff)
-
trunk/public/build/multi-block-frontend.asset.php (modified) (1 diff)
-
trunk/public/build/multi-block-frontend.js (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/vayu-blocks.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vayu-blocks/tags/1.4.4/inc/render/advance-animation/class-blocks-animation.php
r3408885 r3447623 51 51 52 52 53 add_action( 'wp_head', array( $this, 'add_fontend_anim_inline_style' ), 10 );53 //add_action( 'wp_head', array( $this, 'add_fontend_anim_inline_style' ), 10 ); 54 54 55 55 } -
vayu-blocks/tags/1.4.4/public/build/multi-block-frontend.asset.php
r3408885 r3447623 1 <?php return array('dependencies' => array(), 'version' => ' 52a217e900e9762755d6');1 <?php return array('dependencies' => array(), 'version' => 'f29282c30af79fd6a412'); -
vayu-blocks/tags/1.4.4/public/build/multi-block-frontend.js
r3408885 r3447623 1 (()=>{var e={1:()=>{document.querySelectorAll(".vayu_block_styling-effect7").forEach((e=>{const t=e.clientHeight,s=e.clientWidth;e.addEventListener("mousemove",(i=>{const a=i.layerX,n=`perspective(500px) rotateX(${(i.layerY-t/2)/t*-8}deg) rotateY(${(a-s/2)/s*8}deg)`;e.style.transform=n})),e.addEventListener("mouseout",(()=>{e.style.transform="perspective(500px) scale(1) rotateX(0) rotateY(0)"}),120),e.addEventListener("mousedown",(()=>{e.style.transform="perspective(500px) scale(0.9) rotateX(0) rotateY(0)"}),120),e.addEventListener("mouseup",(()=>{e.style.transform="perspective(500px) scale(1.1) rotateX(0) rotateY(0)"}),120)})),document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".vb-vide-view").forEach((e=>{const t=e.querySelector(".vb-icon-block-video"),s=e.querySelector(".vb-video-poster"),i=e.querySelector(".vb-video-wrapper-relative"),a=e.querySelector(".vb-video-icon"),n=e.querySelector(".vb-video-iframe"),r=e.querySelector(".vb-video-rotation"),o=e.querySelector(".vb-video-iframe-cont"),l=r?.dataset.lightbox,d=e.querySelector(".vb-vayu-modal"),c=e.querySelector(".vb-vayu-modal-close");t&&(t.addEventListener("click",(()=>{"true"===l?d&&(d.classList.add("open"),s.style.display="flex",a.style.display="flex",i.style.display="block",n.style.setProperty("display","none","important"),document.body.style.overflow="hidden"):(s.style.display="none",o&&(o.style.display="block"),a.style.display="none",i.style.display="none",n&&n.style.setProperty("display","block","important"),document.body.style.overflow="")})),c&&d&&(c.addEventListener("click",(()=>{d.classList.remove("open"),document.body.style.overflow=""})),d.addEventListener("click",(e=>{e.target===d&&(d.classList.remove("open"),document.body.style.overflow="")}))))}))}))},576:()=>{const e=document.querySelector(".vayu_blocks_touch_class .wp-block-vayu-blocks-advance-timeline");let t,s,i=!1;e&&(e.addEventListener("mousedown",(a=>{i=!0,t=a.pageX-e.offsetLeft,s=e.scrollLeft})),e.addEventListener("mouseleave",(()=>{i=!1})),e.addEventListener("mouseup",(()=>{i=!1})),e.addEventListener("mousemove",(a=>{if(!i)return;a.preventDefault();const n=a.pageX-e.offsetLeft-t;e.scrollLeft=s-n})),e.addEventListener("touchstart",(a=>{i=!0,t=a.touches[0].pageX-e.offsetLeft,s=e.scrollLeft})),e.addEventListener("touchend",(()=>{i=!1})),e.addEventListener("touchmove",(a=>{if(!i)return;a.preventDefault();const n=a.touches[0].pageX-e.offsetLeft-t;e.scrollLeft=s-n})))},882:()=>{document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".swipe-scroll-wrapper[id^='vayu-blocks-']").forEach((e=>{!function(e){const t=e.closest("[id^='vayu-blocks-']");if(!t)return;const s=t.querySelector(".swipe-carousel"),i=s?.getAttribute("data-nav")||"none";if(!s||!e)return void console.log("Missing elements in:",t.id);let a,n,r=Array.from(s.querySelectorAll(".slide-item"));if(0===r.length)return;"arrow"!==i&&"arrowdots"!==i||(a=t.querySelector(".scroll-button.left"),n=t.querySelector(".scroll-button.right"));let o=t.querySelector(".pagination-container");o||"none"===i||"arrow"===i||(o=document.createElement("div"),o.classList.add("pagination-container"),e.appendChild(o));let l=r[0].offsetWidth+18,d=Math.floor(e.offsetWidth/l)||1,c=0,p=!1,u=0,m=0,f=0,h=.3*l;r.forEach((e=>{e.querySelectorAll("img").forEach((e=>{e.setAttribute("draggable","false"),e.addEventListener("dragstart",(e=>e.preventDefault()))}))}));const g=r.slice(0,d).map((e=>{const t=e.cloneNode(!0);return t.classList.add("clone"),t.querySelectorAll("img").forEach((e=>{e.setAttribute("draggable","false"),e.addEventListener("dragstart",(e=>e.preventDefault()))})),t}));g.forEach((e=>s.appendChild(e))),r=Array.from(s.querySelectorAll(".slide-item")),o&&(o.innerHTML="",r.slice(0,r.length-g.length).forEach(((e,t)=>{const s=document.createElement("span");s.classList.add("pagination-dot"),s.dataset.index=t,o.appendChild(s)})));const v=()=>{const e=c%(r.length-g.length);o&&o.querySelectorAll(".pagination-dot").forEach(((t,s)=>{t.classList.toggle("active",s===e)}))},w=(e,t=!0)=>{c=e,c>=r.length-g.length?(c=0,m=0):c<0&&(c=r.length-g.length-1,m=-c*l),m=-c*l,f=m,s.style.transform=`translateX(${m}px)`,s.style.transition=t?"transform 0.4s ease":"none",v()},b=e=>e.type.includes("mouse")?e.clientX:e.touches[0].clientX,y=e=>{"touchstart"===e.type&&e.preventDefault(),p=!0,u=b(e),f=m,s.style.transition="none",s.classList.add("dragging")},E=e=>{if(!p)return;const t=b(e);m=f+(t-u);const i=-(r.length-d)*l;m>0?m=0+.5*(m-0):m<i&&(m=i+.5*(m-i)),s.style.transform=`translateX(${m}px)`},S=()=>{if(!p)return;p=!1,s.classList.remove("dragging");const e=m- -c*l;let t=c;Math.abs(e)>h&&(t+=e>0?-1:1),w(t)};s.addEventListener("mousedown",y),s.addEventListener("touchstart",y,{passive:!1}),s.addEventListener("mousemove",E),s.addEventListener("touchmove",E,{passive:!1}),s.addEventListener("mouseup",S),s.addEventListener("touchend",S),s.addEventListener("mouseleave",(()=>{p&&S()})),s.addEventListener("click",(e=>{Math.abs(m-f)>10&&(e.preventDefault(),e.stopPropagation())}),!0),a&&a.addEventListener("click",(()=>w(c-1))),n&&n.addEventListener("click",(()=>w(c+1))),o&&o.addEventListener("click",(e=>{e.target.classList.contains("pagination-dot")&&w(parseInt(e.target.dataset.index,10))})),s.style.willChange="transform",s.style.transform="translateX(0px)";window.addEventListener("resize",(()=>{l=r[0]?.offsetWidth+18||0,d=Math.floor(e.offsetWidth/l)||1,h=.3*l,w(c,!1)})),v()}(e)}))}))},1679:()=>{const e=["none","bounce","flash","pulse","rubberBand","shakeX","shakeY","headShake","swing","tada","wobble","jello","heartBeat","hinge","jackInTheBox","backInDown","backInLeft","backInRight","backInUp","backOutDown","backOutLeft","backOutRight","backOutUp","bounceIn","bounceInDown","bounceInLeft","bounceInRight","bounceInUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeIn","fadeInDown","fadeInDownBig","fadeInLeft","fadeInLeftBig","fadeInRight","fadeInRightBig","fadeInUp","fadeInTopLeft","fadeInTopRight","fadeInBottomLeft","fadeInBottomRight","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","fadeOutTopLeft","fadeOutTopRight","fadeOutBottomRight","fadeOutBottomLeft","flip","flipInX","flipInY","flipOutX","flipOutY","lightSpeedInRight","lightSpeedInLeft","lightSpeedOutRight","lightSpeedOutLeft","rotateIn","rotateInDownLeft","rotateInDownRight","rotateInUpLeft","rotateInUpRight","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideInDown","slideInLeft","slideInRight","slideInUp","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomIn","zoomInDown","zoomInLeft","zoomInRight","zoomInUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollIn","rollOut"],t=["backOutDown","backOutLeft","backOutRight","backOutUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","fadeOutTopLeft","fadeOutTopRight","fadeOutBottomRight","fadeOutBottomLeft","flipOutX","flipOutY","lightSpeedOutRight","lightSpeedOutLeft","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollOut"],s=["none","delay-100ms","delay-200ms","delay-500ms","delay-1s","delay-2s","delay-3s","delay-4s","delay-5s"],i=["none","slow","slower","fast","faster"];window.addEventListener("load",(()=>{const n=document.querySelectorAll(".animated");for(const r of n){if(classes=r.classList,r.animationClasses=[],classes.add("o-anim-ready"),!a(r)){const t=e.find((e=>Array.from(classes).find((t=>t===e)))),a=s.find((e=>Array.from(classes).find((t=>t===e)))),n=i.find((e=>Array.from(classes).find((t=>t===e))));r.classList.add("hidden-animated"),t&&(r.animationClasses.push(t),r.classList.remove(t)),a&&(r.animationClasses.push(a),r.classList.remove(a)),n&&(r.animationClasses.push(n),r.classList.remove(n))}t.forEach((e=>{r.className.includes(e)&&r.addEventListener("animationend",(()=>{r.classList.remove(e)}))}))}window.addEventListener("scroll",(()=>{for(const e of n)e.getBoundingClientRect().top<=.95*window.innerHeight&&0<e.getBoundingClientRect().top&&e.animationClasses&&0<e.animationClasses.length&&(e.animationClasses.forEach((t=>e.classList.add(t))),e.classList.remove("hidden-animated"),delete e.animationClasses)}))}));const a=e=>{const t=window.scrollY||window.pageYOffset,s=e.getBoundingClientRect().top+t,i=t,a=t+window.innerHeight,n=s,r=s+e.clientHeight;return r>=i&&r<=a||n<=a&&n>=i}},2147:()=>{function e(e,t){e.classList.remove("closed"),e.classList.add("open"),t?.dataset.activeIcon&&(t.innerHTML=t.dataset.activeIcon)}function t(e,t){e.classList.remove("open"),e.classList.add("closed"),t?.dataset.inactiveIcon&&(t.innerHTML=t.dataset.inactiveIcon)}function s(e,s){s.forEach((s=>{if(s!==e){const e=s.querySelector(".vb-faq-icon");t(s,e)}}))}document.addEventListener("DOMContentLoaded",(function(){!function(){const i=document.querySelectorAll(".vb-faq-child-wrapper");i.forEach((a=>{const n=a.querySelector(".vb-faq-icon"),r=a.dataset.showtype,o="true"===a.dataset.isFirstChild,l="true"===a.dataset.expandfirst,d="true"===a.dataset.enabletoggle,c=a.dataset.collapseall;"accordation"===r&&l&&o&&e(a,n),n&&"accordation"===r&&n.addEventListener("click",(function(r){r.preventDefault();const o=a.classList.contains("open");"1"===c?s(a,i):a.classList.contains("colpaseopen")?a.classList.remove("colpaseopen"):s(a,i),d?o?t(a,n):e(a,n):o||e(a,n)}))}))}()}))},2399:()=>{document.addEventListener("DOMContentLoaded",(function(){let e=!1;const t=(t,s)=>{const i=t.closest(".wp-block-vayu-blocks-advance-query-loop"),a=t.querySelector(".th-button-inside"),n=parseInt(t.getAttribute("data-page")),r=parseInt(t.getAttribute("data-max-page")),o=parseInt(t.getAttribute("data-per-page")),l=window.location.pathname.split("/")[1];if(n>r)return;e=!0,a.textContent=t.getAttribute("data-loadmore-label"),t.setAttribute("disabled","disabled");const d=JSON.parse(i.getAttribute("data-attrs")),c=`${window.location.origin}/${l}/wp-admin/admin-ajax.php`,p=new FormData;p.append("action","load_more_posts"),p.append("page",n),p.append("perpage",o),p.append("query_id",t.getAttribute("data-query-id")),p.append("attrs",JSON.stringify(d)),fetch(c,{method:"POST",body:p}).then((e=>e.json())).then((e=>{if(e.success){const s=e.data.content,i=document.querySelector(".wp-block-vayu-blocks-wrapper");i&&i.insertAdjacentHTML("beforeend",s),t.setAttribute("data-page",n+1),t.setAttribute("data-current-page",n),n+1>r?(a.textContent=t.getAttribute("data-nomorepost-label"),t.setAttribute("disabled","disabled")):(a.textContent=t.getAttribute("data-loadmorebtn-txt"),t.removeAttribute("disabled"))}else console.error("Error fetching posts:",e),a.textContent=t.getAttribute("data-loadmorebtn-txt"),t.removeAttribute("disabled")})).catch((e=>{console.error("Error:",e),a.textContent=t.getAttribute("data-loadmorebtn-txt"),t.removeAttribute("disabled")})).finally((()=>{e=!1}))};(()=>{const e=document.querySelector(".load-more-btn");e&&e.addEventListener("click",(function(s){"loadmorebtn"===e.getAttribute("data-loadmore-type")&&(s.preventDefault(),t(e))}))})(),window.addEventListener("scroll",(function(){const s=document.querySelector(".load-more-btn");if(!s||e)return;const i=s.getBoundingClientRect(),a=window.innerHeight||document.documentElement.clientHeight;if(i.top-a<100){"loadinfinite"===s.getAttribute("data-loadmore-type")&&t(s)}}))}))},4377:()=>{document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".vb-toc-wrapper").forEach((e=>{const t=e.querySelector(".vb-toc-toggle-button"),s=e.querySelector(".vb-toc-list"),i=e.querySelector(".vb-toc-separator");if(!t||!s)return;s.classList.contains("empty-toc");let a="true"===t.getAttribute("aria-expanded");const n=parseInt(s.dataset.collapseLimit||"0"),r=s.querySelectorAll(".vb-toc-item"),o=t.dataset.activeIcon,l=t.dataset.inactiveIcon,d=t.dataset.activetext,c=t.dataset.inactivetext,p=()=>{if(t.setAttribute("aria-expanded",a?"true":"false"),t.innerHTML=a?`${d||""}${o||""}`:`${c||""}${l||""}`,a?t.classList.add("vb-active"):t.classList.remove("vb-active"),0!==n||a?(s.style.display="grid",r.forEach(((e,t)=>{a||t<n?(e.style.display="list-item",e.setAttribute("aria-hidden","false"),e.classList.remove("is-collapsed")):(e.style.display="none",e.setAttribute("aria-hidden","true"),e.classList.add("is-collapsed"))}))):s.style.display="none",i){const e=a||n>0;i.style.display=e?"block":"none"}};p(),t.addEventListener("click",(()=>{a=!a,p()}))}))})),document.addEventListener("click",(function(e){const t=e.target.closest("a.vb-toc-link[data-scroll]");if(!t)return;e.preventDefault();const s=t.getAttribute("href");if(!s||!s.startsWith("#"))return;const i=document.querySelector(s);i&&window.scrollTo({top:i.getBoundingClientRect().top+window.pageYOffset-60,behavior:"smooth"})}))},4934:()=>{document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".unfold-inner").forEach((e=>{const t=e.getAttribute("data-content-show-event"),s="1"===e.getAttribute("data-hide-unfold-button"),i=e.querySelector(".unfold-content"),a=e.querySelector(".vb-bg-unfold-full-button"),n=e.querySelector(".unfold-button");function r(){const e=i.classList.contains("unfolded");i.classList.toggle("unfolded",!e);const t=a.classList.contains("unfolded");if(a.classList.toggle("unfolded",!t),n){const t=n.getAttribute("data-fold-text"),s=n.getAttribute("data-unfold-text"),i=n.querySelector(".btn-text");i&&(i.innerText=e?s:t);const a=n.querySelector(".btn-fold-icon"),r=n.querySelector(".btn-unfold-icon");a&&r&&(a.style.display=e?"none":"inline-flex",r.style.display=e?"inline-flex":"none"),n.setAttribute("aria-expanded",!e)}}i&&("contentclick"===t&&e.addEventListener("click",r),"contenthover"===t&&(e.addEventListener("mouseenter",(()=>{i.classList.add("unfolded"),a.classList.add("unfolded")})),e.addEventListener("mouseleave",(()=>{i.classList.remove("unfolded"),a.classList.remove("unfolded")}))),"buttonclick"!==t&&s||n&&n.addEventListener("click",(function(e){e.stopPropagation(),r()})))}))}))},8730:()=>{document.addEventListener("DOMContentLoaded",(()=>{const e=document.querySelector(".vayu_blocks-timeline__marker");if(e){const t=e.offsetTop,s=document.querySelector(".vayu-blocks-laytout-7-advance-timeline");s&&s.style.setProperty("--vb-value-top-icon",`${t}px`)}}))},9127:()=>{function e(e,t){const s=parseFloat(e.dataset.speed),i=parseInt(e.dataset.direction)||1,a=parseInt(e.dataset.start),n=parseInt(e.dataset.end),r=e.dataset.trigger,o=parseInt(e.dataset.top),l=parseInt(e.dataset.bottom),d=lottie.loadAnimation({container:e,renderer:"svg",loop:!0,autoplay:"none"===r,path:e.dataset.lottie});if(d.setSpeed(s),d.setDirection(i),d.playSegments([a,n],!1),"viewport"===r)window.addEventListener("scroll",(()=>{const t=e.getBoundingClientRect(),s=window.innerHeight,i=isNaN(o)?100:o,r=s*((isNaN(l)?0:l)/100),c=s*(i/100);t.top<c&&t.bottom>r&&d.playSegments([a,n],!0)}));else if("scroll"===r)window.addEventListener("scroll",(()=>{const t=e.getBoundingClientRect(),s=window.innerHeight,i=parseInt(e.dataset.top||"100"),a=parseInt(e.dataset.bottom||"0"),n=parseInt(e.dataset.start||"0"),r=parseInt(e.dataset.end||"100"),o=Math.floor((r-n)/2+n),l=s*(a/100),c=s*(i/100),p=t.top+t.height/2;if(t.bottom<l||t.top>c)return;const u=(p-l)/(c-l),m=Math.max(0,Math.min(1,u));if(m<.05)d.goToAndStop(n,!0);else if(m>=.05&&m<=.95){const e=n+(m-.05)/.9*(o-n);d.goToAndStop(e,!0)}else d.playSegments([o,r],!0)}));else if("click"===r){let t=!1;e.addEventListener("click",(()=>{t?(d.pause(),t=!1):(d.play(),t=!0)}))}else"hover"===r&&(e.addEventListener("mouseenter",(()=>{d.play()})),e.addEventListener("mouseleave",(()=>{d.pause()})));window[`lottie_${t}`]=d,e.lottieInstance=d}document.addEventListener("DOMContentLoaded",(()=>{const t=document.querySelectorAll(".vb-lottie-frontend");if("undefined"==typeof lottie){const s=document.createElement("script");s.src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.10.2/lottie.min.js",s.onload=()=>{t.forEach((t=>{const s=t.getAttribute("id");e(t,s)}))},document.body.appendChild(s)}else t.forEach((t=>{const s=t.getAttribute("id");e(t,s)}))}))},9941:()=>{document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".vayu-pin-first-wrap").forEach((e=>(e=>{let t=e.querySelector(".triangle-arrow");t||(t=document.createElement("div"),t.className="triangle-arrow",e.appendChild(t));const s=e.closest(".vayu-pin-spot-wrapper7").getAttribute("data-arrow")||"#444942";t.style.cssText=`\n position: absolute;\n width: 0;\n height: 0;\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n border-top: 10px solid ${s};\n `})(e))),document.querySelectorAll(".vayu-pin-spot-wrapper7.tooltip-onClick").forEach((e=>{e.addEventListener("click",(t=>{const s=e.querySelector(".vayu-pin-first-wrap");s&&s.classList.toggle("visible")}))}))}))}},t={};function s(i){var a=t[i];if(void 0!==a)return a.exports;var n=t[i]={exports:{}};return e[i](n,n.exports,s),n.exports}(()=>{"use strict";function e(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function t(s,i){void 0===s&&(s={}),void 0===i&&(i={});const a=["__proto__","constructor","prototype"];Object.keys(i).filter((e=>a.indexOf(e)<0)).forEach((a=>{void 0===s[a]?s[a]=i[a]:e(i[a])&&e(s[a])&&Object.keys(i[a]).length>0&&t(s[a],i[a])}))}const i={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 t(e,i),e}const n={document:i,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 r(){const e="undefined"!=typeof window?window:{};return t(e,n),e}function o(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}function l(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function d(){return Date.now()}function c(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function p(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const a=i<0||arguments.length<=i?void 0:arguments[i];if(null!=a&&(s=a,!("undefined"!=typeof window&&void 0!==window.HTMLElement?s instanceof HTMLElement:s&&(1===s.nodeType||11===s.nodeType)))){const s=Object.keys(Object(a)).filter((e=>t.indexOf(e)<0));for(let t=0,i=s.length;t<i;t+=1){const i=s[t],n=Object.getOwnPropertyDescriptor(a,i);void 0!==n&&n.enumerable&&(c(e[i])&&c(a[i])?a[i].__swiper__?e[i]=a[i]:p(e[i],a[i]):!c(e[i])&&c(a[i])?(e[i]={},a[i].__swiper__?e[i]=a[i]:p(e[i],a[i])):e[i]=a[i])}}}var s;return e}function u(e,t,s){e.style.setProperty(t,s)}function m(e){let{swiper:t,targetPosition:s,side:i}=e;const a=r(),n=-t.translate;let o,l=null;const d=t.params.speed;t.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(t.cssModeFrameID);const c=s>n?"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),r=.5-Math.cos(e*Math.PI)/2;let c=n+r*(s-n);if(p(c,s)&&(c=s),t.wrapperEl.scrollTo({[i]:c}),p(c,s))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[i]:c})})),void a.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=a.requestAnimationFrame(u)};u()}function f(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function h(e,t){void 0===t&&(t="");const s=r(),i=[...e.children];return s.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t?i.filter((e=>e.matches(t))):i}function g(e){try{return void console.warn(e)}catch(e){}}function v(e,t){void 0===t&&(t=[]);const s=document.createElement(e);return s.classList.add(...Array.isArray(t)?t:o(t)),s}function w(e){const t=r(),s=a(),i=e.getBoundingClientRect(),n=s.body,o=e.clientTop||n.clientTop||0,l=e.clientLeft||n.clientLeft||0,d=e===t?t.scrollY:e.scrollTop,c=e===t?t.scrollX:e.scrollLeft;return{top:i.top+d-o,left:i.left+c-l}}function b(e,t){return r().getComputedStyle(e,null).getPropertyValue(t)}function y(e){let t,s=e;if(s){for(t=0;null!==(s=s.previousSibling);)1===s.nodeType&&(t+=1);return t}}function E(e,t){const s=[];let i=e.parentElement;for(;i;)t?i.matches(t)&&s.push(i):s.push(i),i=i.parentElement;return s}function S(e,t){t&&e.addEventListener("transitionend",(function s(i){i.target===e&&(t.call(e,i),e.removeEventListener("transitionend",s))}))}function T(e,t,s){const i=r();return s?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function x(e){return(Array.isArray(e)?e:[e]).filter((e=>!!e))}function M(e){return t=>Math.abs(t)>0&&e.browser&&e.browser.need3dFix&&Math.abs(t)%90==0?t+.001:t}function L(e,t){void 0===t&&(t=""),"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let C,O,P;function k(){return C||(C=function(){const e=r(),t=a();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),C}function I(e){return void 0===e&&(e={}),O||(O=function(e){let{userAgent:t}=void 0===e?{}:e;const s=k(),i=r(),a=i.navigator.platform,n=t||i.navigator.userAgent,o={ios:!1,android:!1},l=i.screen.width,d=i.screen.height,c=n.match(/(Android);?[\s\/]+([\d.]+)?/);let p=n.match(/(iPad).*OS\s([\d_]+)/);const u=n.match(/(iPod)(.*OS\s([\d_]+))?/),m=!p&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===a;let h="MacIntel"===a;return!p&&h&&s.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${d}`)>=0&&(p=n.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),h=!1),c&&!f&&(o.os="android",o.android=!0),(p||m||u)&&(o.os="ios",o.ios=!0),o}(e)),O}function A(){return P||(P=function(){const e=r(),t=I();let s=!1;function i(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(i()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,i]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));s=e<16||16===e&&i<2}}const a=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),n=i();return{isSafari:s||n,needPerspectiveFix:s,need3dFix:n||a&&t.ios,isWebView:a}}()),P}var D={on(e,t,s){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const a=s?"unshift":"push";return e.split(" ").forEach((e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][a](t)})),i},once(e,t,s){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function a(){i.off(e,a),a.__emitterProxy&&delete a.__emitterProxy;for(var s=arguments.length,n=new Array(s),r=0;r<s;r++)n[r]=arguments[r];t.apply(i,n)}return a.__emitterProxy=t,i.on(e,a,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const i=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[i](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach(((i,a)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&s.eventsListeners[e].splice(a,1)}))})),s):s},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,s,i;for(var a=arguments.length,n=new Array(a),r=0;r<a;r++)n[r]=arguments[r];return"string"==typeof n[0]||Array.isArray(n[0])?(t=n[0],s=n.slice(1,n.length),i=e):(t=n[0].events,s=n[0].data,i=n[0].context||e),s.unshift(i),(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(i,[t,...s])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(i,s)}))})),e}};const z=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)},$=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)},B=(e,t)=>{if(!e||e.destroyed||!e.params)return;const s=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(s){let t=s.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(s.shadowRoot?t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{s.shadowRoot&&(t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},R=(e,t)=>{if(!e.slides[t])return;const s=e.slides[t].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")},q=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const s=e.slides.length;if(!s||!t||t<0)return;t=Math.min(t,s);const i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),a=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const s=a,n=[s-t];return n.push(...Array.from({length:t}).map(((e,t)=>s+i+t))),void e.slides.forEach(((t,s)=>{n.includes(t.column)&&R(e,s)}))}const n=a+i-1;if(e.params.rewind||e.params.loop)for(let i=a-t;i<=n+t;i+=1){const t=(i%s+s)%s;(t<a||t>n)&&R(e,t)}else for(let i=Math.max(a-t,0);i<=Math.min(n+t,s-1);i+=1)i!==a&&(i>n||i<a)&&R(e,i)};var H={updateSize:function(){const e=this;let t,s;const i=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:i.clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:i.clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(b(i,"padding-left")||0,10)-parseInt(b(i,"padding-right")||0,10),s=s-parseInt(b(i,"padding-top")||0,10)-parseInt(b(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))},updateSlides:function(){const e=this;function t(t,s){return parseFloat(t.getPropertyValue(e.getDirectionLabel(s))||0)}const s=e.params,{wrapperEl:i,slidesEl:a,size:n,rtlTranslate:r,wrongRTL:o}=e,l=e.virtual&&s.virtual.enabled,d=l?e.virtual.slides.length:e.slides.length,c=h(a,`.${e.params.slideClass}, swiper-slide`),p=l?e.virtual.slides.length:c.length;let m=[];const f=[],g=[];let v=s.slidesOffsetBefore;"function"==typeof v&&(v=s.slidesOffsetBefore.call(e));let w=s.slidesOffsetAfter;"function"==typeof w&&(w=s.slidesOffsetAfter.call(e));const y=e.snapGrid.length,E=e.slidesGrid.length;let S=s.spaceBetween,x=-v,M=0,L=0;if(void 0===n)return;"string"==typeof S&&S.indexOf("%")>=0?S=parseFloat(S.replace("%",""))/100*n:"string"==typeof S&&(S=parseFloat(S)),e.virtualSize=-S,c.forEach((e=>{r?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),s.centeredSlides&&s.cssMode&&(u(i,"--swiper-centered-offset-before",""),u(i,"--swiper-centered-offset-after",""));const C=s.grid&&s.grid.rows>1&&e.grid;let O;C?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();const P="auto"===s.slidesPerView&&s.breakpoints&&Object.keys(s.breakpoints).filter((e=>void 0!==s.breakpoints[e].slidesPerView)).length>0;for(let i=0;i<p;i+=1){let a;if(O=0,c[i]&&(a=c[i]),C&&e.grid.updateSlide(i,a,c),!c[i]||"none"!==b(a,"display")){if("auto"===s.slidesPerView){P&&(c[i].style[e.getDirectionLabel("width")]="");const n=getComputedStyle(a),r=a.style.transform,o=a.style.webkitTransform;if(r&&(a.style.transform="none"),o&&(a.style.webkitTransform="none"),s.roundLengths)O=e.isHorizontal()?T(a,"width",!0):T(a,"height",!0);else{const e=t(n,"width"),s=t(n,"padding-left"),i=t(n,"padding-right"),r=t(n,"margin-left"),o=t(n,"margin-right"),l=n.getPropertyValue("box-sizing");if(l&&"border-box"===l)O=e+r+o;else{const{clientWidth:t,offsetWidth:n}=a;O=e+s+i+r+o+(n-t)}}r&&(a.style.transform=r),o&&(a.style.webkitTransform=o),s.roundLengths&&(O=Math.floor(O))}else O=(n-(s.slidesPerView-1)*S)/s.slidesPerView,s.roundLengths&&(O=Math.floor(O)),c[i]&&(c[i].style[e.getDirectionLabel("width")]=`${O}px`);c[i]&&(c[i].swiperSlideSize=O),g.push(O),s.centeredSlides?(x=x+O/2+M/2+S,0===M&&0!==i&&(x=x-n/2-S),0===i&&(x=x-n/2-S),Math.abs(x)<.001&&(x=0),s.roundLengths&&(x=Math.floor(x)),L%s.slidesPerGroup===0&&m.push(x),f.push(x)):(s.roundLengths&&(x=Math.floor(x)),(L-Math.min(e.params.slidesPerGroupSkip,L))%e.params.slidesPerGroup===0&&m.push(x),f.push(x),x=x+O+S),e.virtualSize+=O+S,M=O,L+=1}}if(e.virtualSize=Math.max(e.virtualSize,n)+w,r&&o&&("slide"===s.effect||"coverflow"===s.effect)&&(i.style.width=`${e.virtualSize+S}px`),s.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=`${e.virtualSize+S}px`),C&&e.grid.updateWrapperSize(O,m),!s.centeredSlides){const t=[];for(let i=0;i<m.length;i+=1){let a=m[i];s.roundLengths&&(a=Math.floor(a)),m[i]<=e.virtualSize-n&&t.push(a)}m=t,Math.floor(e.virtualSize-n)-Math.floor(m[m.length-1])>1&&m.push(e.virtualSize-n)}if(l&&s.loop){const t=g[0]+S;if(s.slidesPerGroup>1){const i=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/s.slidesPerGroup),a=t*s.slidesPerGroup;for(let e=0;e<i;e+=1)m.push(m[m.length-1]+a)}for(let i=0;i<e.virtual.slidesBefore+e.virtual.slidesAfter;i+=1)1===s.slidesPerGroup&&m.push(m[m.length-1]+t),f.push(f[f.length-1]+t),e.virtualSize+=t}if(0===m.length&&(m=[0]),0!==S){const t=e.isHorizontal()&&r?"marginLeft":e.getDirectionLabel("marginRight");c.filter(((e,t)=>!(s.cssMode&&!s.loop)||t!==c.length-1)).forEach((e=>{e.style[t]=`${S}px`}))}if(s.centeredSlides&&s.centeredSlidesBounds){let e=0;g.forEach((t=>{e+=t+(S||0)})),e-=S;const t=e>n?e-n:0;m=m.map((e=>e<=0?-v:e>t?t+w:e))}if(s.centerInsufficientSlides){let e=0;g.forEach((t=>{e+=t+(S||0)})),e-=S;const t=(s.slidesOffsetBefore||0)+(s.slidesOffsetAfter||0);if(e+t<n){const s=(n-e-t)/2;m.forEach(((e,t)=>{m[t]=e-s})),f.forEach(((e,t)=>{f[t]=e+s}))}}if(Object.assign(e,{slides:c,snapGrid:m,slidesGrid:f,slidesSizesGrid:g}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){u(i,"--swiper-centered-offset-before",-m[0]+"px"),u(i,"--swiper-centered-offset-after",e.size/2-g[g.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(p!==d&&e.emit("slidesLengthChange"),m.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==E&&e.emit("slidesGridLengthChange"),s.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||s.cssMode||"slide"!==s.effect&&"fade"!==s.effect)){const t=`${s.containerModifierClass}backface-hidden`,i=e.el.classList.contains(t);p<=s.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,s=[],i=t.virtual&&t.params.virtual.enabled;let a,n=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const r=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=>{s.push(e)}));else for(a=0;a<Math.ceil(t.params.slidesPerView);a+=1){const e=t.activeIndex+a;if(e>t.slides.length&&!i)break;s.push(r(e))}else s.push(r(t.activeIndex));for(a=0;a<s.length;a+=1)if(void 0!==s[a]){const e=s[a].offsetHeight;n=e>n?e:n}(n||0===n)&&(t.wrapperEl.style.height=`${n}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,s=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)-s-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,s=t.params,{slides:i,rtlTranslate:a,snapGrid:n}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let r=-e;a&&(r=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let o=s.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;s.cssMode&&s.centeredSlides&&(d-=i[0].swiperSlideOffset);const c=(r+(s.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o),p=(r-n[0]+(s.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o),u=-(r-d),m=u+t.slidesSizesGrid[e],f=u>=0&&u<=t.size-t.slidesSizesGrid[e],h=u>=0&&u<t.size-1||m>1&&m<=t.size||u<=0&&m>=t.size;h&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),z(l,h,s.slideVisibleClass),z(l,f,s.slideFullyVisibleClass),l.progress=a?-c:c,l.originalProgress=a?-p:p}},updateProgress:function(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:a,isBeginning:n,isEnd:r,progressLoop:o}=t;const l=n,d=r;if(0===i)a=0,n=!0,r=!0;else{a=(e-t.minTranslate())/i;const s=Math.abs(e-t.minTranslate())<1,o=Math.abs(e-t.maxTranslate())<1;n=s||a<=0,r=o||a>=1,s&&(a=0),o&&(a=1)}if(s.loop){const s=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),a=t.slidesGrid[s],n=t.slidesGrid[i],r=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);o=l>=a?(l-a)/r:(l+r-n)/r,o>1&&(o-=1)}Object.assign(t,{progress:a,progressLoop:o,isBeginning:n,isEnd:r}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),n&&!l&&t.emit("reachBeginning toEdge"),r&&!d&&t.emit("reachEnd toEdge"),(l&&!n||d&&!r)&&t.emit("fromEdge"),t.emit("progress",a)},updateSlidesClasses:function(){const e=this,{slides:t,params:s,slidesEl:i,activeIndex:a}=e,n=e.virtual&&s.virtual.enabled,r=e.grid&&s.grid&&s.grid.rows>1,o=e=>h(i,`.${s.slideClass}${e}, swiper-slide${e}`)[0];let l,d,c;if(n)if(s.loop){let t=a-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=o(`[data-swiper-slide-index="${t}"]`)}else l=o(`[data-swiper-slide-index="${a}"]`);else r?(l=t.find((e=>e.column===a)),c=t.find((e=>e.column===a+1)),d=t.find((e=>e.column===a-1))):l=t[a];l&&(r||(c=function(e,t){const s=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;t?i.matches(t)&&s.push(i):s.push(i),e=i}return s}(l,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!c&&(c=t[0]),d=function(e,t){const s=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;t?i.matches(t)&&s.push(i):s.push(i),e=i}return s}(l,`.${s.slideClass}, swiper-slide`)[0],s.loop&&0===!d&&(d=t[t.length-1]))),t.forEach((e=>{$(e,e===l,s.slideActiveClass),$(e,e===c,s.slideNextClass),$(e,e===d,s.slidePrevClass)})),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:a,activeIndex:n,realIndex:r,snapIndex:o}=t;let l,d=e;const c=e=>{let s=e-t.virtual.slidesBefore;return s<0&&(s=t.virtual.slides.length+s),s>=t.virtual.slides.length&&(s-=t.virtual.slides.length),s};if(void 0===d&&(d=function(e){const{slidesGrid:t,params:s}=e,i=e.rtlTranslate?e.translate:-e.translate;let a;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?a=e:i>=t[e]&&i<t[e+1]&&(a=e+1):i>=t[e]&&(a=e);return s.normalizeSlideIndex&&(a<0||void 0===a)&&(a=0),a}(t)),i.indexOf(s)>=0)l=i.indexOf(s);else{const e=Math.min(a.slidesPerGroupSkip,d);l=e+Math.floor((d-e)/a.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&&a.grid&&a.grid.rows>1;let u;if(t.virtual&&a.virtual.enabled&&a.loop)u=c(d);else if(p){const e=t.slides.find((e=>e.column===d));let s=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(s)&&(s=Math.max(t.slides.indexOf(e),0)),u=Math.floor(s/a.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:r,realIndex:u,previousIndex:n,activeIndex:d}),t.initialized&&q(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(r!==u&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const s=this,i=s.params;let a=e.closest(`.${i.slideClass}, swiper-slide`);!a&&s.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!a&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(a=e)}));let n,r=!1;if(a)for(let e=0;e<s.slides.length;e+=1)if(s.slides[e]===a){r=!0,n=e;break}if(!a||!r)return s.clickedSlide=void 0,void(s.clickedIndex=void 0);s.clickedSlide=a,s.virtual&&s.params.virtual.enabled?s.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):s.clickedIndex=n,i.slideToClickedSlide&&void 0!==s.clickedIndex&&s.clickedIndex!==s.activeIndex&&s.slideToClickedSlide()}},V={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:s,translate:i,wrapperEl:a}=this;if(t.virtualTranslate)return s?-i:i;if(t.cssMode)return i;let n=function(e,t){void 0===t&&(t="x");const s=r();let i,a,n;const o=function(e){const t=r();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(a=o.transform||o.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map((e=>e.replace(",","."))).join(", ")),n=new s.WebKitCSSMatrix("none"===a?"":a)):(n=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=n.toString().split(",")),"x"===t&&(a=s.WebKitCSSMatrix?n.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(a=s.WebKitCSSMatrix?n.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),a||0}(a,e);return n+=this.cssOverflowAdjustment(),s&&(n=-n),n||0},setTranslate:function(e,t){const s=this,{rtlTranslate:i,params:a,wrapperEl:n,progress:r}=s;let o,l=0,d=0;s.isHorizontal()?l=i?-e:e:d=e,a.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?l:d,a.cssMode?n[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-l:-d:a.virtualTranslate||(s.isHorizontal()?l-=s.cssOverflowAdjustment():d-=s.cssOverflowAdjustment(),n.style.transform=`translate3d(${l}px, ${d}px, 0px)`);const c=s.maxTranslate()-s.minTranslate();o=0===c?0:(e-s.minTranslate())/c,o!==r&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,s,i,a){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),void 0===i&&(i=!0);const n=this,{params:r,wrapperEl:o}=n;if(n.animating&&r.preventInteractionOnTransition)return!1;const l=n.minTranslate(),d=n.maxTranslate();let c;if(c=i&&e>l?l:i&&e<d?d:e,n.updateProgress(c),r.cssMode){const e=n.isHorizontal();if(0===t)o[e?"scrollLeft":"scrollTop"]=-c;else{if(!n.support.smoothScroll)return m({swiper:n,targetPosition:-c,side:e?"left":"top"}),!0;o.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"})}return!0}return 0===t?(n.setTransition(0),n.setTranslate(c),s&&(n.emit("beforeTransitionStart",t,a),n.emit("transitionEnd"))):(n.setTransition(t),n.setTranslate(c),s&&(n.emit("beforeTransitionStart",t,a),n.emit("transitionStart")),n.animating||(n.animating=!0,n.onTranslateToWrapperTransitionEnd||(n.onTranslateToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onTranslateToWrapperTransitionEnd),n.onTranslateToWrapperTransitionEnd=null,delete n.onTranslateToWrapperTransitionEnd,n.animating=!1,s&&n.emit("transitionEnd"))}),n.wrapperEl.addEventListener("transitionend",n.onTranslateToWrapperTransitionEnd))),!0}};function G(e){let{swiper:t,runCallbacks:s,direction:i,step:a}=e;const{activeIndex:n,previousIndex:r}=t;let o=i;o||(o=n>r?"next":n<r?"prev":"reset"),t.emit(`transition${a}`),s&&"reset"===o?t.emit(`slideResetTransition${a}`):s&&n!==r&&(t.emit(`slideChangeTransition${a}`),"next"===o?t.emit(`slideNextTransition${a}`):t.emit(`slidePrevTransition${a}`))}var F={slideTo:function(e,t,s,i,a){void 0===e&&(e=0),void 0===s&&(s=!0),"string"==typeof e&&(e=parseInt(e,10));const n=this;let r=e;r<0&&(r=0);const{params:o,snapGrid:l,slidesGrid:d,previousIndex:c,activeIndex:p,rtlTranslate:u,wrapperEl:f,enabled:h}=n;if(!h&&!i&&!a||n.destroyed||n.animating&&o.preventInteractionOnTransition)return!1;void 0===t&&(t=n.params.speed);const g=Math.min(n.params.slidesPerGroupSkip,r);let v=g+Math.floor((r-g)/n.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const w=-l[v];if(o.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){const t=-Math.floor(100*w),s=Math.floor(100*d[e]),i=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=s&&t<i-(i-s)/2?r=e:t>=s&&t<i&&(r=e+1):t>=s&&(r=e)}if(n.initialized&&r!==p){if(!n.allowSlideNext&&(u?w>n.translate&&w>n.minTranslate():w<n.translate&&w<n.minTranslate()))return!1;if(!n.allowSlidePrev&&w>n.translate&&w>n.maxTranslate()&&(p||0)!==r)return!1}let b;r!==(c||0)&&s&&n.emit("beforeSlideChangeStart"),n.updateProgress(w),b=r>p?"next":r<p?"prev":"reset";const y=n.virtual&&n.params.virtual.enabled;if((!y||!a)&&(u&&-w===n.translate||!u&&w===n.translate))return n.updateActiveIndex(r),o.autoHeight&&n.updateAutoHeight(),n.updateSlidesClasses(),"slide"!==o.effect&&n.setTranslate(w),"reset"!==b&&(n.transitionStart(s,b),n.transitionEnd(s,b)),!1;if(o.cssMode){const e=n.isHorizontal(),s=u?w:-w;if(0===t)y&&(n.wrapperEl.style.scrollSnapType="none",n._immediateVirtual=!0),y&&!n._cssModeVirtualInitialSet&&n.params.initialSlide>0?(n._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{f[e?"scrollLeft":"scrollTop"]=s}))):f[e?"scrollLeft":"scrollTop"]=s,y&&requestAnimationFrame((()=>{n.wrapperEl.style.scrollSnapType="",n._immediateVirtual=!1}));else{if(!n.support.smoothScroll)return m({swiper:n,targetPosition:s,side:e?"left":"top"}),!0;f.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}const E=A().isSafari;return y&&!a&&E&&n.isElement&&n.virtual.update(!1,!1,r),n.setTransition(t),n.setTranslate(w),n.updateActiveIndex(r),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,i),n.transitionStart(s,b),0===t?n.transitionEnd(s,b):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(s,b))}),n.wrapperEl.addEventListener("transitionend",n.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,s,i){void 0===e&&(e=0),void 0===s&&(s=!0),"string"==typeof e&&(e=parseInt(e,10));const a=this;if(a.destroyed)return;void 0===t&&(t=a.params.speed);const n=a.grid&&a.params.grid&&a.params.grid.rows>1;let r=e;if(a.params.loop)if(a.virtual&&a.params.virtual.enabled)r+=a.virtual.slidesBefore;else{let e;if(n){const t=r*a.params.grid.rows;e=a.slides.find((e=>1*e.getAttribute("data-swiper-slide-index")===t)).column}else e=a.getSlideIndexByData(r);const t=n?Math.ceil(a.slides.length/a.params.grid.rows):a.slides.length,{centeredSlides:s}=a.params;let o=a.params.slidesPerView;"auto"===o?o=a.slidesPerViewDynamic():(o=Math.ceil(parseFloat(a.params.slidesPerView,10)),s&&o%2==0&&(o+=1));let l=t-e<o;if(s&&(l=l||e<Math.ceil(o/2)),i&&s&&"auto"!==a.params.slidesPerView&&!n&&(l=!1),l){const i=s?e<a.activeIndex?"prev":"next":e-a.activeIndex-1<a.params.slidesPerView?"next":"prev";a.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?e+1:e-t+1,slideRealIndex:"next"===i?a.realIndex:void 0})}if(n){const e=r*a.params.grid.rows;r=a.slides.find((t=>1*t.getAttribute("data-swiper-slide-index")===e)).column}else r=a.getSlideIndexByData(r)}return requestAnimationFrame((()=>{a.slideTo(r,t,s,i)})),a},slideNext:function(e,t,s){void 0===t&&(t=!0);const i=this,{enabled:a,params:n,animating:r}=i;if(!a||i.destroyed)return i;void 0===e&&(e=i.params.speed);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(r&&!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,s)})),!0}return n.rewind&&i.isEnd?i.slideTo(0,e,t,s):i.slideTo(i.activeIndex+l,e,t,s)},slidePrev:function(e,t,s){void 0===t&&(t=!0);const i=this,{params:a,snapGrid:n,slidesGrid:r,rtlTranslate:o,enabled:l,animating:d}=i;if(!l||i.destroyed)return i;void 0===e&&(e=i.params.speed);const c=i.virtual&&a.virtual.enabled;if(a.loop){if(d&&!c&&a.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),m=n.map((e=>p(e))),f=a.freeMode&&a.freeMode.enabled;let h=n[m.indexOf(u)-1];if(void 0===h&&(a.cssMode||f)){let e;n.forEach(((t,s)=>{u>=t&&(e=s)})),void 0!==e&&(h=f?n[e]:n[e>0?e-1:e])}let g=0;if(void 0!==h&&(g=r.indexOf(h),g<0&&(g=i.activeIndex-1),"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(g=g-i.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),a.rewind&&i.isBeginning){const a=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(a,e,t,s)}return a.loop&&0===i.activeIndex&&a.cssMode?(requestAnimationFrame((()=>{i.slideTo(g,e,t,s)})),!0):i.slideTo(g,e,t,s)},slideReset:function(e,t,s){void 0===t&&(t=!0);const i=this;if(!i.destroyed)return void 0===e&&(e=i.params.speed),i.slideTo(i.activeIndex,e,t,s)},slideToClosest:function(e,t,s,i){void 0===t&&(t=!0),void 0===i&&(i=.5);const a=this;if(a.destroyed)return;void 0===e&&(e=a.params.speed);let n=a.activeIndex;const r=Math.min(a.params.slidesPerGroupSkip,n),o=r+Math.floor((n-r)/a.params.slidesPerGroup),l=a.rtlTranslate?a.translate:-a.translate;if(l>=a.snapGrid[o]){const e=a.snapGrid[o];l-e>(a.snapGrid[o+1]-e)*i&&(n+=a.params.slidesPerGroup)}else{const e=a.snapGrid[o-1];l-e<=(a.snapGrid[o]-e)*i&&(n-=a.params.slidesPerGroup)}return n=Math.max(n,0),n=Math.min(n,a.slidesGrid.length-1),a.slideTo(n,e,t,s)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:s}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let a,n=e.clickedIndex;const r=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;a=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?n<e.loopedSlides-i/2||n>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),n=e.getSlideIndex(h(s,`${r}[data-swiper-slide-index="${a}"]`)[0]),l((()=>{e.slideTo(n)}))):e.slideTo(n):n>e.slides.length-i?(e.loopFix(),n=e.getSlideIndex(h(s,`${r}[data-swiper-slide-index="${a}"]`)[0]),l((()=>{e.slideTo(n)}))):e.slideTo(n)}else e.slideTo(n)}},_={loopCreate:function(e,t){const s=this,{params:i,slidesEl:a}=s;if(!i.loop||s.virtual&&s.params.virtual.enabled)return;const n=()=>{h(a,`.${i.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},r=s.grid&&i.grid&&i.grid.rows>1,o=i.slidesPerGroup*(r?i.grid.rows:1),l=s.slides.length%o!==0,d=r&&s.slides.length%i.grid.rows!==0,c=e=>{for(let t=0;t<e;t+=1){const e=s.isElement?v("swiper-slide",[i.slideBlankClass]):v("div",[i.slideClass,i.slideBlankClass]);s.slidesEl.append(e)}};l?(i.loopAddBlankSlides?(c(o-s.slides.length%o),s.recalcSlides(),s.updateSlides()):g("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()):d?(i.loopAddBlankSlides?(c(i.grid.rows-s.slides.length%i.grid.rows),s.recalcSlides(),s.updateSlides()):g("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()):n(),s.loopFix({slideRealIndex:e,direction:i.centeredSlides?void 0:"next",initial:t})},loopFix:function(e){let{slideRealIndex:t,slideTo:s=!0,direction:i,setTranslate:a,activeSlideIndex:n,initial:r,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:m,params:f}=d,{centeredSlides:h,initialSlide:v}=f;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&f.virtual.enabled)return s&&(f.centeredSlides||0!==d.snapIndex?f.centeredSlides&&d.snapIndex<f.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 w=f.slidesPerView;"auto"===w?w=d.slidesPerViewDynamic():(w=Math.ceil(parseFloat(f.slidesPerView,10)),h&&w%2==0&&(w+=1));const b=f.slidesPerGroupAuto?w:f.slidesPerGroup;let y=b;y%b!==0&&(y+=b-y%b),y+=f.loopAdditionalSlides,d.loopedSlides=y;const E=d.grid&&f.grid&&f.grid.rows>1;c.length<w+y||"cards"===d.params.effect&&c.length<w+2*y?g("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):E&&"row"===f.grid.fill&&g("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const S=[],T=[],x=E?Math.ceil(c.length/f.grid.rows):c.length,M=r&&x-v<w&&!h;let L=M?v:d.activeIndex;void 0===n?n=d.getSlideIndex(c.find((e=>e.classList.contains(f.slideActiveClass)))):L=n;const C="next"===i||!i,O="prev"===i||!i;let P=0,k=0;const I=(E?c[n].column:n)+(h&&void 0===a?-w/2+.5:0);if(I<y){P=Math.max(y-I,b);for(let e=0;e<y-I;e+=1){const t=e-Math.floor(e/x)*x;if(E){const e=x-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&S.push(t)}else S.push(x-t-1)}}else if(I+w>x-y){k=Math.max(I-(x-2*y),b),M&&(k=Math.max(k,w-x+v+1));for(let e=0;e<k;e+=1){const t=e-Math.floor(e/x)*x;E?c.forEach(((e,s)=>{e.column===t&&T.push(s)})):T.push(t)}}if(d.__preventObserver__=!0,requestAnimationFrame((()=>{d.__preventObserver__=!1})),"cards"===d.params.effect&&c.length<w+2*y&&(T.includes(n)&&T.splice(T.indexOf(n),1),S.includes(n)&&S.splice(S.indexOf(n),1)),O&&S.forEach((e=>{c[e].swiperLoopMoveDOM=!0,m.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),C&&T.forEach((e=>{c[e].swiperLoopMoveDOM=!0,m.append(c[e]),c[e].swiperLoopMoveDOM=!1})),d.recalcSlides(),"auto"===f.slidesPerView?d.updateSlides():E&&(S.length>0&&O||T.length>0&&C)&&d.slides.forEach(((e,t)=>{d.grid.updateSlide(t,e,d.slides)})),f.watchSlidesProgress&&d.updateSlidesOffset(),s)if(S.length>0&&O){if(void 0===t){const e=d.slidesGrid[L],t=d.slidesGrid[L+P]-e;l?d.setTranslate(d.translate-t):(d.slideTo(L+Math.ceil(P),0,!1,!0),a&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else if(a){const e=E?S.length/f.grid.rows:S.length;d.slideTo(d.activeIndex+e,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(T.length>0&&C)if(void 0===t){const e=d.slidesGrid[L],t=d.slidesGrid[L-k]-e;l?d.setTranslate(d.translate-t):(d.slideTo(L-k,0,!1,!0),a&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else{const e=E?T.length/f.grid.rows:T.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:a,activeSlideIndex:n,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===f.slidesPerView&&s})})):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...e,slideTo:d.controller.control.params.slidesPerView===f.slidesPerView&&s})}d.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:s}=e;if(!t.loop||!s||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=>{s.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function N(e,t,s){const i=r(),{params:a}=e,n=a.edgeSwipeDetection,o=a.edgeSwipeThreshold;return!n||!(s<=o||s>=i.innerWidth-o)||"prevent"===n&&(t.preventDefault(),!0)}function X(e){const t=this,s=a();let i=e;i.originalEvent&&(i=i.originalEvent);const n=t.touchEventsData;if("pointerdown"===i.type){if(null!==n.pointerId&&n.pointerId!==i.pointerId)return;n.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(n.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void N(t,i,i.targetTouches[0].pageX);const{params:o,touches:l,enabled:c}=t;if(!c)return;if(!o.simulateTouch&&"mouse"===i.pointerType)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let p=i.target;if("wrapper"===o.touchEventsTarget&&!function(e,t){const s=r();let i=t.contains(e);return!i&&s.HTMLSlotElement&&t instanceof HTMLSlotElement&&(i=[...t.assignedElements()].includes(e),i||(i=function(e,t){const s=[t];for(;s.length>0;){const t=s.shift();if(e===t)return!0;s.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t))),i}(p,t.wrapperEl))return;if("which"in i&&3===i.which)return;if("button"in i&&i.button>0)return;if(n.isTouched&&n.isMoved)return;const u=!!o.noSwipingClass&&""!==o.noSwipingClass,m=i.composedPath?i.composedPath():i.path;u&&i.target&&i.target.shadowRoot&&m&&(p=m[0]);const f=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,h=!(!i.target||!i.target.shadowRoot);if(o.noSwiping&&(h?function(e,t){return void 0===t&&(t=this),function t(s){if(!s||s===a()||s===r())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(e);return i||s.getRootNode?i||t(s.getRootNode().host):null}(t)}(f,p):p.closest(f)))return void(t.allowClick=!0);if(o.swipeHandler&&!p.closest(o.swipeHandler))return;l.currentX=i.pageX,l.currentY=i.pageY;const g=l.currentX,v=l.currentY;if(!N(t,i,g))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=g,l.startY=v,n.touchStartTime=d(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(n.allowThresholdMove=!1);let w=!0;p.matches(n.focusableElements)&&(w=!1,"SELECT"===p.nodeName&&(n.isTouched=!1)),s.activeElement&&s.activeElement.matches(n.focusableElements)&&s.activeElement!==p&&("mouse"===i.pointerType||"mouse"!==i.pointerType&&!p.matches(n.focusableElements))&&s.activeElement.blur();const b=w&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!b||p.isContentEditable||i.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",i)}function j(e){const t=a(),s=this,i=s.touchEventsData,{params:n,touches:r,rtlTranslate:o,enabled:l}=s;if(!l)return;if(!n.simulateTouch&&"mouse"===e.pointerType)return;let c,p=e;if(p.originalEvent&&(p=p.originalEvent),"pointermove"===p.type){if(null!==i.touchId)return;if(p.pointerId!==i.pointerId)return}if("touchmove"===p.type){if(c=[...p.changedTouches].find((e=>e.identifier===i.touchId)),!c||c.identifier!==i.touchId)return}else c=p;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&s.emit("touchMoveOpposite",p));const u=c.pageX,m=c.pageY;if(p.preventedByNestedSwiper)return r.startX=u,void(r.startY=m);if(!s.allowTouchMove)return p.target.matches(i.focusableElements)||(s.allowClick=!1),void(i.isTouched&&(Object.assign(r,{startX:u,startY:m,currentX:u,currentY:m}),i.touchStartTime=d()));if(n.touchReleaseOnEdges&&!n.loop)if(s.isVertical()){if(m<r.startY&&s.translate<=s.maxTranslate()||m>r.startY&&s.translate>=s.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else{if(o&&(u>r.startX&&-s.translate<=s.maxTranslate()||u<r.startX&&-s.translate>=s.minTranslate()))return;if(!o&&(u<r.startX&&s.translate<=s.maxTranslate()||u>r.startX&&s.translate>=s.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==p.target&&"mouse"!==p.pointerType&&t.activeElement.blur(),t.activeElement&&p.target===t.activeElement&&p.target.matches(i.focusableElements))return i.isMoved=!0,void(s.allowClick=!1);i.allowTouchCallbacks&&s.emit("touchMove",p),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=u,r.currentY=m;const f=r.currentX-r.startX,h=r.currentY-r.startY;if(s.params.threshold&&Math.sqrt(f**2+h**2)<s.params.threshold)return;if(void 0===i.isScrolling){let e;s.isHorizontal()&&r.currentY===r.startY||s.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:f*f+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(f))/Math.PI,i.isScrolling=s.isHorizontal()?e>n.touchAngle:90-e>n.touchAngle)}if(i.isScrolling&&s.emit("touchMoveOpposite",p),void 0===i.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling||"touchmove"===p.type&&i.preventTouchMoveFromPointerMove)return void(i.isTouched=!1);if(!i.startMoving)return;s.allowClick=!1,!n.cssMode&&p.cancelable&&p.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&p.stopPropagation();let g=s.isHorizontal()?f:h,v=s.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;n.oneWayMovement&&(g=Math.abs(g)*(o?1:-1),v=Math.abs(v)*(o?1:-1)),r.diff=g,g*=n.touchRatio,o&&(g=-g,v=-v);const w=s.touchesDirection;s.swipeDirection=g>0?"prev":"next",s.touchesDirection=v>0?"prev":"next";const b=s.params.loop&&!n.cssMode,y="next"===s.touchesDirection&&s.allowSlideNext||"prev"===s.touchesDirection&&s.allowSlidePrev;if(!i.isMoved){if(b&&y&&s.loopFix({direction:s.swipeDirection}),i.startTranslate=s.getTranslate(),s.setTransition(0),s.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});s.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,!n.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",p)}if((new Date).getTime(),!1!==n._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&w!==s.touchesDirection&&b&&y&&Math.abs(g)>=1)return Object.assign(r,{startX:u,startY:m,currentX:u,currentY:m,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);s.emit("sliderMove",p),i.isMoved=!0,i.currentTranslate=g+i.startTranslate;let E=!0,S=n.resistanceRatio;if(n.touchReleaseOnEdges&&(S=0),g>0?(b&&y&&i.allowThresholdMove&&i.currentTranslate>(n.centeredSlides?s.minTranslate()-s.slidesSizesGrid[s.activeIndex+1]-("auto"!==n.slidesPerView&&s.slides.length-n.slidesPerView>=2?s.slidesSizesGrid[s.activeIndex+1]+s.params.spaceBetween:0)-s.params.spaceBetween:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>s.minTranslate()&&(E=!1,n.resistance&&(i.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+i.startTranslate+g)**S))):g<0&&(b&&y&&i.allowThresholdMove&&i.currentTranslate<(n.centeredSlides?s.maxTranslate()+s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween+("auto"!==n.slidesPerView&&s.slides.length-n.slidesPerView>=2?s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween:0):s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-("auto"===n.slidesPerView?s.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),i.currentTranslate<s.maxTranslate()&&(E=!1,n.resistance&&(i.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-i.startTranslate-g)**S))),E&&(p.preventedByNestedSwiper=!0),!s.allowSlideNext&&"next"===s.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!s.allowSlidePrev&&"prev"===s.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),s.allowSlidePrev||s.allowSlideNext||(i.currentTranslate=i.startTranslate),n.threshold>0){if(!(Math.abs(g)>n.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=s.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}n.followFinger&&!n.cssMode&&((n.freeMode&&n.freeMode.enabled&&s.freeMode||n.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(i.currentTranslate),s.setTranslate(i.currentTranslate))}function Y(e){const t=this,s=t.touchEventsData;let i,a=e;if(a.originalEvent&&(a=a.originalEvent),"touchend"===a.type||"touchcancel"===a.type){if(i=[...a.changedTouches].find((e=>e.identifier===s.touchId)),!i||i.identifier!==s.touchId)return}else{if(null!==s.touchId)return;if(a.pointerId!==s.pointerId)return;i=a}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)&&(!["pointercancel","contextmenu"].includes(a.type)||!t.browser.isSafari&&!t.browser.isWebView))return;s.pointerId=null,s.touchId=null;const{params:n,touches:r,rtlTranslate:o,slidesGrid:c,enabled:p}=t;if(!p)return;if(!n.simulateTouch&&"mouse"===a.pointerType)return;if(s.allowTouchCallbacks&&t.emit("touchEnd",a),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&n.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);n.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=d(),m=u-s.touchStartTime;if(t.allowClick){const e=a.path||a.composedPath&&a.composedPath();t.updateClickedSlide(e&&e[0]||a.target,e),t.emit("tap click",a),m<300&&u-s.lastClickTime<300&&t.emit("doubleTap doubleClick",a)}if(s.lastClickTime=d(),l((()=>{t.destroyed||(t.allowClick=!0)})),!s.isTouched||!s.isMoved||!t.swipeDirection||0===r.diff&&!s.loopSwapReset||s.currentTranslate===s.startTranslate&&!s.loopSwapReset)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let f;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,f=n.followFinger?o?t.translate:-t.translate:-s.currentTranslate,n.cssMode)return;if(n.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:f});const h=f>=-t.maxTranslate()&&!t.params.loop;let g=0,v=t.slidesSizesGrid[0];for(let e=0;e<c.length;e+=e<n.slidesPerGroupSkip?1:n.slidesPerGroup){const t=e<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==c[e+t]?(h||f>=c[e]&&f<c[e+t])&&(g=e,v=c[e+t]-c[e]):(h||f>=c[e])&&(g=e,v=c[c.length-1]-c[c.length-2])}let w=null,b=null;n.rewind&&(t.isBeginning?b=n.virtual&&n.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(w=0));const y=(f-c[g])/v,E=g<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(m>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(y>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?w:g+E):t.slideTo(g)),"prev"===t.swipeDirection&&(y>1-n.longSwipesRatio?t.slideTo(g+E):null!==b&&y<0&&Math.abs(y)>n.longSwipesRatio?t.slideTo(b):t.slideTo(g))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||a.target!==t.navigation.nextEl&&a.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==w?w:g+E),"prev"===t.swipeDirection&&t.slideTo(null!==b?b:g)):a.target===t.navigation.nextEl?t.slideTo(g+E):t.slideTo(g)}}function W(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:a,snapGrid:n}=e,r=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const o=r&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!r?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=a,e.allowSlideNext=i,e.params.watchOverflow&&n!==e.snapGrid&&e.checkOverflow()}function U(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function K(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:i}=e;if(!i)return;let a;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();a=0===n?0:(e.translate-e.minTranslate())/n,a!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function J(e){const t=this;B(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function Q(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const Z=(e,t)=>{const s=a(),{params:i,el:n,wrapperEl:r,device:o}=e,l=!!i.nested,d="on"===t?"addEventListener":"removeEventListener",c=t;n&&"string"!=typeof n&&(s[d]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),n[d]("touchstart",e.onTouchStart,{passive:!1}),n[d]("pointerdown",e.onTouchStart,{passive:!1}),s[d]("touchmove",e.onTouchMove,{passive:!1,capture:l}),s[d]("pointermove",e.onTouchMove,{passive:!1,capture:l}),s[d]("touchend",e.onTouchEnd,{passive:!0}),s[d]("pointerup",e.onTouchEnd,{passive:!0}),s[d]("pointercancel",e.onTouchEnd,{passive:!0}),s[d]("touchcancel",e.onTouchEnd,{passive:!0}),s[d]("pointerout",e.onTouchEnd,{passive:!0}),s[d]("pointerleave",e.onTouchEnd,{passive:!0}),s[d]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&n[d]("click",e.onClick,!0),i.cssMode&&r[d]("scroll",e.onScroll),i.updateOnWindowResize?e[c](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",W,!0):e[c]("observerUpdate",W,!0),n[d]("load",e.onLoad,{capture:!0}))},ee=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var te={setBreakpoint:function(){const e=this,{realIndex:t,initialized:s,params:i,el:n}=e,r=i.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const o=a(),l="window"!==i.breakpointsBase&&i.breakpointsBase?"container":i.breakpointsBase,d=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:o.querySelector(i.breakpointsBase),c=e.getBreakpoint(r,l,d);if(!c||e.currentBreakpoint===c)return;const u=(c in r?r[c]:void 0)||e.originalParams,m=ee(e,i),f=ee(e,u),h=e.params.grabCursor,g=u.grabCursor,v=i.enabled;m&&!f?(n.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!m&&f&&(n.classList.add(`${i.containerModifierClass}grid`),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===i.grid.fill)&&n.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),h&&!g?e.unsetGrabCursor():!h&&g&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===u[t])return;const s=i[t]&&i[t].enabled,a=u[t]&&u[t].enabled;s&&!a&&e[t].disable(),!s&&a&&e[t].enable()}));const w=u.direction&&u.direction!==i.direction,b=i.loop&&(u.slidesPerView!==i.slidesPerView||w),y=i.loop;w&&s&&e.changeDirection(),p(e.params,u);const E=e.params.enabled,S=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!E?e.disable():!v&&E&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",u),s&&(b?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!y&&S?(e.loopCreate(t),e.updateSlides()):y&&!S&&e.loopDestroy()),e.emit("breakpoint",u)},getBreakpoint:function(e,t,s){if(void 0===t&&(t="window"),!e||"container"===t&&!s)return;let i=!1;const a=r(),n="window"===t?a.innerHeight:s.clientHeight,o=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:n*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:n,value:r}=o[e];"window"===t?a.matchMedia(`(min-width: ${r}px)`).matches&&(i=n):r<=s.clientWidth&&(i=n)}return i||"max"}},se={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,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 ie(e,t){return function(s){void 0===s&&(s={});const i=Object.keys(s)[0],a=s[i];"object"==typeof a&&null!==a?(!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 a?("object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),p(t,s)):p(t,s)):p(t,s)}}const ae={eventsEmitter:D,update:H,translate:V,transition:{setTransition:function(e,t){const s=this;s.params.cssMode||(s.wrapperEl.style.transitionDuration=`${e}ms`,s.wrapperEl.style.transitionDelay=0===e?"0ms":""),s.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const s=this,{params:i}=s;i.cssMode||(i.autoHeight&&s.updateAutoHeight(),G({swiper:s,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const s=this,{params:i}=s;s.animating=!1,i.cssMode||(s.setTransition(0),G({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},slide:F,loop:_,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),s.style.cursor="move",s.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=X.bind(e),e.onTouchMove=j.bind(e),e.onTouchEnd=Y.bind(e),e.onDocumentTouchStart=Q.bind(e),t.cssMode&&(e.onScroll=K.bind(e)),e.onClick=U.bind(e),e.onLoad=J.bind(e),Z(e,"on")},detachEvents:function(){Z(this,"off")}},breakpoints:te,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:i}=s;if(i){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.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:s,rtl:i,el:a,device:n}=e,r=function(e,t){const s=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((i=>{e[i]&&s.push(t+i)})):"string"==typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:i},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:n.android},{ios:n.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...r),a.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},ne={};class re{constructor(){let e,t;for(var s=arguments.length,i=new Array(s),n=0;n<s;n++)i[n]=arguments[n];1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?t=i[0]:[e,t]=i,t||(t={}),t=p({},t),e&&!t.el&&(t.el=e);const r=a();if(t.el&&"string"==typeof t.el&&r.querySelectorAll(t.el).length>1){const e=[];return r.querySelectorAll(t.el).forEach((s=>{const i=p({},t,{el:s});e.push(new re(i))})),e}const o=this;o.__swiper__=!0,o.support=k(),o.device=I({userAgent:t.userAgent}),o.browser=A(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const l={};o.modules.forEach((e=>{e({params:t,swiper:o,extendParams:ie(t,l),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})}));const d=p({},se,l);return o.params=p({},d,ne,t),o.originalParams=p({},o.params),o.passedParams=p({},t),o.params&&o.params.on&&Object.keys(o.params.on).forEach((e=>{o.on(e,o.params.on[e])})),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===o.params.direction,isVertical:()=>"vertical"===o.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:o.params.allowSlideNext,allowSlidePrev:o.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:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}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:s}=this,i=y(h(t,`.${s.slideClass}, swiper-slide`)[0]);return y(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find((t=>1*t.getAttribute("data-swiper-slide-index")===e)))}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=h(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 s=this;e=Math.min(Math.max(e,0),1);const i=s.minTranslate(),a=(s.maxTranslate()-i)*e+i;s.translateTo(a,void 0===t?0:t),s.updateActiveIndex(),s.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((s=>{const i=e.getSlideClasses(s);t.push({slideEl:s,classNames:i}),e.emit("_slideClass",s,i)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:s,slides:i,slidesGrid:a,slidesSizesGrid:n,size:r,activeIndex:o}=this;let l=1;if("number"==typeof s.slidesPerView)return s.slidesPerView;if(s.centeredSlides){let e,t=i[o]?Math.ceil(i[o].swiperSlideSize):0;for(let s=o+1;s<i.length;s+=1)i[s]&&!e&&(t+=Math.ceil(i[s].swiperSlideSize),l+=1,t>r&&(e=!0));for(let s=o-1;s>=0;s-=1)i[s]&&!e&&(t+=i[s].swiperSlideSize,l+=1,t>r&&(e=!0))}else if("current"===e)for(let e=o+1;e<i.length;e+=1)(t?a[e]+n[e]-a[o]<r:a[e]-a[o]<r)&&(l+=1);else for(let e=o-1;e>=0;e-=1)a[o]-a[e]<r&&(l+=1);return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:s}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,s=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let a;if(s.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&B(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),s.freeMode&&s.freeMode.enabled&&!s.cssMode)i(),s.autoHeight&&e.updateAutoHeight();else{if(("auto"===s.slidesPerView||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const t=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;a=e.slideTo(t.length-1,0,!1,!0)}else a=e.slideTo(e.activeIndex,0,!1,!0);a||i()}s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const s=this,i=s.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(s.el.classList.remove(`${s.params.containerModifierClass}${i}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changeDirection"),t&&s.update()),s}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 s=e||t.params.el;if("string"==typeof s&&(s=document.querySelector(s)),!s)return!1;s.swiper=t,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(i()):h(s,i())[0];return!a&&t.params.createElements&&(a=v("div",t.params.wrapperClass),s.append(a),h(s,`.${t.params.slideClass}`).forEach((e=>{a.append(e)}))),Object.assign(t,{el:s,wrapperEl:a,slidesEl:t.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:a,hostEl:t.isElement?s.parentNode.host:s,mounted:!0,rtl:"rtl"===s.dir.toLowerCase()||"rtl"===b(s,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===b(s,"direction")),wrongRTL:"-webkit-box"===b(a,"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(void 0,!0),t.attachEvents();const s=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&s.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),s.forEach((e=>{e.complete?B(t,e):e.addEventListener("load",(e=>{B(t,e.target)}))})),q(t),t.initialized=!0,q(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const s=this,{params:i,el:a,wrapperEl:n,slides:r}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),i.loop&&s.loopDestroy(),t&&(s.removeClasses(),a&&"string"!=typeof a&&a.removeAttribute("style"),n&&n.removeAttribute("style"),r&&r.length&&r.forEach((e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),s.emit("destroy"),Object.keys(s.eventsListeners).forEach((e=>{s.off(e)})),!1!==e&&(s.el&&"string"!=typeof s.el&&(s.el.swiper=null),function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(s)),s.destroyed=!0),null}static extendDefaults(e){p(ne,e)}static get extendedDefaults(){return ne}static get defaults(){return se}static installModule(e){re.prototype.__modules__||(re.prototype.__modules__=[]);const t=re.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>re.installModule(e))),re):(re.installModule(e),re)}}function oe(e){let{swiper:t,extendParams:s,on:i,emit:n}=e;const o=a(),l=r();function d(e){if(!t.enabled)return;const{rtlTranslate:s}=t;let i=e;i.originalEvent&&(i=i.originalEvent);const a=i.keyCode||i.charCode,r=t.params.keyboard.pageUpDown,d=r&&33===a,c=r&&34===a,p=37===a,u=39===a,m=38===a,f=40===a;if(!t.allowSlideNext&&(t.isHorizontal()&&u||t.isVertical()&&f||c))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&p||t.isVertical()&&m||d))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey||o.activeElement&&o.activeElement.nodeName&&("input"===o.activeElement.nodeName.toLowerCase()||"textarea"===o.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(d||c||p||u||m||f)){let e=!1;if(E(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&0===E(t.el,`.${t.params.slideActiveClass}`).length)return;const i=t.el,a=i.clientWidth,n=i.clientHeight,r=l.innerWidth,o=l.innerHeight,d=w(i);s&&(d.left-=i.scrollLeft);const c=[[d.left,d.top],[d.left+a,d.top],[d.left,d.top+n],[d.left+a,d.top+n]];for(let t=0;t<c.length;t+=1){const s=c[t];if(s[0]>=0&&s[0]<=r&&s[1]>=0&&s[1]<=o){if(0===s[0]&&0===s[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((d||c||p||u)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),((c||u)&&!s||(d||p)&&s)&&t.slideNext(),((d||p)&&!s||(c||u)&&s)&&t.slidePrev()):((d||c||m||f)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),(c||f)&&t.slideNext(),(d||m)&&t.slidePrev()),n("keyPress",a)}}function c(){t.keyboard.enabled||(o.addEventListener("keydown",d),t.keyboard.enabled=!0)}function p(){t.keyboard.enabled&&(o.removeEventListener("keydown",d),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},s({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),i("init",(()=>{t.params.keyboard.enabled&&c()})),i("destroy",(()=>{t.keyboard.enabled&&p()})),Object.assign(t.keyboard,{enable:c,disable:p})}function le(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const n=r();let o;s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let c,p=d();const u=[];function m(){t.enabled&&(t.mouseEntered=!0)}function f(){t.enabled&&(t.mouseEntered=!1)}function h(e){return!(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta||t.params.mousewheel.thresholdTime&&d()-p<t.params.mousewheel.thresholdTime||!(e.delta>=6&&d()-p<60)&&(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),a("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),a("scroll",e.raw)),p=(new n.Date).getTime(),1))}function g(e){let s=e,i=!0;if(!t.enabled)return;if(e.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const n=t.params.mousewheel;t.params.cssMode&&s.preventDefault();let r=t.el;"container"!==t.params.mousewheel.eventsTarget&&(r=document.querySelector(t.params.mousewheel.eventsTarget));const p=r&&r.contains(s.target);if(!t.mouseEntered&&!p&&!n.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let m=0;const f=t.rtlTranslate?-1:1,g=function(e){let t=0,s=0,i=0,a=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),i=10*t,a=10*s,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(i=e.deltaX),e.shiftKey&&!i&&(i=a,a=0),(i||a)&&e.deltaMode&&(1===e.deltaMode?(i*=40,a*=40):(i*=800,a*=800)),i&&!t&&(t=i<1?-1:1),a&&!s&&(s=a<1?-1:1),{spinX:t,spinY:s,pixelX:i,pixelY:a}}(s);if(n.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(g.pixelX)>Math.abs(g.pixelY)))return!0;m=-g.pixelX*f}else{if(!(Math.abs(g.pixelY)>Math.abs(g.pixelX)))return!0;m=-g.pixelY}else m=Math.abs(g.pixelX)>Math.abs(g.pixelY)?-g.pixelX*f:-g.pixelY;if(0===m)return!0;n.invert&&(m=-m);let v=t.getTranslate()+m*n.sensitivity;if(v>=t.minTranslate()&&(v=t.minTranslate()),v<=t.maxTranslate()&&(v=t.maxTranslate()),i=!!t.params.loop||!(v===t.minTranslate()||v===t.maxTranslate()),i&&t.params.nested&&s.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={time:d(),delta:Math.abs(m),direction:Math.sign(m)},i=c&&e.time<c.time+500&&e.delta<=c.delta&&e.direction===c.direction;if(!i){c=void 0;let r=t.getTranslate()+m*n.sensitivity;const d=t.isBeginning,p=t.isEnd;if(r>=t.minTranslate()&&(r=t.minTranslate()),r<=t.maxTranslate()&&(r=t.maxTranslate()),t.setTransition(0),t.setTranslate(r),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!d&&t.isBeginning||!p&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:e.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(o),o=void 0,u.length>=15&&u.shift();const s=u.length?u[u.length-1]:void 0,i=u[0];if(u.push(e),s&&(e.delta>s.delta||e.direction!==s.direction))u.splice(0);else if(u.length>=15&&e.time-i.time<500&&i.delta-e.delta>=1&&e.delta<=6){const s=m>0?.8:.2;c=e,u.splice(0),o=l((()=>{!t.destroyed&&t.params&&t.slideToClosest(t.params.speed,!0,void 0,s)}),0)}o||(o=l((()=>{!t.destroyed&&t.params&&(c=e,u.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5))}),500))}if(i||a("scroll",s),t.params.autoplay&&t.params.autoplay.disableOnInteraction&&t.autoplay.stop(),n.releaseOnEdges&&(r===t.minTranslate()||r===t.maxTranslate()))return!0}}else{const s={time:d(),delta:Math.abs(m),direction:Math.sign(m),raw:e};u.length>=2&&u.shift();const i=u.length?u[u.length-1]:void 0;if(u.push(s),i?(s.direction!==i.direction||s.delta>i.delta||s.time>i.time+150)&&h(s):h(s),function(e){const s=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&s.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&s.releaseOnEdges)return!0;return!1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function v(e){let s=t.el;"container"!==t.params.mousewheel.eventsTarget&&(s=document.querySelector(t.params.mousewheel.eventsTarget)),s[e]("mouseenter",m),s[e]("mouseleave",f),s[e]("wheel",g)}function w(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",g),!0):!t.mousewheel.enabled&&(v("addEventListener"),t.mousewheel.enabled=!0,!0)}function b(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,g),!0):!!t.mousewheel.enabled&&(v("removeEventListener"),t.mousewheel.enabled=!1,!0)}i("init",(()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&b(),t.params.mousewheel.enabled&&w()})),i("destroy",(()=>{t.params.cssMode&&w(),t.mousewheel.enabled&&b()})),Object.assign(t.mousewheel,{enable:w,disable:b})}function de(e,t,s,i){return e.params.createElements&&Object.keys(i).forEach((a=>{if(!s[a]&&!0===s.auto){let n=h(e.el,`.${i[a]}`)[0];n||(n=v("div",i[a]),n.className=i[a],e.el.append(n)),s[a]=n,t[a]=n}})),s}function ce(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;function n(e){let s;return e&&"string"==typeof e&&t.isElement&&(s=t.el.querySelector(e)||t.hostEl.querySelector(e),s)?s:(e&&("string"==typeof e&&(s=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&s&&s.length>1&&1===t.el.querySelectorAll(e).length?s=t.el.querySelector(e):s&&1===s.length&&(s=s[0])),e&&!s?e:s)}function r(e,s){const i=t.params.navigation;(e=x(e)).forEach((e=>{e&&(e.classList[s?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=s),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass))}))}function o(){const{nextEl:e,prevEl:s}=t.navigation;if(t.params.loop)return r(s,!1),void r(e,!1);r(s,t.isBeginning&&!t.params.rewind),r(e,t.isEnd&&!t.params.rewind)}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),a("navigationPrev"))}function d(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),a("navigationNext"))}function c(){const e=t.params.navigation;if(t.params.navigation=de(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let s=n(e.nextEl),i=n(e.prevEl);Object.assign(t.navigation,{nextEl:s,prevEl:i}),s=x(s),i=x(i);const a=(s,i)=>{s&&s.addEventListener("click","next"===i?d:l),!t.enabled&&s&&s.classList.add(...e.lockClass.split(" "))};s.forEach((e=>a(e,"next"))),i.forEach((e=>a(e,"prev")))}function p(){let{nextEl:e,prevEl:s}=t.navigation;e=x(e),s=x(s);const i=(e,s)=>{e.removeEventListener("click","next"===s?d:l),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach((e=>i(e,"next"))),s.forEach((e=>i(e,"prev")))}s({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},i("init",(()=>{!1===t.params.navigation.enabled?u():(c(),o())})),i("toEdge fromEdge lock unlock",(()=>{o()})),i("destroy",(()=>{p()})),i("enable disable",(()=>{let{nextEl:e,prevEl:s}=t.navigation;e=x(e),s=x(s),t.enabled?o():[...e,...s].filter((e=>!!e)).forEach((e=>e.classList.add(t.params.navigation.lockClass)))})),i("click",((e,s)=>{let{nextEl:i,prevEl:n}=t.navigation;i=x(i),n=x(n);const r=s.target;let o=n.includes(r)||i.includes(r);if(t.isElement&&!o){const e=s.path||s.composedPath&&s.composedPath();e&&(o=e.find((e=>i.includes(e)||n.includes(e))))}if(t.params.navigation.hideOnClick&&!o){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===r||t.pagination.el.contains(r)))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)),a(!0===e?"navigationShow":"navigationHide"),[...i,...n].filter((e=>!!e)).forEach((e=>e.classList.toggle(t.params.navigation.hiddenClass)))}}));const u=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),c(),o()},disable:u,update:o,init:c,destroy:p})}function pe(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function ue(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const n="swiper-pagination";let r;s({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:`${n}-bullet`,bulletActiveClass:`${n}-bullet-active`,modifierClass:`${n}-`,currentClass:`${n}-current`,totalClass:`${n}-total`,hiddenClass:`${n}-hidden`,progressbarFillClass:`${n}-progressbar-fill`,progressbarOppositeClass:`${n}-progressbar-opposite`,clickableClass:`${n}-clickable`,lockClass:`${n}-lock`,horizontalClass:`${n}-horizontal`,verticalClass:`${n}-vertical`,paginationDisabledClass:`${n}-disabled`}}),t.pagination={el:null,bullets:[]};let o=0;function l(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function d(e,s){const{bulletActiveClass:i}=t.params.pagination;e&&(e=e[("prev"===s?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${i}-${s}`),(e=e[("prev"===s?"previous":"next")+"ElementSibling"])&&e.classList.add(`${i}-${s}-${s}`))}function c(e){const s=e.target.closest(pe(t.params.pagination.bulletClass));if(!s)return;e.preventDefault();const i=y(s)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===i)return;const e=(a=t.realIndex,n=i,(n%=r=t.slides.length)===1+(a%=r)?"next":n===a-1?"previous":void 0);"next"===e?t.slideNext():"previous"===e?t.slidePrev():t.slideToLoop(i)}else t.slideTo(i);var a,n,r}function p(){const e=t.rtl,s=t.params.pagination;if(l())return;let i,n,c=t.pagination.el;c=x(c);const p=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,u=t.params.loop?Math.ceil(p/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"===s.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const a=t.pagination.bullets;let l,p,u;if(s.dynamicBullets&&(r=T(a[0],t.isHorizontal()?"width":"height",!0),c.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=r*(s.dynamicMainBullets+4)+"px"})),s.dynamicMainBullets>1&&void 0!==n&&(o+=i-(n||0),o>s.dynamicMainBullets-1?o=s.dynamicMainBullets-1:o<0&&(o=0)),l=Math.max(i-o,0),p=l+(Math.min(a.length,s.dynamicMainBullets)-1),u=(p+l)/2),a.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${s.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),c.length>1)a.forEach((e=>{const a=y(e);a===i?e.classList.add(...s.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),s.dynamicBullets&&(a>=l&&a<=p&&e.classList.add(...`${s.bulletActiveClass}-main`.split(" ")),a===l&&d(e,"prev"),a===p&&d(e,"next"))}));else{const e=a[i];if(e&&e.classList.add(...s.bulletActiveClass.split(" ")),t.isElement&&a.forEach(((e,t)=>{e.setAttribute("part",t===i?"bullet-active":"bullet")})),s.dynamicBullets){const e=a[l],t=a[p];for(let e=l;e<=p;e+=1)a[e]&&a[e].classList.add(...`${s.bulletActiveClass}-main`.split(" "));d(e,"prev"),d(t,"next")}}if(s.dynamicBullets){const i=Math.min(a.length,s.dynamicMainBullets+4),n=(r*i-r)/2-u*r,o=e?"right":"left";a.forEach((e=>{e.style[t.isHorizontal()?o:"top"]=`${n}px`}))}}c.forEach(((e,n)=>{if("fraction"===s.type&&(e.querySelectorAll(pe(s.currentClass)).forEach((e=>{e.textContent=s.formatFractionCurrent(i+1)})),e.querySelectorAll(pe(s.totalClass)).forEach((e=>{e.textContent=s.formatFractionTotal(u)}))),"progressbar"===s.type){let a;a=s.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const n=(i+1)/u;let r=1,o=1;"horizontal"===a?r=n:o=n,e.querySelectorAll(pe(s.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${r}) scaleY(${o})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===s.type&&s.renderCustom?(L(e,s.renderCustom(t,i+1,u)),0===n&&a("paginationRender",e)):(0===n&&a("paginationRender",e),a("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](s.lockClass)}))}function u(){const e=t.params.pagination;if(l())return;const s=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=x(i);let n="";if("bullets"===e.type){let i=t.params.loop?Math.ceil(s/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&i>s&&(i=s);for(let s=0;s<i;s+=1)e.renderBullet?n+=e.renderBullet.call(t,s,e.bulletClass):n+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(n=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(n=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],i.forEach((s=>{"custom"!==e.type&&L(s,n||""),"bullets"===e.type&&t.pagination.bullets.push(...s.querySelectorAll(pe(e.bulletClass)))})),"custom"!==e.type&&a("paginationRender",i[0])}function m(){t.params.pagination=de(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let s;"string"==typeof e.el&&t.isElement&&(s=t.el.querySelector(e.el)),s||"string"!=typeof e.el||(s=[...document.querySelectorAll(e.el)]),s||(s=e.el),s&&0!==s.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(s)&&s.length>1&&(s=[...t.el.querySelectorAll(e.el)],s.length>1&&(s=s.find((e=>E(e,".swiper")[0]===t.el)))),Array.isArray(s)&&1===s.length&&(s=s[0]),Object.assign(t.pagination,{el:s}),s=x(s),s.forEach((s=>{"bullets"===e.type&&e.clickable&&s.classList.add(...(e.clickableClass||"").split(" ")),s.classList.add(e.modifierClass+e.type),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(s.classList.add(`${e.modifierClass}${e.type}-dynamic`),o=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&s.classList.add(e.progressbarOppositeClass),e.clickable&&s.addEventListener("click",c),t.enabled||s.classList.add(e.lockClass)})))}function f(){const e=t.params.pagination;if(l())return;let s=t.pagination.el;s&&(s=x(s),s.forEach((s=>{s.classList.remove(e.hiddenClass),s.classList.remove(e.modifierClass+e.type),s.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(s.classList.remove(...(e.clickableClass||"").split(" ")),s.removeEventListener("click",c))}))),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:s}=t.pagination;s=x(s),s.forEach((s=>{s.classList.remove(e.horizontalClass,e.verticalClass),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),i("init",(()=>{!1===t.params.pagination.enabled?h():(m(),u(),p())})),i("activeIndexChange",(()=>{void 0===t.snapIndex&&p()})),i("snapIndexChange",(()=>{p()})),i("snapGridLengthChange",(()=>{u(),p()})),i("destroy",(()=>{f()})),i("enable disable",(()=>{let{el:e}=t.pagination;e&&(e=x(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),i("lock unlock",(()=>{p()})),i("click",((e,s)=>{const i=s.target,n=x(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&n&&n.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=n[0].classList.contains(t.params.pagination.hiddenClass);a(!0===e?"paginationShow":"paginationHide"),n.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const h=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=x(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),f()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=x(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),m(),u(),p()},disable:h,render:u,update:p,init:m,destroy:f})}function me(e){let{swiper:t,extendParams:s,on:i,emit:n}=e;const r=a();let d,c,p,u,m=!1,f=null,h=null;function g(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:s}=t,{dragEl:i,el:a}=e,n=t.params.scrollbar,r=t.params.loop?t.progressLoop:t.progress;let o=c,l=(p-c)*r;s?(l=-l,l>0?(o=c-l,l=0):-l+c>p&&(o=p+l)):l<0?(o=c+l,l=0):l+c>p&&(o=p-l),t.isHorizontal()?(i.style.transform=`translate3d(${l}px, 0, 0)`,i.style.width=`${o}px`):(i.style.transform=`translate3d(0px, ${l}px, 0)`,i.style.height=`${o}px`),n.hide&&(clearTimeout(f),a.style.opacity=1,f=setTimeout((()=>{a.style.opacity=0,a.style.transitionDuration="400ms"}),1e3))}function b(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{dragEl:s,el:i}=e;s.style.width="",s.style.height="",p=t.isHorizontal()?i.offsetWidth:i.offsetHeight,u=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),c="auto"===t.params.scrollbar.dragSize?p*u:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?s.style.width=`${c}px`:s.style.height=`${c}px`,i.style.display=u>=1?"none":"",t.params.scrollbar.hide&&(i.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function y(e){return t.isHorizontal()?e.clientX:e.clientY}function E(e){const{scrollbar:s,rtlTranslate:i}=t,{el:a}=s;let n;n=(y(e)-w(a)[t.isHorizontal()?"left":"top"]-(null!==d?d:c/2))/(p-c),n=Math.max(Math.min(n,1),0),i&&(n=1-n);const r=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*n;t.updateProgress(r),t.setTranslate(r),t.updateActiveIndex(),t.updateSlidesClasses()}function S(e){const s=t.params.scrollbar,{scrollbar:i,wrapperEl:a}=t,{el:r,dragEl:o}=i;m=!0,d=e.target===o?y(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),a.style.transitionDuration="100ms",o.style.transitionDuration="100ms",E(e),clearTimeout(h),r.style.transitionDuration="0ms",s.hide&&(r.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),n("scrollbarDragStart",e)}function T(e){const{scrollbar:s,wrapperEl:i}=t,{el:a,dragEl:r}=s;m&&(e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1,E(e),i.style.transitionDuration="0ms",a.style.transitionDuration="0ms",r.style.transitionDuration="0ms",n("scrollbarDragMove",e))}function M(e){const s=t.params.scrollbar,{scrollbar:i,wrapperEl:a}=t,{el:r}=i;m&&(m=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",a.style.transitionDuration=""),s.hide&&(clearTimeout(h),h=l((()=>{r.style.opacity=0,r.style.transitionDuration="400ms"}),1e3)),n("scrollbarDragEnd",e),s.snapOnRelease&&t.slideToClosest())}function L(e){const{scrollbar:s,params:i}=t,a=s.el;if(!a)return;const n=a,o=!!i.passiveListeners&&{passive:!1,capture:!1},l=!!i.passiveListeners&&{passive:!0,capture:!1};if(!n)return;const d="on"===e?"addEventListener":"removeEventListener";n[d]("pointerdown",S,o),r[d]("pointermove",T,o),r[d]("pointerup",M,l)}function C(){const{scrollbar:e,el:s}=t;t.params.scrollbar=de(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const i=t.params.scrollbar;if(!i.el)return;let a,n;if("string"==typeof i.el&&t.isElement&&(a=t.el.querySelector(i.el)),a||"string"!=typeof i.el)a||(a=i.el);else if(a=r.querySelectorAll(i.el),!a.length)return;t.params.uniqueNavElements&&"string"==typeof i.el&&a.length>1&&1===s.querySelectorAll(i.el).length&&(a=s.querySelector(i.el)),a.length>0&&(a=a[0]),a.classList.add(t.isHorizontal()?i.horizontalClass:i.verticalClass),a&&(n=a.querySelector(pe(t.params.scrollbar.dragClass)),n||(n=v("div",t.params.scrollbar.dragClass),a.append(n))),Object.assign(e,{el:a,dragEl:n}),i.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&L("on"),a&&a.classList[t.enabled?"remove":"add"](...o(t.params.scrollbar.lockClass))}function O(){const e=t.params.scrollbar,s=t.scrollbar.el;s&&s.classList.remove(...o(t.isHorizontal()?e.horizontalClass:e.verticalClass)),t.params.scrollbar.el&&t.scrollbar.el&&L("off")}s({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null},i("changeDirection",(()=>{if(!t.scrollbar||!t.scrollbar.el)return;const e=t.params.scrollbar;let{el:s}=t.scrollbar;s=x(s),s.forEach((s=>{s.classList.remove(e.horizontalClass,e.verticalClass),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),i("init",(()=>{!1===t.params.scrollbar.enabled?P():(C(),b(),g())})),i("update resize observerUpdate lock unlock changeDirection",(()=>{b()})),i("setTranslate",(()=>{g()})),i("setTransition",((e,s)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(s)})),i("enable disable",(()=>{const{el:e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](...o(t.params.scrollbar.lockClass))})),i("destroy",(()=>{O()}));const P=()=>{t.el.classList.add(...o(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...o(t.params.scrollbar.scrollbarDisabledClass)),O()};Object.assign(t.scrollbar,{enable:()=>{t.el.classList.remove(...o(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...o(t.params.scrollbar.scrollbarDisabledClass)),C(),b(),g()},disable:P,updateSize:b,setTranslate:g,init:C,destroy:O})}function fe(e){let{swiper:t,extendParams:s,on:i}=e;s({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),t.a11y={clicked:!1};let n,r,o=null,l=(new Date).getTime();function d(e){const t=o;0!==t.length&&L(t,e)}function c(e){(e=x(e)).forEach((e=>{e.setAttribute("tabIndex","0")}))}function p(e){(e=x(e)).forEach((e=>{e.setAttribute("tabIndex","-1")}))}function u(e,t){(e=x(e)).forEach((e=>{e.setAttribute("role",t)}))}function m(e,t){(e=x(e)).forEach((e=>{e.setAttribute("aria-roledescription",t)}))}function f(e,t){(e=x(e)).forEach((e=>{e.setAttribute("aria-label",t)}))}function h(e){(e=x(e)).forEach((e=>{e.setAttribute("aria-disabled",!0)}))}function g(e){(e=x(e)).forEach((e=>{e.setAttribute("aria-disabled",!1)}))}function w(e){if(13!==e.keyCode&&32!==e.keyCode)return;const s=t.params.a11y,i=e.target;if(!t.pagination||!t.pagination.el||i!==t.pagination.el&&!t.pagination.el.contains(e.target)||e.target.matches(pe(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=x(t.navigation.prevEl);x(t.navigation.nextEl).includes(i)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?d(s.lastSlideMessage):d(s.nextSlideMessage)),e.includes(i)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?d(s.firstSlideMessage):d(s.prevSlideMessage))}t.pagination&&i.matches(pe(t.params.pagination.bulletClass))&&i.click()}}function b(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function E(){return b()&&t.params.pagination.clickable}const S=(e,t,s)=>{c(e),"BUTTON"!==e.tagName&&(u(e,"button"),e.addEventListener("keydown",w)),f(e,s),function(e,t){(e=x(e)).forEach((e=>{e.setAttribute("aria-controls",t)}))}(e,t)},T=e=>{r&&r!==e.target&&!r.contains(e.target)&&(n=!0),t.a11y.clicked=!0},M=()=>{n=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.destroyed||(t.a11y.clicked=!1)}))}))},C=e=>{l=(new Date).getTime()},O=e=>{if(t.a11y.clicked||!t.params.a11y.scrollOnFocus)return;if((new Date).getTime()-l<100)return;const s=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!s||!t.slides.includes(s))return;r=s;const i=t.slides.indexOf(s)===t.activeIndex,a=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(s);i||a||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame((()=>{n||(t.params.loop?t.slideToLoop(parseInt(s.getAttribute("data-swiper-slide-index")),0):t.slideTo(t.slides.indexOf(s),0),n=!1)})))},P=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&m(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&u(t.slides,e.slideRole);const s=t.slides.length;e.slideLabelMessage&&t.slides.forEach(((i,a)=>{const n=t.params.loop?parseInt(i.getAttribute("data-swiper-slide-index"),10):a;f(i,e.slideLabelMessage.replace(/\{\{index\}\}/,n+1).replace(/\{\{slidesLength\}\}/,s))}))};i("beforeInit",(()=>{o=v("span",t.params.a11y.notificationClass),o.setAttribute("aria-live","assertive"),o.setAttribute("aria-atomic","true")})),i("afterInit",(()=>{t.params.a11y.enabled&&(()=>{const e=t.params.a11y;t.el.append(o);const s=t.el;e.containerRoleDescriptionMessage&&m(s,e.containerRoleDescriptionMessage),e.containerMessage&&f(s,e.containerMessage),e.containerRole&&u(s,e.containerRole);const i=t.wrapperEl,n=e.id||i.getAttribute("id")||`swiper-wrapper-${r=16,void 0===r&&(r=16),"x".repeat(r).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}`;var r;const l=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var d;d=n,x(i).forEach((e=>{e.setAttribute("id",d)})),function(e,t){(e=x(e)).forEach((e=>{e.setAttribute("aria-live",t)}))}(i,l),P();let{nextEl:c,prevEl:p}=t.navigation?t.navigation:{};c=x(c),p=x(p),c&&c.forEach((t=>S(t,n,e.nextSlideMessage))),p&&p.forEach((t=>S(t,n,e.prevSlideMessage))),E()&&x(t.pagination.el).forEach((e=>{e.addEventListener("keydown",w)})),a().addEventListener("visibilitychange",C),t.el.addEventListener("focus",O,!0),t.el.addEventListener("focus",O,!0),t.el.addEventListener("pointerdown",T,!0),t.el.addEventListener("pointerup",M,!0)})()})),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{t.params.a11y.enabled&&P()})),i("fromEdge toEdge afterInit lock unlock",(()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:s}=t.navigation;s&&(t.isBeginning?(h(s),p(s)):(g(s),c(s))),e&&(t.isEnd?(h(e),p(e)):(g(e),c(e)))}()})),i("paginationUpdate",(()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;b()&&t.pagination.bullets.forEach((s=>{t.params.pagination.clickable&&(c(s),t.params.pagination.renderBullet||(u(s,"button"),f(s,e.paginationBulletMessage.replace(/\{\{index\}\}/,y(s)+1)))),s.matches(pe(t.params.pagination.bulletActiveClass))?s.setAttribute("aria-current","true"):s.removeAttribute("aria-current")}))}()})),i("destroy",(()=>{t.params.a11y.enabled&&function(){o&&o.remove();let{nextEl:e,prevEl:s}=t.navigation?t.navigation:{};e=x(e),s=x(s),e&&e.forEach((e=>e.removeEventListener("keydown",w))),s&&s.forEach((e=>e.removeEventListener("keydown",w))),E()&&x(t.pagination.el).forEach((e=>{e.removeEventListener("keydown",w)})),a().removeEventListener("visibilitychange",C),t.el&&"string"!=typeof t.el&&(t.el.removeEventListener("focus",O,!0),t.el.removeEventListener("pointerdown",T,!0),t.el.removeEventListener("pointerup",M,!0))}()}))}function he(e){let t,s,{swiper:i,extendParams:n,on:r,emit:o,params:l}=e;i.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,m,f,h,g,v=l&&l.autoplay?l.autoplay.delay:3e3,w=l&&l.autoplay?l.autoplay.delay:3e3,b=(new Date).getTime();function y(e){i&&!i.destroyed&&i.wrapperEl&&e.target===i.wrapperEl&&(i.wrapperEl.removeEventListener("transitionend",y),g||e.detail&&e.detail.bySwiperTouchMove||L())}const E=()=>{if(i.destroyed||!i.autoplay.running)return;i.autoplay.paused?c=!0:c&&(w=d,c=!1);const e=i.autoplay.paused?d:b+w-(new Date).getTime();i.autoplay.timeLeft=e,o("autoplayTimeLeft",e,e/v),s=requestAnimationFrame((()=>{E()}))},S=e=>{if(i.destroyed||!i.autoplay.running)return;cancelAnimationFrame(s),E();let a=void 0===e?i.params.autoplay.delay:e;v=i.params.autoplay.delay,w=i.params.autoplay.delay;const n=(()=>{let e;if(e=i.virtual&&i.params.virtual.enabled?i.slides.find((e=>e.classList.contains("swiper-slide-active"))):i.slides[i.activeIndex],e)return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(n)&&n>0&&void 0===e&&(a=n,v=n,w=n),d=a;const r=i.params.speed,l=()=>{i&&!i.destroyed&&(i.params.autoplay.reverseDirection?!i.isBeginning||i.params.loop||i.params.rewind?(i.slidePrev(r,!0,!0),o("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(i.slides.length-1,r,!0,!0),o("autoplay")):!i.isEnd||i.params.loop||i.params.rewind?(i.slideNext(r,!0,!0),o("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(0,r,!0,!0),o("autoplay")),i.params.cssMode&&(b=(new Date).getTime(),requestAnimationFrame((()=>{S()}))))};return a>0?(clearTimeout(t),t=setTimeout((()=>{l()}),a)):requestAnimationFrame((()=>{l()})),a},T=()=>{b=(new Date).getTime(),i.autoplay.running=!0,S(),o("autoplayStart")},x=()=>{i.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(s),o("autoplayStop")},M=(e,s)=>{if(i.destroyed||!i.autoplay.running)return;clearTimeout(t),e||(h=!0);const a=()=>{o("autoplayPause"),i.params.autoplay.waitForTransition?i.wrapperEl.addEventListener("transitionend",y):L()};if(i.autoplay.paused=!0,s)return f&&(d=i.params.autoplay.delay),f=!1,void a();const n=d||i.params.autoplay.delay;d=n-((new Date).getTime()-b),i.isEnd&&d<0&&!i.params.loop||(d<0&&(d=0),a())},L=()=>{i.isEnd&&d<0&&!i.params.loop||i.destroyed||!i.autoplay.running||(b=(new Date).getTime(),h?(h=!1,S(d)):S(),i.autoplay.paused=!1,o("autoplayResume"))},C=()=>{if(i.destroyed||!i.autoplay.running)return;const e=a();"hidden"===e.visibilityState&&(h=!0,M(!0)),"visible"===e.visibilityState&&L()},O=e=>{"mouse"===e.pointerType&&(h=!0,g=!0,i.animating||i.autoplay.paused||M(!0))},P=e=>{"mouse"===e.pointerType&&(g=!1,i.autoplay.paused&&L())};r("init",(()=>{i.params.autoplay.enabled&&(i.params.autoplay.pauseOnMouseEnter&&(i.el.addEventListener("pointerenter",O),i.el.addEventListener("pointerleave",P)),a().addEventListener("visibilitychange",C),T())})),r("destroy",(()=>{i.el&&"string"!=typeof i.el&&(i.el.removeEventListener("pointerenter",O),i.el.removeEventListener("pointerleave",P)),a().removeEventListener("visibilitychange",C),i.autoplay.running&&x()})),r("_freeModeStaticRelease",(()=>{(u||h)&&L()})),r("_freeModeNoMomentumRelease",(()=>{i.params.autoplay.disableOnInteraction?x():M(!0,!0)})),r("beforeTransitionStart",((e,t,s)=>{!i.destroyed&&i.autoplay.running&&(s||!i.params.autoplay.disableOnInteraction?M(!0,!0):x())})),r("sliderFirstMove",(()=>{!i.destroyed&&i.autoplay.running&&(i.params.autoplay.disableOnInteraction?x():(p=!0,u=!1,h=!1,m=setTimeout((()=>{h=!0,u=!0,M(!0)}),200)))})),r("touchEnd",(()=>{if(!i.destroyed&&i.autoplay.running&&p){if(clearTimeout(m),clearTimeout(t),i.params.autoplay.disableOnInteraction)return u=!1,void(p=!1);u&&i.params.cssMode&&L(),u=!1,p=!1}})),r("slideChange",(()=>{!i.destroyed&&i.autoplay.running&&(f=!0)})),Object.assign(i.autoplay,{start:T,stop:x,pause:M,resume:L})}function ge(e){let{swiper:t,extendParams:s,emit:i,once:a}=e;s({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:function(){if(t.params.cssMode)return;const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})},onTouchMove:function(){if(t.params.cssMode)return;const{touchEventsData:e,touches:s}=t;0===e.velocities.length&&e.velocities.push({position:s[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:s[t.isHorizontal()?"currentX":"currentY"],time:d()})},onTouchEnd:function(e){let{currentPos:s}=e;if(t.params.cssMode)return;const{params:n,wrapperEl:r,rtlTranslate:o,snapGrid:l,touchEventsData:c}=t,p=d()-c.touchStartTime;if(s<-t.minTranslate())t.slideTo(t.activeIndex);else if(s>-t.maxTranslate())t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1);else{if(n.freeMode.momentum){if(c.velocities.length>1){const e=c.velocities.pop(),s=c.velocities.pop(),i=e.position-s.position,a=e.time-s.time;t.velocity=i/a,t.velocity/=2,Math.abs(t.velocity)<n.freeMode.minimumVelocity&&(t.velocity=0),(a>150||d()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=n.freeMode.momentumVelocityRatio,c.velocities.length=0;let e=1e3*n.freeMode.momentumRatio;const s=t.velocity*e;let p=t.translate+s;o&&(p=-p);let u,m=!1;const f=20*Math.abs(t.velocity)*n.freeMode.momentumBounceRatio;let h;if(p<t.maxTranslate())n.freeMode.momentumBounce?(p+t.maxTranslate()<-f&&(p=t.maxTranslate()-f),u=t.maxTranslate(),m=!0,c.allowMomentumBounce=!0):p=t.maxTranslate(),n.loop&&n.centeredSlides&&(h=!0);else if(p>t.minTranslate())n.freeMode.momentumBounce?(p-t.minTranslate()>f&&(p=t.minTranslate()+f),u=t.minTranslate(),m=!0,c.allowMomentumBounce=!0):p=t.minTranslate(),n.loop&&n.centeredSlides&&(h=!0);else if(n.freeMode.sticky){let e;for(let t=0;t<l.length;t+=1)if(l[t]>-p){e=t;break}p=Math.abs(l[e]-p)<Math.abs(l[e-1]-p)||"next"===t.swipeDirection?l[e]:l[e-1],p=-p}if(h&&a("transitionEnd",(()=>{t.loopFix()})),0!==t.velocity){if(e=o?Math.abs((-p-t.translate)/t.velocity):Math.abs((p-t.translate)/t.velocity),n.freeMode.sticky){const s=Math.abs((o?-p:p)-t.translate),i=t.slidesSizesGrid[t.activeIndex];e=s<i?n.speed:s<2*i?1.5*n.speed:2.5*n.speed}}else if(n.freeMode.sticky)return void t.slideToClosest();n.freeMode.momentumBounce&&m?(t.updateProgress(u),t.setTransition(e),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating=!0,S(r,(()=>{t&&!t.destroyed&&c.allowMomentumBounce&&(i("momentumBounce"),t.setTransition(n.speed),setTimeout((()=>{t.setTranslate(u),S(r,(()=>{t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(i("_freeModeNoMomentumRelease"),t.updateProgress(p),t.setTransition(e),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,S(r,(()=>{t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(p),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(n.freeMode.sticky)return void t.slideToClosest();n.freeMode&&i("_freeModeNoMomentumRelease")}(!n.freeMode.momentum||p>=n.longSwipesMs)&&(i("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}})}function ve(e){const{effect:t,swiper:s,on:i,setTranslate:a,setTransition:n,overwriteParams:r,perspective:o,recreateShadows:l,getEffectParams:d}=e;let c;i("beforeInit",(()=>{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),o&&o()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const e=r?r():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)})),i("setTranslate _virtualUpdated",(()=>{s.params.effect===t&&a()})),i("setTransition",((e,i)=>{s.params.effect===t&&n(i)})),i("transitionEnd",(()=>{if(s.params.effect===t&&l){if(!d||!d().slideShadows)return;s.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",(()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestAnimationFrame((()=>{c&&s.slides&&s.slides.length&&(a(),c=!1)})))}))}function we(e,t){const s=f(t);return s!==t&&(s.style.backfaceVisibility="hidden",s.style["-webkit-backface-visibility"]="hidden"),s}function be(e){let{swiper:t,duration:s,transformElements:i,allSlides:a}=e;const{activeIndex:n}=t;if(t.params.virtualTranslate&&0!==s){let e,s=!1;e=a?i:i.filter((e=>{const s=e.classList.contains("swiper-slide-transform")?(e=>e.parentElement?e.parentElement:t.slides.find((t=>t.shadowRoot&&t.shadowRoot===e.parentNode)))(e):e;return t.getSlideIndex(s)===n})),e.forEach((e=>{S(e,(()=>{if(s)return;if(!t||t.destroyed)return;s=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)}))}))}}function ye(e){let{swiper:t,extendParams:s,on:i}=e;s({fadeEffect:{crossFade:!1}}),ve({effect:"fade",swiper:t,on:i,setTranslate:()=>{const{slides:e}=t;t.params.fadeEffect;for(let s=0;s<e.length;s+=1){const e=t.slides[s];let i=-e.swiperSlideOffset;t.params.virtualTranslate||(i-=t.translate);let a=0;t.isHorizontal()||(a=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),r=we(0,e);r.style.opacity=n,r.style.transform=`translate3d(${i}px, ${a}px, 0px)`}},setTransition:e=>{const s=t.slides.map((e=>f(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`})),be({swiper:t,duration:e,transformElements:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function Ee(e){let{swiper:t,extendParams:s,on:i}=e;s({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const a=(e,t,s)=>{let i=s?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),a=s?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=v("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"left":"top")).split(" ")),e.append(i)),a||(a=v("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"right":"bottom")).split(" ")),e.append(a)),i&&(i.style.opacity=Math.max(-t,0)),a&&(a.style.opacity=Math.max(t,0))};ve({effect:"cube",swiper:t,on:i,setTranslate:()=>{const{el:e,wrapperEl:s,slides:i,width:n,height:r,rtlTranslate:o,size:l,browser:d}=t,c=M(t),p=t.params.cubeEffect,u=t.isHorizontal(),m=t.virtual&&t.params.virtual.enabled;let f,h=0;p.shadow&&(u?(f=t.wrapperEl.querySelector(".swiper-cube-shadow"),f||(f=v("div","swiper-cube-shadow"),t.wrapperEl.append(f)),f.style.height=`${n}px`):(f=e.querySelector(".swiper-cube-shadow"),f||(f=v("div","swiper-cube-shadow"),e.append(f))));for(let e=0;e<i.length;e+=1){const t=i[e];let s=e;m&&(s=parseInt(t.getAttribute("data-swiper-slide-index"),10));let n=90*s,r=Math.floor(n/360);o&&(n=-n,r=Math.floor(-n/360));const d=Math.max(Math.min(t.progress,1),-1);let f=0,g=0,v=0;s%4==0?(f=4*-r*l,v=0):(s-1)%4==0?(f=0,v=4*-r*l):(s-2)%4==0?(f=l+4*r*l,v=l):(s-3)%4==0&&(f=-l,v=3*l+4*l*r),o&&(f=-f),u||(g=f,f=0);const w=`rotateX(${c(u?0:-n)}deg) rotateY(${c(u?n:0)}deg) translate3d(${f}px, ${g}px, ${v}px)`;d<=1&&d>-1&&(h=90*s+90*d,o&&(h=90*-s-90*d)),t.style.transform=w,p.slideShadows&&a(t,d,u)}if(s.style.transformOrigin=`50% 50% -${l/2}px`,s.style["-webkit-transform-origin"]=`50% 50% -${l/2}px`,p.shadow)if(u)f.style.transform=`translate3d(0px, ${n/2+p.shadowOffset}px, ${-n/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${p.shadowScale})`;else{const e=Math.abs(h)-90*Math.floor(Math.abs(h)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=p.shadowScale,i=p.shadowScale/t,a=p.shadowOffset;f.style.transform=`scale3d(${s}, 1, ${i}) translate3d(0px, ${r/2+a}px, ${-r/2/i}px) rotateX(-89.99deg)`}const g=(d.isSafari||d.isWebView)&&d.needPerspectiveFix?-l/2:0;s.style.transform=`translate3d(0px,0,${g}px) rotateX(${c(t.isHorizontal()?0:h)}deg) rotateY(${c(t.isHorizontal()?-h:0)}deg)`,s.style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:e=>{const{el:s,slides:i}=t;if(i.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`}))})),t.params.cubeEffect.shadow&&!t.isHorizontal()){const t=s.querySelector(".swiper-cube-shadow");t&&(t.style.transitionDuration=`${e}ms`)}},recreateShadows:()=>{const e=t.isHorizontal();t.slides.forEach((t=>{const s=Math.max(Math.min(t.progress,1),-1);a(t,s,e)}))},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function Se(e,t,s){const i=`swiper-slide-shadow${s?`-${s}`:""}${e?` swiper-slide-shadow-${e}`:""}`,a=f(t);let n=a.querySelector(`.${i.split(" ").join(".")}`);return n||(n=v("div",i.split(" ")),a.append(n)),n}function Te(e){let{swiper:t,extendParams:s,on:i}=e;s({flipEffect:{slideShadows:!0,limitRotation:!0}});const a=(e,s)=>{let i=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),a=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=Se("flip",e,t.isHorizontal()?"left":"top")),a||(a=Se("flip",e,t.isHorizontal()?"right":"bottom")),i&&(i.style.opacity=Math.max(-s,0)),a&&(a.style.opacity=Math.max(s,0))};ve({effect:"flip",swiper:t,on:i,setTranslate:()=>{const{slides:e,rtlTranslate:s}=t,i=t.params.flipEffect,n=M(t);for(let r=0;r<e.length;r+=1){const o=e[r];let l=o.progress;t.params.flipEffect.limitRotation&&(l=Math.max(Math.min(o.progress,1),-1));const d=o.swiperSlideOffset;let c=-180*l,p=0,u=t.params.cssMode?-d-t.translate:-d,m=0;t.isHorizontal()?s&&(c=-c):(m=u,u=0,p=-c,c=0),o.style.zIndex=-Math.abs(Math.round(l))+e.length,i.slideShadows&&a(o,l);const f=`translate3d(${u}px, ${m}px, 0px) rotateX(${n(p)}deg) rotateY(${n(c)}deg)`;we(0,o).style.transform=f}},setTransition:e=>{const s=t.slides.map((e=>f(e)));s.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`}))})),be({swiper:t,duration:e,transformElements:s})},recreateShadows:()=>{t.params.flipEffect,t.slides.forEach((e=>{let s=e.progress;t.params.flipEffect.limitRotation&&(s=Math.max(Math.min(e.progress,1),-1)),a(e,s)}))},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function xe(e){let{swiper:t,extendParams:s,on:i}=e;s({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),ve({effect:"coverflow",swiper:t,on:i,setTranslate:()=>{const{width:e,height:s,slides:i,slidesSizesGrid:a}=t,n=t.params.coverflowEffect,r=t.isHorizontal(),o=t.translate,l=r?e/2-o:s/2-o,d=r?n.rotate:-n.rotate,c=n.depth,p=M(t);for(let e=0,t=i.length;e<t;e+=1){const t=i[e],s=a[e],o=(l-t.swiperSlideOffset-s/2)/s,u="function"==typeof n.modifier?n.modifier(o):o*n.modifier;let m=r?d*u:0,f=r?0:d*u,h=-c*Math.abs(u),g=n.stretch;"string"==typeof g&&-1!==g.indexOf("%")&&(g=parseFloat(n.stretch)/100*s);let v=r?0:g*u,w=r?g*u:0,b=1-(1-n.scale)*Math.abs(u);Math.abs(w)<.001&&(w=0),Math.abs(v)<.001&&(v=0),Math.abs(h)<.001&&(h=0),Math.abs(m)<.001&&(m=0),Math.abs(f)<.001&&(f=0),Math.abs(b)<.001&&(b=0);const y=`translate3d(${w}px,${v}px,${h}px) rotateX(${p(f)}deg) rotateY(${p(m)}deg) scale(${b})`;if(we(0,t).style.transform=y,t.style.zIndex=1-Math.abs(Math.round(u)),n.slideShadows){let e=r?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),s=r?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");e||(e=Se("coverflow",t,r?"left":"top")),s||(s=Se("coverflow",t,r?"right":"bottom")),e&&(e.style.opacity=u>0?u:0),s&&(s.style.opacity=-u>0?-u:0)}}},setTransition:e=>{t.slides.map((e=>f(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 Me(e){let{swiper:t,extendParams:s,on:i}=e;s({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const a=e=>"string"==typeof e?e:`${e}px`;ve({effect:"creative",swiper:t,on:i,setTranslate:()=>{const{slides:e,wrapperEl:s,slidesSizesGrid:i}=t,n=t.params.creativeEffect,{progressMultiplier:r}=n,o=t.params.centeredSlides,l=M(t);if(o){const e=i[0]/2-t.params.slidesOffsetBefore||0;s.style.transform=`translateX(calc(50% - ${e}px))`}for(let s=0;s<e.length;s+=1){const i=e[s],d=i.progress,c=Math.min(Math.max(i.progress,-n.limitProgress),n.limitProgress);let p=c;o||(p=Math.min(Math.max(i.originalProgress,-n.limitProgress),n.limitProgress));const u=i.swiperSlideOffset,m=[t.params.cssMode?-u-t.translate:-u,0,0],f=[0,0,0];let h=!1;t.isHorizontal()||(m[1]=m[0],m[0]=0);let g={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};c<0?(g=n.next,h=!0):c>0&&(g=n.prev,h=!0),m.forEach(((e,t)=>{m[t]=`calc(${e}px + (${a(g.translate[t])} * ${Math.abs(c*r)}))`})),f.forEach(((e,t)=>{let s=g.rotate[t]*Math.abs(c*r);f[t]=s})),i.style.zIndex=-Math.abs(Math.round(d))+e.length;const v=m.join(", "),w=`rotateX(${l(f[0])}deg) rotateY(${l(f[1])}deg) rotateZ(${l(f[2])}deg)`,b=p<0?`scale(${1+(1-g.scale)*p*r})`:`scale(${1-(1-g.scale)*p*r})`,y=p<0?1+(1-g.opacity)*p*r:1-(1-g.opacity)*p*r,E=`translate3d(${v}) ${w} ${b}`;if(h&&g.shadow||!h){let e=i.querySelector(".swiper-slide-shadow");if(!e&&g.shadow&&(e=Se("creative",i)),e){const t=n.shadowPerProgress?c*(1/n.limitProgress):c;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const S=we(0,i);S.style.transform=E,S.style.opacity=y,g.origin&&(S.style.transformOrigin=g.origin)}},setTransition:e=>{const s=t.slides.map((e=>f(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),be({swiper:t,duration:e,transformElements:s,allSlides:!0})},perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}function Le(e){let{swiper:t,extendParams:s,on:i}=e;s({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),ve({effect:"cards",swiper:t,on:i,setTranslate:()=>{const{slides:e,activeIndex:s,rtlTranslate:i}=t,a=t.params.cardsEffect,{startTranslate:n,isTouched:r}=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 u=d.swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&(t.wrapperEl.style.transform=`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(u-=e[0].swiperSlideOffset);let m=t.params.cssMode?-u-t.translate:-u,f=0;const h=-100*Math.abs(p);let g=1,v=-a.perSlideRotate*p,w=a.perSlideOffset-.75*Math.abs(p);const b=t.virtual&&t.params.virtual.enabled?t.virtual.from+l:l,y=(b===s||b===s-1)&&p>0&&p<1&&(r||t.params.cssMode)&&o<n,E=(b===s||b===s+1)&&p<0&&p>-1&&(r||t.params.cssMode)&&o>n;if(y||E){const e=(1-Math.abs((Math.abs(p)-.5)/.5))**.5;v+=-28*p*e,g+=-.5*e,w+=96*e,f=-25*e*Math.abs(p)+"%"}if(m=p<0?`calc(${m}px ${i?"-":"+"} (${w*Math.abs(p)}%))`:p>0?`calc(${m}px ${i?"-":"+"} (-${w*Math.abs(p)}%))`:`${m}px`,!t.isHorizontal()){const e=f;f=m,m=e}const S=p<0?""+(1+(1-g)*p):""+(1-(1-g)*p),T=`\n translate3d(${m}, ${f}, ${h}px)\n rotateZ(${a.rotate?i?-v:v:0}deg)\n scale(${S})\n `;if(a.slideShadows){let e=d.querySelector(".swiper-slide-shadow");e||(e=Se("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,we(0,d).style.transform=T}},setTransition:e=>{const s=t.slides.map((e=>f(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),be({swiper:t,duration:e,transformElements:s})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:t.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!t.params.cssMode})})}Object.keys(ae).forEach((e=>{Object.keys(ae[e]).forEach((t=>{re.prototype[t]=ae[e][t]}))})),re.use([function(e){let{swiper:t,on:s,emit:i}=e;const a=r();let n=null,o=null;const l=()=>{t&&!t.destroyed&&t.initialized&&(i("beforeResize"),i("resize"))},d=()=>{t&&!t.destroyed&&t.initialized&&i("orientationchange")};s("init",(()=>{t.params.resizeObserver&&void 0!==a.ResizeObserver?t&&!t.destroyed&&t.initialized&&(n=new ResizeObserver((e=>{o=a.requestAnimationFrame((()=>{const{width:s,height:i}=t;let a=s,n=i;e.forEach((e=>{let{contentBoxSize:s,contentRect:i,target:r}=e;r&&r!==t.el||(a=i?i.width:(s[0]||s).inlineSize,n=i?i.height:(s[0]||s).blockSize)})),a===s&&n===i||l()}))})),n.observe(t.el)):(a.addEventListener("resize",l),a.addEventListener("orientationchange",d))})),s("destroy",(()=>{o&&a.cancelAnimationFrame(o),n&&n.unobserve&&t.el&&(n.unobserve(t.el),n=null),a.removeEventListener("resize",l),a.removeEventListener("orientationchange",d)}))},function(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const n=[],o=r(),l=function(e,s){void 0===s&&(s={});const i=new(o.MutationObserver||o.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void a("observerUpdate",e[0]);const s=function(){a("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(s):o.setTimeout(s,0)}));i.observe(e,{attributes:void 0===s.attributes||s.attributes,childList:t.isElement||(void 0===s.childList||s).childList,characterData:void 0===s.characterData||s.characterData}),n.push(i)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=E(t.hostEl);for(let t=0;t<e.length;t+=1)l(e[t])}l(t.hostEl,{childList:t.params.observeSlideChildren}),l(t.wrapperEl,{attributes:!1})}})),i("destroy",(()=>{n.forEach((e=>{e.disconnect()})),n.splice(0,n.length)}))}]),document.addEventListener("DOMContentLoaded",(()=>{ const e=document.querySelectorAll(".swiper");e.length&&e.forEach((e=>{let t={};try{t=JSON.parse(e.dataset.swiper)}catch(e){return void console.error(e)}!function(e,t={},s=!1){var i,a,n,r,o,l;const d=[he,oe,ce,ue,ge,le,fe],c={slide:"",flip:Te,fade:ye,coverflow:xe,cube:Ee,cards:Le,creative:Me};t.effect&&c[t.effect]&&d.push(c[t.effect]),t.scrollbar&&d.push(me);const p=e.getAttribute("data-swiper");let u={};if(p)try{u=JSON.parse(p)}catch(e){console.error("Error parsing data-swiper attribute:",e)}const m=null!==(i=null!==(a=u.slidesPerView)&&void 0!==a?a:t?.slidesPerView)&&void 0!==i?i:1,f=null!==(n=null!==(r=u.spaceBetween)&&void 0!==r?r:t?.spaceBetween)&&void 0!==n?n:10,h=null!==(o=null!==(l=u.initialSlide)&&void 0!==l?l:t?.initialSlide)&&void 0!==o?o:10,g="Desktop"===t.viewslider,v="Tablet"===t.viewslider,w="Mobile"===t.viewslider;new re(e,(e=>{var t,i,a,n,r,o;const l={createElements:!0,centeredSlides:null!==(t=e?.centerSlides)&&void 0!==t&&t,grabCursor:null===(i=e?.grabCursor)||void 0===i||i,keyboard:!0,modules:d,navigation:null!==(a=e?.navigation)&&void 0!==a&&a,pagination:null!==(n=e?.pagination)&&void 0!==n&&n,simulateTouch:null===(r=e?.simulateTouch)||void 0===r||r,freeMode:!0,scrollbar:null===(o=e?.scrollbar)||void 0===o||o};var c,p,u,b,y,E,S,T,x;return s?{...l,autoplay:null!==(c=e?.autoplay)&&void 0!==c&&c,initialSlide:h-1,mousewheel:null===(p=e?.mousewheel)||void 0===p||p,...e.effect&&"none"!==e.effect&&{effect:null!==(u=e.effect)&&void 0!==u?u:"fade"},...["fade","flip","cube","cards"].includes(e.effect)?{}:{slidesPerView:m,spaceBetween:f,loop:e?.loop},..."cards"===e.effect&&{loop:!1}}:{...l,initialSlide:g?(null!==(b=e?.initialSlide)&&void 0!==b?b:1)-1:v?(null!==(y=e?.initialSlideTablet)&&void 0!==y?y:1)-1:w?(null!==(E=e?.initialSlideMobile)&&void 0!==E?E:1)-1:0,pagination:{enabled:!0,clickable:!0,..."numbers"===e.dotstype&&{type:"fraction"},..."bullets"===e.dotstype&&{dynamicBullets:!0,dynamicMainBullets:null!==(S=e?.dynamicMainBullets)&&void 0!==S?S:1},..."progressbar"===e.dotstype&&{type:"progressbar"}},...["fade","cards"].includes(e.effect)?{}:{loop:!0},...["fade","flip","cube","cards"].includes(e.effect)?{}:{slidesPerView:g?e?.slidesPerView:v?e?.slidesPerViewTablet:w?e?.slidesPerViewMobile:1,spaceBetween:g?e?.spaceBetween:v?e?.spaceBetweenTablet:w?e?.spaceBetweenMobile:10},...e.effect&&"none"!==e.effect&&{effect:null!==(T=e.effect)&&void 0!==T?T:"fade"},..."cards"===e.effect&&{loop:!1},mousewheel:{enabled:null===(x=e?.mousewheel)||void 0===x||x,sensitivity:7}}})(t))}(e,t,!0)}))}));const Ce=e=>NodeList.prototype.isPrototypeOf(e)||HTMLCollection.prototype.isPrototypeOf(e)?Array.from(e):"string"==typeof e||e instanceof String?document.querySelectorAll(e):[e],Oe=new class{constructor(){this.positions={top:0,bottom:0,height:0}}setViewportTop(e){return this.positions.top=e?e.scrollTop:window.pageYOffset,this.positions}setViewportBottom(){return this.positions.bottom=this.positions.top+this.positions.height,this.positions}setViewportAll(e){return this.positions.top=e?e.scrollTop:window.pageYOffset,this.positions.height=e?e.clientHeight:document.documentElement.clientHeight,this.positions.bottom=this.positions.top+this.positions.height,this.positions}},Pe=(()=>{const e="transform webkitTransform mozTransform oTransform msTransform".split(" ");let t,s=0;for(;void 0===t;)t=void 0!==document.createElement("div").style[e[s]]?e[s]:void 0,s+=1;return t})();class ke{constructor(e,t,s=!1){var i;this.element=e,this.elementContainer=e,this.settings=t,this.isVisible=!0,this.isInit=!1,this.oldTranslateValue=-1,this.prefersReducedMotion=s,this.init=this.init.bind(this),this.customWrapper=this.settings.customWrapper&&this.element.closest(this.settings.customWrapper)?this.element.closest(this.settings.customWrapper):null,!this.prefersReducedMotion&&("img"!==(i=e).tagName.toLowerCase()&&"picture"!==i.tagName.toLowerCase()||i&&i.complete&&!(typeof i.naturalWidth<"u"&&0===i.naturalWidth)?this.init():this.element.addEventListener("load",(()=>{setTimeout((()=>{this.init(!0)}),50)})))}init(e){this.prefersReducedMotion||this.isInit||(e&&(this.rangeMax=null),!this.element.closest(".simpleParallax")&&(!1===this.settings.overflow&&this.wrapElement(this.element),this.setTransformCSS(),this.getElementOffset(),this.intersectionObserver(),this.getTranslateValue(),this.animate(),this.settings.delay>0?setTimeout((()=>{this.setTransitionCSS(),this.elementContainer.classList.add("simple-parallax-initialized")}),10):this.elementContainer.classList.add("simple-parallax-initialized"),this.isInit=!0))}wrapElement(){const e=this.element.closest("picture")||this.element;let t=this.customWrapper||document.createElement("div");t.classList.add("simpleParallax"),t.style.overflow="hidden",this.customWrapper||(e.parentNode.insertBefore(t,e),t.appendChild(e)),this.elementContainer=t}unWrapElement(){const e=this.elementContainer;this.customWrapper?(e.classList.remove("simpleParallax"),e.style.overflow=""):e.replaceWith(...e.childNodes)}setTransformCSS(){!1===this.settings.overflow&&(this.element.style[Pe]=`scale(${this.settings.scale})`),this.element.style.willChange="transform"}setTransitionCSS(){this.element.style.transition=`transform ${this.settings.delay}s ${this.settings.transition}`}unSetStyle(){this.element.style.willChange="",this.element.style[Pe]="",this.element.style.transition=""}getElementOffset(){const e=this.elementContainer.getBoundingClientRect();if(this.elementHeight=e.height,this.elementTop=e.top+Oe.positions.top,this.settings.customContainer){const t=this.settings.customContainer.getBoundingClientRect();this.elementTop=e.top-t.top+Oe.positions.top}this.elementBottom=this.elementHeight+this.elementTop}buildThresholdList(){const e=[];for(let t=1;t<=this.elementHeight;t++){const s=t/this.elementHeight;e.push(s)}return e}intersectionObserver(){const e={root:null,threshold:this.buildThresholdList()};this.observer=new IntersectionObserver(this.intersectionObserverCallback.bind(this),e),this.observer.observe(this.element)}intersectionObserverCallback(e){e.forEach((e=>{e.isIntersecting?this.isVisible=!0:this.isVisible=!1}))}checkIfVisible(){return this.elementBottom>Oe.positions.top&&this.elementTop<Oe.positions.bottom}getRangeMax(){const e=this.element.clientHeight;this.rangeMax=e*this.settings.scale-e}getTranslateValue(){let e=((Oe.positions.bottom-this.elementTop)/((Oe.positions.height+this.elementHeight)/100)).toFixed(1);return e=Math.min(100,Math.max(0,e)),0!==this.settings.maxTransition&&e>this.settings.maxTransition&&(e=this.settings.maxTransition),this.oldPercentage!==e&&(this.rangeMax||this.getRangeMax(),this.translateValue=(e/100*this.rangeMax-this.rangeMax/2).toFixed(0),this.oldTranslateValue!==this.translateValue)&&(this.oldPercentage=e,this.oldTranslateValue=this.translateValue,!0)}animate(){let e,t=0,s=0;(this.settings.orientation.includes("left")||this.settings.orientation.includes("right"))&&(s=`${this.settings.orientation.includes("left")?-1*this.translateValue:this.translateValue}px`),(this.settings.orientation.includes("up")||this.settings.orientation.includes("down"))&&(t=`${this.settings.orientation.includes("up")?-1*this.translateValue:this.translateValue}px`),e=!1===this.settings.overflow?`translate3d(${s}, ${t}, 0) scale(${this.settings.scale})`:`translate3d(${s}, ${t}, 0)`,this.element.style[Pe]=e}}let Ie,Ae,De=!1,ze=[];class $e{constructor(e,t){e&&Element.prototype.closest&&"IntersectionObserver"in window&&(this.prefersReducedMotion=window.matchMedia("(prefers-reduced-motion: reduce)").matches,this.reducedMotionMediaQuery=window.matchMedia("(prefers-reduced-motion: reduce)"),this.handleReducedMotionChange=this.handleReducedMotionChange.bind(this),this.reducedMotionMediaQuery.addEventListener("change",this.handleReducedMotionChange),!this.prefersReducedMotion&&(this.elements=Ce(e),this.defaults={delay:0,orientation:"up",scale:1.3,overflow:!1,transition:"cubic-bezier(0,0,0,1)",customContainer:"",customWrapper:"",maxTransition:0},this.settings=Object.assign(this.defaults,t),this.settings.customContainer&&([this.customContainer]=Ce(this.settings.customContainer)),this.lastPosition=-1,this.resizeIsDone=this.resizeIsDone.bind(this),this.refresh=this.refresh.bind(this),this.proceedRequestAnimationFrame=this.proceedRequestAnimationFrame.bind(this),this.init()))}handleReducedMotionChange(e){this.prefersReducedMotion=e.matches,this.prefersReducedMotion?this.destroy():this.init()}init(){this.prefersReducedMotion||(Oe.setViewportAll(this.customContainer),ze=[...this.elements.map((e=>new ke(e,this.settings,this.prefersReducedMotion))),...ze],De||(this.proceedRequestAnimationFrame(),window.addEventListener("resize",this.resizeIsDone),De=!0))}resizeIsDone(){clearTimeout(Ae),Ae=setTimeout(this.refresh,200)}proceedRequestAnimationFrame(){Oe.setViewportTop(this.customContainer),this.lastPosition!==Oe.positions.top?(Oe.setViewportBottom(),ze.forEach((e=>{this.proceedElement(e)})),Ie=window.requestAnimationFrame(this.proceedRequestAnimationFrame),this.lastPosition=Oe.positions.top):Ie=window.requestAnimationFrame(this.proceedRequestAnimationFrame)}proceedElement(e){let t=!1;t=this.customContainer?e.checkIfVisible():e.isVisible,t&&e.getTranslateValue()&&e.animate()}refresh(){Oe.setViewportAll(this.customContainer),ze.forEach((e=>{e.getElementOffset(),e.getRangeMax()})),this.lastPosition=-1}destroy(){this.reducedMotionMediaQuery&&this.reducedMotionMediaQuery.removeEventListener("change",this.handleReducedMotionChange);const e=[];ze=ze.filter((t=>this.elements&&this.elements.includes(t.element)?(e.push(t),!1):t)),e.forEach((e=>{e.unSetStyle(),this.settings&&!1===this.settings.overflow&&e.unWrapElement()})),ze.length||(window.cancelAnimationFrame(Ie),window.removeEventListener("resize",this.refresh),De=!1)}}function Be(e,t){document.querySelectorAll(e).forEach((e=>{const s=e.clientHeight,i=e.clientWidth;e.addEventListener("mousemove",(a=>{const n=a.layerX,r=`perspective(500px) rotateX(${(a.layerY-s/2)/s*-t}deg) rotateY(${t*((n-i/2)/i)}deg)`;e.style.transform=r})),e.addEventListener("mouseout",(()=>{e.style.transform="perspective(500px) scale(1) rotateX(0) rotateY(0)"}),120),e.addEventListener("mousedown",(()=>{e.style.transform="perspective(500px) scale(0.9) rotateX(0) rotateY(0)"}),120),e.addEventListener("mouseup",(()=>{e.style.transform="perspective(500px) scale(1.1) rotateX(0) rotateY(0)"}),120)}))}Be(".vayu_block_styling-effect7",8),Be(".vayu_block_styling-overlay-effect",10),document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll('img[data-parallax="true"]').forEach((e=>{const t={orientation:e.dataset.orientation||"up",delay:parseFloat(e.dataset.delay||0),scale:parseFloat(e.dataset.scale||1.2),transition:e.dataset.transition||"cubic-bezier(0,0,0,1)",overflow:"true"===e.dataset.overflow,maxTransition:parseFloat(e.dataset.maxTransition||60)};new $e(e,t)}))})),s(1),s(2147),s(4377),s(9941),s(8730),s(4934),s(576),s(2399),s(882),s(9127),s(1679);const Re=(e,t)=>{let s,i=0;const a=Math.ceil(e/t)+1||1,n=e=>{clearInterval(s),e?.()};return{steps:a,start:(e,r)=>{s=setInterval((()=>{i<a?(e?.(i),i+=1):n(r)}),1e3*t)},stop:n}},qe=e=>{"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())},He={none:void 0,"o-count-slower":3,"o-count-slow":2,"o-count-fast":1.5,"o-count-fastest":1},Ve=new Set(Array.from("0123456789,.")),Ge=new Set(Array.from(","));qe((()=>{const e={root:null,rootMargin:"0px",threshold:[.6]},t=new Set("0123456789");setTimeout((()=>{document.querySelectorAll("o-anim-count").forEach((s=>{if(Array.from(s.innerHTML).some((e=>t.has(e)))){const t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&0<e.intersectionRect.height&&(t.unobserve(s),(e=>{const t=e?.innerHTML||"",s=(e=>{let t=e.parentElement;for(let e=0;e<3;++e)if(Array.from(t.classList).some((e=>e.includes("o-count-")))){const e=Array.from(t.classList),s=e.filter((e=>e.includes("o-count-delay-"))).pop(),i=parseInt(s?.split("-")?.[3]||"0"),a=s?.includes("ms"),n=Object.keys(He),r=e?.filter((e=>n.includes(e)))?.pop()||"fast";return{speed:He[r],delay:i*(a?0:1e3)}}})(e),{suffix:i,prefix:a,number:n}=(e=>{const t=Array.from(e),s=[],i=[],a=[];let n=!0,r=!1;for(let e of t)Ve.has(e)?(n&&(n=!1),r?i.push(e):a.push(e)):n?s.push(e):(r||(r=!0),i.push(e));return{prefix:s.join(""),suffix:i.join(""),number:a}})(t),r=[...n].reverse().map(((e,t)=>Ge.has(e)?{position:t,character:e}:null)).filter((e=>e)),o=n.join("")?.split(".")?.[1]?.length||0,l=parseFloat(n.filter((e=>","!==e)).join("")),d=t.length-i.length,c=e=>{const t=e.split("").reverse();return r.forEach((e=>{e.position<t.length&&t.splice(e.position,0,e.character)})),((a||"")+t.reverse().join("")).padStart(d," ")+i||""},{start:p,steps:u}=Re(s?.speed||2,.05),m=parseFloat((l/u).toFixed(o||2));if(1e-12>m)return;let f=[0];for(let e=1;e<u;++e)f.push(f[e-1]+m);f=f.map((e=>e.toFixed(o))),0<f.length&&(f[u-1]=l.toFixed(o||0),e.innerHTML=c(f[0]),setTimeout((()=>{e.style.whiteSpace="pre",p((t=>{e.innerHTML=c(f[t])}),(()=>{e.style.whiteSpace="",e.innerHTML=t}))}),s?.delay||0))})(s))}))}),e);t.observe(s)}}))}),300)}));const Fe={none:void 0,"o-typing-slower":.4,"o-typing-slow":.25,"o-typing-fast":.05,"o-typing-faster":.01};qe((()=>{const e={root:null,rootMargin:"0px",threshold:[.6]};let t="\n\t\t.o-anim-typing-caret::after {\n\t\t\tfont-weight: 100;\n\t\t\tcontent: '|';\n\t\t\tcolor: #2E3D48;\n\t\t\tanimation: 1s blink step-end infinite;\n\t\t}\n\t\n\t\t@keyframes blink {\n\t\t\tfrom, to {\n\t\t\t color: transparent;\n\t\t }\n\t\t\t50% {\n\t\t\t color: black;\n\t\t }\n\t\t}\n\t";t=t.replace(/(\r\n|\n|\r|\t)/gm,"");let s=!1;setTimeout((()=>{document.querySelectorAll("o-anim-typing").forEach((i=>{if(!s){const e=document.createElement("style");e.innerText=t,document.head.appendChild(e),s=!0}const a=(e=>{const t=e?.innerHTML||"",s=(e=>{let t=e.parentElement;for(let e=0;e<3;++e)if(Array.from(t.classList).some((e=>e.includes("o-typing-")))){const e=Array.from(t.classList),s=e.filter((e=>e.includes("o-typing-delay-"))).pop(),i=parseInt(s?.split("-")?.[3]||"0"),a=s?.includes("ms"),n=Object.keys(Fe),r=e?.filter((e=>n.includes(e)))?.pop()||"fast";return{speed:Fe[r],delay:i*(a?0:1e3)}}})(e);t?.length||returnl;const i=t.length,a=(s?.speed||.1)*i,{start:n,steps:r,stop:o}=Re(a,s?.speed||.1),l=document.createElement("span");l.classList.add("o-anim-typing-caret"),l.style.whiteSpace="pre-wrap";const d=document.createElement("span");d.style.whiteSpace="pre-wrap",d.style.visibility="hidden";const c=e.innerHTML;return e.innerHTML="",e.appendChild(l),e.appendChild(d),l.innerHTML=t.slice(0,0),d.innerHTML=t.slice(0),()=>{setTimeout((()=>{n((e=>{l.innerHTML=t.slice(0,e),e<i&&(d.innerHTML=t.slice(e)),i>=r&&o()}),(()=>{e.innerHTML=c}))}),s?.delay||0)}})(i),n=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&0<e.intersectionRect.height&&(n.unobserve(i),a())}))}),e);n.observe(i)}))}),100)}))})()})();1 (()=>{var e={1:()=>{document.querySelectorAll(".vayu_block_styling-effect7").forEach((e=>{const t=e.clientHeight,s=e.clientWidth;e.addEventListener("mousemove",(i=>{const a=i.layerX,n=`perspective(500px) rotateX(${(i.layerY-t/2)/t*-8}deg) rotateY(${(a-s/2)/s*8}deg)`;e.style.transform=n})),e.addEventListener("mouseout",(()=>{e.style.transform="perspective(500px) scale(1) rotateX(0) rotateY(0)"}),120),e.addEventListener("mousedown",(()=>{e.style.transform="perspective(500px) scale(0.9) rotateX(0) rotateY(0)"}),120),e.addEventListener("mouseup",(()=>{e.style.transform="perspective(500px) scale(1.1) rotateX(0) rotateY(0)"}),120)})),document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".vb-vide-view").forEach((e=>{const t=e.querySelector(".vb-icon-block-video"),s=e.querySelector(".vb-video-poster"),i=e.querySelector(".vb-video-wrapper-relative"),a=e.querySelector(".vb-video-icon"),n=e.querySelector(".vb-video-iframe"),r=e.querySelector(".vb-video-rotation"),o=e.querySelector(".vb-video-iframe-cont"),l=r?.dataset.lightbox,d=e.querySelector(".vb-vayu-modal"),c=e.querySelector(".vb-vayu-modal-close");t&&(t.addEventListener("click",(()=>{"true"===l?d&&(d.classList.add("open"),s.style.display="flex",a.style.display="flex",i.style.display="block",n.style.setProperty("display","none","important"),document.body.style.overflow="hidden"):(s.style.display="none",o&&(o.style.display="block"),a.style.display="none",i.style.display="none",n&&n.style.setProperty("display","block","important"),document.body.style.overflow="")})),c&&d&&(c.addEventListener("click",(()=>{d.classList.remove("open"),document.body.style.overflow=""})),d.addEventListener("click",(e=>{e.target===d&&(d.classList.remove("open"),document.body.style.overflow="")}))))}))}))},576:()=>{const e=document.querySelector(".vayu_blocks_touch_class .wp-block-vayu-blocks-advance-timeline");let t,s,i=!1;e&&(e.addEventListener("mousedown",(a=>{i=!0,t=a.pageX-e.offsetLeft,s=e.scrollLeft})),e.addEventListener("mouseleave",(()=>{i=!1})),e.addEventListener("mouseup",(()=>{i=!1})),e.addEventListener("mousemove",(a=>{if(!i)return;a.preventDefault();const n=a.pageX-e.offsetLeft-t;e.scrollLeft=s-n})),e.addEventListener("touchstart",(a=>{i=!0,t=a.touches[0].pageX-e.offsetLeft,s=e.scrollLeft})),e.addEventListener("touchend",(()=>{i=!1})),e.addEventListener("touchmove",(a=>{if(!i)return;a.preventDefault();const n=a.touches[0].pageX-e.offsetLeft-t;e.scrollLeft=s-n})))},882:()=>{document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".swipe-scroll-wrapper[id^='vayu-blocks-']").forEach((e=>{!function(e){const t=e.closest("[id^='vayu-blocks-']");if(!t)return;const s=t.querySelector(".swipe-carousel"),i=s?.getAttribute("data-nav")||"none";if(!s||!e)return void console.log("Missing elements in:",t.id);let a,n,r=Array.from(s.querySelectorAll(".slide-item"));if(0===r.length)return;"arrow"!==i&&"arrowdots"!==i||(a=t.querySelector(".scroll-button.left"),n=t.querySelector(".scroll-button.right"));let o=t.querySelector(".pagination-container");o||"none"===i||"arrow"===i||(o=document.createElement("div"),o.classList.add("pagination-container"),e.appendChild(o));let l=r[0].offsetWidth+18,d=Math.floor(e.offsetWidth/l)||1,c=0,p=!1,u=0,m=0,f=0,h=.3*l;r.forEach((e=>{e.querySelectorAll("img").forEach((e=>{e.setAttribute("draggable","false"),e.addEventListener("dragstart",(e=>e.preventDefault()))}))}));const g=r.slice(0,d).map((e=>{const t=e.cloneNode(!0);return t.classList.add("clone"),t.querySelectorAll("img").forEach((e=>{e.setAttribute("draggable","false"),e.addEventListener("dragstart",(e=>e.preventDefault()))})),t}));g.forEach((e=>s.appendChild(e))),r=Array.from(s.querySelectorAll(".slide-item")),o&&(o.innerHTML="",r.slice(0,r.length-g.length).forEach(((e,t)=>{const s=document.createElement("span");s.classList.add("pagination-dot"),s.dataset.index=t,o.appendChild(s)})));const v=()=>{const e=c%(r.length-g.length);o&&o.querySelectorAll(".pagination-dot").forEach(((t,s)=>{t.classList.toggle("active",s===e)}))},w=(e,t=!0)=>{c=e,c>=r.length-g.length?(c=0,m=0):c<0&&(c=r.length-g.length-1,m=-c*l),m=-c*l,f=m,s.style.transform=`translateX(${m}px)`,s.style.transition=t?"transform 0.4s ease":"none",v()},b=e=>e.type.includes("mouse")?e.clientX:e.touches[0].clientX,y=e=>{"touchstart"===e.type&&e.preventDefault(),p=!0,u=b(e),f=m,s.style.transition="none",s.classList.add("dragging")},E=e=>{if(!p)return;const t=b(e);m=f+(t-u);const i=-(r.length-d)*l;m>0?m=0+.5*(m-0):m<i&&(m=i+.5*(m-i)),s.style.transform=`translateX(${m}px)`},S=()=>{if(!p)return;p=!1,s.classList.remove("dragging");const e=m- -c*l;let t=c;Math.abs(e)>h&&(t+=e>0?-1:1),w(t)};s.addEventListener("mousedown",y),s.addEventListener("touchstart",y,{passive:!1}),s.addEventListener("mousemove",E),s.addEventListener("touchmove",E,{passive:!1}),s.addEventListener("mouseup",S),s.addEventListener("touchend",S),s.addEventListener("mouseleave",(()=>{p&&S()})),s.addEventListener("click",(e=>{Math.abs(m-f)>10&&(e.preventDefault(),e.stopPropagation())}),!0),a&&a.addEventListener("click",(()=>w(c-1))),n&&n.addEventListener("click",(()=>w(c+1))),o&&o.addEventListener("click",(e=>{e.target.classList.contains("pagination-dot")&&w(parseInt(e.target.dataset.index,10))})),s.style.willChange="transform",s.style.transform="translateX(0px)";window.addEventListener("resize",(()=>{l=r[0]?.offsetWidth+18||0,d=Math.floor(e.offsetWidth/l)||1,h=.3*l,w(c,!1)})),v()}(e)}))}))},1679:()=>{const e=["none","bounce","flash","pulse","rubberBand","shakeX","shakeY","headShake","swing","tada","wobble","jello","heartBeat","hinge","jackInTheBox","backInDown","backInLeft","backInRight","backInUp","backOutDown","backOutLeft","backOutRight","backOutUp","bounceIn","bounceInDown","bounceInLeft","bounceInRight","bounceInUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeIn","fadeInDown","fadeInDownBig","fadeInLeft","fadeInLeftBig","fadeInRight","fadeInRightBig","fadeInUp","fadeInTopLeft","fadeInTopRight","fadeInBottomLeft","fadeInBottomRight","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","fadeOutTopLeft","fadeOutTopRight","fadeOutBottomRight","fadeOutBottomLeft","flip","flipInX","flipInY","flipOutX","flipOutY","lightSpeedInRight","lightSpeedInLeft","lightSpeedOutRight","lightSpeedOutLeft","rotateIn","rotateInDownLeft","rotateInDownRight","rotateInUpLeft","rotateInUpRight","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideInDown","slideInLeft","slideInRight","slideInUp","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomIn","zoomInDown","zoomInLeft","zoomInRight","zoomInUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollIn","rollOut"],t=["backOutDown","backOutLeft","backOutRight","backOutUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","fadeOutTopLeft","fadeOutTopRight","fadeOutBottomRight","fadeOutBottomLeft","flipOutX","flipOutY","lightSpeedOutRight","lightSpeedOutLeft","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollOut"],s=["none","delay-100ms","delay-200ms","delay-500ms","delay-1s","delay-2s","delay-3s","delay-4s","delay-5s"],i=["none","slow","slower","fast","faster"];window.addEventListener("load",(()=>{const n=document.querySelectorAll(".animated");for(const r of n){if(classes=r.classList,r.animationClasses=[],classes.add("o-anim-ready"),!a(r)){const t=e.find((e=>Array.from(classes).find((t=>t===e)))),a=s.find((e=>Array.from(classes).find((t=>t===e)))),n=i.find((e=>Array.from(classes).find((t=>t===e))));r.classList.add("hidden-animated"),t&&(r.animationClasses.push(t),r.classList.remove(t)),a&&(r.animationClasses.push(a),r.classList.remove(a)),n&&(r.animationClasses.push(n),r.classList.remove(n))}t.forEach((e=>{r.className.includes(e)&&r.addEventListener("animationend",(()=>{r.classList.remove(e)}))}))}window.addEventListener("scroll",(()=>{for(const e of n)e.getBoundingClientRect().top<=.95*window.innerHeight&&0<e.getBoundingClientRect().top&&e.animationClasses&&0<e.animationClasses.length&&(e.animationClasses.forEach((t=>e.classList.add(t))),e.classList.remove("hidden-animated"),delete e.animationClasses)}))}));const a=e=>{const t=window.scrollY||window.pageYOffset,s=e.getBoundingClientRect().top+t,i=t,a=t+window.innerHeight,n=s,r=s+e.clientHeight;return r>=i&&r<=a||n<=a&&n>=i}},2147:()=>{function e(e,t){e.classList.remove("closed"),e.classList.add("open"),t?.dataset.activeIcon&&(t.innerHTML=t.dataset.activeIcon)}function t(e,t){e.classList.remove("open"),e.classList.add("closed"),t?.dataset.inactiveIcon&&(t.innerHTML=t.dataset.inactiveIcon)}function s(e,s){s.forEach((s=>{if(s!==e){const e=s.querySelector(".vb-faq-icon");t(s,e)}}))}document.addEventListener("DOMContentLoaded",(function(){!function(){const i=document.querySelectorAll(".vb-faq-child-wrapper");i.forEach((a=>{const n=a.querySelector(".vb-faq-icon"),r=a.dataset.showtype,o="true"===a.dataset.isFirstChild,l="true"===a.dataset.expandfirst,d="true"===a.dataset.enabletoggle,c=a.dataset.collapseall;"accordation"===r&&l&&o&&e(a,n),n&&"accordation"===r&&n.addEventListener("click",(function(r){r.preventDefault();const o=a.classList.contains("open");"1"===c?s(a,i):a.classList.contains("colpaseopen")?a.classList.remove("colpaseopen"):s(a,i),d?o?t(a,n):e(a,n):o||e(a,n)}))}))}()}))},2399:()=>{document.addEventListener("DOMContentLoaded",(function(){let e=!1;const t=(t,s)=>{const i=t.closest(".wp-block-vayu-blocks-advance-query-loop"),a=t.querySelector(".th-button-inside"),n=parseInt(t.getAttribute("data-page")),r=parseInt(t.getAttribute("data-max-page")),o=parseInt(t.getAttribute("data-per-page")),l=window.location.pathname.split("/")[1];if(n>r)return;e=!0,a.textContent=t.getAttribute("data-loadmore-label"),t.setAttribute("disabled","disabled");const d=JSON.parse(i.getAttribute("data-attrs")),c=`${window.location.origin}/${l}/wp-admin/admin-ajax.php`,p=new FormData;p.append("action","load_more_posts"),p.append("page",n),p.append("perpage",o),p.append("query_id",t.getAttribute("data-query-id")),p.append("attrs",JSON.stringify(d)),fetch(c,{method:"POST",body:p}).then((e=>e.json())).then((e=>{if(e.success){const s=e.data.content,i=document.querySelector(".wp-block-vayu-blocks-wrapper");i&&i.insertAdjacentHTML("beforeend",s),t.setAttribute("data-page",n+1),t.setAttribute("data-current-page",n),n+1>r?(a.textContent=t.getAttribute("data-nomorepost-label"),t.setAttribute("disabled","disabled")):(a.textContent=t.getAttribute("data-loadmorebtn-txt"),t.removeAttribute("disabled"))}else console.error("Error fetching posts:",e),a.textContent=t.getAttribute("data-loadmorebtn-txt"),t.removeAttribute("disabled")})).catch((e=>{console.error("Error:",e),a.textContent=t.getAttribute("data-loadmorebtn-txt"),t.removeAttribute("disabled")})).finally((()=>{e=!1}))};(()=>{const e=document.querySelector(".load-more-btn");e&&e.addEventListener("click",(function(s){"loadmorebtn"===e.getAttribute("data-loadmore-type")&&(s.preventDefault(),t(e))}))})(),window.addEventListener("scroll",(function(){const s=document.querySelector(".load-more-btn");if(!s||e)return;const i=s.getBoundingClientRect(),a=window.innerHeight||document.documentElement.clientHeight;if(i.top-a<100){"loadinfinite"===s.getAttribute("data-loadmore-type")&&t(s)}}))}))},4377:()=>{document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".vb-toc-wrapper").forEach((e=>{const t=e.querySelector(".vb-toc-toggle-button"),s=e.querySelector(".vb-toc-list"),i=e.querySelector(".vb-toc-separator");if(!t||!s)return;s.classList.contains("empty-toc");let a="true"===t.getAttribute("aria-expanded");const n=parseInt(s.dataset.collapseLimit||"0"),r=s.querySelectorAll(".vb-toc-item"),o=t.dataset.activeIcon,l=t.dataset.inactiveIcon,d=t.dataset.activetext,c=t.dataset.inactivetext,p=()=>{if(t.setAttribute("aria-expanded",a?"true":"false"),t.innerHTML=a?`${d||""}${o||""}`:`${c||""}${l||""}`,a?t.classList.add("vb-active"):t.classList.remove("vb-active"),0!==n||a?(s.style.display="grid",r.forEach(((e,t)=>{a||t<n?(e.style.display="list-item",e.setAttribute("aria-hidden","false"),e.classList.remove("is-collapsed")):(e.style.display="none",e.setAttribute("aria-hidden","true"),e.classList.add("is-collapsed"))}))):s.style.display="none",i){const e=a||n>0;i.style.display=e?"block":"none"}};p(),t.addEventListener("click",(()=>{a=!a,p()}))}))})),document.addEventListener("click",(function(e){const t=e.target.closest("a.vb-toc-link[data-scroll]");if(!t)return;e.preventDefault();const s=t.getAttribute("href");if(!s||!s.startsWith("#"))return;const i=document.querySelector(s);i&&window.scrollTo({top:i.getBoundingClientRect().top+window.pageYOffset-60,behavior:"smooth"})}))},4934:()=>{document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".unfold-inner").forEach((e=>{const t=e.getAttribute("data-content-show-event"),s="1"===e.getAttribute("data-hide-unfold-button"),i=e.querySelector(".unfold-content"),a=e.querySelector(".vb-bg-unfold-full-button"),n=e.querySelector(".unfold-button");function r(){const e=i.classList.contains("unfolded");i.classList.toggle("unfolded",!e);const t=a.classList.contains("unfolded");if(a.classList.toggle("unfolded",!t),n){const t=n.getAttribute("data-fold-text"),s=n.getAttribute("data-unfold-text"),i=n.querySelector(".btn-text");i&&(i.innerText=e?s:t);const a=n.querySelector(".btn-fold-icon"),r=n.querySelector(".btn-unfold-icon");a&&r&&(a.style.display=e?"none":"inline-flex",r.style.display=e?"inline-flex":"none"),n.setAttribute("aria-expanded",!e)}}i&&("contentclick"===t&&e.addEventListener("click",r),"contenthover"===t&&(e.addEventListener("mouseenter",(()=>{i.classList.add("unfolded"),a.classList.add("unfolded")})),e.addEventListener("mouseleave",(()=>{i.classList.remove("unfolded"),a.classList.remove("unfolded")}))),"buttonclick"!==t&&s||n&&n.addEventListener("click",(function(e){e.stopPropagation(),r()})))}))}))},8730:()=>{document.addEventListener("DOMContentLoaded",(()=>{const e=document.querySelector(".vayu_blocks-timeline__marker");if(e){const t=e.offsetTop,s=document.querySelector(".vayu-blocks-laytout-7-advance-timeline");s&&s.style.setProperty("--vb-value-top-icon",`${t}px`)}}))},9127:()=>{function e(e,t){const s=parseFloat(e.dataset.speed),i=parseInt(e.dataset.direction)||1,a=parseInt(e.dataset.start),n=parseInt(e.dataset.end),r=e.dataset.trigger,o=parseInt(e.dataset.top),l=parseInt(e.dataset.bottom),d=lottie.loadAnimation({container:e,renderer:"svg",loop:!0,autoplay:"none"===r,path:e.dataset.lottie});if(d.setSpeed(s),d.setDirection(i),d.playSegments([a,n],!1),"viewport"===r)window.addEventListener("scroll",(()=>{const t=e.getBoundingClientRect(),s=window.innerHeight,i=isNaN(o)?100:o,r=s*((isNaN(l)?0:l)/100),c=s*(i/100);t.top<c&&t.bottom>r&&d.playSegments([a,n],!0)}));else if("scroll"===r)window.addEventListener("scroll",(()=>{const t=e.getBoundingClientRect(),s=window.innerHeight,i=parseInt(e.dataset.top||"100"),a=parseInt(e.dataset.bottom||"0"),n=parseInt(e.dataset.start||"0"),r=parseInt(e.dataset.end||"100"),o=Math.floor((r-n)/2+n),l=s*(a/100),c=s*(i/100),p=t.top+t.height/2;if(t.bottom<l||t.top>c)return;const u=(p-l)/(c-l),m=Math.max(0,Math.min(1,u));if(m<.05)d.goToAndStop(n,!0);else if(m>=.05&&m<=.95){const e=n+(m-.05)/.9*(o-n);d.goToAndStop(e,!0)}else d.playSegments([o,r],!0)}));else if("click"===r){let t=!1;e.addEventListener("click",(()=>{t?(d.pause(),t=!1):(d.play(),t=!0)}))}else"hover"===r&&(e.addEventListener("mouseenter",(()=>{d.play()})),e.addEventListener("mouseleave",(()=>{d.pause()})));window[`lottie_${t}`]=d,e.lottieInstance=d}document.addEventListener("DOMContentLoaded",(()=>{const t=document.querySelectorAll(".vb-lottie-frontend");if("undefined"==typeof lottie){const s=document.createElement("script");s.src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.10.2/lottie.min.js",s.onload=()=>{t.forEach((t=>{const s=t.getAttribute("id");e(t,s)}))},document.body.appendChild(s)}else t.forEach((t=>{const s=t.getAttribute("id");e(t,s)}))}))},9941:()=>{document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".vayu-pin-first-wrap").forEach((e=>(e=>{let t=e.querySelector(".triangle-arrow");t||(t=document.createElement("div"),t.className="triangle-arrow",e.appendChild(t));const s=e.closest(".vayu-pin-spot-wrapper7").getAttribute("data-arrow")||"#444942";t.style.cssText=`\n position: absolute;\n width: 0;\n height: 0;\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n border-top: 10px solid ${s};\n `})(e))),document.querySelectorAll(".vayu-pin-spot-wrapper7.tooltip-onClick").forEach((e=>{e.addEventListener("click",(t=>{const s=e.querySelector(".vayu-pin-first-wrap");s&&s.classList.toggle("visible")}))}))}))}},t={};function s(i){var a=t[i];if(void 0!==a)return a.exports;var n=t[i]={exports:{}};return e[i](n,n.exports,s),n.exports}(()=>{"use strict";function e(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function t(s,i){void 0===s&&(s={}),void 0===i&&(i={});const a=["__proto__","constructor","prototype"];Object.keys(i).filter((e=>a.indexOf(e)<0)).forEach((a=>{void 0===s[a]?s[a]=i[a]:e(i[a])&&e(s[a])&&Object.keys(i[a]).length>0&&t(s[a],i[a])}))}const i={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 t(e,i),e}const n={document:i,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 r(){const e="undefined"!=typeof window?window:{};return t(e,n),e}function o(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}function l(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function d(){return Date.now()}function c(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function p(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const a=i<0||arguments.length<=i?void 0:arguments[i];if(null!=a&&(s=a,!("undefined"!=typeof window&&void 0!==window.HTMLElement?s instanceof HTMLElement:s&&(1===s.nodeType||11===s.nodeType)))){const s=Object.keys(Object(a)).filter((e=>t.indexOf(e)<0));for(let t=0,i=s.length;t<i;t+=1){const i=s[t],n=Object.getOwnPropertyDescriptor(a,i);void 0!==n&&n.enumerable&&(c(e[i])&&c(a[i])?a[i].__swiper__?e[i]=a[i]:p(e[i],a[i]):!c(e[i])&&c(a[i])?(e[i]={},a[i].__swiper__?e[i]=a[i]:p(e[i],a[i])):e[i]=a[i])}}}var s;return e}function u(e,t,s){e.style.setProperty(t,s)}function m(e){let{swiper:t,targetPosition:s,side:i}=e;const a=r(),n=-t.translate;let o,l=null;const d=t.params.speed;t.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(t.cssModeFrameID);const c=s>n?"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),r=.5-Math.cos(e*Math.PI)/2;let c=n+r*(s-n);if(p(c,s)&&(c=s),t.wrapperEl.scrollTo({[i]:c}),p(c,s))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[i]:c})})),void a.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=a.requestAnimationFrame(u)};u()}function f(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function h(e,t){void 0===t&&(t="");const s=r(),i=[...e.children];return s.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t?i.filter((e=>e.matches(t))):i}function g(e){try{return void console.warn(e)}catch(e){}}function v(e,t){void 0===t&&(t=[]);const s=document.createElement(e);return s.classList.add(...Array.isArray(t)?t:o(t)),s}function w(e){const t=r(),s=a(),i=e.getBoundingClientRect(),n=s.body,o=e.clientTop||n.clientTop||0,l=e.clientLeft||n.clientLeft||0,d=e===t?t.scrollY:e.scrollTop,c=e===t?t.scrollX:e.scrollLeft;return{top:i.top+d-o,left:i.left+c-l}}function b(e,t){return r().getComputedStyle(e,null).getPropertyValue(t)}function y(e){let t,s=e;if(s){for(t=0;null!==(s=s.previousSibling);)1===s.nodeType&&(t+=1);return t}}function E(e,t){const s=[];let i=e.parentElement;for(;i;)t?i.matches(t)&&s.push(i):s.push(i),i=i.parentElement;return s}function S(e,t){t&&e.addEventListener("transitionend",(function s(i){i.target===e&&(t.call(e,i),e.removeEventListener("transitionend",s))}))}function T(e,t,s){const i=r();return s?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function x(e){return(Array.isArray(e)?e:[e]).filter((e=>!!e))}function M(e){return t=>Math.abs(t)>0&&e.browser&&e.browser.need3dFix&&Math.abs(t)%90==0?t+.001:t}function L(e,t){void 0===t&&(t=""),"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let C,O,P;function k(){return C||(C=function(){const e=r(),t=a();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),C}function I(e){return void 0===e&&(e={}),O||(O=function(e){let{userAgent:t}=void 0===e?{}:e;const s=k(),i=r(),a=i.navigator.platform,n=t||i.navigator.userAgent,o={ios:!1,android:!1},l=i.screen.width,d=i.screen.height,c=n.match(/(Android);?[\s\/]+([\d.]+)?/);let p=n.match(/(iPad).*OS\s([\d_]+)/);const u=n.match(/(iPod)(.*OS\s([\d_]+))?/),m=!p&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===a;let h="MacIntel"===a;return!p&&h&&s.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${d}`)>=0&&(p=n.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),h=!1),c&&!f&&(o.os="android",o.android=!0),(p||m||u)&&(o.os="ios",o.ios=!0),o}(e)),O}function A(){return P||(P=function(){const e=r(),t=I();let s=!1;function i(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(i()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,i]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));s=e<16||16===e&&i<2}}const a=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),n=i();return{isSafari:s||n,needPerspectiveFix:s,need3dFix:n||a&&t.ios,isWebView:a}}()),P}var D={on(e,t,s){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const a=s?"unshift":"push";return e.split(" ").forEach((e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][a](t)})),i},once(e,t,s){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function a(){i.off(e,a),a.__emitterProxy&&delete a.__emitterProxy;for(var s=arguments.length,n=new Array(s),r=0;r<s;r++)n[r]=arguments[r];t.apply(i,n)}return a.__emitterProxy=t,i.on(e,a,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const i=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[i](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach(((i,a)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&s.eventsListeners[e].splice(a,1)}))})),s):s},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,s,i;for(var a=arguments.length,n=new Array(a),r=0;r<a;r++)n[r]=arguments[r];return"string"==typeof n[0]||Array.isArray(n[0])?(t=n[0],s=n.slice(1,n.length),i=e):(t=n[0].events,s=n[0].data,i=n[0].context||e),s.unshift(i),(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(i,[t,...s])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(i,s)}))})),e}};const z=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)},$=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)},B=(e,t)=>{if(!e||e.destroyed||!e.params)return;const s=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(s){let t=s.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(s.shadowRoot?t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{s.shadowRoot&&(t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},R=(e,t)=>{if(!e.slides[t])return;const s=e.slides[t].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")},q=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const s=e.slides.length;if(!s||!t||t<0)return;t=Math.min(t,s);const i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),a=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const s=a,n=[s-t];return n.push(...Array.from({length:t}).map(((e,t)=>s+i+t))),void e.slides.forEach(((t,s)=>{n.includes(t.column)&&R(e,s)}))}const n=a+i-1;if(e.params.rewind||e.params.loop)for(let i=a-t;i<=n+t;i+=1){const t=(i%s+s)%s;(t<a||t>n)&&R(e,t)}else for(let i=Math.max(a-t,0);i<=Math.min(n+t,s-1);i+=1)i!==a&&(i>n||i<a)&&R(e,i)};var H={updateSize:function(){const e=this;let t,s;const i=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:i.clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:i.clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(b(i,"padding-left")||0,10)-parseInt(b(i,"padding-right")||0,10),s=s-parseInt(b(i,"padding-top")||0,10)-parseInt(b(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))},updateSlides:function(){const e=this;function t(t,s){return parseFloat(t.getPropertyValue(e.getDirectionLabel(s))||0)}const s=e.params,{wrapperEl:i,slidesEl:a,size:n,rtlTranslate:r,wrongRTL:o}=e,l=e.virtual&&s.virtual.enabled,d=l?e.virtual.slides.length:e.slides.length,c=h(a,`.${e.params.slideClass}, swiper-slide`),p=l?e.virtual.slides.length:c.length;let m=[];const f=[],g=[];let v=s.slidesOffsetBefore;"function"==typeof v&&(v=s.slidesOffsetBefore.call(e));let w=s.slidesOffsetAfter;"function"==typeof w&&(w=s.slidesOffsetAfter.call(e));const y=e.snapGrid.length,E=e.slidesGrid.length;let S=s.spaceBetween,x=-v,M=0,L=0;if(void 0===n)return;"string"==typeof S&&S.indexOf("%")>=0?S=parseFloat(S.replace("%",""))/100*n:"string"==typeof S&&(S=parseFloat(S)),e.virtualSize=-S,c.forEach((e=>{r?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),s.centeredSlides&&s.cssMode&&(u(i,"--swiper-centered-offset-before",""),u(i,"--swiper-centered-offset-after",""));const C=s.grid&&s.grid.rows>1&&e.grid;let O;C?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();const P="auto"===s.slidesPerView&&s.breakpoints&&Object.keys(s.breakpoints).filter((e=>void 0!==s.breakpoints[e].slidesPerView)).length>0;for(let i=0;i<p;i+=1){let a;if(O=0,c[i]&&(a=c[i]),C&&e.grid.updateSlide(i,a,c),!c[i]||"none"!==b(a,"display")){if("auto"===s.slidesPerView){P&&(c[i].style[e.getDirectionLabel("width")]="");const n=getComputedStyle(a),r=a.style.transform,o=a.style.webkitTransform;if(r&&(a.style.transform="none"),o&&(a.style.webkitTransform="none"),s.roundLengths)O=e.isHorizontal()?T(a,"width",!0):T(a,"height",!0);else{const e=t(n,"width"),s=t(n,"padding-left"),i=t(n,"padding-right"),r=t(n,"margin-left"),o=t(n,"margin-right"),l=n.getPropertyValue("box-sizing");if(l&&"border-box"===l)O=e+r+o;else{const{clientWidth:t,offsetWidth:n}=a;O=e+s+i+r+o+(n-t)}}r&&(a.style.transform=r),o&&(a.style.webkitTransform=o),s.roundLengths&&(O=Math.floor(O))}else O=(n-(s.slidesPerView-1)*S)/s.slidesPerView,s.roundLengths&&(O=Math.floor(O)),c[i]&&(c[i].style[e.getDirectionLabel("width")]=`${O}px`);c[i]&&(c[i].swiperSlideSize=O),g.push(O),s.centeredSlides?(x=x+O/2+M/2+S,0===M&&0!==i&&(x=x-n/2-S),0===i&&(x=x-n/2-S),Math.abs(x)<.001&&(x=0),s.roundLengths&&(x=Math.floor(x)),L%s.slidesPerGroup===0&&m.push(x),f.push(x)):(s.roundLengths&&(x=Math.floor(x)),(L-Math.min(e.params.slidesPerGroupSkip,L))%e.params.slidesPerGroup===0&&m.push(x),f.push(x),x=x+O+S),e.virtualSize+=O+S,M=O,L+=1}}if(e.virtualSize=Math.max(e.virtualSize,n)+w,r&&o&&("slide"===s.effect||"coverflow"===s.effect)&&(i.style.width=`${e.virtualSize+S}px`),s.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=`${e.virtualSize+S}px`),C&&e.grid.updateWrapperSize(O,m),!s.centeredSlides){const t=[];for(let i=0;i<m.length;i+=1){let a=m[i];s.roundLengths&&(a=Math.floor(a)),m[i]<=e.virtualSize-n&&t.push(a)}m=t,Math.floor(e.virtualSize-n)-Math.floor(m[m.length-1])>1&&m.push(e.virtualSize-n)}if(l&&s.loop){const t=g[0]+S;if(s.slidesPerGroup>1){const i=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/s.slidesPerGroup),a=t*s.slidesPerGroup;for(let e=0;e<i;e+=1)m.push(m[m.length-1]+a)}for(let i=0;i<e.virtual.slidesBefore+e.virtual.slidesAfter;i+=1)1===s.slidesPerGroup&&m.push(m[m.length-1]+t),f.push(f[f.length-1]+t),e.virtualSize+=t}if(0===m.length&&(m=[0]),0!==S){const t=e.isHorizontal()&&r?"marginLeft":e.getDirectionLabel("marginRight");c.filter(((e,t)=>!(s.cssMode&&!s.loop)||t!==c.length-1)).forEach((e=>{e.style[t]=`${S}px`}))}if(s.centeredSlides&&s.centeredSlidesBounds){let e=0;g.forEach((t=>{e+=t+(S||0)})),e-=S;const t=e>n?e-n:0;m=m.map((e=>e<=0?-v:e>t?t+w:e))}if(s.centerInsufficientSlides){let e=0;g.forEach((t=>{e+=t+(S||0)})),e-=S;const t=(s.slidesOffsetBefore||0)+(s.slidesOffsetAfter||0);if(e+t<n){const s=(n-e-t)/2;m.forEach(((e,t)=>{m[t]=e-s})),f.forEach(((e,t)=>{f[t]=e+s}))}}if(Object.assign(e,{slides:c,snapGrid:m,slidesGrid:f,slidesSizesGrid:g}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){u(i,"--swiper-centered-offset-before",-m[0]+"px"),u(i,"--swiper-centered-offset-after",e.size/2-g[g.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(p!==d&&e.emit("slidesLengthChange"),m.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==E&&e.emit("slidesGridLengthChange"),s.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||s.cssMode||"slide"!==s.effect&&"fade"!==s.effect)){const t=`${s.containerModifierClass}backface-hidden`,i=e.el.classList.contains(t);p<=s.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,s=[],i=t.virtual&&t.params.virtual.enabled;let a,n=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const r=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=>{s.push(e)}));else for(a=0;a<Math.ceil(t.params.slidesPerView);a+=1){const e=t.activeIndex+a;if(e>t.slides.length&&!i)break;s.push(r(e))}else s.push(r(t.activeIndex));for(a=0;a<s.length;a+=1)if(void 0!==s[a]){const e=s[a].offsetHeight;n=e>n?e:n}(n||0===n)&&(t.wrapperEl.style.height=`${n}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,s=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)-s-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,s=t.params,{slides:i,rtlTranslate:a,snapGrid:n}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let r=-e;a&&(r=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let o=s.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;s.cssMode&&s.centeredSlides&&(d-=i[0].swiperSlideOffset);const c=(r+(s.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o),p=(r-n[0]+(s.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o),u=-(r-d),m=u+t.slidesSizesGrid[e],f=u>=0&&u<=t.size-t.slidesSizesGrid[e],h=u>=0&&u<t.size-1||m>1&&m<=t.size||u<=0&&m>=t.size;h&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),z(l,h,s.slideVisibleClass),z(l,f,s.slideFullyVisibleClass),l.progress=a?-c:c,l.originalProgress=a?-p:p}},updateProgress:function(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:a,isBeginning:n,isEnd:r,progressLoop:o}=t;const l=n,d=r;if(0===i)a=0,n=!0,r=!0;else{a=(e-t.minTranslate())/i;const s=Math.abs(e-t.minTranslate())<1,o=Math.abs(e-t.maxTranslate())<1;n=s||a<=0,r=o||a>=1,s&&(a=0),o&&(a=1)}if(s.loop){const s=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),a=t.slidesGrid[s],n=t.slidesGrid[i],r=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);o=l>=a?(l-a)/r:(l+r-n)/r,o>1&&(o-=1)}Object.assign(t,{progress:a,progressLoop:o,isBeginning:n,isEnd:r}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),n&&!l&&t.emit("reachBeginning toEdge"),r&&!d&&t.emit("reachEnd toEdge"),(l&&!n||d&&!r)&&t.emit("fromEdge"),t.emit("progress",a)},updateSlidesClasses:function(){const e=this,{slides:t,params:s,slidesEl:i,activeIndex:a}=e,n=e.virtual&&s.virtual.enabled,r=e.grid&&s.grid&&s.grid.rows>1,o=e=>h(i,`.${s.slideClass}${e}, swiper-slide${e}`)[0];let l,d,c;if(n)if(s.loop){let t=a-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=o(`[data-swiper-slide-index="${t}"]`)}else l=o(`[data-swiper-slide-index="${a}"]`);else r?(l=t.find((e=>e.column===a)),c=t.find((e=>e.column===a+1)),d=t.find((e=>e.column===a-1))):l=t[a];l&&(r||(c=function(e,t){const s=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;t?i.matches(t)&&s.push(i):s.push(i),e=i}return s}(l,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!c&&(c=t[0]),d=function(e,t){const s=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;t?i.matches(t)&&s.push(i):s.push(i),e=i}return s}(l,`.${s.slideClass}, swiper-slide`)[0],s.loop&&0===!d&&(d=t[t.length-1]))),t.forEach((e=>{$(e,e===l,s.slideActiveClass),$(e,e===c,s.slideNextClass),$(e,e===d,s.slidePrevClass)})),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:a,activeIndex:n,realIndex:r,snapIndex:o}=t;let l,d=e;const c=e=>{let s=e-t.virtual.slidesBefore;return s<0&&(s=t.virtual.slides.length+s),s>=t.virtual.slides.length&&(s-=t.virtual.slides.length),s};if(void 0===d&&(d=function(e){const{slidesGrid:t,params:s}=e,i=e.rtlTranslate?e.translate:-e.translate;let a;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?a=e:i>=t[e]&&i<t[e+1]&&(a=e+1):i>=t[e]&&(a=e);return s.normalizeSlideIndex&&(a<0||void 0===a)&&(a=0),a}(t)),i.indexOf(s)>=0)l=i.indexOf(s);else{const e=Math.min(a.slidesPerGroupSkip,d);l=e+Math.floor((d-e)/a.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&&a.grid&&a.grid.rows>1;let u;if(t.virtual&&a.virtual.enabled&&a.loop)u=c(d);else if(p){const e=t.slides.find((e=>e.column===d));let s=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(s)&&(s=Math.max(t.slides.indexOf(e),0)),u=Math.floor(s/a.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:r,realIndex:u,previousIndex:n,activeIndex:d}),t.initialized&&q(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(r!==u&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const s=this,i=s.params;let a=e.closest(`.${i.slideClass}, swiper-slide`);!a&&s.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!a&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(a=e)}));let n,r=!1;if(a)for(let e=0;e<s.slides.length;e+=1)if(s.slides[e]===a){r=!0,n=e;break}if(!a||!r)return s.clickedSlide=void 0,void(s.clickedIndex=void 0);s.clickedSlide=a,s.virtual&&s.params.virtual.enabled?s.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):s.clickedIndex=n,i.slideToClickedSlide&&void 0!==s.clickedIndex&&s.clickedIndex!==s.activeIndex&&s.slideToClickedSlide()}},V={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:s,translate:i,wrapperEl:a}=this;if(t.virtualTranslate)return s?-i:i;if(t.cssMode)return i;let n=function(e,t){void 0===t&&(t="x");const s=r();let i,a,n;const o=function(e){const t=r();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(a=o.transform||o.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map((e=>e.replace(",","."))).join(", ")),n=new s.WebKitCSSMatrix("none"===a?"":a)):(n=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=n.toString().split(",")),"x"===t&&(a=s.WebKitCSSMatrix?n.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(a=s.WebKitCSSMatrix?n.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),a||0}(a,e);return n+=this.cssOverflowAdjustment(),s&&(n=-n),n||0},setTranslate:function(e,t){const s=this,{rtlTranslate:i,params:a,wrapperEl:n,progress:r}=s;let o,l=0,d=0;s.isHorizontal()?l=i?-e:e:d=e,a.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?l:d,a.cssMode?n[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-l:-d:a.virtualTranslate||(s.isHorizontal()?l-=s.cssOverflowAdjustment():d-=s.cssOverflowAdjustment(),n.style.transform=`translate3d(${l}px, ${d}px, 0px)`);const c=s.maxTranslate()-s.minTranslate();o=0===c?0:(e-s.minTranslate())/c,o!==r&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,s,i,a){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),void 0===i&&(i=!0);const n=this,{params:r,wrapperEl:o}=n;if(n.animating&&r.preventInteractionOnTransition)return!1;const l=n.minTranslate(),d=n.maxTranslate();let c;if(c=i&&e>l?l:i&&e<d?d:e,n.updateProgress(c),r.cssMode){const e=n.isHorizontal();if(0===t)o[e?"scrollLeft":"scrollTop"]=-c;else{if(!n.support.smoothScroll)return m({swiper:n,targetPosition:-c,side:e?"left":"top"}),!0;o.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"})}return!0}return 0===t?(n.setTransition(0),n.setTranslate(c),s&&(n.emit("beforeTransitionStart",t,a),n.emit("transitionEnd"))):(n.setTransition(t),n.setTranslate(c),s&&(n.emit("beforeTransitionStart",t,a),n.emit("transitionStart")),n.animating||(n.animating=!0,n.onTranslateToWrapperTransitionEnd||(n.onTranslateToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onTranslateToWrapperTransitionEnd),n.onTranslateToWrapperTransitionEnd=null,delete n.onTranslateToWrapperTransitionEnd,n.animating=!1,s&&n.emit("transitionEnd"))}),n.wrapperEl.addEventListener("transitionend",n.onTranslateToWrapperTransitionEnd))),!0}};function G(e){let{swiper:t,runCallbacks:s,direction:i,step:a}=e;const{activeIndex:n,previousIndex:r}=t;let o=i;o||(o=n>r?"next":n<r?"prev":"reset"),t.emit(`transition${a}`),s&&"reset"===o?t.emit(`slideResetTransition${a}`):s&&n!==r&&(t.emit(`slideChangeTransition${a}`),"next"===o?t.emit(`slideNextTransition${a}`):t.emit(`slidePrevTransition${a}`))}var F={slideTo:function(e,t,s,i,a){void 0===e&&(e=0),void 0===s&&(s=!0),"string"==typeof e&&(e=parseInt(e,10));const n=this;let r=e;r<0&&(r=0);const{params:o,snapGrid:l,slidesGrid:d,previousIndex:c,activeIndex:p,rtlTranslate:u,wrapperEl:f,enabled:h}=n;if(!h&&!i&&!a||n.destroyed||n.animating&&o.preventInteractionOnTransition)return!1;void 0===t&&(t=n.params.speed);const g=Math.min(n.params.slidesPerGroupSkip,r);let v=g+Math.floor((r-g)/n.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const w=-l[v];if(o.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){const t=-Math.floor(100*w),s=Math.floor(100*d[e]),i=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=s&&t<i-(i-s)/2?r=e:t>=s&&t<i&&(r=e+1):t>=s&&(r=e)}if(n.initialized&&r!==p){if(!n.allowSlideNext&&(u?w>n.translate&&w>n.minTranslate():w<n.translate&&w<n.minTranslate()))return!1;if(!n.allowSlidePrev&&w>n.translate&&w>n.maxTranslate()&&(p||0)!==r)return!1}let b;r!==(c||0)&&s&&n.emit("beforeSlideChangeStart"),n.updateProgress(w),b=r>p?"next":r<p?"prev":"reset";const y=n.virtual&&n.params.virtual.enabled;if((!y||!a)&&(u&&-w===n.translate||!u&&w===n.translate))return n.updateActiveIndex(r),o.autoHeight&&n.updateAutoHeight(),n.updateSlidesClasses(),"slide"!==o.effect&&n.setTranslate(w),"reset"!==b&&(n.transitionStart(s,b),n.transitionEnd(s,b)),!1;if(o.cssMode){const e=n.isHorizontal(),s=u?w:-w;if(0===t)y&&(n.wrapperEl.style.scrollSnapType="none",n._immediateVirtual=!0),y&&!n._cssModeVirtualInitialSet&&n.params.initialSlide>0?(n._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{f[e?"scrollLeft":"scrollTop"]=s}))):f[e?"scrollLeft":"scrollTop"]=s,y&&requestAnimationFrame((()=>{n.wrapperEl.style.scrollSnapType="",n._immediateVirtual=!1}));else{if(!n.support.smoothScroll)return m({swiper:n,targetPosition:s,side:e?"left":"top"}),!0;f.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}const E=A().isSafari;return y&&!a&&E&&n.isElement&&n.virtual.update(!1,!1,r),n.setTransition(t),n.setTranslate(w),n.updateActiveIndex(r),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,i),n.transitionStart(s,b),0===t?n.transitionEnd(s,b):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(s,b))}),n.wrapperEl.addEventListener("transitionend",n.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,s,i){void 0===e&&(e=0),void 0===s&&(s=!0),"string"==typeof e&&(e=parseInt(e,10));const a=this;if(a.destroyed)return;void 0===t&&(t=a.params.speed);const n=a.grid&&a.params.grid&&a.params.grid.rows>1;let r=e;if(a.params.loop)if(a.virtual&&a.params.virtual.enabled)r+=a.virtual.slidesBefore;else{let e;if(n){const t=r*a.params.grid.rows;e=a.slides.find((e=>1*e.getAttribute("data-swiper-slide-index")===t)).column}else e=a.getSlideIndexByData(r);const t=n?Math.ceil(a.slides.length/a.params.grid.rows):a.slides.length,{centeredSlides:s}=a.params;let o=a.params.slidesPerView;"auto"===o?o=a.slidesPerViewDynamic():(o=Math.ceil(parseFloat(a.params.slidesPerView,10)),s&&o%2==0&&(o+=1));let l=t-e<o;if(s&&(l=l||e<Math.ceil(o/2)),i&&s&&"auto"!==a.params.slidesPerView&&!n&&(l=!1),l){const i=s?e<a.activeIndex?"prev":"next":e-a.activeIndex-1<a.params.slidesPerView?"next":"prev";a.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?e+1:e-t+1,slideRealIndex:"next"===i?a.realIndex:void 0})}if(n){const e=r*a.params.grid.rows;r=a.slides.find((t=>1*t.getAttribute("data-swiper-slide-index")===e)).column}else r=a.getSlideIndexByData(r)}return requestAnimationFrame((()=>{a.slideTo(r,t,s,i)})),a},slideNext:function(e,t,s){void 0===t&&(t=!0);const i=this,{enabled:a,params:n,animating:r}=i;if(!a||i.destroyed)return i;void 0===e&&(e=i.params.speed);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(r&&!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,s)})),!0}return n.rewind&&i.isEnd?i.slideTo(0,e,t,s):i.slideTo(i.activeIndex+l,e,t,s)},slidePrev:function(e,t,s){void 0===t&&(t=!0);const i=this,{params:a,snapGrid:n,slidesGrid:r,rtlTranslate:o,enabled:l,animating:d}=i;if(!l||i.destroyed)return i;void 0===e&&(e=i.params.speed);const c=i.virtual&&a.virtual.enabled;if(a.loop){if(d&&!c&&a.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),m=n.map((e=>p(e))),f=a.freeMode&&a.freeMode.enabled;let h=n[m.indexOf(u)-1];if(void 0===h&&(a.cssMode||f)){let e;n.forEach(((t,s)=>{u>=t&&(e=s)})),void 0!==e&&(h=f?n[e]:n[e>0?e-1:e])}let g=0;if(void 0!==h&&(g=r.indexOf(h),g<0&&(g=i.activeIndex-1),"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(g=g-i.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),a.rewind&&i.isBeginning){const a=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(a,e,t,s)}return a.loop&&0===i.activeIndex&&a.cssMode?(requestAnimationFrame((()=>{i.slideTo(g,e,t,s)})),!0):i.slideTo(g,e,t,s)},slideReset:function(e,t,s){void 0===t&&(t=!0);const i=this;if(!i.destroyed)return void 0===e&&(e=i.params.speed),i.slideTo(i.activeIndex,e,t,s)},slideToClosest:function(e,t,s,i){void 0===t&&(t=!0),void 0===i&&(i=.5);const a=this;if(a.destroyed)return;void 0===e&&(e=a.params.speed);let n=a.activeIndex;const r=Math.min(a.params.slidesPerGroupSkip,n),o=r+Math.floor((n-r)/a.params.slidesPerGroup),l=a.rtlTranslate?a.translate:-a.translate;if(l>=a.snapGrid[o]){const e=a.snapGrid[o];l-e>(a.snapGrid[o+1]-e)*i&&(n+=a.params.slidesPerGroup)}else{const e=a.snapGrid[o-1];l-e<=(a.snapGrid[o]-e)*i&&(n-=a.params.slidesPerGroup)}return n=Math.max(n,0),n=Math.min(n,a.slidesGrid.length-1),a.slideTo(n,e,t,s)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:s}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let a,n=e.clickedIndex;const r=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;a=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?n<e.loopedSlides-i/2||n>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),n=e.getSlideIndex(h(s,`${r}[data-swiper-slide-index="${a}"]`)[0]),l((()=>{e.slideTo(n)}))):e.slideTo(n):n>e.slides.length-i?(e.loopFix(),n=e.getSlideIndex(h(s,`${r}[data-swiper-slide-index="${a}"]`)[0]),l((()=>{e.slideTo(n)}))):e.slideTo(n)}else e.slideTo(n)}},_={loopCreate:function(e,t){const s=this,{params:i,slidesEl:a}=s;if(!i.loop||s.virtual&&s.params.virtual.enabled)return;const n=()=>{h(a,`.${i.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},r=s.grid&&i.grid&&i.grid.rows>1,o=i.slidesPerGroup*(r?i.grid.rows:1),l=s.slides.length%o!==0,d=r&&s.slides.length%i.grid.rows!==0,c=e=>{for(let t=0;t<e;t+=1){const e=s.isElement?v("swiper-slide",[i.slideBlankClass]):v("div",[i.slideClass,i.slideBlankClass]);s.slidesEl.append(e)}};l?(i.loopAddBlankSlides?(c(o-s.slides.length%o),s.recalcSlides(),s.updateSlides()):g("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()):d?(i.loopAddBlankSlides?(c(i.grid.rows-s.slides.length%i.grid.rows),s.recalcSlides(),s.updateSlides()):g("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()):n(),s.loopFix({slideRealIndex:e,direction:i.centeredSlides?void 0:"next",initial:t})},loopFix:function(e){let{slideRealIndex:t,slideTo:s=!0,direction:i,setTranslate:a,activeSlideIndex:n,initial:r,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:m,params:f}=d,{centeredSlides:h,initialSlide:v}=f;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&f.virtual.enabled)return s&&(f.centeredSlides||0!==d.snapIndex?f.centeredSlides&&d.snapIndex<f.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 w=f.slidesPerView;"auto"===w?w=d.slidesPerViewDynamic():(w=Math.ceil(parseFloat(f.slidesPerView,10)),h&&w%2==0&&(w+=1));const b=f.slidesPerGroupAuto?w:f.slidesPerGroup;let y=b;y%b!==0&&(y+=b-y%b),y+=f.loopAdditionalSlides,d.loopedSlides=y;const E=d.grid&&f.grid&&f.grid.rows>1;c.length<w+y||"cards"===d.params.effect&&c.length<w+2*y?g("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):E&&"row"===f.grid.fill&&g("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const S=[],T=[],x=E?Math.ceil(c.length/f.grid.rows):c.length,M=r&&x-v<w&&!h;let L=M?v:d.activeIndex;void 0===n?n=d.getSlideIndex(c.find((e=>e.classList.contains(f.slideActiveClass)))):L=n;const C="next"===i||!i,O="prev"===i||!i;let P=0,k=0;const I=(E?c[n].column:n)+(h&&void 0===a?-w/2+.5:0);if(I<y){P=Math.max(y-I,b);for(let e=0;e<y-I;e+=1){const t=e-Math.floor(e/x)*x;if(E){const e=x-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&S.push(t)}else S.push(x-t-1)}}else if(I+w>x-y){k=Math.max(I-(x-2*y),b),M&&(k=Math.max(k,w-x+v+1));for(let e=0;e<k;e+=1){const t=e-Math.floor(e/x)*x;E?c.forEach(((e,s)=>{e.column===t&&T.push(s)})):T.push(t)}}if(d.__preventObserver__=!0,requestAnimationFrame((()=>{d.__preventObserver__=!1})),"cards"===d.params.effect&&c.length<w+2*y&&(T.includes(n)&&T.splice(T.indexOf(n),1),S.includes(n)&&S.splice(S.indexOf(n),1)),O&&S.forEach((e=>{c[e].swiperLoopMoveDOM=!0,m.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),C&&T.forEach((e=>{c[e].swiperLoopMoveDOM=!0,m.append(c[e]),c[e].swiperLoopMoveDOM=!1})),d.recalcSlides(),"auto"===f.slidesPerView?d.updateSlides():E&&(S.length>0&&O||T.length>0&&C)&&d.slides.forEach(((e,t)=>{d.grid.updateSlide(t,e,d.slides)})),f.watchSlidesProgress&&d.updateSlidesOffset(),s)if(S.length>0&&O){if(void 0===t){const e=d.slidesGrid[L],t=d.slidesGrid[L+P]-e;l?d.setTranslate(d.translate-t):(d.slideTo(L+Math.ceil(P),0,!1,!0),a&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else if(a){const e=E?S.length/f.grid.rows:S.length;d.slideTo(d.activeIndex+e,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(T.length>0&&C)if(void 0===t){const e=d.slidesGrid[L],t=d.slidesGrid[L-k]-e;l?d.setTranslate(d.translate-t):(d.slideTo(L-k,0,!1,!0),a&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else{const e=E?T.length/f.grid.rows:T.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:a,activeSlideIndex:n,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===f.slidesPerView&&s})})):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...e,slideTo:d.controller.control.params.slidesPerView===f.slidesPerView&&s})}d.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:s}=e;if(!t.loop||!s||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=>{s.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function N(e,t,s){const i=r(),{params:a}=e,n=a.edgeSwipeDetection,o=a.edgeSwipeThreshold;return!n||!(s<=o||s>=i.innerWidth-o)||"prevent"===n&&(t.preventDefault(),!0)}function X(e){const t=this,s=a();let i=e;i.originalEvent&&(i=i.originalEvent);const n=t.touchEventsData;if("pointerdown"===i.type){if(null!==n.pointerId&&n.pointerId!==i.pointerId)return;n.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(n.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void N(t,i,i.targetTouches[0].pageX);const{params:o,touches:l,enabled:c}=t;if(!c)return;if(!o.simulateTouch&&"mouse"===i.pointerType)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let p=i.target;if("wrapper"===o.touchEventsTarget&&!function(e,t){const s=r();let i=t.contains(e);return!i&&s.HTMLSlotElement&&t instanceof HTMLSlotElement&&(i=[...t.assignedElements()].includes(e),i||(i=function(e,t){const s=[t];for(;s.length>0;){const t=s.shift();if(e===t)return!0;s.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t))),i}(p,t.wrapperEl))return;if("which"in i&&3===i.which)return;if("button"in i&&i.button>0)return;if(n.isTouched&&n.isMoved)return;const u=!!o.noSwipingClass&&""!==o.noSwipingClass,m=i.composedPath?i.composedPath():i.path;u&&i.target&&i.target.shadowRoot&&m&&(p=m[0]);const f=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,h=!(!i.target||!i.target.shadowRoot);if(o.noSwiping&&(h?function(e,t){return void 0===t&&(t=this),function t(s){if(!s||s===a()||s===r())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(e);return i||s.getRootNode?i||t(s.getRootNode().host):null}(t)}(f,p):p.closest(f)))return void(t.allowClick=!0);if(o.swipeHandler&&!p.closest(o.swipeHandler))return;l.currentX=i.pageX,l.currentY=i.pageY;const g=l.currentX,v=l.currentY;if(!N(t,i,g))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=g,l.startY=v,n.touchStartTime=d(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(n.allowThresholdMove=!1);let w=!0;p.matches(n.focusableElements)&&(w=!1,"SELECT"===p.nodeName&&(n.isTouched=!1)),s.activeElement&&s.activeElement.matches(n.focusableElements)&&s.activeElement!==p&&("mouse"===i.pointerType||"mouse"!==i.pointerType&&!p.matches(n.focusableElements))&&s.activeElement.blur();const b=w&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!b||p.isContentEditable||i.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",i)}function j(e){const t=a(),s=this,i=s.touchEventsData,{params:n,touches:r,rtlTranslate:o,enabled:l}=s;if(!l)return;if(!n.simulateTouch&&"mouse"===e.pointerType)return;let c,p=e;if(p.originalEvent&&(p=p.originalEvent),"pointermove"===p.type){if(null!==i.touchId)return;if(p.pointerId!==i.pointerId)return}if("touchmove"===p.type){if(c=[...p.changedTouches].find((e=>e.identifier===i.touchId)),!c||c.identifier!==i.touchId)return}else c=p;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&s.emit("touchMoveOpposite",p));const u=c.pageX,m=c.pageY;if(p.preventedByNestedSwiper)return r.startX=u,void(r.startY=m);if(!s.allowTouchMove)return p.target.matches(i.focusableElements)||(s.allowClick=!1),void(i.isTouched&&(Object.assign(r,{startX:u,startY:m,currentX:u,currentY:m}),i.touchStartTime=d()));if(n.touchReleaseOnEdges&&!n.loop)if(s.isVertical()){if(m<r.startY&&s.translate<=s.maxTranslate()||m>r.startY&&s.translate>=s.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else{if(o&&(u>r.startX&&-s.translate<=s.maxTranslate()||u<r.startX&&-s.translate>=s.minTranslate()))return;if(!o&&(u<r.startX&&s.translate<=s.maxTranslate()||u>r.startX&&s.translate>=s.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==p.target&&"mouse"!==p.pointerType&&t.activeElement.blur(),t.activeElement&&p.target===t.activeElement&&p.target.matches(i.focusableElements))return i.isMoved=!0,void(s.allowClick=!1);i.allowTouchCallbacks&&s.emit("touchMove",p),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=u,r.currentY=m;const f=r.currentX-r.startX,h=r.currentY-r.startY;if(s.params.threshold&&Math.sqrt(f**2+h**2)<s.params.threshold)return;if(void 0===i.isScrolling){let e;s.isHorizontal()&&r.currentY===r.startY||s.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:f*f+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(f))/Math.PI,i.isScrolling=s.isHorizontal()?e>n.touchAngle:90-e>n.touchAngle)}if(i.isScrolling&&s.emit("touchMoveOpposite",p),void 0===i.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling||"touchmove"===p.type&&i.preventTouchMoveFromPointerMove)return void(i.isTouched=!1);if(!i.startMoving)return;s.allowClick=!1,!n.cssMode&&p.cancelable&&p.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&p.stopPropagation();let g=s.isHorizontal()?f:h,v=s.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;n.oneWayMovement&&(g=Math.abs(g)*(o?1:-1),v=Math.abs(v)*(o?1:-1)),r.diff=g,g*=n.touchRatio,o&&(g=-g,v=-v);const w=s.touchesDirection;s.swipeDirection=g>0?"prev":"next",s.touchesDirection=v>0?"prev":"next";const b=s.params.loop&&!n.cssMode,y="next"===s.touchesDirection&&s.allowSlideNext||"prev"===s.touchesDirection&&s.allowSlidePrev;if(!i.isMoved){if(b&&y&&s.loopFix({direction:s.swipeDirection}),i.startTranslate=s.getTranslate(),s.setTransition(0),s.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});s.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,!n.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",p)}if((new Date).getTime(),!1!==n._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&w!==s.touchesDirection&&b&&y&&Math.abs(g)>=1)return Object.assign(r,{startX:u,startY:m,currentX:u,currentY:m,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);s.emit("sliderMove",p),i.isMoved=!0,i.currentTranslate=g+i.startTranslate;let E=!0,S=n.resistanceRatio;if(n.touchReleaseOnEdges&&(S=0),g>0?(b&&y&&i.allowThresholdMove&&i.currentTranslate>(n.centeredSlides?s.minTranslate()-s.slidesSizesGrid[s.activeIndex+1]-("auto"!==n.slidesPerView&&s.slides.length-n.slidesPerView>=2?s.slidesSizesGrid[s.activeIndex+1]+s.params.spaceBetween:0)-s.params.spaceBetween:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>s.minTranslate()&&(E=!1,n.resistance&&(i.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+i.startTranslate+g)**S))):g<0&&(b&&y&&i.allowThresholdMove&&i.currentTranslate<(n.centeredSlides?s.maxTranslate()+s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween+("auto"!==n.slidesPerView&&s.slides.length-n.slidesPerView>=2?s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween:0):s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-("auto"===n.slidesPerView?s.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),i.currentTranslate<s.maxTranslate()&&(E=!1,n.resistance&&(i.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-i.startTranslate-g)**S))),E&&(p.preventedByNestedSwiper=!0),!s.allowSlideNext&&"next"===s.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!s.allowSlidePrev&&"prev"===s.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),s.allowSlidePrev||s.allowSlideNext||(i.currentTranslate=i.startTranslate),n.threshold>0){if(!(Math.abs(g)>n.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=s.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}n.followFinger&&!n.cssMode&&((n.freeMode&&n.freeMode.enabled&&s.freeMode||n.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(i.currentTranslate),s.setTranslate(i.currentTranslate))}function Y(e){const t=this,s=t.touchEventsData;let i,a=e;if(a.originalEvent&&(a=a.originalEvent),"touchend"===a.type||"touchcancel"===a.type){if(i=[...a.changedTouches].find((e=>e.identifier===s.touchId)),!i||i.identifier!==s.touchId)return}else{if(null!==s.touchId)return;if(a.pointerId!==s.pointerId)return;i=a}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)&&(!["pointercancel","contextmenu"].includes(a.type)||!t.browser.isSafari&&!t.browser.isWebView))return;s.pointerId=null,s.touchId=null;const{params:n,touches:r,rtlTranslate:o,slidesGrid:c,enabled:p}=t;if(!p)return;if(!n.simulateTouch&&"mouse"===a.pointerType)return;if(s.allowTouchCallbacks&&t.emit("touchEnd",a),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&n.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);n.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=d(),m=u-s.touchStartTime;if(t.allowClick){const e=a.path||a.composedPath&&a.composedPath();t.updateClickedSlide(e&&e[0]||a.target,e),t.emit("tap click",a),m<300&&u-s.lastClickTime<300&&t.emit("doubleTap doubleClick",a)}if(s.lastClickTime=d(),l((()=>{t.destroyed||(t.allowClick=!0)})),!s.isTouched||!s.isMoved||!t.swipeDirection||0===r.diff&&!s.loopSwapReset||s.currentTranslate===s.startTranslate&&!s.loopSwapReset)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let f;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,f=n.followFinger?o?t.translate:-t.translate:-s.currentTranslate,n.cssMode)return;if(n.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:f});const h=f>=-t.maxTranslate()&&!t.params.loop;let g=0,v=t.slidesSizesGrid[0];for(let e=0;e<c.length;e+=e<n.slidesPerGroupSkip?1:n.slidesPerGroup){const t=e<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==c[e+t]?(h||f>=c[e]&&f<c[e+t])&&(g=e,v=c[e+t]-c[e]):(h||f>=c[e])&&(g=e,v=c[c.length-1]-c[c.length-2])}let w=null,b=null;n.rewind&&(t.isBeginning?b=n.virtual&&n.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(w=0));const y=(f-c[g])/v,E=g<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(m>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(y>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?w:g+E):t.slideTo(g)),"prev"===t.swipeDirection&&(y>1-n.longSwipesRatio?t.slideTo(g+E):null!==b&&y<0&&Math.abs(y)>n.longSwipesRatio?t.slideTo(b):t.slideTo(g))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||a.target!==t.navigation.nextEl&&a.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==w?w:g+E),"prev"===t.swipeDirection&&t.slideTo(null!==b?b:g)):a.target===t.navigation.nextEl?t.slideTo(g+E):t.slideTo(g)}}function W(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:a,snapGrid:n}=e,r=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const o=r&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!r?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=a,e.allowSlideNext=i,e.params.watchOverflow&&n!==e.snapGrid&&e.checkOverflow()}function U(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function K(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:i}=e;if(!i)return;let a;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();a=0===n?0:(e.translate-e.minTranslate())/n,a!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function J(e){const t=this;B(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function Q(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const Z=(e,t)=>{const s=a(),{params:i,el:n,wrapperEl:r,device:o}=e,l=!!i.nested,d="on"===t?"addEventListener":"removeEventListener",c=t;n&&"string"!=typeof n&&(s[d]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),n[d]("touchstart",e.onTouchStart,{passive:!1}),n[d]("pointerdown",e.onTouchStart,{passive:!1}),s[d]("touchmove",e.onTouchMove,{passive:!1,capture:l}),s[d]("pointermove",e.onTouchMove,{passive:!1,capture:l}),s[d]("touchend",e.onTouchEnd,{passive:!0}),s[d]("pointerup",e.onTouchEnd,{passive:!0}),s[d]("pointercancel",e.onTouchEnd,{passive:!0}),s[d]("touchcancel",e.onTouchEnd,{passive:!0}),s[d]("pointerout",e.onTouchEnd,{passive:!0}),s[d]("pointerleave",e.onTouchEnd,{passive:!0}),s[d]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&n[d]("click",e.onClick,!0),i.cssMode&&r[d]("scroll",e.onScroll),i.updateOnWindowResize?e[c](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",W,!0):e[c]("observerUpdate",W,!0),n[d]("load",e.onLoad,{capture:!0}))},ee=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var te={setBreakpoint:function(){const e=this,{realIndex:t,initialized:s,params:i,el:n}=e,r=i.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const o=a(),l="window"!==i.breakpointsBase&&i.breakpointsBase?"container":i.breakpointsBase,d=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:o.querySelector(i.breakpointsBase),c=e.getBreakpoint(r,l,d);if(!c||e.currentBreakpoint===c)return;const u=(c in r?r[c]:void 0)||e.originalParams,m=ee(e,i),f=ee(e,u),h=e.params.grabCursor,g=u.grabCursor,v=i.enabled;m&&!f?(n.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!m&&f&&(n.classList.add(`${i.containerModifierClass}grid`),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===i.grid.fill)&&n.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),h&&!g?e.unsetGrabCursor():!h&&g&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===u[t])return;const s=i[t]&&i[t].enabled,a=u[t]&&u[t].enabled;s&&!a&&e[t].disable(),!s&&a&&e[t].enable()}));const w=u.direction&&u.direction!==i.direction,b=i.loop&&(u.slidesPerView!==i.slidesPerView||w),y=i.loop;w&&s&&e.changeDirection(),p(e.params,u);const E=e.params.enabled,S=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!E?e.disable():!v&&E&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",u),s&&(b?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!y&&S?(e.loopCreate(t),e.updateSlides()):y&&!S&&e.loopDestroy()),e.emit("breakpoint",u)},getBreakpoint:function(e,t,s){if(void 0===t&&(t="window"),!e||"container"===t&&!s)return;let i=!1;const a=r(),n="window"===t?a.innerHeight:s.clientHeight,o=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:n*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:n,value:r}=o[e];"window"===t?a.matchMedia(`(min-width: ${r}px)`).matches&&(i=n):r<=s.clientWidth&&(i=n)}return i||"max"}},se={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,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 ie(e,t){return function(s){void 0===s&&(s={});const i=Object.keys(s)[0],a=s[i];"object"==typeof a&&null!==a?(!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 a?("object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),p(t,s)):p(t,s)):p(t,s)}}const ae={eventsEmitter:D,update:H,translate:V,transition:{setTransition:function(e,t){const s=this;s.params.cssMode||(s.wrapperEl.style.transitionDuration=`${e}ms`,s.wrapperEl.style.transitionDelay=0===e?"0ms":""),s.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const s=this,{params:i}=s;i.cssMode||(i.autoHeight&&s.updateAutoHeight(),G({swiper:s,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const s=this,{params:i}=s;s.animating=!1,i.cssMode||(s.setTransition(0),G({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},slide:F,loop:_,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),s.style.cursor="move",s.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=X.bind(e),e.onTouchMove=j.bind(e),e.onTouchEnd=Y.bind(e),e.onDocumentTouchStart=Q.bind(e),t.cssMode&&(e.onScroll=K.bind(e)),e.onClick=U.bind(e),e.onLoad=J.bind(e),Z(e,"on")},detachEvents:function(){Z(this,"off")}},breakpoints:te,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:i}=s;if(i){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.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:s,rtl:i,el:a,device:n}=e,r=function(e,t){const s=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((i=>{e[i]&&s.push(t+i)})):"string"==typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:i},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:n.android},{ios:n.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...r),a.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},ne={};class re{constructor(){let e,t;for(var s=arguments.length,i=new Array(s),n=0;n<s;n++)i[n]=arguments[n];1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?t=i[0]:[e,t]=i,t||(t={}),t=p({},t),e&&!t.el&&(t.el=e);const r=a();if(t.el&&"string"==typeof t.el&&r.querySelectorAll(t.el).length>1){const e=[];return r.querySelectorAll(t.el).forEach((s=>{const i=p({},t,{el:s});e.push(new re(i))})),e}const o=this;o.__swiper__=!0,o.support=k(),o.device=I({userAgent:t.userAgent}),o.browser=A(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const l={};o.modules.forEach((e=>{e({params:t,swiper:o,extendParams:ie(t,l),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})}));const d=p({},se,l);return o.params=p({},d,ne,t),o.originalParams=p({},o.params),o.passedParams=p({},t),o.params&&o.params.on&&Object.keys(o.params.on).forEach((e=>{o.on(e,o.params.on[e])})),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===o.params.direction,isVertical:()=>"vertical"===o.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:o.params.allowSlideNext,allowSlidePrev:o.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:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}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:s}=this,i=y(h(t,`.${s.slideClass}, swiper-slide`)[0]);return y(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find((t=>1*t.getAttribute("data-swiper-slide-index")===e)))}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=h(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 s=this;e=Math.min(Math.max(e,0),1);const i=s.minTranslate(),a=(s.maxTranslate()-i)*e+i;s.translateTo(a,void 0===t?0:t),s.updateActiveIndex(),s.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((s=>{const i=e.getSlideClasses(s);t.push({slideEl:s,classNames:i}),e.emit("_slideClass",s,i)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:s,slides:i,slidesGrid:a,slidesSizesGrid:n,size:r,activeIndex:o}=this;let l=1;if("number"==typeof s.slidesPerView)return s.slidesPerView;if(s.centeredSlides){let e,t=i[o]?Math.ceil(i[o].swiperSlideSize):0;for(let s=o+1;s<i.length;s+=1)i[s]&&!e&&(t+=Math.ceil(i[s].swiperSlideSize),l+=1,t>r&&(e=!0));for(let s=o-1;s>=0;s-=1)i[s]&&!e&&(t+=i[s].swiperSlideSize,l+=1,t>r&&(e=!0))}else if("current"===e)for(let e=o+1;e<i.length;e+=1)(t?a[e]+n[e]-a[o]<r:a[e]-a[o]<r)&&(l+=1);else for(let e=o-1;e>=0;e-=1)a[o]-a[e]<r&&(l+=1);return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:s}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,s=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let a;if(s.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&B(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),s.freeMode&&s.freeMode.enabled&&!s.cssMode)i(),s.autoHeight&&e.updateAutoHeight();else{if(("auto"===s.slidesPerView||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const t=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;a=e.slideTo(t.length-1,0,!1,!0)}else a=e.slideTo(e.activeIndex,0,!1,!0);a||i()}s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const s=this,i=s.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(s.el.classList.remove(`${s.params.containerModifierClass}${i}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changeDirection"),t&&s.update()),s}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 s=e||t.params.el;if("string"==typeof s&&(s=document.querySelector(s)),!s)return!1;s.swiper=t,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(i()):h(s,i())[0];return!a&&t.params.createElements&&(a=v("div",t.params.wrapperClass),s.append(a),h(s,`.${t.params.slideClass}`).forEach((e=>{a.append(e)}))),Object.assign(t,{el:s,wrapperEl:a,slidesEl:t.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:a,hostEl:t.isElement?s.parentNode.host:s,mounted:!0,rtl:"rtl"===s.dir.toLowerCase()||"rtl"===b(s,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===b(s,"direction")),wrongRTL:"-webkit-box"===b(a,"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(void 0,!0),t.attachEvents();const s=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&s.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),s.forEach((e=>{e.complete?B(t,e):e.addEventListener("load",(e=>{B(t,e.target)}))})),q(t),t.initialized=!0,q(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const s=this,{params:i,el:a,wrapperEl:n,slides:r}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),i.loop&&s.loopDestroy(),t&&(s.removeClasses(),a&&"string"!=typeof a&&a.removeAttribute("style"),n&&n.removeAttribute("style"),r&&r.length&&r.forEach((e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),s.emit("destroy"),Object.keys(s.eventsListeners).forEach((e=>{s.off(e)})),!1!==e&&(s.el&&"string"!=typeof s.el&&(s.el.swiper=null),function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(s)),s.destroyed=!0),null}static extendDefaults(e){p(ne,e)}static get extendedDefaults(){return ne}static get defaults(){return se}static installModule(e){re.prototype.__modules__||(re.prototype.__modules__=[]);const t=re.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>re.installModule(e))),re):(re.installModule(e),re)}}function oe(e){let{swiper:t,extendParams:s,on:i,emit:n}=e;const o=a(),l=r();function d(e){if(!t.enabled)return;const{rtlTranslate:s}=t;let i=e;i.originalEvent&&(i=i.originalEvent);const a=i.keyCode||i.charCode,r=t.params.keyboard.pageUpDown,d=r&&33===a,c=r&&34===a,p=37===a,u=39===a,m=38===a,f=40===a;if(!t.allowSlideNext&&(t.isHorizontal()&&u||t.isVertical()&&f||c))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&p||t.isVertical()&&m||d))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey||o.activeElement&&o.activeElement.nodeName&&("input"===o.activeElement.nodeName.toLowerCase()||"textarea"===o.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(d||c||p||u||m||f)){let e=!1;if(E(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&0===E(t.el,`.${t.params.slideActiveClass}`).length)return;const i=t.el,a=i.clientWidth,n=i.clientHeight,r=l.innerWidth,o=l.innerHeight,d=w(i);s&&(d.left-=i.scrollLeft);const c=[[d.left,d.top],[d.left+a,d.top],[d.left,d.top+n],[d.left+a,d.top+n]];for(let t=0;t<c.length;t+=1){const s=c[t];if(s[0]>=0&&s[0]<=r&&s[1]>=0&&s[1]<=o){if(0===s[0]&&0===s[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((d||c||p||u)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),((c||u)&&!s||(d||p)&&s)&&t.slideNext(),((d||p)&&!s||(c||u)&&s)&&t.slidePrev()):((d||c||m||f)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),(c||f)&&t.slideNext(),(d||m)&&t.slidePrev()),n("keyPress",a)}}function c(){t.keyboard.enabled||(o.addEventListener("keydown",d),t.keyboard.enabled=!0)}function p(){t.keyboard.enabled&&(o.removeEventListener("keydown",d),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},s({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),i("init",(()=>{t.params.keyboard.enabled&&c()})),i("destroy",(()=>{t.keyboard.enabled&&p()})),Object.assign(t.keyboard,{enable:c,disable:p})}function le(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const n=r();let o;s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let c,p=d();const u=[];function m(){t.enabled&&(t.mouseEntered=!0)}function f(){t.enabled&&(t.mouseEntered=!1)}function h(e){return!(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta||t.params.mousewheel.thresholdTime&&d()-p<t.params.mousewheel.thresholdTime||!(e.delta>=6&&d()-p<60)&&(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),a("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),a("scroll",e.raw)),p=(new n.Date).getTime(),1))}function g(e){let s=e,i=!0;if(!t.enabled)return;if(e.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const n=t.params.mousewheel;t.params.cssMode&&s.preventDefault();let r=t.el;"container"!==t.params.mousewheel.eventsTarget&&(r=document.querySelector(t.params.mousewheel.eventsTarget));const p=r&&r.contains(s.target);if(!t.mouseEntered&&!p&&!n.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let m=0;const f=t.rtlTranslate?-1:1,g=function(e){let t=0,s=0,i=0,a=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),i=10*t,a=10*s,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(i=e.deltaX),e.shiftKey&&!i&&(i=a,a=0),(i||a)&&e.deltaMode&&(1===e.deltaMode?(i*=40,a*=40):(i*=800,a*=800)),i&&!t&&(t=i<1?-1:1),a&&!s&&(s=a<1?-1:1),{spinX:t,spinY:s,pixelX:i,pixelY:a}}(s);if(n.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(g.pixelX)>Math.abs(g.pixelY)))return!0;m=-g.pixelX*f}else{if(!(Math.abs(g.pixelY)>Math.abs(g.pixelX)))return!0;m=-g.pixelY}else m=Math.abs(g.pixelX)>Math.abs(g.pixelY)?-g.pixelX*f:-g.pixelY;if(0===m)return!0;n.invert&&(m=-m);let v=t.getTranslate()+m*n.sensitivity;if(v>=t.minTranslate()&&(v=t.minTranslate()),v<=t.maxTranslate()&&(v=t.maxTranslate()),i=!!t.params.loop||!(v===t.minTranslate()||v===t.maxTranslate()),i&&t.params.nested&&s.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={time:d(),delta:Math.abs(m),direction:Math.sign(m)},i=c&&e.time<c.time+500&&e.delta<=c.delta&&e.direction===c.direction;if(!i){c=void 0;let r=t.getTranslate()+m*n.sensitivity;const d=t.isBeginning,p=t.isEnd;if(r>=t.minTranslate()&&(r=t.minTranslate()),r<=t.maxTranslate()&&(r=t.maxTranslate()),t.setTransition(0),t.setTranslate(r),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!d&&t.isBeginning||!p&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:e.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(o),o=void 0,u.length>=15&&u.shift();const s=u.length?u[u.length-1]:void 0,i=u[0];if(u.push(e),s&&(e.delta>s.delta||e.direction!==s.direction))u.splice(0);else if(u.length>=15&&e.time-i.time<500&&i.delta-e.delta>=1&&e.delta<=6){const s=m>0?.8:.2;c=e,u.splice(0),o=l((()=>{!t.destroyed&&t.params&&t.slideToClosest(t.params.speed,!0,void 0,s)}),0)}o||(o=l((()=>{!t.destroyed&&t.params&&(c=e,u.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5))}),500))}if(i||a("scroll",s),t.params.autoplay&&t.params.autoplay.disableOnInteraction&&t.autoplay.stop(),n.releaseOnEdges&&(r===t.minTranslate()||r===t.maxTranslate()))return!0}}else{const s={time:d(),delta:Math.abs(m),direction:Math.sign(m),raw:e};u.length>=2&&u.shift();const i=u.length?u[u.length-1]:void 0;if(u.push(s),i?(s.direction!==i.direction||s.delta>i.delta||s.time>i.time+150)&&h(s):h(s),function(e){const s=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&s.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&s.releaseOnEdges)return!0;return!1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function v(e){let s=t.el;"container"!==t.params.mousewheel.eventsTarget&&(s=document.querySelector(t.params.mousewheel.eventsTarget)),s[e]("mouseenter",m),s[e]("mouseleave",f),s[e]("wheel",g)}function w(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",g),!0):!t.mousewheel.enabled&&(v("addEventListener"),t.mousewheel.enabled=!0,!0)}function b(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,g),!0):!!t.mousewheel.enabled&&(v("removeEventListener"),t.mousewheel.enabled=!1,!0)}i("init",(()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&b(),t.params.mousewheel.enabled&&w()})),i("destroy",(()=>{t.params.cssMode&&w(),t.mousewheel.enabled&&b()})),Object.assign(t.mousewheel,{enable:w,disable:b})}function de(e,t,s,i){return e.params.createElements&&Object.keys(i).forEach((a=>{if(!s[a]&&!0===s.auto){let n=h(e.el,`.${i[a]}`)[0];n||(n=v("div",i[a]),n.className=i[a],e.el.append(n)),s[a]=n,t[a]=n}})),s}function ce(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;function n(e){let s;return e&&"string"==typeof e&&t.isElement&&(s=t.el.querySelector(e)||t.hostEl.querySelector(e),s)?s:(e&&("string"==typeof e&&(s=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&s&&s.length>1&&1===t.el.querySelectorAll(e).length?s=t.el.querySelector(e):s&&1===s.length&&(s=s[0])),e&&!s?e:s)}function r(e,s){const i=t.params.navigation;(e=x(e)).forEach((e=>{e&&(e.classList[s?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=s),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass))}))}function o(){const{nextEl:e,prevEl:s}=t.navigation;if(t.params.loop)return r(s,!1),void r(e,!1);r(s,t.isBeginning&&!t.params.rewind),r(e,t.isEnd&&!t.params.rewind)}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),a("navigationPrev"))}function d(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),a("navigationNext"))}function c(){const e=t.params.navigation;if(t.params.navigation=de(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let s=n(e.nextEl),i=n(e.prevEl);Object.assign(t.navigation,{nextEl:s,prevEl:i}),s=x(s),i=x(i);const a=(s,i)=>{s&&s.addEventListener("click","next"===i?d:l),!t.enabled&&s&&s.classList.add(...e.lockClass.split(" "))};s.forEach((e=>a(e,"next"))),i.forEach((e=>a(e,"prev")))}function p(){let{nextEl:e,prevEl:s}=t.navigation;e=x(e),s=x(s);const i=(e,s)=>{e.removeEventListener("click","next"===s?d:l),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach((e=>i(e,"next"))),s.forEach((e=>i(e,"prev")))}s({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},i("init",(()=>{!1===t.params.navigation.enabled?u():(c(),o())})),i("toEdge fromEdge lock unlock",(()=>{o()})),i("destroy",(()=>{p()})),i("enable disable",(()=>{let{nextEl:e,prevEl:s}=t.navigation;e=x(e),s=x(s),t.enabled?o():[...e,...s].filter((e=>!!e)).forEach((e=>e.classList.add(t.params.navigation.lockClass)))})),i("click",((e,s)=>{let{nextEl:i,prevEl:n}=t.navigation;i=x(i),n=x(n);const r=s.target;let o=n.includes(r)||i.includes(r);if(t.isElement&&!o){const e=s.path||s.composedPath&&s.composedPath();e&&(o=e.find((e=>i.includes(e)||n.includes(e))))}if(t.params.navigation.hideOnClick&&!o){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===r||t.pagination.el.contains(r)))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)),a(!0===e?"navigationShow":"navigationHide"),[...i,...n].filter((e=>!!e)).forEach((e=>e.classList.toggle(t.params.navigation.hiddenClass)))}}));const u=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),c(),o()},disable:u,update:o,init:c,destroy:p})}function pe(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function ue(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const n="swiper-pagination";let r;s({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:`${n}-bullet`,bulletActiveClass:`${n}-bullet-active`,modifierClass:`${n}-`,currentClass:`${n}-current`,totalClass:`${n}-total`,hiddenClass:`${n}-hidden`,progressbarFillClass:`${n}-progressbar-fill`,progressbarOppositeClass:`${n}-progressbar-opposite`,clickableClass:`${n}-clickable`,lockClass:`${n}-lock`,horizontalClass:`${n}-horizontal`,verticalClass:`${n}-vertical`,paginationDisabledClass:`${n}-disabled`}}),t.pagination={el:null,bullets:[]};let o=0;function l(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function d(e,s){const{bulletActiveClass:i}=t.params.pagination;e&&(e=e[("prev"===s?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${i}-${s}`),(e=e[("prev"===s?"previous":"next")+"ElementSibling"])&&e.classList.add(`${i}-${s}-${s}`))}function c(e){const s=e.target.closest(pe(t.params.pagination.bulletClass));if(!s)return;e.preventDefault();const i=y(s)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===i)return;const e=(a=t.realIndex,n=i,(n%=r=t.slides.length)===1+(a%=r)?"next":n===a-1?"previous":void 0);"next"===e?t.slideNext():"previous"===e?t.slidePrev():t.slideToLoop(i)}else t.slideTo(i);var a,n,r}function p(){const e=t.rtl,s=t.params.pagination;if(l())return;let i,n,c=t.pagination.el;c=x(c);const p=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,u=t.params.loop?Math.ceil(p/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"===s.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const a=t.pagination.bullets;let l,p,u;if(s.dynamicBullets&&(r=T(a[0],t.isHorizontal()?"width":"height",!0),c.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=r*(s.dynamicMainBullets+4)+"px"})),s.dynamicMainBullets>1&&void 0!==n&&(o+=i-(n||0),o>s.dynamicMainBullets-1?o=s.dynamicMainBullets-1:o<0&&(o=0)),l=Math.max(i-o,0),p=l+(Math.min(a.length,s.dynamicMainBullets)-1),u=(p+l)/2),a.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${s.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),c.length>1)a.forEach((e=>{const a=y(e);a===i?e.classList.add(...s.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),s.dynamicBullets&&(a>=l&&a<=p&&e.classList.add(...`${s.bulletActiveClass}-main`.split(" ")),a===l&&d(e,"prev"),a===p&&d(e,"next"))}));else{const e=a[i];if(e&&e.classList.add(...s.bulletActiveClass.split(" ")),t.isElement&&a.forEach(((e,t)=>{e.setAttribute("part",t===i?"bullet-active":"bullet")})),s.dynamicBullets){const e=a[l],t=a[p];for(let e=l;e<=p;e+=1)a[e]&&a[e].classList.add(...`${s.bulletActiveClass}-main`.split(" "));d(e,"prev"),d(t,"next")}}if(s.dynamicBullets){const i=Math.min(a.length,s.dynamicMainBullets+4),n=(r*i-r)/2-u*r,o=e?"right":"left";a.forEach((e=>{e.style[t.isHorizontal()?o:"top"]=`${n}px`}))}}c.forEach(((e,n)=>{if("fraction"===s.type&&(e.querySelectorAll(pe(s.currentClass)).forEach((e=>{e.textContent=s.formatFractionCurrent(i+1)})),e.querySelectorAll(pe(s.totalClass)).forEach((e=>{e.textContent=s.formatFractionTotal(u)}))),"progressbar"===s.type){let a;a=s.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const n=(i+1)/u;let r=1,o=1;"horizontal"===a?r=n:o=n,e.querySelectorAll(pe(s.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${r}) scaleY(${o})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===s.type&&s.renderCustom?(L(e,s.renderCustom(t,i+1,u)),0===n&&a("paginationRender",e)):(0===n&&a("paginationRender",e),a("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](s.lockClass)}))}function u(){const e=t.params.pagination;if(l())return;const s=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=x(i);let n="";if("bullets"===e.type){let i=t.params.loop?Math.ceil(s/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&i>s&&(i=s);for(let s=0;s<i;s+=1)e.renderBullet?n+=e.renderBullet.call(t,s,e.bulletClass):n+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(n=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(n=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],i.forEach((s=>{"custom"!==e.type&&L(s,n||""),"bullets"===e.type&&t.pagination.bullets.push(...s.querySelectorAll(pe(e.bulletClass)))})),"custom"!==e.type&&a("paginationRender",i[0])}function m(){t.params.pagination=de(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let s;"string"==typeof e.el&&t.isElement&&(s=t.el.querySelector(e.el)),s||"string"!=typeof e.el||(s=[...document.querySelectorAll(e.el)]),s||(s=e.el),s&&0!==s.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(s)&&s.length>1&&(s=[...t.el.querySelectorAll(e.el)],s.length>1&&(s=s.find((e=>E(e,".swiper")[0]===t.el)))),Array.isArray(s)&&1===s.length&&(s=s[0]),Object.assign(t.pagination,{el:s}),s=x(s),s.forEach((s=>{"bullets"===e.type&&e.clickable&&s.classList.add(...(e.clickableClass||"").split(" ")),s.classList.add(e.modifierClass+e.type),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(s.classList.add(`${e.modifierClass}${e.type}-dynamic`),o=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&s.classList.add(e.progressbarOppositeClass),e.clickable&&s.addEventListener("click",c),t.enabled||s.classList.add(e.lockClass)})))}function f(){const e=t.params.pagination;if(l())return;let s=t.pagination.el;s&&(s=x(s),s.forEach((s=>{s.classList.remove(e.hiddenClass),s.classList.remove(e.modifierClass+e.type),s.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(s.classList.remove(...(e.clickableClass||"").split(" ")),s.removeEventListener("click",c))}))),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:s}=t.pagination;s=x(s),s.forEach((s=>{s.classList.remove(e.horizontalClass,e.verticalClass),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),i("init",(()=>{!1===t.params.pagination.enabled?h():(m(),u(),p())})),i("activeIndexChange",(()=>{void 0===t.snapIndex&&p()})),i("snapIndexChange",(()=>{p()})),i("snapGridLengthChange",(()=>{u(),p()})),i("destroy",(()=>{f()})),i("enable disable",(()=>{let{el:e}=t.pagination;e&&(e=x(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),i("lock unlock",(()=>{p()})),i("click",((e,s)=>{const i=s.target,n=x(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&n&&n.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=n[0].classList.contains(t.params.pagination.hiddenClass);a(!0===e?"paginationShow":"paginationHide"),n.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const h=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=x(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),f()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=x(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),m(),u(),p()},disable:h,render:u,update:p,init:m,destroy:f})}function me(e){let{swiper:t,extendParams:s,on:i,emit:n}=e;const r=a();let d,c,p,u,m=!1,f=null,h=null;function g(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:s}=t,{dragEl:i,el:a}=e,n=t.params.scrollbar,r=t.params.loop?t.progressLoop:t.progress;let o=c,l=(p-c)*r;s?(l=-l,l>0?(o=c-l,l=0):-l+c>p&&(o=p+l)):l<0?(o=c+l,l=0):l+c>p&&(o=p-l),t.isHorizontal()?(i.style.transform=`translate3d(${l}px, 0, 0)`,i.style.width=`${o}px`):(i.style.transform=`translate3d(0px, ${l}px, 0)`,i.style.height=`${o}px`),n.hide&&(clearTimeout(f),a.style.opacity=1,f=setTimeout((()=>{a.style.opacity=0,a.style.transitionDuration="400ms"}),1e3))}function b(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{dragEl:s,el:i}=e;s.style.width="",s.style.height="",p=t.isHorizontal()?i.offsetWidth:i.offsetHeight,u=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),c="auto"===t.params.scrollbar.dragSize?p*u:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?s.style.width=`${c}px`:s.style.height=`${c}px`,i.style.display=u>=1?"none":"",t.params.scrollbar.hide&&(i.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function y(e){return t.isHorizontal()?e.clientX:e.clientY}function E(e){const{scrollbar:s,rtlTranslate:i}=t,{el:a}=s;let n;n=(y(e)-w(a)[t.isHorizontal()?"left":"top"]-(null!==d?d:c/2))/(p-c),n=Math.max(Math.min(n,1),0),i&&(n=1-n);const r=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*n;t.updateProgress(r),t.setTranslate(r),t.updateActiveIndex(),t.updateSlidesClasses()}function S(e){const s=t.params.scrollbar,{scrollbar:i,wrapperEl:a}=t,{el:r,dragEl:o}=i;m=!0,d=e.target===o?y(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),a.style.transitionDuration="100ms",o.style.transitionDuration="100ms",E(e),clearTimeout(h),r.style.transitionDuration="0ms",s.hide&&(r.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),n("scrollbarDragStart",e)}function T(e){const{scrollbar:s,wrapperEl:i}=t,{el:a,dragEl:r}=s;m&&(e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1,E(e),i.style.transitionDuration="0ms",a.style.transitionDuration="0ms",r.style.transitionDuration="0ms",n("scrollbarDragMove",e))}function M(e){const s=t.params.scrollbar,{scrollbar:i,wrapperEl:a}=t,{el:r}=i;m&&(m=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",a.style.transitionDuration=""),s.hide&&(clearTimeout(h),h=l((()=>{r.style.opacity=0,r.style.transitionDuration="400ms"}),1e3)),n("scrollbarDragEnd",e),s.snapOnRelease&&t.slideToClosest())}function L(e){const{scrollbar:s,params:i}=t,a=s.el;if(!a)return;const n=a,o=!!i.passiveListeners&&{passive:!1,capture:!1},l=!!i.passiveListeners&&{passive:!0,capture:!1};if(!n)return;const d="on"===e?"addEventListener":"removeEventListener";n[d]("pointerdown",S,o),r[d]("pointermove",T,o),r[d]("pointerup",M,l)}function C(){const{scrollbar:e,el:s}=t;t.params.scrollbar=de(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const i=t.params.scrollbar;if(!i.el)return;let a,n;if("string"==typeof i.el&&t.isElement&&(a=t.el.querySelector(i.el)),a||"string"!=typeof i.el)a||(a=i.el);else if(a=r.querySelectorAll(i.el),!a.length)return;t.params.uniqueNavElements&&"string"==typeof i.el&&a.length>1&&1===s.querySelectorAll(i.el).length&&(a=s.querySelector(i.el)),a.length>0&&(a=a[0]),a.classList.add(t.isHorizontal()?i.horizontalClass:i.verticalClass),a&&(n=a.querySelector(pe(t.params.scrollbar.dragClass)),n||(n=v("div",t.params.scrollbar.dragClass),a.append(n))),Object.assign(e,{el:a,dragEl:n}),i.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&L("on"),a&&a.classList[t.enabled?"remove":"add"](...o(t.params.scrollbar.lockClass))}function O(){const e=t.params.scrollbar,s=t.scrollbar.el;s&&s.classList.remove(...o(t.isHorizontal()?e.horizontalClass:e.verticalClass)),t.params.scrollbar.el&&t.scrollbar.el&&L("off")}s({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null},i("changeDirection",(()=>{if(!t.scrollbar||!t.scrollbar.el)return;const e=t.params.scrollbar;let{el:s}=t.scrollbar;s=x(s),s.forEach((s=>{s.classList.remove(e.horizontalClass,e.verticalClass),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),i("init",(()=>{!1===t.params.scrollbar.enabled?P():(C(),b(),g())})),i("update resize observerUpdate lock unlock changeDirection",(()=>{b()})),i("setTranslate",(()=>{g()})),i("setTransition",((e,s)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(s)})),i("enable disable",(()=>{const{el:e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](...o(t.params.scrollbar.lockClass))})),i("destroy",(()=>{O()}));const P=()=>{t.el.classList.add(...o(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...o(t.params.scrollbar.scrollbarDisabledClass)),O()};Object.assign(t.scrollbar,{enable:()=>{t.el.classList.remove(...o(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...o(t.params.scrollbar.scrollbarDisabledClass)),C(),b(),g()},disable:P,updateSize:b,setTranslate:g,init:C,destroy:O})}function fe(e){let{swiper:t,extendParams:s,on:i}=e;s({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),t.a11y={clicked:!1};let n,r,o=null,l=(new Date).getTime();function d(e){const t=o;0!==t.length&&L(t,e)}function c(e){(e=x(e)).forEach((e=>{e.setAttribute("tabIndex","0")}))}function p(e){(e=x(e)).forEach((e=>{e.setAttribute("tabIndex","-1")}))}function u(e,t){(e=x(e)).forEach((e=>{e.setAttribute("role",t)}))}function m(e,t){(e=x(e)).forEach((e=>{e.setAttribute("aria-roledescription",t)}))}function f(e,t){(e=x(e)).forEach((e=>{e.setAttribute("aria-label",t)}))}function h(e){(e=x(e)).forEach((e=>{e.setAttribute("aria-disabled",!0)}))}function g(e){(e=x(e)).forEach((e=>{e.setAttribute("aria-disabled",!1)}))}function w(e){if(13!==e.keyCode&&32!==e.keyCode)return;const s=t.params.a11y,i=e.target;if(!t.pagination||!t.pagination.el||i!==t.pagination.el&&!t.pagination.el.contains(e.target)||e.target.matches(pe(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=x(t.navigation.prevEl);x(t.navigation.nextEl).includes(i)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?d(s.lastSlideMessage):d(s.nextSlideMessage)),e.includes(i)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?d(s.firstSlideMessage):d(s.prevSlideMessage))}t.pagination&&i.matches(pe(t.params.pagination.bulletClass))&&i.click()}}function b(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function E(){return b()&&t.params.pagination.clickable}const S=(e,t,s)=>{c(e),"BUTTON"!==e.tagName&&(u(e,"button"),e.addEventListener("keydown",w)),f(e,s),function(e,t){(e=x(e)).forEach((e=>{e.setAttribute("aria-controls",t)}))}(e,t)},T=e=>{r&&r!==e.target&&!r.contains(e.target)&&(n=!0),t.a11y.clicked=!0},M=()=>{n=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.destroyed||(t.a11y.clicked=!1)}))}))},C=e=>{l=(new Date).getTime()},O=e=>{if(t.a11y.clicked||!t.params.a11y.scrollOnFocus)return;if((new Date).getTime()-l<100)return;const s=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!s||!t.slides.includes(s))return;r=s;const i=t.slides.indexOf(s)===t.activeIndex,a=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(s);i||a||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame((()=>{n||(t.params.loop?t.slideToLoop(parseInt(s.getAttribute("data-swiper-slide-index")),0):t.slideTo(t.slides.indexOf(s),0),n=!1)})))},P=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&m(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&u(t.slides,e.slideRole);const s=t.slides.length;e.slideLabelMessage&&t.slides.forEach(((i,a)=>{const n=t.params.loop?parseInt(i.getAttribute("data-swiper-slide-index"),10):a;f(i,e.slideLabelMessage.replace(/\{\{index\}\}/,n+1).replace(/\{\{slidesLength\}\}/,s))}))};i("beforeInit",(()=>{o=v("span",t.params.a11y.notificationClass),o.setAttribute("aria-live","assertive"),o.setAttribute("aria-atomic","true")})),i("afterInit",(()=>{t.params.a11y.enabled&&(()=>{const e=t.params.a11y;t.el.append(o);const s=t.el;e.containerRoleDescriptionMessage&&m(s,e.containerRoleDescriptionMessage),e.containerMessage&&f(s,e.containerMessage),e.containerRole&&u(s,e.containerRole);const i=t.wrapperEl,n=e.id||i.getAttribute("id")||`swiper-wrapper-${r=16,void 0===r&&(r=16),"x".repeat(r).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}`;var r;const l=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var d;d=n,x(i).forEach((e=>{e.setAttribute("id",d)})),function(e,t){(e=x(e)).forEach((e=>{e.setAttribute("aria-live",t)}))}(i,l),P();let{nextEl:c,prevEl:p}=t.navigation?t.navigation:{};c=x(c),p=x(p),c&&c.forEach((t=>S(t,n,e.nextSlideMessage))),p&&p.forEach((t=>S(t,n,e.prevSlideMessage))),E()&&x(t.pagination.el).forEach((e=>{e.addEventListener("keydown",w)})),a().addEventListener("visibilitychange",C),t.el.addEventListener("focus",O,!0),t.el.addEventListener("focus",O,!0),t.el.addEventListener("pointerdown",T,!0),t.el.addEventListener("pointerup",M,!0)})()})),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{t.params.a11y.enabled&&P()})),i("fromEdge toEdge afterInit lock unlock",(()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:s}=t.navigation;s&&(t.isBeginning?(h(s),p(s)):(g(s),c(s))),e&&(t.isEnd?(h(e),p(e)):(g(e),c(e)))}()})),i("paginationUpdate",(()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;b()&&t.pagination.bullets.forEach((s=>{t.params.pagination.clickable&&(c(s),t.params.pagination.renderBullet||(u(s,"button"),f(s,e.paginationBulletMessage.replace(/\{\{index\}\}/,y(s)+1)))),s.matches(pe(t.params.pagination.bulletActiveClass))?s.setAttribute("aria-current","true"):s.removeAttribute("aria-current")}))}()})),i("destroy",(()=>{t.params.a11y.enabled&&function(){o&&o.remove();let{nextEl:e,prevEl:s}=t.navigation?t.navigation:{};e=x(e),s=x(s),e&&e.forEach((e=>e.removeEventListener("keydown",w))),s&&s.forEach((e=>e.removeEventListener("keydown",w))),E()&&x(t.pagination.el).forEach((e=>{e.removeEventListener("keydown",w)})),a().removeEventListener("visibilitychange",C),t.el&&"string"!=typeof t.el&&(t.el.removeEventListener("focus",O,!0),t.el.removeEventListener("pointerdown",T,!0),t.el.removeEventListener("pointerup",M,!0))}()}))}function he(e){let t,s,{swiper:i,extendParams:n,on:r,emit:o,params:l}=e;i.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,m,f,h,g,v=l&&l.autoplay?l.autoplay.delay:3e3,w=l&&l.autoplay?l.autoplay.delay:3e3,b=(new Date).getTime();function y(e){i&&!i.destroyed&&i.wrapperEl&&e.target===i.wrapperEl&&(i.wrapperEl.removeEventListener("transitionend",y),g||e.detail&&e.detail.bySwiperTouchMove||L())}const E=()=>{if(i.destroyed||!i.autoplay.running)return;i.autoplay.paused?c=!0:c&&(w=d,c=!1);const e=i.autoplay.paused?d:b+w-(new Date).getTime();i.autoplay.timeLeft=e,o("autoplayTimeLeft",e,e/v),s=requestAnimationFrame((()=>{E()}))},S=e=>{if(i.destroyed||!i.autoplay.running)return;cancelAnimationFrame(s),E();let a=void 0===e?i.params.autoplay.delay:e;v=i.params.autoplay.delay,w=i.params.autoplay.delay;const n=(()=>{let e;if(e=i.virtual&&i.params.virtual.enabled?i.slides.find((e=>e.classList.contains("swiper-slide-active"))):i.slides[i.activeIndex],e)return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(n)&&n>0&&void 0===e&&(a=n,v=n,w=n),d=a;const r=i.params.speed,l=()=>{i&&!i.destroyed&&(i.params.autoplay.reverseDirection?!i.isBeginning||i.params.loop||i.params.rewind?(i.slidePrev(r,!0,!0),o("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(i.slides.length-1,r,!0,!0),o("autoplay")):!i.isEnd||i.params.loop||i.params.rewind?(i.slideNext(r,!0,!0),o("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(0,r,!0,!0),o("autoplay")),i.params.cssMode&&(b=(new Date).getTime(),requestAnimationFrame((()=>{S()}))))};return a>0?(clearTimeout(t),t=setTimeout((()=>{l()}),a)):requestAnimationFrame((()=>{l()})),a},T=()=>{b=(new Date).getTime(),i.autoplay.running=!0,S(),o("autoplayStart")},x=()=>{i.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(s),o("autoplayStop")},M=(e,s)=>{if(i.destroyed||!i.autoplay.running)return;clearTimeout(t),e||(h=!0);const a=()=>{o("autoplayPause"),i.params.autoplay.waitForTransition?i.wrapperEl.addEventListener("transitionend",y):L()};if(i.autoplay.paused=!0,s)return f&&(d=i.params.autoplay.delay),f=!1,void a();const n=d||i.params.autoplay.delay;d=n-((new Date).getTime()-b),i.isEnd&&d<0&&!i.params.loop||(d<0&&(d=0),a())},L=()=>{i.isEnd&&d<0&&!i.params.loop||i.destroyed||!i.autoplay.running||(b=(new Date).getTime(),h?(h=!1,S(d)):S(),i.autoplay.paused=!1,o("autoplayResume"))},C=()=>{if(i.destroyed||!i.autoplay.running)return;const e=a();"hidden"===e.visibilityState&&(h=!0,M(!0)),"visible"===e.visibilityState&&L()},O=e=>{"mouse"===e.pointerType&&(h=!0,g=!0,i.animating||i.autoplay.paused||M(!0))},P=e=>{"mouse"===e.pointerType&&(g=!1,i.autoplay.paused&&L())};r("init",(()=>{i.params.autoplay.enabled&&(i.params.autoplay.pauseOnMouseEnter&&(i.el.addEventListener("pointerenter",O),i.el.addEventListener("pointerleave",P)),a().addEventListener("visibilitychange",C),T())})),r("destroy",(()=>{i.el&&"string"!=typeof i.el&&(i.el.removeEventListener("pointerenter",O),i.el.removeEventListener("pointerleave",P)),a().removeEventListener("visibilitychange",C),i.autoplay.running&&x()})),r("_freeModeStaticRelease",(()=>{(u||h)&&L()})),r("_freeModeNoMomentumRelease",(()=>{i.params.autoplay.disableOnInteraction?x():M(!0,!0)})),r("beforeTransitionStart",((e,t,s)=>{!i.destroyed&&i.autoplay.running&&(s||!i.params.autoplay.disableOnInteraction?M(!0,!0):x())})),r("sliderFirstMove",(()=>{!i.destroyed&&i.autoplay.running&&(i.params.autoplay.disableOnInteraction?x():(p=!0,u=!1,h=!1,m=setTimeout((()=>{h=!0,u=!0,M(!0)}),200)))})),r("touchEnd",(()=>{if(!i.destroyed&&i.autoplay.running&&p){if(clearTimeout(m),clearTimeout(t),i.params.autoplay.disableOnInteraction)return u=!1,void(p=!1);u&&i.params.cssMode&&L(),u=!1,p=!1}})),r("slideChange",(()=>{!i.destroyed&&i.autoplay.running&&(f=!0)})),Object.assign(i.autoplay,{start:T,stop:x,pause:M,resume:L})}function ge(e){let{swiper:t,extendParams:s,emit:i,once:a}=e;s({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:function(){if(t.params.cssMode)return;const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})},onTouchMove:function(){if(t.params.cssMode)return;const{touchEventsData:e,touches:s}=t;0===e.velocities.length&&e.velocities.push({position:s[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:s[t.isHorizontal()?"currentX":"currentY"],time:d()})},onTouchEnd:function(e){let{currentPos:s}=e;if(t.params.cssMode)return;const{params:n,wrapperEl:r,rtlTranslate:o,snapGrid:l,touchEventsData:c}=t,p=d()-c.touchStartTime;if(s<-t.minTranslate())t.slideTo(t.activeIndex);else if(s>-t.maxTranslate())t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1);else{if(n.freeMode.momentum){if(c.velocities.length>1){const e=c.velocities.pop(),s=c.velocities.pop(),i=e.position-s.position,a=e.time-s.time;t.velocity=i/a,t.velocity/=2,Math.abs(t.velocity)<n.freeMode.minimumVelocity&&(t.velocity=0),(a>150||d()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=n.freeMode.momentumVelocityRatio,c.velocities.length=0;let e=1e3*n.freeMode.momentumRatio;const s=t.velocity*e;let p=t.translate+s;o&&(p=-p);let u,m=!1;const f=20*Math.abs(t.velocity)*n.freeMode.momentumBounceRatio;let h;if(p<t.maxTranslate())n.freeMode.momentumBounce?(p+t.maxTranslate()<-f&&(p=t.maxTranslate()-f),u=t.maxTranslate(),m=!0,c.allowMomentumBounce=!0):p=t.maxTranslate(),n.loop&&n.centeredSlides&&(h=!0);else if(p>t.minTranslate())n.freeMode.momentumBounce?(p-t.minTranslate()>f&&(p=t.minTranslate()+f),u=t.minTranslate(),m=!0,c.allowMomentumBounce=!0):p=t.minTranslate(),n.loop&&n.centeredSlides&&(h=!0);else if(n.freeMode.sticky){let e;for(let t=0;t<l.length;t+=1)if(l[t]>-p){e=t;break}p=Math.abs(l[e]-p)<Math.abs(l[e-1]-p)||"next"===t.swipeDirection?l[e]:l[e-1],p=-p}if(h&&a("transitionEnd",(()=>{t.loopFix()})),0!==t.velocity){if(e=o?Math.abs((-p-t.translate)/t.velocity):Math.abs((p-t.translate)/t.velocity),n.freeMode.sticky){const s=Math.abs((o?-p:p)-t.translate),i=t.slidesSizesGrid[t.activeIndex];e=s<i?n.speed:s<2*i?1.5*n.speed:2.5*n.speed}}else if(n.freeMode.sticky)return void t.slideToClosest();n.freeMode.momentumBounce&&m?(t.updateProgress(u),t.setTransition(e),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating=!0,S(r,(()=>{t&&!t.destroyed&&c.allowMomentumBounce&&(i("momentumBounce"),t.setTransition(n.speed),setTimeout((()=>{t.setTranslate(u),S(r,(()=>{t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(i("_freeModeNoMomentumRelease"),t.updateProgress(p),t.setTransition(e),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,S(r,(()=>{t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(p),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(n.freeMode.sticky)return void t.slideToClosest();n.freeMode&&i("_freeModeNoMomentumRelease")}(!n.freeMode.momentum||p>=n.longSwipesMs)&&(i("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}})}function ve(e){const{effect:t,swiper:s,on:i,setTranslate:a,setTransition:n,overwriteParams:r,perspective:o,recreateShadows:l,getEffectParams:d}=e;let c;i("beforeInit",(()=>{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),o&&o()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const e=r?r():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)})),i("setTranslate _virtualUpdated",(()=>{s.params.effect===t&&a()})),i("setTransition",((e,i)=>{s.params.effect===t&&n(i)})),i("transitionEnd",(()=>{if(s.params.effect===t&&l){if(!d||!d().slideShadows)return;s.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",(()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestAnimationFrame((()=>{c&&s.slides&&s.slides.length&&(a(),c=!1)})))}))}function we(e,t){const s=f(t);return s!==t&&(s.style.backfaceVisibility="hidden",s.style["-webkit-backface-visibility"]="hidden"),s}function be(e){let{swiper:t,duration:s,transformElements:i,allSlides:a}=e;const{activeIndex:n}=t;if(t.params.virtualTranslate&&0!==s){let e,s=!1;e=a?i:i.filter((e=>{const s=e.classList.contains("swiper-slide-transform")?(e=>e.parentElement?e.parentElement:t.slides.find((t=>t.shadowRoot&&t.shadowRoot===e.parentNode)))(e):e;return t.getSlideIndex(s)===n})),e.forEach((e=>{S(e,(()=>{if(s)return;if(!t||t.destroyed)return;s=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)}))}))}}function ye(e){let{swiper:t,extendParams:s,on:i}=e;s({fadeEffect:{crossFade:!1}}),ve({effect:"fade",swiper:t,on:i,setTranslate:()=>{const{slides:e}=t;t.params.fadeEffect;for(let s=0;s<e.length;s+=1){const e=t.slides[s];let i=-e.swiperSlideOffset;t.params.virtualTranslate||(i-=t.translate);let a=0;t.isHorizontal()||(a=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),r=we(0,e);r.style.opacity=n,r.style.transform=`translate3d(${i}px, ${a}px, 0px)`}},setTransition:e=>{const s=t.slides.map((e=>f(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`})),be({swiper:t,duration:e,transformElements:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function Ee(e){let{swiper:t,extendParams:s,on:i}=e;s({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const a=(e,t,s)=>{let i=s?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),a=s?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=v("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"left":"top")).split(" ")),e.append(i)),a||(a=v("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"right":"bottom")).split(" ")),e.append(a)),i&&(i.style.opacity=Math.max(-t,0)),a&&(a.style.opacity=Math.max(t,0))};ve({effect:"cube",swiper:t,on:i,setTranslate:()=>{const{el:e,wrapperEl:s,slides:i,width:n,height:r,rtlTranslate:o,size:l,browser:d}=t,c=M(t),p=t.params.cubeEffect,u=t.isHorizontal(),m=t.virtual&&t.params.virtual.enabled;let f,h=0;p.shadow&&(u?(f=t.wrapperEl.querySelector(".swiper-cube-shadow"),f||(f=v("div","swiper-cube-shadow"),t.wrapperEl.append(f)),f.style.height=`${n}px`):(f=e.querySelector(".swiper-cube-shadow"),f||(f=v("div","swiper-cube-shadow"),e.append(f))));for(let e=0;e<i.length;e+=1){const t=i[e];let s=e;m&&(s=parseInt(t.getAttribute("data-swiper-slide-index"),10));let n=90*s,r=Math.floor(n/360);o&&(n=-n,r=Math.floor(-n/360));const d=Math.max(Math.min(t.progress,1),-1);let f=0,g=0,v=0;s%4==0?(f=4*-r*l,v=0):(s-1)%4==0?(f=0,v=4*-r*l):(s-2)%4==0?(f=l+4*r*l,v=l):(s-3)%4==0&&(f=-l,v=3*l+4*l*r),o&&(f=-f),u||(g=f,f=0);const w=`rotateX(${c(u?0:-n)}deg) rotateY(${c(u?n:0)}deg) translate3d(${f}px, ${g}px, ${v}px)`;d<=1&&d>-1&&(h=90*s+90*d,o&&(h=90*-s-90*d)),t.style.transform=w,p.slideShadows&&a(t,d,u)}if(s.style.transformOrigin=`50% 50% -${l/2}px`,s.style["-webkit-transform-origin"]=`50% 50% -${l/2}px`,p.shadow)if(u)f.style.transform=`translate3d(0px, ${n/2+p.shadowOffset}px, ${-n/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${p.shadowScale})`;else{const e=Math.abs(h)-90*Math.floor(Math.abs(h)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=p.shadowScale,i=p.shadowScale/t,a=p.shadowOffset;f.style.transform=`scale3d(${s}, 1, ${i}) translate3d(0px, ${r/2+a}px, ${-r/2/i}px) rotateX(-89.99deg)`}const g=(d.isSafari||d.isWebView)&&d.needPerspectiveFix?-l/2:0;s.style.transform=`translate3d(0px,0,${g}px) rotateX(${c(t.isHorizontal()?0:h)}deg) rotateY(${c(t.isHorizontal()?-h:0)}deg)`,s.style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:e=>{const{el:s,slides:i}=t;if(i.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`}))})),t.params.cubeEffect.shadow&&!t.isHorizontal()){const t=s.querySelector(".swiper-cube-shadow");t&&(t.style.transitionDuration=`${e}ms`)}},recreateShadows:()=>{const e=t.isHorizontal();t.slides.forEach((t=>{const s=Math.max(Math.min(t.progress,1),-1);a(t,s,e)}))},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function Se(e,t,s){const i=`swiper-slide-shadow${s?`-${s}`:""}${e?` swiper-slide-shadow-${e}`:""}`,a=f(t);let n=a.querySelector(`.${i.split(" ").join(".")}`);return n||(n=v("div",i.split(" ")),a.append(n)),n}function Te(e){let{swiper:t,extendParams:s,on:i}=e;s({flipEffect:{slideShadows:!0,limitRotation:!0}});const a=(e,s)=>{let i=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),a=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=Se("flip",e,t.isHorizontal()?"left":"top")),a||(a=Se("flip",e,t.isHorizontal()?"right":"bottom")),i&&(i.style.opacity=Math.max(-s,0)),a&&(a.style.opacity=Math.max(s,0))};ve({effect:"flip",swiper:t,on:i,setTranslate:()=>{const{slides:e,rtlTranslate:s}=t,i=t.params.flipEffect,n=M(t);for(let r=0;r<e.length;r+=1){const o=e[r];let l=o.progress;t.params.flipEffect.limitRotation&&(l=Math.max(Math.min(o.progress,1),-1));const d=o.swiperSlideOffset;let c=-180*l,p=0,u=t.params.cssMode?-d-t.translate:-d,m=0;t.isHorizontal()?s&&(c=-c):(m=u,u=0,p=-c,c=0),o.style.zIndex=-Math.abs(Math.round(l))+e.length,i.slideShadows&&a(o,l);const f=`translate3d(${u}px, ${m}px, 0px) rotateX(${n(p)}deg) rotateY(${n(c)}deg)`;we(0,o).style.transform=f}},setTransition:e=>{const s=t.slides.map((e=>f(e)));s.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`}))})),be({swiper:t,duration:e,transformElements:s})},recreateShadows:()=>{t.params.flipEffect,t.slides.forEach((e=>{let s=e.progress;t.params.flipEffect.limitRotation&&(s=Math.max(Math.min(e.progress,1),-1)),a(e,s)}))},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function xe(e){let{swiper:t,extendParams:s,on:i}=e;s({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),ve({effect:"coverflow",swiper:t,on:i,setTranslate:()=>{const{width:e,height:s,slides:i,slidesSizesGrid:a}=t,n=t.params.coverflowEffect,r=t.isHorizontal(),o=t.translate,l=r?e/2-o:s/2-o,d=r?n.rotate:-n.rotate,c=n.depth,p=M(t);for(let e=0,t=i.length;e<t;e+=1){const t=i[e],s=a[e],o=(l-t.swiperSlideOffset-s/2)/s,u="function"==typeof n.modifier?n.modifier(o):o*n.modifier;let m=r?d*u:0,f=r?0:d*u,h=-c*Math.abs(u),g=n.stretch;"string"==typeof g&&-1!==g.indexOf("%")&&(g=parseFloat(n.stretch)/100*s);let v=r?0:g*u,w=r?g*u:0,b=1-(1-n.scale)*Math.abs(u);Math.abs(w)<.001&&(w=0),Math.abs(v)<.001&&(v=0),Math.abs(h)<.001&&(h=0),Math.abs(m)<.001&&(m=0),Math.abs(f)<.001&&(f=0),Math.abs(b)<.001&&(b=0);const y=`translate3d(${w}px,${v}px,${h}px) rotateX(${p(f)}deg) rotateY(${p(m)}deg) scale(${b})`;if(we(0,t).style.transform=y,t.style.zIndex=1-Math.abs(Math.round(u)),n.slideShadows){let e=r?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),s=r?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");e||(e=Se("coverflow",t,r?"left":"top")),s||(s=Se("coverflow",t,r?"right":"bottom")),e&&(e.style.opacity=u>0?u:0),s&&(s.style.opacity=-u>0?-u:0)}}},setTransition:e=>{t.slides.map((e=>f(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 Me(e){let{swiper:t,extendParams:s,on:i}=e;s({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const a=e=>"string"==typeof e?e:`${e}px`;ve({effect:"creative",swiper:t,on:i,setTranslate:()=>{const{slides:e,wrapperEl:s,slidesSizesGrid:i}=t,n=t.params.creativeEffect,{progressMultiplier:r}=n,o=t.params.centeredSlides,l=M(t);if(o){const e=i[0]/2-t.params.slidesOffsetBefore||0;s.style.transform=`translateX(calc(50% - ${e}px))`}for(let s=0;s<e.length;s+=1){const i=e[s],d=i.progress,c=Math.min(Math.max(i.progress,-n.limitProgress),n.limitProgress);let p=c;o||(p=Math.min(Math.max(i.originalProgress,-n.limitProgress),n.limitProgress));const u=i.swiperSlideOffset,m=[t.params.cssMode?-u-t.translate:-u,0,0],f=[0,0,0];let h=!1;t.isHorizontal()||(m[1]=m[0],m[0]=0);let g={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};c<0?(g=n.next,h=!0):c>0&&(g=n.prev,h=!0),m.forEach(((e,t)=>{m[t]=`calc(${e}px + (${a(g.translate[t])} * ${Math.abs(c*r)}))`})),f.forEach(((e,t)=>{let s=g.rotate[t]*Math.abs(c*r);f[t]=s})),i.style.zIndex=-Math.abs(Math.round(d))+e.length;const v=m.join(", "),w=`rotateX(${l(f[0])}deg) rotateY(${l(f[1])}deg) rotateZ(${l(f[2])}deg)`,b=p<0?`scale(${1+(1-g.scale)*p*r})`:`scale(${1-(1-g.scale)*p*r})`,y=p<0?1+(1-g.opacity)*p*r:1-(1-g.opacity)*p*r,E=`translate3d(${v}) ${w} ${b}`;if(h&&g.shadow||!h){let e=i.querySelector(".swiper-slide-shadow");if(!e&&g.shadow&&(e=Se("creative",i)),e){const t=n.shadowPerProgress?c*(1/n.limitProgress):c;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const S=we(0,i);S.style.transform=E,S.style.opacity=y,g.origin&&(S.style.transformOrigin=g.origin)}},setTransition:e=>{const s=t.slides.map((e=>f(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),be({swiper:t,duration:e,transformElements:s,allSlides:!0})},perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}function Le(e){let{swiper:t,extendParams:s,on:i}=e;s({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),ve({effect:"cards",swiper:t,on:i,setTranslate:()=>{const{slides:e,activeIndex:s,rtlTranslate:i}=t,a=t.params.cardsEffect,{startTranslate:n,isTouched:r}=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 u=d.swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&(t.wrapperEl.style.transform=`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(u-=e[0].swiperSlideOffset);let m=t.params.cssMode?-u-t.translate:-u,f=0;const h=-100*Math.abs(p);let g=1,v=-a.perSlideRotate*p,w=a.perSlideOffset-.75*Math.abs(p);const b=t.virtual&&t.params.virtual.enabled?t.virtual.from+l:l,y=(b===s||b===s-1)&&p>0&&p<1&&(r||t.params.cssMode)&&o<n,E=(b===s||b===s+1)&&p<0&&p>-1&&(r||t.params.cssMode)&&o>n;if(y||E){const e=(1-Math.abs((Math.abs(p)-.5)/.5))**.5;v+=-28*p*e,g+=-.5*e,w+=96*e,f=-25*e*Math.abs(p)+"%"}if(m=p<0?`calc(${m}px ${i?"-":"+"} (${w*Math.abs(p)}%))`:p>0?`calc(${m}px ${i?"-":"+"} (-${w*Math.abs(p)}%))`:`${m}px`,!t.isHorizontal()){const e=f;f=m,m=e}const S=p<0?""+(1+(1-g)*p):""+(1-(1-g)*p),T=`\n translate3d(${m}, ${f}, ${h}px)\n rotateZ(${a.rotate?i?-v:v:0}deg)\n scale(${S})\n `;if(a.slideShadows){let e=d.querySelector(".swiper-slide-shadow");e||(e=Se("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,we(0,d).style.transform=T}},setTransition:e=>{const s=t.slides.map((e=>f(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),be({swiper:t,duration:e,transformElements:s})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:t.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!t.params.cssMode})})}Object.keys(ae).forEach((e=>{Object.keys(ae[e]).forEach((t=>{re.prototype[t]=ae[e][t]}))})),re.use([function(e){let{swiper:t,on:s,emit:i}=e;const a=r();let n=null,o=null;const l=()=>{t&&!t.destroyed&&t.initialized&&(i("beforeResize"),i("resize"))},d=()=>{t&&!t.destroyed&&t.initialized&&i("orientationchange")};s("init",(()=>{t.params.resizeObserver&&void 0!==a.ResizeObserver?t&&!t.destroyed&&t.initialized&&(n=new ResizeObserver((e=>{o=a.requestAnimationFrame((()=>{const{width:s,height:i}=t;let a=s,n=i;e.forEach((e=>{let{contentBoxSize:s,contentRect:i,target:r}=e;r&&r!==t.el||(a=i?i.width:(s[0]||s).inlineSize,n=i?i.height:(s[0]||s).blockSize)})),a===s&&n===i||l()}))})),n.observe(t.el)):(a.addEventListener("resize",l),a.addEventListener("orientationchange",d))})),s("destroy",(()=>{o&&a.cancelAnimationFrame(o),n&&n.unobserve&&t.el&&(n.unobserve(t.el),n=null),a.removeEventListener("resize",l),a.removeEventListener("orientationchange",d)}))},function(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const n=[],o=r(),l=function(e,s){void 0===s&&(s={});const i=new(o.MutationObserver||o.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void a("observerUpdate",e[0]);const s=function(){a("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(s):o.setTimeout(s,0)}));i.observe(e,{attributes:void 0===s.attributes||s.attributes,childList:t.isElement||(void 0===s.childList||s).childList,characterData:void 0===s.characterData||s.characterData}),n.push(i)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=E(t.hostEl);for(let t=0;t<e.length;t+=1)l(e[t])}l(t.hostEl,{childList:t.params.observeSlideChildren}),l(t.wrapperEl,{attributes:!1})}})),i("destroy",(()=>{n.forEach((e=>{e.disconnect()})),n.splice(0,n.length)}))}]),document.addEventListener("DOMContentLoaded",(()=>{if(!document.querySelector(".vb-slider-start"))return;const e=document.querySelectorAll(".vb-slider-start .swiper");e.length&&e.forEach((e=>{let t={};try{t=JSON.parse(e.dataset.swiper)}catch(e){return void console.error(e)}!function(e,t={},s=!1){var i,a,n,r,o,l;const d=[he,oe,ce,ue,ge,le,fe],c={slide:"",flip:Te,fade:ye,coverflow:xe,cube:Ee,cards:Le,creative:Me};t.effect&&c[t.effect]&&d.push(c[t.effect]),t.scrollbar&&d.push(me);const p=e.getAttribute("data-swiper");let u={};if(p)try{u=JSON.parse(p)}catch(e){console.error("Error parsing data-swiper attribute:",e)}const m=null!==(i=null!==(a=u.slidesPerView)&&void 0!==a?a:t?.slidesPerView)&&void 0!==i?i:1,f=null!==(n=null!==(r=u.spaceBetween)&&void 0!==r?r:t?.spaceBetween)&&void 0!==n?n:10,h=null!==(o=null!==(l=u.initialSlide)&&void 0!==l?l:t?.initialSlide)&&void 0!==o?o:10,g="Desktop"===t.viewslider,v="Tablet"===t.viewslider,w="Mobile"===t.viewslider;new re(e,(e=>{var t,i,a,n,r,o;const l={createElements:!0,centeredSlides:null!==(t=e?.centerSlides)&&void 0!==t&&t,grabCursor:null===(i=e?.grabCursor)||void 0===i||i,keyboard:!0,modules:d,navigation:null!==(a=e?.navigation)&&void 0!==a&&a,pagination:null!==(n=e?.pagination)&&void 0!==n&&n,simulateTouch:null===(r=e?.simulateTouch)||void 0===r||r,freeMode:!0,scrollbar:null===(o=e?.scrollbar)||void 0===o||o};var c,p,u,b,y,E,S,T,x;return s?{...l,autoplay:null!==(c=e?.autoplay)&&void 0!==c&&c,initialSlide:h-1,mousewheel:null===(p=e?.mousewheel)||void 0===p||p,...e.effect&&"none"!==e.effect&&{effect:null!==(u=e.effect)&&void 0!==u?u:"fade"},...["fade","flip","cube","cards"].includes(e.effect)?{}:{slidesPerView:m,spaceBetween:f,loop:e?.loop},..."cards"===e.effect&&{loop:!1}}:{...l,initialSlide:g?(null!==(b=e?.initialSlide)&&void 0!==b?b:1)-1:v?(null!==(y=e?.initialSlideTablet)&&void 0!==y?y:1)-1:w?(null!==(E=e?.initialSlideMobile)&&void 0!==E?E:1)-1:0,pagination:{enabled:!0,clickable:!0,..."numbers"===e.dotstype&&{type:"fraction"},..."bullets"===e.dotstype&&{dynamicBullets:!0,dynamicMainBullets:null!==(S=e?.dynamicMainBullets)&&void 0!==S?S:1},..."progressbar"===e.dotstype&&{type:"progressbar"}},...["fade","cards"].includes(e.effect)?{}:{loop:!0},...["fade","flip","cube","cards"].includes(e.effect)?{}:{slidesPerView:g?e?.slidesPerView:v?e?.slidesPerViewTablet:w?e?.slidesPerViewMobile:1,spaceBetween:g?e?.spaceBetween:v?e?.spaceBetweenTablet:w?e?.spaceBetweenMobile:10},...e.effect&&"none"!==e.effect&&{effect:null!==(T=e.effect)&&void 0!==T?T:"fade"},..."cards"===e.effect&&{loop:!1},mousewheel:{enabled:null===(x=e?.mousewheel)||void 0===x||x,sensitivity:7}}})(t))}(e,t,!0)}))}));const Ce=e=>NodeList.prototype.isPrototypeOf(e)||HTMLCollection.prototype.isPrototypeOf(e)?Array.from(e):"string"==typeof e||e instanceof String?document.querySelectorAll(e):[e],Oe=new class{constructor(){this.positions={top:0,bottom:0,height:0}}setViewportTop(e){return this.positions.top=e?e.scrollTop:window.pageYOffset,this.positions}setViewportBottom(){return this.positions.bottom=this.positions.top+this.positions.height,this.positions}setViewportAll(e){return this.positions.top=e?e.scrollTop:window.pageYOffset,this.positions.height=e?e.clientHeight:document.documentElement.clientHeight,this.positions.bottom=this.positions.top+this.positions.height,this.positions}},Pe=(()=>{const e="transform webkitTransform mozTransform oTransform msTransform".split(" ");let t,s=0;for(;void 0===t;)t=void 0!==document.createElement("div").style[e[s]]?e[s]:void 0,s+=1;return t})();class ke{constructor(e,t,s=!1){var i;this.element=e,this.elementContainer=e,this.settings=t,this.isVisible=!0,this.isInit=!1,this.oldTranslateValue=-1,this.prefersReducedMotion=s,this.init=this.init.bind(this),this.customWrapper=this.settings.customWrapper&&this.element.closest(this.settings.customWrapper)?this.element.closest(this.settings.customWrapper):null,!this.prefersReducedMotion&&("img"!==(i=e).tagName.toLowerCase()&&"picture"!==i.tagName.toLowerCase()||i&&i.complete&&!(typeof i.naturalWidth<"u"&&0===i.naturalWidth)?this.init():this.element.addEventListener("load",(()=>{setTimeout((()=>{this.init(!0)}),50)})))}init(e){this.prefersReducedMotion||this.isInit||(e&&(this.rangeMax=null),!this.element.closest(".simpleParallax")&&(!1===this.settings.overflow&&this.wrapElement(this.element),this.setTransformCSS(),this.getElementOffset(),this.intersectionObserver(),this.getTranslateValue(),this.animate(),this.settings.delay>0?setTimeout((()=>{this.setTransitionCSS(),this.elementContainer.classList.add("simple-parallax-initialized")}),10):this.elementContainer.classList.add("simple-parallax-initialized"),this.isInit=!0))}wrapElement(){const e=this.element.closest("picture")||this.element;let t=this.customWrapper||document.createElement("div");t.classList.add("simpleParallax"),t.style.overflow="hidden",this.customWrapper||(e.parentNode.insertBefore(t,e),t.appendChild(e)),this.elementContainer=t}unWrapElement(){const e=this.elementContainer;this.customWrapper?(e.classList.remove("simpleParallax"),e.style.overflow=""):e.replaceWith(...e.childNodes)}setTransformCSS(){!1===this.settings.overflow&&(this.element.style[Pe]=`scale(${this.settings.scale})`),this.element.style.willChange="transform"}setTransitionCSS(){this.element.style.transition=`transform ${this.settings.delay}s ${this.settings.transition}`}unSetStyle(){this.element.style.willChange="",this.element.style[Pe]="",this.element.style.transition=""}getElementOffset(){const e=this.elementContainer.getBoundingClientRect();if(this.elementHeight=e.height,this.elementTop=e.top+Oe.positions.top,this.settings.customContainer){const t=this.settings.customContainer.getBoundingClientRect();this.elementTop=e.top-t.top+Oe.positions.top}this.elementBottom=this.elementHeight+this.elementTop}buildThresholdList(){const e=[];for(let t=1;t<=this.elementHeight;t++){const s=t/this.elementHeight;e.push(s)}return e}intersectionObserver(){const e={root:null,threshold:this.buildThresholdList()};this.observer=new IntersectionObserver(this.intersectionObserverCallback.bind(this),e),this.observer.observe(this.element)}intersectionObserverCallback(e){e.forEach((e=>{e.isIntersecting?this.isVisible=!0:this.isVisible=!1}))}checkIfVisible(){return this.elementBottom>Oe.positions.top&&this.elementTop<Oe.positions.bottom}getRangeMax(){const e=this.element.clientHeight;this.rangeMax=e*this.settings.scale-e}getTranslateValue(){let e=((Oe.positions.bottom-this.elementTop)/((Oe.positions.height+this.elementHeight)/100)).toFixed(1);return e=Math.min(100,Math.max(0,e)),0!==this.settings.maxTransition&&e>this.settings.maxTransition&&(e=this.settings.maxTransition),this.oldPercentage!==e&&(this.rangeMax||this.getRangeMax(),this.translateValue=(e/100*this.rangeMax-this.rangeMax/2).toFixed(0),this.oldTranslateValue!==this.translateValue)&&(this.oldPercentage=e,this.oldTranslateValue=this.translateValue,!0)}animate(){let e,t=0,s=0;(this.settings.orientation.includes("left")||this.settings.orientation.includes("right"))&&(s=`${this.settings.orientation.includes("left")?-1*this.translateValue:this.translateValue}px`),(this.settings.orientation.includes("up")||this.settings.orientation.includes("down"))&&(t=`${this.settings.orientation.includes("up")?-1*this.translateValue:this.translateValue}px`),e=!1===this.settings.overflow?`translate3d(${s}, ${t}, 0) scale(${this.settings.scale})`:`translate3d(${s}, ${t}, 0)`,this.element.style[Pe]=e}}let Ie,Ae,De=!1,ze=[];class $e{constructor(e,t){e&&Element.prototype.closest&&"IntersectionObserver"in window&&(this.prefersReducedMotion=window.matchMedia("(prefers-reduced-motion: reduce)").matches,this.reducedMotionMediaQuery=window.matchMedia("(prefers-reduced-motion: reduce)"),this.handleReducedMotionChange=this.handleReducedMotionChange.bind(this),this.reducedMotionMediaQuery.addEventListener("change",this.handleReducedMotionChange),!this.prefersReducedMotion&&(this.elements=Ce(e),this.defaults={delay:0,orientation:"up",scale:1.3,overflow:!1,transition:"cubic-bezier(0,0,0,1)",customContainer:"",customWrapper:"",maxTransition:0},this.settings=Object.assign(this.defaults,t),this.settings.customContainer&&([this.customContainer]=Ce(this.settings.customContainer)),this.lastPosition=-1,this.resizeIsDone=this.resizeIsDone.bind(this),this.refresh=this.refresh.bind(this),this.proceedRequestAnimationFrame=this.proceedRequestAnimationFrame.bind(this),this.init()))}handleReducedMotionChange(e){this.prefersReducedMotion=e.matches,this.prefersReducedMotion?this.destroy():this.init()}init(){this.prefersReducedMotion||(Oe.setViewportAll(this.customContainer),ze=[...this.elements.map((e=>new ke(e,this.settings,this.prefersReducedMotion))),...ze],De||(this.proceedRequestAnimationFrame(),window.addEventListener("resize",this.resizeIsDone),De=!0))}resizeIsDone(){clearTimeout(Ae),Ae=setTimeout(this.refresh,200)}proceedRequestAnimationFrame(){Oe.setViewportTop(this.customContainer),this.lastPosition!==Oe.positions.top?(Oe.setViewportBottom(),ze.forEach((e=>{this.proceedElement(e)})),Ie=window.requestAnimationFrame(this.proceedRequestAnimationFrame),this.lastPosition=Oe.positions.top):Ie=window.requestAnimationFrame(this.proceedRequestAnimationFrame)}proceedElement(e){let t=!1;t=this.customContainer?e.checkIfVisible():e.isVisible,t&&e.getTranslateValue()&&e.animate()}refresh(){Oe.setViewportAll(this.customContainer),ze.forEach((e=>{e.getElementOffset(),e.getRangeMax()})),this.lastPosition=-1}destroy(){this.reducedMotionMediaQuery&&this.reducedMotionMediaQuery.removeEventListener("change",this.handleReducedMotionChange);const e=[];ze=ze.filter((t=>this.elements&&this.elements.includes(t.element)?(e.push(t),!1):t)),e.forEach((e=>{e.unSetStyle(),this.settings&&!1===this.settings.overflow&&e.unWrapElement()})),ze.length||(window.cancelAnimationFrame(Ie),window.removeEventListener("resize",this.refresh),De=!1)}}function Be(e,t){document.querySelectorAll(e).forEach((e=>{const s=e.clientHeight,i=e.clientWidth;e.addEventListener("mousemove",(a=>{const n=a.layerX,r=`perspective(500px) rotateX(${(a.layerY-s/2)/s*-t}deg) rotateY(${t*((n-i/2)/i)}deg)`;e.style.transform=r})),e.addEventListener("mouseout",(()=>{e.style.transform="perspective(500px) scale(1) rotateX(0) rotateY(0)"}),120),e.addEventListener("mousedown",(()=>{e.style.transform="perspective(500px) scale(0.9) rotateX(0) rotateY(0)"}),120),e.addEventListener("mouseup",(()=>{e.style.transform="perspective(500px) scale(1.1) rotateX(0) rotateY(0)"}),120)}))}Be(".vayu_block_styling-effect7",8),Be(".vayu_block_styling-overlay-effect",10),document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll('img[data-parallax="true"]').forEach((e=>{const t={orientation:e.dataset.orientation||"up",delay:parseFloat(e.dataset.delay||0),scale:parseFloat(e.dataset.scale||1.2),transition:e.dataset.transition||"cubic-bezier(0,0,0,1)",overflow:"true"===e.dataset.overflow,maxTransition:parseFloat(e.dataset.maxTransition||60)};new $e(e,t)}))})),s(1),s(2147),s(4377),s(9941),s(8730),s(4934),s(576),s(2399),s(882),s(9127),s(1679);const Re=(e,t)=>{let s,i=0;const a=Math.ceil(e/t)+1||1,n=e=>{clearInterval(s),e?.()};return{steps:a,start:(e,r)=>{s=setInterval((()=>{i<a?(e?.(i),i+=1):n(r)}),1e3*t)},stop:n}},qe=e=>{"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())},He={none:void 0,"o-count-slower":3,"o-count-slow":2,"o-count-fast":1.5,"o-count-fastest":1},Ve=new Set(Array.from("0123456789,.")),Ge=new Set(Array.from(","));qe((()=>{const e={root:null,rootMargin:"0px",threshold:[.6]},t=new Set("0123456789");setTimeout((()=>{document.querySelectorAll("o-anim-count").forEach((s=>{if(Array.from(s.innerHTML).some((e=>t.has(e)))){const t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&0<e.intersectionRect.height&&(t.unobserve(s),(e=>{const t=e?.innerHTML||"",s=(e=>{let t=e.parentElement;for(let e=0;e<3;++e)if(Array.from(t.classList).some((e=>e.includes("o-count-")))){const e=Array.from(t.classList),s=e.filter((e=>e.includes("o-count-delay-"))).pop(),i=parseInt(s?.split("-")?.[3]||"0"),a=s?.includes("ms"),n=Object.keys(He),r=e?.filter((e=>n.includes(e)))?.pop()||"fast";return{speed:He[r],delay:i*(a?0:1e3)}}})(e),{suffix:i,prefix:a,number:n}=(e=>{const t=Array.from(e),s=[],i=[],a=[];let n=!0,r=!1;for(let e of t)Ve.has(e)?(n&&(n=!1),r?i.push(e):a.push(e)):n?s.push(e):(r||(r=!0),i.push(e));return{prefix:s.join(""),suffix:i.join(""),number:a}})(t),r=[...n].reverse().map(((e,t)=>Ge.has(e)?{position:t,character:e}:null)).filter((e=>e)),o=n.join("")?.split(".")?.[1]?.length||0,l=parseFloat(n.filter((e=>","!==e)).join("")),d=t.length-i.length,c=e=>{const t=e.split("").reverse();return r.forEach((e=>{e.position<t.length&&t.splice(e.position,0,e.character)})),((a||"")+t.reverse().join("")).padStart(d," ")+i||""},{start:p,steps:u}=Re(s?.speed||2,.05),m=parseFloat((l/u).toFixed(o||2));if(1e-12>m)return;let f=[0];for(let e=1;e<u;++e)f.push(f[e-1]+m);f=f.map((e=>e.toFixed(o))),0<f.length&&(f[u-1]=l.toFixed(o||0),e.innerHTML=c(f[0]),setTimeout((()=>{e.style.whiteSpace="pre",p((t=>{e.innerHTML=c(f[t])}),(()=>{e.style.whiteSpace="",e.innerHTML=t}))}),s?.delay||0))})(s))}))}),e);t.observe(s)}}))}),300)}));const Fe={none:void 0,"o-typing-slower":.4,"o-typing-slow":.25,"o-typing-fast":.05,"o-typing-faster":.01};qe((()=>{const e={root:null,rootMargin:"0px",threshold:[.6]};let t="\n\t\t.o-anim-typing-caret::after {\n\t\t\tfont-weight: 100;\n\t\t\tcontent: '|';\n\t\t\tcolor: #2E3D48;\n\t\t\tanimation: 1s blink step-end infinite;\n\t\t}\n\t\n\t\t@keyframes blink {\n\t\t\tfrom, to {\n\t\t\t color: transparent;\n\t\t }\n\t\t\t50% {\n\t\t\t color: black;\n\t\t }\n\t\t}\n\t";t=t.replace(/(\r\n|\n|\r|\t)/gm,"");let s=!1;setTimeout((()=>{document.querySelectorAll("o-anim-typing").forEach((i=>{if(!s){const e=document.createElement("style");e.innerText=t,document.head.appendChild(e),s=!0}const a=(e=>{const t=e?.innerHTML||"",s=(e=>{let t=e.parentElement;for(let e=0;e<3;++e)if(Array.from(t.classList).some((e=>e.includes("o-typing-")))){const e=Array.from(t.classList),s=e.filter((e=>e.includes("o-typing-delay-"))).pop(),i=parseInt(s?.split("-")?.[3]||"0"),a=s?.includes("ms"),n=Object.keys(Fe),r=e?.filter((e=>n.includes(e)))?.pop()||"fast";return{speed:Fe[r],delay:i*(a?0:1e3)}}})(e);t?.length||returnl;const i=t.length,a=(s?.speed||.1)*i,{start:n,steps:r,stop:o}=Re(a,s?.speed||.1),l=document.createElement("span");l.classList.add("o-anim-typing-caret"),l.style.whiteSpace="pre-wrap";const d=document.createElement("span");d.style.whiteSpace="pre-wrap",d.style.visibility="hidden";const c=e.innerHTML;return e.innerHTML="",e.appendChild(l),e.appendChild(d),l.innerHTML=t.slice(0,0),d.innerHTML=t.slice(0),()=>{setTimeout((()=>{n((e=>{l.innerHTML=t.slice(0,e),e<i&&(d.innerHTML=t.slice(e)),i>=r&&o()}),(()=>{e.innerHTML=c}))}),s?.delay||0)}})(i),n=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&0<e.intersectionRect.height&&(n.unobserve(i),a())}))}),e);n.observe(i)}))}),100)}))})()})(); -
vayu-blocks/tags/1.4.4/readme.txt
r3410994 r3447623 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.8 7 Stable tag: 1.4. 37 Stable tag: 1.4.4 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html … … 152 152 == Changelog == 153 153 154 = 1.4.4 = 155 Fix: Swipe slider issue fixed. 156 Fix: Elementor animation conflict issue fixed. 157 Fix: WooCommerce advanced product tab “class not found” issue fixed. 158 154 159 = 1.4.3 = 155 160 Fix: Import template issue fixed and import function modify. -
vayu-blocks/tags/1.4.4/vayu-blocks.php
r3410994 r3447623 6 6 * Requires at least: 6.2 7 7 * Requires PHP: 7.4 8 * Version: 1.4. 38 * Version: 1.4.4 9 9 * Author: ThemeHunk 10 10 * Author URI: https://themehunk.com … … 19 19 exit; 20 20 } 21 define( 'VAYU_BLOCKS_VERSION', '1.4. 3' );21 define( 'VAYU_BLOCKS_VERSION', '1.4.4' ); 22 22 define( 'VAYU_BLOCKS_BASEFILE', __FILE__ ); 23 23 define( 'VAYU_BLOCKS_URL', plugins_url( '/', __FILE__ ) ); -
vayu-blocks/trunk/inc/render/advance-animation/class-blocks-animation.php
r3408885 r3447623 51 51 52 52 53 add_action( 'wp_head', array( $this, 'add_fontend_anim_inline_style' ), 10 );53 //add_action( 'wp_head', array( $this, 'add_fontend_anim_inline_style' ), 10 ); 54 54 55 55 } -
vayu-blocks/trunk/public/build/multi-block-frontend.asset.php
r3408885 r3447623 1 <?php return array('dependencies' => array(), 'version' => ' 52a217e900e9762755d6');1 <?php return array('dependencies' => array(), 'version' => 'f29282c30af79fd6a412'); -
vayu-blocks/trunk/public/build/multi-block-frontend.js
r3408885 r3447623 1 (()=>{var e={1:()=>{document.querySelectorAll(".vayu_block_styling-effect7").forEach((e=>{const t=e.clientHeight,s=e.clientWidth;e.addEventListener("mousemove",(i=>{const a=i.layerX,n=`perspective(500px) rotateX(${(i.layerY-t/2)/t*-8}deg) rotateY(${(a-s/2)/s*8}deg)`;e.style.transform=n})),e.addEventListener("mouseout",(()=>{e.style.transform="perspective(500px) scale(1) rotateX(0) rotateY(0)"}),120),e.addEventListener("mousedown",(()=>{e.style.transform="perspective(500px) scale(0.9) rotateX(0) rotateY(0)"}),120),e.addEventListener("mouseup",(()=>{e.style.transform="perspective(500px) scale(1.1) rotateX(0) rotateY(0)"}),120)})),document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".vb-vide-view").forEach((e=>{const t=e.querySelector(".vb-icon-block-video"),s=e.querySelector(".vb-video-poster"),i=e.querySelector(".vb-video-wrapper-relative"),a=e.querySelector(".vb-video-icon"),n=e.querySelector(".vb-video-iframe"),r=e.querySelector(".vb-video-rotation"),o=e.querySelector(".vb-video-iframe-cont"),l=r?.dataset.lightbox,d=e.querySelector(".vb-vayu-modal"),c=e.querySelector(".vb-vayu-modal-close");t&&(t.addEventListener("click",(()=>{"true"===l?d&&(d.classList.add("open"),s.style.display="flex",a.style.display="flex",i.style.display="block",n.style.setProperty("display","none","important"),document.body.style.overflow="hidden"):(s.style.display="none",o&&(o.style.display="block"),a.style.display="none",i.style.display="none",n&&n.style.setProperty("display","block","important"),document.body.style.overflow="")})),c&&d&&(c.addEventListener("click",(()=>{d.classList.remove("open"),document.body.style.overflow=""})),d.addEventListener("click",(e=>{e.target===d&&(d.classList.remove("open"),document.body.style.overflow="")}))))}))}))},576:()=>{const e=document.querySelector(".vayu_blocks_touch_class .wp-block-vayu-blocks-advance-timeline");let t,s,i=!1;e&&(e.addEventListener("mousedown",(a=>{i=!0,t=a.pageX-e.offsetLeft,s=e.scrollLeft})),e.addEventListener("mouseleave",(()=>{i=!1})),e.addEventListener("mouseup",(()=>{i=!1})),e.addEventListener("mousemove",(a=>{if(!i)return;a.preventDefault();const n=a.pageX-e.offsetLeft-t;e.scrollLeft=s-n})),e.addEventListener("touchstart",(a=>{i=!0,t=a.touches[0].pageX-e.offsetLeft,s=e.scrollLeft})),e.addEventListener("touchend",(()=>{i=!1})),e.addEventListener("touchmove",(a=>{if(!i)return;a.preventDefault();const n=a.touches[0].pageX-e.offsetLeft-t;e.scrollLeft=s-n})))},882:()=>{document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".swipe-scroll-wrapper[id^='vayu-blocks-']").forEach((e=>{!function(e){const t=e.closest("[id^='vayu-blocks-']");if(!t)return;const s=t.querySelector(".swipe-carousel"),i=s?.getAttribute("data-nav")||"none";if(!s||!e)return void console.log("Missing elements in:",t.id);let a,n,r=Array.from(s.querySelectorAll(".slide-item"));if(0===r.length)return;"arrow"!==i&&"arrowdots"!==i||(a=t.querySelector(".scroll-button.left"),n=t.querySelector(".scroll-button.right"));let o=t.querySelector(".pagination-container");o||"none"===i||"arrow"===i||(o=document.createElement("div"),o.classList.add("pagination-container"),e.appendChild(o));let l=r[0].offsetWidth+18,d=Math.floor(e.offsetWidth/l)||1,c=0,p=!1,u=0,m=0,f=0,h=.3*l;r.forEach((e=>{e.querySelectorAll("img").forEach((e=>{e.setAttribute("draggable","false"),e.addEventListener("dragstart",(e=>e.preventDefault()))}))}));const g=r.slice(0,d).map((e=>{const t=e.cloneNode(!0);return t.classList.add("clone"),t.querySelectorAll("img").forEach((e=>{e.setAttribute("draggable","false"),e.addEventListener("dragstart",(e=>e.preventDefault()))})),t}));g.forEach((e=>s.appendChild(e))),r=Array.from(s.querySelectorAll(".slide-item")),o&&(o.innerHTML="",r.slice(0,r.length-g.length).forEach(((e,t)=>{const s=document.createElement("span");s.classList.add("pagination-dot"),s.dataset.index=t,o.appendChild(s)})));const v=()=>{const e=c%(r.length-g.length);o&&o.querySelectorAll(".pagination-dot").forEach(((t,s)=>{t.classList.toggle("active",s===e)}))},w=(e,t=!0)=>{c=e,c>=r.length-g.length?(c=0,m=0):c<0&&(c=r.length-g.length-1,m=-c*l),m=-c*l,f=m,s.style.transform=`translateX(${m}px)`,s.style.transition=t?"transform 0.4s ease":"none",v()},b=e=>e.type.includes("mouse")?e.clientX:e.touches[0].clientX,y=e=>{"touchstart"===e.type&&e.preventDefault(),p=!0,u=b(e),f=m,s.style.transition="none",s.classList.add("dragging")},E=e=>{if(!p)return;const t=b(e);m=f+(t-u);const i=-(r.length-d)*l;m>0?m=0+.5*(m-0):m<i&&(m=i+.5*(m-i)),s.style.transform=`translateX(${m}px)`},S=()=>{if(!p)return;p=!1,s.classList.remove("dragging");const e=m- -c*l;let t=c;Math.abs(e)>h&&(t+=e>0?-1:1),w(t)};s.addEventListener("mousedown",y),s.addEventListener("touchstart",y,{passive:!1}),s.addEventListener("mousemove",E),s.addEventListener("touchmove",E,{passive:!1}),s.addEventListener("mouseup",S),s.addEventListener("touchend",S),s.addEventListener("mouseleave",(()=>{p&&S()})),s.addEventListener("click",(e=>{Math.abs(m-f)>10&&(e.preventDefault(),e.stopPropagation())}),!0),a&&a.addEventListener("click",(()=>w(c-1))),n&&n.addEventListener("click",(()=>w(c+1))),o&&o.addEventListener("click",(e=>{e.target.classList.contains("pagination-dot")&&w(parseInt(e.target.dataset.index,10))})),s.style.willChange="transform",s.style.transform="translateX(0px)";window.addEventListener("resize",(()=>{l=r[0]?.offsetWidth+18||0,d=Math.floor(e.offsetWidth/l)||1,h=.3*l,w(c,!1)})),v()}(e)}))}))},1679:()=>{const e=["none","bounce","flash","pulse","rubberBand","shakeX","shakeY","headShake","swing","tada","wobble","jello","heartBeat","hinge","jackInTheBox","backInDown","backInLeft","backInRight","backInUp","backOutDown","backOutLeft","backOutRight","backOutUp","bounceIn","bounceInDown","bounceInLeft","bounceInRight","bounceInUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeIn","fadeInDown","fadeInDownBig","fadeInLeft","fadeInLeftBig","fadeInRight","fadeInRightBig","fadeInUp","fadeInTopLeft","fadeInTopRight","fadeInBottomLeft","fadeInBottomRight","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","fadeOutTopLeft","fadeOutTopRight","fadeOutBottomRight","fadeOutBottomLeft","flip","flipInX","flipInY","flipOutX","flipOutY","lightSpeedInRight","lightSpeedInLeft","lightSpeedOutRight","lightSpeedOutLeft","rotateIn","rotateInDownLeft","rotateInDownRight","rotateInUpLeft","rotateInUpRight","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideInDown","slideInLeft","slideInRight","slideInUp","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomIn","zoomInDown","zoomInLeft","zoomInRight","zoomInUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollIn","rollOut"],t=["backOutDown","backOutLeft","backOutRight","backOutUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","fadeOutTopLeft","fadeOutTopRight","fadeOutBottomRight","fadeOutBottomLeft","flipOutX","flipOutY","lightSpeedOutRight","lightSpeedOutLeft","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollOut"],s=["none","delay-100ms","delay-200ms","delay-500ms","delay-1s","delay-2s","delay-3s","delay-4s","delay-5s"],i=["none","slow","slower","fast","faster"];window.addEventListener("load",(()=>{const n=document.querySelectorAll(".animated");for(const r of n){if(classes=r.classList,r.animationClasses=[],classes.add("o-anim-ready"),!a(r)){const t=e.find((e=>Array.from(classes).find((t=>t===e)))),a=s.find((e=>Array.from(classes).find((t=>t===e)))),n=i.find((e=>Array.from(classes).find((t=>t===e))));r.classList.add("hidden-animated"),t&&(r.animationClasses.push(t),r.classList.remove(t)),a&&(r.animationClasses.push(a),r.classList.remove(a)),n&&(r.animationClasses.push(n),r.classList.remove(n))}t.forEach((e=>{r.className.includes(e)&&r.addEventListener("animationend",(()=>{r.classList.remove(e)}))}))}window.addEventListener("scroll",(()=>{for(const e of n)e.getBoundingClientRect().top<=.95*window.innerHeight&&0<e.getBoundingClientRect().top&&e.animationClasses&&0<e.animationClasses.length&&(e.animationClasses.forEach((t=>e.classList.add(t))),e.classList.remove("hidden-animated"),delete e.animationClasses)}))}));const a=e=>{const t=window.scrollY||window.pageYOffset,s=e.getBoundingClientRect().top+t,i=t,a=t+window.innerHeight,n=s,r=s+e.clientHeight;return r>=i&&r<=a||n<=a&&n>=i}},2147:()=>{function e(e,t){e.classList.remove("closed"),e.classList.add("open"),t?.dataset.activeIcon&&(t.innerHTML=t.dataset.activeIcon)}function t(e,t){e.classList.remove("open"),e.classList.add("closed"),t?.dataset.inactiveIcon&&(t.innerHTML=t.dataset.inactiveIcon)}function s(e,s){s.forEach((s=>{if(s!==e){const e=s.querySelector(".vb-faq-icon");t(s,e)}}))}document.addEventListener("DOMContentLoaded",(function(){!function(){const i=document.querySelectorAll(".vb-faq-child-wrapper");i.forEach((a=>{const n=a.querySelector(".vb-faq-icon"),r=a.dataset.showtype,o="true"===a.dataset.isFirstChild,l="true"===a.dataset.expandfirst,d="true"===a.dataset.enabletoggle,c=a.dataset.collapseall;"accordation"===r&&l&&o&&e(a,n),n&&"accordation"===r&&n.addEventListener("click",(function(r){r.preventDefault();const o=a.classList.contains("open");"1"===c?s(a,i):a.classList.contains("colpaseopen")?a.classList.remove("colpaseopen"):s(a,i),d?o?t(a,n):e(a,n):o||e(a,n)}))}))}()}))},2399:()=>{document.addEventListener("DOMContentLoaded",(function(){let e=!1;const t=(t,s)=>{const i=t.closest(".wp-block-vayu-blocks-advance-query-loop"),a=t.querySelector(".th-button-inside"),n=parseInt(t.getAttribute("data-page")),r=parseInt(t.getAttribute("data-max-page")),o=parseInt(t.getAttribute("data-per-page")),l=window.location.pathname.split("/")[1];if(n>r)return;e=!0,a.textContent=t.getAttribute("data-loadmore-label"),t.setAttribute("disabled","disabled");const d=JSON.parse(i.getAttribute("data-attrs")),c=`${window.location.origin}/${l}/wp-admin/admin-ajax.php`,p=new FormData;p.append("action","load_more_posts"),p.append("page",n),p.append("perpage",o),p.append("query_id",t.getAttribute("data-query-id")),p.append("attrs",JSON.stringify(d)),fetch(c,{method:"POST",body:p}).then((e=>e.json())).then((e=>{if(e.success){const s=e.data.content,i=document.querySelector(".wp-block-vayu-blocks-wrapper");i&&i.insertAdjacentHTML("beforeend",s),t.setAttribute("data-page",n+1),t.setAttribute("data-current-page",n),n+1>r?(a.textContent=t.getAttribute("data-nomorepost-label"),t.setAttribute("disabled","disabled")):(a.textContent=t.getAttribute("data-loadmorebtn-txt"),t.removeAttribute("disabled"))}else console.error("Error fetching posts:",e),a.textContent=t.getAttribute("data-loadmorebtn-txt"),t.removeAttribute("disabled")})).catch((e=>{console.error("Error:",e),a.textContent=t.getAttribute("data-loadmorebtn-txt"),t.removeAttribute("disabled")})).finally((()=>{e=!1}))};(()=>{const e=document.querySelector(".load-more-btn");e&&e.addEventListener("click",(function(s){"loadmorebtn"===e.getAttribute("data-loadmore-type")&&(s.preventDefault(),t(e))}))})(),window.addEventListener("scroll",(function(){const s=document.querySelector(".load-more-btn");if(!s||e)return;const i=s.getBoundingClientRect(),a=window.innerHeight||document.documentElement.clientHeight;if(i.top-a<100){"loadinfinite"===s.getAttribute("data-loadmore-type")&&t(s)}}))}))},4377:()=>{document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".vb-toc-wrapper").forEach((e=>{const t=e.querySelector(".vb-toc-toggle-button"),s=e.querySelector(".vb-toc-list"),i=e.querySelector(".vb-toc-separator");if(!t||!s)return;s.classList.contains("empty-toc");let a="true"===t.getAttribute("aria-expanded");const n=parseInt(s.dataset.collapseLimit||"0"),r=s.querySelectorAll(".vb-toc-item"),o=t.dataset.activeIcon,l=t.dataset.inactiveIcon,d=t.dataset.activetext,c=t.dataset.inactivetext,p=()=>{if(t.setAttribute("aria-expanded",a?"true":"false"),t.innerHTML=a?`${d||""}${o||""}`:`${c||""}${l||""}`,a?t.classList.add("vb-active"):t.classList.remove("vb-active"),0!==n||a?(s.style.display="grid",r.forEach(((e,t)=>{a||t<n?(e.style.display="list-item",e.setAttribute("aria-hidden","false"),e.classList.remove("is-collapsed")):(e.style.display="none",e.setAttribute("aria-hidden","true"),e.classList.add("is-collapsed"))}))):s.style.display="none",i){const e=a||n>0;i.style.display=e?"block":"none"}};p(),t.addEventListener("click",(()=>{a=!a,p()}))}))})),document.addEventListener("click",(function(e){const t=e.target.closest("a.vb-toc-link[data-scroll]");if(!t)return;e.preventDefault();const s=t.getAttribute("href");if(!s||!s.startsWith("#"))return;const i=document.querySelector(s);i&&window.scrollTo({top:i.getBoundingClientRect().top+window.pageYOffset-60,behavior:"smooth"})}))},4934:()=>{document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".unfold-inner").forEach((e=>{const t=e.getAttribute("data-content-show-event"),s="1"===e.getAttribute("data-hide-unfold-button"),i=e.querySelector(".unfold-content"),a=e.querySelector(".vb-bg-unfold-full-button"),n=e.querySelector(".unfold-button");function r(){const e=i.classList.contains("unfolded");i.classList.toggle("unfolded",!e);const t=a.classList.contains("unfolded");if(a.classList.toggle("unfolded",!t),n){const t=n.getAttribute("data-fold-text"),s=n.getAttribute("data-unfold-text"),i=n.querySelector(".btn-text");i&&(i.innerText=e?s:t);const a=n.querySelector(".btn-fold-icon"),r=n.querySelector(".btn-unfold-icon");a&&r&&(a.style.display=e?"none":"inline-flex",r.style.display=e?"inline-flex":"none"),n.setAttribute("aria-expanded",!e)}}i&&("contentclick"===t&&e.addEventListener("click",r),"contenthover"===t&&(e.addEventListener("mouseenter",(()=>{i.classList.add("unfolded"),a.classList.add("unfolded")})),e.addEventListener("mouseleave",(()=>{i.classList.remove("unfolded"),a.classList.remove("unfolded")}))),"buttonclick"!==t&&s||n&&n.addEventListener("click",(function(e){e.stopPropagation(),r()})))}))}))},8730:()=>{document.addEventListener("DOMContentLoaded",(()=>{const e=document.querySelector(".vayu_blocks-timeline__marker");if(e){const t=e.offsetTop,s=document.querySelector(".vayu-blocks-laytout-7-advance-timeline");s&&s.style.setProperty("--vb-value-top-icon",`${t}px`)}}))},9127:()=>{function e(e,t){const s=parseFloat(e.dataset.speed),i=parseInt(e.dataset.direction)||1,a=parseInt(e.dataset.start),n=parseInt(e.dataset.end),r=e.dataset.trigger,o=parseInt(e.dataset.top),l=parseInt(e.dataset.bottom),d=lottie.loadAnimation({container:e,renderer:"svg",loop:!0,autoplay:"none"===r,path:e.dataset.lottie});if(d.setSpeed(s),d.setDirection(i),d.playSegments([a,n],!1),"viewport"===r)window.addEventListener("scroll",(()=>{const t=e.getBoundingClientRect(),s=window.innerHeight,i=isNaN(o)?100:o,r=s*((isNaN(l)?0:l)/100),c=s*(i/100);t.top<c&&t.bottom>r&&d.playSegments([a,n],!0)}));else if("scroll"===r)window.addEventListener("scroll",(()=>{const t=e.getBoundingClientRect(),s=window.innerHeight,i=parseInt(e.dataset.top||"100"),a=parseInt(e.dataset.bottom||"0"),n=parseInt(e.dataset.start||"0"),r=parseInt(e.dataset.end||"100"),o=Math.floor((r-n)/2+n),l=s*(a/100),c=s*(i/100),p=t.top+t.height/2;if(t.bottom<l||t.top>c)return;const u=(p-l)/(c-l),m=Math.max(0,Math.min(1,u));if(m<.05)d.goToAndStop(n,!0);else if(m>=.05&&m<=.95){const e=n+(m-.05)/.9*(o-n);d.goToAndStop(e,!0)}else d.playSegments([o,r],!0)}));else if("click"===r){let t=!1;e.addEventListener("click",(()=>{t?(d.pause(),t=!1):(d.play(),t=!0)}))}else"hover"===r&&(e.addEventListener("mouseenter",(()=>{d.play()})),e.addEventListener("mouseleave",(()=>{d.pause()})));window[`lottie_${t}`]=d,e.lottieInstance=d}document.addEventListener("DOMContentLoaded",(()=>{const t=document.querySelectorAll(".vb-lottie-frontend");if("undefined"==typeof lottie){const s=document.createElement("script");s.src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.10.2/lottie.min.js",s.onload=()=>{t.forEach((t=>{const s=t.getAttribute("id");e(t,s)}))},document.body.appendChild(s)}else t.forEach((t=>{const s=t.getAttribute("id");e(t,s)}))}))},9941:()=>{document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".vayu-pin-first-wrap").forEach((e=>(e=>{let t=e.querySelector(".triangle-arrow");t||(t=document.createElement("div"),t.className="triangle-arrow",e.appendChild(t));const s=e.closest(".vayu-pin-spot-wrapper7").getAttribute("data-arrow")||"#444942";t.style.cssText=`\n position: absolute;\n width: 0;\n height: 0;\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n border-top: 10px solid ${s};\n `})(e))),document.querySelectorAll(".vayu-pin-spot-wrapper7.tooltip-onClick").forEach((e=>{e.addEventListener("click",(t=>{const s=e.querySelector(".vayu-pin-first-wrap");s&&s.classList.toggle("visible")}))}))}))}},t={};function s(i){var a=t[i];if(void 0!==a)return a.exports;var n=t[i]={exports:{}};return e[i](n,n.exports,s),n.exports}(()=>{"use strict";function e(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function t(s,i){void 0===s&&(s={}),void 0===i&&(i={});const a=["__proto__","constructor","prototype"];Object.keys(i).filter((e=>a.indexOf(e)<0)).forEach((a=>{void 0===s[a]?s[a]=i[a]:e(i[a])&&e(s[a])&&Object.keys(i[a]).length>0&&t(s[a],i[a])}))}const i={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 t(e,i),e}const n={document:i,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 r(){const e="undefined"!=typeof window?window:{};return t(e,n),e}function o(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}function l(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function d(){return Date.now()}function c(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function p(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const a=i<0||arguments.length<=i?void 0:arguments[i];if(null!=a&&(s=a,!("undefined"!=typeof window&&void 0!==window.HTMLElement?s instanceof HTMLElement:s&&(1===s.nodeType||11===s.nodeType)))){const s=Object.keys(Object(a)).filter((e=>t.indexOf(e)<0));for(let t=0,i=s.length;t<i;t+=1){const i=s[t],n=Object.getOwnPropertyDescriptor(a,i);void 0!==n&&n.enumerable&&(c(e[i])&&c(a[i])?a[i].__swiper__?e[i]=a[i]:p(e[i],a[i]):!c(e[i])&&c(a[i])?(e[i]={},a[i].__swiper__?e[i]=a[i]:p(e[i],a[i])):e[i]=a[i])}}}var s;return e}function u(e,t,s){e.style.setProperty(t,s)}function m(e){let{swiper:t,targetPosition:s,side:i}=e;const a=r(),n=-t.translate;let o,l=null;const d=t.params.speed;t.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(t.cssModeFrameID);const c=s>n?"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),r=.5-Math.cos(e*Math.PI)/2;let c=n+r*(s-n);if(p(c,s)&&(c=s),t.wrapperEl.scrollTo({[i]:c}),p(c,s))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[i]:c})})),void a.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=a.requestAnimationFrame(u)};u()}function f(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function h(e,t){void 0===t&&(t="");const s=r(),i=[...e.children];return s.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t?i.filter((e=>e.matches(t))):i}function g(e){try{return void console.warn(e)}catch(e){}}function v(e,t){void 0===t&&(t=[]);const s=document.createElement(e);return s.classList.add(...Array.isArray(t)?t:o(t)),s}function w(e){const t=r(),s=a(),i=e.getBoundingClientRect(),n=s.body,o=e.clientTop||n.clientTop||0,l=e.clientLeft||n.clientLeft||0,d=e===t?t.scrollY:e.scrollTop,c=e===t?t.scrollX:e.scrollLeft;return{top:i.top+d-o,left:i.left+c-l}}function b(e,t){return r().getComputedStyle(e,null).getPropertyValue(t)}function y(e){let t,s=e;if(s){for(t=0;null!==(s=s.previousSibling);)1===s.nodeType&&(t+=1);return t}}function E(e,t){const s=[];let i=e.parentElement;for(;i;)t?i.matches(t)&&s.push(i):s.push(i),i=i.parentElement;return s}function S(e,t){t&&e.addEventListener("transitionend",(function s(i){i.target===e&&(t.call(e,i),e.removeEventListener("transitionend",s))}))}function T(e,t,s){const i=r();return s?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function x(e){return(Array.isArray(e)?e:[e]).filter((e=>!!e))}function M(e){return t=>Math.abs(t)>0&&e.browser&&e.browser.need3dFix&&Math.abs(t)%90==0?t+.001:t}function L(e,t){void 0===t&&(t=""),"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let C,O,P;function k(){return C||(C=function(){const e=r(),t=a();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),C}function I(e){return void 0===e&&(e={}),O||(O=function(e){let{userAgent:t}=void 0===e?{}:e;const s=k(),i=r(),a=i.navigator.platform,n=t||i.navigator.userAgent,o={ios:!1,android:!1},l=i.screen.width,d=i.screen.height,c=n.match(/(Android);?[\s\/]+([\d.]+)?/);let p=n.match(/(iPad).*OS\s([\d_]+)/);const u=n.match(/(iPod)(.*OS\s([\d_]+))?/),m=!p&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===a;let h="MacIntel"===a;return!p&&h&&s.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${d}`)>=0&&(p=n.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),h=!1),c&&!f&&(o.os="android",o.android=!0),(p||m||u)&&(o.os="ios",o.ios=!0),o}(e)),O}function A(){return P||(P=function(){const e=r(),t=I();let s=!1;function i(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(i()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,i]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));s=e<16||16===e&&i<2}}const a=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),n=i();return{isSafari:s||n,needPerspectiveFix:s,need3dFix:n||a&&t.ios,isWebView:a}}()),P}var D={on(e,t,s){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const a=s?"unshift":"push";return e.split(" ").forEach((e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][a](t)})),i},once(e,t,s){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function a(){i.off(e,a),a.__emitterProxy&&delete a.__emitterProxy;for(var s=arguments.length,n=new Array(s),r=0;r<s;r++)n[r]=arguments[r];t.apply(i,n)}return a.__emitterProxy=t,i.on(e,a,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const i=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[i](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach(((i,a)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&s.eventsListeners[e].splice(a,1)}))})),s):s},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,s,i;for(var a=arguments.length,n=new Array(a),r=0;r<a;r++)n[r]=arguments[r];return"string"==typeof n[0]||Array.isArray(n[0])?(t=n[0],s=n.slice(1,n.length),i=e):(t=n[0].events,s=n[0].data,i=n[0].context||e),s.unshift(i),(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(i,[t,...s])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(i,s)}))})),e}};const z=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)},$=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)},B=(e,t)=>{if(!e||e.destroyed||!e.params)return;const s=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(s){let t=s.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(s.shadowRoot?t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{s.shadowRoot&&(t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},R=(e,t)=>{if(!e.slides[t])return;const s=e.slides[t].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")},q=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const s=e.slides.length;if(!s||!t||t<0)return;t=Math.min(t,s);const i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),a=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const s=a,n=[s-t];return n.push(...Array.from({length:t}).map(((e,t)=>s+i+t))),void e.slides.forEach(((t,s)=>{n.includes(t.column)&&R(e,s)}))}const n=a+i-1;if(e.params.rewind||e.params.loop)for(let i=a-t;i<=n+t;i+=1){const t=(i%s+s)%s;(t<a||t>n)&&R(e,t)}else for(let i=Math.max(a-t,0);i<=Math.min(n+t,s-1);i+=1)i!==a&&(i>n||i<a)&&R(e,i)};var H={updateSize:function(){const e=this;let t,s;const i=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:i.clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:i.clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(b(i,"padding-left")||0,10)-parseInt(b(i,"padding-right")||0,10),s=s-parseInt(b(i,"padding-top")||0,10)-parseInt(b(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))},updateSlides:function(){const e=this;function t(t,s){return parseFloat(t.getPropertyValue(e.getDirectionLabel(s))||0)}const s=e.params,{wrapperEl:i,slidesEl:a,size:n,rtlTranslate:r,wrongRTL:o}=e,l=e.virtual&&s.virtual.enabled,d=l?e.virtual.slides.length:e.slides.length,c=h(a,`.${e.params.slideClass}, swiper-slide`),p=l?e.virtual.slides.length:c.length;let m=[];const f=[],g=[];let v=s.slidesOffsetBefore;"function"==typeof v&&(v=s.slidesOffsetBefore.call(e));let w=s.slidesOffsetAfter;"function"==typeof w&&(w=s.slidesOffsetAfter.call(e));const y=e.snapGrid.length,E=e.slidesGrid.length;let S=s.spaceBetween,x=-v,M=0,L=0;if(void 0===n)return;"string"==typeof S&&S.indexOf("%")>=0?S=parseFloat(S.replace("%",""))/100*n:"string"==typeof S&&(S=parseFloat(S)),e.virtualSize=-S,c.forEach((e=>{r?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),s.centeredSlides&&s.cssMode&&(u(i,"--swiper-centered-offset-before",""),u(i,"--swiper-centered-offset-after",""));const C=s.grid&&s.grid.rows>1&&e.grid;let O;C?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();const P="auto"===s.slidesPerView&&s.breakpoints&&Object.keys(s.breakpoints).filter((e=>void 0!==s.breakpoints[e].slidesPerView)).length>0;for(let i=0;i<p;i+=1){let a;if(O=0,c[i]&&(a=c[i]),C&&e.grid.updateSlide(i,a,c),!c[i]||"none"!==b(a,"display")){if("auto"===s.slidesPerView){P&&(c[i].style[e.getDirectionLabel("width")]="");const n=getComputedStyle(a),r=a.style.transform,o=a.style.webkitTransform;if(r&&(a.style.transform="none"),o&&(a.style.webkitTransform="none"),s.roundLengths)O=e.isHorizontal()?T(a,"width",!0):T(a,"height",!0);else{const e=t(n,"width"),s=t(n,"padding-left"),i=t(n,"padding-right"),r=t(n,"margin-left"),o=t(n,"margin-right"),l=n.getPropertyValue("box-sizing");if(l&&"border-box"===l)O=e+r+o;else{const{clientWidth:t,offsetWidth:n}=a;O=e+s+i+r+o+(n-t)}}r&&(a.style.transform=r),o&&(a.style.webkitTransform=o),s.roundLengths&&(O=Math.floor(O))}else O=(n-(s.slidesPerView-1)*S)/s.slidesPerView,s.roundLengths&&(O=Math.floor(O)),c[i]&&(c[i].style[e.getDirectionLabel("width")]=`${O}px`);c[i]&&(c[i].swiperSlideSize=O),g.push(O),s.centeredSlides?(x=x+O/2+M/2+S,0===M&&0!==i&&(x=x-n/2-S),0===i&&(x=x-n/2-S),Math.abs(x)<.001&&(x=0),s.roundLengths&&(x=Math.floor(x)),L%s.slidesPerGroup===0&&m.push(x),f.push(x)):(s.roundLengths&&(x=Math.floor(x)),(L-Math.min(e.params.slidesPerGroupSkip,L))%e.params.slidesPerGroup===0&&m.push(x),f.push(x),x=x+O+S),e.virtualSize+=O+S,M=O,L+=1}}if(e.virtualSize=Math.max(e.virtualSize,n)+w,r&&o&&("slide"===s.effect||"coverflow"===s.effect)&&(i.style.width=`${e.virtualSize+S}px`),s.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=`${e.virtualSize+S}px`),C&&e.grid.updateWrapperSize(O,m),!s.centeredSlides){const t=[];for(let i=0;i<m.length;i+=1){let a=m[i];s.roundLengths&&(a=Math.floor(a)),m[i]<=e.virtualSize-n&&t.push(a)}m=t,Math.floor(e.virtualSize-n)-Math.floor(m[m.length-1])>1&&m.push(e.virtualSize-n)}if(l&&s.loop){const t=g[0]+S;if(s.slidesPerGroup>1){const i=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/s.slidesPerGroup),a=t*s.slidesPerGroup;for(let e=0;e<i;e+=1)m.push(m[m.length-1]+a)}for(let i=0;i<e.virtual.slidesBefore+e.virtual.slidesAfter;i+=1)1===s.slidesPerGroup&&m.push(m[m.length-1]+t),f.push(f[f.length-1]+t),e.virtualSize+=t}if(0===m.length&&(m=[0]),0!==S){const t=e.isHorizontal()&&r?"marginLeft":e.getDirectionLabel("marginRight");c.filter(((e,t)=>!(s.cssMode&&!s.loop)||t!==c.length-1)).forEach((e=>{e.style[t]=`${S}px`}))}if(s.centeredSlides&&s.centeredSlidesBounds){let e=0;g.forEach((t=>{e+=t+(S||0)})),e-=S;const t=e>n?e-n:0;m=m.map((e=>e<=0?-v:e>t?t+w:e))}if(s.centerInsufficientSlides){let e=0;g.forEach((t=>{e+=t+(S||0)})),e-=S;const t=(s.slidesOffsetBefore||0)+(s.slidesOffsetAfter||0);if(e+t<n){const s=(n-e-t)/2;m.forEach(((e,t)=>{m[t]=e-s})),f.forEach(((e,t)=>{f[t]=e+s}))}}if(Object.assign(e,{slides:c,snapGrid:m,slidesGrid:f,slidesSizesGrid:g}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){u(i,"--swiper-centered-offset-before",-m[0]+"px"),u(i,"--swiper-centered-offset-after",e.size/2-g[g.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(p!==d&&e.emit("slidesLengthChange"),m.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==E&&e.emit("slidesGridLengthChange"),s.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||s.cssMode||"slide"!==s.effect&&"fade"!==s.effect)){const t=`${s.containerModifierClass}backface-hidden`,i=e.el.classList.contains(t);p<=s.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,s=[],i=t.virtual&&t.params.virtual.enabled;let a,n=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const r=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=>{s.push(e)}));else for(a=0;a<Math.ceil(t.params.slidesPerView);a+=1){const e=t.activeIndex+a;if(e>t.slides.length&&!i)break;s.push(r(e))}else s.push(r(t.activeIndex));for(a=0;a<s.length;a+=1)if(void 0!==s[a]){const e=s[a].offsetHeight;n=e>n?e:n}(n||0===n)&&(t.wrapperEl.style.height=`${n}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,s=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)-s-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,s=t.params,{slides:i,rtlTranslate:a,snapGrid:n}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let r=-e;a&&(r=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let o=s.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;s.cssMode&&s.centeredSlides&&(d-=i[0].swiperSlideOffset);const c=(r+(s.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o),p=(r-n[0]+(s.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o),u=-(r-d),m=u+t.slidesSizesGrid[e],f=u>=0&&u<=t.size-t.slidesSizesGrid[e],h=u>=0&&u<t.size-1||m>1&&m<=t.size||u<=0&&m>=t.size;h&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),z(l,h,s.slideVisibleClass),z(l,f,s.slideFullyVisibleClass),l.progress=a?-c:c,l.originalProgress=a?-p:p}},updateProgress:function(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:a,isBeginning:n,isEnd:r,progressLoop:o}=t;const l=n,d=r;if(0===i)a=0,n=!0,r=!0;else{a=(e-t.minTranslate())/i;const s=Math.abs(e-t.minTranslate())<1,o=Math.abs(e-t.maxTranslate())<1;n=s||a<=0,r=o||a>=1,s&&(a=0),o&&(a=1)}if(s.loop){const s=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),a=t.slidesGrid[s],n=t.slidesGrid[i],r=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);o=l>=a?(l-a)/r:(l+r-n)/r,o>1&&(o-=1)}Object.assign(t,{progress:a,progressLoop:o,isBeginning:n,isEnd:r}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),n&&!l&&t.emit("reachBeginning toEdge"),r&&!d&&t.emit("reachEnd toEdge"),(l&&!n||d&&!r)&&t.emit("fromEdge"),t.emit("progress",a)},updateSlidesClasses:function(){const e=this,{slides:t,params:s,slidesEl:i,activeIndex:a}=e,n=e.virtual&&s.virtual.enabled,r=e.grid&&s.grid&&s.grid.rows>1,o=e=>h(i,`.${s.slideClass}${e}, swiper-slide${e}`)[0];let l,d,c;if(n)if(s.loop){let t=a-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=o(`[data-swiper-slide-index="${t}"]`)}else l=o(`[data-swiper-slide-index="${a}"]`);else r?(l=t.find((e=>e.column===a)),c=t.find((e=>e.column===a+1)),d=t.find((e=>e.column===a-1))):l=t[a];l&&(r||(c=function(e,t){const s=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;t?i.matches(t)&&s.push(i):s.push(i),e=i}return s}(l,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!c&&(c=t[0]),d=function(e,t){const s=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;t?i.matches(t)&&s.push(i):s.push(i),e=i}return s}(l,`.${s.slideClass}, swiper-slide`)[0],s.loop&&0===!d&&(d=t[t.length-1]))),t.forEach((e=>{$(e,e===l,s.slideActiveClass),$(e,e===c,s.slideNextClass),$(e,e===d,s.slidePrevClass)})),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:a,activeIndex:n,realIndex:r,snapIndex:o}=t;let l,d=e;const c=e=>{let s=e-t.virtual.slidesBefore;return s<0&&(s=t.virtual.slides.length+s),s>=t.virtual.slides.length&&(s-=t.virtual.slides.length),s};if(void 0===d&&(d=function(e){const{slidesGrid:t,params:s}=e,i=e.rtlTranslate?e.translate:-e.translate;let a;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?a=e:i>=t[e]&&i<t[e+1]&&(a=e+1):i>=t[e]&&(a=e);return s.normalizeSlideIndex&&(a<0||void 0===a)&&(a=0),a}(t)),i.indexOf(s)>=0)l=i.indexOf(s);else{const e=Math.min(a.slidesPerGroupSkip,d);l=e+Math.floor((d-e)/a.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&&a.grid&&a.grid.rows>1;let u;if(t.virtual&&a.virtual.enabled&&a.loop)u=c(d);else if(p){const e=t.slides.find((e=>e.column===d));let s=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(s)&&(s=Math.max(t.slides.indexOf(e),0)),u=Math.floor(s/a.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:r,realIndex:u,previousIndex:n,activeIndex:d}),t.initialized&&q(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(r!==u&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const s=this,i=s.params;let a=e.closest(`.${i.slideClass}, swiper-slide`);!a&&s.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!a&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(a=e)}));let n,r=!1;if(a)for(let e=0;e<s.slides.length;e+=1)if(s.slides[e]===a){r=!0,n=e;break}if(!a||!r)return s.clickedSlide=void 0,void(s.clickedIndex=void 0);s.clickedSlide=a,s.virtual&&s.params.virtual.enabled?s.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):s.clickedIndex=n,i.slideToClickedSlide&&void 0!==s.clickedIndex&&s.clickedIndex!==s.activeIndex&&s.slideToClickedSlide()}},V={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:s,translate:i,wrapperEl:a}=this;if(t.virtualTranslate)return s?-i:i;if(t.cssMode)return i;let n=function(e,t){void 0===t&&(t="x");const s=r();let i,a,n;const o=function(e){const t=r();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(a=o.transform||o.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map((e=>e.replace(",","."))).join(", ")),n=new s.WebKitCSSMatrix("none"===a?"":a)):(n=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=n.toString().split(",")),"x"===t&&(a=s.WebKitCSSMatrix?n.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(a=s.WebKitCSSMatrix?n.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),a||0}(a,e);return n+=this.cssOverflowAdjustment(),s&&(n=-n),n||0},setTranslate:function(e,t){const s=this,{rtlTranslate:i,params:a,wrapperEl:n,progress:r}=s;let o,l=0,d=0;s.isHorizontal()?l=i?-e:e:d=e,a.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?l:d,a.cssMode?n[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-l:-d:a.virtualTranslate||(s.isHorizontal()?l-=s.cssOverflowAdjustment():d-=s.cssOverflowAdjustment(),n.style.transform=`translate3d(${l}px, ${d}px, 0px)`);const c=s.maxTranslate()-s.minTranslate();o=0===c?0:(e-s.minTranslate())/c,o!==r&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,s,i,a){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),void 0===i&&(i=!0);const n=this,{params:r,wrapperEl:o}=n;if(n.animating&&r.preventInteractionOnTransition)return!1;const l=n.minTranslate(),d=n.maxTranslate();let c;if(c=i&&e>l?l:i&&e<d?d:e,n.updateProgress(c),r.cssMode){const e=n.isHorizontal();if(0===t)o[e?"scrollLeft":"scrollTop"]=-c;else{if(!n.support.smoothScroll)return m({swiper:n,targetPosition:-c,side:e?"left":"top"}),!0;o.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"})}return!0}return 0===t?(n.setTransition(0),n.setTranslate(c),s&&(n.emit("beforeTransitionStart",t,a),n.emit("transitionEnd"))):(n.setTransition(t),n.setTranslate(c),s&&(n.emit("beforeTransitionStart",t,a),n.emit("transitionStart")),n.animating||(n.animating=!0,n.onTranslateToWrapperTransitionEnd||(n.onTranslateToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onTranslateToWrapperTransitionEnd),n.onTranslateToWrapperTransitionEnd=null,delete n.onTranslateToWrapperTransitionEnd,n.animating=!1,s&&n.emit("transitionEnd"))}),n.wrapperEl.addEventListener("transitionend",n.onTranslateToWrapperTransitionEnd))),!0}};function G(e){let{swiper:t,runCallbacks:s,direction:i,step:a}=e;const{activeIndex:n,previousIndex:r}=t;let o=i;o||(o=n>r?"next":n<r?"prev":"reset"),t.emit(`transition${a}`),s&&"reset"===o?t.emit(`slideResetTransition${a}`):s&&n!==r&&(t.emit(`slideChangeTransition${a}`),"next"===o?t.emit(`slideNextTransition${a}`):t.emit(`slidePrevTransition${a}`))}var F={slideTo:function(e,t,s,i,a){void 0===e&&(e=0),void 0===s&&(s=!0),"string"==typeof e&&(e=parseInt(e,10));const n=this;let r=e;r<0&&(r=0);const{params:o,snapGrid:l,slidesGrid:d,previousIndex:c,activeIndex:p,rtlTranslate:u,wrapperEl:f,enabled:h}=n;if(!h&&!i&&!a||n.destroyed||n.animating&&o.preventInteractionOnTransition)return!1;void 0===t&&(t=n.params.speed);const g=Math.min(n.params.slidesPerGroupSkip,r);let v=g+Math.floor((r-g)/n.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const w=-l[v];if(o.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){const t=-Math.floor(100*w),s=Math.floor(100*d[e]),i=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=s&&t<i-(i-s)/2?r=e:t>=s&&t<i&&(r=e+1):t>=s&&(r=e)}if(n.initialized&&r!==p){if(!n.allowSlideNext&&(u?w>n.translate&&w>n.minTranslate():w<n.translate&&w<n.minTranslate()))return!1;if(!n.allowSlidePrev&&w>n.translate&&w>n.maxTranslate()&&(p||0)!==r)return!1}let b;r!==(c||0)&&s&&n.emit("beforeSlideChangeStart"),n.updateProgress(w),b=r>p?"next":r<p?"prev":"reset";const y=n.virtual&&n.params.virtual.enabled;if((!y||!a)&&(u&&-w===n.translate||!u&&w===n.translate))return n.updateActiveIndex(r),o.autoHeight&&n.updateAutoHeight(),n.updateSlidesClasses(),"slide"!==o.effect&&n.setTranslate(w),"reset"!==b&&(n.transitionStart(s,b),n.transitionEnd(s,b)),!1;if(o.cssMode){const e=n.isHorizontal(),s=u?w:-w;if(0===t)y&&(n.wrapperEl.style.scrollSnapType="none",n._immediateVirtual=!0),y&&!n._cssModeVirtualInitialSet&&n.params.initialSlide>0?(n._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{f[e?"scrollLeft":"scrollTop"]=s}))):f[e?"scrollLeft":"scrollTop"]=s,y&&requestAnimationFrame((()=>{n.wrapperEl.style.scrollSnapType="",n._immediateVirtual=!1}));else{if(!n.support.smoothScroll)return m({swiper:n,targetPosition:s,side:e?"left":"top"}),!0;f.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}const E=A().isSafari;return y&&!a&&E&&n.isElement&&n.virtual.update(!1,!1,r),n.setTransition(t),n.setTranslate(w),n.updateActiveIndex(r),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,i),n.transitionStart(s,b),0===t?n.transitionEnd(s,b):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(s,b))}),n.wrapperEl.addEventListener("transitionend",n.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,s,i){void 0===e&&(e=0),void 0===s&&(s=!0),"string"==typeof e&&(e=parseInt(e,10));const a=this;if(a.destroyed)return;void 0===t&&(t=a.params.speed);const n=a.grid&&a.params.grid&&a.params.grid.rows>1;let r=e;if(a.params.loop)if(a.virtual&&a.params.virtual.enabled)r+=a.virtual.slidesBefore;else{let e;if(n){const t=r*a.params.grid.rows;e=a.slides.find((e=>1*e.getAttribute("data-swiper-slide-index")===t)).column}else e=a.getSlideIndexByData(r);const t=n?Math.ceil(a.slides.length/a.params.grid.rows):a.slides.length,{centeredSlides:s}=a.params;let o=a.params.slidesPerView;"auto"===o?o=a.slidesPerViewDynamic():(o=Math.ceil(parseFloat(a.params.slidesPerView,10)),s&&o%2==0&&(o+=1));let l=t-e<o;if(s&&(l=l||e<Math.ceil(o/2)),i&&s&&"auto"!==a.params.slidesPerView&&!n&&(l=!1),l){const i=s?e<a.activeIndex?"prev":"next":e-a.activeIndex-1<a.params.slidesPerView?"next":"prev";a.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?e+1:e-t+1,slideRealIndex:"next"===i?a.realIndex:void 0})}if(n){const e=r*a.params.grid.rows;r=a.slides.find((t=>1*t.getAttribute("data-swiper-slide-index")===e)).column}else r=a.getSlideIndexByData(r)}return requestAnimationFrame((()=>{a.slideTo(r,t,s,i)})),a},slideNext:function(e,t,s){void 0===t&&(t=!0);const i=this,{enabled:a,params:n,animating:r}=i;if(!a||i.destroyed)return i;void 0===e&&(e=i.params.speed);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(r&&!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,s)})),!0}return n.rewind&&i.isEnd?i.slideTo(0,e,t,s):i.slideTo(i.activeIndex+l,e,t,s)},slidePrev:function(e,t,s){void 0===t&&(t=!0);const i=this,{params:a,snapGrid:n,slidesGrid:r,rtlTranslate:o,enabled:l,animating:d}=i;if(!l||i.destroyed)return i;void 0===e&&(e=i.params.speed);const c=i.virtual&&a.virtual.enabled;if(a.loop){if(d&&!c&&a.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),m=n.map((e=>p(e))),f=a.freeMode&&a.freeMode.enabled;let h=n[m.indexOf(u)-1];if(void 0===h&&(a.cssMode||f)){let e;n.forEach(((t,s)=>{u>=t&&(e=s)})),void 0!==e&&(h=f?n[e]:n[e>0?e-1:e])}let g=0;if(void 0!==h&&(g=r.indexOf(h),g<0&&(g=i.activeIndex-1),"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(g=g-i.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),a.rewind&&i.isBeginning){const a=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(a,e,t,s)}return a.loop&&0===i.activeIndex&&a.cssMode?(requestAnimationFrame((()=>{i.slideTo(g,e,t,s)})),!0):i.slideTo(g,e,t,s)},slideReset:function(e,t,s){void 0===t&&(t=!0);const i=this;if(!i.destroyed)return void 0===e&&(e=i.params.speed),i.slideTo(i.activeIndex,e,t,s)},slideToClosest:function(e,t,s,i){void 0===t&&(t=!0),void 0===i&&(i=.5);const a=this;if(a.destroyed)return;void 0===e&&(e=a.params.speed);let n=a.activeIndex;const r=Math.min(a.params.slidesPerGroupSkip,n),o=r+Math.floor((n-r)/a.params.slidesPerGroup),l=a.rtlTranslate?a.translate:-a.translate;if(l>=a.snapGrid[o]){const e=a.snapGrid[o];l-e>(a.snapGrid[o+1]-e)*i&&(n+=a.params.slidesPerGroup)}else{const e=a.snapGrid[o-1];l-e<=(a.snapGrid[o]-e)*i&&(n-=a.params.slidesPerGroup)}return n=Math.max(n,0),n=Math.min(n,a.slidesGrid.length-1),a.slideTo(n,e,t,s)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:s}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let a,n=e.clickedIndex;const r=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;a=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?n<e.loopedSlides-i/2||n>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),n=e.getSlideIndex(h(s,`${r}[data-swiper-slide-index="${a}"]`)[0]),l((()=>{e.slideTo(n)}))):e.slideTo(n):n>e.slides.length-i?(e.loopFix(),n=e.getSlideIndex(h(s,`${r}[data-swiper-slide-index="${a}"]`)[0]),l((()=>{e.slideTo(n)}))):e.slideTo(n)}else e.slideTo(n)}},_={loopCreate:function(e,t){const s=this,{params:i,slidesEl:a}=s;if(!i.loop||s.virtual&&s.params.virtual.enabled)return;const n=()=>{h(a,`.${i.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},r=s.grid&&i.grid&&i.grid.rows>1,o=i.slidesPerGroup*(r?i.grid.rows:1),l=s.slides.length%o!==0,d=r&&s.slides.length%i.grid.rows!==0,c=e=>{for(let t=0;t<e;t+=1){const e=s.isElement?v("swiper-slide",[i.slideBlankClass]):v("div",[i.slideClass,i.slideBlankClass]);s.slidesEl.append(e)}};l?(i.loopAddBlankSlides?(c(o-s.slides.length%o),s.recalcSlides(),s.updateSlides()):g("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()):d?(i.loopAddBlankSlides?(c(i.grid.rows-s.slides.length%i.grid.rows),s.recalcSlides(),s.updateSlides()):g("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()):n(),s.loopFix({slideRealIndex:e,direction:i.centeredSlides?void 0:"next",initial:t})},loopFix:function(e){let{slideRealIndex:t,slideTo:s=!0,direction:i,setTranslate:a,activeSlideIndex:n,initial:r,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:m,params:f}=d,{centeredSlides:h,initialSlide:v}=f;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&f.virtual.enabled)return s&&(f.centeredSlides||0!==d.snapIndex?f.centeredSlides&&d.snapIndex<f.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 w=f.slidesPerView;"auto"===w?w=d.slidesPerViewDynamic():(w=Math.ceil(parseFloat(f.slidesPerView,10)),h&&w%2==0&&(w+=1));const b=f.slidesPerGroupAuto?w:f.slidesPerGroup;let y=b;y%b!==0&&(y+=b-y%b),y+=f.loopAdditionalSlides,d.loopedSlides=y;const E=d.grid&&f.grid&&f.grid.rows>1;c.length<w+y||"cards"===d.params.effect&&c.length<w+2*y?g("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):E&&"row"===f.grid.fill&&g("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const S=[],T=[],x=E?Math.ceil(c.length/f.grid.rows):c.length,M=r&&x-v<w&&!h;let L=M?v:d.activeIndex;void 0===n?n=d.getSlideIndex(c.find((e=>e.classList.contains(f.slideActiveClass)))):L=n;const C="next"===i||!i,O="prev"===i||!i;let P=0,k=0;const I=(E?c[n].column:n)+(h&&void 0===a?-w/2+.5:0);if(I<y){P=Math.max(y-I,b);for(let e=0;e<y-I;e+=1){const t=e-Math.floor(e/x)*x;if(E){const e=x-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&S.push(t)}else S.push(x-t-1)}}else if(I+w>x-y){k=Math.max(I-(x-2*y),b),M&&(k=Math.max(k,w-x+v+1));for(let e=0;e<k;e+=1){const t=e-Math.floor(e/x)*x;E?c.forEach(((e,s)=>{e.column===t&&T.push(s)})):T.push(t)}}if(d.__preventObserver__=!0,requestAnimationFrame((()=>{d.__preventObserver__=!1})),"cards"===d.params.effect&&c.length<w+2*y&&(T.includes(n)&&T.splice(T.indexOf(n),1),S.includes(n)&&S.splice(S.indexOf(n),1)),O&&S.forEach((e=>{c[e].swiperLoopMoveDOM=!0,m.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),C&&T.forEach((e=>{c[e].swiperLoopMoveDOM=!0,m.append(c[e]),c[e].swiperLoopMoveDOM=!1})),d.recalcSlides(),"auto"===f.slidesPerView?d.updateSlides():E&&(S.length>0&&O||T.length>0&&C)&&d.slides.forEach(((e,t)=>{d.grid.updateSlide(t,e,d.slides)})),f.watchSlidesProgress&&d.updateSlidesOffset(),s)if(S.length>0&&O){if(void 0===t){const e=d.slidesGrid[L],t=d.slidesGrid[L+P]-e;l?d.setTranslate(d.translate-t):(d.slideTo(L+Math.ceil(P),0,!1,!0),a&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else if(a){const e=E?S.length/f.grid.rows:S.length;d.slideTo(d.activeIndex+e,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(T.length>0&&C)if(void 0===t){const e=d.slidesGrid[L],t=d.slidesGrid[L-k]-e;l?d.setTranslate(d.translate-t):(d.slideTo(L-k,0,!1,!0),a&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else{const e=E?T.length/f.grid.rows:T.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:a,activeSlideIndex:n,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===f.slidesPerView&&s})})):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...e,slideTo:d.controller.control.params.slidesPerView===f.slidesPerView&&s})}d.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:s}=e;if(!t.loop||!s||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=>{s.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function N(e,t,s){const i=r(),{params:a}=e,n=a.edgeSwipeDetection,o=a.edgeSwipeThreshold;return!n||!(s<=o||s>=i.innerWidth-o)||"prevent"===n&&(t.preventDefault(),!0)}function X(e){const t=this,s=a();let i=e;i.originalEvent&&(i=i.originalEvent);const n=t.touchEventsData;if("pointerdown"===i.type){if(null!==n.pointerId&&n.pointerId!==i.pointerId)return;n.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(n.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void N(t,i,i.targetTouches[0].pageX);const{params:o,touches:l,enabled:c}=t;if(!c)return;if(!o.simulateTouch&&"mouse"===i.pointerType)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let p=i.target;if("wrapper"===o.touchEventsTarget&&!function(e,t){const s=r();let i=t.contains(e);return!i&&s.HTMLSlotElement&&t instanceof HTMLSlotElement&&(i=[...t.assignedElements()].includes(e),i||(i=function(e,t){const s=[t];for(;s.length>0;){const t=s.shift();if(e===t)return!0;s.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t))),i}(p,t.wrapperEl))return;if("which"in i&&3===i.which)return;if("button"in i&&i.button>0)return;if(n.isTouched&&n.isMoved)return;const u=!!o.noSwipingClass&&""!==o.noSwipingClass,m=i.composedPath?i.composedPath():i.path;u&&i.target&&i.target.shadowRoot&&m&&(p=m[0]);const f=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,h=!(!i.target||!i.target.shadowRoot);if(o.noSwiping&&(h?function(e,t){return void 0===t&&(t=this),function t(s){if(!s||s===a()||s===r())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(e);return i||s.getRootNode?i||t(s.getRootNode().host):null}(t)}(f,p):p.closest(f)))return void(t.allowClick=!0);if(o.swipeHandler&&!p.closest(o.swipeHandler))return;l.currentX=i.pageX,l.currentY=i.pageY;const g=l.currentX,v=l.currentY;if(!N(t,i,g))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=g,l.startY=v,n.touchStartTime=d(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(n.allowThresholdMove=!1);let w=!0;p.matches(n.focusableElements)&&(w=!1,"SELECT"===p.nodeName&&(n.isTouched=!1)),s.activeElement&&s.activeElement.matches(n.focusableElements)&&s.activeElement!==p&&("mouse"===i.pointerType||"mouse"!==i.pointerType&&!p.matches(n.focusableElements))&&s.activeElement.blur();const b=w&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!b||p.isContentEditable||i.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",i)}function j(e){const t=a(),s=this,i=s.touchEventsData,{params:n,touches:r,rtlTranslate:o,enabled:l}=s;if(!l)return;if(!n.simulateTouch&&"mouse"===e.pointerType)return;let c,p=e;if(p.originalEvent&&(p=p.originalEvent),"pointermove"===p.type){if(null!==i.touchId)return;if(p.pointerId!==i.pointerId)return}if("touchmove"===p.type){if(c=[...p.changedTouches].find((e=>e.identifier===i.touchId)),!c||c.identifier!==i.touchId)return}else c=p;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&s.emit("touchMoveOpposite",p));const u=c.pageX,m=c.pageY;if(p.preventedByNestedSwiper)return r.startX=u,void(r.startY=m);if(!s.allowTouchMove)return p.target.matches(i.focusableElements)||(s.allowClick=!1),void(i.isTouched&&(Object.assign(r,{startX:u,startY:m,currentX:u,currentY:m}),i.touchStartTime=d()));if(n.touchReleaseOnEdges&&!n.loop)if(s.isVertical()){if(m<r.startY&&s.translate<=s.maxTranslate()||m>r.startY&&s.translate>=s.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else{if(o&&(u>r.startX&&-s.translate<=s.maxTranslate()||u<r.startX&&-s.translate>=s.minTranslate()))return;if(!o&&(u<r.startX&&s.translate<=s.maxTranslate()||u>r.startX&&s.translate>=s.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==p.target&&"mouse"!==p.pointerType&&t.activeElement.blur(),t.activeElement&&p.target===t.activeElement&&p.target.matches(i.focusableElements))return i.isMoved=!0,void(s.allowClick=!1);i.allowTouchCallbacks&&s.emit("touchMove",p),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=u,r.currentY=m;const f=r.currentX-r.startX,h=r.currentY-r.startY;if(s.params.threshold&&Math.sqrt(f**2+h**2)<s.params.threshold)return;if(void 0===i.isScrolling){let e;s.isHorizontal()&&r.currentY===r.startY||s.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:f*f+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(f))/Math.PI,i.isScrolling=s.isHorizontal()?e>n.touchAngle:90-e>n.touchAngle)}if(i.isScrolling&&s.emit("touchMoveOpposite",p),void 0===i.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling||"touchmove"===p.type&&i.preventTouchMoveFromPointerMove)return void(i.isTouched=!1);if(!i.startMoving)return;s.allowClick=!1,!n.cssMode&&p.cancelable&&p.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&p.stopPropagation();let g=s.isHorizontal()?f:h,v=s.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;n.oneWayMovement&&(g=Math.abs(g)*(o?1:-1),v=Math.abs(v)*(o?1:-1)),r.diff=g,g*=n.touchRatio,o&&(g=-g,v=-v);const w=s.touchesDirection;s.swipeDirection=g>0?"prev":"next",s.touchesDirection=v>0?"prev":"next";const b=s.params.loop&&!n.cssMode,y="next"===s.touchesDirection&&s.allowSlideNext||"prev"===s.touchesDirection&&s.allowSlidePrev;if(!i.isMoved){if(b&&y&&s.loopFix({direction:s.swipeDirection}),i.startTranslate=s.getTranslate(),s.setTransition(0),s.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});s.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,!n.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",p)}if((new Date).getTime(),!1!==n._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&w!==s.touchesDirection&&b&&y&&Math.abs(g)>=1)return Object.assign(r,{startX:u,startY:m,currentX:u,currentY:m,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);s.emit("sliderMove",p),i.isMoved=!0,i.currentTranslate=g+i.startTranslate;let E=!0,S=n.resistanceRatio;if(n.touchReleaseOnEdges&&(S=0),g>0?(b&&y&&i.allowThresholdMove&&i.currentTranslate>(n.centeredSlides?s.minTranslate()-s.slidesSizesGrid[s.activeIndex+1]-("auto"!==n.slidesPerView&&s.slides.length-n.slidesPerView>=2?s.slidesSizesGrid[s.activeIndex+1]+s.params.spaceBetween:0)-s.params.spaceBetween:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>s.minTranslate()&&(E=!1,n.resistance&&(i.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+i.startTranslate+g)**S))):g<0&&(b&&y&&i.allowThresholdMove&&i.currentTranslate<(n.centeredSlides?s.maxTranslate()+s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween+("auto"!==n.slidesPerView&&s.slides.length-n.slidesPerView>=2?s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween:0):s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-("auto"===n.slidesPerView?s.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),i.currentTranslate<s.maxTranslate()&&(E=!1,n.resistance&&(i.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-i.startTranslate-g)**S))),E&&(p.preventedByNestedSwiper=!0),!s.allowSlideNext&&"next"===s.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!s.allowSlidePrev&&"prev"===s.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),s.allowSlidePrev||s.allowSlideNext||(i.currentTranslate=i.startTranslate),n.threshold>0){if(!(Math.abs(g)>n.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=s.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}n.followFinger&&!n.cssMode&&((n.freeMode&&n.freeMode.enabled&&s.freeMode||n.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(i.currentTranslate),s.setTranslate(i.currentTranslate))}function Y(e){const t=this,s=t.touchEventsData;let i,a=e;if(a.originalEvent&&(a=a.originalEvent),"touchend"===a.type||"touchcancel"===a.type){if(i=[...a.changedTouches].find((e=>e.identifier===s.touchId)),!i||i.identifier!==s.touchId)return}else{if(null!==s.touchId)return;if(a.pointerId!==s.pointerId)return;i=a}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)&&(!["pointercancel","contextmenu"].includes(a.type)||!t.browser.isSafari&&!t.browser.isWebView))return;s.pointerId=null,s.touchId=null;const{params:n,touches:r,rtlTranslate:o,slidesGrid:c,enabled:p}=t;if(!p)return;if(!n.simulateTouch&&"mouse"===a.pointerType)return;if(s.allowTouchCallbacks&&t.emit("touchEnd",a),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&n.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);n.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=d(),m=u-s.touchStartTime;if(t.allowClick){const e=a.path||a.composedPath&&a.composedPath();t.updateClickedSlide(e&&e[0]||a.target,e),t.emit("tap click",a),m<300&&u-s.lastClickTime<300&&t.emit("doubleTap doubleClick",a)}if(s.lastClickTime=d(),l((()=>{t.destroyed||(t.allowClick=!0)})),!s.isTouched||!s.isMoved||!t.swipeDirection||0===r.diff&&!s.loopSwapReset||s.currentTranslate===s.startTranslate&&!s.loopSwapReset)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let f;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,f=n.followFinger?o?t.translate:-t.translate:-s.currentTranslate,n.cssMode)return;if(n.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:f});const h=f>=-t.maxTranslate()&&!t.params.loop;let g=0,v=t.slidesSizesGrid[0];for(let e=0;e<c.length;e+=e<n.slidesPerGroupSkip?1:n.slidesPerGroup){const t=e<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==c[e+t]?(h||f>=c[e]&&f<c[e+t])&&(g=e,v=c[e+t]-c[e]):(h||f>=c[e])&&(g=e,v=c[c.length-1]-c[c.length-2])}let w=null,b=null;n.rewind&&(t.isBeginning?b=n.virtual&&n.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(w=0));const y=(f-c[g])/v,E=g<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(m>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(y>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?w:g+E):t.slideTo(g)),"prev"===t.swipeDirection&&(y>1-n.longSwipesRatio?t.slideTo(g+E):null!==b&&y<0&&Math.abs(y)>n.longSwipesRatio?t.slideTo(b):t.slideTo(g))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||a.target!==t.navigation.nextEl&&a.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==w?w:g+E),"prev"===t.swipeDirection&&t.slideTo(null!==b?b:g)):a.target===t.navigation.nextEl?t.slideTo(g+E):t.slideTo(g)}}function W(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:a,snapGrid:n}=e,r=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const o=r&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!r?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=a,e.allowSlideNext=i,e.params.watchOverflow&&n!==e.snapGrid&&e.checkOverflow()}function U(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function K(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:i}=e;if(!i)return;let a;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();a=0===n?0:(e.translate-e.minTranslate())/n,a!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function J(e){const t=this;B(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function Q(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const Z=(e,t)=>{const s=a(),{params:i,el:n,wrapperEl:r,device:o}=e,l=!!i.nested,d="on"===t?"addEventListener":"removeEventListener",c=t;n&&"string"!=typeof n&&(s[d]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),n[d]("touchstart",e.onTouchStart,{passive:!1}),n[d]("pointerdown",e.onTouchStart,{passive:!1}),s[d]("touchmove",e.onTouchMove,{passive:!1,capture:l}),s[d]("pointermove",e.onTouchMove,{passive:!1,capture:l}),s[d]("touchend",e.onTouchEnd,{passive:!0}),s[d]("pointerup",e.onTouchEnd,{passive:!0}),s[d]("pointercancel",e.onTouchEnd,{passive:!0}),s[d]("touchcancel",e.onTouchEnd,{passive:!0}),s[d]("pointerout",e.onTouchEnd,{passive:!0}),s[d]("pointerleave",e.onTouchEnd,{passive:!0}),s[d]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&n[d]("click",e.onClick,!0),i.cssMode&&r[d]("scroll",e.onScroll),i.updateOnWindowResize?e[c](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",W,!0):e[c]("observerUpdate",W,!0),n[d]("load",e.onLoad,{capture:!0}))},ee=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var te={setBreakpoint:function(){const e=this,{realIndex:t,initialized:s,params:i,el:n}=e,r=i.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const o=a(),l="window"!==i.breakpointsBase&&i.breakpointsBase?"container":i.breakpointsBase,d=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:o.querySelector(i.breakpointsBase),c=e.getBreakpoint(r,l,d);if(!c||e.currentBreakpoint===c)return;const u=(c in r?r[c]:void 0)||e.originalParams,m=ee(e,i),f=ee(e,u),h=e.params.grabCursor,g=u.grabCursor,v=i.enabled;m&&!f?(n.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!m&&f&&(n.classList.add(`${i.containerModifierClass}grid`),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===i.grid.fill)&&n.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),h&&!g?e.unsetGrabCursor():!h&&g&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===u[t])return;const s=i[t]&&i[t].enabled,a=u[t]&&u[t].enabled;s&&!a&&e[t].disable(),!s&&a&&e[t].enable()}));const w=u.direction&&u.direction!==i.direction,b=i.loop&&(u.slidesPerView!==i.slidesPerView||w),y=i.loop;w&&s&&e.changeDirection(),p(e.params,u);const E=e.params.enabled,S=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!E?e.disable():!v&&E&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",u),s&&(b?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!y&&S?(e.loopCreate(t),e.updateSlides()):y&&!S&&e.loopDestroy()),e.emit("breakpoint",u)},getBreakpoint:function(e,t,s){if(void 0===t&&(t="window"),!e||"container"===t&&!s)return;let i=!1;const a=r(),n="window"===t?a.innerHeight:s.clientHeight,o=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:n*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:n,value:r}=o[e];"window"===t?a.matchMedia(`(min-width: ${r}px)`).matches&&(i=n):r<=s.clientWidth&&(i=n)}return i||"max"}},se={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,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 ie(e,t){return function(s){void 0===s&&(s={});const i=Object.keys(s)[0],a=s[i];"object"==typeof a&&null!==a?(!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 a?("object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),p(t,s)):p(t,s)):p(t,s)}}const ae={eventsEmitter:D,update:H,translate:V,transition:{setTransition:function(e,t){const s=this;s.params.cssMode||(s.wrapperEl.style.transitionDuration=`${e}ms`,s.wrapperEl.style.transitionDelay=0===e?"0ms":""),s.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const s=this,{params:i}=s;i.cssMode||(i.autoHeight&&s.updateAutoHeight(),G({swiper:s,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const s=this,{params:i}=s;s.animating=!1,i.cssMode||(s.setTransition(0),G({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},slide:F,loop:_,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),s.style.cursor="move",s.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=X.bind(e),e.onTouchMove=j.bind(e),e.onTouchEnd=Y.bind(e),e.onDocumentTouchStart=Q.bind(e),t.cssMode&&(e.onScroll=K.bind(e)),e.onClick=U.bind(e),e.onLoad=J.bind(e),Z(e,"on")},detachEvents:function(){Z(this,"off")}},breakpoints:te,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:i}=s;if(i){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.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:s,rtl:i,el:a,device:n}=e,r=function(e,t){const s=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((i=>{e[i]&&s.push(t+i)})):"string"==typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:i},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:n.android},{ios:n.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...r),a.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},ne={};class re{constructor(){let e,t;for(var s=arguments.length,i=new Array(s),n=0;n<s;n++)i[n]=arguments[n];1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?t=i[0]:[e,t]=i,t||(t={}),t=p({},t),e&&!t.el&&(t.el=e);const r=a();if(t.el&&"string"==typeof t.el&&r.querySelectorAll(t.el).length>1){const e=[];return r.querySelectorAll(t.el).forEach((s=>{const i=p({},t,{el:s});e.push(new re(i))})),e}const o=this;o.__swiper__=!0,o.support=k(),o.device=I({userAgent:t.userAgent}),o.browser=A(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const l={};o.modules.forEach((e=>{e({params:t,swiper:o,extendParams:ie(t,l),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})}));const d=p({},se,l);return o.params=p({},d,ne,t),o.originalParams=p({},o.params),o.passedParams=p({},t),o.params&&o.params.on&&Object.keys(o.params.on).forEach((e=>{o.on(e,o.params.on[e])})),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===o.params.direction,isVertical:()=>"vertical"===o.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:o.params.allowSlideNext,allowSlidePrev:o.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:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}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:s}=this,i=y(h(t,`.${s.slideClass}, swiper-slide`)[0]);return y(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find((t=>1*t.getAttribute("data-swiper-slide-index")===e)))}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=h(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 s=this;e=Math.min(Math.max(e,0),1);const i=s.minTranslate(),a=(s.maxTranslate()-i)*e+i;s.translateTo(a,void 0===t?0:t),s.updateActiveIndex(),s.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((s=>{const i=e.getSlideClasses(s);t.push({slideEl:s,classNames:i}),e.emit("_slideClass",s,i)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:s,slides:i,slidesGrid:a,slidesSizesGrid:n,size:r,activeIndex:o}=this;let l=1;if("number"==typeof s.slidesPerView)return s.slidesPerView;if(s.centeredSlides){let e,t=i[o]?Math.ceil(i[o].swiperSlideSize):0;for(let s=o+1;s<i.length;s+=1)i[s]&&!e&&(t+=Math.ceil(i[s].swiperSlideSize),l+=1,t>r&&(e=!0));for(let s=o-1;s>=0;s-=1)i[s]&&!e&&(t+=i[s].swiperSlideSize,l+=1,t>r&&(e=!0))}else if("current"===e)for(let e=o+1;e<i.length;e+=1)(t?a[e]+n[e]-a[o]<r:a[e]-a[o]<r)&&(l+=1);else for(let e=o-1;e>=0;e-=1)a[o]-a[e]<r&&(l+=1);return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:s}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,s=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let a;if(s.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&B(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),s.freeMode&&s.freeMode.enabled&&!s.cssMode)i(),s.autoHeight&&e.updateAutoHeight();else{if(("auto"===s.slidesPerView||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const t=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;a=e.slideTo(t.length-1,0,!1,!0)}else a=e.slideTo(e.activeIndex,0,!1,!0);a||i()}s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const s=this,i=s.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(s.el.classList.remove(`${s.params.containerModifierClass}${i}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changeDirection"),t&&s.update()),s}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 s=e||t.params.el;if("string"==typeof s&&(s=document.querySelector(s)),!s)return!1;s.swiper=t,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(i()):h(s,i())[0];return!a&&t.params.createElements&&(a=v("div",t.params.wrapperClass),s.append(a),h(s,`.${t.params.slideClass}`).forEach((e=>{a.append(e)}))),Object.assign(t,{el:s,wrapperEl:a,slidesEl:t.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:a,hostEl:t.isElement?s.parentNode.host:s,mounted:!0,rtl:"rtl"===s.dir.toLowerCase()||"rtl"===b(s,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===b(s,"direction")),wrongRTL:"-webkit-box"===b(a,"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(void 0,!0),t.attachEvents();const s=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&s.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),s.forEach((e=>{e.complete?B(t,e):e.addEventListener("load",(e=>{B(t,e.target)}))})),q(t),t.initialized=!0,q(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const s=this,{params:i,el:a,wrapperEl:n,slides:r}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),i.loop&&s.loopDestroy(),t&&(s.removeClasses(),a&&"string"!=typeof a&&a.removeAttribute("style"),n&&n.removeAttribute("style"),r&&r.length&&r.forEach((e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),s.emit("destroy"),Object.keys(s.eventsListeners).forEach((e=>{s.off(e)})),!1!==e&&(s.el&&"string"!=typeof s.el&&(s.el.swiper=null),function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(s)),s.destroyed=!0),null}static extendDefaults(e){p(ne,e)}static get extendedDefaults(){return ne}static get defaults(){return se}static installModule(e){re.prototype.__modules__||(re.prototype.__modules__=[]);const t=re.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>re.installModule(e))),re):(re.installModule(e),re)}}function oe(e){let{swiper:t,extendParams:s,on:i,emit:n}=e;const o=a(),l=r();function d(e){if(!t.enabled)return;const{rtlTranslate:s}=t;let i=e;i.originalEvent&&(i=i.originalEvent);const a=i.keyCode||i.charCode,r=t.params.keyboard.pageUpDown,d=r&&33===a,c=r&&34===a,p=37===a,u=39===a,m=38===a,f=40===a;if(!t.allowSlideNext&&(t.isHorizontal()&&u||t.isVertical()&&f||c))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&p||t.isVertical()&&m||d))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey||o.activeElement&&o.activeElement.nodeName&&("input"===o.activeElement.nodeName.toLowerCase()||"textarea"===o.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(d||c||p||u||m||f)){let e=!1;if(E(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&0===E(t.el,`.${t.params.slideActiveClass}`).length)return;const i=t.el,a=i.clientWidth,n=i.clientHeight,r=l.innerWidth,o=l.innerHeight,d=w(i);s&&(d.left-=i.scrollLeft);const c=[[d.left,d.top],[d.left+a,d.top],[d.left,d.top+n],[d.left+a,d.top+n]];for(let t=0;t<c.length;t+=1){const s=c[t];if(s[0]>=0&&s[0]<=r&&s[1]>=0&&s[1]<=o){if(0===s[0]&&0===s[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((d||c||p||u)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),((c||u)&&!s||(d||p)&&s)&&t.slideNext(),((d||p)&&!s||(c||u)&&s)&&t.slidePrev()):((d||c||m||f)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),(c||f)&&t.slideNext(),(d||m)&&t.slidePrev()),n("keyPress",a)}}function c(){t.keyboard.enabled||(o.addEventListener("keydown",d),t.keyboard.enabled=!0)}function p(){t.keyboard.enabled&&(o.removeEventListener("keydown",d),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},s({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),i("init",(()=>{t.params.keyboard.enabled&&c()})),i("destroy",(()=>{t.keyboard.enabled&&p()})),Object.assign(t.keyboard,{enable:c,disable:p})}function le(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const n=r();let o;s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let c,p=d();const u=[];function m(){t.enabled&&(t.mouseEntered=!0)}function f(){t.enabled&&(t.mouseEntered=!1)}function h(e){return!(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta||t.params.mousewheel.thresholdTime&&d()-p<t.params.mousewheel.thresholdTime||!(e.delta>=6&&d()-p<60)&&(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),a("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),a("scroll",e.raw)),p=(new n.Date).getTime(),1))}function g(e){let s=e,i=!0;if(!t.enabled)return;if(e.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const n=t.params.mousewheel;t.params.cssMode&&s.preventDefault();let r=t.el;"container"!==t.params.mousewheel.eventsTarget&&(r=document.querySelector(t.params.mousewheel.eventsTarget));const p=r&&r.contains(s.target);if(!t.mouseEntered&&!p&&!n.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let m=0;const f=t.rtlTranslate?-1:1,g=function(e){let t=0,s=0,i=0,a=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),i=10*t,a=10*s,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(i=e.deltaX),e.shiftKey&&!i&&(i=a,a=0),(i||a)&&e.deltaMode&&(1===e.deltaMode?(i*=40,a*=40):(i*=800,a*=800)),i&&!t&&(t=i<1?-1:1),a&&!s&&(s=a<1?-1:1),{spinX:t,spinY:s,pixelX:i,pixelY:a}}(s);if(n.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(g.pixelX)>Math.abs(g.pixelY)))return!0;m=-g.pixelX*f}else{if(!(Math.abs(g.pixelY)>Math.abs(g.pixelX)))return!0;m=-g.pixelY}else m=Math.abs(g.pixelX)>Math.abs(g.pixelY)?-g.pixelX*f:-g.pixelY;if(0===m)return!0;n.invert&&(m=-m);let v=t.getTranslate()+m*n.sensitivity;if(v>=t.minTranslate()&&(v=t.minTranslate()),v<=t.maxTranslate()&&(v=t.maxTranslate()),i=!!t.params.loop||!(v===t.minTranslate()||v===t.maxTranslate()),i&&t.params.nested&&s.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={time:d(),delta:Math.abs(m),direction:Math.sign(m)},i=c&&e.time<c.time+500&&e.delta<=c.delta&&e.direction===c.direction;if(!i){c=void 0;let r=t.getTranslate()+m*n.sensitivity;const d=t.isBeginning,p=t.isEnd;if(r>=t.minTranslate()&&(r=t.minTranslate()),r<=t.maxTranslate()&&(r=t.maxTranslate()),t.setTransition(0),t.setTranslate(r),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!d&&t.isBeginning||!p&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:e.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(o),o=void 0,u.length>=15&&u.shift();const s=u.length?u[u.length-1]:void 0,i=u[0];if(u.push(e),s&&(e.delta>s.delta||e.direction!==s.direction))u.splice(0);else if(u.length>=15&&e.time-i.time<500&&i.delta-e.delta>=1&&e.delta<=6){const s=m>0?.8:.2;c=e,u.splice(0),o=l((()=>{!t.destroyed&&t.params&&t.slideToClosest(t.params.speed,!0,void 0,s)}),0)}o||(o=l((()=>{!t.destroyed&&t.params&&(c=e,u.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5))}),500))}if(i||a("scroll",s),t.params.autoplay&&t.params.autoplay.disableOnInteraction&&t.autoplay.stop(),n.releaseOnEdges&&(r===t.minTranslate()||r===t.maxTranslate()))return!0}}else{const s={time:d(),delta:Math.abs(m),direction:Math.sign(m),raw:e};u.length>=2&&u.shift();const i=u.length?u[u.length-1]:void 0;if(u.push(s),i?(s.direction!==i.direction||s.delta>i.delta||s.time>i.time+150)&&h(s):h(s),function(e){const s=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&s.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&s.releaseOnEdges)return!0;return!1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function v(e){let s=t.el;"container"!==t.params.mousewheel.eventsTarget&&(s=document.querySelector(t.params.mousewheel.eventsTarget)),s[e]("mouseenter",m),s[e]("mouseleave",f),s[e]("wheel",g)}function w(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",g),!0):!t.mousewheel.enabled&&(v("addEventListener"),t.mousewheel.enabled=!0,!0)}function b(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,g),!0):!!t.mousewheel.enabled&&(v("removeEventListener"),t.mousewheel.enabled=!1,!0)}i("init",(()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&b(),t.params.mousewheel.enabled&&w()})),i("destroy",(()=>{t.params.cssMode&&w(),t.mousewheel.enabled&&b()})),Object.assign(t.mousewheel,{enable:w,disable:b})}function de(e,t,s,i){return e.params.createElements&&Object.keys(i).forEach((a=>{if(!s[a]&&!0===s.auto){let n=h(e.el,`.${i[a]}`)[0];n||(n=v("div",i[a]),n.className=i[a],e.el.append(n)),s[a]=n,t[a]=n}})),s}function ce(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;function n(e){let s;return e&&"string"==typeof e&&t.isElement&&(s=t.el.querySelector(e)||t.hostEl.querySelector(e),s)?s:(e&&("string"==typeof e&&(s=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&s&&s.length>1&&1===t.el.querySelectorAll(e).length?s=t.el.querySelector(e):s&&1===s.length&&(s=s[0])),e&&!s?e:s)}function r(e,s){const i=t.params.navigation;(e=x(e)).forEach((e=>{e&&(e.classList[s?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=s),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass))}))}function o(){const{nextEl:e,prevEl:s}=t.navigation;if(t.params.loop)return r(s,!1),void r(e,!1);r(s,t.isBeginning&&!t.params.rewind),r(e,t.isEnd&&!t.params.rewind)}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),a("navigationPrev"))}function d(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),a("navigationNext"))}function c(){const e=t.params.navigation;if(t.params.navigation=de(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let s=n(e.nextEl),i=n(e.prevEl);Object.assign(t.navigation,{nextEl:s,prevEl:i}),s=x(s),i=x(i);const a=(s,i)=>{s&&s.addEventListener("click","next"===i?d:l),!t.enabled&&s&&s.classList.add(...e.lockClass.split(" "))};s.forEach((e=>a(e,"next"))),i.forEach((e=>a(e,"prev")))}function p(){let{nextEl:e,prevEl:s}=t.navigation;e=x(e),s=x(s);const i=(e,s)=>{e.removeEventListener("click","next"===s?d:l),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach((e=>i(e,"next"))),s.forEach((e=>i(e,"prev")))}s({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},i("init",(()=>{!1===t.params.navigation.enabled?u():(c(),o())})),i("toEdge fromEdge lock unlock",(()=>{o()})),i("destroy",(()=>{p()})),i("enable disable",(()=>{let{nextEl:e,prevEl:s}=t.navigation;e=x(e),s=x(s),t.enabled?o():[...e,...s].filter((e=>!!e)).forEach((e=>e.classList.add(t.params.navigation.lockClass)))})),i("click",((e,s)=>{let{nextEl:i,prevEl:n}=t.navigation;i=x(i),n=x(n);const r=s.target;let o=n.includes(r)||i.includes(r);if(t.isElement&&!o){const e=s.path||s.composedPath&&s.composedPath();e&&(o=e.find((e=>i.includes(e)||n.includes(e))))}if(t.params.navigation.hideOnClick&&!o){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===r||t.pagination.el.contains(r)))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)),a(!0===e?"navigationShow":"navigationHide"),[...i,...n].filter((e=>!!e)).forEach((e=>e.classList.toggle(t.params.navigation.hiddenClass)))}}));const u=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),c(),o()},disable:u,update:o,init:c,destroy:p})}function pe(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function ue(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const n="swiper-pagination";let r;s({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:`${n}-bullet`,bulletActiveClass:`${n}-bullet-active`,modifierClass:`${n}-`,currentClass:`${n}-current`,totalClass:`${n}-total`,hiddenClass:`${n}-hidden`,progressbarFillClass:`${n}-progressbar-fill`,progressbarOppositeClass:`${n}-progressbar-opposite`,clickableClass:`${n}-clickable`,lockClass:`${n}-lock`,horizontalClass:`${n}-horizontal`,verticalClass:`${n}-vertical`,paginationDisabledClass:`${n}-disabled`}}),t.pagination={el:null,bullets:[]};let o=0;function l(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function d(e,s){const{bulletActiveClass:i}=t.params.pagination;e&&(e=e[("prev"===s?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${i}-${s}`),(e=e[("prev"===s?"previous":"next")+"ElementSibling"])&&e.classList.add(`${i}-${s}-${s}`))}function c(e){const s=e.target.closest(pe(t.params.pagination.bulletClass));if(!s)return;e.preventDefault();const i=y(s)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===i)return;const e=(a=t.realIndex,n=i,(n%=r=t.slides.length)===1+(a%=r)?"next":n===a-1?"previous":void 0);"next"===e?t.slideNext():"previous"===e?t.slidePrev():t.slideToLoop(i)}else t.slideTo(i);var a,n,r}function p(){const e=t.rtl,s=t.params.pagination;if(l())return;let i,n,c=t.pagination.el;c=x(c);const p=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,u=t.params.loop?Math.ceil(p/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"===s.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const a=t.pagination.bullets;let l,p,u;if(s.dynamicBullets&&(r=T(a[0],t.isHorizontal()?"width":"height",!0),c.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=r*(s.dynamicMainBullets+4)+"px"})),s.dynamicMainBullets>1&&void 0!==n&&(o+=i-(n||0),o>s.dynamicMainBullets-1?o=s.dynamicMainBullets-1:o<0&&(o=0)),l=Math.max(i-o,0),p=l+(Math.min(a.length,s.dynamicMainBullets)-1),u=(p+l)/2),a.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${s.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),c.length>1)a.forEach((e=>{const a=y(e);a===i?e.classList.add(...s.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),s.dynamicBullets&&(a>=l&&a<=p&&e.classList.add(...`${s.bulletActiveClass}-main`.split(" ")),a===l&&d(e,"prev"),a===p&&d(e,"next"))}));else{const e=a[i];if(e&&e.classList.add(...s.bulletActiveClass.split(" ")),t.isElement&&a.forEach(((e,t)=>{e.setAttribute("part",t===i?"bullet-active":"bullet")})),s.dynamicBullets){const e=a[l],t=a[p];for(let e=l;e<=p;e+=1)a[e]&&a[e].classList.add(...`${s.bulletActiveClass}-main`.split(" "));d(e,"prev"),d(t,"next")}}if(s.dynamicBullets){const i=Math.min(a.length,s.dynamicMainBullets+4),n=(r*i-r)/2-u*r,o=e?"right":"left";a.forEach((e=>{e.style[t.isHorizontal()?o:"top"]=`${n}px`}))}}c.forEach(((e,n)=>{if("fraction"===s.type&&(e.querySelectorAll(pe(s.currentClass)).forEach((e=>{e.textContent=s.formatFractionCurrent(i+1)})),e.querySelectorAll(pe(s.totalClass)).forEach((e=>{e.textContent=s.formatFractionTotal(u)}))),"progressbar"===s.type){let a;a=s.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const n=(i+1)/u;let r=1,o=1;"horizontal"===a?r=n:o=n,e.querySelectorAll(pe(s.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${r}) scaleY(${o})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===s.type&&s.renderCustom?(L(e,s.renderCustom(t,i+1,u)),0===n&&a("paginationRender",e)):(0===n&&a("paginationRender",e),a("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](s.lockClass)}))}function u(){const e=t.params.pagination;if(l())return;const s=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=x(i);let n="";if("bullets"===e.type){let i=t.params.loop?Math.ceil(s/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&i>s&&(i=s);for(let s=0;s<i;s+=1)e.renderBullet?n+=e.renderBullet.call(t,s,e.bulletClass):n+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(n=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(n=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],i.forEach((s=>{"custom"!==e.type&&L(s,n||""),"bullets"===e.type&&t.pagination.bullets.push(...s.querySelectorAll(pe(e.bulletClass)))})),"custom"!==e.type&&a("paginationRender",i[0])}function m(){t.params.pagination=de(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let s;"string"==typeof e.el&&t.isElement&&(s=t.el.querySelector(e.el)),s||"string"!=typeof e.el||(s=[...document.querySelectorAll(e.el)]),s||(s=e.el),s&&0!==s.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(s)&&s.length>1&&(s=[...t.el.querySelectorAll(e.el)],s.length>1&&(s=s.find((e=>E(e,".swiper")[0]===t.el)))),Array.isArray(s)&&1===s.length&&(s=s[0]),Object.assign(t.pagination,{el:s}),s=x(s),s.forEach((s=>{"bullets"===e.type&&e.clickable&&s.classList.add(...(e.clickableClass||"").split(" ")),s.classList.add(e.modifierClass+e.type),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(s.classList.add(`${e.modifierClass}${e.type}-dynamic`),o=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&s.classList.add(e.progressbarOppositeClass),e.clickable&&s.addEventListener("click",c),t.enabled||s.classList.add(e.lockClass)})))}function f(){const e=t.params.pagination;if(l())return;let s=t.pagination.el;s&&(s=x(s),s.forEach((s=>{s.classList.remove(e.hiddenClass),s.classList.remove(e.modifierClass+e.type),s.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(s.classList.remove(...(e.clickableClass||"").split(" ")),s.removeEventListener("click",c))}))),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:s}=t.pagination;s=x(s),s.forEach((s=>{s.classList.remove(e.horizontalClass,e.verticalClass),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),i("init",(()=>{!1===t.params.pagination.enabled?h():(m(),u(),p())})),i("activeIndexChange",(()=>{void 0===t.snapIndex&&p()})),i("snapIndexChange",(()=>{p()})),i("snapGridLengthChange",(()=>{u(),p()})),i("destroy",(()=>{f()})),i("enable disable",(()=>{let{el:e}=t.pagination;e&&(e=x(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),i("lock unlock",(()=>{p()})),i("click",((e,s)=>{const i=s.target,n=x(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&n&&n.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=n[0].classList.contains(t.params.pagination.hiddenClass);a(!0===e?"paginationShow":"paginationHide"),n.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const h=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=x(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),f()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=x(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),m(),u(),p()},disable:h,render:u,update:p,init:m,destroy:f})}function me(e){let{swiper:t,extendParams:s,on:i,emit:n}=e;const r=a();let d,c,p,u,m=!1,f=null,h=null;function g(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:s}=t,{dragEl:i,el:a}=e,n=t.params.scrollbar,r=t.params.loop?t.progressLoop:t.progress;let o=c,l=(p-c)*r;s?(l=-l,l>0?(o=c-l,l=0):-l+c>p&&(o=p+l)):l<0?(o=c+l,l=0):l+c>p&&(o=p-l),t.isHorizontal()?(i.style.transform=`translate3d(${l}px, 0, 0)`,i.style.width=`${o}px`):(i.style.transform=`translate3d(0px, ${l}px, 0)`,i.style.height=`${o}px`),n.hide&&(clearTimeout(f),a.style.opacity=1,f=setTimeout((()=>{a.style.opacity=0,a.style.transitionDuration="400ms"}),1e3))}function b(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{dragEl:s,el:i}=e;s.style.width="",s.style.height="",p=t.isHorizontal()?i.offsetWidth:i.offsetHeight,u=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),c="auto"===t.params.scrollbar.dragSize?p*u:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?s.style.width=`${c}px`:s.style.height=`${c}px`,i.style.display=u>=1?"none":"",t.params.scrollbar.hide&&(i.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function y(e){return t.isHorizontal()?e.clientX:e.clientY}function E(e){const{scrollbar:s,rtlTranslate:i}=t,{el:a}=s;let n;n=(y(e)-w(a)[t.isHorizontal()?"left":"top"]-(null!==d?d:c/2))/(p-c),n=Math.max(Math.min(n,1),0),i&&(n=1-n);const r=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*n;t.updateProgress(r),t.setTranslate(r),t.updateActiveIndex(),t.updateSlidesClasses()}function S(e){const s=t.params.scrollbar,{scrollbar:i,wrapperEl:a}=t,{el:r,dragEl:o}=i;m=!0,d=e.target===o?y(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),a.style.transitionDuration="100ms",o.style.transitionDuration="100ms",E(e),clearTimeout(h),r.style.transitionDuration="0ms",s.hide&&(r.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),n("scrollbarDragStart",e)}function T(e){const{scrollbar:s,wrapperEl:i}=t,{el:a,dragEl:r}=s;m&&(e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1,E(e),i.style.transitionDuration="0ms",a.style.transitionDuration="0ms",r.style.transitionDuration="0ms",n("scrollbarDragMove",e))}function M(e){const s=t.params.scrollbar,{scrollbar:i,wrapperEl:a}=t,{el:r}=i;m&&(m=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",a.style.transitionDuration=""),s.hide&&(clearTimeout(h),h=l((()=>{r.style.opacity=0,r.style.transitionDuration="400ms"}),1e3)),n("scrollbarDragEnd",e),s.snapOnRelease&&t.slideToClosest())}function L(e){const{scrollbar:s,params:i}=t,a=s.el;if(!a)return;const n=a,o=!!i.passiveListeners&&{passive:!1,capture:!1},l=!!i.passiveListeners&&{passive:!0,capture:!1};if(!n)return;const d="on"===e?"addEventListener":"removeEventListener";n[d]("pointerdown",S,o),r[d]("pointermove",T,o),r[d]("pointerup",M,l)}function C(){const{scrollbar:e,el:s}=t;t.params.scrollbar=de(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const i=t.params.scrollbar;if(!i.el)return;let a,n;if("string"==typeof i.el&&t.isElement&&(a=t.el.querySelector(i.el)),a||"string"!=typeof i.el)a||(a=i.el);else if(a=r.querySelectorAll(i.el),!a.length)return;t.params.uniqueNavElements&&"string"==typeof i.el&&a.length>1&&1===s.querySelectorAll(i.el).length&&(a=s.querySelector(i.el)),a.length>0&&(a=a[0]),a.classList.add(t.isHorizontal()?i.horizontalClass:i.verticalClass),a&&(n=a.querySelector(pe(t.params.scrollbar.dragClass)),n||(n=v("div",t.params.scrollbar.dragClass),a.append(n))),Object.assign(e,{el:a,dragEl:n}),i.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&L("on"),a&&a.classList[t.enabled?"remove":"add"](...o(t.params.scrollbar.lockClass))}function O(){const e=t.params.scrollbar,s=t.scrollbar.el;s&&s.classList.remove(...o(t.isHorizontal()?e.horizontalClass:e.verticalClass)),t.params.scrollbar.el&&t.scrollbar.el&&L("off")}s({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null},i("changeDirection",(()=>{if(!t.scrollbar||!t.scrollbar.el)return;const e=t.params.scrollbar;let{el:s}=t.scrollbar;s=x(s),s.forEach((s=>{s.classList.remove(e.horizontalClass,e.verticalClass),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),i("init",(()=>{!1===t.params.scrollbar.enabled?P():(C(),b(),g())})),i("update resize observerUpdate lock unlock changeDirection",(()=>{b()})),i("setTranslate",(()=>{g()})),i("setTransition",((e,s)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(s)})),i("enable disable",(()=>{const{el:e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](...o(t.params.scrollbar.lockClass))})),i("destroy",(()=>{O()}));const P=()=>{t.el.classList.add(...o(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...o(t.params.scrollbar.scrollbarDisabledClass)),O()};Object.assign(t.scrollbar,{enable:()=>{t.el.classList.remove(...o(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...o(t.params.scrollbar.scrollbarDisabledClass)),C(),b(),g()},disable:P,updateSize:b,setTranslate:g,init:C,destroy:O})}function fe(e){let{swiper:t,extendParams:s,on:i}=e;s({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),t.a11y={clicked:!1};let n,r,o=null,l=(new Date).getTime();function d(e){const t=o;0!==t.length&&L(t,e)}function c(e){(e=x(e)).forEach((e=>{e.setAttribute("tabIndex","0")}))}function p(e){(e=x(e)).forEach((e=>{e.setAttribute("tabIndex","-1")}))}function u(e,t){(e=x(e)).forEach((e=>{e.setAttribute("role",t)}))}function m(e,t){(e=x(e)).forEach((e=>{e.setAttribute("aria-roledescription",t)}))}function f(e,t){(e=x(e)).forEach((e=>{e.setAttribute("aria-label",t)}))}function h(e){(e=x(e)).forEach((e=>{e.setAttribute("aria-disabled",!0)}))}function g(e){(e=x(e)).forEach((e=>{e.setAttribute("aria-disabled",!1)}))}function w(e){if(13!==e.keyCode&&32!==e.keyCode)return;const s=t.params.a11y,i=e.target;if(!t.pagination||!t.pagination.el||i!==t.pagination.el&&!t.pagination.el.contains(e.target)||e.target.matches(pe(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=x(t.navigation.prevEl);x(t.navigation.nextEl).includes(i)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?d(s.lastSlideMessage):d(s.nextSlideMessage)),e.includes(i)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?d(s.firstSlideMessage):d(s.prevSlideMessage))}t.pagination&&i.matches(pe(t.params.pagination.bulletClass))&&i.click()}}function b(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function E(){return b()&&t.params.pagination.clickable}const S=(e,t,s)=>{c(e),"BUTTON"!==e.tagName&&(u(e,"button"),e.addEventListener("keydown",w)),f(e,s),function(e,t){(e=x(e)).forEach((e=>{e.setAttribute("aria-controls",t)}))}(e,t)},T=e=>{r&&r!==e.target&&!r.contains(e.target)&&(n=!0),t.a11y.clicked=!0},M=()=>{n=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.destroyed||(t.a11y.clicked=!1)}))}))},C=e=>{l=(new Date).getTime()},O=e=>{if(t.a11y.clicked||!t.params.a11y.scrollOnFocus)return;if((new Date).getTime()-l<100)return;const s=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!s||!t.slides.includes(s))return;r=s;const i=t.slides.indexOf(s)===t.activeIndex,a=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(s);i||a||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame((()=>{n||(t.params.loop?t.slideToLoop(parseInt(s.getAttribute("data-swiper-slide-index")),0):t.slideTo(t.slides.indexOf(s),0),n=!1)})))},P=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&m(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&u(t.slides,e.slideRole);const s=t.slides.length;e.slideLabelMessage&&t.slides.forEach(((i,a)=>{const n=t.params.loop?parseInt(i.getAttribute("data-swiper-slide-index"),10):a;f(i,e.slideLabelMessage.replace(/\{\{index\}\}/,n+1).replace(/\{\{slidesLength\}\}/,s))}))};i("beforeInit",(()=>{o=v("span",t.params.a11y.notificationClass),o.setAttribute("aria-live","assertive"),o.setAttribute("aria-atomic","true")})),i("afterInit",(()=>{t.params.a11y.enabled&&(()=>{const e=t.params.a11y;t.el.append(o);const s=t.el;e.containerRoleDescriptionMessage&&m(s,e.containerRoleDescriptionMessage),e.containerMessage&&f(s,e.containerMessage),e.containerRole&&u(s,e.containerRole);const i=t.wrapperEl,n=e.id||i.getAttribute("id")||`swiper-wrapper-${r=16,void 0===r&&(r=16),"x".repeat(r).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}`;var r;const l=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var d;d=n,x(i).forEach((e=>{e.setAttribute("id",d)})),function(e,t){(e=x(e)).forEach((e=>{e.setAttribute("aria-live",t)}))}(i,l),P();let{nextEl:c,prevEl:p}=t.navigation?t.navigation:{};c=x(c),p=x(p),c&&c.forEach((t=>S(t,n,e.nextSlideMessage))),p&&p.forEach((t=>S(t,n,e.prevSlideMessage))),E()&&x(t.pagination.el).forEach((e=>{e.addEventListener("keydown",w)})),a().addEventListener("visibilitychange",C),t.el.addEventListener("focus",O,!0),t.el.addEventListener("focus",O,!0),t.el.addEventListener("pointerdown",T,!0),t.el.addEventListener("pointerup",M,!0)})()})),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{t.params.a11y.enabled&&P()})),i("fromEdge toEdge afterInit lock unlock",(()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:s}=t.navigation;s&&(t.isBeginning?(h(s),p(s)):(g(s),c(s))),e&&(t.isEnd?(h(e),p(e)):(g(e),c(e)))}()})),i("paginationUpdate",(()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;b()&&t.pagination.bullets.forEach((s=>{t.params.pagination.clickable&&(c(s),t.params.pagination.renderBullet||(u(s,"button"),f(s,e.paginationBulletMessage.replace(/\{\{index\}\}/,y(s)+1)))),s.matches(pe(t.params.pagination.bulletActiveClass))?s.setAttribute("aria-current","true"):s.removeAttribute("aria-current")}))}()})),i("destroy",(()=>{t.params.a11y.enabled&&function(){o&&o.remove();let{nextEl:e,prevEl:s}=t.navigation?t.navigation:{};e=x(e),s=x(s),e&&e.forEach((e=>e.removeEventListener("keydown",w))),s&&s.forEach((e=>e.removeEventListener("keydown",w))),E()&&x(t.pagination.el).forEach((e=>{e.removeEventListener("keydown",w)})),a().removeEventListener("visibilitychange",C),t.el&&"string"!=typeof t.el&&(t.el.removeEventListener("focus",O,!0),t.el.removeEventListener("pointerdown",T,!0),t.el.removeEventListener("pointerup",M,!0))}()}))}function he(e){let t,s,{swiper:i,extendParams:n,on:r,emit:o,params:l}=e;i.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,m,f,h,g,v=l&&l.autoplay?l.autoplay.delay:3e3,w=l&&l.autoplay?l.autoplay.delay:3e3,b=(new Date).getTime();function y(e){i&&!i.destroyed&&i.wrapperEl&&e.target===i.wrapperEl&&(i.wrapperEl.removeEventListener("transitionend",y),g||e.detail&&e.detail.bySwiperTouchMove||L())}const E=()=>{if(i.destroyed||!i.autoplay.running)return;i.autoplay.paused?c=!0:c&&(w=d,c=!1);const e=i.autoplay.paused?d:b+w-(new Date).getTime();i.autoplay.timeLeft=e,o("autoplayTimeLeft",e,e/v),s=requestAnimationFrame((()=>{E()}))},S=e=>{if(i.destroyed||!i.autoplay.running)return;cancelAnimationFrame(s),E();let a=void 0===e?i.params.autoplay.delay:e;v=i.params.autoplay.delay,w=i.params.autoplay.delay;const n=(()=>{let e;if(e=i.virtual&&i.params.virtual.enabled?i.slides.find((e=>e.classList.contains("swiper-slide-active"))):i.slides[i.activeIndex],e)return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(n)&&n>0&&void 0===e&&(a=n,v=n,w=n),d=a;const r=i.params.speed,l=()=>{i&&!i.destroyed&&(i.params.autoplay.reverseDirection?!i.isBeginning||i.params.loop||i.params.rewind?(i.slidePrev(r,!0,!0),o("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(i.slides.length-1,r,!0,!0),o("autoplay")):!i.isEnd||i.params.loop||i.params.rewind?(i.slideNext(r,!0,!0),o("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(0,r,!0,!0),o("autoplay")),i.params.cssMode&&(b=(new Date).getTime(),requestAnimationFrame((()=>{S()}))))};return a>0?(clearTimeout(t),t=setTimeout((()=>{l()}),a)):requestAnimationFrame((()=>{l()})),a},T=()=>{b=(new Date).getTime(),i.autoplay.running=!0,S(),o("autoplayStart")},x=()=>{i.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(s),o("autoplayStop")},M=(e,s)=>{if(i.destroyed||!i.autoplay.running)return;clearTimeout(t),e||(h=!0);const a=()=>{o("autoplayPause"),i.params.autoplay.waitForTransition?i.wrapperEl.addEventListener("transitionend",y):L()};if(i.autoplay.paused=!0,s)return f&&(d=i.params.autoplay.delay),f=!1,void a();const n=d||i.params.autoplay.delay;d=n-((new Date).getTime()-b),i.isEnd&&d<0&&!i.params.loop||(d<0&&(d=0),a())},L=()=>{i.isEnd&&d<0&&!i.params.loop||i.destroyed||!i.autoplay.running||(b=(new Date).getTime(),h?(h=!1,S(d)):S(),i.autoplay.paused=!1,o("autoplayResume"))},C=()=>{if(i.destroyed||!i.autoplay.running)return;const e=a();"hidden"===e.visibilityState&&(h=!0,M(!0)),"visible"===e.visibilityState&&L()},O=e=>{"mouse"===e.pointerType&&(h=!0,g=!0,i.animating||i.autoplay.paused||M(!0))},P=e=>{"mouse"===e.pointerType&&(g=!1,i.autoplay.paused&&L())};r("init",(()=>{i.params.autoplay.enabled&&(i.params.autoplay.pauseOnMouseEnter&&(i.el.addEventListener("pointerenter",O),i.el.addEventListener("pointerleave",P)),a().addEventListener("visibilitychange",C),T())})),r("destroy",(()=>{i.el&&"string"!=typeof i.el&&(i.el.removeEventListener("pointerenter",O),i.el.removeEventListener("pointerleave",P)),a().removeEventListener("visibilitychange",C),i.autoplay.running&&x()})),r("_freeModeStaticRelease",(()=>{(u||h)&&L()})),r("_freeModeNoMomentumRelease",(()=>{i.params.autoplay.disableOnInteraction?x():M(!0,!0)})),r("beforeTransitionStart",((e,t,s)=>{!i.destroyed&&i.autoplay.running&&(s||!i.params.autoplay.disableOnInteraction?M(!0,!0):x())})),r("sliderFirstMove",(()=>{!i.destroyed&&i.autoplay.running&&(i.params.autoplay.disableOnInteraction?x():(p=!0,u=!1,h=!1,m=setTimeout((()=>{h=!0,u=!0,M(!0)}),200)))})),r("touchEnd",(()=>{if(!i.destroyed&&i.autoplay.running&&p){if(clearTimeout(m),clearTimeout(t),i.params.autoplay.disableOnInteraction)return u=!1,void(p=!1);u&&i.params.cssMode&&L(),u=!1,p=!1}})),r("slideChange",(()=>{!i.destroyed&&i.autoplay.running&&(f=!0)})),Object.assign(i.autoplay,{start:T,stop:x,pause:M,resume:L})}function ge(e){let{swiper:t,extendParams:s,emit:i,once:a}=e;s({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:function(){if(t.params.cssMode)return;const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})},onTouchMove:function(){if(t.params.cssMode)return;const{touchEventsData:e,touches:s}=t;0===e.velocities.length&&e.velocities.push({position:s[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:s[t.isHorizontal()?"currentX":"currentY"],time:d()})},onTouchEnd:function(e){let{currentPos:s}=e;if(t.params.cssMode)return;const{params:n,wrapperEl:r,rtlTranslate:o,snapGrid:l,touchEventsData:c}=t,p=d()-c.touchStartTime;if(s<-t.minTranslate())t.slideTo(t.activeIndex);else if(s>-t.maxTranslate())t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1);else{if(n.freeMode.momentum){if(c.velocities.length>1){const e=c.velocities.pop(),s=c.velocities.pop(),i=e.position-s.position,a=e.time-s.time;t.velocity=i/a,t.velocity/=2,Math.abs(t.velocity)<n.freeMode.minimumVelocity&&(t.velocity=0),(a>150||d()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=n.freeMode.momentumVelocityRatio,c.velocities.length=0;let e=1e3*n.freeMode.momentumRatio;const s=t.velocity*e;let p=t.translate+s;o&&(p=-p);let u,m=!1;const f=20*Math.abs(t.velocity)*n.freeMode.momentumBounceRatio;let h;if(p<t.maxTranslate())n.freeMode.momentumBounce?(p+t.maxTranslate()<-f&&(p=t.maxTranslate()-f),u=t.maxTranslate(),m=!0,c.allowMomentumBounce=!0):p=t.maxTranslate(),n.loop&&n.centeredSlides&&(h=!0);else if(p>t.minTranslate())n.freeMode.momentumBounce?(p-t.minTranslate()>f&&(p=t.minTranslate()+f),u=t.minTranslate(),m=!0,c.allowMomentumBounce=!0):p=t.minTranslate(),n.loop&&n.centeredSlides&&(h=!0);else if(n.freeMode.sticky){let e;for(let t=0;t<l.length;t+=1)if(l[t]>-p){e=t;break}p=Math.abs(l[e]-p)<Math.abs(l[e-1]-p)||"next"===t.swipeDirection?l[e]:l[e-1],p=-p}if(h&&a("transitionEnd",(()=>{t.loopFix()})),0!==t.velocity){if(e=o?Math.abs((-p-t.translate)/t.velocity):Math.abs((p-t.translate)/t.velocity),n.freeMode.sticky){const s=Math.abs((o?-p:p)-t.translate),i=t.slidesSizesGrid[t.activeIndex];e=s<i?n.speed:s<2*i?1.5*n.speed:2.5*n.speed}}else if(n.freeMode.sticky)return void t.slideToClosest();n.freeMode.momentumBounce&&m?(t.updateProgress(u),t.setTransition(e),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating=!0,S(r,(()=>{t&&!t.destroyed&&c.allowMomentumBounce&&(i("momentumBounce"),t.setTransition(n.speed),setTimeout((()=>{t.setTranslate(u),S(r,(()=>{t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(i("_freeModeNoMomentumRelease"),t.updateProgress(p),t.setTransition(e),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,S(r,(()=>{t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(p),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(n.freeMode.sticky)return void t.slideToClosest();n.freeMode&&i("_freeModeNoMomentumRelease")}(!n.freeMode.momentum||p>=n.longSwipesMs)&&(i("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}})}function ve(e){const{effect:t,swiper:s,on:i,setTranslate:a,setTransition:n,overwriteParams:r,perspective:o,recreateShadows:l,getEffectParams:d}=e;let c;i("beforeInit",(()=>{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),o&&o()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const e=r?r():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)})),i("setTranslate _virtualUpdated",(()=>{s.params.effect===t&&a()})),i("setTransition",((e,i)=>{s.params.effect===t&&n(i)})),i("transitionEnd",(()=>{if(s.params.effect===t&&l){if(!d||!d().slideShadows)return;s.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",(()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestAnimationFrame((()=>{c&&s.slides&&s.slides.length&&(a(),c=!1)})))}))}function we(e,t){const s=f(t);return s!==t&&(s.style.backfaceVisibility="hidden",s.style["-webkit-backface-visibility"]="hidden"),s}function be(e){let{swiper:t,duration:s,transformElements:i,allSlides:a}=e;const{activeIndex:n}=t;if(t.params.virtualTranslate&&0!==s){let e,s=!1;e=a?i:i.filter((e=>{const s=e.classList.contains("swiper-slide-transform")?(e=>e.parentElement?e.parentElement:t.slides.find((t=>t.shadowRoot&&t.shadowRoot===e.parentNode)))(e):e;return t.getSlideIndex(s)===n})),e.forEach((e=>{S(e,(()=>{if(s)return;if(!t||t.destroyed)return;s=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)}))}))}}function ye(e){let{swiper:t,extendParams:s,on:i}=e;s({fadeEffect:{crossFade:!1}}),ve({effect:"fade",swiper:t,on:i,setTranslate:()=>{const{slides:e}=t;t.params.fadeEffect;for(let s=0;s<e.length;s+=1){const e=t.slides[s];let i=-e.swiperSlideOffset;t.params.virtualTranslate||(i-=t.translate);let a=0;t.isHorizontal()||(a=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),r=we(0,e);r.style.opacity=n,r.style.transform=`translate3d(${i}px, ${a}px, 0px)`}},setTransition:e=>{const s=t.slides.map((e=>f(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`})),be({swiper:t,duration:e,transformElements:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function Ee(e){let{swiper:t,extendParams:s,on:i}=e;s({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const a=(e,t,s)=>{let i=s?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),a=s?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=v("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"left":"top")).split(" ")),e.append(i)),a||(a=v("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"right":"bottom")).split(" ")),e.append(a)),i&&(i.style.opacity=Math.max(-t,0)),a&&(a.style.opacity=Math.max(t,0))};ve({effect:"cube",swiper:t,on:i,setTranslate:()=>{const{el:e,wrapperEl:s,slides:i,width:n,height:r,rtlTranslate:o,size:l,browser:d}=t,c=M(t),p=t.params.cubeEffect,u=t.isHorizontal(),m=t.virtual&&t.params.virtual.enabled;let f,h=0;p.shadow&&(u?(f=t.wrapperEl.querySelector(".swiper-cube-shadow"),f||(f=v("div","swiper-cube-shadow"),t.wrapperEl.append(f)),f.style.height=`${n}px`):(f=e.querySelector(".swiper-cube-shadow"),f||(f=v("div","swiper-cube-shadow"),e.append(f))));for(let e=0;e<i.length;e+=1){const t=i[e];let s=e;m&&(s=parseInt(t.getAttribute("data-swiper-slide-index"),10));let n=90*s,r=Math.floor(n/360);o&&(n=-n,r=Math.floor(-n/360));const d=Math.max(Math.min(t.progress,1),-1);let f=0,g=0,v=0;s%4==0?(f=4*-r*l,v=0):(s-1)%4==0?(f=0,v=4*-r*l):(s-2)%4==0?(f=l+4*r*l,v=l):(s-3)%4==0&&(f=-l,v=3*l+4*l*r),o&&(f=-f),u||(g=f,f=0);const w=`rotateX(${c(u?0:-n)}deg) rotateY(${c(u?n:0)}deg) translate3d(${f}px, ${g}px, ${v}px)`;d<=1&&d>-1&&(h=90*s+90*d,o&&(h=90*-s-90*d)),t.style.transform=w,p.slideShadows&&a(t,d,u)}if(s.style.transformOrigin=`50% 50% -${l/2}px`,s.style["-webkit-transform-origin"]=`50% 50% -${l/2}px`,p.shadow)if(u)f.style.transform=`translate3d(0px, ${n/2+p.shadowOffset}px, ${-n/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${p.shadowScale})`;else{const e=Math.abs(h)-90*Math.floor(Math.abs(h)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=p.shadowScale,i=p.shadowScale/t,a=p.shadowOffset;f.style.transform=`scale3d(${s}, 1, ${i}) translate3d(0px, ${r/2+a}px, ${-r/2/i}px) rotateX(-89.99deg)`}const g=(d.isSafari||d.isWebView)&&d.needPerspectiveFix?-l/2:0;s.style.transform=`translate3d(0px,0,${g}px) rotateX(${c(t.isHorizontal()?0:h)}deg) rotateY(${c(t.isHorizontal()?-h:0)}deg)`,s.style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:e=>{const{el:s,slides:i}=t;if(i.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`}))})),t.params.cubeEffect.shadow&&!t.isHorizontal()){const t=s.querySelector(".swiper-cube-shadow");t&&(t.style.transitionDuration=`${e}ms`)}},recreateShadows:()=>{const e=t.isHorizontal();t.slides.forEach((t=>{const s=Math.max(Math.min(t.progress,1),-1);a(t,s,e)}))},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function Se(e,t,s){const i=`swiper-slide-shadow${s?`-${s}`:""}${e?` swiper-slide-shadow-${e}`:""}`,a=f(t);let n=a.querySelector(`.${i.split(" ").join(".")}`);return n||(n=v("div",i.split(" ")),a.append(n)),n}function Te(e){let{swiper:t,extendParams:s,on:i}=e;s({flipEffect:{slideShadows:!0,limitRotation:!0}});const a=(e,s)=>{let i=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),a=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=Se("flip",e,t.isHorizontal()?"left":"top")),a||(a=Se("flip",e,t.isHorizontal()?"right":"bottom")),i&&(i.style.opacity=Math.max(-s,0)),a&&(a.style.opacity=Math.max(s,0))};ve({effect:"flip",swiper:t,on:i,setTranslate:()=>{const{slides:e,rtlTranslate:s}=t,i=t.params.flipEffect,n=M(t);for(let r=0;r<e.length;r+=1){const o=e[r];let l=o.progress;t.params.flipEffect.limitRotation&&(l=Math.max(Math.min(o.progress,1),-1));const d=o.swiperSlideOffset;let c=-180*l,p=0,u=t.params.cssMode?-d-t.translate:-d,m=0;t.isHorizontal()?s&&(c=-c):(m=u,u=0,p=-c,c=0),o.style.zIndex=-Math.abs(Math.round(l))+e.length,i.slideShadows&&a(o,l);const f=`translate3d(${u}px, ${m}px, 0px) rotateX(${n(p)}deg) rotateY(${n(c)}deg)`;we(0,o).style.transform=f}},setTransition:e=>{const s=t.slides.map((e=>f(e)));s.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`}))})),be({swiper:t,duration:e,transformElements:s})},recreateShadows:()=>{t.params.flipEffect,t.slides.forEach((e=>{let s=e.progress;t.params.flipEffect.limitRotation&&(s=Math.max(Math.min(e.progress,1),-1)),a(e,s)}))},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function xe(e){let{swiper:t,extendParams:s,on:i}=e;s({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),ve({effect:"coverflow",swiper:t,on:i,setTranslate:()=>{const{width:e,height:s,slides:i,slidesSizesGrid:a}=t,n=t.params.coverflowEffect,r=t.isHorizontal(),o=t.translate,l=r?e/2-o:s/2-o,d=r?n.rotate:-n.rotate,c=n.depth,p=M(t);for(let e=0,t=i.length;e<t;e+=1){const t=i[e],s=a[e],o=(l-t.swiperSlideOffset-s/2)/s,u="function"==typeof n.modifier?n.modifier(o):o*n.modifier;let m=r?d*u:0,f=r?0:d*u,h=-c*Math.abs(u),g=n.stretch;"string"==typeof g&&-1!==g.indexOf("%")&&(g=parseFloat(n.stretch)/100*s);let v=r?0:g*u,w=r?g*u:0,b=1-(1-n.scale)*Math.abs(u);Math.abs(w)<.001&&(w=0),Math.abs(v)<.001&&(v=0),Math.abs(h)<.001&&(h=0),Math.abs(m)<.001&&(m=0),Math.abs(f)<.001&&(f=0),Math.abs(b)<.001&&(b=0);const y=`translate3d(${w}px,${v}px,${h}px) rotateX(${p(f)}deg) rotateY(${p(m)}deg) scale(${b})`;if(we(0,t).style.transform=y,t.style.zIndex=1-Math.abs(Math.round(u)),n.slideShadows){let e=r?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),s=r?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");e||(e=Se("coverflow",t,r?"left":"top")),s||(s=Se("coverflow",t,r?"right":"bottom")),e&&(e.style.opacity=u>0?u:0),s&&(s.style.opacity=-u>0?-u:0)}}},setTransition:e=>{t.slides.map((e=>f(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 Me(e){let{swiper:t,extendParams:s,on:i}=e;s({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const a=e=>"string"==typeof e?e:`${e}px`;ve({effect:"creative",swiper:t,on:i,setTranslate:()=>{const{slides:e,wrapperEl:s,slidesSizesGrid:i}=t,n=t.params.creativeEffect,{progressMultiplier:r}=n,o=t.params.centeredSlides,l=M(t);if(o){const e=i[0]/2-t.params.slidesOffsetBefore||0;s.style.transform=`translateX(calc(50% - ${e}px))`}for(let s=0;s<e.length;s+=1){const i=e[s],d=i.progress,c=Math.min(Math.max(i.progress,-n.limitProgress),n.limitProgress);let p=c;o||(p=Math.min(Math.max(i.originalProgress,-n.limitProgress),n.limitProgress));const u=i.swiperSlideOffset,m=[t.params.cssMode?-u-t.translate:-u,0,0],f=[0,0,0];let h=!1;t.isHorizontal()||(m[1]=m[0],m[0]=0);let g={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};c<0?(g=n.next,h=!0):c>0&&(g=n.prev,h=!0),m.forEach(((e,t)=>{m[t]=`calc(${e}px + (${a(g.translate[t])} * ${Math.abs(c*r)}))`})),f.forEach(((e,t)=>{let s=g.rotate[t]*Math.abs(c*r);f[t]=s})),i.style.zIndex=-Math.abs(Math.round(d))+e.length;const v=m.join(", "),w=`rotateX(${l(f[0])}deg) rotateY(${l(f[1])}deg) rotateZ(${l(f[2])}deg)`,b=p<0?`scale(${1+(1-g.scale)*p*r})`:`scale(${1-(1-g.scale)*p*r})`,y=p<0?1+(1-g.opacity)*p*r:1-(1-g.opacity)*p*r,E=`translate3d(${v}) ${w} ${b}`;if(h&&g.shadow||!h){let e=i.querySelector(".swiper-slide-shadow");if(!e&&g.shadow&&(e=Se("creative",i)),e){const t=n.shadowPerProgress?c*(1/n.limitProgress):c;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const S=we(0,i);S.style.transform=E,S.style.opacity=y,g.origin&&(S.style.transformOrigin=g.origin)}},setTransition:e=>{const s=t.slides.map((e=>f(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),be({swiper:t,duration:e,transformElements:s,allSlides:!0})},perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}function Le(e){let{swiper:t,extendParams:s,on:i}=e;s({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),ve({effect:"cards",swiper:t,on:i,setTranslate:()=>{const{slides:e,activeIndex:s,rtlTranslate:i}=t,a=t.params.cardsEffect,{startTranslate:n,isTouched:r}=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 u=d.swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&(t.wrapperEl.style.transform=`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(u-=e[0].swiperSlideOffset);let m=t.params.cssMode?-u-t.translate:-u,f=0;const h=-100*Math.abs(p);let g=1,v=-a.perSlideRotate*p,w=a.perSlideOffset-.75*Math.abs(p);const b=t.virtual&&t.params.virtual.enabled?t.virtual.from+l:l,y=(b===s||b===s-1)&&p>0&&p<1&&(r||t.params.cssMode)&&o<n,E=(b===s||b===s+1)&&p<0&&p>-1&&(r||t.params.cssMode)&&o>n;if(y||E){const e=(1-Math.abs((Math.abs(p)-.5)/.5))**.5;v+=-28*p*e,g+=-.5*e,w+=96*e,f=-25*e*Math.abs(p)+"%"}if(m=p<0?`calc(${m}px ${i?"-":"+"} (${w*Math.abs(p)}%))`:p>0?`calc(${m}px ${i?"-":"+"} (-${w*Math.abs(p)}%))`:`${m}px`,!t.isHorizontal()){const e=f;f=m,m=e}const S=p<0?""+(1+(1-g)*p):""+(1-(1-g)*p),T=`\n translate3d(${m}, ${f}, ${h}px)\n rotateZ(${a.rotate?i?-v:v:0}deg)\n scale(${S})\n `;if(a.slideShadows){let e=d.querySelector(".swiper-slide-shadow");e||(e=Se("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,we(0,d).style.transform=T}},setTransition:e=>{const s=t.slides.map((e=>f(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),be({swiper:t,duration:e,transformElements:s})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:t.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!t.params.cssMode})})}Object.keys(ae).forEach((e=>{Object.keys(ae[e]).forEach((t=>{re.prototype[t]=ae[e][t]}))})),re.use([function(e){let{swiper:t,on:s,emit:i}=e;const a=r();let n=null,o=null;const l=()=>{t&&!t.destroyed&&t.initialized&&(i("beforeResize"),i("resize"))},d=()=>{t&&!t.destroyed&&t.initialized&&i("orientationchange")};s("init",(()=>{t.params.resizeObserver&&void 0!==a.ResizeObserver?t&&!t.destroyed&&t.initialized&&(n=new ResizeObserver((e=>{o=a.requestAnimationFrame((()=>{const{width:s,height:i}=t;let a=s,n=i;e.forEach((e=>{let{contentBoxSize:s,contentRect:i,target:r}=e;r&&r!==t.el||(a=i?i.width:(s[0]||s).inlineSize,n=i?i.height:(s[0]||s).blockSize)})),a===s&&n===i||l()}))})),n.observe(t.el)):(a.addEventListener("resize",l),a.addEventListener("orientationchange",d))})),s("destroy",(()=>{o&&a.cancelAnimationFrame(o),n&&n.unobserve&&t.el&&(n.unobserve(t.el),n=null),a.removeEventListener("resize",l),a.removeEventListener("orientationchange",d)}))},function(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const n=[],o=r(),l=function(e,s){void 0===s&&(s={});const i=new(o.MutationObserver||o.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void a("observerUpdate",e[0]);const s=function(){a("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(s):o.setTimeout(s,0)}));i.observe(e,{attributes:void 0===s.attributes||s.attributes,childList:t.isElement||(void 0===s.childList||s).childList,characterData:void 0===s.characterData||s.characterData}),n.push(i)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=E(t.hostEl);for(let t=0;t<e.length;t+=1)l(e[t])}l(t.hostEl,{childList:t.params.observeSlideChildren}),l(t.wrapperEl,{attributes:!1})}})),i("destroy",(()=>{n.forEach((e=>{e.disconnect()})),n.splice(0,n.length)}))}]),document.addEventListener("DOMContentLoaded",(()=>{ const e=document.querySelectorAll(".swiper");e.length&&e.forEach((e=>{let t={};try{t=JSON.parse(e.dataset.swiper)}catch(e){return void console.error(e)}!function(e,t={},s=!1){var i,a,n,r,o,l;const d=[he,oe,ce,ue,ge,le,fe],c={slide:"",flip:Te,fade:ye,coverflow:xe,cube:Ee,cards:Le,creative:Me};t.effect&&c[t.effect]&&d.push(c[t.effect]),t.scrollbar&&d.push(me);const p=e.getAttribute("data-swiper");let u={};if(p)try{u=JSON.parse(p)}catch(e){console.error("Error parsing data-swiper attribute:",e)}const m=null!==(i=null!==(a=u.slidesPerView)&&void 0!==a?a:t?.slidesPerView)&&void 0!==i?i:1,f=null!==(n=null!==(r=u.spaceBetween)&&void 0!==r?r:t?.spaceBetween)&&void 0!==n?n:10,h=null!==(o=null!==(l=u.initialSlide)&&void 0!==l?l:t?.initialSlide)&&void 0!==o?o:10,g="Desktop"===t.viewslider,v="Tablet"===t.viewslider,w="Mobile"===t.viewslider;new re(e,(e=>{var t,i,a,n,r,o;const l={createElements:!0,centeredSlides:null!==(t=e?.centerSlides)&&void 0!==t&&t,grabCursor:null===(i=e?.grabCursor)||void 0===i||i,keyboard:!0,modules:d,navigation:null!==(a=e?.navigation)&&void 0!==a&&a,pagination:null!==(n=e?.pagination)&&void 0!==n&&n,simulateTouch:null===(r=e?.simulateTouch)||void 0===r||r,freeMode:!0,scrollbar:null===(o=e?.scrollbar)||void 0===o||o};var c,p,u,b,y,E,S,T,x;return s?{...l,autoplay:null!==(c=e?.autoplay)&&void 0!==c&&c,initialSlide:h-1,mousewheel:null===(p=e?.mousewheel)||void 0===p||p,...e.effect&&"none"!==e.effect&&{effect:null!==(u=e.effect)&&void 0!==u?u:"fade"},...["fade","flip","cube","cards"].includes(e.effect)?{}:{slidesPerView:m,spaceBetween:f,loop:e?.loop},..."cards"===e.effect&&{loop:!1}}:{...l,initialSlide:g?(null!==(b=e?.initialSlide)&&void 0!==b?b:1)-1:v?(null!==(y=e?.initialSlideTablet)&&void 0!==y?y:1)-1:w?(null!==(E=e?.initialSlideMobile)&&void 0!==E?E:1)-1:0,pagination:{enabled:!0,clickable:!0,..."numbers"===e.dotstype&&{type:"fraction"},..."bullets"===e.dotstype&&{dynamicBullets:!0,dynamicMainBullets:null!==(S=e?.dynamicMainBullets)&&void 0!==S?S:1},..."progressbar"===e.dotstype&&{type:"progressbar"}},...["fade","cards"].includes(e.effect)?{}:{loop:!0},...["fade","flip","cube","cards"].includes(e.effect)?{}:{slidesPerView:g?e?.slidesPerView:v?e?.slidesPerViewTablet:w?e?.slidesPerViewMobile:1,spaceBetween:g?e?.spaceBetween:v?e?.spaceBetweenTablet:w?e?.spaceBetweenMobile:10},...e.effect&&"none"!==e.effect&&{effect:null!==(T=e.effect)&&void 0!==T?T:"fade"},..."cards"===e.effect&&{loop:!1},mousewheel:{enabled:null===(x=e?.mousewheel)||void 0===x||x,sensitivity:7}}})(t))}(e,t,!0)}))}));const Ce=e=>NodeList.prototype.isPrototypeOf(e)||HTMLCollection.prototype.isPrototypeOf(e)?Array.from(e):"string"==typeof e||e instanceof String?document.querySelectorAll(e):[e],Oe=new class{constructor(){this.positions={top:0,bottom:0,height:0}}setViewportTop(e){return this.positions.top=e?e.scrollTop:window.pageYOffset,this.positions}setViewportBottom(){return this.positions.bottom=this.positions.top+this.positions.height,this.positions}setViewportAll(e){return this.positions.top=e?e.scrollTop:window.pageYOffset,this.positions.height=e?e.clientHeight:document.documentElement.clientHeight,this.positions.bottom=this.positions.top+this.positions.height,this.positions}},Pe=(()=>{const e="transform webkitTransform mozTransform oTransform msTransform".split(" ");let t,s=0;for(;void 0===t;)t=void 0!==document.createElement("div").style[e[s]]?e[s]:void 0,s+=1;return t})();class ke{constructor(e,t,s=!1){var i;this.element=e,this.elementContainer=e,this.settings=t,this.isVisible=!0,this.isInit=!1,this.oldTranslateValue=-1,this.prefersReducedMotion=s,this.init=this.init.bind(this),this.customWrapper=this.settings.customWrapper&&this.element.closest(this.settings.customWrapper)?this.element.closest(this.settings.customWrapper):null,!this.prefersReducedMotion&&("img"!==(i=e).tagName.toLowerCase()&&"picture"!==i.tagName.toLowerCase()||i&&i.complete&&!(typeof i.naturalWidth<"u"&&0===i.naturalWidth)?this.init():this.element.addEventListener("load",(()=>{setTimeout((()=>{this.init(!0)}),50)})))}init(e){this.prefersReducedMotion||this.isInit||(e&&(this.rangeMax=null),!this.element.closest(".simpleParallax")&&(!1===this.settings.overflow&&this.wrapElement(this.element),this.setTransformCSS(),this.getElementOffset(),this.intersectionObserver(),this.getTranslateValue(),this.animate(),this.settings.delay>0?setTimeout((()=>{this.setTransitionCSS(),this.elementContainer.classList.add("simple-parallax-initialized")}),10):this.elementContainer.classList.add("simple-parallax-initialized"),this.isInit=!0))}wrapElement(){const e=this.element.closest("picture")||this.element;let t=this.customWrapper||document.createElement("div");t.classList.add("simpleParallax"),t.style.overflow="hidden",this.customWrapper||(e.parentNode.insertBefore(t,e),t.appendChild(e)),this.elementContainer=t}unWrapElement(){const e=this.elementContainer;this.customWrapper?(e.classList.remove("simpleParallax"),e.style.overflow=""):e.replaceWith(...e.childNodes)}setTransformCSS(){!1===this.settings.overflow&&(this.element.style[Pe]=`scale(${this.settings.scale})`),this.element.style.willChange="transform"}setTransitionCSS(){this.element.style.transition=`transform ${this.settings.delay}s ${this.settings.transition}`}unSetStyle(){this.element.style.willChange="",this.element.style[Pe]="",this.element.style.transition=""}getElementOffset(){const e=this.elementContainer.getBoundingClientRect();if(this.elementHeight=e.height,this.elementTop=e.top+Oe.positions.top,this.settings.customContainer){const t=this.settings.customContainer.getBoundingClientRect();this.elementTop=e.top-t.top+Oe.positions.top}this.elementBottom=this.elementHeight+this.elementTop}buildThresholdList(){const e=[];for(let t=1;t<=this.elementHeight;t++){const s=t/this.elementHeight;e.push(s)}return e}intersectionObserver(){const e={root:null,threshold:this.buildThresholdList()};this.observer=new IntersectionObserver(this.intersectionObserverCallback.bind(this),e),this.observer.observe(this.element)}intersectionObserverCallback(e){e.forEach((e=>{e.isIntersecting?this.isVisible=!0:this.isVisible=!1}))}checkIfVisible(){return this.elementBottom>Oe.positions.top&&this.elementTop<Oe.positions.bottom}getRangeMax(){const e=this.element.clientHeight;this.rangeMax=e*this.settings.scale-e}getTranslateValue(){let e=((Oe.positions.bottom-this.elementTop)/((Oe.positions.height+this.elementHeight)/100)).toFixed(1);return e=Math.min(100,Math.max(0,e)),0!==this.settings.maxTransition&&e>this.settings.maxTransition&&(e=this.settings.maxTransition),this.oldPercentage!==e&&(this.rangeMax||this.getRangeMax(),this.translateValue=(e/100*this.rangeMax-this.rangeMax/2).toFixed(0),this.oldTranslateValue!==this.translateValue)&&(this.oldPercentage=e,this.oldTranslateValue=this.translateValue,!0)}animate(){let e,t=0,s=0;(this.settings.orientation.includes("left")||this.settings.orientation.includes("right"))&&(s=`${this.settings.orientation.includes("left")?-1*this.translateValue:this.translateValue}px`),(this.settings.orientation.includes("up")||this.settings.orientation.includes("down"))&&(t=`${this.settings.orientation.includes("up")?-1*this.translateValue:this.translateValue}px`),e=!1===this.settings.overflow?`translate3d(${s}, ${t}, 0) scale(${this.settings.scale})`:`translate3d(${s}, ${t}, 0)`,this.element.style[Pe]=e}}let Ie,Ae,De=!1,ze=[];class $e{constructor(e,t){e&&Element.prototype.closest&&"IntersectionObserver"in window&&(this.prefersReducedMotion=window.matchMedia("(prefers-reduced-motion: reduce)").matches,this.reducedMotionMediaQuery=window.matchMedia("(prefers-reduced-motion: reduce)"),this.handleReducedMotionChange=this.handleReducedMotionChange.bind(this),this.reducedMotionMediaQuery.addEventListener("change",this.handleReducedMotionChange),!this.prefersReducedMotion&&(this.elements=Ce(e),this.defaults={delay:0,orientation:"up",scale:1.3,overflow:!1,transition:"cubic-bezier(0,0,0,1)",customContainer:"",customWrapper:"",maxTransition:0},this.settings=Object.assign(this.defaults,t),this.settings.customContainer&&([this.customContainer]=Ce(this.settings.customContainer)),this.lastPosition=-1,this.resizeIsDone=this.resizeIsDone.bind(this),this.refresh=this.refresh.bind(this),this.proceedRequestAnimationFrame=this.proceedRequestAnimationFrame.bind(this),this.init()))}handleReducedMotionChange(e){this.prefersReducedMotion=e.matches,this.prefersReducedMotion?this.destroy():this.init()}init(){this.prefersReducedMotion||(Oe.setViewportAll(this.customContainer),ze=[...this.elements.map((e=>new ke(e,this.settings,this.prefersReducedMotion))),...ze],De||(this.proceedRequestAnimationFrame(),window.addEventListener("resize",this.resizeIsDone),De=!0))}resizeIsDone(){clearTimeout(Ae),Ae=setTimeout(this.refresh,200)}proceedRequestAnimationFrame(){Oe.setViewportTop(this.customContainer),this.lastPosition!==Oe.positions.top?(Oe.setViewportBottom(),ze.forEach((e=>{this.proceedElement(e)})),Ie=window.requestAnimationFrame(this.proceedRequestAnimationFrame),this.lastPosition=Oe.positions.top):Ie=window.requestAnimationFrame(this.proceedRequestAnimationFrame)}proceedElement(e){let t=!1;t=this.customContainer?e.checkIfVisible():e.isVisible,t&&e.getTranslateValue()&&e.animate()}refresh(){Oe.setViewportAll(this.customContainer),ze.forEach((e=>{e.getElementOffset(),e.getRangeMax()})),this.lastPosition=-1}destroy(){this.reducedMotionMediaQuery&&this.reducedMotionMediaQuery.removeEventListener("change",this.handleReducedMotionChange);const e=[];ze=ze.filter((t=>this.elements&&this.elements.includes(t.element)?(e.push(t),!1):t)),e.forEach((e=>{e.unSetStyle(),this.settings&&!1===this.settings.overflow&&e.unWrapElement()})),ze.length||(window.cancelAnimationFrame(Ie),window.removeEventListener("resize",this.refresh),De=!1)}}function Be(e,t){document.querySelectorAll(e).forEach((e=>{const s=e.clientHeight,i=e.clientWidth;e.addEventListener("mousemove",(a=>{const n=a.layerX,r=`perspective(500px) rotateX(${(a.layerY-s/2)/s*-t}deg) rotateY(${t*((n-i/2)/i)}deg)`;e.style.transform=r})),e.addEventListener("mouseout",(()=>{e.style.transform="perspective(500px) scale(1) rotateX(0) rotateY(0)"}),120),e.addEventListener("mousedown",(()=>{e.style.transform="perspective(500px) scale(0.9) rotateX(0) rotateY(0)"}),120),e.addEventListener("mouseup",(()=>{e.style.transform="perspective(500px) scale(1.1) rotateX(0) rotateY(0)"}),120)}))}Be(".vayu_block_styling-effect7",8),Be(".vayu_block_styling-overlay-effect",10),document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll('img[data-parallax="true"]').forEach((e=>{const t={orientation:e.dataset.orientation||"up",delay:parseFloat(e.dataset.delay||0),scale:parseFloat(e.dataset.scale||1.2),transition:e.dataset.transition||"cubic-bezier(0,0,0,1)",overflow:"true"===e.dataset.overflow,maxTransition:parseFloat(e.dataset.maxTransition||60)};new $e(e,t)}))})),s(1),s(2147),s(4377),s(9941),s(8730),s(4934),s(576),s(2399),s(882),s(9127),s(1679);const Re=(e,t)=>{let s,i=0;const a=Math.ceil(e/t)+1||1,n=e=>{clearInterval(s),e?.()};return{steps:a,start:(e,r)=>{s=setInterval((()=>{i<a?(e?.(i),i+=1):n(r)}),1e3*t)},stop:n}},qe=e=>{"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())},He={none:void 0,"o-count-slower":3,"o-count-slow":2,"o-count-fast":1.5,"o-count-fastest":1},Ve=new Set(Array.from("0123456789,.")),Ge=new Set(Array.from(","));qe((()=>{const e={root:null,rootMargin:"0px",threshold:[.6]},t=new Set("0123456789");setTimeout((()=>{document.querySelectorAll("o-anim-count").forEach((s=>{if(Array.from(s.innerHTML).some((e=>t.has(e)))){const t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&0<e.intersectionRect.height&&(t.unobserve(s),(e=>{const t=e?.innerHTML||"",s=(e=>{let t=e.parentElement;for(let e=0;e<3;++e)if(Array.from(t.classList).some((e=>e.includes("o-count-")))){const e=Array.from(t.classList),s=e.filter((e=>e.includes("o-count-delay-"))).pop(),i=parseInt(s?.split("-")?.[3]||"0"),a=s?.includes("ms"),n=Object.keys(He),r=e?.filter((e=>n.includes(e)))?.pop()||"fast";return{speed:He[r],delay:i*(a?0:1e3)}}})(e),{suffix:i,prefix:a,number:n}=(e=>{const t=Array.from(e),s=[],i=[],a=[];let n=!0,r=!1;for(let e of t)Ve.has(e)?(n&&(n=!1),r?i.push(e):a.push(e)):n?s.push(e):(r||(r=!0),i.push(e));return{prefix:s.join(""),suffix:i.join(""),number:a}})(t),r=[...n].reverse().map(((e,t)=>Ge.has(e)?{position:t,character:e}:null)).filter((e=>e)),o=n.join("")?.split(".")?.[1]?.length||0,l=parseFloat(n.filter((e=>","!==e)).join("")),d=t.length-i.length,c=e=>{const t=e.split("").reverse();return r.forEach((e=>{e.position<t.length&&t.splice(e.position,0,e.character)})),((a||"")+t.reverse().join("")).padStart(d," ")+i||""},{start:p,steps:u}=Re(s?.speed||2,.05),m=parseFloat((l/u).toFixed(o||2));if(1e-12>m)return;let f=[0];for(let e=1;e<u;++e)f.push(f[e-1]+m);f=f.map((e=>e.toFixed(o))),0<f.length&&(f[u-1]=l.toFixed(o||0),e.innerHTML=c(f[0]),setTimeout((()=>{e.style.whiteSpace="pre",p((t=>{e.innerHTML=c(f[t])}),(()=>{e.style.whiteSpace="",e.innerHTML=t}))}),s?.delay||0))})(s))}))}),e);t.observe(s)}}))}),300)}));const Fe={none:void 0,"o-typing-slower":.4,"o-typing-slow":.25,"o-typing-fast":.05,"o-typing-faster":.01};qe((()=>{const e={root:null,rootMargin:"0px",threshold:[.6]};let t="\n\t\t.o-anim-typing-caret::after {\n\t\t\tfont-weight: 100;\n\t\t\tcontent: '|';\n\t\t\tcolor: #2E3D48;\n\t\t\tanimation: 1s blink step-end infinite;\n\t\t}\n\t\n\t\t@keyframes blink {\n\t\t\tfrom, to {\n\t\t\t color: transparent;\n\t\t }\n\t\t\t50% {\n\t\t\t color: black;\n\t\t }\n\t\t}\n\t";t=t.replace(/(\r\n|\n|\r|\t)/gm,"");let s=!1;setTimeout((()=>{document.querySelectorAll("o-anim-typing").forEach((i=>{if(!s){const e=document.createElement("style");e.innerText=t,document.head.appendChild(e),s=!0}const a=(e=>{const t=e?.innerHTML||"",s=(e=>{let t=e.parentElement;for(let e=0;e<3;++e)if(Array.from(t.classList).some((e=>e.includes("o-typing-")))){const e=Array.from(t.classList),s=e.filter((e=>e.includes("o-typing-delay-"))).pop(),i=parseInt(s?.split("-")?.[3]||"0"),a=s?.includes("ms"),n=Object.keys(Fe),r=e?.filter((e=>n.includes(e)))?.pop()||"fast";return{speed:Fe[r],delay:i*(a?0:1e3)}}})(e);t?.length||returnl;const i=t.length,a=(s?.speed||.1)*i,{start:n,steps:r,stop:o}=Re(a,s?.speed||.1),l=document.createElement("span");l.classList.add("o-anim-typing-caret"),l.style.whiteSpace="pre-wrap";const d=document.createElement("span");d.style.whiteSpace="pre-wrap",d.style.visibility="hidden";const c=e.innerHTML;return e.innerHTML="",e.appendChild(l),e.appendChild(d),l.innerHTML=t.slice(0,0),d.innerHTML=t.slice(0),()=>{setTimeout((()=>{n((e=>{l.innerHTML=t.slice(0,e),e<i&&(d.innerHTML=t.slice(e)),i>=r&&o()}),(()=>{e.innerHTML=c}))}),s?.delay||0)}})(i),n=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&0<e.intersectionRect.height&&(n.unobserve(i),a())}))}),e);n.observe(i)}))}),100)}))})()})();1 (()=>{var e={1:()=>{document.querySelectorAll(".vayu_block_styling-effect7").forEach((e=>{const t=e.clientHeight,s=e.clientWidth;e.addEventListener("mousemove",(i=>{const a=i.layerX,n=`perspective(500px) rotateX(${(i.layerY-t/2)/t*-8}deg) rotateY(${(a-s/2)/s*8}deg)`;e.style.transform=n})),e.addEventListener("mouseout",(()=>{e.style.transform="perspective(500px) scale(1) rotateX(0) rotateY(0)"}),120),e.addEventListener("mousedown",(()=>{e.style.transform="perspective(500px) scale(0.9) rotateX(0) rotateY(0)"}),120),e.addEventListener("mouseup",(()=>{e.style.transform="perspective(500px) scale(1.1) rotateX(0) rotateY(0)"}),120)})),document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".vb-vide-view").forEach((e=>{const t=e.querySelector(".vb-icon-block-video"),s=e.querySelector(".vb-video-poster"),i=e.querySelector(".vb-video-wrapper-relative"),a=e.querySelector(".vb-video-icon"),n=e.querySelector(".vb-video-iframe"),r=e.querySelector(".vb-video-rotation"),o=e.querySelector(".vb-video-iframe-cont"),l=r?.dataset.lightbox,d=e.querySelector(".vb-vayu-modal"),c=e.querySelector(".vb-vayu-modal-close");t&&(t.addEventListener("click",(()=>{"true"===l?d&&(d.classList.add("open"),s.style.display="flex",a.style.display="flex",i.style.display="block",n.style.setProperty("display","none","important"),document.body.style.overflow="hidden"):(s.style.display="none",o&&(o.style.display="block"),a.style.display="none",i.style.display="none",n&&n.style.setProperty("display","block","important"),document.body.style.overflow="")})),c&&d&&(c.addEventListener("click",(()=>{d.classList.remove("open"),document.body.style.overflow=""})),d.addEventListener("click",(e=>{e.target===d&&(d.classList.remove("open"),document.body.style.overflow="")}))))}))}))},576:()=>{const e=document.querySelector(".vayu_blocks_touch_class .wp-block-vayu-blocks-advance-timeline");let t,s,i=!1;e&&(e.addEventListener("mousedown",(a=>{i=!0,t=a.pageX-e.offsetLeft,s=e.scrollLeft})),e.addEventListener("mouseleave",(()=>{i=!1})),e.addEventListener("mouseup",(()=>{i=!1})),e.addEventListener("mousemove",(a=>{if(!i)return;a.preventDefault();const n=a.pageX-e.offsetLeft-t;e.scrollLeft=s-n})),e.addEventListener("touchstart",(a=>{i=!0,t=a.touches[0].pageX-e.offsetLeft,s=e.scrollLeft})),e.addEventListener("touchend",(()=>{i=!1})),e.addEventListener("touchmove",(a=>{if(!i)return;a.preventDefault();const n=a.touches[0].pageX-e.offsetLeft-t;e.scrollLeft=s-n})))},882:()=>{document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".swipe-scroll-wrapper[id^='vayu-blocks-']").forEach((e=>{!function(e){const t=e.closest("[id^='vayu-blocks-']");if(!t)return;const s=t.querySelector(".swipe-carousel"),i=s?.getAttribute("data-nav")||"none";if(!s||!e)return void console.log("Missing elements in:",t.id);let a,n,r=Array.from(s.querySelectorAll(".slide-item"));if(0===r.length)return;"arrow"!==i&&"arrowdots"!==i||(a=t.querySelector(".scroll-button.left"),n=t.querySelector(".scroll-button.right"));let o=t.querySelector(".pagination-container");o||"none"===i||"arrow"===i||(o=document.createElement("div"),o.classList.add("pagination-container"),e.appendChild(o));let l=r[0].offsetWidth+18,d=Math.floor(e.offsetWidth/l)||1,c=0,p=!1,u=0,m=0,f=0,h=.3*l;r.forEach((e=>{e.querySelectorAll("img").forEach((e=>{e.setAttribute("draggable","false"),e.addEventListener("dragstart",(e=>e.preventDefault()))}))}));const g=r.slice(0,d).map((e=>{const t=e.cloneNode(!0);return t.classList.add("clone"),t.querySelectorAll("img").forEach((e=>{e.setAttribute("draggable","false"),e.addEventListener("dragstart",(e=>e.preventDefault()))})),t}));g.forEach((e=>s.appendChild(e))),r=Array.from(s.querySelectorAll(".slide-item")),o&&(o.innerHTML="",r.slice(0,r.length-g.length).forEach(((e,t)=>{const s=document.createElement("span");s.classList.add("pagination-dot"),s.dataset.index=t,o.appendChild(s)})));const v=()=>{const e=c%(r.length-g.length);o&&o.querySelectorAll(".pagination-dot").forEach(((t,s)=>{t.classList.toggle("active",s===e)}))},w=(e,t=!0)=>{c=e,c>=r.length-g.length?(c=0,m=0):c<0&&(c=r.length-g.length-1,m=-c*l),m=-c*l,f=m,s.style.transform=`translateX(${m}px)`,s.style.transition=t?"transform 0.4s ease":"none",v()},b=e=>e.type.includes("mouse")?e.clientX:e.touches[0].clientX,y=e=>{"touchstart"===e.type&&e.preventDefault(),p=!0,u=b(e),f=m,s.style.transition="none",s.classList.add("dragging")},E=e=>{if(!p)return;const t=b(e);m=f+(t-u);const i=-(r.length-d)*l;m>0?m=0+.5*(m-0):m<i&&(m=i+.5*(m-i)),s.style.transform=`translateX(${m}px)`},S=()=>{if(!p)return;p=!1,s.classList.remove("dragging");const e=m- -c*l;let t=c;Math.abs(e)>h&&(t+=e>0?-1:1),w(t)};s.addEventListener("mousedown",y),s.addEventListener("touchstart",y,{passive:!1}),s.addEventListener("mousemove",E),s.addEventListener("touchmove",E,{passive:!1}),s.addEventListener("mouseup",S),s.addEventListener("touchend",S),s.addEventListener("mouseleave",(()=>{p&&S()})),s.addEventListener("click",(e=>{Math.abs(m-f)>10&&(e.preventDefault(),e.stopPropagation())}),!0),a&&a.addEventListener("click",(()=>w(c-1))),n&&n.addEventListener("click",(()=>w(c+1))),o&&o.addEventListener("click",(e=>{e.target.classList.contains("pagination-dot")&&w(parseInt(e.target.dataset.index,10))})),s.style.willChange="transform",s.style.transform="translateX(0px)";window.addEventListener("resize",(()=>{l=r[0]?.offsetWidth+18||0,d=Math.floor(e.offsetWidth/l)||1,h=.3*l,w(c,!1)})),v()}(e)}))}))},1679:()=>{const e=["none","bounce","flash","pulse","rubberBand","shakeX","shakeY","headShake","swing","tada","wobble","jello","heartBeat","hinge","jackInTheBox","backInDown","backInLeft","backInRight","backInUp","backOutDown","backOutLeft","backOutRight","backOutUp","bounceIn","bounceInDown","bounceInLeft","bounceInRight","bounceInUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeIn","fadeInDown","fadeInDownBig","fadeInLeft","fadeInLeftBig","fadeInRight","fadeInRightBig","fadeInUp","fadeInTopLeft","fadeInTopRight","fadeInBottomLeft","fadeInBottomRight","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","fadeOutTopLeft","fadeOutTopRight","fadeOutBottomRight","fadeOutBottomLeft","flip","flipInX","flipInY","flipOutX","flipOutY","lightSpeedInRight","lightSpeedInLeft","lightSpeedOutRight","lightSpeedOutLeft","rotateIn","rotateInDownLeft","rotateInDownRight","rotateInUpLeft","rotateInUpRight","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideInDown","slideInLeft","slideInRight","slideInUp","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomIn","zoomInDown","zoomInLeft","zoomInRight","zoomInUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollIn","rollOut"],t=["backOutDown","backOutLeft","backOutRight","backOutUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","fadeOutTopLeft","fadeOutTopRight","fadeOutBottomRight","fadeOutBottomLeft","flipOutX","flipOutY","lightSpeedOutRight","lightSpeedOutLeft","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollOut"],s=["none","delay-100ms","delay-200ms","delay-500ms","delay-1s","delay-2s","delay-3s","delay-4s","delay-5s"],i=["none","slow","slower","fast","faster"];window.addEventListener("load",(()=>{const n=document.querySelectorAll(".animated");for(const r of n){if(classes=r.classList,r.animationClasses=[],classes.add("o-anim-ready"),!a(r)){const t=e.find((e=>Array.from(classes).find((t=>t===e)))),a=s.find((e=>Array.from(classes).find((t=>t===e)))),n=i.find((e=>Array.from(classes).find((t=>t===e))));r.classList.add("hidden-animated"),t&&(r.animationClasses.push(t),r.classList.remove(t)),a&&(r.animationClasses.push(a),r.classList.remove(a)),n&&(r.animationClasses.push(n),r.classList.remove(n))}t.forEach((e=>{r.className.includes(e)&&r.addEventListener("animationend",(()=>{r.classList.remove(e)}))}))}window.addEventListener("scroll",(()=>{for(const e of n)e.getBoundingClientRect().top<=.95*window.innerHeight&&0<e.getBoundingClientRect().top&&e.animationClasses&&0<e.animationClasses.length&&(e.animationClasses.forEach((t=>e.classList.add(t))),e.classList.remove("hidden-animated"),delete e.animationClasses)}))}));const a=e=>{const t=window.scrollY||window.pageYOffset,s=e.getBoundingClientRect().top+t,i=t,a=t+window.innerHeight,n=s,r=s+e.clientHeight;return r>=i&&r<=a||n<=a&&n>=i}},2147:()=>{function e(e,t){e.classList.remove("closed"),e.classList.add("open"),t?.dataset.activeIcon&&(t.innerHTML=t.dataset.activeIcon)}function t(e,t){e.classList.remove("open"),e.classList.add("closed"),t?.dataset.inactiveIcon&&(t.innerHTML=t.dataset.inactiveIcon)}function s(e,s){s.forEach((s=>{if(s!==e){const e=s.querySelector(".vb-faq-icon");t(s,e)}}))}document.addEventListener("DOMContentLoaded",(function(){!function(){const i=document.querySelectorAll(".vb-faq-child-wrapper");i.forEach((a=>{const n=a.querySelector(".vb-faq-icon"),r=a.dataset.showtype,o="true"===a.dataset.isFirstChild,l="true"===a.dataset.expandfirst,d="true"===a.dataset.enabletoggle,c=a.dataset.collapseall;"accordation"===r&&l&&o&&e(a,n),n&&"accordation"===r&&n.addEventListener("click",(function(r){r.preventDefault();const o=a.classList.contains("open");"1"===c?s(a,i):a.classList.contains("colpaseopen")?a.classList.remove("colpaseopen"):s(a,i),d?o?t(a,n):e(a,n):o||e(a,n)}))}))}()}))},2399:()=>{document.addEventListener("DOMContentLoaded",(function(){let e=!1;const t=(t,s)=>{const i=t.closest(".wp-block-vayu-blocks-advance-query-loop"),a=t.querySelector(".th-button-inside"),n=parseInt(t.getAttribute("data-page")),r=parseInt(t.getAttribute("data-max-page")),o=parseInt(t.getAttribute("data-per-page")),l=window.location.pathname.split("/")[1];if(n>r)return;e=!0,a.textContent=t.getAttribute("data-loadmore-label"),t.setAttribute("disabled","disabled");const d=JSON.parse(i.getAttribute("data-attrs")),c=`${window.location.origin}/${l}/wp-admin/admin-ajax.php`,p=new FormData;p.append("action","load_more_posts"),p.append("page",n),p.append("perpage",o),p.append("query_id",t.getAttribute("data-query-id")),p.append("attrs",JSON.stringify(d)),fetch(c,{method:"POST",body:p}).then((e=>e.json())).then((e=>{if(e.success){const s=e.data.content,i=document.querySelector(".wp-block-vayu-blocks-wrapper");i&&i.insertAdjacentHTML("beforeend",s),t.setAttribute("data-page",n+1),t.setAttribute("data-current-page",n),n+1>r?(a.textContent=t.getAttribute("data-nomorepost-label"),t.setAttribute("disabled","disabled")):(a.textContent=t.getAttribute("data-loadmorebtn-txt"),t.removeAttribute("disabled"))}else console.error("Error fetching posts:",e),a.textContent=t.getAttribute("data-loadmorebtn-txt"),t.removeAttribute("disabled")})).catch((e=>{console.error("Error:",e),a.textContent=t.getAttribute("data-loadmorebtn-txt"),t.removeAttribute("disabled")})).finally((()=>{e=!1}))};(()=>{const e=document.querySelector(".load-more-btn");e&&e.addEventListener("click",(function(s){"loadmorebtn"===e.getAttribute("data-loadmore-type")&&(s.preventDefault(),t(e))}))})(),window.addEventListener("scroll",(function(){const s=document.querySelector(".load-more-btn");if(!s||e)return;const i=s.getBoundingClientRect(),a=window.innerHeight||document.documentElement.clientHeight;if(i.top-a<100){"loadinfinite"===s.getAttribute("data-loadmore-type")&&t(s)}}))}))},4377:()=>{document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".vb-toc-wrapper").forEach((e=>{const t=e.querySelector(".vb-toc-toggle-button"),s=e.querySelector(".vb-toc-list"),i=e.querySelector(".vb-toc-separator");if(!t||!s)return;s.classList.contains("empty-toc");let a="true"===t.getAttribute("aria-expanded");const n=parseInt(s.dataset.collapseLimit||"0"),r=s.querySelectorAll(".vb-toc-item"),o=t.dataset.activeIcon,l=t.dataset.inactiveIcon,d=t.dataset.activetext,c=t.dataset.inactivetext,p=()=>{if(t.setAttribute("aria-expanded",a?"true":"false"),t.innerHTML=a?`${d||""}${o||""}`:`${c||""}${l||""}`,a?t.classList.add("vb-active"):t.classList.remove("vb-active"),0!==n||a?(s.style.display="grid",r.forEach(((e,t)=>{a||t<n?(e.style.display="list-item",e.setAttribute("aria-hidden","false"),e.classList.remove("is-collapsed")):(e.style.display="none",e.setAttribute("aria-hidden","true"),e.classList.add("is-collapsed"))}))):s.style.display="none",i){const e=a||n>0;i.style.display=e?"block":"none"}};p(),t.addEventListener("click",(()=>{a=!a,p()}))}))})),document.addEventListener("click",(function(e){const t=e.target.closest("a.vb-toc-link[data-scroll]");if(!t)return;e.preventDefault();const s=t.getAttribute("href");if(!s||!s.startsWith("#"))return;const i=document.querySelector(s);i&&window.scrollTo({top:i.getBoundingClientRect().top+window.pageYOffset-60,behavior:"smooth"})}))},4934:()=>{document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".unfold-inner").forEach((e=>{const t=e.getAttribute("data-content-show-event"),s="1"===e.getAttribute("data-hide-unfold-button"),i=e.querySelector(".unfold-content"),a=e.querySelector(".vb-bg-unfold-full-button"),n=e.querySelector(".unfold-button");function r(){const e=i.classList.contains("unfolded");i.classList.toggle("unfolded",!e);const t=a.classList.contains("unfolded");if(a.classList.toggle("unfolded",!t),n){const t=n.getAttribute("data-fold-text"),s=n.getAttribute("data-unfold-text"),i=n.querySelector(".btn-text");i&&(i.innerText=e?s:t);const a=n.querySelector(".btn-fold-icon"),r=n.querySelector(".btn-unfold-icon");a&&r&&(a.style.display=e?"none":"inline-flex",r.style.display=e?"inline-flex":"none"),n.setAttribute("aria-expanded",!e)}}i&&("contentclick"===t&&e.addEventListener("click",r),"contenthover"===t&&(e.addEventListener("mouseenter",(()=>{i.classList.add("unfolded"),a.classList.add("unfolded")})),e.addEventListener("mouseleave",(()=>{i.classList.remove("unfolded"),a.classList.remove("unfolded")}))),"buttonclick"!==t&&s||n&&n.addEventListener("click",(function(e){e.stopPropagation(),r()})))}))}))},8730:()=>{document.addEventListener("DOMContentLoaded",(()=>{const e=document.querySelector(".vayu_blocks-timeline__marker");if(e){const t=e.offsetTop,s=document.querySelector(".vayu-blocks-laytout-7-advance-timeline");s&&s.style.setProperty("--vb-value-top-icon",`${t}px`)}}))},9127:()=>{function e(e,t){const s=parseFloat(e.dataset.speed),i=parseInt(e.dataset.direction)||1,a=parseInt(e.dataset.start),n=parseInt(e.dataset.end),r=e.dataset.trigger,o=parseInt(e.dataset.top),l=parseInt(e.dataset.bottom),d=lottie.loadAnimation({container:e,renderer:"svg",loop:!0,autoplay:"none"===r,path:e.dataset.lottie});if(d.setSpeed(s),d.setDirection(i),d.playSegments([a,n],!1),"viewport"===r)window.addEventListener("scroll",(()=>{const t=e.getBoundingClientRect(),s=window.innerHeight,i=isNaN(o)?100:o,r=s*((isNaN(l)?0:l)/100),c=s*(i/100);t.top<c&&t.bottom>r&&d.playSegments([a,n],!0)}));else if("scroll"===r)window.addEventListener("scroll",(()=>{const t=e.getBoundingClientRect(),s=window.innerHeight,i=parseInt(e.dataset.top||"100"),a=parseInt(e.dataset.bottom||"0"),n=parseInt(e.dataset.start||"0"),r=parseInt(e.dataset.end||"100"),o=Math.floor((r-n)/2+n),l=s*(a/100),c=s*(i/100),p=t.top+t.height/2;if(t.bottom<l||t.top>c)return;const u=(p-l)/(c-l),m=Math.max(0,Math.min(1,u));if(m<.05)d.goToAndStop(n,!0);else if(m>=.05&&m<=.95){const e=n+(m-.05)/.9*(o-n);d.goToAndStop(e,!0)}else d.playSegments([o,r],!0)}));else if("click"===r){let t=!1;e.addEventListener("click",(()=>{t?(d.pause(),t=!1):(d.play(),t=!0)}))}else"hover"===r&&(e.addEventListener("mouseenter",(()=>{d.play()})),e.addEventListener("mouseleave",(()=>{d.pause()})));window[`lottie_${t}`]=d,e.lottieInstance=d}document.addEventListener("DOMContentLoaded",(()=>{const t=document.querySelectorAll(".vb-lottie-frontend");if("undefined"==typeof lottie){const s=document.createElement("script");s.src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.10.2/lottie.min.js",s.onload=()=>{t.forEach((t=>{const s=t.getAttribute("id");e(t,s)}))},document.body.appendChild(s)}else t.forEach((t=>{const s=t.getAttribute("id");e(t,s)}))}))},9941:()=>{document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".vayu-pin-first-wrap").forEach((e=>(e=>{let t=e.querySelector(".triangle-arrow");t||(t=document.createElement("div"),t.className="triangle-arrow",e.appendChild(t));const s=e.closest(".vayu-pin-spot-wrapper7").getAttribute("data-arrow")||"#444942";t.style.cssText=`\n position: absolute;\n width: 0;\n height: 0;\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n border-top: 10px solid ${s};\n `})(e))),document.querySelectorAll(".vayu-pin-spot-wrapper7.tooltip-onClick").forEach((e=>{e.addEventListener("click",(t=>{const s=e.querySelector(".vayu-pin-first-wrap");s&&s.classList.toggle("visible")}))}))}))}},t={};function s(i){var a=t[i];if(void 0!==a)return a.exports;var n=t[i]={exports:{}};return e[i](n,n.exports,s),n.exports}(()=>{"use strict";function e(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function t(s,i){void 0===s&&(s={}),void 0===i&&(i={});const a=["__proto__","constructor","prototype"];Object.keys(i).filter((e=>a.indexOf(e)<0)).forEach((a=>{void 0===s[a]?s[a]=i[a]:e(i[a])&&e(s[a])&&Object.keys(i[a]).length>0&&t(s[a],i[a])}))}const i={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 t(e,i),e}const n={document:i,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 r(){const e="undefined"!=typeof window?window:{};return t(e,n),e}function o(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}function l(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function d(){return Date.now()}function c(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function p(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const a=i<0||arguments.length<=i?void 0:arguments[i];if(null!=a&&(s=a,!("undefined"!=typeof window&&void 0!==window.HTMLElement?s instanceof HTMLElement:s&&(1===s.nodeType||11===s.nodeType)))){const s=Object.keys(Object(a)).filter((e=>t.indexOf(e)<0));for(let t=0,i=s.length;t<i;t+=1){const i=s[t],n=Object.getOwnPropertyDescriptor(a,i);void 0!==n&&n.enumerable&&(c(e[i])&&c(a[i])?a[i].__swiper__?e[i]=a[i]:p(e[i],a[i]):!c(e[i])&&c(a[i])?(e[i]={},a[i].__swiper__?e[i]=a[i]:p(e[i],a[i])):e[i]=a[i])}}}var s;return e}function u(e,t,s){e.style.setProperty(t,s)}function m(e){let{swiper:t,targetPosition:s,side:i}=e;const a=r(),n=-t.translate;let o,l=null;const d=t.params.speed;t.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(t.cssModeFrameID);const c=s>n?"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),r=.5-Math.cos(e*Math.PI)/2;let c=n+r*(s-n);if(p(c,s)&&(c=s),t.wrapperEl.scrollTo({[i]:c}),p(c,s))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[i]:c})})),void a.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=a.requestAnimationFrame(u)};u()}function f(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function h(e,t){void 0===t&&(t="");const s=r(),i=[...e.children];return s.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t?i.filter((e=>e.matches(t))):i}function g(e){try{return void console.warn(e)}catch(e){}}function v(e,t){void 0===t&&(t=[]);const s=document.createElement(e);return s.classList.add(...Array.isArray(t)?t:o(t)),s}function w(e){const t=r(),s=a(),i=e.getBoundingClientRect(),n=s.body,o=e.clientTop||n.clientTop||0,l=e.clientLeft||n.clientLeft||0,d=e===t?t.scrollY:e.scrollTop,c=e===t?t.scrollX:e.scrollLeft;return{top:i.top+d-o,left:i.left+c-l}}function b(e,t){return r().getComputedStyle(e,null).getPropertyValue(t)}function y(e){let t,s=e;if(s){for(t=0;null!==(s=s.previousSibling);)1===s.nodeType&&(t+=1);return t}}function E(e,t){const s=[];let i=e.parentElement;for(;i;)t?i.matches(t)&&s.push(i):s.push(i),i=i.parentElement;return s}function S(e,t){t&&e.addEventListener("transitionend",(function s(i){i.target===e&&(t.call(e,i),e.removeEventListener("transitionend",s))}))}function T(e,t,s){const i=r();return s?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function x(e){return(Array.isArray(e)?e:[e]).filter((e=>!!e))}function M(e){return t=>Math.abs(t)>0&&e.browser&&e.browser.need3dFix&&Math.abs(t)%90==0?t+.001:t}function L(e,t){void 0===t&&(t=""),"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let C,O,P;function k(){return C||(C=function(){const e=r(),t=a();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),C}function I(e){return void 0===e&&(e={}),O||(O=function(e){let{userAgent:t}=void 0===e?{}:e;const s=k(),i=r(),a=i.navigator.platform,n=t||i.navigator.userAgent,o={ios:!1,android:!1},l=i.screen.width,d=i.screen.height,c=n.match(/(Android);?[\s\/]+([\d.]+)?/);let p=n.match(/(iPad).*OS\s([\d_]+)/);const u=n.match(/(iPod)(.*OS\s([\d_]+))?/),m=!p&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===a;let h="MacIntel"===a;return!p&&h&&s.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${d}`)>=0&&(p=n.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),h=!1),c&&!f&&(o.os="android",o.android=!0),(p||m||u)&&(o.os="ios",o.ios=!0),o}(e)),O}function A(){return P||(P=function(){const e=r(),t=I();let s=!1;function i(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(i()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,i]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));s=e<16||16===e&&i<2}}const a=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),n=i();return{isSafari:s||n,needPerspectiveFix:s,need3dFix:n||a&&t.ios,isWebView:a}}()),P}var D={on(e,t,s){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const a=s?"unshift":"push";return e.split(" ").forEach((e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][a](t)})),i},once(e,t,s){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function a(){i.off(e,a),a.__emitterProxy&&delete a.__emitterProxy;for(var s=arguments.length,n=new Array(s),r=0;r<s;r++)n[r]=arguments[r];t.apply(i,n)}return a.__emitterProxy=t,i.on(e,a,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const i=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[i](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach(((i,a)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&s.eventsListeners[e].splice(a,1)}))})),s):s},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,s,i;for(var a=arguments.length,n=new Array(a),r=0;r<a;r++)n[r]=arguments[r];return"string"==typeof n[0]||Array.isArray(n[0])?(t=n[0],s=n.slice(1,n.length),i=e):(t=n[0].events,s=n[0].data,i=n[0].context||e),s.unshift(i),(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(i,[t,...s])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(i,s)}))})),e}};const z=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)},$=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)},B=(e,t)=>{if(!e||e.destroyed||!e.params)return;const s=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(s){let t=s.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(s.shadowRoot?t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{s.shadowRoot&&(t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},R=(e,t)=>{if(!e.slides[t])return;const s=e.slides[t].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")},q=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const s=e.slides.length;if(!s||!t||t<0)return;t=Math.min(t,s);const i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),a=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const s=a,n=[s-t];return n.push(...Array.from({length:t}).map(((e,t)=>s+i+t))),void e.slides.forEach(((t,s)=>{n.includes(t.column)&&R(e,s)}))}const n=a+i-1;if(e.params.rewind||e.params.loop)for(let i=a-t;i<=n+t;i+=1){const t=(i%s+s)%s;(t<a||t>n)&&R(e,t)}else for(let i=Math.max(a-t,0);i<=Math.min(n+t,s-1);i+=1)i!==a&&(i>n||i<a)&&R(e,i)};var H={updateSize:function(){const e=this;let t,s;const i=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:i.clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:i.clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(b(i,"padding-left")||0,10)-parseInt(b(i,"padding-right")||0,10),s=s-parseInt(b(i,"padding-top")||0,10)-parseInt(b(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))},updateSlides:function(){const e=this;function t(t,s){return parseFloat(t.getPropertyValue(e.getDirectionLabel(s))||0)}const s=e.params,{wrapperEl:i,slidesEl:a,size:n,rtlTranslate:r,wrongRTL:o}=e,l=e.virtual&&s.virtual.enabled,d=l?e.virtual.slides.length:e.slides.length,c=h(a,`.${e.params.slideClass}, swiper-slide`),p=l?e.virtual.slides.length:c.length;let m=[];const f=[],g=[];let v=s.slidesOffsetBefore;"function"==typeof v&&(v=s.slidesOffsetBefore.call(e));let w=s.slidesOffsetAfter;"function"==typeof w&&(w=s.slidesOffsetAfter.call(e));const y=e.snapGrid.length,E=e.slidesGrid.length;let S=s.spaceBetween,x=-v,M=0,L=0;if(void 0===n)return;"string"==typeof S&&S.indexOf("%")>=0?S=parseFloat(S.replace("%",""))/100*n:"string"==typeof S&&(S=parseFloat(S)),e.virtualSize=-S,c.forEach((e=>{r?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),s.centeredSlides&&s.cssMode&&(u(i,"--swiper-centered-offset-before",""),u(i,"--swiper-centered-offset-after",""));const C=s.grid&&s.grid.rows>1&&e.grid;let O;C?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();const P="auto"===s.slidesPerView&&s.breakpoints&&Object.keys(s.breakpoints).filter((e=>void 0!==s.breakpoints[e].slidesPerView)).length>0;for(let i=0;i<p;i+=1){let a;if(O=0,c[i]&&(a=c[i]),C&&e.grid.updateSlide(i,a,c),!c[i]||"none"!==b(a,"display")){if("auto"===s.slidesPerView){P&&(c[i].style[e.getDirectionLabel("width")]="");const n=getComputedStyle(a),r=a.style.transform,o=a.style.webkitTransform;if(r&&(a.style.transform="none"),o&&(a.style.webkitTransform="none"),s.roundLengths)O=e.isHorizontal()?T(a,"width",!0):T(a,"height",!0);else{const e=t(n,"width"),s=t(n,"padding-left"),i=t(n,"padding-right"),r=t(n,"margin-left"),o=t(n,"margin-right"),l=n.getPropertyValue("box-sizing");if(l&&"border-box"===l)O=e+r+o;else{const{clientWidth:t,offsetWidth:n}=a;O=e+s+i+r+o+(n-t)}}r&&(a.style.transform=r),o&&(a.style.webkitTransform=o),s.roundLengths&&(O=Math.floor(O))}else O=(n-(s.slidesPerView-1)*S)/s.slidesPerView,s.roundLengths&&(O=Math.floor(O)),c[i]&&(c[i].style[e.getDirectionLabel("width")]=`${O}px`);c[i]&&(c[i].swiperSlideSize=O),g.push(O),s.centeredSlides?(x=x+O/2+M/2+S,0===M&&0!==i&&(x=x-n/2-S),0===i&&(x=x-n/2-S),Math.abs(x)<.001&&(x=0),s.roundLengths&&(x=Math.floor(x)),L%s.slidesPerGroup===0&&m.push(x),f.push(x)):(s.roundLengths&&(x=Math.floor(x)),(L-Math.min(e.params.slidesPerGroupSkip,L))%e.params.slidesPerGroup===0&&m.push(x),f.push(x),x=x+O+S),e.virtualSize+=O+S,M=O,L+=1}}if(e.virtualSize=Math.max(e.virtualSize,n)+w,r&&o&&("slide"===s.effect||"coverflow"===s.effect)&&(i.style.width=`${e.virtualSize+S}px`),s.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=`${e.virtualSize+S}px`),C&&e.grid.updateWrapperSize(O,m),!s.centeredSlides){const t=[];for(let i=0;i<m.length;i+=1){let a=m[i];s.roundLengths&&(a=Math.floor(a)),m[i]<=e.virtualSize-n&&t.push(a)}m=t,Math.floor(e.virtualSize-n)-Math.floor(m[m.length-1])>1&&m.push(e.virtualSize-n)}if(l&&s.loop){const t=g[0]+S;if(s.slidesPerGroup>1){const i=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/s.slidesPerGroup),a=t*s.slidesPerGroup;for(let e=0;e<i;e+=1)m.push(m[m.length-1]+a)}for(let i=0;i<e.virtual.slidesBefore+e.virtual.slidesAfter;i+=1)1===s.slidesPerGroup&&m.push(m[m.length-1]+t),f.push(f[f.length-1]+t),e.virtualSize+=t}if(0===m.length&&(m=[0]),0!==S){const t=e.isHorizontal()&&r?"marginLeft":e.getDirectionLabel("marginRight");c.filter(((e,t)=>!(s.cssMode&&!s.loop)||t!==c.length-1)).forEach((e=>{e.style[t]=`${S}px`}))}if(s.centeredSlides&&s.centeredSlidesBounds){let e=0;g.forEach((t=>{e+=t+(S||0)})),e-=S;const t=e>n?e-n:0;m=m.map((e=>e<=0?-v:e>t?t+w:e))}if(s.centerInsufficientSlides){let e=0;g.forEach((t=>{e+=t+(S||0)})),e-=S;const t=(s.slidesOffsetBefore||0)+(s.slidesOffsetAfter||0);if(e+t<n){const s=(n-e-t)/2;m.forEach(((e,t)=>{m[t]=e-s})),f.forEach(((e,t)=>{f[t]=e+s}))}}if(Object.assign(e,{slides:c,snapGrid:m,slidesGrid:f,slidesSizesGrid:g}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){u(i,"--swiper-centered-offset-before",-m[0]+"px"),u(i,"--swiper-centered-offset-after",e.size/2-g[g.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(p!==d&&e.emit("slidesLengthChange"),m.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==E&&e.emit("slidesGridLengthChange"),s.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||s.cssMode||"slide"!==s.effect&&"fade"!==s.effect)){const t=`${s.containerModifierClass}backface-hidden`,i=e.el.classList.contains(t);p<=s.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,s=[],i=t.virtual&&t.params.virtual.enabled;let a,n=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const r=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=>{s.push(e)}));else for(a=0;a<Math.ceil(t.params.slidesPerView);a+=1){const e=t.activeIndex+a;if(e>t.slides.length&&!i)break;s.push(r(e))}else s.push(r(t.activeIndex));for(a=0;a<s.length;a+=1)if(void 0!==s[a]){const e=s[a].offsetHeight;n=e>n?e:n}(n||0===n)&&(t.wrapperEl.style.height=`${n}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,s=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)-s-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,s=t.params,{slides:i,rtlTranslate:a,snapGrid:n}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let r=-e;a&&(r=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let o=s.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;s.cssMode&&s.centeredSlides&&(d-=i[0].swiperSlideOffset);const c=(r+(s.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o),p=(r-n[0]+(s.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o),u=-(r-d),m=u+t.slidesSizesGrid[e],f=u>=0&&u<=t.size-t.slidesSizesGrid[e],h=u>=0&&u<t.size-1||m>1&&m<=t.size||u<=0&&m>=t.size;h&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),z(l,h,s.slideVisibleClass),z(l,f,s.slideFullyVisibleClass),l.progress=a?-c:c,l.originalProgress=a?-p:p}},updateProgress:function(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:a,isBeginning:n,isEnd:r,progressLoop:o}=t;const l=n,d=r;if(0===i)a=0,n=!0,r=!0;else{a=(e-t.minTranslate())/i;const s=Math.abs(e-t.minTranslate())<1,o=Math.abs(e-t.maxTranslate())<1;n=s||a<=0,r=o||a>=1,s&&(a=0),o&&(a=1)}if(s.loop){const s=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),a=t.slidesGrid[s],n=t.slidesGrid[i],r=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);o=l>=a?(l-a)/r:(l+r-n)/r,o>1&&(o-=1)}Object.assign(t,{progress:a,progressLoop:o,isBeginning:n,isEnd:r}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),n&&!l&&t.emit("reachBeginning toEdge"),r&&!d&&t.emit("reachEnd toEdge"),(l&&!n||d&&!r)&&t.emit("fromEdge"),t.emit("progress",a)},updateSlidesClasses:function(){const e=this,{slides:t,params:s,slidesEl:i,activeIndex:a}=e,n=e.virtual&&s.virtual.enabled,r=e.grid&&s.grid&&s.grid.rows>1,o=e=>h(i,`.${s.slideClass}${e}, swiper-slide${e}`)[0];let l,d,c;if(n)if(s.loop){let t=a-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=o(`[data-swiper-slide-index="${t}"]`)}else l=o(`[data-swiper-slide-index="${a}"]`);else r?(l=t.find((e=>e.column===a)),c=t.find((e=>e.column===a+1)),d=t.find((e=>e.column===a-1))):l=t[a];l&&(r||(c=function(e,t){const s=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;t?i.matches(t)&&s.push(i):s.push(i),e=i}return s}(l,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!c&&(c=t[0]),d=function(e,t){const s=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;t?i.matches(t)&&s.push(i):s.push(i),e=i}return s}(l,`.${s.slideClass}, swiper-slide`)[0],s.loop&&0===!d&&(d=t[t.length-1]))),t.forEach((e=>{$(e,e===l,s.slideActiveClass),$(e,e===c,s.slideNextClass),$(e,e===d,s.slidePrevClass)})),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:a,activeIndex:n,realIndex:r,snapIndex:o}=t;let l,d=e;const c=e=>{let s=e-t.virtual.slidesBefore;return s<0&&(s=t.virtual.slides.length+s),s>=t.virtual.slides.length&&(s-=t.virtual.slides.length),s};if(void 0===d&&(d=function(e){const{slidesGrid:t,params:s}=e,i=e.rtlTranslate?e.translate:-e.translate;let a;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?a=e:i>=t[e]&&i<t[e+1]&&(a=e+1):i>=t[e]&&(a=e);return s.normalizeSlideIndex&&(a<0||void 0===a)&&(a=0),a}(t)),i.indexOf(s)>=0)l=i.indexOf(s);else{const e=Math.min(a.slidesPerGroupSkip,d);l=e+Math.floor((d-e)/a.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&&a.grid&&a.grid.rows>1;let u;if(t.virtual&&a.virtual.enabled&&a.loop)u=c(d);else if(p){const e=t.slides.find((e=>e.column===d));let s=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(s)&&(s=Math.max(t.slides.indexOf(e),0)),u=Math.floor(s/a.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:r,realIndex:u,previousIndex:n,activeIndex:d}),t.initialized&&q(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(r!==u&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const s=this,i=s.params;let a=e.closest(`.${i.slideClass}, swiper-slide`);!a&&s.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!a&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(a=e)}));let n,r=!1;if(a)for(let e=0;e<s.slides.length;e+=1)if(s.slides[e]===a){r=!0,n=e;break}if(!a||!r)return s.clickedSlide=void 0,void(s.clickedIndex=void 0);s.clickedSlide=a,s.virtual&&s.params.virtual.enabled?s.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):s.clickedIndex=n,i.slideToClickedSlide&&void 0!==s.clickedIndex&&s.clickedIndex!==s.activeIndex&&s.slideToClickedSlide()}},V={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:s,translate:i,wrapperEl:a}=this;if(t.virtualTranslate)return s?-i:i;if(t.cssMode)return i;let n=function(e,t){void 0===t&&(t="x");const s=r();let i,a,n;const o=function(e){const t=r();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(a=o.transform||o.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map((e=>e.replace(",","."))).join(", ")),n=new s.WebKitCSSMatrix("none"===a?"":a)):(n=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=n.toString().split(",")),"x"===t&&(a=s.WebKitCSSMatrix?n.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(a=s.WebKitCSSMatrix?n.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),a||0}(a,e);return n+=this.cssOverflowAdjustment(),s&&(n=-n),n||0},setTranslate:function(e,t){const s=this,{rtlTranslate:i,params:a,wrapperEl:n,progress:r}=s;let o,l=0,d=0;s.isHorizontal()?l=i?-e:e:d=e,a.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?l:d,a.cssMode?n[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-l:-d:a.virtualTranslate||(s.isHorizontal()?l-=s.cssOverflowAdjustment():d-=s.cssOverflowAdjustment(),n.style.transform=`translate3d(${l}px, ${d}px, 0px)`);const c=s.maxTranslate()-s.minTranslate();o=0===c?0:(e-s.minTranslate())/c,o!==r&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,s,i,a){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),void 0===i&&(i=!0);const n=this,{params:r,wrapperEl:o}=n;if(n.animating&&r.preventInteractionOnTransition)return!1;const l=n.minTranslate(),d=n.maxTranslate();let c;if(c=i&&e>l?l:i&&e<d?d:e,n.updateProgress(c),r.cssMode){const e=n.isHorizontal();if(0===t)o[e?"scrollLeft":"scrollTop"]=-c;else{if(!n.support.smoothScroll)return m({swiper:n,targetPosition:-c,side:e?"left":"top"}),!0;o.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"})}return!0}return 0===t?(n.setTransition(0),n.setTranslate(c),s&&(n.emit("beforeTransitionStart",t,a),n.emit("transitionEnd"))):(n.setTransition(t),n.setTranslate(c),s&&(n.emit("beforeTransitionStart",t,a),n.emit("transitionStart")),n.animating||(n.animating=!0,n.onTranslateToWrapperTransitionEnd||(n.onTranslateToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onTranslateToWrapperTransitionEnd),n.onTranslateToWrapperTransitionEnd=null,delete n.onTranslateToWrapperTransitionEnd,n.animating=!1,s&&n.emit("transitionEnd"))}),n.wrapperEl.addEventListener("transitionend",n.onTranslateToWrapperTransitionEnd))),!0}};function G(e){let{swiper:t,runCallbacks:s,direction:i,step:a}=e;const{activeIndex:n,previousIndex:r}=t;let o=i;o||(o=n>r?"next":n<r?"prev":"reset"),t.emit(`transition${a}`),s&&"reset"===o?t.emit(`slideResetTransition${a}`):s&&n!==r&&(t.emit(`slideChangeTransition${a}`),"next"===o?t.emit(`slideNextTransition${a}`):t.emit(`slidePrevTransition${a}`))}var F={slideTo:function(e,t,s,i,a){void 0===e&&(e=0),void 0===s&&(s=!0),"string"==typeof e&&(e=parseInt(e,10));const n=this;let r=e;r<0&&(r=0);const{params:o,snapGrid:l,slidesGrid:d,previousIndex:c,activeIndex:p,rtlTranslate:u,wrapperEl:f,enabled:h}=n;if(!h&&!i&&!a||n.destroyed||n.animating&&o.preventInteractionOnTransition)return!1;void 0===t&&(t=n.params.speed);const g=Math.min(n.params.slidesPerGroupSkip,r);let v=g+Math.floor((r-g)/n.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const w=-l[v];if(o.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){const t=-Math.floor(100*w),s=Math.floor(100*d[e]),i=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=s&&t<i-(i-s)/2?r=e:t>=s&&t<i&&(r=e+1):t>=s&&(r=e)}if(n.initialized&&r!==p){if(!n.allowSlideNext&&(u?w>n.translate&&w>n.minTranslate():w<n.translate&&w<n.minTranslate()))return!1;if(!n.allowSlidePrev&&w>n.translate&&w>n.maxTranslate()&&(p||0)!==r)return!1}let b;r!==(c||0)&&s&&n.emit("beforeSlideChangeStart"),n.updateProgress(w),b=r>p?"next":r<p?"prev":"reset";const y=n.virtual&&n.params.virtual.enabled;if((!y||!a)&&(u&&-w===n.translate||!u&&w===n.translate))return n.updateActiveIndex(r),o.autoHeight&&n.updateAutoHeight(),n.updateSlidesClasses(),"slide"!==o.effect&&n.setTranslate(w),"reset"!==b&&(n.transitionStart(s,b),n.transitionEnd(s,b)),!1;if(o.cssMode){const e=n.isHorizontal(),s=u?w:-w;if(0===t)y&&(n.wrapperEl.style.scrollSnapType="none",n._immediateVirtual=!0),y&&!n._cssModeVirtualInitialSet&&n.params.initialSlide>0?(n._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{f[e?"scrollLeft":"scrollTop"]=s}))):f[e?"scrollLeft":"scrollTop"]=s,y&&requestAnimationFrame((()=>{n.wrapperEl.style.scrollSnapType="",n._immediateVirtual=!1}));else{if(!n.support.smoothScroll)return m({swiper:n,targetPosition:s,side:e?"left":"top"}),!0;f.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}const E=A().isSafari;return y&&!a&&E&&n.isElement&&n.virtual.update(!1,!1,r),n.setTransition(t),n.setTranslate(w),n.updateActiveIndex(r),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,i),n.transitionStart(s,b),0===t?n.transitionEnd(s,b):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(s,b))}),n.wrapperEl.addEventListener("transitionend",n.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,s,i){void 0===e&&(e=0),void 0===s&&(s=!0),"string"==typeof e&&(e=parseInt(e,10));const a=this;if(a.destroyed)return;void 0===t&&(t=a.params.speed);const n=a.grid&&a.params.grid&&a.params.grid.rows>1;let r=e;if(a.params.loop)if(a.virtual&&a.params.virtual.enabled)r+=a.virtual.slidesBefore;else{let e;if(n){const t=r*a.params.grid.rows;e=a.slides.find((e=>1*e.getAttribute("data-swiper-slide-index")===t)).column}else e=a.getSlideIndexByData(r);const t=n?Math.ceil(a.slides.length/a.params.grid.rows):a.slides.length,{centeredSlides:s}=a.params;let o=a.params.slidesPerView;"auto"===o?o=a.slidesPerViewDynamic():(o=Math.ceil(parseFloat(a.params.slidesPerView,10)),s&&o%2==0&&(o+=1));let l=t-e<o;if(s&&(l=l||e<Math.ceil(o/2)),i&&s&&"auto"!==a.params.slidesPerView&&!n&&(l=!1),l){const i=s?e<a.activeIndex?"prev":"next":e-a.activeIndex-1<a.params.slidesPerView?"next":"prev";a.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?e+1:e-t+1,slideRealIndex:"next"===i?a.realIndex:void 0})}if(n){const e=r*a.params.grid.rows;r=a.slides.find((t=>1*t.getAttribute("data-swiper-slide-index")===e)).column}else r=a.getSlideIndexByData(r)}return requestAnimationFrame((()=>{a.slideTo(r,t,s,i)})),a},slideNext:function(e,t,s){void 0===t&&(t=!0);const i=this,{enabled:a,params:n,animating:r}=i;if(!a||i.destroyed)return i;void 0===e&&(e=i.params.speed);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(r&&!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,s)})),!0}return n.rewind&&i.isEnd?i.slideTo(0,e,t,s):i.slideTo(i.activeIndex+l,e,t,s)},slidePrev:function(e,t,s){void 0===t&&(t=!0);const i=this,{params:a,snapGrid:n,slidesGrid:r,rtlTranslate:o,enabled:l,animating:d}=i;if(!l||i.destroyed)return i;void 0===e&&(e=i.params.speed);const c=i.virtual&&a.virtual.enabled;if(a.loop){if(d&&!c&&a.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),m=n.map((e=>p(e))),f=a.freeMode&&a.freeMode.enabled;let h=n[m.indexOf(u)-1];if(void 0===h&&(a.cssMode||f)){let e;n.forEach(((t,s)=>{u>=t&&(e=s)})),void 0!==e&&(h=f?n[e]:n[e>0?e-1:e])}let g=0;if(void 0!==h&&(g=r.indexOf(h),g<0&&(g=i.activeIndex-1),"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(g=g-i.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),a.rewind&&i.isBeginning){const a=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(a,e,t,s)}return a.loop&&0===i.activeIndex&&a.cssMode?(requestAnimationFrame((()=>{i.slideTo(g,e,t,s)})),!0):i.slideTo(g,e,t,s)},slideReset:function(e,t,s){void 0===t&&(t=!0);const i=this;if(!i.destroyed)return void 0===e&&(e=i.params.speed),i.slideTo(i.activeIndex,e,t,s)},slideToClosest:function(e,t,s,i){void 0===t&&(t=!0),void 0===i&&(i=.5);const a=this;if(a.destroyed)return;void 0===e&&(e=a.params.speed);let n=a.activeIndex;const r=Math.min(a.params.slidesPerGroupSkip,n),o=r+Math.floor((n-r)/a.params.slidesPerGroup),l=a.rtlTranslate?a.translate:-a.translate;if(l>=a.snapGrid[o]){const e=a.snapGrid[o];l-e>(a.snapGrid[o+1]-e)*i&&(n+=a.params.slidesPerGroup)}else{const e=a.snapGrid[o-1];l-e<=(a.snapGrid[o]-e)*i&&(n-=a.params.slidesPerGroup)}return n=Math.max(n,0),n=Math.min(n,a.slidesGrid.length-1),a.slideTo(n,e,t,s)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:s}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let a,n=e.clickedIndex;const r=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;a=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?n<e.loopedSlides-i/2||n>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),n=e.getSlideIndex(h(s,`${r}[data-swiper-slide-index="${a}"]`)[0]),l((()=>{e.slideTo(n)}))):e.slideTo(n):n>e.slides.length-i?(e.loopFix(),n=e.getSlideIndex(h(s,`${r}[data-swiper-slide-index="${a}"]`)[0]),l((()=>{e.slideTo(n)}))):e.slideTo(n)}else e.slideTo(n)}},_={loopCreate:function(e,t){const s=this,{params:i,slidesEl:a}=s;if(!i.loop||s.virtual&&s.params.virtual.enabled)return;const n=()=>{h(a,`.${i.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},r=s.grid&&i.grid&&i.grid.rows>1,o=i.slidesPerGroup*(r?i.grid.rows:1),l=s.slides.length%o!==0,d=r&&s.slides.length%i.grid.rows!==0,c=e=>{for(let t=0;t<e;t+=1){const e=s.isElement?v("swiper-slide",[i.slideBlankClass]):v("div",[i.slideClass,i.slideBlankClass]);s.slidesEl.append(e)}};l?(i.loopAddBlankSlides?(c(o-s.slides.length%o),s.recalcSlides(),s.updateSlides()):g("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()):d?(i.loopAddBlankSlides?(c(i.grid.rows-s.slides.length%i.grid.rows),s.recalcSlides(),s.updateSlides()):g("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()):n(),s.loopFix({slideRealIndex:e,direction:i.centeredSlides?void 0:"next",initial:t})},loopFix:function(e){let{slideRealIndex:t,slideTo:s=!0,direction:i,setTranslate:a,activeSlideIndex:n,initial:r,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:m,params:f}=d,{centeredSlides:h,initialSlide:v}=f;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&f.virtual.enabled)return s&&(f.centeredSlides||0!==d.snapIndex?f.centeredSlides&&d.snapIndex<f.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 w=f.slidesPerView;"auto"===w?w=d.slidesPerViewDynamic():(w=Math.ceil(parseFloat(f.slidesPerView,10)),h&&w%2==0&&(w+=1));const b=f.slidesPerGroupAuto?w:f.slidesPerGroup;let y=b;y%b!==0&&(y+=b-y%b),y+=f.loopAdditionalSlides,d.loopedSlides=y;const E=d.grid&&f.grid&&f.grid.rows>1;c.length<w+y||"cards"===d.params.effect&&c.length<w+2*y?g("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):E&&"row"===f.grid.fill&&g("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const S=[],T=[],x=E?Math.ceil(c.length/f.grid.rows):c.length,M=r&&x-v<w&&!h;let L=M?v:d.activeIndex;void 0===n?n=d.getSlideIndex(c.find((e=>e.classList.contains(f.slideActiveClass)))):L=n;const C="next"===i||!i,O="prev"===i||!i;let P=0,k=0;const I=(E?c[n].column:n)+(h&&void 0===a?-w/2+.5:0);if(I<y){P=Math.max(y-I,b);for(let e=0;e<y-I;e+=1){const t=e-Math.floor(e/x)*x;if(E){const e=x-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&S.push(t)}else S.push(x-t-1)}}else if(I+w>x-y){k=Math.max(I-(x-2*y),b),M&&(k=Math.max(k,w-x+v+1));for(let e=0;e<k;e+=1){const t=e-Math.floor(e/x)*x;E?c.forEach(((e,s)=>{e.column===t&&T.push(s)})):T.push(t)}}if(d.__preventObserver__=!0,requestAnimationFrame((()=>{d.__preventObserver__=!1})),"cards"===d.params.effect&&c.length<w+2*y&&(T.includes(n)&&T.splice(T.indexOf(n),1),S.includes(n)&&S.splice(S.indexOf(n),1)),O&&S.forEach((e=>{c[e].swiperLoopMoveDOM=!0,m.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),C&&T.forEach((e=>{c[e].swiperLoopMoveDOM=!0,m.append(c[e]),c[e].swiperLoopMoveDOM=!1})),d.recalcSlides(),"auto"===f.slidesPerView?d.updateSlides():E&&(S.length>0&&O||T.length>0&&C)&&d.slides.forEach(((e,t)=>{d.grid.updateSlide(t,e,d.slides)})),f.watchSlidesProgress&&d.updateSlidesOffset(),s)if(S.length>0&&O){if(void 0===t){const e=d.slidesGrid[L],t=d.slidesGrid[L+P]-e;l?d.setTranslate(d.translate-t):(d.slideTo(L+Math.ceil(P),0,!1,!0),a&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else if(a){const e=E?S.length/f.grid.rows:S.length;d.slideTo(d.activeIndex+e,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(T.length>0&&C)if(void 0===t){const e=d.slidesGrid[L],t=d.slidesGrid[L-k]-e;l?d.setTranslate(d.translate-t):(d.slideTo(L-k,0,!1,!0),a&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else{const e=E?T.length/f.grid.rows:T.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:a,activeSlideIndex:n,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===f.slidesPerView&&s})})):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...e,slideTo:d.controller.control.params.slidesPerView===f.slidesPerView&&s})}d.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:s}=e;if(!t.loop||!s||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=>{s.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function N(e,t,s){const i=r(),{params:a}=e,n=a.edgeSwipeDetection,o=a.edgeSwipeThreshold;return!n||!(s<=o||s>=i.innerWidth-o)||"prevent"===n&&(t.preventDefault(),!0)}function X(e){const t=this,s=a();let i=e;i.originalEvent&&(i=i.originalEvent);const n=t.touchEventsData;if("pointerdown"===i.type){if(null!==n.pointerId&&n.pointerId!==i.pointerId)return;n.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(n.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void N(t,i,i.targetTouches[0].pageX);const{params:o,touches:l,enabled:c}=t;if(!c)return;if(!o.simulateTouch&&"mouse"===i.pointerType)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let p=i.target;if("wrapper"===o.touchEventsTarget&&!function(e,t){const s=r();let i=t.contains(e);return!i&&s.HTMLSlotElement&&t instanceof HTMLSlotElement&&(i=[...t.assignedElements()].includes(e),i||(i=function(e,t){const s=[t];for(;s.length>0;){const t=s.shift();if(e===t)return!0;s.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t))),i}(p,t.wrapperEl))return;if("which"in i&&3===i.which)return;if("button"in i&&i.button>0)return;if(n.isTouched&&n.isMoved)return;const u=!!o.noSwipingClass&&""!==o.noSwipingClass,m=i.composedPath?i.composedPath():i.path;u&&i.target&&i.target.shadowRoot&&m&&(p=m[0]);const f=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,h=!(!i.target||!i.target.shadowRoot);if(o.noSwiping&&(h?function(e,t){return void 0===t&&(t=this),function t(s){if(!s||s===a()||s===r())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(e);return i||s.getRootNode?i||t(s.getRootNode().host):null}(t)}(f,p):p.closest(f)))return void(t.allowClick=!0);if(o.swipeHandler&&!p.closest(o.swipeHandler))return;l.currentX=i.pageX,l.currentY=i.pageY;const g=l.currentX,v=l.currentY;if(!N(t,i,g))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=g,l.startY=v,n.touchStartTime=d(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(n.allowThresholdMove=!1);let w=!0;p.matches(n.focusableElements)&&(w=!1,"SELECT"===p.nodeName&&(n.isTouched=!1)),s.activeElement&&s.activeElement.matches(n.focusableElements)&&s.activeElement!==p&&("mouse"===i.pointerType||"mouse"!==i.pointerType&&!p.matches(n.focusableElements))&&s.activeElement.blur();const b=w&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!b||p.isContentEditable||i.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",i)}function j(e){const t=a(),s=this,i=s.touchEventsData,{params:n,touches:r,rtlTranslate:o,enabled:l}=s;if(!l)return;if(!n.simulateTouch&&"mouse"===e.pointerType)return;let c,p=e;if(p.originalEvent&&(p=p.originalEvent),"pointermove"===p.type){if(null!==i.touchId)return;if(p.pointerId!==i.pointerId)return}if("touchmove"===p.type){if(c=[...p.changedTouches].find((e=>e.identifier===i.touchId)),!c||c.identifier!==i.touchId)return}else c=p;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&s.emit("touchMoveOpposite",p));const u=c.pageX,m=c.pageY;if(p.preventedByNestedSwiper)return r.startX=u,void(r.startY=m);if(!s.allowTouchMove)return p.target.matches(i.focusableElements)||(s.allowClick=!1),void(i.isTouched&&(Object.assign(r,{startX:u,startY:m,currentX:u,currentY:m}),i.touchStartTime=d()));if(n.touchReleaseOnEdges&&!n.loop)if(s.isVertical()){if(m<r.startY&&s.translate<=s.maxTranslate()||m>r.startY&&s.translate>=s.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else{if(o&&(u>r.startX&&-s.translate<=s.maxTranslate()||u<r.startX&&-s.translate>=s.minTranslate()))return;if(!o&&(u<r.startX&&s.translate<=s.maxTranslate()||u>r.startX&&s.translate>=s.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==p.target&&"mouse"!==p.pointerType&&t.activeElement.blur(),t.activeElement&&p.target===t.activeElement&&p.target.matches(i.focusableElements))return i.isMoved=!0,void(s.allowClick=!1);i.allowTouchCallbacks&&s.emit("touchMove",p),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=u,r.currentY=m;const f=r.currentX-r.startX,h=r.currentY-r.startY;if(s.params.threshold&&Math.sqrt(f**2+h**2)<s.params.threshold)return;if(void 0===i.isScrolling){let e;s.isHorizontal()&&r.currentY===r.startY||s.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:f*f+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(f))/Math.PI,i.isScrolling=s.isHorizontal()?e>n.touchAngle:90-e>n.touchAngle)}if(i.isScrolling&&s.emit("touchMoveOpposite",p),void 0===i.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling||"touchmove"===p.type&&i.preventTouchMoveFromPointerMove)return void(i.isTouched=!1);if(!i.startMoving)return;s.allowClick=!1,!n.cssMode&&p.cancelable&&p.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&p.stopPropagation();let g=s.isHorizontal()?f:h,v=s.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;n.oneWayMovement&&(g=Math.abs(g)*(o?1:-1),v=Math.abs(v)*(o?1:-1)),r.diff=g,g*=n.touchRatio,o&&(g=-g,v=-v);const w=s.touchesDirection;s.swipeDirection=g>0?"prev":"next",s.touchesDirection=v>0?"prev":"next";const b=s.params.loop&&!n.cssMode,y="next"===s.touchesDirection&&s.allowSlideNext||"prev"===s.touchesDirection&&s.allowSlidePrev;if(!i.isMoved){if(b&&y&&s.loopFix({direction:s.swipeDirection}),i.startTranslate=s.getTranslate(),s.setTransition(0),s.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});s.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,!n.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",p)}if((new Date).getTime(),!1!==n._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&w!==s.touchesDirection&&b&&y&&Math.abs(g)>=1)return Object.assign(r,{startX:u,startY:m,currentX:u,currentY:m,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);s.emit("sliderMove",p),i.isMoved=!0,i.currentTranslate=g+i.startTranslate;let E=!0,S=n.resistanceRatio;if(n.touchReleaseOnEdges&&(S=0),g>0?(b&&y&&i.allowThresholdMove&&i.currentTranslate>(n.centeredSlides?s.minTranslate()-s.slidesSizesGrid[s.activeIndex+1]-("auto"!==n.slidesPerView&&s.slides.length-n.slidesPerView>=2?s.slidesSizesGrid[s.activeIndex+1]+s.params.spaceBetween:0)-s.params.spaceBetween:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>s.minTranslate()&&(E=!1,n.resistance&&(i.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+i.startTranslate+g)**S))):g<0&&(b&&y&&i.allowThresholdMove&&i.currentTranslate<(n.centeredSlides?s.maxTranslate()+s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween+("auto"!==n.slidesPerView&&s.slides.length-n.slidesPerView>=2?s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween:0):s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-("auto"===n.slidesPerView?s.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),i.currentTranslate<s.maxTranslate()&&(E=!1,n.resistance&&(i.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-i.startTranslate-g)**S))),E&&(p.preventedByNestedSwiper=!0),!s.allowSlideNext&&"next"===s.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!s.allowSlidePrev&&"prev"===s.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),s.allowSlidePrev||s.allowSlideNext||(i.currentTranslate=i.startTranslate),n.threshold>0){if(!(Math.abs(g)>n.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=s.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}n.followFinger&&!n.cssMode&&((n.freeMode&&n.freeMode.enabled&&s.freeMode||n.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(i.currentTranslate),s.setTranslate(i.currentTranslate))}function Y(e){const t=this,s=t.touchEventsData;let i,a=e;if(a.originalEvent&&(a=a.originalEvent),"touchend"===a.type||"touchcancel"===a.type){if(i=[...a.changedTouches].find((e=>e.identifier===s.touchId)),!i||i.identifier!==s.touchId)return}else{if(null!==s.touchId)return;if(a.pointerId!==s.pointerId)return;i=a}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)&&(!["pointercancel","contextmenu"].includes(a.type)||!t.browser.isSafari&&!t.browser.isWebView))return;s.pointerId=null,s.touchId=null;const{params:n,touches:r,rtlTranslate:o,slidesGrid:c,enabled:p}=t;if(!p)return;if(!n.simulateTouch&&"mouse"===a.pointerType)return;if(s.allowTouchCallbacks&&t.emit("touchEnd",a),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&n.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);n.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=d(),m=u-s.touchStartTime;if(t.allowClick){const e=a.path||a.composedPath&&a.composedPath();t.updateClickedSlide(e&&e[0]||a.target,e),t.emit("tap click",a),m<300&&u-s.lastClickTime<300&&t.emit("doubleTap doubleClick",a)}if(s.lastClickTime=d(),l((()=>{t.destroyed||(t.allowClick=!0)})),!s.isTouched||!s.isMoved||!t.swipeDirection||0===r.diff&&!s.loopSwapReset||s.currentTranslate===s.startTranslate&&!s.loopSwapReset)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let f;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,f=n.followFinger?o?t.translate:-t.translate:-s.currentTranslate,n.cssMode)return;if(n.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:f});const h=f>=-t.maxTranslate()&&!t.params.loop;let g=0,v=t.slidesSizesGrid[0];for(let e=0;e<c.length;e+=e<n.slidesPerGroupSkip?1:n.slidesPerGroup){const t=e<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==c[e+t]?(h||f>=c[e]&&f<c[e+t])&&(g=e,v=c[e+t]-c[e]):(h||f>=c[e])&&(g=e,v=c[c.length-1]-c[c.length-2])}let w=null,b=null;n.rewind&&(t.isBeginning?b=n.virtual&&n.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(w=0));const y=(f-c[g])/v,E=g<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(m>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(y>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?w:g+E):t.slideTo(g)),"prev"===t.swipeDirection&&(y>1-n.longSwipesRatio?t.slideTo(g+E):null!==b&&y<0&&Math.abs(y)>n.longSwipesRatio?t.slideTo(b):t.slideTo(g))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||a.target!==t.navigation.nextEl&&a.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==w?w:g+E),"prev"===t.swipeDirection&&t.slideTo(null!==b?b:g)):a.target===t.navigation.nextEl?t.slideTo(g+E):t.slideTo(g)}}function W(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:a,snapGrid:n}=e,r=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const o=r&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!r?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=a,e.allowSlideNext=i,e.params.watchOverflow&&n!==e.snapGrid&&e.checkOverflow()}function U(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function K(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:i}=e;if(!i)return;let a;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();a=0===n?0:(e.translate-e.minTranslate())/n,a!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function J(e){const t=this;B(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function Q(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const Z=(e,t)=>{const s=a(),{params:i,el:n,wrapperEl:r,device:o}=e,l=!!i.nested,d="on"===t?"addEventListener":"removeEventListener",c=t;n&&"string"!=typeof n&&(s[d]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),n[d]("touchstart",e.onTouchStart,{passive:!1}),n[d]("pointerdown",e.onTouchStart,{passive:!1}),s[d]("touchmove",e.onTouchMove,{passive:!1,capture:l}),s[d]("pointermove",e.onTouchMove,{passive:!1,capture:l}),s[d]("touchend",e.onTouchEnd,{passive:!0}),s[d]("pointerup",e.onTouchEnd,{passive:!0}),s[d]("pointercancel",e.onTouchEnd,{passive:!0}),s[d]("touchcancel",e.onTouchEnd,{passive:!0}),s[d]("pointerout",e.onTouchEnd,{passive:!0}),s[d]("pointerleave",e.onTouchEnd,{passive:!0}),s[d]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&n[d]("click",e.onClick,!0),i.cssMode&&r[d]("scroll",e.onScroll),i.updateOnWindowResize?e[c](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",W,!0):e[c]("observerUpdate",W,!0),n[d]("load",e.onLoad,{capture:!0}))},ee=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var te={setBreakpoint:function(){const e=this,{realIndex:t,initialized:s,params:i,el:n}=e,r=i.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const o=a(),l="window"!==i.breakpointsBase&&i.breakpointsBase?"container":i.breakpointsBase,d=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:o.querySelector(i.breakpointsBase),c=e.getBreakpoint(r,l,d);if(!c||e.currentBreakpoint===c)return;const u=(c in r?r[c]:void 0)||e.originalParams,m=ee(e,i),f=ee(e,u),h=e.params.grabCursor,g=u.grabCursor,v=i.enabled;m&&!f?(n.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!m&&f&&(n.classList.add(`${i.containerModifierClass}grid`),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===i.grid.fill)&&n.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),h&&!g?e.unsetGrabCursor():!h&&g&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===u[t])return;const s=i[t]&&i[t].enabled,a=u[t]&&u[t].enabled;s&&!a&&e[t].disable(),!s&&a&&e[t].enable()}));const w=u.direction&&u.direction!==i.direction,b=i.loop&&(u.slidesPerView!==i.slidesPerView||w),y=i.loop;w&&s&&e.changeDirection(),p(e.params,u);const E=e.params.enabled,S=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!E?e.disable():!v&&E&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",u),s&&(b?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!y&&S?(e.loopCreate(t),e.updateSlides()):y&&!S&&e.loopDestroy()),e.emit("breakpoint",u)},getBreakpoint:function(e,t,s){if(void 0===t&&(t="window"),!e||"container"===t&&!s)return;let i=!1;const a=r(),n="window"===t?a.innerHeight:s.clientHeight,o=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:n*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:n,value:r}=o[e];"window"===t?a.matchMedia(`(min-width: ${r}px)`).matches&&(i=n):r<=s.clientWidth&&(i=n)}return i||"max"}},se={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,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 ie(e,t){return function(s){void 0===s&&(s={});const i=Object.keys(s)[0],a=s[i];"object"==typeof a&&null!==a?(!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 a?("object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),p(t,s)):p(t,s)):p(t,s)}}const ae={eventsEmitter:D,update:H,translate:V,transition:{setTransition:function(e,t){const s=this;s.params.cssMode||(s.wrapperEl.style.transitionDuration=`${e}ms`,s.wrapperEl.style.transitionDelay=0===e?"0ms":""),s.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const s=this,{params:i}=s;i.cssMode||(i.autoHeight&&s.updateAutoHeight(),G({swiper:s,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const s=this,{params:i}=s;s.animating=!1,i.cssMode||(s.setTransition(0),G({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},slide:F,loop:_,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),s.style.cursor="move",s.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=X.bind(e),e.onTouchMove=j.bind(e),e.onTouchEnd=Y.bind(e),e.onDocumentTouchStart=Q.bind(e),t.cssMode&&(e.onScroll=K.bind(e)),e.onClick=U.bind(e),e.onLoad=J.bind(e),Z(e,"on")},detachEvents:function(){Z(this,"off")}},breakpoints:te,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:i}=s;if(i){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.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:s,rtl:i,el:a,device:n}=e,r=function(e,t){const s=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((i=>{e[i]&&s.push(t+i)})):"string"==typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:i},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:n.android},{ios:n.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...r),a.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},ne={};class re{constructor(){let e,t;for(var s=arguments.length,i=new Array(s),n=0;n<s;n++)i[n]=arguments[n];1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?t=i[0]:[e,t]=i,t||(t={}),t=p({},t),e&&!t.el&&(t.el=e);const r=a();if(t.el&&"string"==typeof t.el&&r.querySelectorAll(t.el).length>1){const e=[];return r.querySelectorAll(t.el).forEach((s=>{const i=p({},t,{el:s});e.push(new re(i))})),e}const o=this;o.__swiper__=!0,o.support=k(),o.device=I({userAgent:t.userAgent}),o.browser=A(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const l={};o.modules.forEach((e=>{e({params:t,swiper:o,extendParams:ie(t,l),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})}));const d=p({},se,l);return o.params=p({},d,ne,t),o.originalParams=p({},o.params),o.passedParams=p({},t),o.params&&o.params.on&&Object.keys(o.params.on).forEach((e=>{o.on(e,o.params.on[e])})),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===o.params.direction,isVertical:()=>"vertical"===o.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:o.params.allowSlideNext,allowSlidePrev:o.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:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}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:s}=this,i=y(h(t,`.${s.slideClass}, swiper-slide`)[0]);return y(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find((t=>1*t.getAttribute("data-swiper-slide-index")===e)))}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=h(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 s=this;e=Math.min(Math.max(e,0),1);const i=s.minTranslate(),a=(s.maxTranslate()-i)*e+i;s.translateTo(a,void 0===t?0:t),s.updateActiveIndex(),s.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((s=>{const i=e.getSlideClasses(s);t.push({slideEl:s,classNames:i}),e.emit("_slideClass",s,i)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:s,slides:i,slidesGrid:a,slidesSizesGrid:n,size:r,activeIndex:o}=this;let l=1;if("number"==typeof s.slidesPerView)return s.slidesPerView;if(s.centeredSlides){let e,t=i[o]?Math.ceil(i[o].swiperSlideSize):0;for(let s=o+1;s<i.length;s+=1)i[s]&&!e&&(t+=Math.ceil(i[s].swiperSlideSize),l+=1,t>r&&(e=!0));for(let s=o-1;s>=0;s-=1)i[s]&&!e&&(t+=i[s].swiperSlideSize,l+=1,t>r&&(e=!0))}else if("current"===e)for(let e=o+1;e<i.length;e+=1)(t?a[e]+n[e]-a[o]<r:a[e]-a[o]<r)&&(l+=1);else for(let e=o-1;e>=0;e-=1)a[o]-a[e]<r&&(l+=1);return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:s}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,s=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let a;if(s.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&B(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),s.freeMode&&s.freeMode.enabled&&!s.cssMode)i(),s.autoHeight&&e.updateAutoHeight();else{if(("auto"===s.slidesPerView||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const t=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;a=e.slideTo(t.length-1,0,!1,!0)}else a=e.slideTo(e.activeIndex,0,!1,!0);a||i()}s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const s=this,i=s.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(s.el.classList.remove(`${s.params.containerModifierClass}${i}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changeDirection"),t&&s.update()),s}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 s=e||t.params.el;if("string"==typeof s&&(s=document.querySelector(s)),!s)return!1;s.swiper=t,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(i()):h(s,i())[0];return!a&&t.params.createElements&&(a=v("div",t.params.wrapperClass),s.append(a),h(s,`.${t.params.slideClass}`).forEach((e=>{a.append(e)}))),Object.assign(t,{el:s,wrapperEl:a,slidesEl:t.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:a,hostEl:t.isElement?s.parentNode.host:s,mounted:!0,rtl:"rtl"===s.dir.toLowerCase()||"rtl"===b(s,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===b(s,"direction")),wrongRTL:"-webkit-box"===b(a,"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(void 0,!0),t.attachEvents();const s=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&s.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),s.forEach((e=>{e.complete?B(t,e):e.addEventListener("load",(e=>{B(t,e.target)}))})),q(t),t.initialized=!0,q(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const s=this,{params:i,el:a,wrapperEl:n,slides:r}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),i.loop&&s.loopDestroy(),t&&(s.removeClasses(),a&&"string"!=typeof a&&a.removeAttribute("style"),n&&n.removeAttribute("style"),r&&r.length&&r.forEach((e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),s.emit("destroy"),Object.keys(s.eventsListeners).forEach((e=>{s.off(e)})),!1!==e&&(s.el&&"string"!=typeof s.el&&(s.el.swiper=null),function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(s)),s.destroyed=!0),null}static extendDefaults(e){p(ne,e)}static get extendedDefaults(){return ne}static get defaults(){return se}static installModule(e){re.prototype.__modules__||(re.prototype.__modules__=[]);const t=re.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>re.installModule(e))),re):(re.installModule(e),re)}}function oe(e){let{swiper:t,extendParams:s,on:i,emit:n}=e;const o=a(),l=r();function d(e){if(!t.enabled)return;const{rtlTranslate:s}=t;let i=e;i.originalEvent&&(i=i.originalEvent);const a=i.keyCode||i.charCode,r=t.params.keyboard.pageUpDown,d=r&&33===a,c=r&&34===a,p=37===a,u=39===a,m=38===a,f=40===a;if(!t.allowSlideNext&&(t.isHorizontal()&&u||t.isVertical()&&f||c))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&p||t.isVertical()&&m||d))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey||o.activeElement&&o.activeElement.nodeName&&("input"===o.activeElement.nodeName.toLowerCase()||"textarea"===o.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(d||c||p||u||m||f)){let e=!1;if(E(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&0===E(t.el,`.${t.params.slideActiveClass}`).length)return;const i=t.el,a=i.clientWidth,n=i.clientHeight,r=l.innerWidth,o=l.innerHeight,d=w(i);s&&(d.left-=i.scrollLeft);const c=[[d.left,d.top],[d.left+a,d.top],[d.left,d.top+n],[d.left+a,d.top+n]];for(let t=0;t<c.length;t+=1){const s=c[t];if(s[0]>=0&&s[0]<=r&&s[1]>=0&&s[1]<=o){if(0===s[0]&&0===s[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((d||c||p||u)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),((c||u)&&!s||(d||p)&&s)&&t.slideNext(),((d||p)&&!s||(c||u)&&s)&&t.slidePrev()):((d||c||m||f)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),(c||f)&&t.slideNext(),(d||m)&&t.slidePrev()),n("keyPress",a)}}function c(){t.keyboard.enabled||(o.addEventListener("keydown",d),t.keyboard.enabled=!0)}function p(){t.keyboard.enabled&&(o.removeEventListener("keydown",d),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},s({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),i("init",(()=>{t.params.keyboard.enabled&&c()})),i("destroy",(()=>{t.keyboard.enabled&&p()})),Object.assign(t.keyboard,{enable:c,disable:p})}function le(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const n=r();let o;s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let c,p=d();const u=[];function m(){t.enabled&&(t.mouseEntered=!0)}function f(){t.enabled&&(t.mouseEntered=!1)}function h(e){return!(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta||t.params.mousewheel.thresholdTime&&d()-p<t.params.mousewheel.thresholdTime||!(e.delta>=6&&d()-p<60)&&(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),a("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),a("scroll",e.raw)),p=(new n.Date).getTime(),1))}function g(e){let s=e,i=!0;if(!t.enabled)return;if(e.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const n=t.params.mousewheel;t.params.cssMode&&s.preventDefault();let r=t.el;"container"!==t.params.mousewheel.eventsTarget&&(r=document.querySelector(t.params.mousewheel.eventsTarget));const p=r&&r.contains(s.target);if(!t.mouseEntered&&!p&&!n.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let m=0;const f=t.rtlTranslate?-1:1,g=function(e){let t=0,s=0,i=0,a=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),i=10*t,a=10*s,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(i=e.deltaX),e.shiftKey&&!i&&(i=a,a=0),(i||a)&&e.deltaMode&&(1===e.deltaMode?(i*=40,a*=40):(i*=800,a*=800)),i&&!t&&(t=i<1?-1:1),a&&!s&&(s=a<1?-1:1),{spinX:t,spinY:s,pixelX:i,pixelY:a}}(s);if(n.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(g.pixelX)>Math.abs(g.pixelY)))return!0;m=-g.pixelX*f}else{if(!(Math.abs(g.pixelY)>Math.abs(g.pixelX)))return!0;m=-g.pixelY}else m=Math.abs(g.pixelX)>Math.abs(g.pixelY)?-g.pixelX*f:-g.pixelY;if(0===m)return!0;n.invert&&(m=-m);let v=t.getTranslate()+m*n.sensitivity;if(v>=t.minTranslate()&&(v=t.minTranslate()),v<=t.maxTranslate()&&(v=t.maxTranslate()),i=!!t.params.loop||!(v===t.minTranslate()||v===t.maxTranslate()),i&&t.params.nested&&s.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={time:d(),delta:Math.abs(m),direction:Math.sign(m)},i=c&&e.time<c.time+500&&e.delta<=c.delta&&e.direction===c.direction;if(!i){c=void 0;let r=t.getTranslate()+m*n.sensitivity;const d=t.isBeginning,p=t.isEnd;if(r>=t.minTranslate()&&(r=t.minTranslate()),r<=t.maxTranslate()&&(r=t.maxTranslate()),t.setTransition(0),t.setTranslate(r),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!d&&t.isBeginning||!p&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:e.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(o),o=void 0,u.length>=15&&u.shift();const s=u.length?u[u.length-1]:void 0,i=u[0];if(u.push(e),s&&(e.delta>s.delta||e.direction!==s.direction))u.splice(0);else if(u.length>=15&&e.time-i.time<500&&i.delta-e.delta>=1&&e.delta<=6){const s=m>0?.8:.2;c=e,u.splice(0),o=l((()=>{!t.destroyed&&t.params&&t.slideToClosest(t.params.speed,!0,void 0,s)}),0)}o||(o=l((()=>{!t.destroyed&&t.params&&(c=e,u.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5))}),500))}if(i||a("scroll",s),t.params.autoplay&&t.params.autoplay.disableOnInteraction&&t.autoplay.stop(),n.releaseOnEdges&&(r===t.minTranslate()||r===t.maxTranslate()))return!0}}else{const s={time:d(),delta:Math.abs(m),direction:Math.sign(m),raw:e};u.length>=2&&u.shift();const i=u.length?u[u.length-1]:void 0;if(u.push(s),i?(s.direction!==i.direction||s.delta>i.delta||s.time>i.time+150)&&h(s):h(s),function(e){const s=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&s.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&s.releaseOnEdges)return!0;return!1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function v(e){let s=t.el;"container"!==t.params.mousewheel.eventsTarget&&(s=document.querySelector(t.params.mousewheel.eventsTarget)),s[e]("mouseenter",m),s[e]("mouseleave",f),s[e]("wheel",g)}function w(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",g),!0):!t.mousewheel.enabled&&(v("addEventListener"),t.mousewheel.enabled=!0,!0)}function b(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,g),!0):!!t.mousewheel.enabled&&(v("removeEventListener"),t.mousewheel.enabled=!1,!0)}i("init",(()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&b(),t.params.mousewheel.enabled&&w()})),i("destroy",(()=>{t.params.cssMode&&w(),t.mousewheel.enabled&&b()})),Object.assign(t.mousewheel,{enable:w,disable:b})}function de(e,t,s,i){return e.params.createElements&&Object.keys(i).forEach((a=>{if(!s[a]&&!0===s.auto){let n=h(e.el,`.${i[a]}`)[0];n||(n=v("div",i[a]),n.className=i[a],e.el.append(n)),s[a]=n,t[a]=n}})),s}function ce(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;function n(e){let s;return e&&"string"==typeof e&&t.isElement&&(s=t.el.querySelector(e)||t.hostEl.querySelector(e),s)?s:(e&&("string"==typeof e&&(s=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&s&&s.length>1&&1===t.el.querySelectorAll(e).length?s=t.el.querySelector(e):s&&1===s.length&&(s=s[0])),e&&!s?e:s)}function r(e,s){const i=t.params.navigation;(e=x(e)).forEach((e=>{e&&(e.classList[s?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=s),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass))}))}function o(){const{nextEl:e,prevEl:s}=t.navigation;if(t.params.loop)return r(s,!1),void r(e,!1);r(s,t.isBeginning&&!t.params.rewind),r(e,t.isEnd&&!t.params.rewind)}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),a("navigationPrev"))}function d(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),a("navigationNext"))}function c(){const e=t.params.navigation;if(t.params.navigation=de(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let s=n(e.nextEl),i=n(e.prevEl);Object.assign(t.navigation,{nextEl:s,prevEl:i}),s=x(s),i=x(i);const a=(s,i)=>{s&&s.addEventListener("click","next"===i?d:l),!t.enabled&&s&&s.classList.add(...e.lockClass.split(" "))};s.forEach((e=>a(e,"next"))),i.forEach((e=>a(e,"prev")))}function p(){let{nextEl:e,prevEl:s}=t.navigation;e=x(e),s=x(s);const i=(e,s)=>{e.removeEventListener("click","next"===s?d:l),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach((e=>i(e,"next"))),s.forEach((e=>i(e,"prev")))}s({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},i("init",(()=>{!1===t.params.navigation.enabled?u():(c(),o())})),i("toEdge fromEdge lock unlock",(()=>{o()})),i("destroy",(()=>{p()})),i("enable disable",(()=>{let{nextEl:e,prevEl:s}=t.navigation;e=x(e),s=x(s),t.enabled?o():[...e,...s].filter((e=>!!e)).forEach((e=>e.classList.add(t.params.navigation.lockClass)))})),i("click",((e,s)=>{let{nextEl:i,prevEl:n}=t.navigation;i=x(i),n=x(n);const r=s.target;let o=n.includes(r)||i.includes(r);if(t.isElement&&!o){const e=s.path||s.composedPath&&s.composedPath();e&&(o=e.find((e=>i.includes(e)||n.includes(e))))}if(t.params.navigation.hideOnClick&&!o){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===r||t.pagination.el.contains(r)))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)),a(!0===e?"navigationShow":"navigationHide"),[...i,...n].filter((e=>!!e)).forEach((e=>e.classList.toggle(t.params.navigation.hiddenClass)))}}));const u=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),c(),o()},disable:u,update:o,init:c,destroy:p})}function pe(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function ue(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const n="swiper-pagination";let r;s({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:`${n}-bullet`,bulletActiveClass:`${n}-bullet-active`,modifierClass:`${n}-`,currentClass:`${n}-current`,totalClass:`${n}-total`,hiddenClass:`${n}-hidden`,progressbarFillClass:`${n}-progressbar-fill`,progressbarOppositeClass:`${n}-progressbar-opposite`,clickableClass:`${n}-clickable`,lockClass:`${n}-lock`,horizontalClass:`${n}-horizontal`,verticalClass:`${n}-vertical`,paginationDisabledClass:`${n}-disabled`}}),t.pagination={el:null,bullets:[]};let o=0;function l(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function d(e,s){const{bulletActiveClass:i}=t.params.pagination;e&&(e=e[("prev"===s?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${i}-${s}`),(e=e[("prev"===s?"previous":"next")+"ElementSibling"])&&e.classList.add(`${i}-${s}-${s}`))}function c(e){const s=e.target.closest(pe(t.params.pagination.bulletClass));if(!s)return;e.preventDefault();const i=y(s)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===i)return;const e=(a=t.realIndex,n=i,(n%=r=t.slides.length)===1+(a%=r)?"next":n===a-1?"previous":void 0);"next"===e?t.slideNext():"previous"===e?t.slidePrev():t.slideToLoop(i)}else t.slideTo(i);var a,n,r}function p(){const e=t.rtl,s=t.params.pagination;if(l())return;let i,n,c=t.pagination.el;c=x(c);const p=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,u=t.params.loop?Math.ceil(p/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"===s.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const a=t.pagination.bullets;let l,p,u;if(s.dynamicBullets&&(r=T(a[0],t.isHorizontal()?"width":"height",!0),c.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=r*(s.dynamicMainBullets+4)+"px"})),s.dynamicMainBullets>1&&void 0!==n&&(o+=i-(n||0),o>s.dynamicMainBullets-1?o=s.dynamicMainBullets-1:o<0&&(o=0)),l=Math.max(i-o,0),p=l+(Math.min(a.length,s.dynamicMainBullets)-1),u=(p+l)/2),a.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${s.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),c.length>1)a.forEach((e=>{const a=y(e);a===i?e.classList.add(...s.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),s.dynamicBullets&&(a>=l&&a<=p&&e.classList.add(...`${s.bulletActiveClass}-main`.split(" ")),a===l&&d(e,"prev"),a===p&&d(e,"next"))}));else{const e=a[i];if(e&&e.classList.add(...s.bulletActiveClass.split(" ")),t.isElement&&a.forEach(((e,t)=>{e.setAttribute("part",t===i?"bullet-active":"bullet")})),s.dynamicBullets){const e=a[l],t=a[p];for(let e=l;e<=p;e+=1)a[e]&&a[e].classList.add(...`${s.bulletActiveClass}-main`.split(" "));d(e,"prev"),d(t,"next")}}if(s.dynamicBullets){const i=Math.min(a.length,s.dynamicMainBullets+4),n=(r*i-r)/2-u*r,o=e?"right":"left";a.forEach((e=>{e.style[t.isHorizontal()?o:"top"]=`${n}px`}))}}c.forEach(((e,n)=>{if("fraction"===s.type&&(e.querySelectorAll(pe(s.currentClass)).forEach((e=>{e.textContent=s.formatFractionCurrent(i+1)})),e.querySelectorAll(pe(s.totalClass)).forEach((e=>{e.textContent=s.formatFractionTotal(u)}))),"progressbar"===s.type){let a;a=s.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const n=(i+1)/u;let r=1,o=1;"horizontal"===a?r=n:o=n,e.querySelectorAll(pe(s.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${r}) scaleY(${o})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===s.type&&s.renderCustom?(L(e,s.renderCustom(t,i+1,u)),0===n&&a("paginationRender",e)):(0===n&&a("paginationRender",e),a("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](s.lockClass)}))}function u(){const e=t.params.pagination;if(l())return;const s=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=x(i);let n="";if("bullets"===e.type){let i=t.params.loop?Math.ceil(s/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&i>s&&(i=s);for(let s=0;s<i;s+=1)e.renderBullet?n+=e.renderBullet.call(t,s,e.bulletClass):n+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(n=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(n=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],i.forEach((s=>{"custom"!==e.type&&L(s,n||""),"bullets"===e.type&&t.pagination.bullets.push(...s.querySelectorAll(pe(e.bulletClass)))})),"custom"!==e.type&&a("paginationRender",i[0])}function m(){t.params.pagination=de(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let s;"string"==typeof e.el&&t.isElement&&(s=t.el.querySelector(e.el)),s||"string"!=typeof e.el||(s=[...document.querySelectorAll(e.el)]),s||(s=e.el),s&&0!==s.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(s)&&s.length>1&&(s=[...t.el.querySelectorAll(e.el)],s.length>1&&(s=s.find((e=>E(e,".swiper")[0]===t.el)))),Array.isArray(s)&&1===s.length&&(s=s[0]),Object.assign(t.pagination,{el:s}),s=x(s),s.forEach((s=>{"bullets"===e.type&&e.clickable&&s.classList.add(...(e.clickableClass||"").split(" ")),s.classList.add(e.modifierClass+e.type),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(s.classList.add(`${e.modifierClass}${e.type}-dynamic`),o=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&s.classList.add(e.progressbarOppositeClass),e.clickable&&s.addEventListener("click",c),t.enabled||s.classList.add(e.lockClass)})))}function f(){const e=t.params.pagination;if(l())return;let s=t.pagination.el;s&&(s=x(s),s.forEach((s=>{s.classList.remove(e.hiddenClass),s.classList.remove(e.modifierClass+e.type),s.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(s.classList.remove(...(e.clickableClass||"").split(" ")),s.removeEventListener("click",c))}))),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:s}=t.pagination;s=x(s),s.forEach((s=>{s.classList.remove(e.horizontalClass,e.verticalClass),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),i("init",(()=>{!1===t.params.pagination.enabled?h():(m(),u(),p())})),i("activeIndexChange",(()=>{void 0===t.snapIndex&&p()})),i("snapIndexChange",(()=>{p()})),i("snapGridLengthChange",(()=>{u(),p()})),i("destroy",(()=>{f()})),i("enable disable",(()=>{let{el:e}=t.pagination;e&&(e=x(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),i("lock unlock",(()=>{p()})),i("click",((e,s)=>{const i=s.target,n=x(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&n&&n.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=n[0].classList.contains(t.params.pagination.hiddenClass);a(!0===e?"paginationShow":"paginationHide"),n.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const h=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=x(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),f()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=x(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),m(),u(),p()},disable:h,render:u,update:p,init:m,destroy:f})}function me(e){let{swiper:t,extendParams:s,on:i,emit:n}=e;const r=a();let d,c,p,u,m=!1,f=null,h=null;function g(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:s}=t,{dragEl:i,el:a}=e,n=t.params.scrollbar,r=t.params.loop?t.progressLoop:t.progress;let o=c,l=(p-c)*r;s?(l=-l,l>0?(o=c-l,l=0):-l+c>p&&(o=p+l)):l<0?(o=c+l,l=0):l+c>p&&(o=p-l),t.isHorizontal()?(i.style.transform=`translate3d(${l}px, 0, 0)`,i.style.width=`${o}px`):(i.style.transform=`translate3d(0px, ${l}px, 0)`,i.style.height=`${o}px`),n.hide&&(clearTimeout(f),a.style.opacity=1,f=setTimeout((()=>{a.style.opacity=0,a.style.transitionDuration="400ms"}),1e3))}function b(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{dragEl:s,el:i}=e;s.style.width="",s.style.height="",p=t.isHorizontal()?i.offsetWidth:i.offsetHeight,u=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),c="auto"===t.params.scrollbar.dragSize?p*u:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?s.style.width=`${c}px`:s.style.height=`${c}px`,i.style.display=u>=1?"none":"",t.params.scrollbar.hide&&(i.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function y(e){return t.isHorizontal()?e.clientX:e.clientY}function E(e){const{scrollbar:s,rtlTranslate:i}=t,{el:a}=s;let n;n=(y(e)-w(a)[t.isHorizontal()?"left":"top"]-(null!==d?d:c/2))/(p-c),n=Math.max(Math.min(n,1),0),i&&(n=1-n);const r=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*n;t.updateProgress(r),t.setTranslate(r),t.updateActiveIndex(),t.updateSlidesClasses()}function S(e){const s=t.params.scrollbar,{scrollbar:i,wrapperEl:a}=t,{el:r,dragEl:o}=i;m=!0,d=e.target===o?y(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),a.style.transitionDuration="100ms",o.style.transitionDuration="100ms",E(e),clearTimeout(h),r.style.transitionDuration="0ms",s.hide&&(r.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),n("scrollbarDragStart",e)}function T(e){const{scrollbar:s,wrapperEl:i}=t,{el:a,dragEl:r}=s;m&&(e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1,E(e),i.style.transitionDuration="0ms",a.style.transitionDuration="0ms",r.style.transitionDuration="0ms",n("scrollbarDragMove",e))}function M(e){const s=t.params.scrollbar,{scrollbar:i,wrapperEl:a}=t,{el:r}=i;m&&(m=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",a.style.transitionDuration=""),s.hide&&(clearTimeout(h),h=l((()=>{r.style.opacity=0,r.style.transitionDuration="400ms"}),1e3)),n("scrollbarDragEnd",e),s.snapOnRelease&&t.slideToClosest())}function L(e){const{scrollbar:s,params:i}=t,a=s.el;if(!a)return;const n=a,o=!!i.passiveListeners&&{passive:!1,capture:!1},l=!!i.passiveListeners&&{passive:!0,capture:!1};if(!n)return;const d="on"===e?"addEventListener":"removeEventListener";n[d]("pointerdown",S,o),r[d]("pointermove",T,o),r[d]("pointerup",M,l)}function C(){const{scrollbar:e,el:s}=t;t.params.scrollbar=de(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const i=t.params.scrollbar;if(!i.el)return;let a,n;if("string"==typeof i.el&&t.isElement&&(a=t.el.querySelector(i.el)),a||"string"!=typeof i.el)a||(a=i.el);else if(a=r.querySelectorAll(i.el),!a.length)return;t.params.uniqueNavElements&&"string"==typeof i.el&&a.length>1&&1===s.querySelectorAll(i.el).length&&(a=s.querySelector(i.el)),a.length>0&&(a=a[0]),a.classList.add(t.isHorizontal()?i.horizontalClass:i.verticalClass),a&&(n=a.querySelector(pe(t.params.scrollbar.dragClass)),n||(n=v("div",t.params.scrollbar.dragClass),a.append(n))),Object.assign(e,{el:a,dragEl:n}),i.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&L("on"),a&&a.classList[t.enabled?"remove":"add"](...o(t.params.scrollbar.lockClass))}function O(){const e=t.params.scrollbar,s=t.scrollbar.el;s&&s.classList.remove(...o(t.isHorizontal()?e.horizontalClass:e.verticalClass)),t.params.scrollbar.el&&t.scrollbar.el&&L("off")}s({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null},i("changeDirection",(()=>{if(!t.scrollbar||!t.scrollbar.el)return;const e=t.params.scrollbar;let{el:s}=t.scrollbar;s=x(s),s.forEach((s=>{s.classList.remove(e.horizontalClass,e.verticalClass),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),i("init",(()=>{!1===t.params.scrollbar.enabled?P():(C(),b(),g())})),i("update resize observerUpdate lock unlock changeDirection",(()=>{b()})),i("setTranslate",(()=>{g()})),i("setTransition",((e,s)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(s)})),i("enable disable",(()=>{const{el:e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](...o(t.params.scrollbar.lockClass))})),i("destroy",(()=>{O()}));const P=()=>{t.el.classList.add(...o(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...o(t.params.scrollbar.scrollbarDisabledClass)),O()};Object.assign(t.scrollbar,{enable:()=>{t.el.classList.remove(...o(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...o(t.params.scrollbar.scrollbarDisabledClass)),C(),b(),g()},disable:P,updateSize:b,setTranslate:g,init:C,destroy:O})}function fe(e){let{swiper:t,extendParams:s,on:i}=e;s({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),t.a11y={clicked:!1};let n,r,o=null,l=(new Date).getTime();function d(e){const t=o;0!==t.length&&L(t,e)}function c(e){(e=x(e)).forEach((e=>{e.setAttribute("tabIndex","0")}))}function p(e){(e=x(e)).forEach((e=>{e.setAttribute("tabIndex","-1")}))}function u(e,t){(e=x(e)).forEach((e=>{e.setAttribute("role",t)}))}function m(e,t){(e=x(e)).forEach((e=>{e.setAttribute("aria-roledescription",t)}))}function f(e,t){(e=x(e)).forEach((e=>{e.setAttribute("aria-label",t)}))}function h(e){(e=x(e)).forEach((e=>{e.setAttribute("aria-disabled",!0)}))}function g(e){(e=x(e)).forEach((e=>{e.setAttribute("aria-disabled",!1)}))}function w(e){if(13!==e.keyCode&&32!==e.keyCode)return;const s=t.params.a11y,i=e.target;if(!t.pagination||!t.pagination.el||i!==t.pagination.el&&!t.pagination.el.contains(e.target)||e.target.matches(pe(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=x(t.navigation.prevEl);x(t.navigation.nextEl).includes(i)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?d(s.lastSlideMessage):d(s.nextSlideMessage)),e.includes(i)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?d(s.firstSlideMessage):d(s.prevSlideMessage))}t.pagination&&i.matches(pe(t.params.pagination.bulletClass))&&i.click()}}function b(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function E(){return b()&&t.params.pagination.clickable}const S=(e,t,s)=>{c(e),"BUTTON"!==e.tagName&&(u(e,"button"),e.addEventListener("keydown",w)),f(e,s),function(e,t){(e=x(e)).forEach((e=>{e.setAttribute("aria-controls",t)}))}(e,t)},T=e=>{r&&r!==e.target&&!r.contains(e.target)&&(n=!0),t.a11y.clicked=!0},M=()=>{n=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.destroyed||(t.a11y.clicked=!1)}))}))},C=e=>{l=(new Date).getTime()},O=e=>{if(t.a11y.clicked||!t.params.a11y.scrollOnFocus)return;if((new Date).getTime()-l<100)return;const s=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!s||!t.slides.includes(s))return;r=s;const i=t.slides.indexOf(s)===t.activeIndex,a=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(s);i||a||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame((()=>{n||(t.params.loop?t.slideToLoop(parseInt(s.getAttribute("data-swiper-slide-index")),0):t.slideTo(t.slides.indexOf(s),0),n=!1)})))},P=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&m(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&u(t.slides,e.slideRole);const s=t.slides.length;e.slideLabelMessage&&t.slides.forEach(((i,a)=>{const n=t.params.loop?parseInt(i.getAttribute("data-swiper-slide-index"),10):a;f(i,e.slideLabelMessage.replace(/\{\{index\}\}/,n+1).replace(/\{\{slidesLength\}\}/,s))}))};i("beforeInit",(()=>{o=v("span",t.params.a11y.notificationClass),o.setAttribute("aria-live","assertive"),o.setAttribute("aria-atomic","true")})),i("afterInit",(()=>{t.params.a11y.enabled&&(()=>{const e=t.params.a11y;t.el.append(o);const s=t.el;e.containerRoleDescriptionMessage&&m(s,e.containerRoleDescriptionMessage),e.containerMessage&&f(s,e.containerMessage),e.containerRole&&u(s,e.containerRole);const i=t.wrapperEl,n=e.id||i.getAttribute("id")||`swiper-wrapper-${r=16,void 0===r&&(r=16),"x".repeat(r).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}`;var r;const l=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var d;d=n,x(i).forEach((e=>{e.setAttribute("id",d)})),function(e,t){(e=x(e)).forEach((e=>{e.setAttribute("aria-live",t)}))}(i,l),P();let{nextEl:c,prevEl:p}=t.navigation?t.navigation:{};c=x(c),p=x(p),c&&c.forEach((t=>S(t,n,e.nextSlideMessage))),p&&p.forEach((t=>S(t,n,e.prevSlideMessage))),E()&&x(t.pagination.el).forEach((e=>{e.addEventListener("keydown",w)})),a().addEventListener("visibilitychange",C),t.el.addEventListener("focus",O,!0),t.el.addEventListener("focus",O,!0),t.el.addEventListener("pointerdown",T,!0),t.el.addEventListener("pointerup",M,!0)})()})),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{t.params.a11y.enabled&&P()})),i("fromEdge toEdge afterInit lock unlock",(()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:s}=t.navigation;s&&(t.isBeginning?(h(s),p(s)):(g(s),c(s))),e&&(t.isEnd?(h(e),p(e)):(g(e),c(e)))}()})),i("paginationUpdate",(()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;b()&&t.pagination.bullets.forEach((s=>{t.params.pagination.clickable&&(c(s),t.params.pagination.renderBullet||(u(s,"button"),f(s,e.paginationBulletMessage.replace(/\{\{index\}\}/,y(s)+1)))),s.matches(pe(t.params.pagination.bulletActiveClass))?s.setAttribute("aria-current","true"):s.removeAttribute("aria-current")}))}()})),i("destroy",(()=>{t.params.a11y.enabled&&function(){o&&o.remove();let{nextEl:e,prevEl:s}=t.navigation?t.navigation:{};e=x(e),s=x(s),e&&e.forEach((e=>e.removeEventListener("keydown",w))),s&&s.forEach((e=>e.removeEventListener("keydown",w))),E()&&x(t.pagination.el).forEach((e=>{e.removeEventListener("keydown",w)})),a().removeEventListener("visibilitychange",C),t.el&&"string"!=typeof t.el&&(t.el.removeEventListener("focus",O,!0),t.el.removeEventListener("pointerdown",T,!0),t.el.removeEventListener("pointerup",M,!0))}()}))}function he(e){let t,s,{swiper:i,extendParams:n,on:r,emit:o,params:l}=e;i.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,m,f,h,g,v=l&&l.autoplay?l.autoplay.delay:3e3,w=l&&l.autoplay?l.autoplay.delay:3e3,b=(new Date).getTime();function y(e){i&&!i.destroyed&&i.wrapperEl&&e.target===i.wrapperEl&&(i.wrapperEl.removeEventListener("transitionend",y),g||e.detail&&e.detail.bySwiperTouchMove||L())}const E=()=>{if(i.destroyed||!i.autoplay.running)return;i.autoplay.paused?c=!0:c&&(w=d,c=!1);const e=i.autoplay.paused?d:b+w-(new Date).getTime();i.autoplay.timeLeft=e,o("autoplayTimeLeft",e,e/v),s=requestAnimationFrame((()=>{E()}))},S=e=>{if(i.destroyed||!i.autoplay.running)return;cancelAnimationFrame(s),E();let a=void 0===e?i.params.autoplay.delay:e;v=i.params.autoplay.delay,w=i.params.autoplay.delay;const n=(()=>{let e;if(e=i.virtual&&i.params.virtual.enabled?i.slides.find((e=>e.classList.contains("swiper-slide-active"))):i.slides[i.activeIndex],e)return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(n)&&n>0&&void 0===e&&(a=n,v=n,w=n),d=a;const r=i.params.speed,l=()=>{i&&!i.destroyed&&(i.params.autoplay.reverseDirection?!i.isBeginning||i.params.loop||i.params.rewind?(i.slidePrev(r,!0,!0),o("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(i.slides.length-1,r,!0,!0),o("autoplay")):!i.isEnd||i.params.loop||i.params.rewind?(i.slideNext(r,!0,!0),o("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(0,r,!0,!0),o("autoplay")),i.params.cssMode&&(b=(new Date).getTime(),requestAnimationFrame((()=>{S()}))))};return a>0?(clearTimeout(t),t=setTimeout((()=>{l()}),a)):requestAnimationFrame((()=>{l()})),a},T=()=>{b=(new Date).getTime(),i.autoplay.running=!0,S(),o("autoplayStart")},x=()=>{i.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(s),o("autoplayStop")},M=(e,s)=>{if(i.destroyed||!i.autoplay.running)return;clearTimeout(t),e||(h=!0);const a=()=>{o("autoplayPause"),i.params.autoplay.waitForTransition?i.wrapperEl.addEventListener("transitionend",y):L()};if(i.autoplay.paused=!0,s)return f&&(d=i.params.autoplay.delay),f=!1,void a();const n=d||i.params.autoplay.delay;d=n-((new Date).getTime()-b),i.isEnd&&d<0&&!i.params.loop||(d<0&&(d=0),a())},L=()=>{i.isEnd&&d<0&&!i.params.loop||i.destroyed||!i.autoplay.running||(b=(new Date).getTime(),h?(h=!1,S(d)):S(),i.autoplay.paused=!1,o("autoplayResume"))},C=()=>{if(i.destroyed||!i.autoplay.running)return;const e=a();"hidden"===e.visibilityState&&(h=!0,M(!0)),"visible"===e.visibilityState&&L()},O=e=>{"mouse"===e.pointerType&&(h=!0,g=!0,i.animating||i.autoplay.paused||M(!0))},P=e=>{"mouse"===e.pointerType&&(g=!1,i.autoplay.paused&&L())};r("init",(()=>{i.params.autoplay.enabled&&(i.params.autoplay.pauseOnMouseEnter&&(i.el.addEventListener("pointerenter",O),i.el.addEventListener("pointerleave",P)),a().addEventListener("visibilitychange",C),T())})),r("destroy",(()=>{i.el&&"string"!=typeof i.el&&(i.el.removeEventListener("pointerenter",O),i.el.removeEventListener("pointerleave",P)),a().removeEventListener("visibilitychange",C),i.autoplay.running&&x()})),r("_freeModeStaticRelease",(()=>{(u||h)&&L()})),r("_freeModeNoMomentumRelease",(()=>{i.params.autoplay.disableOnInteraction?x():M(!0,!0)})),r("beforeTransitionStart",((e,t,s)=>{!i.destroyed&&i.autoplay.running&&(s||!i.params.autoplay.disableOnInteraction?M(!0,!0):x())})),r("sliderFirstMove",(()=>{!i.destroyed&&i.autoplay.running&&(i.params.autoplay.disableOnInteraction?x():(p=!0,u=!1,h=!1,m=setTimeout((()=>{h=!0,u=!0,M(!0)}),200)))})),r("touchEnd",(()=>{if(!i.destroyed&&i.autoplay.running&&p){if(clearTimeout(m),clearTimeout(t),i.params.autoplay.disableOnInteraction)return u=!1,void(p=!1);u&&i.params.cssMode&&L(),u=!1,p=!1}})),r("slideChange",(()=>{!i.destroyed&&i.autoplay.running&&(f=!0)})),Object.assign(i.autoplay,{start:T,stop:x,pause:M,resume:L})}function ge(e){let{swiper:t,extendParams:s,emit:i,once:a}=e;s({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:function(){if(t.params.cssMode)return;const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})},onTouchMove:function(){if(t.params.cssMode)return;const{touchEventsData:e,touches:s}=t;0===e.velocities.length&&e.velocities.push({position:s[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:s[t.isHorizontal()?"currentX":"currentY"],time:d()})},onTouchEnd:function(e){let{currentPos:s}=e;if(t.params.cssMode)return;const{params:n,wrapperEl:r,rtlTranslate:o,snapGrid:l,touchEventsData:c}=t,p=d()-c.touchStartTime;if(s<-t.minTranslate())t.slideTo(t.activeIndex);else if(s>-t.maxTranslate())t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1);else{if(n.freeMode.momentum){if(c.velocities.length>1){const e=c.velocities.pop(),s=c.velocities.pop(),i=e.position-s.position,a=e.time-s.time;t.velocity=i/a,t.velocity/=2,Math.abs(t.velocity)<n.freeMode.minimumVelocity&&(t.velocity=0),(a>150||d()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=n.freeMode.momentumVelocityRatio,c.velocities.length=0;let e=1e3*n.freeMode.momentumRatio;const s=t.velocity*e;let p=t.translate+s;o&&(p=-p);let u,m=!1;const f=20*Math.abs(t.velocity)*n.freeMode.momentumBounceRatio;let h;if(p<t.maxTranslate())n.freeMode.momentumBounce?(p+t.maxTranslate()<-f&&(p=t.maxTranslate()-f),u=t.maxTranslate(),m=!0,c.allowMomentumBounce=!0):p=t.maxTranslate(),n.loop&&n.centeredSlides&&(h=!0);else if(p>t.minTranslate())n.freeMode.momentumBounce?(p-t.minTranslate()>f&&(p=t.minTranslate()+f),u=t.minTranslate(),m=!0,c.allowMomentumBounce=!0):p=t.minTranslate(),n.loop&&n.centeredSlides&&(h=!0);else if(n.freeMode.sticky){let e;for(let t=0;t<l.length;t+=1)if(l[t]>-p){e=t;break}p=Math.abs(l[e]-p)<Math.abs(l[e-1]-p)||"next"===t.swipeDirection?l[e]:l[e-1],p=-p}if(h&&a("transitionEnd",(()=>{t.loopFix()})),0!==t.velocity){if(e=o?Math.abs((-p-t.translate)/t.velocity):Math.abs((p-t.translate)/t.velocity),n.freeMode.sticky){const s=Math.abs((o?-p:p)-t.translate),i=t.slidesSizesGrid[t.activeIndex];e=s<i?n.speed:s<2*i?1.5*n.speed:2.5*n.speed}}else if(n.freeMode.sticky)return void t.slideToClosest();n.freeMode.momentumBounce&&m?(t.updateProgress(u),t.setTransition(e),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating=!0,S(r,(()=>{t&&!t.destroyed&&c.allowMomentumBounce&&(i("momentumBounce"),t.setTransition(n.speed),setTimeout((()=>{t.setTranslate(u),S(r,(()=>{t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(i("_freeModeNoMomentumRelease"),t.updateProgress(p),t.setTransition(e),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,S(r,(()=>{t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(p),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(n.freeMode.sticky)return void t.slideToClosest();n.freeMode&&i("_freeModeNoMomentumRelease")}(!n.freeMode.momentum||p>=n.longSwipesMs)&&(i("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}})}function ve(e){const{effect:t,swiper:s,on:i,setTranslate:a,setTransition:n,overwriteParams:r,perspective:o,recreateShadows:l,getEffectParams:d}=e;let c;i("beforeInit",(()=>{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),o&&o()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const e=r?r():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)})),i("setTranslate _virtualUpdated",(()=>{s.params.effect===t&&a()})),i("setTransition",((e,i)=>{s.params.effect===t&&n(i)})),i("transitionEnd",(()=>{if(s.params.effect===t&&l){if(!d||!d().slideShadows)return;s.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",(()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestAnimationFrame((()=>{c&&s.slides&&s.slides.length&&(a(),c=!1)})))}))}function we(e,t){const s=f(t);return s!==t&&(s.style.backfaceVisibility="hidden",s.style["-webkit-backface-visibility"]="hidden"),s}function be(e){let{swiper:t,duration:s,transformElements:i,allSlides:a}=e;const{activeIndex:n}=t;if(t.params.virtualTranslate&&0!==s){let e,s=!1;e=a?i:i.filter((e=>{const s=e.classList.contains("swiper-slide-transform")?(e=>e.parentElement?e.parentElement:t.slides.find((t=>t.shadowRoot&&t.shadowRoot===e.parentNode)))(e):e;return t.getSlideIndex(s)===n})),e.forEach((e=>{S(e,(()=>{if(s)return;if(!t||t.destroyed)return;s=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)}))}))}}function ye(e){let{swiper:t,extendParams:s,on:i}=e;s({fadeEffect:{crossFade:!1}}),ve({effect:"fade",swiper:t,on:i,setTranslate:()=>{const{slides:e}=t;t.params.fadeEffect;for(let s=0;s<e.length;s+=1){const e=t.slides[s];let i=-e.swiperSlideOffset;t.params.virtualTranslate||(i-=t.translate);let a=0;t.isHorizontal()||(a=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),r=we(0,e);r.style.opacity=n,r.style.transform=`translate3d(${i}px, ${a}px, 0px)`}},setTransition:e=>{const s=t.slides.map((e=>f(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`})),be({swiper:t,duration:e,transformElements:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function Ee(e){let{swiper:t,extendParams:s,on:i}=e;s({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const a=(e,t,s)=>{let i=s?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),a=s?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=v("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"left":"top")).split(" ")),e.append(i)),a||(a=v("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"right":"bottom")).split(" ")),e.append(a)),i&&(i.style.opacity=Math.max(-t,0)),a&&(a.style.opacity=Math.max(t,0))};ve({effect:"cube",swiper:t,on:i,setTranslate:()=>{const{el:e,wrapperEl:s,slides:i,width:n,height:r,rtlTranslate:o,size:l,browser:d}=t,c=M(t),p=t.params.cubeEffect,u=t.isHorizontal(),m=t.virtual&&t.params.virtual.enabled;let f,h=0;p.shadow&&(u?(f=t.wrapperEl.querySelector(".swiper-cube-shadow"),f||(f=v("div","swiper-cube-shadow"),t.wrapperEl.append(f)),f.style.height=`${n}px`):(f=e.querySelector(".swiper-cube-shadow"),f||(f=v("div","swiper-cube-shadow"),e.append(f))));for(let e=0;e<i.length;e+=1){const t=i[e];let s=e;m&&(s=parseInt(t.getAttribute("data-swiper-slide-index"),10));let n=90*s,r=Math.floor(n/360);o&&(n=-n,r=Math.floor(-n/360));const d=Math.max(Math.min(t.progress,1),-1);let f=0,g=0,v=0;s%4==0?(f=4*-r*l,v=0):(s-1)%4==0?(f=0,v=4*-r*l):(s-2)%4==0?(f=l+4*r*l,v=l):(s-3)%4==0&&(f=-l,v=3*l+4*l*r),o&&(f=-f),u||(g=f,f=0);const w=`rotateX(${c(u?0:-n)}deg) rotateY(${c(u?n:0)}deg) translate3d(${f}px, ${g}px, ${v}px)`;d<=1&&d>-1&&(h=90*s+90*d,o&&(h=90*-s-90*d)),t.style.transform=w,p.slideShadows&&a(t,d,u)}if(s.style.transformOrigin=`50% 50% -${l/2}px`,s.style["-webkit-transform-origin"]=`50% 50% -${l/2}px`,p.shadow)if(u)f.style.transform=`translate3d(0px, ${n/2+p.shadowOffset}px, ${-n/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${p.shadowScale})`;else{const e=Math.abs(h)-90*Math.floor(Math.abs(h)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=p.shadowScale,i=p.shadowScale/t,a=p.shadowOffset;f.style.transform=`scale3d(${s}, 1, ${i}) translate3d(0px, ${r/2+a}px, ${-r/2/i}px) rotateX(-89.99deg)`}const g=(d.isSafari||d.isWebView)&&d.needPerspectiveFix?-l/2:0;s.style.transform=`translate3d(0px,0,${g}px) rotateX(${c(t.isHorizontal()?0:h)}deg) rotateY(${c(t.isHorizontal()?-h:0)}deg)`,s.style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:e=>{const{el:s,slides:i}=t;if(i.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`}))})),t.params.cubeEffect.shadow&&!t.isHorizontal()){const t=s.querySelector(".swiper-cube-shadow");t&&(t.style.transitionDuration=`${e}ms`)}},recreateShadows:()=>{const e=t.isHorizontal();t.slides.forEach((t=>{const s=Math.max(Math.min(t.progress,1),-1);a(t,s,e)}))},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function Se(e,t,s){const i=`swiper-slide-shadow${s?`-${s}`:""}${e?` swiper-slide-shadow-${e}`:""}`,a=f(t);let n=a.querySelector(`.${i.split(" ").join(".")}`);return n||(n=v("div",i.split(" ")),a.append(n)),n}function Te(e){let{swiper:t,extendParams:s,on:i}=e;s({flipEffect:{slideShadows:!0,limitRotation:!0}});const a=(e,s)=>{let i=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),a=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=Se("flip",e,t.isHorizontal()?"left":"top")),a||(a=Se("flip",e,t.isHorizontal()?"right":"bottom")),i&&(i.style.opacity=Math.max(-s,0)),a&&(a.style.opacity=Math.max(s,0))};ve({effect:"flip",swiper:t,on:i,setTranslate:()=>{const{slides:e,rtlTranslate:s}=t,i=t.params.flipEffect,n=M(t);for(let r=0;r<e.length;r+=1){const o=e[r];let l=o.progress;t.params.flipEffect.limitRotation&&(l=Math.max(Math.min(o.progress,1),-1));const d=o.swiperSlideOffset;let c=-180*l,p=0,u=t.params.cssMode?-d-t.translate:-d,m=0;t.isHorizontal()?s&&(c=-c):(m=u,u=0,p=-c,c=0),o.style.zIndex=-Math.abs(Math.round(l))+e.length,i.slideShadows&&a(o,l);const f=`translate3d(${u}px, ${m}px, 0px) rotateX(${n(p)}deg) rotateY(${n(c)}deg)`;we(0,o).style.transform=f}},setTransition:e=>{const s=t.slides.map((e=>f(e)));s.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`}))})),be({swiper:t,duration:e,transformElements:s})},recreateShadows:()=>{t.params.flipEffect,t.slides.forEach((e=>{let s=e.progress;t.params.flipEffect.limitRotation&&(s=Math.max(Math.min(e.progress,1),-1)),a(e,s)}))},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function xe(e){let{swiper:t,extendParams:s,on:i}=e;s({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),ve({effect:"coverflow",swiper:t,on:i,setTranslate:()=>{const{width:e,height:s,slides:i,slidesSizesGrid:a}=t,n=t.params.coverflowEffect,r=t.isHorizontal(),o=t.translate,l=r?e/2-o:s/2-o,d=r?n.rotate:-n.rotate,c=n.depth,p=M(t);for(let e=0,t=i.length;e<t;e+=1){const t=i[e],s=a[e],o=(l-t.swiperSlideOffset-s/2)/s,u="function"==typeof n.modifier?n.modifier(o):o*n.modifier;let m=r?d*u:0,f=r?0:d*u,h=-c*Math.abs(u),g=n.stretch;"string"==typeof g&&-1!==g.indexOf("%")&&(g=parseFloat(n.stretch)/100*s);let v=r?0:g*u,w=r?g*u:0,b=1-(1-n.scale)*Math.abs(u);Math.abs(w)<.001&&(w=0),Math.abs(v)<.001&&(v=0),Math.abs(h)<.001&&(h=0),Math.abs(m)<.001&&(m=0),Math.abs(f)<.001&&(f=0),Math.abs(b)<.001&&(b=0);const y=`translate3d(${w}px,${v}px,${h}px) rotateX(${p(f)}deg) rotateY(${p(m)}deg) scale(${b})`;if(we(0,t).style.transform=y,t.style.zIndex=1-Math.abs(Math.round(u)),n.slideShadows){let e=r?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),s=r?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");e||(e=Se("coverflow",t,r?"left":"top")),s||(s=Se("coverflow",t,r?"right":"bottom")),e&&(e.style.opacity=u>0?u:0),s&&(s.style.opacity=-u>0?-u:0)}}},setTransition:e=>{t.slides.map((e=>f(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 Me(e){let{swiper:t,extendParams:s,on:i}=e;s({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const a=e=>"string"==typeof e?e:`${e}px`;ve({effect:"creative",swiper:t,on:i,setTranslate:()=>{const{slides:e,wrapperEl:s,slidesSizesGrid:i}=t,n=t.params.creativeEffect,{progressMultiplier:r}=n,o=t.params.centeredSlides,l=M(t);if(o){const e=i[0]/2-t.params.slidesOffsetBefore||0;s.style.transform=`translateX(calc(50% - ${e}px))`}for(let s=0;s<e.length;s+=1){const i=e[s],d=i.progress,c=Math.min(Math.max(i.progress,-n.limitProgress),n.limitProgress);let p=c;o||(p=Math.min(Math.max(i.originalProgress,-n.limitProgress),n.limitProgress));const u=i.swiperSlideOffset,m=[t.params.cssMode?-u-t.translate:-u,0,0],f=[0,0,0];let h=!1;t.isHorizontal()||(m[1]=m[0],m[0]=0);let g={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};c<0?(g=n.next,h=!0):c>0&&(g=n.prev,h=!0),m.forEach(((e,t)=>{m[t]=`calc(${e}px + (${a(g.translate[t])} * ${Math.abs(c*r)}))`})),f.forEach(((e,t)=>{let s=g.rotate[t]*Math.abs(c*r);f[t]=s})),i.style.zIndex=-Math.abs(Math.round(d))+e.length;const v=m.join(", "),w=`rotateX(${l(f[0])}deg) rotateY(${l(f[1])}deg) rotateZ(${l(f[2])}deg)`,b=p<0?`scale(${1+(1-g.scale)*p*r})`:`scale(${1-(1-g.scale)*p*r})`,y=p<0?1+(1-g.opacity)*p*r:1-(1-g.opacity)*p*r,E=`translate3d(${v}) ${w} ${b}`;if(h&&g.shadow||!h){let e=i.querySelector(".swiper-slide-shadow");if(!e&&g.shadow&&(e=Se("creative",i)),e){const t=n.shadowPerProgress?c*(1/n.limitProgress):c;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const S=we(0,i);S.style.transform=E,S.style.opacity=y,g.origin&&(S.style.transformOrigin=g.origin)}},setTransition:e=>{const s=t.slides.map((e=>f(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),be({swiper:t,duration:e,transformElements:s,allSlides:!0})},perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}function Le(e){let{swiper:t,extendParams:s,on:i}=e;s({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),ve({effect:"cards",swiper:t,on:i,setTranslate:()=>{const{slides:e,activeIndex:s,rtlTranslate:i}=t,a=t.params.cardsEffect,{startTranslate:n,isTouched:r}=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 u=d.swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&(t.wrapperEl.style.transform=`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(u-=e[0].swiperSlideOffset);let m=t.params.cssMode?-u-t.translate:-u,f=0;const h=-100*Math.abs(p);let g=1,v=-a.perSlideRotate*p,w=a.perSlideOffset-.75*Math.abs(p);const b=t.virtual&&t.params.virtual.enabled?t.virtual.from+l:l,y=(b===s||b===s-1)&&p>0&&p<1&&(r||t.params.cssMode)&&o<n,E=(b===s||b===s+1)&&p<0&&p>-1&&(r||t.params.cssMode)&&o>n;if(y||E){const e=(1-Math.abs((Math.abs(p)-.5)/.5))**.5;v+=-28*p*e,g+=-.5*e,w+=96*e,f=-25*e*Math.abs(p)+"%"}if(m=p<0?`calc(${m}px ${i?"-":"+"} (${w*Math.abs(p)}%))`:p>0?`calc(${m}px ${i?"-":"+"} (-${w*Math.abs(p)}%))`:`${m}px`,!t.isHorizontal()){const e=f;f=m,m=e}const S=p<0?""+(1+(1-g)*p):""+(1-(1-g)*p),T=`\n translate3d(${m}, ${f}, ${h}px)\n rotateZ(${a.rotate?i?-v:v:0}deg)\n scale(${S})\n `;if(a.slideShadows){let e=d.querySelector(".swiper-slide-shadow");e||(e=Se("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,we(0,d).style.transform=T}},setTransition:e=>{const s=t.slides.map((e=>f(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),be({swiper:t,duration:e,transformElements:s})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:t.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!t.params.cssMode})})}Object.keys(ae).forEach((e=>{Object.keys(ae[e]).forEach((t=>{re.prototype[t]=ae[e][t]}))})),re.use([function(e){let{swiper:t,on:s,emit:i}=e;const a=r();let n=null,o=null;const l=()=>{t&&!t.destroyed&&t.initialized&&(i("beforeResize"),i("resize"))},d=()=>{t&&!t.destroyed&&t.initialized&&i("orientationchange")};s("init",(()=>{t.params.resizeObserver&&void 0!==a.ResizeObserver?t&&!t.destroyed&&t.initialized&&(n=new ResizeObserver((e=>{o=a.requestAnimationFrame((()=>{const{width:s,height:i}=t;let a=s,n=i;e.forEach((e=>{let{contentBoxSize:s,contentRect:i,target:r}=e;r&&r!==t.el||(a=i?i.width:(s[0]||s).inlineSize,n=i?i.height:(s[0]||s).blockSize)})),a===s&&n===i||l()}))})),n.observe(t.el)):(a.addEventListener("resize",l),a.addEventListener("orientationchange",d))})),s("destroy",(()=>{o&&a.cancelAnimationFrame(o),n&&n.unobserve&&t.el&&(n.unobserve(t.el),n=null),a.removeEventListener("resize",l),a.removeEventListener("orientationchange",d)}))},function(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const n=[],o=r(),l=function(e,s){void 0===s&&(s={});const i=new(o.MutationObserver||o.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void a("observerUpdate",e[0]);const s=function(){a("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(s):o.setTimeout(s,0)}));i.observe(e,{attributes:void 0===s.attributes||s.attributes,childList:t.isElement||(void 0===s.childList||s).childList,characterData:void 0===s.characterData||s.characterData}),n.push(i)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=E(t.hostEl);for(let t=0;t<e.length;t+=1)l(e[t])}l(t.hostEl,{childList:t.params.observeSlideChildren}),l(t.wrapperEl,{attributes:!1})}})),i("destroy",(()=>{n.forEach((e=>{e.disconnect()})),n.splice(0,n.length)}))}]),document.addEventListener("DOMContentLoaded",(()=>{if(!document.querySelector(".vb-slider-start"))return;const e=document.querySelectorAll(".vb-slider-start .swiper");e.length&&e.forEach((e=>{let t={};try{t=JSON.parse(e.dataset.swiper)}catch(e){return void console.error(e)}!function(e,t={},s=!1){var i,a,n,r,o,l;const d=[he,oe,ce,ue,ge,le,fe],c={slide:"",flip:Te,fade:ye,coverflow:xe,cube:Ee,cards:Le,creative:Me};t.effect&&c[t.effect]&&d.push(c[t.effect]),t.scrollbar&&d.push(me);const p=e.getAttribute("data-swiper");let u={};if(p)try{u=JSON.parse(p)}catch(e){console.error("Error parsing data-swiper attribute:",e)}const m=null!==(i=null!==(a=u.slidesPerView)&&void 0!==a?a:t?.slidesPerView)&&void 0!==i?i:1,f=null!==(n=null!==(r=u.spaceBetween)&&void 0!==r?r:t?.spaceBetween)&&void 0!==n?n:10,h=null!==(o=null!==(l=u.initialSlide)&&void 0!==l?l:t?.initialSlide)&&void 0!==o?o:10,g="Desktop"===t.viewslider,v="Tablet"===t.viewslider,w="Mobile"===t.viewslider;new re(e,(e=>{var t,i,a,n,r,o;const l={createElements:!0,centeredSlides:null!==(t=e?.centerSlides)&&void 0!==t&&t,grabCursor:null===(i=e?.grabCursor)||void 0===i||i,keyboard:!0,modules:d,navigation:null!==(a=e?.navigation)&&void 0!==a&&a,pagination:null!==(n=e?.pagination)&&void 0!==n&&n,simulateTouch:null===(r=e?.simulateTouch)||void 0===r||r,freeMode:!0,scrollbar:null===(o=e?.scrollbar)||void 0===o||o};var c,p,u,b,y,E,S,T,x;return s?{...l,autoplay:null!==(c=e?.autoplay)&&void 0!==c&&c,initialSlide:h-1,mousewheel:null===(p=e?.mousewheel)||void 0===p||p,...e.effect&&"none"!==e.effect&&{effect:null!==(u=e.effect)&&void 0!==u?u:"fade"},...["fade","flip","cube","cards"].includes(e.effect)?{}:{slidesPerView:m,spaceBetween:f,loop:e?.loop},..."cards"===e.effect&&{loop:!1}}:{...l,initialSlide:g?(null!==(b=e?.initialSlide)&&void 0!==b?b:1)-1:v?(null!==(y=e?.initialSlideTablet)&&void 0!==y?y:1)-1:w?(null!==(E=e?.initialSlideMobile)&&void 0!==E?E:1)-1:0,pagination:{enabled:!0,clickable:!0,..."numbers"===e.dotstype&&{type:"fraction"},..."bullets"===e.dotstype&&{dynamicBullets:!0,dynamicMainBullets:null!==(S=e?.dynamicMainBullets)&&void 0!==S?S:1},..."progressbar"===e.dotstype&&{type:"progressbar"}},...["fade","cards"].includes(e.effect)?{}:{loop:!0},...["fade","flip","cube","cards"].includes(e.effect)?{}:{slidesPerView:g?e?.slidesPerView:v?e?.slidesPerViewTablet:w?e?.slidesPerViewMobile:1,spaceBetween:g?e?.spaceBetween:v?e?.spaceBetweenTablet:w?e?.spaceBetweenMobile:10},...e.effect&&"none"!==e.effect&&{effect:null!==(T=e.effect)&&void 0!==T?T:"fade"},..."cards"===e.effect&&{loop:!1},mousewheel:{enabled:null===(x=e?.mousewheel)||void 0===x||x,sensitivity:7}}})(t))}(e,t,!0)}))}));const Ce=e=>NodeList.prototype.isPrototypeOf(e)||HTMLCollection.prototype.isPrototypeOf(e)?Array.from(e):"string"==typeof e||e instanceof String?document.querySelectorAll(e):[e],Oe=new class{constructor(){this.positions={top:0,bottom:0,height:0}}setViewportTop(e){return this.positions.top=e?e.scrollTop:window.pageYOffset,this.positions}setViewportBottom(){return this.positions.bottom=this.positions.top+this.positions.height,this.positions}setViewportAll(e){return this.positions.top=e?e.scrollTop:window.pageYOffset,this.positions.height=e?e.clientHeight:document.documentElement.clientHeight,this.positions.bottom=this.positions.top+this.positions.height,this.positions}},Pe=(()=>{const e="transform webkitTransform mozTransform oTransform msTransform".split(" ");let t,s=0;for(;void 0===t;)t=void 0!==document.createElement("div").style[e[s]]?e[s]:void 0,s+=1;return t})();class ke{constructor(e,t,s=!1){var i;this.element=e,this.elementContainer=e,this.settings=t,this.isVisible=!0,this.isInit=!1,this.oldTranslateValue=-1,this.prefersReducedMotion=s,this.init=this.init.bind(this),this.customWrapper=this.settings.customWrapper&&this.element.closest(this.settings.customWrapper)?this.element.closest(this.settings.customWrapper):null,!this.prefersReducedMotion&&("img"!==(i=e).tagName.toLowerCase()&&"picture"!==i.tagName.toLowerCase()||i&&i.complete&&!(typeof i.naturalWidth<"u"&&0===i.naturalWidth)?this.init():this.element.addEventListener("load",(()=>{setTimeout((()=>{this.init(!0)}),50)})))}init(e){this.prefersReducedMotion||this.isInit||(e&&(this.rangeMax=null),!this.element.closest(".simpleParallax")&&(!1===this.settings.overflow&&this.wrapElement(this.element),this.setTransformCSS(),this.getElementOffset(),this.intersectionObserver(),this.getTranslateValue(),this.animate(),this.settings.delay>0?setTimeout((()=>{this.setTransitionCSS(),this.elementContainer.classList.add("simple-parallax-initialized")}),10):this.elementContainer.classList.add("simple-parallax-initialized"),this.isInit=!0))}wrapElement(){const e=this.element.closest("picture")||this.element;let t=this.customWrapper||document.createElement("div");t.classList.add("simpleParallax"),t.style.overflow="hidden",this.customWrapper||(e.parentNode.insertBefore(t,e),t.appendChild(e)),this.elementContainer=t}unWrapElement(){const e=this.elementContainer;this.customWrapper?(e.classList.remove("simpleParallax"),e.style.overflow=""):e.replaceWith(...e.childNodes)}setTransformCSS(){!1===this.settings.overflow&&(this.element.style[Pe]=`scale(${this.settings.scale})`),this.element.style.willChange="transform"}setTransitionCSS(){this.element.style.transition=`transform ${this.settings.delay}s ${this.settings.transition}`}unSetStyle(){this.element.style.willChange="",this.element.style[Pe]="",this.element.style.transition=""}getElementOffset(){const e=this.elementContainer.getBoundingClientRect();if(this.elementHeight=e.height,this.elementTop=e.top+Oe.positions.top,this.settings.customContainer){const t=this.settings.customContainer.getBoundingClientRect();this.elementTop=e.top-t.top+Oe.positions.top}this.elementBottom=this.elementHeight+this.elementTop}buildThresholdList(){const e=[];for(let t=1;t<=this.elementHeight;t++){const s=t/this.elementHeight;e.push(s)}return e}intersectionObserver(){const e={root:null,threshold:this.buildThresholdList()};this.observer=new IntersectionObserver(this.intersectionObserverCallback.bind(this),e),this.observer.observe(this.element)}intersectionObserverCallback(e){e.forEach((e=>{e.isIntersecting?this.isVisible=!0:this.isVisible=!1}))}checkIfVisible(){return this.elementBottom>Oe.positions.top&&this.elementTop<Oe.positions.bottom}getRangeMax(){const e=this.element.clientHeight;this.rangeMax=e*this.settings.scale-e}getTranslateValue(){let e=((Oe.positions.bottom-this.elementTop)/((Oe.positions.height+this.elementHeight)/100)).toFixed(1);return e=Math.min(100,Math.max(0,e)),0!==this.settings.maxTransition&&e>this.settings.maxTransition&&(e=this.settings.maxTransition),this.oldPercentage!==e&&(this.rangeMax||this.getRangeMax(),this.translateValue=(e/100*this.rangeMax-this.rangeMax/2).toFixed(0),this.oldTranslateValue!==this.translateValue)&&(this.oldPercentage=e,this.oldTranslateValue=this.translateValue,!0)}animate(){let e,t=0,s=0;(this.settings.orientation.includes("left")||this.settings.orientation.includes("right"))&&(s=`${this.settings.orientation.includes("left")?-1*this.translateValue:this.translateValue}px`),(this.settings.orientation.includes("up")||this.settings.orientation.includes("down"))&&(t=`${this.settings.orientation.includes("up")?-1*this.translateValue:this.translateValue}px`),e=!1===this.settings.overflow?`translate3d(${s}, ${t}, 0) scale(${this.settings.scale})`:`translate3d(${s}, ${t}, 0)`,this.element.style[Pe]=e}}let Ie,Ae,De=!1,ze=[];class $e{constructor(e,t){e&&Element.prototype.closest&&"IntersectionObserver"in window&&(this.prefersReducedMotion=window.matchMedia("(prefers-reduced-motion: reduce)").matches,this.reducedMotionMediaQuery=window.matchMedia("(prefers-reduced-motion: reduce)"),this.handleReducedMotionChange=this.handleReducedMotionChange.bind(this),this.reducedMotionMediaQuery.addEventListener("change",this.handleReducedMotionChange),!this.prefersReducedMotion&&(this.elements=Ce(e),this.defaults={delay:0,orientation:"up",scale:1.3,overflow:!1,transition:"cubic-bezier(0,0,0,1)",customContainer:"",customWrapper:"",maxTransition:0},this.settings=Object.assign(this.defaults,t),this.settings.customContainer&&([this.customContainer]=Ce(this.settings.customContainer)),this.lastPosition=-1,this.resizeIsDone=this.resizeIsDone.bind(this),this.refresh=this.refresh.bind(this),this.proceedRequestAnimationFrame=this.proceedRequestAnimationFrame.bind(this),this.init()))}handleReducedMotionChange(e){this.prefersReducedMotion=e.matches,this.prefersReducedMotion?this.destroy():this.init()}init(){this.prefersReducedMotion||(Oe.setViewportAll(this.customContainer),ze=[...this.elements.map((e=>new ke(e,this.settings,this.prefersReducedMotion))),...ze],De||(this.proceedRequestAnimationFrame(),window.addEventListener("resize",this.resizeIsDone),De=!0))}resizeIsDone(){clearTimeout(Ae),Ae=setTimeout(this.refresh,200)}proceedRequestAnimationFrame(){Oe.setViewportTop(this.customContainer),this.lastPosition!==Oe.positions.top?(Oe.setViewportBottom(),ze.forEach((e=>{this.proceedElement(e)})),Ie=window.requestAnimationFrame(this.proceedRequestAnimationFrame),this.lastPosition=Oe.positions.top):Ie=window.requestAnimationFrame(this.proceedRequestAnimationFrame)}proceedElement(e){let t=!1;t=this.customContainer?e.checkIfVisible():e.isVisible,t&&e.getTranslateValue()&&e.animate()}refresh(){Oe.setViewportAll(this.customContainer),ze.forEach((e=>{e.getElementOffset(),e.getRangeMax()})),this.lastPosition=-1}destroy(){this.reducedMotionMediaQuery&&this.reducedMotionMediaQuery.removeEventListener("change",this.handleReducedMotionChange);const e=[];ze=ze.filter((t=>this.elements&&this.elements.includes(t.element)?(e.push(t),!1):t)),e.forEach((e=>{e.unSetStyle(),this.settings&&!1===this.settings.overflow&&e.unWrapElement()})),ze.length||(window.cancelAnimationFrame(Ie),window.removeEventListener("resize",this.refresh),De=!1)}}function Be(e,t){document.querySelectorAll(e).forEach((e=>{const s=e.clientHeight,i=e.clientWidth;e.addEventListener("mousemove",(a=>{const n=a.layerX,r=`perspective(500px) rotateX(${(a.layerY-s/2)/s*-t}deg) rotateY(${t*((n-i/2)/i)}deg)`;e.style.transform=r})),e.addEventListener("mouseout",(()=>{e.style.transform="perspective(500px) scale(1) rotateX(0) rotateY(0)"}),120),e.addEventListener("mousedown",(()=>{e.style.transform="perspective(500px) scale(0.9) rotateX(0) rotateY(0)"}),120),e.addEventListener("mouseup",(()=>{e.style.transform="perspective(500px) scale(1.1) rotateX(0) rotateY(0)"}),120)}))}Be(".vayu_block_styling-effect7",8),Be(".vayu_block_styling-overlay-effect",10),document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll('img[data-parallax="true"]').forEach((e=>{const t={orientation:e.dataset.orientation||"up",delay:parseFloat(e.dataset.delay||0),scale:parseFloat(e.dataset.scale||1.2),transition:e.dataset.transition||"cubic-bezier(0,0,0,1)",overflow:"true"===e.dataset.overflow,maxTransition:parseFloat(e.dataset.maxTransition||60)};new $e(e,t)}))})),s(1),s(2147),s(4377),s(9941),s(8730),s(4934),s(576),s(2399),s(882),s(9127),s(1679);const Re=(e,t)=>{let s,i=0;const a=Math.ceil(e/t)+1||1,n=e=>{clearInterval(s),e?.()};return{steps:a,start:(e,r)=>{s=setInterval((()=>{i<a?(e?.(i),i+=1):n(r)}),1e3*t)},stop:n}},qe=e=>{"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())},He={none:void 0,"o-count-slower":3,"o-count-slow":2,"o-count-fast":1.5,"o-count-fastest":1},Ve=new Set(Array.from("0123456789,.")),Ge=new Set(Array.from(","));qe((()=>{const e={root:null,rootMargin:"0px",threshold:[.6]},t=new Set("0123456789");setTimeout((()=>{document.querySelectorAll("o-anim-count").forEach((s=>{if(Array.from(s.innerHTML).some((e=>t.has(e)))){const t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&0<e.intersectionRect.height&&(t.unobserve(s),(e=>{const t=e?.innerHTML||"",s=(e=>{let t=e.parentElement;for(let e=0;e<3;++e)if(Array.from(t.classList).some((e=>e.includes("o-count-")))){const e=Array.from(t.classList),s=e.filter((e=>e.includes("o-count-delay-"))).pop(),i=parseInt(s?.split("-")?.[3]||"0"),a=s?.includes("ms"),n=Object.keys(He),r=e?.filter((e=>n.includes(e)))?.pop()||"fast";return{speed:He[r],delay:i*(a?0:1e3)}}})(e),{suffix:i,prefix:a,number:n}=(e=>{const t=Array.from(e),s=[],i=[],a=[];let n=!0,r=!1;for(let e of t)Ve.has(e)?(n&&(n=!1),r?i.push(e):a.push(e)):n?s.push(e):(r||(r=!0),i.push(e));return{prefix:s.join(""),suffix:i.join(""),number:a}})(t),r=[...n].reverse().map(((e,t)=>Ge.has(e)?{position:t,character:e}:null)).filter((e=>e)),o=n.join("")?.split(".")?.[1]?.length||0,l=parseFloat(n.filter((e=>","!==e)).join("")),d=t.length-i.length,c=e=>{const t=e.split("").reverse();return r.forEach((e=>{e.position<t.length&&t.splice(e.position,0,e.character)})),((a||"")+t.reverse().join("")).padStart(d," ")+i||""},{start:p,steps:u}=Re(s?.speed||2,.05),m=parseFloat((l/u).toFixed(o||2));if(1e-12>m)return;let f=[0];for(let e=1;e<u;++e)f.push(f[e-1]+m);f=f.map((e=>e.toFixed(o))),0<f.length&&(f[u-1]=l.toFixed(o||0),e.innerHTML=c(f[0]),setTimeout((()=>{e.style.whiteSpace="pre",p((t=>{e.innerHTML=c(f[t])}),(()=>{e.style.whiteSpace="",e.innerHTML=t}))}),s?.delay||0))})(s))}))}),e);t.observe(s)}}))}),300)}));const Fe={none:void 0,"o-typing-slower":.4,"o-typing-slow":.25,"o-typing-fast":.05,"o-typing-faster":.01};qe((()=>{const e={root:null,rootMargin:"0px",threshold:[.6]};let t="\n\t\t.o-anim-typing-caret::after {\n\t\t\tfont-weight: 100;\n\t\t\tcontent: '|';\n\t\t\tcolor: #2E3D48;\n\t\t\tanimation: 1s blink step-end infinite;\n\t\t}\n\t\n\t\t@keyframes blink {\n\t\t\tfrom, to {\n\t\t\t color: transparent;\n\t\t }\n\t\t\t50% {\n\t\t\t color: black;\n\t\t }\n\t\t}\n\t";t=t.replace(/(\r\n|\n|\r|\t)/gm,"");let s=!1;setTimeout((()=>{document.querySelectorAll("o-anim-typing").forEach((i=>{if(!s){const e=document.createElement("style");e.innerText=t,document.head.appendChild(e),s=!0}const a=(e=>{const t=e?.innerHTML||"",s=(e=>{let t=e.parentElement;for(let e=0;e<3;++e)if(Array.from(t.classList).some((e=>e.includes("o-typing-")))){const e=Array.from(t.classList),s=e.filter((e=>e.includes("o-typing-delay-"))).pop(),i=parseInt(s?.split("-")?.[3]||"0"),a=s?.includes("ms"),n=Object.keys(Fe),r=e?.filter((e=>n.includes(e)))?.pop()||"fast";return{speed:Fe[r],delay:i*(a?0:1e3)}}})(e);t?.length||returnl;const i=t.length,a=(s?.speed||.1)*i,{start:n,steps:r,stop:o}=Re(a,s?.speed||.1),l=document.createElement("span");l.classList.add("o-anim-typing-caret"),l.style.whiteSpace="pre-wrap";const d=document.createElement("span");d.style.whiteSpace="pre-wrap",d.style.visibility="hidden";const c=e.innerHTML;return e.innerHTML="",e.appendChild(l),e.appendChild(d),l.innerHTML=t.slice(0,0),d.innerHTML=t.slice(0),()=>{setTimeout((()=>{n((e=>{l.innerHTML=t.slice(0,e),e<i&&(d.innerHTML=t.slice(e)),i>=r&&o()}),(()=>{e.innerHTML=c}))}),s?.delay||0)}})(i),n=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&0<e.intersectionRect.height&&(n.unobserve(i),a())}))}),e);n.observe(i)}))}),100)}))})()})(); -
vayu-blocks/trunk/readme.txt
r3410994 r3447623 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.8 7 Stable tag: 1.4. 37 Stable tag: 1.4.4 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html … … 152 152 == Changelog == 153 153 154 = 1.4.4 = 155 Fix: Swipe slider issue fixed. 156 Fix: Elementor animation conflict issue fixed. 157 Fix: WooCommerce advanced product tab “class not found” issue fixed. 158 154 159 = 1.4.3 = 155 160 Fix: Import template issue fixed and import function modify. -
vayu-blocks/trunk/vayu-blocks.php
r3410994 r3447623 6 6 * Requires at least: 6.2 7 7 * Requires PHP: 7.4 8 * Version: 1.4. 38 * Version: 1.4.4 9 9 * Author: ThemeHunk 10 10 * Author URI: https://themehunk.com … … 19 19 exit; 20 20 } 21 define( 'VAYU_BLOCKS_VERSION', '1.4. 3' );21 define( 'VAYU_BLOCKS_VERSION', '1.4.4' ); 22 22 define( 'VAYU_BLOCKS_BASEFILE', __FILE__ ); 23 23 define( 'VAYU_BLOCKS_URL', plugins_url( '/', __FILE__ ) );
Note: See TracChangeset
for help on using the changeset viewer.