1import{H as N}from"./Header-fe1b84bc.js";import{F as x}from"./Footer-2ec7166a.js";import{_ as $,l as q,n as D,o as d,c as u,h as n,a as e,w as _,s as t,m as r,y as p,t as l,E as b,C as h,b as k,z as J,d as f}from"./index-a6306060.js";import{c as y,a as j,b as A}from"./index.esm-780eed27.js";import{u as B}from"./socialjoin.store-0e45852c.js";import"./Header.vue_vue_type_style_index_0_scoped_c8c7e2f9_lang-d34d2431.js";const F={class:"dbook_wrap"},T={class:"login_area"},E={class:"login_inner membership"},M={class:"membership_box"},R={class:"phone_field",style:{"margin-bottom":"0"}},V={class:"input_area submit"},z={class:"btn"},H={class:"input_area full"},K={key:0,class:"time"},O={class:"btn_full"},I=["disabled"],L={__name:"SocialJoinCert",setup(P){const s=q();D();const i=B();s.init();const w=y({phoneNumber:j().required("í´ëí° ë²í¸ë¥¼ ì
ë ¥í´ ì£¼ì¸ì").matches(/^01\d{8,9}$/,"ì못ë í´ëí°ë²í¸ì
ëë¤. í´ëí°ë²í¸ë¥¼ íì¸í´ 주ì¸ì")}),S=y({certNumber:A().required("ì¸ì¦ë²í¸ë¥¼ ì
ë ¥í´ ì£¼ì¸ì.")}),g=f(null),c=f(null);async function v(o){s.init(),c.value=o,o.type=s.socialType,console.log(`reqCert called with values: ${JSON.stringify(o)}`),console.log(`${s.certKey}`),await s.requestSmsCert(o)}async function C(o){console.log(`confirm called with values: ${JSON.stringify(o)}`),o.type=s.socialType,await s.confirmSmsCert(o,async a=>{i.phoneNumber=c.value.phoneNumber,a.data.resultType===0?await r.push("/account/social-join-agree"):a.data.resultType===100?(await i.socialMemberConfirm(),await r.replace("/")):(await i.join(),await r.replace("/"))})}return(o,a)=>(d(),u("div",F,[n(N),e("div",T,[e("div",E,[a[2]||(a[2]=e("h3",{class:"login_title"},"í´ëí° ì¸ì¦",-1)),a[3]||(a[3]=e("ul",{class:"membership_list"},[e("li",{class:""},[e("span",null,"기존 ê³ì ê³¼ ìì
ê³ì ì°ë, ëë ì ê· íìê°ì
ì ìí´ í´ëí°ë²í¸ë¥¼ ì¸ì¦í´ì£¼ì¸ì.")])],-1)),e("div",M,[a[1]||(a[1]=e("p",{class:"membership_title"},"í´ëí° ì¸ì¦",-1)),n(t(h),{"validation-schema":t(w),onSubmit:v},{default:_(()=>[e("ul",R,[e("li",V,[n(t(p),{name:"phoneNumber",type:"text",placeholder:"í´ëí°ë²í¸ë¥¼ ì
ë ¥í´ì£¼ì¸ì."}),e("button",z,l(g.value?"ì¬ìì²":"ì¸ì¦ ìì²"),1),n(t(b),{name:"phoneNumber",as:"p",class:"warning_text"})])])]),_:1},8,["validation-schema"]),n(t(h),{"validation-schema":t(S),onSubmit:C},{default:_(({meta:G})=>[e("ul",null,[e("li",H,[n(t(p),{type:"text",name:"certNumber",placeholder:"ì¸ì¦ë²í¸ë¥¼ ì
ë ¥í´ì£¼ì¸ì.",maxlength:"6",disabled:!t(s).countDown,onKeydown:a[0]||(a[0]=m=>/\d|^Backspace$|^Delete$|^ArrowLeft$|^ArrowRight$/.test(m.key)?"":m.preventDefault())},null,8,["disabled"]),t(s).countDown>0?(d(),u("span",K,l(t(s).leftMin)+" : "+l(t(s).leftSec),1)):k("",!0),n(t(b),{name:"certNumber",as:"p",class:"warning_text"})])]),e("div",O,[e("button",{class:J({btn:!0,disabled:!t(s).countDown}),disabled:!t(s).countDown},"íì¸",10,I)])]),_:1},8,["validation-schema"])])])]),n(x)]))}},ee=$(L,[["__scopeId","data-v-7aabe3e1"]]);export{ee 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.