PageSourceSearch

https://slocerkve.si/build/assets/Register-Dc-YaNvC.js

js slocerkve.si collected 2026-10-03 18:14:07 UTC 4,489 bytes, 1 lines download raw bytes

1import{T as _,e as c,b as s,u as o,w as i,F as v,o as p,Z as k,a,g as d,f as w,j as h,n as b,i as x,c as V}from"./app-DJ0HTFIL.js";import{A as $,_ as P}from"./AuthenticationCardLogo-DQDQzwQt.js";import{_ as q}from"./Checkbox-Ce25i7g_.js";import{_ as u,a as m}from"./TextInput-BUKbKvP3.js";import{_ as n}from"./InputLabel-BL2L_mA6.js";import{_ as C}from"./PrimaryButton-iLQoCLne.js";import{_ as N}from"./Socialstream-2pHN6KL1.js";/* empty css            */import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ProviderIcon-Dcm-i2u1.js";const U={class:"mt-4"},A={class:"mt-4"},B={class:"mt-4"},F={key:0,class:"mt-4"},T={class:"flex items-center"},j={class:"ml-2"},R=["href"],E=["href"],S={class:"flex items-center justify-end mt-4"},Q={__name:"Register",setup(z){const r=_({name:"",email:"",password:"",password_confirmation:"",terms:!1}),y=()=>{r.post(route("register"),{onFinish:()=>r.reset("password","password_confirmation")})};return(t,e)=>(p(),c(v,null,[s(o(k),{title:"Register"}),s($,null,{logo:i(()=>[s(P)]),default:i(()=>{var f,g;return[a("form",{onSubmit:x(y,["prevent"])},[a("div",null,[s(n,{for:"name",value:"Name"}),s(u,{id:"name",modelValue:o(r).name,"onUpdate:modelValue":e[0]||(e[0]=l=>o(r).name=l),autocomplete:"name",autofocus:"",class:"mt-1 block w-full",required:"",type:"text"},null,8,["modelValue"]),s(m,{message:o(r).errors.name,class:"mt-2"},null,8,["message"])]),a("div",U,[s(n,{for:"email",value:"Email"}),s(u,{id:"email",modelValue:o(r).email,"onUpdate:modelValue":e[1]||(e[1]=l=>o(r).email=l),autocomplete:"username",class:"mt-1 block w-full",required:"",type:"email"},null,8,["modelValue"]),s(m,{message:o(r).errors.email,class:"mt-2"},null,8,["message"])]),a("div",A,[s(n,{for:"password",value:"Password"}),s(u,{id:"password",modelValue:o(r).password,"onUpdate:modelValue":e[2]||(e[2]=l=>o(r).password=l),"aria-describedby":"password-hint",autocomplete:"new-password",class:"mt-1 block w-full",required:"",type:"password"},null,8,["modelValue"]),e[5]||(e[5]=a("p",{id:"password-hint",class:"mt-1 text-xs text-gray-500 dark:text-gray-400"}," Password must be at least 8 characters. ",-1)),s(m,{message:o(r).errors.password,class:"mt-2"},null,8,["message"])]),a("div",B,[s(n,{for:"password_confirmation",value:"Confirm Password"}),s(u,{id:"password_confirmation",modelValue:o(r).password_confirmation,"onUpdate:modelValue":e[3]||(e[3]=l=>o(r).password_confirmation=l),autocomplete:"new-password",class:"mt-1 block w-full",required:"",type:"password"},null,8,["modelValue"]),s(m,{message:o(r).errors.password_confirmation,class:"mt-2"},null,8,["message"])]),t.$page.props.jetstream.hasTermsAndPrivacyPolicyFeature?(p(),c("div",F,[s(n,{for:"terms"},{default:i(()=>[a("div",T,[s(q,{id:"terms",checked:o(r).terms,"onUpdate:checked":e[4]||(e[4]=l=>o(r).terms=l),name:"terms",required:""},null,8,["checked"]),a("div",j,[e[6]||(e[6]=d(" I agree to the ")),a("a",{href:t.route("terms.show"),class:"underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800",target:"_blank"},"Terms of Service",8,R),e[7]||(e[7]=d(" and ")),a("a",{href:t.route("policy.show"),class:"underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800",target:"_blank"},"Privacy Policy",8,E)])]),s(m,{message:o(r).errors.terms,class:"mt-2"},null,8,["message"])]),_:1})])):w("",!0),a("div",S,[s(o(h),{href:t.route("login"),class:"underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800"},{default:i(()=>e[8]||(e[8]=[d(" Already registered? ")])),_:1},8,["href"]),s(C,{class:b([{"opacity-25":o(r).processing},"ml-4"]),disabled:o(r).processing},{default:i(()=>e[9]||(e[9]=[d(" Register ")])),_:1},8,["class","disabled"])])],32),t.$page.props.socialstream.show&&t.$page.props.socialstream.providers.length?(p(),V(N,{key:0,error:((g=(f=t.$page.props)==null?void 0:f.errors)==null?void 0:g.socialstream)||null,prompt:t.$page.props.socialstream.prompt,labels:t.$page.props.socialstream.labels,providers:t.$page.props.socialstream.providers},null,8,["error","prompt","labels","providers"])):w("",!0)]}),_:1})],64))}};export{Q 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.