PageSourceSearch

https://www.vivastreet.co.uk/_nuxt/UsDUUqL9.js

js vivastreet.co.uk collected 2026-09-25 19:52:23 UTC 1,710 bytes, 1 lines download raw bytes

1import{_ as y}from"./v442Xk7x.js";import{D as _,cF as h,x as F,b7 as S,h as T,ap as O,u as b,z as E,k as s,R as p,A as n,o as A,c as P}from"./Da8mETzA.js";import{u as C}from"./DfyTL7eJ.js";import{u as U}from"./DItTE2OY.js";import"./BQtIHUhQ.js";import"./SDuCV4ab.js";import"./KzFf-jUO.js";import"./BOpaJqAy.js";import"./C6Y-ieo6.js";import"./Cq2poSBx.js";import"./Bkvy7wa7.js";import"./B0GSFqv5.js";import"./FOkCSXzy.js";import"./C8ME3oCe.js";import"./DvfaLSax.js";import"./Cc2IPWSx.js";import"./DWAHkEx0.js";const X={__name:"email-otp",setup($){const d=_(),u=h(),f=F(),r=n(""),{email:g,uuid:m}=S(u),i=n(""),{t:v}=T();O({title:v("registration_title")});const a=n({}),l=n(!1),R=b().$turnstileKey,k=async()=>{const c=f.apnv?"phone":"details",e={uuid:m.value,otpCode:i.value?.join(""),otpType:"email",turnstileToken:r.value,turnstileKey:R};l.value=!0;try{await C("/otp/validate/",{method:"POST",body:e,onResponse({response:o}){if(o.ok){const{_data:t}=o,{otpStatus:x}=t.data;u.updateOtpStatus("email",x),d.push({path:`/user/registration/${c}`})}},onResponseError({response:o}){r.value="";const t=U(o,"email");t&&(a.value=t,u.incrementOtp("email"))}})}catch(o){if(Object.keys(a.value).length===0)throw P(o)}finally{l.value=!1}};return(c,e)=>{const o=y;return A(),E(o,{"turnstile-token":s(r),"onUpdate:turnstileToken":e[0]||(e[0]=t=>p(r)?r.value=t:null),"external-results":s(a),"onUpdate:externalResults":e[1]||(e[1]=t=>p(a)?a.value=t:null),"otp-code":s(i),"onUpdate:otpCode":e[2]||(e[2]=t=>p(i)?i.value=t:null),uuid:s(m),email:s(g),"email-path":"/user/registration/email","is-fetching":s(l),onSubmit:k},null,8,["turnstile-token","external-results","otp-code","uuid","email","is-fetching"])}}};export{X 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.