PageSourceSearch

https://shrewsburytown.com/assets/login-Cyzm4IpO.js

js shrewsburytown.com collected 2026-09-24 23:50:37 UTC 1,976 bytes, 1 lines download raw bytes

1import{r as m,j as t,t as p}from"./index-Cz_StzOF.js";import{u as l,S as u}from"./index-Bl-JRaYc.js";import{A as d}from"./alert-error-mom43jPu.js";import{a as c}from"./auth-client-CtGoYFHQ.js";import{A as g}from"./account-page-shell-DVgEPhxk.js";import"./checkbox-ra-lQ7fi.js";import"./index-C3pZZpmr.js";import"./index-BsvPs760.js";import"./check-CutoH9vg.js";import"./label-DuQ5chKt.js";import"./button-DLLlTj8W.js";import"./index-DqyGh3zY.js";import"./input-C6Gc-HOE.js";import"./popover-Dh92DTbl.js";import"./index-BTYaEvhk.js";import"./eye-off-CC2eFl5d.js";import"./card-BvdzEYq3.js";import"./select-DDHyFV9C.js";import"./chevron-down-DYKThz_h.js";import"./chevron-up-PS5FEnfR.js";import"./app-link-CkaTC9yR.js";function f({redirectTo:r,navigateTo:s=x}){const[n,i]=m.useState(null),o=l({defaultValues:{email:"",password:""},onSubmit:async({value:e})=>{i(null);const{error:a}=await c.signIn.email({email:e.email,password:e.password});if(a){i(a.message??"Unable to sign in right now.");return}s(h(r))}});return t.jsx(g,{description:"Sign in to manage your account and stream live and on-demand Shrewsbury Town coverage.",links:[{href:"/register",label:"Create an account"},{href:"/forgot-password",label:"Forgot password?"}],title:"Sign in",children:t.jsxs("form",{className:"grid gap-5",method:"post",onSubmit:e=>{e.preventDefault(),e.stopPropagation(),o.handleSubmit()},children:[t.jsx(o.AppField,{children:e=>t.jsx(e.TextField,{autoComplete:"email",label:"Email address",required:!0,type:"email"}),name:"email"}),t.jsx(o.AppField,{children:e=>t.jsx(e.PasswordField,{autoComplete:"current-password",label:"Password",required:!0}),name:"password"}),t.jsx(d,{error:n}),t.jsx(o.AppForm,{children:t.jsx(u,{loadingText:"Signing in...",children:"Sign in"})})]})})}function h(r){return!r||r.startsWith("//")||!r.startsWith("/")?"/admin":r}function x(r){window.location.assign(r)}function I(){const r=p.useSearch();return t.jsx(f,{redirectTo:r.redirect})}export{I as component};

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.