PageSourceSearch

https://autohaussued.gmbh/hubfs/hub_generated/module_assets/1/4336…/module_CLEAN_Pro_-_FAQ_Accordion.min.js

js autohaussued.gmbh collected 2026-10-09 23:10:59 UTC 2,915 bytes, 2 lines download raw bytes

1var module_433680166084=void function(){"use strict";function initRoot(root){if("true"!==root.getAttribute("data-cp-faq-init")){root.setAttribute("data-cp-faq-init","true");var groups=root.querySelectorAll("[data-cp-faq-group]");Array.prototype.forEach.call(groups,function(group){var allowMultiple="true"===group.getAttribute("data-allow-multiple"),triggers=Array.prototype.slice.call(group.querySelectorAll(".cp-faq__trigger"));function setState(trigger,open){var panel=document.getElementById(trigger.getAttribute("aria-controls"));if(panel)if(trigger.setAttribute("aria-expanded",open?"true":"false"),open)panel.hidden=!1,window.requestAnimationFrame(function(){group.parentNode&&group.offsetHeight,panel.setAttribute("data-open","true")});else if(panel.removeAttribute("data-open"),window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)panel.hidden=!0;else{var done=function(e){"grid-template-rows"===e.propertyName&&("false"===trigger.getAttribute("aria-expanded")&&(panel.hidden=!0),panel.removeEventListener("transitionend",done))};panel.addEventListener("transitionend",done)}}triggers.forEach(function(trigger,index){trigger.addEventListener("click",function(){!function(trigger){var isOpen="true"===trigger.getAttribute("aria-expanded");allowMultiple||isOpen||triggers.forEach(function(t){t!==trigger&&"true"===t.getAttribute("aria-expanded")&&setState(t,!1)}),setState(trigger,!isOpen)}(trigger)}),trigger.addEventListener("keydown",function(e){var next,key=e.key;"ArrowDown"===key?next=triggers[index+1]||triggers[0]:"ArrowUp"===key?next=triggers[index-1]||triggers[triggers.length-1]:"Home"===key?next=triggers[0]:"End"===key&&(next=triggers[triggers.length-1]),next&&(e.preventDefault(),next.focus())})})}),openFromHash(root)}}function openFromHash(root){var hash=window.location.hash.replace("#","");if(hash){var target=root.querySelector('[id="'+cssEscape(hash)+'"]');if(target){var trigger=target.classList&&target.classList.contains("cp-faq__trigger")?target:root.querySelector('[aria-controls="'+cssEscape(hash)+'"]');trigger&&("true"!==trigger.getAttribute("aria-expanded")&&trigger.click(),window.requestAnimationFrame(function(){trigger.focus(),trigger.scrollIntoView({block:"start",behavior:"smooth"})}))}}}function cssEscape(value){return window.CSS&&window.CSS.escape?window.CSS.escape(value):value.replace(/["\\\]]/g,"\\$&")}function initAll(){var roots=document.querySelectorAll("[data-cp-faq]");Array.prototype.forEach.call(roots,initRoot)}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",initAll):initAll(),window.addEventListener("hashchange",function(){var roots=document.querySelectorAll("[data-cp-faq]");Array.prototype.forEach.call(roots,openFromHash)})}();
2//# sourceURL=https://3284057.fs1.hubspotusercontent-eu1.net/hubfs/3284057/hub_generated/module_assets/1/433680166084/1790666965593/module_CLEAN_Pro_-_FAQ_Accordion.js

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.