Your IP : 216.73.217.77


Current Path : /home/users/unlimited/www/whatsapp-crm/public/build/assets/
Upload File :
Current File : /home/users/unlimited/www/whatsapp-crm/public/build/assets/VerifyEmail-935d161b.js

import{r as m,c as s,a as e,e as f,f as h,u as p,t as a,k as r,j as u,O as _,K as y,o,l as v}from"./app-43851608.js";import{l as x}from"./index-99011d5f.js";/* empty css              */const g={class:"flex h-screen justify-center"},k={class:"flex justify-center"},C={class:"w-[20em] mt-40"},b={class:"flex justify-center mb-5"},w=["src","alt"],N={key:1,class:"text-2xl mb-2"},V={class:"text-2xl text-center"},j={class:"py-2 text-center bg-slate-50 rounded-md my-4 px-4"},B={class:"text-center text-sm text-slate-500 flex items-center justify-center"},E={key:0,class:"flex items-center gap-x-1"},T=u('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><g fill="none" stroke="black" stroke-linecap="round" stroke-width="2"><path stroke-dasharray="60" stroke-dashoffset="60" stroke-opacity="0.3" d="M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3Z"><animate fill="freeze" attributeName="stroke-dashoffset" dur="1.3s" values="60;0"></animate></path><path stroke-dasharray="15" stroke-dashoffset="15" d="M12 3C16.9706 3 21 7.02944 21 12"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.3s" values="15;0"></animate><animateTransform attributeName="transform" dur="1.5s" repeatCount="indefinite" type="rotate" values="0 12 12;360 12 12"></animateTransform></path></g></svg>',1),$=["disabled"],S={class:"border-b hover:border-none hover:underline"},F={__name:"VerifyEmail",props:["flash","config","companyConfig"],setup(c){const i=c,n=m(!1),l=()=>{n.value=!0,_.visit("/email/verification-notification",{method:"post",data:{},onFinish:()=>{n.value=!1,d(y().props.flash.status.message)}})},d=t=>{x(t,{autoClose:3e3})};return(t,z)=>(o(),s("div",g,[e("div",k,[e("div",C,[e("div",b,[f(p(v),{href:"/"},{default:h(()=>[i.companyConfig.logo?(o(),s("img",{key:0,class:"max-w-[180px]",src:"/media/"+i.companyConfig.logo,alt:i.companyConfig.company_name},null,8,w)):(o(),s("h4",N,a(i.companyConfig.company_name),1))]),_:1})]),e("h1",V,a(t.$t("Verify your email")),1),e("div",j,a(t.$t("We've sent you a verification link to your email, click on it to continue")),1),e("div",B,[n.value?(o(),s("span",E,[r(" Processing "),T])):(o(),s("button",{key:1,onClick:l,disabled:n.value,class:"text-sm text-primary-600 dark:text-primary-500 ml-1"},[r(a(t.$t("Email not received?"))+" ",1),e("span",S,a(t.$t("Resend email")),1)],8,$))])])])]))}};export{F as default};