PageSourceSearch

https://plataforma.edossie.com.br/assets/controllers/character_cou…e5114bcb0c2ffad2ee3b15ef2d4c6f269e49e23c.js

js edossie.com.br collected 2026-10-04 22:31:19 UTC 672 bytes, 1 lines download raw bytes

1import{Controller}from"@hotwired/stimulus";export default class extends Controller{static targets=["input","counter"];connect(){this.inputTargets.forEach(((t,e)=>{if(this.hasCounterTarget){const n=this.counterTargets[e];n&&(n.textContent=t.value.length,t.addEventListener("input",(()=>{n.textContent=t.value.length;const e=parseInt(t.dataset.maxLength||t.maxLength);e&&t.value.length>=.9*e?n.classList.add("text-warning"):n.classList.remove("text-warning"),e&&t.value.length>=e?(n.classList.add("text-danger"),n.classList.remove("text-warning")):n.classList.remove("text-danger")})))}}))}disconnect(){this.inputTargets.forEach((t=>{t.removeEventListener("input",null)}))}}

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.