PageSourceSearch

https://www.puntacanatransfer.com.do/assets/controllers/home_settings_controller-9b513d3b.js

js puntacanatransfer.com.do collected 2026-09-30 12:49:06 UTC 590 bytes, 23 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2
3// Connects to data-controller="home-settings"
4export default class extends Controller {
5  static targets = ["featured", "panel", "homeInput"]
6
7  connect() {
8    this.toggle()
9  }
10
11  toggle() {
12    const enabled = this.hasFeaturedTarget && this.featuredTarget.checked
13
14    if (this.hasPanelTarget) {
15      this.panelTarget.classList.toggle("hidden", !enabled)
16    }
17
18    if (this.hasHomeInputTarget) {
19      // enable/disable the file input so it won't be submitted when not active
20      this.homeInputTarget.disabled = !enabled
21    }
22  }
23}

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.