PageSourceSearch

https://www.visitleiden.nl/build/5937.a6650a173f9992efb8ac.bundle.js

js visitleiden.nl collected 2026-10-02 07:05:39 UTC 967 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkkunstmaan_edition=self.webpackChunkkunstmaan_edition||[]).push([[5937],{5937:(t,e,a)=>{a.d(e,{default:()=>i});var s=a(2891);const i=class extends s.xI{static targets=["item"];static values={keepOpen:Boolean,activeClass:{type:String,default:"active"}};toggle(t){const e=t.currentTarget,a=e.dataset.toggleGroupTargetId;let s=null;if(s=a?this.itemTargets.find(t=>t.id===a):e.closest('[data-toggle-group-target="item"]'),!s)return;const i=s.classList.contains(this.activeClassValue);if(this.keepOpenValue)return s.classList.toggle(this.activeClassValue),void(e.matches("[aria-expanded][aria-controls]:not([aria-haspopup])")&&e.setAttribute("aria-expanded",i?"false":"true"));this.itemTargets.forEach(t=>{const e=t===s&&!i,a=this.element.querySelector(`button[data-toggle-group-target-id="${t.id}"][aria-expanded][aria-controls]:not([aria-haspopup])`);t.classList.toggle(this.activeClassValue,e),a&&a.setAttribute("aria-expanded",e)})}}}}]);

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.