PageSourceSearch

https://untuckit.co.uk/cdn/shop/t/493/assets/template.login.js?v=163774348325558910841791210891

js untuckit.co.uk collected 2026-10-07 13:57:27 UTC 2,880 bytes, 2 lines download raw bytes

1!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"fab4f8a8d9d1b60190690495a8ee19c997d71654"}}catch(e){}}(),(globalThis.webpackChunk||=[]).push([[988],{7978(e,t,n){n.r(t),n.d(t,["INLINE_CART_CLOSE",0,"inlineCart:close","INLINE_CART_SHOW",0,"inlineCart:show","QUICKSHOP_CLOSE",0,"quickshop:close","QUICKSHOP_REFRESH",0,"quickshop:refresh","SEARCH_CLOSE",0,"search:close"])},3494(e,t,n){var o=n(8367);const r="#recover",i=".js-login-form-email",c=".js-login-form-password",s=".js-login-form-submit-button";function l(){return document.getElementById("customer-login")}function a(){return document.getElementById("recover-password")}function u(){const e=document.getElementById("customer_login");return e instanceof HTMLFormElement?e:null}function d(e){e&&(e.style.display="")}function f(e){e&&(e.style.display="none")}function m(){d(a()),f(l()),window.location.hash=r}function y(){f(a()),f(document.getElementById("customer-register")),d(l()),window.location.hash=""}function g(){const e=u();if(!e)return;const t=e.querySelector(i),n=e.querySelector(c),o=e.querySelector(s);if(!t||!n||!o)return;const r=!!(t.value&&n.value.length>=6);o.classList.toggle("complete",r),o.classList.toggle("incomplete",!r)}function E(){g()}async function h(e){const t=e.currentTarget;if(!(t instanceof HTMLFormElement))return;const n=t.querySelector(i),r=n?.value;if(!r)return;e.preventDefault(),function(e){const t=e.querySelector(s);if(!t)return;e.querySelector(".js-login-form-submit-spinner")?.classList.remove("hidden");const n=e.querySelector(".js-login-form-submit-text"),o=t.dataset.loadingText;n&&o&&(n.textContent=o),t.disabled=!0,t.setAttribute("aria-busy","true")}(t);const c=r.toLowerCase();try{await async function(e){const t=await async function(e){const t=(new TextEncoder).encode(e),n=await crypto.subtle.digest("SHA-256",t);return Array.from(new Uint8Array(n)).map(e=>e.toString(16).padStart(2,"0")).join("")}(e);(0,o.emitShopifyEvent)("login",{emailRaw:e,emailHash:t});try{localStorage.setItem("userEmail",t)}catch(e){console.log(e)}}(c)}catch(e){console.log(e)}t.submit()}window.location.hash===r||"true"===a()?.dataset.recoverActive?m():y(),document.getElementById("showRecoverForm")?.addEventListener("click",e=>{e.preventDefault(),m()}),document.getElementById("cancelRecoverForm")?.addEventListener("click",e=>{e.preventDefault(),y()}),function(){const e=u();if(!e)return;const t=e.querySelector(i),n=e.querySelector(c);t?.addEventListener("input",E),t?.addEventListener("change",E),n?.addEventListener("input",E),n?.addEventListener("change",E),n?.addEventListener("keyup",E),e.addEventListener("submit",h),g(),window.setTimeout(g,300),window.setTimeout(g,1e3)}()}},e=>{e.O(0,[804],()=>e(3494)),e.O()}]);
2//# sourceMappingURL=template.login.js.map

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.