PageSourceSearch

https://slocerkve.si/build/assets/Login-Bn8UhEj4.js

js slocerkve.si collected 2026-10-03 18:14:06 UTC 2,873 bytes, 1 lines download raw bytes

1import{T as $,e as f,b as o,u as r,w as m,F as k,o as i,Z as y,t as V,f as d,a as t,c,g,j as h,n as x,i as B}from"./app-DJ0HTFIL.js";import{A as C,_ as F}from"./AuthenticationCardLogo-DQDQzwQt.js";import{_ as N}from"./Checkbox-Ce25i7g_.js";import{_ as b,a as w}from"./TextInput-BUKbKvP3.js";import{_}from"./InputLabel-BL2L_mA6.js";import{_ as q}from"./PrimaryButton-iLQoCLne.js";import{_ as L}from"./Socialstream-2pHN6KL1.js";/* empty css            */import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ProviderIcon-Dcm-i2u1.js";const P={key:0,class:"mb-4 font-medium text-sm text-green-600"},R={class:"mt-4"},S={class:"block mt-4"},U={class:"flex items-center"},j={class:"flex items-center justify-end mt-4"},J={__name:"Login",props:{canResetPassword:Boolean,status:String},setup(n){const e=$({email:"",password:"",remember:!1}),v=()=>{e.transform(a=>({...a,remember:e.remember?"on":""})).post(route("login"),{onFinish:()=>e.reset("password")})};return(a,s)=>(i(),f(k,null,[o(r(y),{title:"Log in"}),o(C,null,{logo:m(()=>[o(F)]),default:m(()=>{var p,u;return[n.status?(i(),f("div",P,V(n.status),1)):d("",!0),t("form",{onSubmit:B(v,["prevent"])},[t("div",null,[o(_,{for:"email",value:"Email"}),o(b,{id:"email",modelValue:r(e).email,"onUpdate:modelValue":s[0]||(s[0]=l=>r(e).email=l),autofocus:"",class:"mt-1 block w-full",required:"",type:"email"},null,8,["modelValue"]),o(w,{message:r(e).errors.email,class:"mt-2"},null,8,["message"])]),t("div",R,[o(_,{for:"password",value:"Password"}),o(b,{id:"password",modelValue:r(e).password,"onUpdate:modelValue":s[1]||(s[1]=l=>r(e).password=l),autocomplete:"current-password",class:"mt-1 block w-full",required:"",type:"password"},null,8,["modelValue"]),o(w,{message:r(e).errors.password,class:"mt-2"},null,8,["message"])]),t("div",S,[t("label",U,[o(N,{checked:r(e).remember,"onUpdate:checked":s[2]||(s[2]=l=>r(e).remember=l),name:"remember"},null,8,["checked"]),s[3]||(s[3]=t("span",{class:"ml-2 text-sm text-gray-600"},"Remember me",-1))])]),t("div",j,[n.canResetPassword?(i(),c(r(h),{key:0,href:a.route("password.request"),class:"underline text-sm text-gray-600 hover:text-gray-900 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},{default:m(()=>s[4]||(s[4]=[g(" Forgot your password? ")])),_:1},8,["href"])):d("",!0),o(q,{class:x([{"opacity-25":r(e).processing},"ml-4"]),disabled:r(e).processing},{default:m(()=>s[5]||(s[5]=[g(" Log in ")])),_:1},8,["class","disabled"])])],32),a.$page.props.socialstream.show&&a.$page.props.socialstream.providers.length?(i(),c(L,{key:1,error:((u=(p=a.$page.props)==null?void 0:p.errors)==null?void 0:u.socialstream)||null,prompt:a.$page.props.socialstream.prompt,labels:a.$page.props.socialstream.labels,providers:a.$page.props.socialstream.providers},null,8,["error","prompt","labels","providers"])):d("",!0)]}),_:1})],64))}};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.