PageSourceSearch

https://www.gesundheitsgmbh.de/app/cache/autoptimize/js/autoptimize_single_77c85b5d01a2d30fb1474629fe48fde5.js

js gesundheitsgmbh.de collected 2026-09-24 10:01:01 UTC 5,491 bytes, 23 lines download raw bytes

1(function(jQuery){var INFO_SLIDER_BREAKPOINT=834;jQuery(function($){var $window=$(window);var $newsSliders=$(".ghd-news-slides");var $infoSliders=$(".ghd-info-slides");if(window.elementorFrontend&&window.elementorFrontend.hooks){window.elementorFrontend.hooks.addAction("frontend/element_ready/widget",function($scope){if($scope.hasClass("elementor-widget-ghd-slider")){$window=$(window);$newsSliders=$(".ghd-news-slides");$infoSliders=$(".ghd-info-slides");init_sliders();}},);}
2$window.on("elementor/frontend/init",function(){init_sliders();}).on("resize",function(){if($infoSliders.length>0){if($window.width()>=INFO_SLIDER_BREAKPOINT){$infoSliders.each(function(){var $slider=$(this);var swiper=$slider.data("swiper");if(swiper&&swiper.destroy){swiper.destroy();}
3$(this).removeData("swiper");$slider.find(".ghd-slider").removeClass("swiper-container");$slider.find(".swiper-pagination").remove();$slider.find(".ghd-slider__slides").removeClass("swiper-wrapper");$slider.find(".slider__slide").removeClass("swiper-slide");});}else{$infoSliders.each(function(){if(!$(this).data("swiper")){init_slider_info($(this));}});}}});function update_max_height($slider){var $columns=$slider.find(".slider__slide-content");var maxHeight=Math.max.apply(Math,$columns.map(function(){return $(this).outerHeight();}).get(),);if($slider.hasClass("ghd-news-slides")){maxHeight+=38;}
4$columns.css("min-height",maxHeight+"px");}
5function init_sliders(){$newsSliders.each(function(){var $slider=$(this);if(!$slider.data("init")){$slider.data("init",true);let slides_to_show;try{slides_to_show=$slider.closest(".ghd-slide-ghd-news-slides").css("--ghd-slides-per-row");}catch(e){slides_to_show="default";}
6init_slider_news($slider,slides_to_show);update_max_height($slider);}});$infoSliders.each(function(){var $slider=$(this);if(!$slider.data("init")){$slider.data("init",true);if($(window).width()<INFO_SLIDER_BREAKPOINT){init_slider_info($slider);}
7update_max_height($slider);}});}
8function build_numbered_pagination_config($paginationEl){return{el:$paginationEl,type:"custom",renderCustom:function(swiper,current,total){var WINDOW=2;var items=[];items.push('<button class="ghd-pagination-prev" data-dir="prev" aria-label="Zurück">\u2190 Zur\u00fcck</button>',);for(var i=1;i<=total;i++){if(i===1||i===total||(i>=current-WINDOW&&i<=current+WINDOW)){items.push('<button class="ghd-pagination-num'+
9(i===current?" ghd-pagination-active":"")+'" data-page="'+
10i+'">'+
11i+"</button>",);}else if((i===current-WINDOW-1&&i>1)||(i===current+WINDOW+1&&i<total)){items.push('<span class="ghd-pagination-ellipsis">\u2026</span>');}}
12items.push('<button class="ghd-pagination-next" data-dir="next" aria-label="Vor">Vor \u2192</button>',);return items.join("");},clickable:false,};}
13function bind_numbered_pagination($container,swiper){$container.on("click",".ghd-pagination-num",function(){swiper.slideTo(parseInt($(this).data("page"),10)-1);});$container.on("click",".ghd-pagination-prev",function(){swiper.slidePrev();});$container.on("click",".ghd-pagination-next",function(){swiper.slideNext();});}
14function get_pagination_style($slider){return($slider.closest("[data-pagination-style]").data("pagination-style")||"bullets");}
15function make_pagination_config(paginationStyle,paginationEl){if(paginationStyle==="numbered"){return build_numbered_pagination_config(paginationEl);}
16return{el:paginationEl,type:"bullets",clickable:true,};}
17function init_slider_info($slider){$slider.find(".ghd-slider").addClass("swiper-container").append('<div class="swiper-pagination"></div>');$slider.find(".ghd-slider__slides").addClass("swiper-wrapper");$slider.find(".slider__slide").addClass("swiper-slide");var paginationStyle=get_pagination_style($slider);var $container=$slider.find(".ghd-slider.swiper-container");var paginationEl=$container.find(".swiper-pagination")[0];if(paginationStyle==="numbered"){$container.addClass("ghd-pagination-numbered");}
18let swiper=new Swiper($container[0],{direction:"horizontal",initialSlide:0,pagination:make_pagination_config(paginationStyle,paginationEl),});if(paginationStyle==="numbered"){bind_numbered_pagination($container,swiper);}
19$slider.data("swiper",swiper);}
20function init_slider_news($slider,$slides_to_show){if($slider.find(".slider__slide").length>1){$slider.find(".ghd-slider").addClass("swiper-container").append('<div class="swiper-pagination"></div>');$slider.find(".ghd-slider__slides").addClass("swiper-wrapper");$slider.find(".slider__slide").addClass("swiper-slide");let slider_per_view=4;if($slides_to_show!="default"){slider_per_view=$slides_to_show;}
21var paginationStyle=get_pagination_style($slider);var $container=$slider.find(".ghd-slider.swiper-container");var paginationEl=$container.find(".swiper-pagination")[0];if(paginationStyle==="numbered"){$container.addClass("ghd-pagination-numbered");}
22let swiper=new Swiper($container[0],{direction:"horizontal",breakpoints:{0:{spaceBetween:10,slidesPerView:1.04,width:380,},500:{spaceBetween:10,slidesPerView:1.04,width:480,},734:{spaceBetween:10,slidesPerView:1.5,width:710,},834:{spaceBetween:10,slidesPerView:2.3,width:810,},1024:{spaceBetween:10,slidesPerView:2.4,width:1000,},1200:{spaceBetween:10,slidesPerView:slider_per_view-1,width:1150,},1440:{spaceBetween:10,slidesPerView:slider_per_view,width:1430,},},pagination:make_pagination_config(paginationStyle,paginationEl),});if(paginationStyle==="numbered"){bind_numbered_pagination($container,swiper);}
23$slider.data("swiper",swiper);}}});})(window.jQuery);

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.