1import{w as o,x as d,y as k,z as u,A as h,B as t,C as b}from"./IxxEes_O.js";function y(e,a,v=a){var c=new WeakSet;o(e,"input",async r=>{var l=r?e.defaultValue:e.value;if(l=f(e)?n(l):l,v(l),d!==null&&c.add(d),await k(),l!==(l=a())){var _=e.selectionStart,s=e.selectionEnd;e.value=l??"",s!==null&&(e.selectionStart=_,e.selectionEnd=Math.min(s,e.value.length))}}),(t&&e.defaultValue!==e.value||u(a)==null&&e.value)&&(v(f(e)?n(e.value):e.value),d!==null&&c.add(d)),h(()=>{var r=a();if(e===document.activeElement){var l=b??d;if(c.has(l))return}f(e)&&r===n(e.value)||e.type==="date"&&!r&&!e.value||r!==e.value&&(e.value=r??"")})}function i(e,a,v=a){o(e,"change",c=>{var r=c?e.defaultChecked:e.checked;v(r)}),(t&&e.defaultChecked!==e.checked||u(a)==null)&&v(e.checked),h(()=>{var c=a();e.checked=!!c})}function f(e){var a=e.type;return a==="number"||a==="range"}function n(e){return e===""?null:+e}export{i as a,y 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.