PageSourceSearch

https://socialbrothers.nl/wp-content/themes/socialbrothers/dist/5ec5c50cbb30327b742d.js

js socialbrothers.nl collected 2026-09-29 12:19:00 UTC 3,404 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksocialbrothers=self.webpackChunksocialbrothers||[]).push([[660,38,655],{3660:(t,e,i)=>{i.r(e),i.d(e,{default:()=>a});var s=i(5038);const a=t=>new s.default(t)},5038:(t,e,i)=>{i.r(e),i.d(e,{default:()=>a});var s=i(1655);const a=class{constructor(t){this.accordion=t,this.openOnIntersect=!1,this.title=this.accordion.querySelector(".accordion__title"),this.openOnIntersect=this.getScrollInteraction,this.expanded=this.getAriaExpanded,this.startOpened=this.getStartOpened,this.activeClass="active",this.resizeTimer=null,this.startOpened?(this.titleHeight=this.title.clientHeight,this.compStyles=window.getComputedStyle(this.accordion),this.paddingTop=this.compStyles.getPropertyValue("padding-top").replace("px",""),this.paddingBottom=this.compStyles.getPropertyValue("padding-bottom").replace("px",""),this.paddingY=+this.paddingTop+ +this.paddingBottom,this.titleHeight+=this.paddingY,this.accordion.style.maxHeight=`${this.accordion.scrollHeight}px`):this.calculateSizes(),this.title.addEventListener("click",(t=>this.handleInteraction(t))),this.title.addEventListener("keyup",(t=>this.handleInteraction(t))),window.addEventListener("resize",(()=>this.calculateSizes()),{passive:!0}),this.openOnIntersect&&s.default.getInstance().attachScrollObserver(this.accordion,(()=>this.toggleAccordion()))}get getScrollInteraction(){return"true"===this.accordion.getAttribute("data-scroll-interaction")}get getAriaExpanded(){return this.accordion.getAttribute("aria-expanded")}get getStartOpened(){return"true"===this.accordion.getAttribute("data-start-opened")}set setAriaExpanded(t){this.accordion.setAttribute("aria-expanded",t)}toggleExpanded(){const t="true"===this.expanded?"false":"true";this.setAriaExpanded=t}handleInteraction(t){"code"in t&&"Enter"!==t.code||(this.toggleAccordion(),this.toggleExpanded())}toggleAccordion(){this.accordion.classList.contains(this.activeClass)?this.accordion.style.maxHeight=`${this.titleHeight}px`:this.accordion.style.maxHeight=`${this.accordion.scrollHeight}px`,this.accordion.classList.toggle(this.activeClass)}calculateSizes(){cancelAnimationFrame(this.resizeTimer),this.resizeTimer=requestAnimationFrame((()=>{this.accordion.classList.contains(this.activeClass)||(this.accordion.classList.remove("animate"),this.accordion.classList.remove("active"),this.accordion.style.maxHeight=null,this.accordionHeight=this.accordion.clientHeight,this.titleHeight=this.title.clientHeight,this.compStyles=window.getComputedStyle(this.accordion),this.paddingTop=this.compStyles.getPropertyValue("padding-top").replace("px",""),this.paddingBottom=this.compStyles.getPropertyValue("padding-bottom").replace("px",""),this.paddingY=+this.paddingTop+ +this.paddingBottom,this.titleHeight+=this.paddingY,this.accordion.style.maxHeight=`${this.titleHeight}px`,this.accordion.classList.add("animate"))}))}}},1655:(t,e,i)=>{i.r(e),i.d(e,{default:()=>a});class s{constructor(){this.listeners=[],this.observer=new IntersectionObserver(((t,e)=>{t.forEach((t=>{const{callback:i}=this.listeners.find((({element:e})=>e.isEqualNode(t.target)));t.isIntersecting&&(i(),e.unobserve(t.target))}))}),{rootMargin:"-45% 0% -45% 0%"})}static getInstance(){return s.instance||(s.instance=new s),s.instance}attachScrollObserver(t,e){const i={element:t,callback:e};this.listeners.push(i),this.observer.observe(t)}}const a=s}}]);
2//# sourceMappingURL=5ec5c50cbb30327b742d.js.map

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.