PageSourceSearch

https://btwb.com/assets/controllers/plan/cycle_plan_form_controlle…142028502c69e74f6e21cef24f4dbd4c3702a2cd.js

js btwb.com collected 2026-10-02 15:06:35 UTC 626 bytes, 1 lines download raw bytes

1import{Controller}from"@hotwired/stimulus";export default class extends Controller{static targets=["submit","trackType","gymTrack","memberTrack","day","startDate"];connect(){this.refresh()}refresh(){this.submitTarget.disabled=!(this.hasTrack()&&this.hasDay()&&this.hasStartDate())}hasTrack(){const t=this.trackTypeTargets.find(t=>t.checked)?.value;return"member"===t?this.hasMemberTrackTarget&&Boolean(this.memberTrackTarget.value):this.hasGymTrackTarget&&Boolean(this.gymTrackTarget.value)}hasDay(){return this.dayTargets.some(t=>t.checked)}hasStartDate(){return this.hasStartDateTarget&&Boolean(this.startDateTarget.value)}}

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.