import{d as h,u as f,b as x,n as v,q as w,s as k,c as r,a as t,f as n,w as p,j as s,l as y,y as C,r as E,o as i,F as j,i as R,T as $,t as _,I as B,af as D}from"./index-deud-udu.js";import{_ as I,a as L}from"./coming-soon-object3-ihzdcm-o.js";import{_ as P,a as S,b as F}from"./polygon-object-DNYA5wQ_.js";import{_ as V}from"./icon-mail.vue_vue_type_script_setup_true_lang-D4K9PH65.js";const M=t("div",{class:"absolute inset-0"},[t("img",{src:I,alt:"image",class:"h-full w-full object-cover"})],-1),N={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"},U=t("img",{src:P,alt:"image",class:"absolute left-0 top-1/2 h-full max-h-[893px] -translate-y-1/2"},null,-1),q=t("img",{src:S,alt:"image",class:"absolute left-24 top-0 h-40 md:left-[30%]"},null,-1),z=t("img",{src:L,alt:"image",class:"absolute right-0 top-0 h-[300px]"},null,-1),A=t("img",{src:F,alt:"image",class:"absolute bottom-0 end-[28%]"},null,-1),O={class:"relative w-full max-w-[870px] rounded-md bg-[linear-gradient(45deg,#fff9f9_0%,rgba(255,255,255,0)_25%,rgba(255,255,255,0)_75%,_#fff9f9_100%)] p-2 dark:bg-[linear-gradient(52.22deg,#0E1726_0%,rgba(14,23,38,0)_18.66%,rgba(14,23,38,0)_51.04%,rgba(14,23,38,0)_80.07%,#0E1726_100%)]"},T={class:"relative flex flex-col justify-center rounded-md bg-white/60 backdrop-blur-lg dark:bg-black/50 px-6 lg:min-h-[758px] py-20"},G={class:"absolute top-6 end-6"},H={class:"dropdown"},J={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"},K=["src"],Q={class:"text-base font-bold uppercase"},W={class:"shrink-0"},X={class:"!px-2 text-dark dark:text-white-dark grid grid-cols-2 gap-2 font-semibold dark:text-white-light/90 w-[280px]"},Y=["onClick"],Z=["src"],tt={class:"ltr:ml-3 rtl:mr-3"},et={class:"mx-auto w-full max-w-[440px]"},st=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),at=t("label",{for:"Email",class:"dark:text-white"},"Email",-1),ot={class:"relative text-white-dark"},lt=t("input",{id:"Email",type:"email",placeholder:"Enter Email",class:"form-input ps-10 placeholder:text-white-dark"},null,-1),rt={class:"absolute start-4 top-1/2 -translate-y-1/2"},nt=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),mt=h({__name:"boxed-password-reset",setup(it){f({title:"Reset Password Boxed"});const u=C(),a=x(),o=v(w()),m=l=>{o.locale=l.code,D.toggleLanguage(l)},g=k(()=>`/assets/images/flags/${o.locale.toUpperCase()}.svg`);return(l,c)=>{const b=E("Popper");return i(),r("div",null,[M,t("div",N,[U,q,z,A,t("div",O,[t("div",T,[t("div",G,[t("div",H,[n(b,{placement:s(a).rtlClass==="rtl"?"bottom-start":"bottom-end",offsetDistance:"8"},{content:p(({close:d})=>[t("ul",X,[(i(!0),r(j,null,R(s(a).languageList,e=>(i(),r("li",{key:e.code},[t("button",{type:"button",class:$(["w-full hover:text-primary",{"bg-primary/10 text-primary":o.locale===e.code}]),onClick:ct=>(m(e),d())},[t("img",{class:"w-5 h-5 object-cover rounded-full",src:`/assets/images/flags/${e.code.toUpperCase()}.svg`,alt:""},null,8,Z),t("span",tt,_(e.name),1)],10,Y)]))),128))])]),default:p(()=>[t("button",J,[t("div",null,[t("img",{src:g.value,alt:"image",class:"h-5 w-5 rounded-full object-cover"},null,8,K)]),t("div",Q,_(s(a).locale),1),t("span",W,[n(B)])])]),_:1},8,["placement"])])]),t("div",et,[st,t("form",{class:"space-y-5",onSubmit:c[0]||(c[0]=y(d=>s(u).push("/"),["prevent"]))},[t("div",null,[at,t("div",ot,[lt,t("span",rt,[n(V,{fill:!0})])])]),nt],32)])])])])])}}});export{mt as default};
