PageSourceSearch

https://sciencecast.org/assets/controllers/message_form_controller…6050349dc37c748bf1d34136fb35b99faabcd93e.js

js sciencecast.org collected 2026-09-24 09:23:32 UTC 402 bytes, 18 lines download raw bytes

1import { Controller } from '@hotwired/stimulus';
2
3export default class extends Controller {
4  static targets = [
5    'addButton',
6    'formContainer'
7  ]
8
9  show() {
10    this.addButtonTarget.style.display = 'none';
11    this.formContainerTarget.style.display = 'block';
12  }
13
14  hide() {
15    this.addButtonTarget.style.display = 'inline-block';
16    this.formContainerTarget.style.display = 'none';
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.