1import{U as u}from"./UserService-B39Vk0W_.js";import{_ as v,m as y,p as h,c as i,b as e,w as r,q as m,F as g,f as b,v as x,t as p,u as w,g as l,i as k}from"./index-GRB8Jcml.js";const C={name:"FindId",setup(){let t=y({phone:"",code:"",is_modal:!1,was_send:!1,accounts:[],msg:""});const s=w();return{send:()=>{if(!t.phone){t.msg="í´ëí° ë²í¸ë¥¼ ì
ë ¥í´ì£¼ì¸ì.",t.is_modal=!0;return}const o={phone:t.phone};u.findIdSendCode(o).then(n=>{t.msg=n.data.msg,t.is_modal=!0,n.data.code==="S"&&(t.was_send=!0)}).catch(n=>{t.msg=n.response.data.msg,t.is_modal=!0})},findId:()=>{if(!t.phone){t.msg="í´ëí°ë²í¸ë¥¼ ì
ë ¥í´ì£¼ì¸ì.",t.is_modal=!0;return}if(!t.code){t.msg="ì¸ì¦ë²í¸ë¥¼ ì
ë ¥í´ì£¼ì¸ì.",t.is_modal=!0;return}if(!t.was_send){t.msg="ì¸ì¦ë²í¸ë¥¼ ë°ì¡í´ì£¼ì¸ì.",t.is_modal=!0;return}if(!/^[0-9]{6}$/.test(t.code)){t.msg="ì¸ì¦ë²í¸ë 6ì리 ì«ìì
ëë¤.",t.is_modal=!0;return}const n={phone:t.phone,code:t.code};u.findId(n).then(a=>{a.data.code==="S"?t.accounts=a.data.accounts||[]:(t.msg=a.data.msg,t.is_modal=!0)}).catch(a=>{t.msg=a.response.data.msg,t.is_modal=!0})},goLogin:()=>{s.push("/login")},goResetPassword:()=>{s.push("/reset-password")},...h(t)}}},$={class:"header header_color"},I={class:"logo_clfy"},S={class:"join"},R={key:0},z={key:1},F={style:{background:"#f9fafb",border:"1px solid #e5e7eb","border-radius":"8px",padding:"14px 16px","text-align":"center"}},L={style:{"font-size":"18px"}},U={key:0,style:{"font-size":"12px",color:"#888","margin-top":"4px"}},V={class:"popup_layer",id:"popup_layer_01"},B={class:"popup_box"},E={class:"popup_box_contents txtcenter mt10",style:{"font-size":"16px"}},P={class:"btn_area"};function j(t,s,c,d,f,_){return l(),i(g,null,[e("div",$,[e("nav",null,[e("div",I,[e("a",{style:{cursor:"pointer"},onClick:s[0]||(s[0]=o=>this.$router.go(-1))})])]),s[8]||(s[8]=e("div",{class:"profile profile_join"},[e("ul",{style:{"margin-top":"50px"}},[e("li",{class:"id"},"ìì´ë 찾기")])],-1))]),e("section",null,[e("div",S,[t.accounts.length===0?(l(),i("ul",R,[e("li",null,[s[9]||(s[9]=e("span",null,"í´ëí°ë²í¸",-1)),r(e("input",{type:"text",placeholder:"ê°ì
ì ì
ë ¥í í´ëí° ë²í¸ë¥¼ ì
ë ¥í´ì£¼ì¸ì.",oninput:"this.value = this.value.replace(/[^0-9.]/g, '')",maxlength:"12","onUpdate:modelValue":s[1]||(s[1]=o=>t.phone=o)},null,512),[[m,t.phone]])]),e("li",null,[e("button",{type:"button",class:"btn_basic",style:{width:"100%","max-width":"inherit"},onClick:s[2]||(s[2]=o=>d.send())}," ì¸ì¦ë²í¸ ë°ì¡ ")]),e("li",null,[s[10]||(s[10]=e("span",null,"ì¸ì¦ë²í¸",-1)),r(e("input",{type:"text",placeholder:"ì¸ì¦ë²í¸ë¥¼ ì
ë ¥í´ì£¼ì¸ì.",oninput:"this.value = this.value.replace(/[^0-9.]/g, '')","onUpdate:modelValue":s[3]||(s[3]=o=>t.code=o)},null,512),[[m,t.code]])]),e("li",null,[e("button",{type:"button",class:"btn_save",style:{width:"100%","max-width":"inherit"},onClick:s[4]||(s[4]=o=>d.findId())}," ìì´ë 찾기 ")])])):(l(),i("ul",z,[s[11]||(s[11]=e("li",{style:{display:"block","text-align":"center"}},[e("p",{style:{margin:"10px 0 6px","font-size":"15px"}}," ì¸ì¦ë í´ëí° ë²í¸ë¡ ê°ì
ë ìì´ëì
ëë¤. ")],-1)),(l(!0),i(g,null,b(t.accounts,o=>(l(),i("li",{key:o.link_id,style:{display:"block"}},[e("div",F,[e("strong",L,p(o.link_id),1),o.created_at?(l(),i("div",U," ê°ì
ì¼ "+p(o.created_at),1)):k("",!0)])]))),128)),e("li",null,[e("button",{type:"button",class:"btn_save",style:{width:"100%","max-width":"inherit"},onClick:s[5]||(s[5]=o=>d.goLogin())}," ë¡ê·¸ì¸íë¬ ê°ê¸° ")]),e("li",null,[e("button",{type:"button",class:"btn_basic",style:{width:"100%","max-width":"inherit"},onClick:s[6]||(s[6]=o=>d.goResetPassword())}," ë¹ë°ë²í¸ 찾기 ")])]))]),r(e("div",V,[e("div",B,[e("div",E,p(t.msg),1),e("div",P,[e("button",{type:"button",class:"btn_save",onClick:s[7]||(s[7]=o=>t.is_modal=!1)}," íì¸ ")])])],512),[[x,t.is_modal]])])],64)}const q=v(C,[["render",j]]);export{q 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.