PageSourceSearch

https://www.uwe.ac.uk/assets/js/components/courses-search-filters.44DJjkCH.js

js uwe.ac.uk collected 2026-10-01 08:41:02 UTC 515 bytes, 1 lines download raw bytes

1function f(n){if(!n)return;const l=[...n.querySelectorAll(".subject-area-filter-option")],r=n.querySelector("#subject-area-filter-close-btn");if(!l.length||!r)return;const u=s();function s(){return l.filter(e=>e.checked).map(e=>e.value).sort()}function a(e,t){return e.length!==t.length?!1:e.every((o,i)=>o===t[i])}function c(){const e=s(),t=!a(u,e);r.textContent=t?"Apply":"Close",r.classList.toggle("is-apply",t)}l.forEach(e=>{e.addEventListener("change",c)}),c()}const d={init:f};export{d as default,f as init};

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.