const sliders = [
   {
      field: document.querySelectorAll(".hero-left-slider__swiper"),
      parentWrapperForActions: ".hero-left-slider",
      options: {
         navigation: {
            clickable: true,

            prevEl: ".hero-slider__prev",
            nextEl: ".hero-slider__next",
         },
         pagination: {
            el: ".hero-slider__pagination",
            clickable: true,
         },
         loop: true,
         slidesPerView: 1,
         spaceBetween: 20,
      },
   },
   {
      field: document.querySelectorAll(".hero-right-slider__swiper"),
      parentWrapperForActions: ".hero-right-slider",
      options: {
         navigation: {
            clickable: true,

            prevEl: ".hero-slider__prev",
            nextEl: ".hero-slider__next",
         },
         pagination: {
            el: ".hero-slider__pagination",
            clickable: true,
         },
         loop: true,
         slidesPerView: 1,
         spaceBetween: 20,
      },
   },
   {
      field: document.querySelectorAll(".ideas-slider-swiper"),
      parentWrapperForActions: ".ideas-slider",
      options: {
         navigation: {
            clickable: true,

            prevEl: ".ideas-slider__arrow-prev",
            nextEl: ".ideas-slider__arrow-next",
         },
         pagination: {
            el: ".ideas-slider__pagination",
            clickable: true,
         },
         loop: true,
         slidesPerView: 1.4,
         spaceBetween: 10,

         breakpoints: {
            768: {
               slidesPerView: 3,
               spaceBetween: 20,
            },
         },
      },
   },
   {
      field: document.querySelectorAll(".our-blog-swiper"),
      parentWrapperForActions: ".our-blog",
      conditionActive: () => window.innerWidth < 768,
      options: {
         navigation: {
            clickable: true,

            prevEl: ".our-blog__prev",
            nextEl: ".our-blog__next",
         },
         pagination: {
            el: ".our-blog__pagination",
            clickable: true,
         },
         loop: true,
         slidesPerView: 1.4,
         spaceBetween: 10,
      },
   },
   {
      field: document.querySelectorAll(".catalog-advs-slider"),
      parentWrapperForActions: ".catalog-advs",
      conditionActive: window.matchMedia("(max-width: 767px)").matches,
      options: {
         // navigation: {
         //    clickable: true,

         //    prevEl: ".hero-slider__prev",
         //    nextEl: ".hero-slider__next",
         // },
         pagination: {
            el: ".slider-pagination",
            clickable: true,
         },
         loop: true,
         slidesPerView: 1,
         spaceBetween: 20,
      },
   },
];

export { sliders };
