PageSourceSearch

https://skoven-i-skolen.dk/sites/skoven-i-skolen.dk/themes/custom/sis/dist/components/js/select.js?v=10.5.10

js skoven-i-skolen.dk collected 2026-10-02 11:20:02 UTC 1,420 bytes, 1 lines download raw bytes

1Drupal.behaviors.premiumFormSelect={attach(e,t){!function(e){if(e.length>0)for(let t=0;t<e.length;t+=1){const n=e[t],s=n.firstElementChild,l=n.lastElementChild,i=n.previousElementSibling;let d=i.parentNode.parentNode;if(d.classList.contains("fieldset-wrapper")&&(d=i.parentNode),d.classList.contains("layout-builder-configure-section"))n.remove();else if(n.classList.add("loaded"),s&&s.addEventListener("click",e=>{e.preventDefault();const t=document.querySelectorAll(".premium-dropdown--wrapper.loaded");let n=4;for(let e=0;e<t.length;e+=1){const n=t[e].previousElementSibling;let s=n.parentNode.parentNode;s.classList.contains("fieldset-wrapper")&&(s=n.parentNode),s.style.zIndex=4}s.classList.contains("is-selected")?(s.classList.remove("is-selected"),l.classList.remove("expanded")):(s.classList.add("is-selected"),l.classList.add("expanded"),n+=1,d.style.zIndex=n)}),l)for(let e=0;e<l.children.length;e+=1)l.children[e].addEventListener("click",t=>{t.preventDefault();for(let t=0;t<i.children.length;t+=1)if(i.children[t].value===l.children[e].dataset.id)if(i.options[t].selected=!0,"createEvent"in document){const e=document.createEvent("HTMLEvents");e.initEvent("change",!1,!0),i.dispatchEvent(e)}else i.fireEvent("onchange");s.classList.remove("is-selected"),l.classList.remove("expanded"),s.querySelector("span").innerText=l.children[e].text})}}(e.querySelectorAll(".premium-dropdown--wrapper:not(.loaded)"))}};

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.