PageSourceSearch

https://portal.popis.pro/assets/VerifyEmailView-D_SeukCw.js

js popis.pro collected 2026-10-02 02:07:30 UTC 3,731 bytes, 1 lines download raw bytes

1import{_ as x,a as y}from"./FullScreenLayout-B_YpPTTd.js";import{O as _,u as h,o as w,z as k,b as a,d as p,A as u,f as e,c as o,t as n,e as m,s as d,g as b,C as E,B as j,h as v,j as S}from"./index-CpMZyRLM.js";import{C}from"./CommonGridShape-C_kefxnC.js";import"./LanguageSwitcher-CT0odWit.js";const V={class:"relative p-6 bg-white z-1 dark:bg-gray-900 sm:p-0"},B={class:"relative flex flex-col justify-center w-full h-screen lg:flex-row dark:bg-gray-900"},M={class:"flex flex-col flex-1 w-full lg:w-1/2"},N={class:"flex flex-col justify-center flex-1 w-full max-w-md mx-auto"},T={class:"text-center"},I={key:0,class:"flex justify-center mb-5"},z={key:1,class:"flex justify-center mb-5"},A={key:2,class:"flex justify-center mb-5"},L={class:"mb-2 text-2xl font-semibold text-gray-800 dark:text-white/90"},P={key:3,class:"mt-2 text-sm text-gray-500 dark:text-gray-400"},Z={key:4,class:"mt-8"},q={class:"relative items-center hidden w-full h-full lg:w-1/2 bg-brand-950 dark:bg-white/5 lg:grid"},D={class:"flex items-center justify-center z-1"},O={class:"flex flex-col items-center max-w-lg"},R={class:"text-center text-gray-400 dark:text-white/60"},K={__name:"VerifyEmailView",setup(Y){const f=_(),g=h(),s=S(()=>g.language),r=v("verifying"),l=v("");return w(async()=>{const c=(f.query.token||"").toString(),t=(f.query.email||"").toString();if(!c||!t){r.value="error",l.value=s.value.verifyEmailMissingParams||"Missing token or email — please use the link from your email.";return}const i=await E.post(j.VERIFY_EMAIL,{token:c,email:t});i.status?(r.value="success",l.value=i.message||s.value.verifyEmailSuccess||"Your email has been verified."):(r.value="error",l.value=i.message||s.value.verifyEmailError||"Could not verify your email.")}),(c,t)=>{const i=k("router-link");return a(),p(y,null,{default:u(()=>[e("div",V,[e("div",B,[e("div",M,[e("div",N,[e("div",T,[r.value==="verifying"?(a(),o("div",I,[...t[0]||(t[0]=[e("div",{class:"h-16 w-16 animate-spin rounded-full border-4 border-brand-500 border-t-transparent"},null,-1)])])):r.value==="success"?(a(),o("div",z,[...t[1]||(t[1]=[e("div",{class:"flex items-center justify-center w-16 h-16 rounded-full bg-success-50 dark:bg-success-500/15"},[e("svg",{class:"w-8 h-8 text-success-500",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])],-1)])])):(a(),o("div",A,[...t[2]||(t[2]=[e("div",{class:"flex items-center justify-center w-16 h-16 rounded-full bg-error-50 dark:bg-error-500/15"},[e("svg",{class:"w-8 h-8 text-error-500",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"})])],-1)])])),e("h1",L,n(r.value==="verifying"?s.value.verifyingEmail||"Verifying your email...":r.value==="success"?s.value.verifyEmailSuccessTitle||"Email verified!":s.value.verifyEmailErrorTitle||"Verification failed"),1),l.value?(a(),o("p",P,n(l.value),1)):m("",!0),r.value!=="verifying"?(a(),o("div",Z,[d(i,{to:"/signin",class:"inline-flex items-center justify-center rounded-lg bg-brand-500 px-5 py-2.5 text-sm font-medium text-white hover:bg-brand-600"},{default:u(()=>[b(n(s.value.backToSignIn||"Back to sign in"),1)]),_:1})])):m("",!0)])])]),e("div",q,[e("div",D,[d(C),e("div",O,[d(i,{to:"/",class:"block mb-4"},{default:u(()=>[...t[3]||(t[3]=[e("div",{class:"w-50 text-center"},[e("img",{src:x,alt:"Logo"})],-1)])]),_:1}),e("p",R,n(s.value.adminText),1)])])])])])]),_:1})}}};export{K 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.