PageSourceSearch

https://redbumerang.ai/assets/AuthSignUpPage-BPw8-kaS.js

js redbumerang.ai collected 2026-10-05 15:48:11 UTC 7,080 bytes, 1 lines download raw bytes

1import{j as F,_ as E,k as m,m as I,p as f,q as r,s as t,t as s,B as b,z as w,v as o,y as v,F as T,E as c,G as u,U as V,u as y,D as R,H as B}from"./index-BckJjqZV.js";import{Q as C}from"./QPage-QKqJRLVt.js";import{u as D}from"./use-meta-C7afMhVT.js";import{P as $,a as Q}from"./constraints.constants-DsO_oiPf.js";import{V as S}from"./store-iMINVDZa.js";import{F as G,a as H}from"./vee-validate-CjgozscX.js";import{k as j}from"./vue-turnstile-BP6roCUT.js";import{c as z,d as L,a as p}from"./index.esm-DeSQa7qe.js";import{A as O}from"./AuthFooter-B07RrU8G.js";import{A as k}from"./store-xW8K4CHv.js";import"./base.api-CheAbF-G.js";import"./axios-ctXE9IJ2.js";import"./api-C8WsLlHM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./i18n-C0XzkKnd.js";import"./model-CwsyM9eZ.js";import"./dialog.service-DLKIkzzB.js";import"./api-DtwX0ILv.js";const M=F({name:"AuthSignUpPage",components:{AuthFooter:O,Field:H,Form:G,VueTurnstile:j},async preFetch({ssrContext:e,store:l,currentRoute:_,redirect:q}){await S(l).getView(e,_);const h=k(l);await h.iAm(e),h.authorizedIam&&q({path:"/console"})},setup(){const e=k(),l=S();return D(l.viewMeta?l.viewMeta:{}),{authStore:e,viewsStore:l}},data(){return{form:{name:"SIGN_UP",schema:z().shape({firstName:p().required(this.$t("valueRequired")),lastName:p().required(this.$t("valueRequired")),email:p().required(this.$t("valueRequired")).email(this.$t("valueMustEmail")),password:p().required(this.$t("valueRequired")).min($,this.$t("valueMaxLengthAtLeast",{value:$})).matches(Q,{message:this.$t("valueMustPassRequirements")}),terms:L().required().isTrue(this.$t("valueMustTerms"))}),types:{password:"password"},values:{firstName:"",lastName:"",email:"",password:"",terms:!1}}}},unmounted(){this.authStore.$reset(),this.authStore.$dispose(),this.viewsStore.$dispose()}}),W={class:"q-auth-content"},X={class:"q-auth-content-body"},J={key:0,class:"flex column justify-center items-center"},K={class:"q-mb-lg text-h6 text-weight-bold"},Y={class:"q-mb-md text-center"},Z={class:"q-mb-none text-center"},ee={class:"q-mt-xl full-width flex column items-center"},te={class:"q-auth-title flex column"},se={class:"q-ma-none q-auth-title-label text-weight-bold"},ae={class:"q-mt-md q-mb-none q-auth-sub-title-label"},oe={class:"q-field-groups-split flex row justify-between items-center no-wrap"},le={class:"q-field-group q-field-group-col-6"},re={class:"q-field-label"},ie={class:"q-field-group q-field-group-col-6"},ne={class:"q-field-label"},de={class:"q-field-group"},me={class:"q-field-label"},ue={class:"q-field-group"},ce={class:"q-field-label"},pe={class:"q-field-group flex column"},he={class:"flex row no-wrap"},fe={class:"q-ml-sm flex row items-center"},ve={class:"q-mb-none text-caption text-no-spacing"},_e={class:"q-mb-none text-caption text-no-spacing text-lowercase"},qe={class:"q-captcha-wrapper flex justify-center"},ge={class:"q-mt-lg flex column items-center"},be={class:"q-mt-xl q-mb-sm text-caption text-no-spacing text-center text-weight-medium"};function we(e,l,_,q,N,h){const d=m("Field"),g=m("router-link"),x=m("vue-turnstile"),A=m("Form"),P=m("auth-footer");return f(),I(C,{class:"q-auth-page flex column items-center"},{default:r(()=>[t("div",W,[t("div",X,[e.authStore.submitted?(f(),b("div",J,[s(w,{class:"q-mb-md",name:"sym_r_check_circle",size:"2.4rem",color:"positive"}),t("p",K,o(e.$t("signUpSubmitted")),1),t("p",Y,o(e.$t("signUpSubmittedDesc1")),1),t("p",Z,o(e.$t("signUpSubmittedDesc2")),1),t("div",ee,[s(v,{"no-caps":"",unelevated:"",class:"q-auth-btn full-width",color:"primary",label:e.$t("signInBackTo"),to:{name:"authSignIn"}},null,8,["label"])])])):(f(),b(T,{key:1},[t("div",te,[t("p",se,o(e.$t("signUp")),1),t("p",ae,o(e.$t("authSignUpDesc")),1)]),s(A,{"initial-values":e.form.values,"validation-schema":e.form.schema,onSubmit:e.authStore.signUp},{default:r(({meta:U})=>[t("div",oe,[t("div",le,[t("p",re,o(e.$t("firstName")),1),s(d,{name:"firstName"},{default:r(({errorMessage:a,value:i,field:n})=>[s(c,u({outlined:"","no-error-icon":""},n,{class:"q-field-auth",type:"text",dense:!0,placeholder:e.$t("firstName"),"model-value":i,error:!!a,"error-message":a}),null,16,["placeholder","model-value","error","error-message"])]),_:1})]),t("div",ie,[t("p",ne,o(e.$t("lastName")),1),s(d,{name:"lastName"},{default:r(({errorMessage:a,value:i,field:n})=>[s(c,u({outlined:"","no-error-icon":""},n,{class:"q-field-auth",type:"text",dense:!0,placeholder:e.$t("lastName"),"model-value":i,error:!!a,"error-message":a}),null,16,["placeholder","model-value","error","error-message"])]),_:1})])]),t("div",de,[t("p",me,o(e.$t("email")),1),s(d,{name:"email"},{default:r(({errorMessage:a,value:i,field:n})=>[s(c,u({outlined:"","no-error-icon":""},n,{class:"q-field-auth",type:"email",dense:!0,placeholder:e.$t("email"),"model-value":i,error:!!a,"error-message":a}),null,16,["placeholder","model-value","error","error-message"])]),_:1})]),t("div",ue,[t("p",ce,o(e.$t("password")),1),s(d,{name:"password"},{default:r(({errorMessage:a,value:i,field:n})=>[s(c,u({outlined:"","no-error-icon":""},n,{class:"q-field-auth",placeholder:e.$t("password"),type:e.form.types.password,dense:!0,"model-value":i,error:!!a,"error-message":a}),{append:r(()=>[s(w,{class:"q-field-icon",name:e.form.types.password==="password"?"sym_r_visibility":"sym_r_visibility_off",onClick:l[0]||(l[0]=ye=>e.form.types.password=e.form.types.password==="password"?"text":"password")},null,8,["name"])]),_:2},1040,["placeholder","type","model-value","error","error-message"])]),_:1}
1)]),t("div",pe,[s(d,{name:"terms",type:"checkbox",value:!0,"unchecked-value":!1},{default:r(({errorMessage:a,value:i,field:n})=>[t("div",he,[s(V,u({dense:"",color:"primary"},n,{"model-value":i}),null,16,["model-value"]),t("div",fe,[t("p",ve,o(e.$t("acceptIThe"))+" ",1),s(g,{class:"text-primary text-caption text-no-spacing text-underline",to:{name:"siteTermsConditions"}},{default:r(()=>[y(o(e.$t("termsOfService")),1)]),_:1}),t("p",_e," "+o(e.$t("and"))+" ",1),s(g,{class:"text-primary text-caption text-no-spacing text-underline",to:{name:"sitePrivacyPolicy"}},{default:r(()=>[y(o(e.$t("privacyPolicy")),1)]),_:1})])]),t("span",{class:R(["q-field-error",{visible:!!a}])},o(a),3)]),_:1})]),t("div",qe,[s(x,{modelValue:e.authStore.captcha.token,"onUpdate:modelValue":l[1]||(l[1]=a=>e.authStore.captcha.token=a),action:"SIGN_UP",language:"en",theme:"light","site-key":e.authStore.captcha.key,onError:e.authStore.onCaptchaError},null,8,["modelValue","site-key","onError"])]),t("div",ge,[s(v,{"no-caps":"",unelevated:"",class:"q-auth-btn full-width",color:"primary",type:"submit",label:e.$t("signUp"),disable:e.authStore.loading||!U.valid,loading:e.authStore.loading},{loading:r(()=>[s(B)]),_:2},1032,["label","disable","loading"])])]),_:1},8,["initial-values","validation-schema","onSubmit"]),t("p",be,o(e.$t("accountAlreadyHave")),1),s(v,{"no-caps":"",outline:"",class:"q-btn-text-dark q-auth-btn full-width",color:"dark","text-color":"grey-4",label:e.$t("signInHere"),to:{name:"authSignIn"}},null,8,["label"])],64))]),s(P)])]),_:1})}const Ge=E(M,[["render",we]]);export{Ge 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.