PageSourceSearch

https://hush.sg/assets/controllers/batch_preview_controller-2b6c5c29.js

js hush.sg collected 2026-09-26 07:29:34 UTC 469 bytes, 17 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2
3export default class extends Controller {
4  static targets = ["content", "icon", "label"]
5
6  toggle() {
7    const isHidden = this.contentTarget.classList.toggle("hidden")
8
9    if (isHidden) {
10      this.iconTarget.classList.remove("rotate-90")
11      this.labelTarget.textContent = "View orders"
12    } else {
13      this.iconTarget.classList.add("rotate-90")
14      this.labelTarget.textContent = "Hide orders"
15    }
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.