PageSourceSearch

https://matech.pl/build/assets/Register-cb099602.js

js matech.pl collected 2026-10-04 07:44:32 UTC 4,514 bytes, 1 lines download raw bytes

1import{T as g,o as f,d as c,b as e,u as r,w as i,F as w,Z as _,a as t,g as u,e as b,q as v,n as x,l as V}from"./app-92d67651.js";import{A as k}from"./AuthenticationCard-4398b15c.js";import{_ as y}from"./AuthenticationCardLogo-6332d4b5.js";import{_ as h}from"./Checkbox-0c4d3a0c.js";import{_ as m,a as l}from"./TextInput-0eb30f28.js";import{_ as n}from"./InputLabel-4b427366.js";import{_ as q}from"./PrimaryButton-b300f6b2.js";import"./_plugin-vue_export-helper-c27b6911.js";const P={class:"mt-4"},U={class:"mt-4"},$={class:"mt-4"},N={class:"mt-4"},C={key:0,class:"mt-4"},j={class:"flex items-center"},A={class:"ml-2"},F=["href"],R=["href"],T={class:"flex items-center justify-end mt-4"},H={__name:"Register",setup(B){const s=g({name:"",email:"",nip:"",password:"",password_confirmation:"",terms:!1}),p=()=>{s.post(route("register"),{onFinish:()=>s.reset("password","password_confirmation")})};return(d,o)=>(f(),c(w,null,[e(r(_),{title:"Register"}),e(k,null,{logo:i(()=>[e(y)]),default:i(()=>[o[10]||(o[10]=t("div",{class:"mb-4"},[t("h1",{class:"text-xl font-bold text-[#e30016]"},"Rejestracja"),t("p",{class:"text-sm text-gray-600"},"Utwórz nowe konto użytkownika.")],-1)),t("form",{onSubmit:V(p,["prevent"])},[t("div",null,[e(n,{for:"name",value:"Name"}),e(m,{id:"name",modelValue:r(s).name,"onUpdate:modelValue":o[0]||(o[0]=a=>r(s).name=a),type:"text",class:"mt-1 block w-full focus:border-[#e30016] focus:ring-[#e30016]",required:"",autofocus:"",autocomplete:"name"},null,8,["modelValue"]),e(l,{class:"mt-2",message:r(s).errors.name},null,8,["message"])]),t("div",P,[e(n,{for:"email",value:"Email"}),e(m,{id:"email",modelValue:r(s).email,"onUpdate:modelValue":o[1]||(o[1]=a=>r(s).email=a),type:"email",class:"mt-1 block w-full focus:border-[#e30016] focus:ring-[#e30016]",required:"",autocomplete:"username"},null,8,["modelValue"]),e(l,{class:"mt-2",message:r(s).errors.email},null,8,["message"])]),t("div",U,[e(n,{for:"nip",value:"NIP"}),e(m,{id:"nip",modelValue:r(s).nip,"onUpdate:modelValue":o[2]||(o[2]=a=>r(s).nip=a),type:"text",class:"mt-1 block w-full focus:border-[#e30016] focus:ring-[#e30016]",required:"",maxlength:"10",inputmode:"numeric",autocomplete:"off"},null,8,["modelValue"]),e(l,{class:"mt-2",message:r(s).errors.nip},null,8,["message"])]),t("div",$,[e(n,{for:"password",value:"Password"}),e(m,{id:"password",modelValue:r(s).password,"onUpdate:modelValue":o[3]||(o[3]=a=>r(s).password=a),type:"password",class:"mt-1 block w-full focus:border-[#e30016] focus:ring-[#e30016]",required:"",autocomplete:"new-password"},null,8,["modelValue"]),e(l,{class:"mt-2",message:r(s).errors.password},null,8,["message"])]),t("div",N,[e(n,{for:"password_confirmation",value:"Confirm Password"}),e(m,{id:"password_confirmation",modelValue:r(s).password_confirmation,"onUpdate:modelValue":o[4]||(o[4]=a=>r(s).password_confirmation=a),type:"password",class:"mt-1 block w-full focus:border-[#e30016] focus:ring-[#e30016]",required:"",autocomplete:"new-password"},null,8,["modelValue"]),e(l,{class:"mt-2",message:r(s).errors.password_confirmation},null,8,["message"])]),d.$page.props.jetstream.hasTermsAndPrivacyPolicyFeature?(f(),c("div",C,[e(n,{for:"terms"},{default:i(()=>[t("div",j,[e(h,{id:"terms",checked:r(s).terms,"onUpdate:checked":o[5]||(o[5]=a=>r(s).terms=a),name:"terms",required:""},null,8,["checked"]),t("div",A,[o[6]||(o[6]=u(" I agree to the ",-1)),t("a",{target:"_blank",href:d.route("terms.show"),class:"underline text-sm text-[#e30016] hover:text-[#c20014] rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-[#e30016]"},"Terms of Service",8,F),o[7]||(o[7]=u(" and ",-1)),t("a",{target:"_blank",href:d.route("policy.show"),class:"underline text-sm text-[#e30016] hover:text-[#c20014] rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-[#e30016]"},"Privacy Policy",8,R)])]),e(l,{class:"mt-2",message:r(s).errors.terms},null,8,["message"])]),_:1})])):b("",!0),t("div",T,[e(r(v),{href:d.route("login"),class:"underline text-sm text-[#e30016] hover:text-[#c20014] rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-[#e30016]"},{default:i(()=>[...o[8]||(o[8]=[u(" Already registered? ",-1)])]),_:1},8,["href"]),e(q,{class:x(["ml-4 bg-[#e30016] border-[#e30016] hover:bg-[#c20014] focus:bg-[#c20014] active:bg-[#a80012] focus:ring-[#e30016]",{"opacity-25":r(s).processing}]),disabled:r(s).processing},{default:i(()=>[...o[9]||(o[9]=[u(" Register ",-1)])]),_:1},8,["class","disabled"])])],32)]),_:1})],64))}};export{H 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.