PageSourceSearch

https://beyondconquerors.org/_nuxt/91EGfbzc.js

js beyondconquerors.org collected 2026-10-04 07:20:57 UTC 3,719 bytes, 1 lines download raw bytes

1import c from"./DjVMMfsH.js";import{_ as g,u as C,i as m,b,o as n,w as v,e as t,f as s,z as p,a as u,d as x,A as y,B as h,v as L,G as M}from"./Do1nZpFk.js";import"./BM5aYONo.js";const P={class:"forgot-password-modal position-relative d-flex flex-column align-items-center justify-center bg-white"},k={class:"forgot-password-modal__content w-100 bg-white font-[Inter]"},B={class:"forgot-password-modal__field form-group"},E=["disabled"],S=["textContent"],V=["disabled"],F={key:0},D={key:1},U=["disabled"],A={__name:"ForgotPassword",setup(I){const{authStore:e}=C(),a=m(!1),r=m(""),i=m({email:"",password:""}),f=()=>{r.value="",a.value=!0,e.forgetPassword(i.value.email).then(()=>{M({icon:"success",iconColor:"#4F83E3",toast:!0,position:"top-right",title:"A link to reset your password has been sent to the specified email.",showConfirmButton:!1,timer:6e3}),e.forgotPasswordModal=!1}).catch(l=>{var o;console.error("Error:",l.data.message),r.value=((o=l==null?void 0:l.data)==null?void 0:o.message)||"Email is not found.",a.value=!1}).finally(()=>{a.value=!1})},w=()=>{e.authModal=!0,e.forgotPasswordModal=!1};return(l,o)=>{const _=c;return n(),b(_,{modelValue:s(e).forgotPasswordModal,"onUpdate:modelValue":o[2]||(o[2]=d=>s(e).forgotPasswordModal=d)},{default:v(()=>[t("div",P,[t("button",{type:"button",class:"forgot-password-modal__close",onClick:o[0]||(o[0]=d=>s(e).forgotPasswordModal=!1),"aria-label":"Close forgot password modal"},o[3]||(o[3]=[t("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M6.71152 5.5L10.8243 1.38681C10.9374 1.27358 10.9998 1.12252 11 0.961445C11 0.80028 10.9376 0.649042 10.8243 0.535994L10.4639 0.175654C10.3506 0.0621585 10.1995 0 10.0383 0C9.87729 0 9.72624 0.0621585 9.61293 0.175654L5.50018 4.28858L1.38725 0.175654C1.27412 0.0621585 1.12298 0 0.961829 0C0.800854 0 0.649715 0.0621585 0.536585 0.175654L0.176 0.535994C-0.0586667 0.770676 -0.0586667 1.15239 0.176 1.38681L4.28884 5.5L0.176 9.61302C0.0627805 9.72642 0.000447154 9.87748 0.000447154 10.0386C0.000447154 10.1996 0.0627805 10.3507 0.176 10.464L0.536496 10.8243C0.649626 10.9378 0.800854 11 0.96174 11C1.12289 11 1.27403 10.9378 1.38716 10.8243L5.50009 6.71133L9.61284 10.8243C9.72615 10.9378 9.8772 11 10.0382 11H10.0383C10.1994 11 10.3505 10.9378 10.4638 10.8243L10.8242 10.464C10.9373 10.3508 10.9997 10.1996 10.9997 10.0386C10.9997 9.87748 10.9373 9.72642 10.8242 9.6131L6.71152 5.5Z"})],-1)])),t("div",k,[o[6]||(o[6]=t("h3",{class:"forgot-password-modal__title text-center"},"Forgot Your Password?",-1)),o[7]||(o[7]=t("p",{class:"forgot-password-modal__description text-center text-[15px] text-[#777D82]"}," Enter your username and we will send you instructions to rest your password ",-1)),t("form",{class:"forgot-password-modal__form",onSubmit:p(f,["prevent"])},[t("div",B,[o[4]||(o[4]=t("label",{class:"mb-2"},"Email",-1)),y(t("input",{class:"forgot-password-modal__input rounded border",disabled:s(a),placeholder:"Email","onUpdate:modelValue":o[1]||(o[1]=d=>s(i).email=d),id:"email",name:"email",type:"email",autocomplete:"email",required:""},null,8,E),[[h,s(i).email]])]),s(r).length?(n(),u("div",{key:0,class:"forgot-password-modal__error text-center",textContent:L(s(r))},null,8,S)):x("",!0),t("button",{class:"forgot-password-modal__primary transition-colors",disabled:s(a),type:"submit"},[s(a)?(n(),u("span",F," Loading... ")):(n(),u("span",D,"Reset Password"))],8,V),t("button",{type:"button",class:"forgot-password-modal__secondary transition-colors",disabled:s(a),onClick:p(w,["prevent"])},o[5]||(o[5]=[t("span",null,"Login",-1)]),8,U)],32)])])]),_:1},8,["modelValue"])}}},z=g(A,[["__scopeId","data-v-4b4e22d9"]]);export{z 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.