PageSourceSearch

https://ghostzero.de/build/assets/Login-ry5Xjx-p.js

js ghostzero.de collected 2026-10-02 01:00:36 UTC 2,825 bytes, 1 lines download raw bytes

1import{d as b,k as _,l as y,v as h,f as v,o as m,g as V,c,w as d,a as o,j as p,b as r,u as t,h as B,t as C,i as $,m as P,e as f,n as N}from"./app-zybZluGx.js";import{_ as U}from"./GuestLayout.vue_vue_type_script_setup_true_lang-Bwm9xOcD.js";import{_ as g,a as k,b as w}from"./TextInput.vue_vue_type_script_setup_true_lang-0fQHIcLw.js";import{P as q}from"./PrimaryButton-HduyFlSq.js";/* empty css            */import"./ApplicationLogo-DgrZXUQx.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const F=["value"],L=b({__name:"Checkbox",props:{checked:{type:Boolean},value:{}},emits:["update:checked"],setup(l,{emit:s}){const n=s,i=l,e=_({get(){return i.checked},set(a){n("update:checked",a)}});return(a,u)=>y((m(),v("input",{type:"checkbox",value:l.value,"onUpdate:modelValue":u[0]||(u[0]=x=>e.value=x),class:"rounded border-gray-300 text-indigo-600 shadow-sm focus:ring-indigo-500"},null,8,F)),[[h,e.value]])}}),R={key:0,class:"mb-4 text-sm font-medium text-green-600"},j={class:"mt-4"},D={class:"mt-4 block"},E={class:"flex items-center"},M={class:"mt-4 flex items-center justify-end"},J=b({__name:"Login",props:{canResetPassword:{type:Boolean},status:{}},setup(l){const s=V({email:"",password:"",remember:!1}),n=()=>{s.post(route("login"),{onFinish:()=>{s.reset("password")}})};return(i,e)=>(m(),c(U,null,{default:d(()=>[o(t(B),{title:"Log in"}),l.status?(m(),v("div",R,C(l.status),1)):p("",!0),r("form",{onSubmit:$(n,["prevent"])},[r("div",null,[o(g,{for:"email",value:"Email"}),o(k,{id:"email",type:"email",class:"mt-1 block w-full",modelValue:t(s).email,"onUpdate:modelValue":e[0]||(e[0]=a=>t(s).email=a),required:"",autofocus:"",autocomplete:"username"},null,8,["modelValue"]),o(w,{class:"mt-2",message:t(s).errors.email},null,8,["message"])]),r("div",j,[o(g,{for:"password",value:"Password"}),o(k,{id:"password",type:"password",class:"mt-1 block w-full",modelValue:t(s).password,"onUpdate:modelValue":e[1]||(e[1]=a=>t(s).password=a),required:"",autocomplete:"current-password"},null,8,["modelValue"]),o(w,{class:"mt-2",message:t(s).errors.password},null,8,["message"])]),r("div",D,[r("label",E,[o(L,{name:"remember",checked:t(s).remember,"onUpdate:checked":e[2]||(e[2]=a=>t(s).remember=a)},null,8,["checked"]),e[3]||(e[3]=r("span",{class:"ms-2 text-sm text-gray-600"},"Remember me",-1))])]),r("div",M,[l.canResetPassword?(m(),c(t(P),{key:0,href:i.route("password.request"),class:"rounded-md text-sm text-gray-600 underline hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},{default:d(()=>[...e[4]||(e[4]=[f(" Forgot your password? ",-1)])]),_:1},8,["href"])):p("",!0),o(q,{class:N(["ms-4",{"opacity-25":t(s).processing}]),disabled:t(s).processing},{default:d(()=>[...e[5]||(e[5]=[f(" Log in ",-1)])]),_:1},8,["class","disabled"])])],32)]),_:1}))}});export{J as default};

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.