import{d as b,u as w,b as v,n as k,q as y,s as C,c as n,a as t,f as s,w as l,j as a,l as E,t as c,y as j,r as g,o as d,F as R,i as I,T as L,I as D,af as S}from"./index-deud-udu.js";import{_ as $,a as F}from"./coming-soon-object3-ihzdcm-o.js";import{_ as P,a as V,b as B}from"./polygon-object-DNYA5wQ_.js";import{_ as A,a as M}from"./logo-CLi98mzz.js";import{_ as N}from"./icon-mail.vue_vue_type_script_setup_true_lang-D4K9PH65.js";const O="/assets/images/auth/reset-password.svg",T=t("div",{class:"absolute inset-0"},[t("img",{src:$,alt:"image",class:"h-full w-full object-cover"})],-1),U={class:"relative flex min-h-screen items-center justify-center bg-[url(/assets/images/auth/map.png)] bg-cover bg-center bg-no-repeat px-6 py-10 dark:bg-[#060818] sm:px-16"},q=t("img",{src:P,alt:"image",class:"absolute left-0 top-1/2 h-full max-h-[893px] -translate-y-1/2"},null,-1),z=t("img",{src:V,alt:"image",class:"absolute left-24 top-0 h-40 md:left-[30%]"},null,-1),Y=t("img",{src:F,alt:"image",class:"absolute right-0 top-0 h-[300px]"},null,-1),G=t("img",{src:B,alt:"image",class:"absolute bottom-0 end-[28%]"},null,-1),H={class:"relative flex w-full max-w-[1502px] flex-col justify-between overflow-hidden rounded-md bg-white/60 backdrop-blur-lg dark:bg-black/50 lg:min-h-[758px] lg:flex-row lg:gap-10 xl:gap-0"},J={class:"relative hidden w-full items-center justify-center bg-[linear-gradient(225deg,rgba(239,18,98,1)_0%,rgba(67,97,238,1)_100%)] p-5 lg:inline-flex lg:max-w-[835px] xl:-ms-28 ltr:xl:skew-x-[14deg] rtl:xl:skew-x-[-14deg]"},K=t("div",{class:"absolute inset-y-0 w-8 from-primary/10 via-transparent to-transparent ltr:-right-10 ltr:bg-gradient-to-r rtl:-left-10 rtl:bg-gradient-to-l xl:w-16 ltr:xl:-right-20 rtl:xl:-left-20"},null,-1),Q={class:"ltr:xl:-skew-x-[14deg] rtl:xl:skew-x-[14deg]"},W=t("img",{src:A,alt:"Logo",class:"w-full"},null,-1),X=t("div",{class:"mt-24 hidden w-full max-w-[430px] lg:block"},[t("img",{src:O,alt:"Cover Image",class:"w-full"})],-1),Z={class:"relative flex w-full flex-col items-center justify-center gap-6 px-4 pb-16 pt-6 sm:px-6 lg:max-w-[667px]"},tt={class:"flex w-full max-w-[440px] items-center gap-2 lg:absolute lg:end-6 lg:top-6 lg:max-w-full"},et=t("img",{src:M,alt:"Logo",class:"mx-auto w-10"},null,-1),st={class:"dropdown ms-auto w-max"},lt={type:"button",class:"flex items-center gap-2.5 rounded-lg border border-white-dark/30 bg-white px-2 py-1.5 text-white-dark hover:border-primary hover:text-primary dark:bg-black"},at=["src"],ot={class:"text-base font-bold uppercase"},rt={class:"shrink-0"},it={class:"!px-2 text-dark dark:text-white-dark grid grid-cols-2 gap-2 font-semibold dark:text-white-light/90 w-[280px]"},nt=["onClick"],ct=["src"],dt={class:"ltr:ml-3 rtl:mr-3"},pt={class:"w-full max-w-[440px] lg:mt-16"},_t=t("div",{class:"mb-7"},[t("h1",{class:"mb-3 text-2xl font-bold !leading-snug dark:text-white"},"Password Reset"),t("p",null,"Enter your email to recover your ID")],-1),mt=t("label",{for:"Email"},"Email",-1),gt={class:"relative text-white-dark"},ut=t("input",{id:"Email",type:"email",placeholder:"Enter Email",class:"form-input pl-10 placeholder:text-white-dark"},null,-1),ht={class:"absolute left-4 top-1/2 -translate-y-1/2"},xt=t("button",{type:"submit",class:"btn btn-gradient !mt-6 w-full border-0 uppercase shadow-[0_10px_20px_-10px_rgba(67,97,238,0.44)]"}," RECOVER ",-1),ft={class:"absolute bottom-6 w-full text-center dark:text-white"},jt=b({__name:"cover-password-reset",setup(bt){w({title:"Reset Password Cover"});const u=j(),o=v(),r=k(y()),h=i=>{r.locale=i.code,S.toggleLanguage(i)},x=C(()=>`/assets/images/flags/${r.locale.toUpperCase()}.svg`);return(i,p)=>{const _=g("router-link"),f=g("Popper");return d(),n("div",null,[T,t("div",U,[q,z,Y,G,t("div",H,[t("div",J,[K,t("div",Q,[s(_,{to:"/",class:"w-48 block lg:w-72 ms-10"},{default:l(()=>[W]),_:1}),X])]),t("div",Z,[t("div",tt,[s(_,{to:"/",class:"w-8 block lg:hidden"},{default:l(()=>[et]),_:1}),t("div",st,[s(f,{placement:a(o).rtlClass==="rtl"?"bottom-start":"bottom-end",offsetDistance:"8"},{content:l(({close:m})=>[t("ul",it,[(d(!0),n(R,null,I(a(o).languageList,e=>(d(),n("li",{key:e.code},[t("button",{type:"button",class:L(["w-full hover:text-primary",{"bg-primary/10 text-primary":r.locale===e.code}]),onClick:wt=>(h(e),m())},[t("img",{class:"w-5 h-5 object-cover rounded-full",src:`/assets/images/flags/${e.code.toUpperCase()}.svg`,alt:""},null,8,ct),t("span",dt,c(e.name),1)],10,nt)]))),128))])]),default:l(()=>[t("button",lt,[t("div",null,[t("img",{src:x.value,alt:"image",class:"h-5 w-5 rounded-full object-cover"},null,8,at)]),t("div",ot,c(a(o).locale),1),t("span",rt,[s(D)])])]),_:1},8,["placement"])])]),t("div",pt,[_t,t("form",{class:"space-y-5",onSubmit:p[0]||(p[0]=E(m=>a(u).push("/"),["prevent"]))},[t("div",null,[mt,t("div",gt,[ut,t("span",ht,[s(N,{fill:!0})])])]),xt],32)]),t("p",ft,"© "+c(new Date().getFullYear())+".VRISTO All Rights Reserved.",1)])])])])}}});export{jt as default};
