PageSourceSearch

https://www.carwow.co.uk/assets/controllers/buying/car_discovery/brands_controller-307a277c.js

js carwow.co.uk collected 2026-09-24 09:10:04 UTC 410 bytes, 15 lines download raw bytes

1import { Controller } from '@hotwired/stimulus'
2
3export default class extends Controller {
4  toggleCheckboxes (event) {
5    if (event.target.value === 'any') {
6      document.getElementsByClassName('switch-input').forEach(function (el) {
7        if (el.value !== 'any') {
8          el.checked = false
9        }
10      })
11    } else {
12      document.querySelector('input[value=any]').checked = false
13    }
14  }
15}

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.