PageSourceSearch

https://rocketwriter.ai/_nuxt/GOgB2jgr.js

js rocketwriter.ai collected 2026-10-05 13:39:58 UTC 2,581 bytes, 1 lines download raw bytes

1import{e as g,s as x,m as d,i as y,c as i,a as t,b as o,w as u,B as v,p as _,o as n,d as f}from"./D3mXZbvm.js";import{B as m}from"./CbyiM6aK.js";import{S as b}from"./D0HDmefO.js";import{_ as h}from"./DlAUqK2U.js";import"./BodJxGTV.js";const k={class:"min-h-screen flex items-center justify-center bg-gray-50 px-4 py-12"},w={class:"max-w-md w-full bg-white rounded-2xl border border-gray-200 p-8 shadow-xl text-center"},B={key:0,class:"flex flex-col items-center py-8"},R={key:1,class:"animate-in fade-in zoom-in duration-500"},S={class:"mb-6 flex justify-center"},j={class:"w-20 h-20 bg-green-100 text-green-600 rounded-full flex items-center justify-center"},C={key:2,class:"animate-in fade-in zoom-in duration-500"},V={class:"mb-6 flex justify-center"},N={class:"w-20 h-20 bg-red-100 text-red-600 rounded-full flex items-center justify-center"},z=g({__name:"[hash]",setup(T){const l=x().params.hash,s=d(!1),a=d(!0);async function p(){a.value=!0;try{const{request:r}=v();(await r("/api/v3/user/registration/confirm",{method:"POST",body:JSON.stringify({registrationValidationCode:l})})).ok?s.value=!0:s.value=!1}catch(r){console.error("Registration confirmation error:",r),s.value=!1}finally{a.value=!1}}return y(()=>{l?p():(a.value=!1,s.value=!1)}),(r,e)=>{const c=_("font-awesome-icon");return n(),i("div",k,[t("div",w,[a.value?(n(),i("div",B,[o(b,{size:"lg",color:"secondary"}),e[0]||(e[0]=t("p",{class:"mt-4 text-gray-600 font-medium"},"Confirming your registration...",-1))])):s.value?(n(),i("div",R,[t("div",S,[t("div",j,[o(c,{icon:"check-circle",class:"text-5xl"})])]),e[2]||(e[2]=t("h1",{class:"text-3xl font-black text-gray-900 mb-4 uppercase tracking-tight"},"Registration Successful!",-1)),e[3]||(e[3]=t("p",{class:"text-gray-600 mb-8 leading-relaxed"}," Your account has been successfully verified. You can now access all features of RocketWriter.ai. ",-1)),o(m,{variant:"primary",block:"",class:"py-3",to:"/login"},{default:u(()=>[...e[1]||(e[1]=[f(" Sign In ",-1)])]),_:1})])):(n(),i("div",C,[t("div",V,[t("div",N,[o(c,{icon:"times-circle",class:"text-5xl"})])]),e[5]||(e[5]=t("h1",{class:"text-3xl font-black text-gray-900 mb-4 uppercase tracking-tight"},"Verification Failed",-1)),e[6]||(e[6]=t("p",{class:"text-gray-600 mb-8 leading-relaxed"}," The registration code is invalid or has expired. Please try to register again or contact support. ",-1)),o(m,{variant:"secondary",block:"",class:"py-3",to:"/registration"},{default:u(()=>[...e[4]||(e[4]=[f(" Back to Registration ",-1)])]),_:1})]))])])}}}),E=h(z,[["__scopeId","data-v-04333bee"]]);export{E 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.