PageSourceSearch

https://www.wingsforlifeworldrun.com/_nuxt/D9apIclc.js

js wingsforlifeworldrun.com collected 2026-09-24 08:39:11 UTC 6,209 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9563545f-26dd-5a54-aa26-de8362cb41a4")}catch(e){}}();
3import{aP as ne,e5 as U,b6 as se,b7 as oe,ec as le,a_ as re,bN as ie,bf as me,bm as _,aS as l,aV as r,ch as ue,aT as s,b3 as n,aY as t,ct as ce,bo as w,aW as i,b9 as de,d6 as $,aX as v,bp as V,cU as pe,dN as fe,bh as L,bi as S,bj as W,b5 as _e,b4 as d,ba as ge,cv as be,cR as ye,c0 as he,c5 as q,bc as ve}from"./BV2unoxx.js";import{_ as Le}from"./BwBadgh4.js";import{_ as Ne}from"./iN6stiF1.js";import{_ as we,a as $e}from"./6rukpRl3.js";import{_ as Ve}from"./BY5IR05s.js";import{_ as ke}from"./BjCPoxdu.js";import{i as B,u as F}from"./DfnXLKA-.js";import"./DoRCrDSh.js";import"./CEz7OimK.js";import"./AIIWNaGY.js";import"./DT6_4y0H.js";import"./Cpj98o6Y.js";const Oe={class:"mb-xl flex flex-col items-center"},xe=["textContent"],Ce={class:"flex w-full flex-col gap-xl"},Ie={class:"flex flex-col gap-m"},Ue={class:"w-full"},Se={key:3,class:"mb-xl flex items-stretch gap-s"},We={class:"flex flex-col justify-center"},qe={key:4,class:"mt-m"},Ye=ne({__name:"register",async setup(Be){let g,k;const m=_({firstname:"",lastname:""}),b=_([]),p=_(!1),N=_({}),{getConfig:E}=U(),{getUser:M,redirectIfLoggedIn:A}=se(),P=U(),T=oe(),O=le(),{t:j,locale:R,mergeLocaleMessage:D}=re(),{data:u}=([g,k]=ie(()=>ue("authConfig",E)),g=await g,k(),g);u.value&&D(R.value,u.value?.translations);function K(){p.value=!0,window.scrollTo({top:0})}async function z(e){b.value=[];try{const a=await T.post("users",{...e,terms:Object.values(N.value)});await P.login({email:e.email,password:e.password}),await M(!0),O.identify(a.id,{id:a.id,bloomreachId:a.bloomreachId,gender:a.gender,birthday:a.birthday}),O.track("Account Created"),q("ga4Event",{event_name:"sign_up",sign_up:{status:"Success",method:"Email",user_type:"Member",bloomreachId:a.bloomreachId}}),await A()}catch(a){a.data&&a.data?.message?b.value=[a.data.message]:b.value=[j(ve.failedToRegister)],q("ga4Event",{event_name:"sign_up",sign_up:{status:"Fail",method:"Email",user_type:"Member"}})}}const y=_(!1);return me(()=>{y.value=!0}),(e,a)=>{const X=de,Y=pe,G=Le,H=Ne,x=ge,C=_e,c=$e,J=Ve,Q=ke,I=be,Z=we;return s(),l(Z,{image:"/content/create-account/create_account.jpg"},{default:r(()=>[n(t(ce),{"config-file":"true","default-config":!1},{default:r(()=>[w(n(X,{icon:"wr:arrow-left",class:"absolute left-4 top-4","aria-label":e.$t("global.back"),onClick:a[0]||(a[0]=o=>p.value=!1)},null,8,["aria-label"]),[[$,t(p)]]),i("section",Oe,[i("h1",{class:"mb-m text-4 uppercase",textContent:v(e.$t("auth.register.create"))},null,8,xe),i("span",null,[V(v(e.$t("auth.account"))+" ",1),n(Y,{to:{name:"login",query:(e._.provides[fe]||e.$route).query},class:"font-bold text-secondary-brand underline"},{default:r(()=>[V(v(e.$t("auth.login.cta")),1)]),_:1},8,["to"])])]),w(i("section",Ce,[i("div",Ie,[(s(!0),L(S,null,W(t(u)?.authProvider,o=>(s(),l(G,{key:o.type,url:o.url,type:o.type,title:e.$t(`auth.connectWith.${o.type}`)},null,8,["url","type","title"]))),128))]),n(H,{label:e.$t("auth.form.loginOr")},null,8,["label"]),n(C,{color:"outline",disabled:!t(y),onClick:K},{prefixIcon:r(()=>[t(y)?d("",!0):(s(),l(x,{key:0,name:"wr:loading",class:"mr-s size-xl"}))]),default:r(()=>[V(" "+v(e.$t("auth.continue.email")),1)]),_:1},8,["disabled"])],512),[[$,!t(p)]]),w(i("section",Ue,[n(I,{id:"register",type:"form",method:"post","incomplete-message":!1,"form-class":"flex flex-col w-full",actions:!1,errors:t(b),onSubmit:z},{default:r(({value:o,state:ee,messages:te})=>[n(c,{modelValue:t(m).firstname,"onUpdate:modelValue":a[1]||(a[1]=f=>t(m).firstname=f),type:"text",name:"firstname",label:e.$t("auth.form.firstName"),autocomplete:"given-name",validation:"required|length:0,255"},null,8,["modelValue","label"]),("isValidUserLatinName"in e?e.isValidUserLatinName:t(B))(t(m).firstname)?d("",!0):(s(),l(c,{key:0,type:"text",name:"firstname_latin",label:e.$t("auth.form.firstNameLatin"),autocomplete:"given-name",validation:"required|userLatinNameOnly|length:0,255","validation-rules":{userLatinNameOnly:"userLatinNameOnly"in e?e.userLatinNameOnly:t(F)},"validation-messages":{userLatinNameOnly:e.$t("auth.form.errorLatinOnly")}},null,8,["label","validation-rules","validation-messages"])),n(c,{modelValue:t(m).lastname,"onUpdate:modelValue":a[2]||(a[2]=f=>t(m).lastname=f),type:"text",name:"lastname",label:e.$t("auth.form.lastName"),autocomplete:"family-name",validation:"required|length:0,255"}
3,null,8,["modelValue","label"]),("isValidUserLatinName"in e?e.isValidUserLatinName:t(B))(t(m).lastname)?d("",!0):(s(),l(c,{key:1,type:"text",name:"lastname_latin",label:e.$t("auth.form.lastNameLatin"),autocomplete:"family-name",validation:"required|userLatinNameOnly|length:0,255","validation-rules":{userLatinNameOnly:"userLatinNameOnly"in e?e.userLatinNameOnly:t(F)},"validation-messages":{userLatinNameOnly:e.$t("auth.form.errorLatinOnly")}},null,8,["label","validation-rules","validation-messages"])),n(c,{type:"email",name:"email",label:e.$t("auth.form.email"),autocomplete:"email",validation:"required|email"},null,8,["label"]),n(c,{type:"password",name:"password",label:e.$t("auth.form.password"),autocomplete:"current-password",validation:"required|length:6"},null,8,["label"]),o?.password?(s(),l(J,{key:2,class:"mt-s",value:o?.password||""},null,8,["value"])):d("",!0),ee.validationVisible&&Object.keys(te).length?(s(),L("div",Se,[n(x,{name:"wr:metrics-alert",class:"flex-none"}),i("div",We,[n(t(ye))])])):d("",!0),n(C,{type:"submit",disabled:!t(y),content:e.$t("auth.register.create"),class:"mt-xl"},null,8,["disabled","content"]),t(u)?.terms&&t(u)?.terms.length?(s(),L("div",qe,[n(I,{type:"group",name:"terms"},{default:r(()=>[(s(!0),L(S,null,W(t(u)?.terms,({key:f,...h})=>(s(),l(Q,he({key:f??h.id},{ref_for:!0},h,{modelValue:t(N)[h.id],"onUpdate:modelValue":ae=>t(N)[h.id]=ae}),null,16,["modelValue","onUpdate:modelValue"]))),128))]),_:1})])):d("",!0)]),_:1},8,["errors"])],512),[[$,t(p)]])]),_:1})]),_:1})}}});
3export{Ye as default};
4
5//# debugId=9563545f-26dd-5a54-aa26-de8362cb41a4

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.