PageSourceSearch

https://healthylifenetwork.com.au/assets/controllers/brand-kit-form_controller-3HuaEfU.js

js healthylifenetwork.com.au collected 2026-09-25 03:34:24 UTC 562 bytes, 18 lines download raw bytes

1import { Controller } from '@hotwired/stimulus';
2
3/**
4 * Reveals the lower-thirds field block when the toggle is on.
5 * Wired via data-controller="brand-kit-form" on the form.
6 */
7export default class extends Controller {
8    static targets = ['lowerThirdsSection'];
9
10    toggleLowerThirds(event) {
11        if (!this.hasLowerThirdsSectionTarget) return;
12        if (event.target.checked) {
13            this.lowerThirdsSectionTarget.classList.remove('hidden');
14        } else {
15            this.lowerThirdsSectionTarget.classList.add('hidden');
16        }
17    }
18}

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.