PageSourceSearch

https://neoalexandria.com/_nuxt/zJv3M1vF.js

js neoalexandria.com collected 2026-10-02 01:37:54 UTC 5,601 bytes, 4 lines download raw bytes

1import{e as z,f as O,g as R,k as W,u as Z,r,m as E,c as i,h as e,a as s,q as b,d as n,s as N,v as S,x as F,y as x,t as f,p as I,o as u}from"./xxf4anHk.js";import{_ as B}from"./hNHGX4GJ.js";import{C as T}from"./CrKo-mju.js";import{_ as j}from"./DlAUqK2U.js";import"./DsqdWQfm.js";import"./TDtrdbi3.js";const q={class:"findPwView"},J={key:0,class:"findPw_Form__Wrap"},G=["alt"],K={class:"email_container"},Q=["placeholder"],X={class:"email-bottom"},Y={key:0,class:"Error_Msg email"},ee={key:1,class:"Error_Msg email"},se={class:"nickname_container"},te=["placeholder"],ae={class:"nickname-bottom"},le={key:0,class:"Error_Msg"},oe={key:1,class:"Error_Msg"},ne={class:"phone_container"},re=["placeholder"],ie={key:0,class:"Error_Msg"},ue={key:1,class:"Error_Msg"},ce=["aria-label"],me={key:1,class:"findPw_Form__Wrap"},de={class:"findPw_Form__Form"},_e=["alt"],pe=z({__name:"findPassword",setup(fe){const U=O(),{t:l,locale:V}=R(),P=W();Z({title:`${l("menu.findPw")} | ${l("title")}`});const C=r(!0),h=r(""),c=r(""),m=r(""),v=r(!1),g=r(!1),y=r(!1),d=r(!1),_=r(!1),p=r(!1),w={true:"1px solid #EB1B1B"},H=o=>T.HmacSHA256(o,"542hhl8sg78f24rhasf").toString(),D=o=>T.HmacSHA256(o,"542hhl8sg78f24rhasf").toString().slice(0,30),L=async()=>{if(h.value===""?d.value=!0:d.value=!1,c.value===""?_.value=!0:_.value=!1,m.value.replace(/\s/g,"")===""||m.value.replace(/\s/g,"")===null?p.value=!0:p.value=!1,d.value||_.value||p.value||v.value||g.value||y.value)return;const o=Math.random().toString(36).slice(2,10).toUpperCase(),a=H(o),t=D(c.value),k={email:h.value,nickname:m.value,phoneNumber:t,tempPassword:o,hashedPW:a};try{if((await $fetch("/api/user/findPw",{method:"POST",body:k})).message==="USER_NOT_FOUND"){P.setModal("alert"),P.setAlertContent("입력하신 정보와 일치하는 회원이 없습니다.");return}C.value=!1}catch(A){console.error(A);const $=`문제가 발생해 비밀번호 재설정이 완료되지 않았습니다.
2
3    잠시 후 다시 시도하시거나,
4    문제가 계속되면 지원팀에 문의해주세요.`;P.setModal("alert"),P.setAlertContent($)}},M=()=>{U.push("/")};return E(h,o=>{const a=/^[A-Za-z0-9_\.\-]+@[A-Za-z0-9\-]+\.[A-Za-z0-9\-]+/;d.value&&(d.value=!1),o!==""?o.match(a)!==null?v.value=!1:v.value=!0:v.value=!1}),E(c,o=>{const t=o.split("-").join("").replace(/\D[^\.]/g,"");let k;V.value==="ko"?k=/^(01[016789]{1})-?[0-9]{3,4}-?[0-9]{4}$/:k=/^(1\s?)?(\d{3}|\(\d{3}\))[\s\-]?\d{3}[\s\-]?\d{4}$/,_.value&&(_.value=!1),t!==""?t.match(k)!==null?(g.value=!1,t.length===10?c.value=t.slice(0,3)+"-"+t.slice(3,6)+"-"+t.slice(6):t.length===11&&(c.value=t.slice(0,3)+"-"+t.slice(3,7)+"-"+t.slice(7))):g.value=!0:g.value=!1}),E(m,o=>{p.value&&(p.value=!1),o.length>10||o.length<2?y.value=!0:y.value=!1}),(o,a)=>(u(),i("div",q,[e(C)?(u(),i("div",J,[s("form",{class:"findPw_Form__Form",onSubmit:I(L,["prevent"])},[s("img",{src:B,alt:e(l)("alt.calvinLibraryLogo"),class:"logo",onClick:M},null,8,G),a[3]||(a[3]=s("h3",{class:"findPw__title"},[n("비밀번호를 잃어버리셨나요?"),s("br"),n("아이디(이메일), 이름(닉네임), 휴대폰번호를 입력해주세요."),s("br"),n("이메일을 통해 임시비밀번호가 전송됩니다. ")],-1)),s("div",K,[N(s("input",{id:"email",type:"text",inputmode:"email",placeholder:e(l)("menu.enterEmail"),"onUpdate:modelValue":a[0]||(a[0]=t=>x(h)?h.value=t:null),name:"email",autocomplete:"on",style:F({border:w[String(e(v)||e(d))]})},null,12,Q),[[S,e(h)]])]),s("div",X,[s("div",null,[e(v)?(u(),i("p",Y,f(e(l)("menu.emailCheck")),1)):b("",!0),e(d)?(u(),i("p",ee,f(e(l)("menu.enterEmail")),1)):b("",!0)])]),s("div",null,[s("div",se,[N(s("input",{id:"nickname",type:"text",placeholder:e(l)("menu.enterNickname"),"onUpdate:modelValue":a[1]||(a[1]=t=>x(m)?m.value=t:null),name:"name",autocomplete:"on",style:F({border:w[String(e(y)||e(p))]})},null,12,te),[[S,e(m)]])])]),s("div",ae,[s("div",null,[e(y)?(u(),i("p",le,f(e(l)("menu.nicknameCheck")),1)):b("",!0),e(p)?(u(),i("p",oe,f(e(l)("menu.enterNickname")),1)):b("",!0)])]),s("div",ne,[N(s("input",{id:"phoneNumber",type:"text",inputmode:"tel",placeholder:e(l)("menu.enterPhoneNumber"),"onUpdate:modelValue":a[2]||(a[2]=t=>x(c)?c.value=t:null),name:"tel-national",autocomplete:"on",style:F({border:w[String(e(g)||e(_))]})},null,12,re),[[S,e(c)]])]),e(g)?(u(),i("p",ie,f(e(l)("menu.phoneNumberCheck")),1
4)):b("",!0),e(_)?(u(),i("p",ue,f(e(l)("menu.enterPhoneNumber")),1)):b("",!0),s("button",{type:"submit",class:"findPw_Form__FUncBtn","aria-label":e(l)("menu.sendTempPw")},f(e(l)("menu.sendTempPw")),9,ce)],32)])):(u(),i("div",me,[s("div",de,[s("img",{src:B,alt:e(l)("alt.calvinLibraryLogo"),class:"logo",onClick:M},null,8,_e),a[4]||(a[4]=s("h3",{class:"findPw__title"},[n("임시비밀번호 전송이 완료되었습니다."),s("br"),s("br"),n("이메일을 확인하시고 안내에 따라"),s("br"),n("비밀번호 재설정을 완료해주세요.")],-1)),a[5]||(a[5]=s("ul",null,[s("li",{class:"spam-message"},[n("일부 메일 서비스 업체에서는 비밀번호 재설정 안내 메일이 스팸 메일로 자동 분류할 때가 있습니다."),s("br"),n("혹시 이메일을 받지 못하셨다면 스팸 메일함을 확인해 주세요.")]),s("li",{class:"spam-message"},[n("스팸 메일함에서 '비밀번호 재설정 하기' 버튼이 눌러지지 않을 시 일반 메일함으로 메일을 옮기시거나,"),s("br"),n("메일 서비스 자체의 이미지 표시 방지를 해제해주세요."),s("br"),n("(예, 다음(한메일) - '이미지 표시하기' 누르기)")])],-1))])]))]))}}),Pe=j(pe,[["__scopeId","data-v-f341335c"]]);export{Pe 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.