1const u=e=>new Promise((i,o)=>{const n=e.querySelectorAll('input[type="text"],input[type="date"]'),r=e.querySelectorAll("[data-entersubmit]");n.forEach(s=>{s.addEventListener("keydown",t=>{if(t.key==="Enter"){if(t.target.classList.contains("js-input-prevent-form-submit")){t.preventDefault(),t.stopPropagation();return}t.preventDefault(),r.length>0?r.forEach(a=>{a.click()}):e.requestSubmit()}})}),i()});export{u as init};
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.