(()=>{"use strict";const e=function(e,s,t=!1,i="Desktop",o=[],l={}){const n=e.querySelector(".swiper-pagination"),r=e.querySelector(".swiper-button-next"),a=e.querySelector(".swiper-button-prev"),{direction:u,speed:p,delay:d,loop:c,autoplay:w,pauseOnMouseEnter:g,allowTouchMove:f,effect:b}=s,k={};if(o){const e=o.find(e=>"Desktop"===e.slug),t=o.find(e=>"WideScreen"===e.slug),i=o.map(s=>"Desktop"===s.slug?e:"WideScreen"===s.slug?t:s);i.forEach((e,i,o)=>{let l=o[i+1]?.value||"0";l&&(l="base"===l&&t?t?.value:l,k[l]={slidesPerView:s?.[`slidesPerView${e?.slug}`]?.size||1,slidesPerGroup:s?.[`slidesPerGroup${e?.slug}`]?.size||1,spaceBetween:s?.[`spaceBetween${e?.slug}`]?.size||10,slidesPerGroupSkip:Number(0)})})}let v={direction:u||"horizontal",loop:c||!1,speed:p||1e3,autoplay:w&&{pauseOnMouseEnter:g||!1,delay:d||3e3},allowTouchMove:f||!0,draggable:!0,effect:b||"slide",focusableElements:'a, button, input, textarea, select, details, [tabindex="0"]',pagination:{el:n,clickable:!0},navigation:{nextEl:r,prevEl:a},slidesPerGroupSkip:Number(0),...l};if(t){const{gkitResponsiveValue:e}=window.GkitHelpers;v={...v,slidesPerView:e(s,"slidesPerView",i)?.size||1,slidesPerGroup:e(s,"slidesPerGroup",i)?.size||1,spaceBetween:e(s,"spaceBetween",i)?.size||10},v.allowTouchMove=!1}else v.breakpoints=k;return new Swiper(e,v)};document.addEventListener("DOMContentLoaded",()=>{const s=document.querySelectorAll(".gkit-testimonial-slider");if(void 0!==window?.Swiper&&s.length>0)for(let t of s){const s=JSON.parse(t.dataset.settings);e(t,s,!1,"",window.breakpoints)}})})();