1"use strict";(self.webpackChunkcitizen_portal=self.webpackChunkcitizen_portal||[]).push([[478],{7818:(e,t,l)=>{l.d(t,{Z:()=>c});var o=l(2791),n=l(8890),a=l.n(n),s=l(6771),r=l(6281),i=l(184);const c=function(){var e="",t="a,select:not([disabled]),button:not([disabled]),input:not([disabled]),textarea";function l(){e=a()(window).scrollTop(),a()("body").css("top",-e+"px"),a()("body").addClass("__lock_scroll")}function n(){a()("body").removeClass("__lock_scroll"),""!==e&&a()(window).scrollTop(e)}return(0,o.useEffect)((()=>{var e;a()(".pop_cont_wrap").length&&((e=a()(".pop_cont_wrap")).parents(".js_pop_wrap").length||(e.wrap("<div class='js_pop_wrap'></div>"),e.before("<span class='fir_foc' tabindex='0'></span>").after("<span class='lst_foc' tabindex='0'></span>"))),a()(".pop_open").on("click",(function(e){if(!a()(".on_layer_pop").length){a()(this);var o=a()(".pop_cont_wrap").last();a()(this).hasClass("open_mng_car")?o=a()(".mng_car"):a()(this).hasClass("open_parking_sch")?o=a()(".parking_sch"):a()(this).hasClass("open_addr_sch")?o=a()(".addr_sch"):a()(this).hasClass("open_desire_part")?o=a()(".desire_part"):a()(this).hasClass("open_terms_cont")?o=a()(".terms_cont"):a()(this).hasClass("open_terms_cont2")?o=a()(".terms_cont2"):a()(this).hasClass("open_car_sch")?o=a()(".car_sch"):a()(this).hasClass("open_num_edit")&&(o=a()(".num_edit")),o.parent(".js_pop_wrap").addClass("__open").children(".fir_foc").focus(),l(),a()("body").addClass("on_layer_pop"),a()(".on_layer_pop .skip_nav a").focusin((function(){a()(".js_pop_wrap.__open").last().children(".pop_cont_wrap").find(t).first().focus()}))}})),a()(".pop_car_open").on("click",(function(e){if(!a()(".on_layer_pop").length){var o=a()(".car_sch"),n=a()(e.target).prev().val().replace(/\s+/g,"");if(s.Z.isEmptyOrNull(n)||n.length<4)return;(0,r.Z)("CP06020U/searchCitizenCarNumList",{carNum:n}).then((e=>{s.Z.isEmptyOrNull(e.data)||(o.parent(".js_pop_wrap").addClass("__open").children(".fir_foc").focus(),l(),a()("body").addClass("on_layer_pop"),a()(".on_layer_pop .skip_nav a").focusin((function(){a()(".js_pop_wrap.__open").last().children(".pop_cont_wrap").find(t).first().focus()})))})).catch((e=>{}))}})),a()(".pop_unpaid_car_open").on("click",(function(e){if(!a()(".on_layer_pop").length){var o=a()(".car_sch"),n=a()(e.target).prev().val().replace(/\s+/g,"");if(s.Z.isEmptyOrNull(n)||n.length<4)return;(0,r.Z)("CP07020U/searchCitizenCarNumList",{carNum:n}).then((e=>{s.Z.isEmptyOrNull(e.data)||(o.parent(".js_pop_wrap").addClass("__open").children(".fir_foc").focus(),l(),a()("body").addClass("on_layer_pop"),a()(".on_layer_pop .skip_nav a").focusin((function(){a()(".js_pop_wrap.__open").last().children(".pop_cont_wrap").find(t).first().focus()})))})).catch((e=>{}))}})),a()(".pop_close_btn").on("click",(function(e){a()(this).parents(".js_pop_wrap").removeClass("__open"),a()("body").removeClass("on_layer_pop"),n()})),a()(".js_pop_wrap .lst_foc").focusin((function(){a()(this).parent().children(".pop_cont_wrap").find(t).last().focus()})),a()(document).keydown((function(e){if("9"===e.keyCode&&e.shiftKey){if(a()(".on_layer_pop").length){var l=(o=a()(".js_pop_wrap.__open").last()).children(".pop_cont_wrap").find(t).first();a()(":focus").hasClass("fir_foc")?(e.preventDefault(),o.children(".pop_cont_wrap").find(t).last().focus()):a()(":focus").html()!==l.html()&&void 0!==a()(":focus").html()||(e.preventDefault(),o.children(".pop_cont_wrap").find(t).last().focus())}}else if("9"===e.keyCode&&a()(".on_layer_pop").length){var o,n=(o=a()(".js_pop_wrap.__open").last()).children(".pop_cont_wrap").find(t).last();if(a()(":focus").html()===n.html()||void 0===a()(":focus").html())e.preventDefault(),o.children(".pop_cont_wrap").find(t).first().focus()}})),a()(".alert_open_btn").on("click",(function(e){a()("body").hasClass("__lock_scroll")||l(),a()(".alert_open_btn").hasClass("__open")||a()(".alert_wrap").addClass("__open")})),a()(".alert_close_btn").on("click",(function(e){a()(".alert_wrap").removeClass("__open"),n()}))}),[]),(0,i.jsx)(i.Fragment,{})}},3005:(e,t,l)=>{l.d(t,{Z:()=>r});l(2791);var o=l(3767),n=l(6157),a=l(6771),s=l(184);const r=e=>{const t=(0,o.U)(),l=e.className,r=!(!e.show&&!a.Z.isEmptyOrNull(e.show)),i=t=>{let l=t.address,o="";"R"===t.addressType&&(""!==t.bname&&(o+=t.bname),""!==t.buildingName&&(o+=""!==o?", ".concat(t.buildingName):t.buildingName),l+=""!==o?" (".concat(o,")"):""),t.fullAddress=l,e.parentFunction(t)};return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(n.Z,{type:"button",className:l,ref:e.postCodeRef||null,onClick:()=>(()=>
1{let e=document.body.offsetWidth/2-250,l=document.body.offsetHeight/2-250;t({onComplete:i,top:l,left:e,width:500,height:500,popupKey:"kakaoPostcode"})})(),style:{display:r?"":"none"},children:e.searchLabel||"\uac80\uc0c9"})})}},6478:(e,t,l)=>{l.r(t),l.d(t,{default:()=>f});var o=l(2787),n=l(2791),a=l(8890),s=l.n(a),r=l(7689),i=l(3005),c=l(6771),d=l(6281),u=l(7818),p=l(8536),b=l(6045),v=l(7189),m=l(184);const f=()=>{var e,t,l,a,f,h,_,y,g,j,w,C,N,O,x,k,E,P,S,Z,I,M,U,F,R,z,A,D,T,L,K,W,V,B,q,H,Q,G,J,Y,$;const X=(0,n.useRef)(!0),ee=(0,r.s0)(),te=(0,r.TH)(),le=(null===(e=(0,p.Z)("label","CP03040U"))||void 0===e?void 0:e.data)||null,oe=(0,p.Z)("message",["FE00151","FE00187","FE00188","FE00189","FE00192","FE00193","FE00218","FE00363","FE00364"]),ne=(0,n.useRef)(null),ae=(0,n.useRef)(null),se=(0,n.useRef)(null),re=(0,n.useRef)(null);const[ie,ce]=(0,n.useState)(!1),[de,ue]=(0,n.useState)({chk1:!1,chk2:!1}),[pe,be]=(0,n.useState)({termsConditions:[],userId:"",ci:"",name:"",mobilePhone:"",carNum:[],zipCode:"",address:"",detailedAddress:"",simpleAuthKey:"",eMail:""}
1),[ve,me]=(0,n.useState)(""),[fe,he]=(0,n.useState)(!0),[_e,ye]=(0,n.useState)({termsId:"",termsContent:""}),[ge,je]=(0,n.useState)({termsId:"",termsContent:""}),we=(0,n.useRef)(null);let Ce="",Ne="",Oe="";(0,n.useEffect)((()=>{if(X.current){if(Me(),Ue(),null!==te.state||void 0!==te.state||"undefined"!==te.state){const e=te.state.authInfo.authUserId,t=te.state.authInfo.authUserName,l=te.state.authInfo.authNumber,o=te.state.authInfo.authSimpleAuthKey,n=te.state.authInfo.authEmail;be({...pe,userId:e,name:t,mobilePhone:l,simpleAuthKey:o,eMail:n})}const e=e=>{Ce=e.data.rec_cert,Ne=e.data.certNum,"undefined"!==typeof Ce&&xe()};return window.addEventListener("message",e,!1),X.current=!1,()=>window.removeEventListener("message",e)}}),[]);const xe=async()=>{await b.Z.post("/CP03021U/processKmcCertification",{recCert:Ce,certNum:Ne,regType:"Y"}).then((e=>{const t=e.data;if("SUCESS"===t.rspnsResult){var l,n,a;if(we.current.close(),t.name!==te.state.authInfo.authUserName||t.mumber!==te.state.authInfo.authNumber)return void(0,o.Z)({title:"",message:(null===(l=oe.data)||void 0===l||null===(n=l.FE00364)||void 0===n?void 0:n.contents)||"\uce74\uce74\uc624 \ub85c\uadf8\uc778 \uc815\ubcf4\uc640 \ubcf8\uc778\uc778\uc99d\uc774 \uc77c\uce58 \ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.<br>\ub2e4\uc2dc \ud655\uc778 \ud558\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.",open:!0,buttons:[{type:!0,label:(null===le||void 0===le||null===(a=le.btn4)||void 0===a?void 0:a.global)||"\ud655\uc778"}]});Oe=t.ci,Fe()}else{var s;we.current.close(),(0,o.Z)({title:"",message:t.rspnsMssage,open:!0,buttons:[{type:!0,label:(null===le||void 0===le||null===(s=le.btn4)||void 0===s?void 0:s.global)||"\ud655\uc778"}]})}}))},ke=()=>{s()(".pop_close_btn").parents(".js_pop_wrap").removeClass("__open"),s()("body").removeClass("on_layer_pop"),s()("body").removeClass("__lock_scroll")},Ee=(e,t)=>e+"_"+t,Pe=(e,t)=>{ue((l=>({...l,[e]:t})));const l=Object.values({...de,[e]:t}).every((e=>!0===e));ce(l)},Se=e=>{be({...pe,[e.target.id]:e.target.value})},Ze=e=>{let t=e.target.value;/^[\u3131-\u314e\uac00-\ud7a30-9]+$/.test(t)||(t=t.substring(0,t.length-1)),me(t)},Ie=()=>{var e,t,l,n,a,s,r,i,d,u,p,b;return!1===de.chk1?((0,o.Z)({title:"",message:(null===(e=oe.data)||void 0===e||null===(t=e.FE00187)||void 0===t?void 0:t.contents)||"\uc774\uc6a9\uc57d\uad00\ub97c \uccb4\ud06c\ud574\uc8fc\uc138\uc694.",open:!0,buttons:[{type:!0,label:(null===le||void 0===le||null===(l=le.btn4)||void 0===l?void 0:l.global)||"\ud655\uc778",onClick:()=>{ne.current.focus()}}]}),!1):!1===de.chk2?((0,o.Z)({title:"",message:(null===(n=oe.data)||void 0===n||null===(a=n.FE00188)||void 0===a?void 0:a.contents)||"\uac1c\uc778\uc815\ubcf4 \uc218\uc9d1 \ubc0f \uc774\uc6a9 \ub3d9\uc758\ub97c \uccb4\ud06c\ud574\uc8fc\uc138\uc694.",open:!0,buttons:[{type:!0,label:(null===le||void 0===le||null===(s=le.btn4)||void 0===s?void 0:s.global)||"\ud655\uc778",onClick:()=>{ae.current.focus()}}]}),!1):pe.carNum.length<=0?((0,o.Z)({title:"",message:(null===(r=oe.data)||void 0===r||null===(i=r.FE00192)||void 0===i?void 0:i.contents)||"\ucc28\ub7c9\ubc88\ud638\ub97c \ucd94\uac00\ud574\uc8fc\uc138\uc694.",open:!0,buttons:[{type:!0,label:(null===le||void 0===le||null===(d=le.btn4)||void 0===d?void 0:d.global)||"\ud655\uc778",onClick:()=>{se.current.focus()}}]}),!1):!!(c.Z.isEmptyOrNull(pe.zipCode)&&c.Z.isEmptyOrNull(pe.address)||!c.Z.isEmptyOrNull(pe.detailedAddress))||((0,o.Z)({title:"",message:(null===(u=oe.data)||void 0===u||null===(p=u.FE00193)||void 0===p?void 0:p.contents)||"\uc0c1\uc138 \uc8fc\uc18c\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694.",open:!0,buttons:[{type:!0,label:(null===le||void 0===le||null===(b=le.btn4)||void 0===b?void 0:b.global)||"\ud655\uc778",onClick:()=>{re.current.focus()}}]}),!1)},Me=()=>{(0,d.Z)("etcModule/searchTerms",{keyValue1:"010",keyValue2:c.Z.dateOfZeroTimeToStringOnly(new Date)}).then((e=>{if(c.Z.isEmptyOrNull(e.data.code)){const t=e.data;ye({termsId:t.dataValue1,termsContent:t.dataValue4})}else{var t;(0,o.Z)({title:"",message:e.data.message,open:!0,buttons:[{type:!0,label:(null===le||void 0===le||null===(t=le.btn4)||void 0===t?void 0:t.global)||"\ud655\uc778"}]})}})).catch((e=>{var t;(0,o.Z)({title:"",message:c.Z.isEmptyOrNull(e.data)?e.message:e.data.message,open:!0,buttons:[{type:!0,label:(null===le||void 0===le||null===(t=le.btn4)||void 0===t?void 0:t.global)||"\ud655\uc778"}]})}))},Ue=()=>{(0,d.Z)("etcModule/searchTerms",{keyValue1:"020",keyValue2:c.Z.dateOfZeroTimeToStringOnly(new Date)}).then((e=>{if(c.Z.isEmptyOrNull(e.data.code)){const t=e.data;je({termsId:t.dataValue1,termsContent:t.dataValue4})}else{var t;(0,o.Z)({title:"",message:e.data.message,open:!0,buttons:[{type:!0,label:(null===le||void 0===le||null===(t=le.btn4)||void 0===t?void 0:t.global)||"\ud655\uc778"}]})}})).catch((e=>{var t;(0,o.Z)({title:"",message:c.Z.isEmptyOrNull(e.data)?e.message:e.data.message,open:!0,buttons:[{type:!0,label:(null===le||void 0===le||null===(t=le.btn4)||void 0===t?void 0:t.global)||"\ud655\uc778"}]})}))},Fe=()=>{let e=JSON.parse(v.Z.getLocalStorageItem("tempUserInfo"));v.Z.setSessionStorageRemoveItem("tempUserInfo");const t=[];t.push(e.termsConditions[0]),t.push(e.termsConditions[1]),pe.termsConditions=t;const l=[];
1if(e.carNum.length>0)for(let o=0;o<e.carNum.length;o++)l.push(e.carNum[o]);let n={};n={termsConditions:t,userId:e.userId,ci:Oe,name:e.name,mobilePhone:e.mobilePhone,carNum:l,zipCode:e.zipCode,address:e.address,detailedAddress:e.detailedAddress,simpleAuthKey:e.simpleAuthKey,myEmail:e.eMail},(0,d.Z)("CP03040U/insertCitizenUser",n).then((e=>{ee("/CP03060U",{state:"PUBLIC"})})).catch((e=>{var t;(0,o.Z)({title:"",message:c.Z.isEmptyOrNull(e.data)?e.message:e.data.message,open:!0,buttons:[{type:!0,label:(null===le||void 0===le||null===(t=le.btn4)||void 0===t?void 0:t.global)||"\ud655\uc778"}]})}))};return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(u.Z,{}),(0,m.jsx)("main",{className:"sub_cont_wrap",id:"contents",children:(0,m.jsx)("section",{className:"fs_sub_cont",children:(0,m.jsxs)("div",{className:"center_box",children:[(0,m.jsx)("h2",{className:"center_tit",children:(null===le||void 0===le||null===(t=le.lab11)||void 0===t?void 0:t.global)||"\ud68c\uc6d0\uac00\uc785"}),(0,m.jsx)("div",{className:"comm_bd_box",children:(0,m.jsxs)("div",{className:"box_inner",children:[(0,m.jsxs)("ol",{className:"join_step",children:[(0,m.jsx)("li",{children:(0,m.jsxs)("p",{className:"step_item is_comp",title:(null===le||void 0===le||null===(l=le.lab12)||void 0===l?void 0:l.global)||"\uac04\ud3b8\uc778\uc99d",children:[(0,m.jsx)("span",{children:"1"}),(null===le||void 0===le||null===(a=le.lab12)||void 0===a?void 0:a.global)||"\uac04\ud3b8\uc778\uc99d"]})}),(0,m.jsx)("li",{children:(0,m.jsxs)("p",{className:"step_item is_cur",title:(null===le||void 0===le||null===(f=le.lab13)||void 0===f?void 0:f.global)||"\ubcf8\uc778\uc778\uc99d",children:[(0,m.jsx)("span",{children:"2"}),(null===le||void 0===le||null===(h=le.lab13)||void 0===h?void 0:h.global)||"\ubcf8\uc778\uc778\uc99d"]})}),(0,m.jsx)("li",{children:(0,m.jsxs)("p",{className:"step_item",title:(null===le||void 0===le||null===(_=le.lab14)||void 0===_?void 0:_.global)||"\uac00\uc785\uc644\ub8cc",children:[(0,m.jsx)("span",{children:"3"}),(null===le||void 0===le||null===(y=le.lab14)||void 0===y?void 0:y.global)||"\uac00\uc785\uc644\ub8cc"]})})]}),(0,m.jsxs)("div",{className:"agree_area",children:[(0,m.jsx)("div",{className:"agree_area_top",children:(0,m.jsxs)("div",{className:"chk_box",children:[(0,m.jsx)("input",{type:"checkbox",id:"chkall",title:(null===le||void 0===le||null===(g=le.lab15)||void 0===g?void 0:g.global)||"\uc804\uccb4\ub3d9\uc758",checked:ie,onChange:e=>{const{checked:t}=e.target;ue((e=>Object.keys(e).reduce(((e,l)=>({...e,[l]:t})),{}))),ce(t)}}),(0,m.jsx)("label",{htmlFor:"chkall",children:(null===le||void 0===le||null===(j=le.lab15)||void 0===j?void 0:j.global)||"\uc804\uccb4\ub3d9\uc758"})]})}),(0,m.jsx)("div",{className:"agree_area_cont",children:(0,m.jsxs)("ul",{className:"agree_item_list",children:[(0,m.jsxs)("li",{children:[(0,m.jsxs)("div",{className:"chk_box",children:[(0,m.jsx)("input",{type:"checkbox",id:"chk1",name:"chk1",title:(null===le||void 0===le||null===(w=le.lab16)||void 0===w?void 0:w.global)||"(\ud544\uc218)\uc774\uc6a9\uc57d\uad00",value:_e.termsId,checked:de.chk1,onChange:e=>Pe(e.target.id,e.target.checked),ref:ne}),(0,m.jsx)("label",{htmlFor:"chk1",children:(null===le||void 0===le||null===(C=le.lab16)||void 0===C?void 0:C.global)||"(\ud544\uc218)\uc774\uc6a9\uc57d\uad00"})]}),(0,m.jsx)("button",{type:"button",className:"agree_btn pop_open open_terms_cont",title:(null===le||void 0===le||null===(N=le.lab25)||void 0===N?void 0:N.global)||"\uc57d\uad00 \ub0b4\uc6a9 \ubcf4\uae30"})]}),(0,m.jsxs)("li",{children:[(0,m.jsxs)("div",{className:"chk_box",children:[(0,m.jsx)("input",{type:"checkbox",id:"chk2",name:"chk2",title:(null===le||void 0===le||null===(O=le.lab17)||void 0===O?void 0:O.global)||"(\ud544\uc218)\uac1c\uc778\uc815\ubcf4 \uc218\uc9d1 \ubc0f \uc774\uc6a9 \ub3d9\uc758",value:ge.termsId,checked:de.chk2,onChange:e=>Pe(e.target.id,e.target.checked),ref:ae}),(0,m.jsx)("label",{htmlFor:"chk2",children:(null===le||void 0===le||null===(x=le.lab17)||void 0===x?void 0:x.global)||"(\ud544\uc218)\uac1c\uc778\uc815\ubcf4 \uc218\uc9d1 \ubc0f \uc774\uc6a9 \ub3d9\uc758"})]}),(0,m.jsx)("button",{type:"button",className:"agree_btn pop_open open_terms_cont2",title:(null===le||void 0===le||null===(k=le.lab25)||void 0===k?void 0:k.global)||"\uc57d\uad00 \ub0b4\uc6a9 \ubcf4\uae30"})]})]})})]}),(0,m.jsxs)("div",{className:"member_input_area",children:[(0,m.jsxs)("div",{className:"label_input_box",children:[(0,m.jsxs)("label",{className:"top_label",htmlFor:"carNum",children:[(null===le||void 0===le||null===(E=le.lab18)||void 0===E?void 0:E.global)||"\ucc28\ub7c9\ubc88\ud638",(0,m.jsx)("span",{className:"ico_req",title:(null===le||void 0===le||null===(P=le.lab26)||void 0===P?void 0:P.global)||"\ud544\uc218",children:"*"})]}),(0,m.jsxs)("div",{className:"input_conts",children:[(0,m.jsx)("input",{type:"text",className:"comm_inp",id:"carNum",placeholder:(null===le||void 0===le||null===(S=le.lab19)||void 0===S?void 0:S.global)||"\ucc28\ub7c9\ubc88\ud638 \uc785\ub825(\uc608 : 12\uac003456)",title:(null===le||void 0===le||null===(Z=le.lab19)||void 0===Z?void 0:Z.global)||"\ucc28\ub7c9\ubc88\ud638 \uc785\ub825(\uc608 : 12\uac003456)",value:ve,onChange:e=>Ze(e),onBlur:e=>Ze(e),maxLength:9,ref:se}),(0,m.jsx)("button",{type:"button",className:"sub_comm_btn bg_white",onClick:()=>{var e,t,l;if(c.Z.isEmptyOrNull(ve))(0,o.Z)({title:"",message:(null===(e=oe.data)||void 0===e||null===(t=e.FE00151)||void 0===t?void 0:t.contents)||"\ucc28\ub7c9\ubc88\ud638\ub97c \uc785\ub825\ud574 \uc8fc\uc138\uc694.",open:!0,buttons:[{type:!0,label:(null===le||void 0===le||null===(l=le.btn4)||void 0===l?void 0:l.global)||"\ud655\uc778",onClick:()=>{se.current.focus()}}]});else if(c.Z.isCarNumber(ve)){const e=pe.carNum;var n,a,s;if(e.filter((e=>e===ve)).length>0)(0,o.Z)({title:"",message:(null===(n=oe.data)||void 0===n||null===(a=n.FE00189)||void 0===a?void 0:a.contents)||"\ud574\ub2f9 \ucc28\ub7c9\ubc88\ud638\uac00 \ub4f1\ub85d\ub418\uc5b4\uc788\uc2b5\ub2c8\ub2e4.",open:!0,buttons:[{type:!0,label:(null===le||void 0===le||null===(s=le.btn4)||void 0===s?void 0:s.global)||"\ud655\uc778",onClick:()=>{se.current.focus()}}]});else e.push(ve),be({...pe,carNum:e}),me("")}else{var r,i,d;(0,o.Z)({title:"",message:(null===(r=oe.data)||void 0===r||null===(i=r.FE00218)||void 0===i?void 0:i.contents)||"\ucc28\ub7c9\ubc88\ud638\uac00 \ud615\uc2dd\uc5d0 \ub9de\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. (\uc608: 12\uac003456)",open:!0,buttons:[{type:!0,label:(null===le||void 0===le||null===(d=le.btn4)||void 0===d?void 0:d.global)||"\ud655\uc778",onClick:()=>{se.current.focus()}}]})}},children:(null===le||void 0===le||null===(I=le.btn5)||void 0===I?void 0:I.global)||"\ucd94\uac00"})]}),(0,m.jsx)("div",{className:"user_item_list",children:pe.carNum.length>0&&pe.carNum.map(((e,t)=>{var l,o;return(0,m.jsxs)("p",{className:"user_item",children:[(0,m.jsx)("span",{className:"item_name",children:e}),(0,m.jsx)("button",{type:"button",id:Ee("carNum",t),className:"item_del_btn",title:(null===le||void 0===le||null===(l=le.btn6)||void 0===l?void 0:l.global)||"\uc0ad\uc81c",onClick:()=>(e=>{const t=pe.carNum;t.splice(e,1),be({...pe,carNum:t})})(t),children:(null===le||void 0===le||null===(o=le.btn6)||void 0===o?void 0:o.global)||"\uc0ad\uc81c"})]})}))})]}),(0,m.jsxs)("div",{className:"label_input_box",children:[(0,m.jsx)("p",{className:"top_label",children:(null===le||void 0===le||null===(M=le.lab23)||void 0===M?void 0:M.global)||"\uc8fc\uc18c"}),(0,m.jsxs)("div",{className:"input_conts multi_line",children:[(0,m.jsx)("input",{type:"text",className:"comm_inp",id:"zipCode",title:(null===le||void 0===le||null===(U=le.lab22)||void 0===U?void 0:U.global)||"\uc6b0\ud3b8\ubc88\ud638",placeholder:(null===le||void 0===le||null===(F=le.lab22)||void 0===F?void 0:F.global)||"\uc6b0\ud3b8\ubc88\ud638",value:pe.zipCode,readOnly:!0}),(0,m.jsx)(i.Z,{className:"sub_comm_btn bg_white",parentFunction:e=>{be({...pe,zipCode:e.zonecode,address:e.address+" "+e.buildingName}),he(!1)},searchLabel:null===le||void 0===le||null===(R=le.btn1)||void 0===R?void 0:R.global}),(0,m.jsx)("input",{type:"text",className:"comm_inp full_size",id:"address",placeholder:(null===le||void 0===le||null===(z=le.lab23)||void 0===z?void 0:z.global)||"\uc8fc\uc18c",title:(null===le||void 0===le||null===(A=le.lab23)||void 0===A?void 0:A.global)||"\uc8fc\uc18c",value:pe.address,readOnly:!0}),(0,m.jsx)("input",{type:"text",className:"comm_inp full_size",id:"detailedAddress",placeholder:(null===le||void 0===le||null===(D=le.lab24)||void 0===D?void 0:D.global)||"\uc0c1\uc138\uc8fc\uc18c",title:(null===le||void 0===le||null===(T=le.lab24)||void 0===T?void 0:T.global)||"\uc0c1\uc138\uc8fc\uc18c",value:pe.detailedAddress,onChange:e=>Se(e),onBlur:e=>Se(e),disabled:fe,ref:re})]})]})]}),(0,m.jsxs)("div",{className:"btns_wrap",children:[(0,m.jsx)("button",{type:"button",className:"sub_comm_btn bg_white",onClick:()=>{return e="/CP03010U",v.Z.setSessionStorageRemoveItem("tempUserInfo"),void ee(e);var e},children:(null===le||void 0===le||null===(L=le.btn2)||void 0===L?void 0:L.global)||"\uc774\uc804"}),(0,m.jsx)("button",{type:"button",className:"sub_comm_btn bg_blue",onClick:async()=>
1{if(Ie()){const e=[];e.push(_e.termsId),e.push(ge.termsId),pe.termsConditions=e,await b.Z.post("CP03021U/popupKmcCertification",{}).then((e=>{const t=e.data;if(!c.Z.isEmptyOrNull(t)){v.Z.setLocalStorageItem("tempUserInfo",JSON.stringify(pe));const e="https://www.kmcert.com/kmcis/web/kmcisReq.jsp",s=document.createElement("form");s.target="KMCISWindow",s.method="POST",s.action=e,s.style.display="none";let r=document.createElement("input");r.type="hidden",r.name="tr_cert",r.value=t.trCert,s.appendChild(r),r=document.createElement("input"),r.type="hidden",r.name="tr_url",r.value=t.trUrl,s.appendChild(r),r=document.createElement("input"),r.type="hidden",r.name="trAdd",r.value=t.trAdd,s.appendChild(r),document.body.appendChild(s);const i=navigator.userAgent;if(null!==i.match(/iPhone|iPad|Android|Windows CE|BlackBerry|Symbian|Windows Phone|webOS|Opera Mini|Opera Mobi|POLARIS|IEMobile|lgtelecom|nokia|SonyEricsson/i)||null!==i.match(/LG|SAMSUNG|Samsung/))we.current=window.open("about:blank","KMCISWindow");else{let e="425",t="600";const l=navigator.userAgent.toLowerCase();-1!==l.indexOf("chrome")?(e="560",t="770"):-1!==l.indexOf("safari")&&(e="441",t="588"),we.current=window.open("about:blank","KMCISWindow","width="+e+", height="+t+", resizable=0, scrollbars=no, status=0, titlebar=0, toolbar=0, left=435, top=250")}var l,n,a;if(null===we)(0,o.Z)({title:"",message:(null===(l=oe.data)||void 0===l||null===(n=l.FE00363)||void 0===n?void 0:n.contents)||"\u203b\ud654\uba74 \uc0c1\ub2e8\uc5d0 \uc788\ub294 \ud31d\uc5c5 \ucc28\ub2e8 \uc54c\ub9bc\uc904\uc744 \ud074\ub9ad\ud558\uc5ec \ud31d\uc5c5\uc744 \ud5c8\uc6a9\ud574 \uc8fc\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.<br><br>\u203b MSN,\uc57c\ud6c4,\uad6c\uae00 \ud31d\uc5c5 \ucc28\ub2e8 \ud234\ubc14\uac00 \uc124\uce58\ub41c \uacbd\uc6b0 \ud31d\uc5c5\ud5c8\uc6a9\uc744 \ud574\uc8fc\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.",open:!0,buttons:[{type:!0,label:(null===le||void 0===le||null===(a=le.btn4)||void 0===a?void 0:a.global)||"\ud655\uc778"}]});else s.submit();document.body.removeChild(s)}})).catch((e=>{var t,l;c.Z.isNull(e.response)||c.Z.isNull(e.response.data)?(0,o.Z)({title:"",message:(c.Z.isEmptyOrNull(e.message),e.message),open:!0,buttons:[{type:!0,label:(null===le||void 0===le||null===(t=le.btn4)||void 0===t?void 0:t.global)||"\ud655\uc778"}]}):c.Z.isNull(e.response.data.code)||(0,o.Z)({title:"",message:e.response.data.message,open:!0,buttons:[{type:!0,label:(null===le||void 0===le||null===(l=le.btn4)||void 0===l?void 0:l.global)||"\ud655\uc778"}]})}))}},children:(null===le||void 0===le||null===(K=le.btn3)||void 0===K?void 0:K.global)||"\ubcf8\uc778\uc778\uc99d"})]})]})})]})})}),(0,m.jsxs)("div",{className:"layer_pop_wrap",children:[(0,m.jsxs)("div",{className:"pop_cont_wrap terms_cont",children:[(0,m.jsx)("h4",{className:"pop_tit",children:(null===le||void 0===le||null===(W=le.lab27)||void 0===W?void 0:W.global)||"\uc774\uc6a9\uc57d\uad00"}),(0,m.jsxs)("div",{className:"pop_cont",children:[(0,m.jsx)("div",{className:"terms_box",children:(0,m.jsx)("div",{className:"viewer",children:(0,m.jsx)("div",{className:"toastui-editor-contents",children:(0,m.jsx)("div",{dangerouslySetInnerHTML:{__html:null==_e.termsContent?"":_e.termsContent}})})})}),(0,m.jsx)("div",{className:"board_btns comm_style",children:(0,m.jsx)("button",{type:"button",className:"sub_comm_btn bg_blue size_ms",title:(null===le||void 0===le||null===(V=le.lab27)||void 0===V?void 0:V.global)||"\uc774\uc6a9\uc57d\uad00",onClick:()=>{Pe("chk1",!0),ke()},children:(null===le||void 0===le||null===(B=le.btn7)||void 0===B?void 0:B.global)||"\ub3d9\uc758"})})]}),(0,m.jsx)("button",{type:"button",className:"pop_close_btn",title:(null===le||void 0===le||null===(q=le.btn8)||void 0===q?void 0:q.global)||"\ud31d\uc5c5\ub2eb\uae30",children:(null===le||void 0===le||null===(H=le.btn8)||void 0===H?void 0:H.global)||"\ud31d\uc5c5\ub2eb\uae30"})]}),(0,m.jsxs)("div",{className:"pop_cont_wrap terms_cont2",children:[(0,m.jsx)("h4",{className:"pop_tit",children:(null===le||void 0===le||null===(Q=le.lab28)||void 0===Q?void 0:Q.global)||"\uac1c\uc778\uc815\ubcf4 \uc218\uc9d1 \ubc0f \uc774\uc6a9 \ub3d9\uc758"}),(0,m.jsxs)("div",{className:"pop_cont",children:[(0,m.jsx)("div",{className:"terms_box",children:(0,m.jsx)("div",{className:"viewer",children:(0,m.jsx)("div",{className:"toastui-editor-contents",children:(0,m.jsx)("div",{dangerouslySetInnerHTML:{__html:null==ge.termsContent?"":ge.termsContent}})})})}),(0,m.jsx)("div",{className:"board_btns comm_style",children:(0,m.jsx)("button",{type:"button",className:"sub_comm_btn bg_blue size_ms",title:(null===le||void 0===le||null===(G=le.lab28)||void 0===G?void 0:G.global)||"\uac1c\uc778\uc815\ubcf4 \uc218\uc9d1 \ubc0f \uc774\uc6a9 \ub3d9\uc758",onClick:()=>{Pe("chk2",!0),ke()},children:(null===le||void 0===le||null===(J=le.btn7)||void 0===J?void 0:J.global)||"\ub3d9\uc758"})})]}),(0,m.jsx)("button",{type:"button",className:"pop_close_btn",title:(null===le||void 0===le||null===(Y=le.btn8)||void 0===Y?void 0:Y.global)||"\ud31d\uc5c5\ub2eb\uae30",children:(null===le||void 0===le||null===($=le.btn8)||void 0===$?void 0:$.global)||"\ud31d\uc5c5\ub2eb\uae30"})]})]})]})}},8261:(e,t,l)=>{function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(l(2791)),a=i(l(7853)),s=["scriptUrl","className","style","defaultQuery","autoClose","errorMessage","onComplete","onClose","onResize","onSearch"];function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,l=new WeakMap;return(r=function(e){return e?l:t})(e)}function i(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var l=r(t);if(l&&l.has(e))return l.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!=s&&Object.prototype.hasOwnProperty.call(e,s)){var i=a?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(n,s,i):n[s]=e[s]}return n.default=e,l&&l.set(e,n),n}function c(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,o)}return l}function d(e){for(var t,l=1;l<arguments.length;l++)t=null==arguments[l]?{}:arguments[l],l%2?c(Object(t),!0).forEach((function(l){h(e,l,t[l])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(l){Object.defineProperty(e,l,Object.getOwnPropertyDescriptor(t,l))}));return e}function u(e,t){if(null==e)return{};var l,o,n=function(e,t){if(null==e)return{};var l,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)l=a[o],0<=t.indexOf(l)||(n[l]=e[l]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)l=a[o],0<=t.indexOf(l)||Object.prototype.propertyIsEnumerable.call(e,l)&&(n[l]=e[l])}return n}function p(e,t){for(var l,o=0;o<t.length;o++)(l=t[o]).enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var l,n=f(e);if(t){var a=f(this).constructor;l=Reflect.construct(n,arguments,a)}else l=n.apply(this,arguments);return function(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?m(e):t}(this,l)}}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function h(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}var _=n.default.createElement("p",null,"\ud604\uc7ac Daum \uc6b0\ud3b8\ubc88\ud638 \uc11c\ube44\uc2a4\ub97c \uc774\uc6a9\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \uc7a0\uc2dc \ud6c4 \ub2e4\uc2dc \uc2dc\ub3c4\ud574\uc8fc\uc138\uc694."),y={width:"100%",height:400},g={scriptUrl:a.postcodeScriptUrl,errorMessage:_,autoClose:!0},j=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),r=0;r<o;r++)a[r]=arguments[r];return h(m(e=l.call.apply(l,[this].concat(a))),"mounted",!1),h(m(e),"wrap",(0,n.createRef)()),h(m(e),"state",{hasError:!1}),h(m(e),"initiate",(function(t){if(e.wrap.current){var l=e.props,o=(l.scriptUrl,l.className,l.style,l.defaultQuery),n=l.autoClose,a=(l.errorMessage,l.onComplete),r=l.onClose,i=l.onResize,c=l.onSearch;new t(d(d({},u(l,s)),{},{oncomplete:function(t){a&&a(t),n&&e.wrap.current&&e.wrap.current.remove()},onsearch:c,onresize:i,onclose:r,width:"100%",height:"100%"})).embed(e.wrap.current,{q:o,autoClose:n})}})),h(m(e),"onError",(function(t){console.error(t),e.setState({hasError:!0})}
1)),e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(t,e);var l=v(t);return function(e,t,l){t&&p(e.prototype,t),l&&p(e,l)}(t,[{key:"componentDidMount",value:function(){var e=this.initiate,t=this.onError,l=this.props.scriptUrl;l&&(this.mounted||((0,a.default)(l).then(e).catch(t),this.mounted=!0))}},{key:"render",value:function(){var e=this.props,t=e.className,l=e.style,o=e.errorMessage,a=this.state.hasError;return n.default.createElement("div",{ref:this.wrap,className:t,style:d(d({},y),l)},a&&o)}}]),t}(n.Component);h(j,"defaultProps",g);var w=j;t.default=w},3767:(e,t,l)=>{Object.defineProperty(t,"U",{enumerable:!0,get:function(){return n.default}});var o=s(l(8261)),n=s(l(6550)),a=s(l(7853));function s(e){return e&&e.__esModule?e:{default:e}}o.default},7853:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.postcodeScriptUrl=void 0;t.postcodeScriptUrl="https://t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js";var l=function(){var e=null;return function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"https://t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js";return e||(e=new Promise((function(e,l){var o=document.createElement("script");o.src=t,o.onload=function(){var t,o;return null!==(t=window)&&void 0!==t&&null!==(o=t.daum)&&void 0!==o&&o.Postcode?e(window.daum.Postcode):void l(new Error("Script is loaded successfully, but cannot find Postcode module. Check your scriptURL property."))},o.onerror=function(e){return l(e)},o.id="daum_postcode_script",document.body.appendChild(o)})),e)}}();t.default=l},6550:(e,t,l)=>{function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(2791),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var l=r(t);if(l&&l.has(e))return l.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!=s&&Object.prototype.hasOwnProperty.call(e,s)){var i=a?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(n,s,i):n[s]=e[s]}return n.default=e,l&&l.set(e,n),n}(l(7853)),s=["defaultQuery","left","top","popupKey","popupTitle","autoClose","onComplete","onResize","onClose","onSearch","onError"];function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,l=new WeakMap;return(r=function(e){return e?l:t})(e)}function i(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,o)}return l}function c(e){for(var t,l=1;l<arguments.length;l++)t=null==arguments[l]?{}:arguments[l],l%2?i(Object(t),!0).forEach((function(l){d(e,l,t[l])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(l){Object.defineProperty(e,l,Object.getOwnPropertyDescriptor(t,l))}));return e}function d(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}function u(e,t){if(null==e)return{};var l,o,n=function(e,t){if(null==e)return{};var l,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)l=a[o],0<=t.indexOf(l)||(n[l]=e[l]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)l=a[o],0<=t.indexOf(l)||Object.prototype.propertyIsEnumerable.call(e,l)&&(n[l]=e[l])}return n}var p=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:a.postcodeScriptUrl;return(0,n.useEffect)((function(){(0,a.default)(e)}),[e]),(0,n.useCallback)((function(t){var l=c({},t),o=l.defaultQuery,n=l.left,r=l.top,i=l.popupKey,d=l.popupTitle,p=l.autoClose,b=l.onComplete,v=l.onResize,m=l.onClose,f=l.onSearch,h=l.onError,_=u(l,s);return(0,a.default)(e).then((function(e){new e(c(c({},_),{},{oncomplete:b,onsearch:f,onresize:v,onclose:m})).open({q:o,left:n,top:r,popupTitle:d,popupKey:i,autoClose:p})})).catch(h)}),[e])};t.default=p}}]); 2//# sourceMappingURL=478.dd9fc6db.chunk.js.map
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.