PageSourceSearch

https://www.autopartner24.de/js-static/de/frontend/resources/js/home.js?v=4.26.40.2&p=8

js autopartner24.de collected 2026-10-08 00:03:39 UTC 1,744 bytes, 51 lines download raw bytes

1$(document).ready(function($) {
2		let swiperAutoplay = parseInt($('#home-main-slider').data('autoplay')) === 1 ? true : false;
3	let swiperSpeed = false;
4	if (swiperAutoplay) {
5		swiperSpeed = {
6			delay: $('#home-main-slider').data('speed') ? parseInt($('#home-main-slider').data('speed')) : 5000
7		};
8	}
9	var swiperHomeMain = new Swiper('#home-main-slider', {
10		navigation: {
11			nextEl: '#main-slider .button-next',
12			prevEl: '#main-slider .button-prev',
13		},
14		loop: true,
15		autoplay: swiperSpeed,
16		paginationClickable: true,
17		pagination: {
18			el: '.main-slider-pagination',
19			clickable: true
20		},
21		speed: 600
22	});
23	$('#home-main-slider').hover(function () {
24		swiperHomeMain.autoplay.stop();
25	}, function () {
26		if (swiperAutoplay){
27			swiperHomeMain.autoplay.start();
28		}
29	});
30		var swiperCarManufacturer = new Swiper('#car-manufacturer-slider-inner', {
31        navigation: {
32            nextEl: '#car-manufacturer-slider .button-next',
33            prevEl: '#car-manufacturer-slider .button-prev',
34        },
35        loop: true,
36        slidesPerView: 6,
37        autoplay: false,
38        paginationClickable: true,
39        speed: 600
40    });
41    $(window).resize(function(){
42        var ww = $(window).width()
43        if (ww >= 1630) swiperCarManufacturer.params.slidesPerView = 6;
44        if (ww >= 1200 && ww < 1630) swiperCarManufacturer.params.slidesPerView = 5;
45        if (ww >= 840 && ww < 1200) swiperCarManufacturer.params.slidesPerView = 3;
46        if (ww >= 544 && ww < 840) swiperCarManufacturer.params.slidesPerView = 3;
47        if (ww < 544) swiperCarManufacturer.params.slidesPerView = 2;
48       swiperCarManufacturer.update()
49    })
50	$(window).trigger('resize');
51	});

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.