PageSourceSearch

https://kasagadi.ai/assets/controllers/dismiss_controller-34ca82a0.js

js kasagadi.ai collected 2026-10-05 12:58:37 UTC 388 bytes, 17 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2
3export default class extends Controller {
4  close() {
5    this.element.classList.add("opacity-0", "translate-y-[-4px]")
6    setTimeout(() => this.element.remove(), 200)
7  }
8
9  connect() {
10    // Auto-dismiss after 6 seconds
11    this.timeout = setTimeout(() => this.close(), 6000)
12  }
13
14  disconnect() {
15    clearTimeout(this.timeout)
16  }
17}

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.