1function pageLoad() { 2 window.scrollTo(0, 0); 3 initLoginForm(); 4} 5 6function initLoginForm() { 7 try { 8 var $container = $("#login_lookup"); 9 ECOMM.basicValidation.initialize($container); 10 } catch (e) { }; 11 12 kendo.ui.progress($("body"), false); 13} 14 15function addEmailToCreateAccountLink(e) { 16 e.preventDefault(); 17 //TODO: switch link button to plain link, append encoded email as query param if populated 18} 19function autoTab(elem, event, next) { 20 if (elem.value.length == 1 && next != null && next.trim().length > 0 && !isNaN(event.key)) { 21 const nextInput = document.getElementById(next); 22 if (nextInput) { 23 nextInput.focus(); 24 } 25 } 26} 27function pasteFromClipboard(event) { 28 try { 29 const text = event.clipboardData.getData('text/plain').trim(); 30 if (text.length == 6) { 31 pasteCodeToForm(text); 32 } 33 } catch (e) { }; 34} 35function mobilePasteFromClipboard(event) { 36 try { 37 const text = event.target.value.trim(); 38 if (text.length == 6) { 39 pasteCodeToForm(text); 40 } 41 } 42 catch (e) { }; 43} 44function pasteCodeToForm(text) { 45 try { 46 const inputs = $(".js-verify-code input[type=number]"); 47 for (let i = 0; i < text.length; i++) { 48 inputs.eq(i).val(text[i]); 49 //trigger the change event for validation 50 inputs.eq(i).trigger("change"); 51 } 52 document.getElementById("btnVerifyCode").focus(); 53 } catch (e) { }; 54}
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.