PageSourceSearch

https://parklingezegen.nl/wp-content/cache/min/1/wp-content/themes/parklingezegen/js/main.js?ver=1790081820

js parklingezegen.nl collected 2026-09-24 23:19:41 UTC 6,810 bytes, 7 lines download raw bytes

1$(document).ready(function(){AOS.init({once:!0,duration:800,});window.addEventListener('load',function(){AOS.refresh()});$('.instagram-gallery').magnificPopup({delegate:'.instagram-popup-link',type:'inline',gallery:{enabled:!0,},callbacks:{open:function(){const videoElement=$(this.content).find('video')[0];if(videoElement){videoElement.play()}},close:function(){const videoElement=$(this.content).find('video')[0];if(videoElement){videoElement.load()}},beforeChange:function(){const videoElement=$(this.content).find('video')[0];if(videoElement){videoElement.pause()}}}});var headerHeight=$('.navbar').outerHeight()+$('.topbar').outerHeight();var observer=new IntersectionObserver(function(entries){if(entries[0].intersectionRatio===0)
2document.querySelector(".navbar").classList.add("navbar-sticky");else if(entries[0].intersectionRatio===1)
3document.querySelector(".navbar").classList.remove("navbar-sticky")},{threshold:[0,1]});observer.observe(document.querySelector("#navbar-before"));$(".dropdown").hover(function(){$(this).addClass('dropdown-active')},function(){$(this).removeClass('dropdown-active');$('.nav-pills li a').removeClass('active');$('.dropdown-menu .tab-pane').removeClass('active')});$(document).off('click.bs.tab.data-api','[data-bs-hover="tab"]');$(document).on('mouseenter.bs.tab.data-api','[data-bs-toggle="tab"], [data-bs-hover="tab"]',function(){$(this).tab('show')});$('.dropdown-menu').click(function(e){e.stopPropagation()});$('.search-button').click(function(){$('.search-bar').toggleClass('active');$('.menu-overlay').toggleClass('active')});$('.search-close').click(function(){$('.search-bar').toggleClass('active');$('.menu-overlay').toggleClass('active')});$('.menu-overlay').click(function(){$('.search-bar').toggleClass('active');$('.menu-overlay').toggleClass('active')});var swiperHero=new Swiper('.slider-hero',{slidesPerView:1,spaceBetween:0,speed:1800,autoplay:{delay:12000,},loop:!0,effect:"fade",pagination:{el:'.swiper-pagination',type:'bullets',clickable:!0,},});var swiperImages=new Swiper('.slider-images',{slidesPerView:1.1,spaceBetween:8,speed:1100,centeredSlides:!0,loop:!0,navigation:{nextEl:'#slider-images-next',prevEl:'#slider-images-prev',},breakpoints:{576:{slidesPerView:1.2,spaceBetween:17,},992:{spaceBetween:25,}}});var swiperCarousel=new Swiper('.slider-carousel',{slidesPerView:1.2,spaceBetween:20,loop:!0,navigation:{nextEl:'#slider-carousel-next',prevEl:'#slider-carousel-prev',},breakpoints:{768:{slidesPerView:2.5,spaceBetween:25,freeMode:!1,},1200:{slidesPerView:3.5,spaceBetween:30,}}});var swiperAgenda=new Swiper('.slider-agenda',{slidesPerView:1.15,spaceBetween:20,loop:!0,navigation:{nextEl:'#slider-agenda-next',prevEl:'#slider-agenda-prev',},breakpoints:{768:{slidesPerView:1.5,spaceBetween:25,freeMode:!1,},992:{slidesPerView:2.2,spaceBetween:30,},1200:{slidesPerView:3.5,}}});var swiperTipsImage=new Swiper('.slider-tips-image',{slidesPerView:1,spaceBetween:0,speed:500,loop:!0,allowTouchMove:!1,navigation:{nextEl:"#slider-tips-next",prevEl:"#slider-tips-prev",},effect:"fade",breakpoints:{768:{spaceBetween:30,},}});var swiperTips=new Swiper('.slider-tips',{slidesPerView:1.2,spaceBetween:20,speed:500,loop:!0,allowTouchMove:!1,navigation:{nextEl:"#slider-tips-next",prevEl:"#slider-tips-prev",},breakpoints:{768:{spaceBetween:30,},}});var swiperNews=new Swiper('.slider-news',{slidesPerView:1.1,spaceBetween:20,loop:!1,navigation:{nextEl:'#slider-news-next',prevEl:'#slider-news-prev',},breakpoints:{576:{slidesPerView:1.5,},768:{slidesPerView:2,},}});var swiperRelated=new Swiper('.slider-related',{slidesPerView:1.1,spaceBetween:20,loop:!1,navigation:{nextEl:'#slider-related-next',prevEl:'#slider-related-prev',},breakpoints:{576:{slidesPerView:1.5,},768:{slidesPerView:2.5,},992:{slidesPerView:3,}}});var swiperRelatedActivity=new Swiper('.slider-related-activity',{slidesPerView:1.1,spaceBetween:20,loop:!1,navigation:{nextEl:'#slider-activity-next',prevEl:'#slider-activity-prev',},breakpoints:{576:{slidesPerView:1.5,},768:{slidesPerView:2.2,},992:{slidesPerView:2.5,},1200:{slidesPerView:3,}}});var swiperFilter=new Swiper('.slider-filter',{slidesPerView:3,spaceBetween:20,loop:!1,pagination:{el:".swiper-pagination",type:"fraction",},navigation:{nextEl:".filter-btn-next",prevEl:".filter-btn-prev",},watchSlideProgress:!0,breakpoints:{992:{slidesPerView:4,},1200:{slidesPerView:5,},1400:{slidesPerView:6,}}});$('.btn').on('mouseenter',function(e){var parentOffset=$(this).offset(),relX=e.pageX-parentOffset.left,relY=e.pageY-parentOffset.top;$(this).find('span').css({top:relY,left:relX})}).on('mouseout',function(e){var parentOffset=$(this).offset(),relX=e.pageX-parentOffset.left,relY=e.pageY-parentOffset.top;$(this).find('span').css({top:relY,left:relX})});if($('.instagram-gallery').length){$.ajax({url:'/wp-content/themes/parklingezegen/actions/get-instagram-feed.php',method:'GET',success:function(response){$('.instagram-gallery').html(response)},error:function(){console.error('Failed to retrieve Instagram feed.')}})}
4const menuButton=document.querySelector('.navbar-toggler');const menu=document.querySelector('#mainMenu');function isMobileView(){return window.innerWidth<1200}
5function trapFocus(e){if(!isMobileView())return;const focusable=menu.querySelectorAll('a, button');if(focusable.length===0)return;const first=focusable[0];
5const last=focusable[focusable.length-1];if(e.key==='Tab'){if(e.shiftKey){if(document.activeElement===first){e.preventDefault();last.focus()}}else{if(document.activeElement===last){e.preventDefault();first.focus()}}}
6if(e.key==='Escape'){if(menu.classList.contains('show')){menuButton.click()}}}
7menu.addEventListener('keydown',trapFocus);menu.addEventListener('shown.bs.collapse',()=>{if(!isMobileView())return;const firstLink=menu.querySelector('a, button');if(firstLink){firstLink.focus()}});menu.addEventListener('hidden.bs.collapse',()=>{if(isMobileView()){menuButton.focus()}});document.querySelectorAll('[data-bs-toggle="tab"]').forEach(tab=>{tab.addEventListener('shown.bs.tab',(e)=>{const tabPaneId=e.target.getAttribute('href')||e.target.dataset.bsTarget;const tabPane=document.querySelector(tabPaneId);if(tabPane){const firstSubitem=tabPane.querySelector('a');if(firstSubitem)firstSubitem.focus()}})});document.querySelectorAll('[data-bs-toggle="tab"]').forEach(tab=>{tab.addEventListener('shown.bs.tab',(e)=>{const tabPaneId=e.target.getAttribute('href');const tabPane=document.querySelector(tabPaneId);document.querySelectorAll('.tab-pane').forEach(p=>{if(p===tabPane){p.setAttribute('tabindex','0');const firstLink=p.querySelector('a, button');if(firstLink)firstLink.focus()}else{p.setAttribute('tabindex','-1')}});document.querySelectorAll('[role="tab"]').forEach(t=>t.setAttribute('aria-selected','false'));e.target.setAttribute('aria-selected','true')})})})

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.