1(() => { 2 function refineInspectorSignIn(root = document) { 3 const form = root.querySelector('#global-sign-in'); 4 if (!form || form.dataset.invitationUi === 'true') return; 5 form.dataset.invitationUi = 'true'; 6 7 const card = form.closest('.access-card'); 8 if (!card) return; 9 10 const eyebrow = card.querySelector('.eyebrow'); 11 const heading = card.querySelector('h1'); 12 const intro = heading?.nextElementSibling; 13 const nameInput = form.querySelector('#global-name'); 14 const nameLabel = nameInput?.closest('label'); 15 const emailLabel = form.querySelector('#global-email')?.closest('label'); 16 const submit = form.querySelector('button[type="submit"]'); 17 18 if (eyebrow) eyebrow.textContent = 'Authorized inspector access'; 19 if (heading) heading.textContent = 'Inspector sign in'; 20 if (intro) intro.textContent = 'Enter the email address associated with your POWERD access.'; 21 22 if (nameInput) { 23 nameInput.value = ''; 24 nameInput.placeholder = 'Example: Rachel'; 25 nameInput.required = true; 26 } 27 if (nameLabel) nameLabel.hidden = false; 28 if (emailLabel?.querySelector('span')) emailLabel.querySelector('span').textContent = 'Authorized email address'; 29 if (submit) submit.textContent = 'SEND SECURE SIGN-IN LINK'; 30 } 31 32 const sync = () => refineInspectorSignIn(document); 33 new MutationObserver(sync).observe(document.documentElement, { childList: true, subtree: true }); 34 if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', sync); 35 else sync(); 36})();
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.