PageSourceSearch

https://becdigitalstudio.com/wp-content/plugins/rometheme-for-elem…/assets/js/card_slider.js?ver=2.1.2

js becdigitalstudio.com collected 2026-10-06 20:36:42 UTC 1,800 bytes, 61 lines download raw bytes

1jQuery(window).on("elementor/frontend/init", function () {
2  elementorFrontend.hooks.addAction(
3    "frontend/element_ready/rkit-card-slider.default",
4    function ($scope, $) {
5      const slider = $scope.find(".rkit-card-slider");
6      var config = slider.data("config");
7
8      // console.log(config.initial_slide);
9
10      var conf = {
11        rtl: config.rtl,
12        arrows: config.arrows,
13        dots: config.dots,
14        autoplay: config.autoplay
15          ? {
16              delay: 3000,
17              disableOnInteraction: false,
18              pauseOnMouseEnter: config.pauseOnHover,
19            }
20          : false,
21        loop: config.loop,
22        speed: config.speed,
23        slidesPerView: config.slidesPerView,
24        slidesPerGroup: config.slidesPerGroup,
25        breakpoints: config.breakpoints,
26        grabCursor: true,
27        initialSlide: config.initial_slide == null ? 0 : config.initial_slide,
28      };
29
30      var pagination = {
31        pagination: {
32          enabled: config.dots,
33          el: ".rkit-cardslider-pagination",
34          type: "bullets",
35          clickable: true,
36          bulletClass: "rkit-cardslider-bullet",
37          bulletActiveClass: "rkit-cardslider-bullet-active",
38          clickableClass: "rkit-cardslider-bullet-clickable",
39        },
40      };
41
42      var navigation = {
43        navigation: {
44          enabled: config.arrows,
45          nextEl: ".rkit-swiper-button-next",
46          prevEl: ".rkit-swiper-button-prev",
47        },
48      };
49
50      var dataConfig = { ...conf, ...pagination, ...navigation };
51
52      let container = $scope.find(".rkit-swiper");
53      const swiper = new Swiper(container[0], dataConfig);
54
55      swiper.on("resize", function (e) {
56        e.pagination.init();
57        e.navigation.init();
58      });
59    }
60  );
61});

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.