PageSourceSearch

https://www.standard-advisory.com/assets/controllers/general_searc…078d1d35c5cf301480eda83315e60eb6eff5fe97.js

js standard-advisory.com collected 2026-10-09 22:36:29 UTC 543 bytes, 27 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2
3export default class extends Controller {
4  static targets = ["url", "input"]
5
6  search() {
7    this._debounceSubmit("form_search")
8  }
9
10  search_navbar() {
11    this._debounceSubmit("form_search_2")
12  }
13
14  search_module() {
15    this._debounceSubmit("form_search_module")
16  }
17
18  // Private
19
20  _debounceSubmit(formId) {
21    clearTimeout(this.timeout)
22    this.timeout = setTimeout(() => {
23      const form = document.getElementById(formId)
24      if (form) form.requestSubmit()
25    }, 300)
26  }
27};

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.