PageSourceSearch

https://www.carwow.co.uk/assets/controllers/quick_replies_controller-a1aa916a.js

js carwow.co.uk collected 2026-09-24 09:12:02 UTC 505 bytes, 22 lines download raw bytes

1import { Controller } from '@hotwired/stimulus'
2
3export default class extends Controller {
4  static values = {
5    message: String,
6    autoOpenModal: String
7  }
8
9  onClick (_e) {
10    if (this.autoOpenModalValue) {
11      setTimeout(() => {
12        const modal = document.getElementById(this.autoOpenModalValue)
13        if (modal) {
14          modal.setAttribute('open', true)
15        }
16      }, 1000)
17    }
18
19    const message = this.messageValue
20    this.dispatch('onClick', { detail: { message } })
21  }
22}

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.