PageSourceSearch

https://www.gospelpatrons.org/wp-content/themes/gospel/js/template-masterclass-03-2025.js?ver=v1748563757

js gospelpatrons.org collected 2026-10-06 13:04:11 UTC 4,106 bytes, 125 lines download raw bytes

1jQuery(function () {
2  const initSliders = (() => {
3    const instructorSliders = Array.from(document.querySelectorAll('.swiper--photos'));
4    instructorSliders.forEach(slider => {
5      new Swiper(slider, {
6        slidesPerView: 'auto',
7        spaceBetween: 16,
8        slidesOffsetBefore: 16,
9        slidesOffsetAfter: 16,
10        breakpoints: {
11          801: {
12            spaceBetween: 32,
13            slidesOffsetBefore: 0,
14            slidesOffsetAfter: 0,
15          },
16        },
17        pagination: {
18          el: '.swiper-pagination',
19        }
20      });
21    });
22
23    const swiperTestimonialsPrev = document.querySelector('.Testimonials .swiper-prev');
24    const swiperTestimonialsNext = document.querySelector('.Testimonials .swiper-next');
25    const swiperTestimonialsPagination = document.querySelector('.Testimonials .swiper-pagination');
26    new Swiper('.swiper--testimonials', {
27      slidesPerView: 1,
28      slidesPerGroup: 1,
29      loop: true,
30      allowTouchMove: false,
31      spaceBetween: 0,
32      speed: 0,
33      breakpoints: {
34        801: {
35          grid: {
36            rows: 1,
37          },
38          slidesPerView: 2,
39          slidesPerGroup: 2,
40          simulateTouch: false,
41        },
42      },
43      navigation: {
44        nextEl: swiperTestimonialsNext,
45        prevEl: swiperTestimonialsPrev
46      }
47    });
48
49    // const swiperGuestsPrev = document.querySelector('.Guests .swiper-prev');
50    // const swiperGuestsNext = document.querySelector('.Guests .swiper-next');
51    // new Swiper('.swiper--guests', {
52    //   slidesPerView: 'auto',
53    //   spaceBetween: 32,
54    //   loop: true,
55    //   centeredSlides: true,
56    //   autoplay: {
57    //     delay: 3000,
58    //     disableOnInteraction: false,
59    //     pauseOnMouseEnter: true,
60    //   },
61    //   navigation: {
62    //     nextEl: swiperGuestsNext,
63    //     prevEl: swiperGuestsPrev
64    //   }
65    // });
66  })();
67
68  // const dropdowns = (() => {
69  //   const dropdownTriggers = Array.from(document.querySelectorAll('[data-toggle="dropdown"]'));
70    
71  //   const handleDropdown = (e) => {
72  //     const target = e.currentTarget;
73  //     const parent = target.closest('.dropdown');
74  //     const toggle = parent?.querySelector('.dropdown-menu');
75  //     if (toggle) {
76  //       jQuery(toggle).stop().slideToggle(250);
77  //       target.getAttribute('aria-expanded') == 'true' ? target.setAttribute('aria-expanded', false) : target.setAttribute('aria-expanded', true);
78  //     }
79  //   }
80    
81  //   dropdownTriggers.forEach(trigger => trigger.addEventListener('click', handleDropdown));
82  // })();
83
84  // const handleLightboxWrapper = (() => {
85  //   const triggers = Array.from(document.querySelectorAll(".lightbox-trigger"));
86  //   const root = document.querySelector("#video-lightbox");
87  //   const videoWrapper = root.querySelector(".responsive-iframe");
88  
89  //   triggers.forEach((trigger) => {
90  //     trigger.addEventListener("click", (e) => {
91  //       e.preventDefault();
92  //       const html = `<iframe src="https://player.vimeo.com/video/${trigger.dataset.video}?&title=0&byline=0&portrait=0&autoplay=1" width="640" height="268" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe>`;
93  //       videoWrapper.innerHTML = html;
94  //       root.classList.add("show");
95  //     });
96  //   });
97  
98  //   root.addEventListener("click", (e) => {
99  //     videoWrapper.innerHTML = "";
100  //     root.classList.remove("show");
101  //   });
102  // })();
103
104  // const handleRedirection = () => {
105  //   if (window.location.hash === '#trailer') {
106  //     const target = document.querySelector('#overview');
107  //     const trigger = target.querySelector('.dropdown-trigger');
108      
109  //     if (target) {
110  //       if( trigger ){
111  //         const content = trigger.nextElementSibling;
112  //         const lightboxButton = content.querySelector('.lightbox-trigger');
113  //         trigger.click();
114
115  //         if( lightboxButton ){
116  //           lightboxButton.click()
117  //         }
118  //       }
119  //     }
120  //   }
121  // };
122  
123
124  // handleRedirection()
vendor: 3 bytes, line 125
125});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.