PageSourceSearch

https://vale.sh/_app/immutable/chunks/input.By5B6rw4.js

js vale.sh collected 2026-09-25 18:42:47 UTC 819 bytes, 1 lines download raw bytes

1import{m as k,k as n,C as s,w as u}from"./runtime.vEvs2zhv.js";import{c as _}from"./props.CdrK0jyI.js";function t(e,a,v=a){var c=k();_(e,"input",l=>{var r=l?e.defaultValue:e.value;if(r=f(e)?d(r):r,v(r),c&&r!==(r=a())){var h=e.selectionStart,o=e.selectionEnd;e.value=r??"",o!==null&&(e.selectionStart=h,e.selectionEnd=Math.min(o,e.value.length))}}),(u&&e.defaultValue!==e.value||n(a)==null&&e.value)&&v(f(e)?d(e.value):e.value),s(()=>{var l=a();f(e)&&l===d(e.value)||e.type==="date"&&!l&&!e.value||l!==e.value&&(e.value=l??"")})}function y(e,a,v=a){_(e,"change",c=>{var l=c?e.defaultChecked:e.checked;v(l)}),(u&&e.defaultChecked!==e.checked||n(a)==null)&&v(e.checked),s(()=>{var c=a();e.checked=!!c})}function f(e){var a=e.type;return a==="number"||a==="range"}function d(e){return e===""?null:+e}export{y as a,t as b};

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.