PageSourceSearch

https://holysmokesbbqco.com/scorecard/EmailSignInBox.CHq22201.js

js holysmokesbbqco.com collected 2026-09-24 14:46:11 UTC 2,690 bytes, 1 lines download raw bytes

1import{h as _,u as r,t as p}from"./index.web.BvDlogKR.js";import{d as n}from"./preact.CLum3pgv.js";const c="#4A6741";function z({S:s,sBtn:u,sInput:f,onSignedIn:i}){const{attemptEmailSignIn:k,attemptEmailSignUp:C,sendPasswordReset:B}=_(),[t,m]=n("signIn"),[l,E]=n(""),[a,U]=n(""),[b,h]=n(!1),[y,d]=n(null),[w,o]=n(null),v=async()=>{h(!0),o(null),d(null);try{if(t==="reset"){const e=await B(l);e!=null&&e.error?o(e.error):(d("Reset link sent — check your email."),p("password_reset_requested"))}else if(t==="signUp"){const e=await C(l,a);e!=null&&e.error?(o(e.error),p("signin_failed",{method:"email_signup",reason:e.error.slice(0,60)})):(p("sign_up",{method:"email"}),i==null||i(e.user))}else{const e=await k(l,a);e!=null&&e.error?(o(e.error),p("signin_failed",{method:"email",reason:e.error.slice(0,60)})):(p("sign_in",{method:"email"}),i==null||i(e.user))}}finally{h(!1)}},g=b||!l||t!=="reset"&&(!a||a.length<6);return r("div",{style:{background:s.dark,border:`1px solid ${s.border}`,borderRadius:"10px",padding:"14px",marginTop:"12px"},children:[r("div",{style:{display:"flex",justifyContent:"center",gap:"12px",marginBottom:"12px",fontSize:"12px",letterSpacing:"1px"},children:[r("button",{onClick:()=>{m("signIn"),o(null),d(null)},style:x(t==="signIn",s),children:"SIGN IN"}),r("button",{onClick:()=>{m("signUp"),o(null),d(null)},style:x(t==="signUp",s),children:"SIGN UP"}),r("button",{onClick:()=>{m("reset"),o(null),d(null)},style:x(t==="reset",s),children:"FORGOT"})]}),r("input",{type:"email",placeholder:"Email",autoComplete:"email",value:l,onChange:e=>E(e.target.value),style:{...f(),width:"100%",marginBottom:"8px"}}),t!=="reset"&&r("input",{type:"password",placeholder:t==="signUp"?"New password (6+ chars)":"Password",autoComplete:t==="signUp"?"new-password":"current-password",value:a,onChange:e=>U(e.target.value),style:{...f(),width:"100%",marginBottom:"8px"}}),w&&r("div",{style:{fontSize:"12px",color:"#fca5a5",background:"#3a1717",border:"1px solid #f87171",borderRadius:"6px",padding:"8px 10px",marginBottom:"8px"},children:w}),y&&r("div",{style:{fontSize:"12px",color:"#86efac",background:"#1f3d24",border:`1px solid ${c}`,borderRadius:"6px",padding:"8px 10px",marginBottom:"8px"},children:y}),r("button",{onClick:v,disabled:g,style:{...u(!g,!1),width:"100%",padding:"10px",background:g?"#444":c,color:"#fff",border:"none"},children:b?"Working...":t==="reset"?"Send reset link":t==="signUp"?"Create account":"Sign in with email"})]})}function x(s,u){return{background:"none",border:"none",color:s?c:u.muted,cursor:"pointer",fontWeight:"700",letterSpacing:"1px",fontSize:"11px",padding:"4px 0",borderBottom:s?`2px solid ${c}`:"2px solid transparent"}}export{z as E};

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.