PageSourceSearch

https://www.swissperform.ch/wp-content/cache/min/1/wp-content/them…/js/accordion.js?ver=1790766114

js swissperform.ch collected 2026-10-02 10:26:21 UTC 1,334 bytes, 2 lines download raw bytes

1jQuery(document).ready(function($){if(window.location.hash){if($(window.location.hash+'.accordion').length){var $speed=350;var $this=$(window.location.hash);var $target=$($this.find('.js-accordion_trigger').data('target'));setTimeout(function(){$this.find('.js-accordion_trigger').attr('aria-expanded','true');$this.closest('.accordion').addClass('accordion--active');$target.addClass('show').slideDown($speed)},600)}}});jQuery(document).on('click','.js-accordion_trigger',function(){var $speed=350;var $this=jQuery(this);var $target=jQuery($this.data('target'));if($target.hasClass('show')){$target.removeClass('show').slideUp($speed);$this.attr('aria-expanded','false');$this.closest('.accordion').removeClass('accordion--active')}else{if(jQuery('.accordion__content.show')[0]){jQuery('.accordion__content').removeClass('show').slideUp($speed);jQuery('.accordion__header div').attr('aria-expanded','false');jQuery('.accordion').removeClass('accordion--active');setTimeout(function(){activeAccordion()},400)}else{activeAccordion()}}
2function activeAccordion(){$target.addClass('show').slideDown($speed);$this.attr('aria-expanded','true');$this.closest('.accordion').addClass('accordion--active');if(window.matchMedia('(max-width: 767px)').matches){var position=$this.offset().top;$('body, html').animate({scrollTop:position},600)}}})

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.