PageSourceSearch

https://my.skribble.com/_nuxt/B3IxeK0N.js

js skribble.com collected 2026-10-01 13:53:18 UTC 5,212 bytes, 2 lines download raw bytes

1import{P as j}from"./oC_mxdQQ.js";import{ao as q,cZ as H,cA as M,b$ as O,A as S,cP as W,dh as $,cn as h,d0 as Q,cB as Y,dy as Z,ds as J,cg as K,c2 as _,ae as y,cy as e,aa as i,cr as n,ab as X,dI as r,ac as ee,aj as o,f as x,ai as k,dL as U,bc as A,bQ as ae,cf as te,cd as d,a7 as se,bN as le,bf as oe,b1 as ne,cb as re,O as ie}from"./DR_CSbha.js";import{T as E}from"./CeQBd21U.js";import{_ as ce}from"./Cg25hc9w.js";import{C as de}from"./DItz9N39.js";import{S as ue}from"./BatfcDXQ.js";import{_ as pe}from"./PO05lXhX.js";import{V as T}from"./ftwBuEhh.js";import"./D6LE6_wk.js";import"./CcsTk7az.js";import"./Xe3ueKJj.js";import"./Bd6t599t.js";import"./Bj2eQ7W9.js";import"./BK-XcV57.js";const me={class:"starter d-flex flex-column align-center ma-auto"},_e={key:0,"data-cy":"starter_password_step",class:"d-flex flex-column align-center w-100"},fe={"data-cy":"title",class:"starter__heading pb-6"},be={class:"d-flex justify-center"},ge={class:"starter__email","data-cy":"starter_email"},ye={class:"pb-14 skribbleu"},xe=["href"],ke={key:1,class:"d-flex flex-column align-center w-100","data-cy":"starter_name_step"},we={"data-cy":"title",class:"starter__heading pb-16"},Ve={class:"text-left skribbleu mt-10 mb-6"},ve=["href"],Ne=q({__name:"index",setup(Ce){const{t:s}=H(),{track:w}=M();O(()=>{w(S.SIGNUP_PAGE_VIEWED)});const{smAndDown:I}=W(),f=d(!1),c=d(!1),V=$(),{language:B}=h(Q()),b=se(()=>typeof V.query.email=="string"?V.query.email:""),{directUserRepository:P}=Y(),{loginConvertedNasUser:R}=Z(),D=J(),{platform:z}=h(D),F=async()=>{c.value=!0,await P.starterSignup({firstName:t.firstName,lastName:t.lastName,password:t.password,isGtcAccepted:t.accept,language:B.value,currency:z.value==="CH"?"CHF":"EUR"}),await R(b.value,t.password),w(S.ACCOUNT_CREATED),c.value=!1,localStorage.setItem("showWelcomeToStarterPlan","true"),le({name:"index"})},v=m=>oe(m)&&!ne(m),t=re({password:"",firstName:"",lastName:"",accept:!1}),g=d(!1),u=d(!1),p=d("password"),N=()=>{p.value==="password"&&g.value&&(p.value="name")},G=()=>{t.password="",p.value="password"};return(m,a)=>{const L=j,C=K("i18n-t");return _(),y("div",me,[e(p)==="password"?(_(),y("div",_e,[i("h1",fe,n(e(s)("signup.step.1.title")),1),e(b)?(_(),X(de,{key:0,color:"grey-light-4",class:"mb-12 w-100"},{default:r(()=>[i("div",be,[i("strong",ge,n(e(b)),1)])]),_:1})):ee("",!0),i("p",ye,n(e(s)("signup.step.1.subtitle",10)),1),o(T,{modelValue:e(f),"onUpdate:modelValue":a[2]||(a[2]=l=>A(f)?f.value=l:null),class:"mb-8 w-100",onSubmit:a[3]||(a[3]=U(()=>{},["prevent"]))},{default:r(()=>[o(L,{modelValue:e(t).password,"onUpdate:modelValue":a[0]||(a[0]=l=>e(t).password=l),label:e(s)("global.password"),class:"starter__input",name:"newPassword","data-cy":"password_input",onValidate:a[1]||(a[1]=l=>g.value=l),onEnter:N},null,8,["modelValue","label"]),o(x,{size:"xl",class:"mt-4 mb-2",block:"","data-cy":"next_step_button",color:"purple-dark",disabled:!e(g),loading:e(c),onClick:N},{default:r(()=>[k(n(e(s)("global.next")),1)]),_:1},8,["disabled","loading"])]),_:1},8,["modelValue"]),i("div",{class:ae([e(I)?"mx-0 mt-6 text-left":"pa-4 text-center","starter__policy"])},[o(C,{keypath:"global.privacy_policy.text"},{link:r(()=>[i("a",{href:e(s)("global.privacy_policy.link_url"),class:"link fwn",target:"_blank",rel:"noopener"},n(e(s)("global.privacy_policy.link_text")),9,xe)]),_:1})],2)])):(_(),y("div",ke,[i("h1",we,n(e(s)("signup.step.2.title")),1),o(T,{modelValue:e(u),"onUpdate:modelValue":a[8]||(a[8]=l=>A(u)?u.value=l:null),class:"w-100"},{default:r(()=>[o(E,{modelValue:e(t).firstName,"onUpdate:modelValue":a[4]||(a[4]=l=>e(t).firstName=l),"data-cy":"first_name_input",autocomplete:"given-name",label:e(s)("signup.step.2.label_first_name"),rules:[v],class:"mb-4 starter__input"},null,8,["modelValue","label","rules"]),o(E,{modelValue:e(t).lastName,"onUpdate:modelValue":a[5]||(a[5]=l=>e(t).lastName=l),class:"mb-6 starter__input","data-cy":"last_name_input",autocomplete:"family-name",label:e(s)("signup.step.2.label_last_name"),rules:[v]},null,8,["modelValue","label","rules"]),o(pe,{class:"my-4"}),i("p",Ve,n(e(s)("gtc.scenario_2.text")),1),o(ce,{modelValue:e(t).accept,"onUpdate:modelValue":a[7]||(a[7]=l=>e(t).accept=l),"data-cy":"privacy_policy_checkbox",class:"mb-14 text-left starter__policy"},{default:r(()=>[o(C,{keypath:"gtc.scenario_2.checkbox.label_text",tag:"div",for:"gtc.scenario_2.checkbox.label_link_text"},{default:r(()=>[i("a",{class:"d-sm-inline",href:e(s)("gtc.scenario_2.checkbox.label_link_url"),target:"_blank",rel:"noopener",onClick:a[6]||(a[6]=U(()=>{},["stop"]))},n(e(s)("gtc.scenario_2.checkbox.label_link_text")),9,ve)]),_:1})]),_:1},8,["modelValue"]),te(m.$slots,"actions",{},()=>[o(ue,{size:"xl",stacked:"",class:"my-0"},{default:r(()=>[o(x,{"data-cy":"submit_button",disabled:!e(u)||!e(t).accept||e(c),loading:e(c),color:"purple-dark",size:"xl",class:"mb-5",onClick:F},{default:r(()=>[k(n(e(s)("signup.register_now")),1)]),_:1},8,["disabled","loading"]),o(x,{"data-cy":"cancel_button",type:"text",onClick:G},{default:r(()=>[k(n(e(s)("business.setup.billing.back")),1)]),_:1})]),_:1})],!0)]),_:3},8,["modelValue"])]))])}}}),Le=ie(Ne,[["__scopeId","data-v-b8f68089"]]);export{Le as default};
2//# sourceMappingURL=B3IxeK0N.js.map

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.