PageSourceSearch

https://www.contexttravel.com/assets/controllers/admin/tasks/searc…e3ef288bfc01ec9fddc93ca5d79b3f88da9d9c4b.js

js contexttravel.com collected 2026-10-02 21:25:05 UTC 461 bytes, 1 lines download raw bytes

1import{Controller}from"@hotwired/stimulus";export default class extends Controller{static get targets(){return["simple","detailed","form"]}resetFilters(e){e.preventDefault();const t=this.formTargets,r=new CustomEvent("reset-filters");t.forEach(e=>{const t=e.getElementsByClassName("form-control"),r=e.getElementsByTagName("input");Array.from(t).forEach(e=>{e.value=""}),Array.from(r).forEach(e=>{"checkbox"===e.type&&(e.checked=!1)})}),window.dispatchEvent(r)}}

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.