PageSourceSearch

https://www.specter.co.kr/_next/static/chunks/pages/signup/step-1eedc1acb6278719.js

js specter.co.kr collected 2026-10-07 18:46:40 UTC 48,617 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9058],{90934:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/signup/step",function(){return n(41373)}])},56600:function(e,t,n){"use strict";var r=n(16727),i=n(78016),o=n(4246),a=n(17),s=n(92570),c=n(47088),l=n(38051),u=n(11952),d=n(842),m=n(29726),p=n(11222),f=n(7440),h=n(10567);t.Z=function(e){var t,n=e.companyIdFormId,g=e.companyNameFormId,v=e.placeholder,Z=e.registerOptions,b=e.disabled,_=e.adds,w=e.buttonColor,N=e.theme,y=void 0===N?"light":N,x=e.variant,I=void 0===x?"default":x,E=e.isManager,O=e.vertical,C=(0,f.I)("common").t,S=(0,i.Z)((0,c.Z)(!1),2),A=S[0],T=S[1],P=(0,s.Gc)().control,R=(0,s.bc)({name:g,control:P,rules:Z}),B=R.field,L=R.formState.errors,k=(0,a.Z)(L,g);return(0,o.BX)(o.HY,{children:[(0,o.BX)(p.Lb,{className:(0,m.cn)(["w-full gap-2 group/company !items-baseline",b?"cursor-not-allowed":"cursor-pointer",{"flex flex-col":O},(0,l.EQ)([y,I]).with(["light","underline"],function(){return"border-b border-b-gray-300"}).with(["dark","underline"],function(){return""}).with(["dark","default"],function(){return""}).otherwise(function(){return""})]),onClick:function(){b||T(!0)},children:[(0,o.tZ)(u.DL.Basic,(0,r.Z)({id:g,tabIndex:-1,className:(0,m.cn)(["pointer-events-none group-hover/company:border-lm-blue-400",(0,l.EQ)([y,I]).with(["light","underline"],function(){return"!border-none"}).with(["dark","default"],function(){return"!border-x-[0] !border-t-[0] !rounded-b-[0] !border-b-gray-700 group-hover/company:!border-[#b3b3b3] !bg-bg-200 !h-[44px]"}).with(["dark","underline"],function(){return"!bg-transparent !border-x-[0] !border-t-[0] !rounded-[0] !h-[37px] !border-b !border-b-gray-700 hover:border-b-gray-300"}).otherwise(function(){return""})]),inputClassName:(0,m.cn)(["!m-0",(0,l.EQ)([y,I]).with(["light","default"],function(){return""}).with(["dark","default"],function(){return"py-3 px-1.5 !text-white-00"}).with(["dark","underline"],function(){return"!px-2 !text-white-00"}).otherwise(function(){return"!p-2"})]),placeholder:void 0===v?"회사명을 입력해 주세요":v,disabled:b,wide:!0,enterKeyHint:"search",onInput:function(e){e.currentTarget.value=""},error:!!k,errorMessage:null!==(t=null==k?void 0:k.message)&&void 0!==t?t:"",errorClassName:(0,l.EQ)([y,I]).with(["dark","underline"],function(){return"!text-caption-sm !mt-0.5"}).otherwise(function(){return""})},B)),(0,o.tZ)("input",{id:n,className:"hidden"}),(0,o.tZ)(u.zx.Basic,{color:void 0===w?"darkGray":w,size:(0,l.EQ)([y,I]).with([l.P._,"default"],function(){return d.rO.XL}).otherwise(function(){return d.rO.MD}),disabled:b,className:(0,m.cn)([{"w-full":O},(0,l.EQ)([y,I]).with(["light","default"],function(){return"h-[44px]"}).with(["dark","default"],function(){return"h-[44px] !text-lm-gray-700"}).with(["dark","underline"],function(){return"h-[32px] !text-lm-gray-700"}).otherwise(function(){return"h-[32px]"}),!!k&&"mb-[17px]"]),children:C("browse")})]}),A&&(0,o.tZ)(h.Uk,{id:g,subId:n,adds:_,isManager:E,open:A,onOpenChange:T})]})}},38696:function(e,t,n){"use strict";n.d(t,{T:function(){return l}});var r=n(4246),i=n(17093),o=n(40303),a=n(47501),s=n(48231),c=n(50069);function l(){var e=(0,o.I)("common").t;return(0,r.BX)("div",{tabIndex:-1,className:"sp-flex-col gap-3 p-3 border rounded-md bg-lm-bg-00 border-lm-gray-50",children:[(0,r.BX)("div",{className:"sp-flex-col",children:[(0,r.BX)("div",{className:"sp-flex-items-center gap-0.5",children:[(0,r.tZ)(s.zb,{className:"text-lm-gray-700",children:(0,r.tZ)(i.byK,{size:16})}),(0,r.tZ)("span",{className:"text-subtitle-sm text-lm-gray-700",children:(0,r.tZ)(a.T,{t:e,i18nKey:"password-guide-box.title"})})]}),(0,r.tZ)("span",{className:"text-body-md text-lm-gray-900",children:(0,r.tZ)(a.T,{t:e,i18nKey:"password-guide-box.subtitle"})})]}),(0,r.BX)(c.Z.Root,{className:"p-2 border rounded-md border-lm-gray-300 bg-lm-white-00",children:[(0,r.BX)(c.Z.Trigger,{tabIndex:-1,className:"sp-flex-items-center w-full p-0 m-0 bg-transparent group",children:[(0,r.tZ)("span",{className:"text-caption-md text-lm-gray-700",children:(0,r.tZ)(a.T,{t:e,i18nKey:"password-guide-box.allow.label"})}),(0,r.tZ)(s.zb,{className:"text-lm-gray-700 group-data-[state=open]:-rotate-180 transition-transform duration-300",children:(0,r.tZ)(i.XKS,{size:16})})]}),(0,r.tZ)(c.Z.Content,{children:(0,r.tZ)("span",{className:"text-caption-md text-lm-gray-500",children:' ! "# $ % & ( ) * + , - . / : ; ? @ [ ] ^ _ { } ~'})})]})]})}},19581:function(e,t,n){"use strict";var r=n(16727),i=n(4970),o=n(4246),a=n(17),s=n(92570),c=n(11952),l=n(7440);t.Z=function(e){var t=e.id,n=void 0===t?"":t,u=e.placeholder,d=e.items,m=void 0===d?[]:d,p=(e.dark,e.fill,e.adds),f=e.disabled,h=e.registerOptions,g=e.textEllipsis,v=e.addItemInfo,Z=e.onClickAdd,b=void 0===Z?function(){}:Z,_=e.hideDetail,w=e.menuPlacement,N=(0,i.Z)(e,["id","placeholder","items","dark","fill","adds","disabled","registerOptions","textEllipsis","addItemInfo","onClickAdd","hideDetail","menuPlacement"]),y=(0,l.I)("common").t,x=(0,s.Gc)(),I=x.control,E=x.setValue,O=(0,s.bc)({name:n,control:I,rules:void 0===h?{}:h}),C=O.field,S=O.formState.errors,A=(0,a.Z)(S,n),T=void 0!==p&&p?m.concat([{label:"새로 추가하기",value:"",isAdd:!0,onClick:function(e){E(n,null),"function"==typeof b&&b(e)}}]):m;return(0,o.tZ)(c.l1,(0,r.Z)({items:T,error:!!A,errorMessage:void 0!==_&&_?"":null==A?void 0:A.message,field:C,placeholder:(void 0===u?void 0:u)||y("choice"),isDisabled:void 0!==f&&f,textEllipsis:void 0===g||g,addItemInfo:void 0===v?void 0:v,menuPlacement:void 0===w?"auto":w},N))}},54896:function(e,t,n){"use strict";var r=n(4246),i=n(64275),o=n(842),a=n(46001),s=(0,i.Z)("div",{target:"elnckh10"})(a.c.VJ.small,";color:",o.$_.error["00"],";padding-left:1.8rem;"),c=(0,i.Z)("div",{target:"elnckh11"})(a.c.VJ.medium,";color:",o.$_.blue[300],";padding-left:1.8rem;");t.Z={Error:function(e){var t=e.error,n=e.children,i=void 0===n?(0,r.tZ)(r.HY,{}):n;return void 0!==t&&t?(0,r.tZ)(s,{className:"flex",children:i}):(0,r.tZ)(r.HY,{})},Desc:function(e){var t=e.children,n=void 0===t?(0,r.tZ)(r.HY,{}):t;return(0,r.tZ)(c,{children:n})}}},7703:function(e,t,n){"use strict";n.d(t,{c:function(){return r},d:function(){return i}});var r={CHECKOUT:{카드등록_팝업_열림:"checkout_billing_popup_open",카드등록_팝업_이탈:"checkout_billing_popup_abandon",카드등록_성공:"checkout_billing_register_success"},SIGNUP:{CORP:"signup_corp",INDIV:"signup_indiv",WRITER:"signup_writer",ETC:"signup_etc",VIEWER:"signup_viewer"},BS_SERVICE:{서비스_소개_신청:"introapply_submit"},BS_INQUIRY:{문의하기:"inquiry_submit"},COMPANY_MANAGER:{기관신청:"corp_submit"},되는시간:{레퍼런스체크_팝업_노출:"whattime_popup_reference",컬처핏_팝업_노출:"whattime_popup_hrrecreation"}},i={COMMON:{GNB_PRODUCTS:"corp-button-pricing"},PRODUCTS:{BUTTON_PRICING_1:"button-pricing-1",BUTTON_PRICING_10:"button-pricing-10",BUTTON_PRICING_100:"button-pricing-100",BUTTON_PRICING_3:"button-pricing-3",BUTTON_PRICING_30:"button-pricing-30",BUTTON_PRICING_300:"button-pricing-300"},INTRO_LANDING_SERACH:{서비스_소개서_신청하기:"intro-search-apply",무료로_열람하기:"intro-search-free",이미_회원이라면_로그인:"intro-search-login",무료로_열람하기_플로팅:"intro-search-float",서비스_도입_문의하기:"intro-search-contact",고객사_인터뷰_보러가기:"intro-search-blog",인터뷰_기아:"intro-search-kia",인터뷰_대교:"intro-search-daekyo",인터뷰_요기요:"intro-search-yogiyo",인터뷰_KT_클라우드:"intro-search-ktcloud",인터뷰_라이너:"intro-search-liner",인터뷰_미미박스:"intro-search-memebox",인터뷰_컬러버스:"intro-search-colorverse",평판_1_역량분석_1:"intro-search-capa1",평판_1_역량분석_2:"intro-search-capa2",평판_1_역량분석_3:"intro-search-capa3",평판_1_서비스_소개서_신청:"intro-search-capa-apply",평판_1_페이지네이션:"intro-search-capa-cursor",평판_2_성향키워드:"intro-search-keywordcloud",평판_2_성향분석_1:"intro-search-keyword1",평판_2_성향분석_2:"intro-search-keyword2",평판_2_서비스_소개서_신청:"intro-search-keyword-apply",평판_2_페이지네이션:"intro-search-keyword-cursor",FAQ_1:"intro-search-faq1",FAQ_2:"intro-search-faq2",FAQ_3:"intro-search-faq3",FAQ_4:"intro-search-faq4"},INTRO_LANDING_SERACH_V2:{서비스_소개서_신청하기:"intro-search-v2-appl
1y",서비스_도입_문의하기:"intro-search-v2-contact",평판_확인하기:"intro-search-v2-confirm"},INTRO_LANDING_INDIV:{인터뷰카드_공통:"app-company-quote",파워프로필_작성하기:"app-power-write",평판작성_요청하기:"app-reference-request",탭카드:"app-reference-report",내가_받은_평판_확인:"app-reference-check"},INTRO_LANDING_WRITER:{인터뷰카드_공통:"wrt-company-quote",탭카드_인판:"wrt-manager-report",탭카드_동판:"wrt-peer-report"},REP_SEARCH:{튜토리얼_STEP1_지금시작하기:"rep-search-tutorial-start",튜토리얼_STEP1_스킵:"rep-search-tutorial-pass",튜토리얼_STEP2_조회하기:"req-search-tutorial-search",튜토리얼_STEP3_샘플평판열람하기:"rep-search-tutorial-sampleopen",샘플평판_평판조회하러가기:"corp-sample-float",샘플평판_FAQ_열기버튼:"corp-sample-faq",샘플평판_FAQ_닫기버튼:"corp-sample-faqclose",메인폼_조회하기:"req-search-button",메인폼_샘플평판열람:"req-search-sampleopen",메인폼_일괄조회:"req-search-several"},PAYMENTS:{결제하기:"button-pricing-pay"},BS_SERVICE:{서비스_소개_신청:"introapply_submit_button"},BS_INQUIRY:{문의하기:"inquiry_submit_button"},EVENTS:{KEYWORD:{이벤트_키워드_시작하기:"events-keyword-start",이벤트_키워드_공유하기:"events-keyword-share",이벤트_키워드_다시하기:"events-keyword-retry",이벤트_키워드_배너:"events-keyword-banner"}},MYCOMPANY:{ACCESS:{지원자대시보드_정렬:"mycompany-access-button-sort",지원자대시보드_필터:"mycompany-access-button-filter",지원자대시보드_북마크:"mycompany-access-button-bookmark",지원자대시보드_열람:"mycompany-access-button-enter"}},REPUTATION:{인사이트:{GA4_인사이트_GEN2_가이드_팝업:"reputation-insight-gen2-guide-popup"}}}},70875:function(e,t,n){"use strict";n.d(t,{AB:function(){return r.AB},Bb:function(){return r.Bb},Bz:function(){return r.Bz},Cd:function(){return r.Cd},O_:function(){return r.O_},Qn:function(){return r.Qn},Rz:function(){return r.Rz},Sd:function(){return r.Sd},UQ:function(){return r.UQ},Xs:function(){return r.Xs},i3:function(){return r.i3},mN:function(){return r.mN},o:function(){return r.o},p$:function(){return r.p$},q_:function(){return r.q_},r2:function(){return r.r2},vO:function(){return r.vO},wL:function(){return r.wL}});var r=n(77191)},25830:function(e,t,n){"use strict";n.d(t,{h:function(){return s}});var r=n(40471),i=n(85899),o=n(20488),a=n(85788),s=function(e){(0,i.Z)(n,e);var t=(0,a.Z)(n);function n(e){var i,o=e.message,a=e.path,s=e.status,c=e.method;return(0,r.Z)(this,n),(i=t.call(this,void 0===o?"":o)).path="",i.method="",i.code=-1,i.status=500,i.name="CustomError - Platform",i.path=void 0===a?"":a,i.status=void 0===s?500:s,i.method=void 0===c?"":c,i}return n}((0,o.Z)(Error))},83622:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(52983),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,r.useEffect)(function(){window&&window.scrollTo(0,t)},[e])}},41373:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return tO},default:function(){return tC}});var r,i,o,a,s,c,l,u,d,m,p=n(4246),f=n(85575),h=n(38051),g=n(83622),v=n(92570),Z=n(11952),b=n(17093),_=n(47501),w=n(48231),N=n(16727),y=n(1330),x=n(78016),I=n(52983),E=n(47440),O=n(73698),C=n(35144);(r=c||(c={}))[r.TERMS=1]="TERMS",r[r.BASIC=2]="BASIC",r[r.ADDITIONAL=3]="ADDITIONAL",(i=l||(l={}))["지원자"]="02",i["기업"]="08",i["작성자"]="12",i["뷰어"]="13",i["비지정_작성자"]="14",i["기타"]="11";var S={step:c.TERMS,originPurposeOfVisit:null,purposeOfVisit:null,impUid:null,merchantUid:null,isIamCertificated:!1},A=(0,I.createContext)(null),T=function(e){var t=e.children,n=(0,x.Z)((0,I.useState)(function(){return(0,E.M)()((0,C.mW)(function(e){return(0,y.Z)((0,N.Z)({},S),{onChangeStep:function(t){return e(function(){return{step:t}})},onChangeIsIamCertificated:function(t){return e(function(){return{isIamCertificated:t}})},onCompleteIamCertificate:function(t,n){return e(function(){return{impUid:t,merchantUid:n,isIamCertificated:!0}})},onChangeOriginPurposeOfVisit:function(t){return e(function(){return{originPurposeOfVisit:t}})},onChangePurposeOfVisit:function(t){return e(function(){return{purposeOfVisit:t}})},reset:function(){return e(S)}})}))}),1)[0];return(0,p.tZ)(A.Provider,{value:n,children:t})},P=function(){var e=(0,I.useContext)(A);if(!e)throw Error("Missing SignupStepProvider");return(0,O.o)(e)},R=function(){return P()};function B(){var e=R().onChangeStep,t=(0,v.Gc)().formState.isSubmitting;return(0,p.BX)("div",{className:"sp-flex-items-center justify-between *:w-[9.375rem] mobile:*:w-[6.25rem] *:gap-3",children:[(0,p.BX)(Z.zx.Basic,{className:"sp-flex-center *:text-lm-gray-900 pc:!pr-6",color:"lm_outline",pill:!0,size:"xlarge",onClick:function(){return e(c.TERMS)},children:[(0,p.tZ)(w.zb,{children:(0,p.tZ)(b.NAp,{size:12})}),(0,p.tZ)(_.T,{i18nKey:"이전"})]}),(0,p.BX)(Z.zx.Basic,{className:"sp-flex-center *:text-lm-white-00 pc:!pl-8 mobile:!pl-7",pill:!0,size:"xlarge",type:"submit",isLoading:t,children:[(0,p.tZ)(_.T,{i18nKey:"다음"}),(0,p.tZ)(w.zb,{children:(0,p.tZ)(b.C3T,{size:12})})]})]})}var L=n(38696),k=n(7440),M=n(54062),U=n(45787),V=n(43112),X=n(42030),D=n(35754),z=n(25938),Y=n.n(z),F=n(32567),W=n(55486),G=function(e){var t,n=e.disabled,r=e.getPresetInfo,i=void 0===r?function(){return{name:"",phone:""}}:r,o=e.validAuthData,a=void 0===o?function(){return Promise.resolve(!1)}:o,s=e.onComplete,c=void 0===s?function(){}:s,l=e.onError,u=void 0===l?function(){}:l,d=e.buttonText,m=(0,k.I)("common").t,f=(t=(0,U.Z)(function(){var e,t,n,r,o;return(0,V.__generator)(this,function(s){switch(s.label){case 0:return[4,a()];case 1:return e=s.sent(),window&&e&&(t=window.IMP,r=(n=i()).name,o=n.phone,t.init("imp94426609"),t.certification({name:r,phone:o},function(e){if(e.success)c(e.imp_uid,e.merchant_uid);else{var t=e.error_code,n=e.error_msg;"F0000"===t?u(m("common:error.iamport.phone.cancel")):(u(n),F.Z.withScope(function(e){e.setExtras({origin:"IamPortError",path:"https://service.iamport.kr",method:"POST",data:n}),F.Z.captureException(new W.X({message:"[IamPortError] - 인증오류"}))}))}})),[2]}})}),function(){return t.apply(this,arguments)});return(0,p.BX)(p.HY,{children:[(0,p.tZ)(Y(),{type:"text/javascript",src:"https://cdn.iamport.kr/js/iamport.payment-1.2.0.js",strategy:"afterInteractive"}),(0,p.tZ)(Y(),{type:"text/javascript",src:"https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js",strategy:"afterInteractive"}),(0,p.tZ)(Z.zx.Basic,{size:"xlarge",onClick:f,incompleted:void 0!==n&&n,color:"lm_darkGray",children:void 0===d?"":d})]})},K=n(40471),H=n(85899),Q=n(20488),q=n(85788),j=n(79370),J=n(71773),$=function(e){(0,H.Z)(n,e);var t=(0,q.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"사용자가 탈퇴 요청 상태입니다.";return(0,K.Z)(this,n),(e=t.call(this,r)).name="SignUpUserValidateError",e}return n}((0,Q.Z)(Error)),ee=function(){return(0,j.D)({mutationFn:function(e){return J.Z.post("/v2/sign-up/user-validate",e)}})};
1ee.key="useSignUpUserValidate (사용자 탈퇴 여부 확인)",ee.탈퇴요청상태throw=function(){throw new $},ee.탈퇴요청상태catch=function(e){return e instanceof $};var et=n(29726),en=function(e){var t=(0,v.Gc)(),n=t.watch,r=t.setValue;(0,I.useEffect)(function(){var t=n(function(t,n){var i=n.name;"change"===n.type&&i===e&&r(e,(0,et.Oc)(t[i]))});return function(){t.unsubscribe()}},[])},er=n(31128),ei=n(50597),eo=n(5394),ea=n(61134),es=n(85097),ec=function(){var e,t=(0,k.I)(["signup","common"]).t,n=t("signup:error.basic.required"),r=(0,es.a)().newPasswordSchema,i=eo.z.string({message:n}).min(1,{message:n}),o=eo.z.boolean().refine(function(e){return!0===e},{message:t("signup:error.terms.required")});return eo.z.object((e={},(0,ei.Z)(e,u.SERVICE,o),(0,ei.Z)(e,u.PRIVACY,o),(0,ei.Z)(e,u.ALARM,eo.z.boolean().optional()),(0,ei.Z)(e,d.USERNAME,i.max(30,{message:t("signup:error.text.maxLength")})),(0,ei.Z)(e,d.PHONE,i.regex(ea.n_,{message:t("signup:error.basic.phone")})),(0,ei.Z)(e,d.EMAIL,i.max(254,{message:t("signup:error.text.maxLength")}).regex(ea.HN,{message:t("signup:error.basic.email")})),(0,ei.Z)(e,d.PASSWORD,r),(0,ei.Z)(e,d.CONFIRM_PASSWORD,r),e)).superRefine(function(e,n){if(e.password!==e.confirmPassword)return n.addIssue({code:eo.z.ZodIssueCode.custom,message:t("signup:error.basic.passwordConfirm"),path:[d.CONFIRM_PASSWORD]})})};function el(e){var t=e.children,n=(0,v.cI)({mode:"onSubmit",reValidateMode:"onChange",resolver:(0,er.F)(ec())});return(0,p.tZ)(v.RV,(0,y.Z)((0,N.Z)({},n),{children:t}))}(o=u||(u={})).ALL="all",o.SERVICE="isTermsOfService",o.PRIVACY="isPrivacyAndSecurity",o.ALARM="isEventAlarm",(a=d||(d={})).USERNAME="username",a.PHONE="phone",a.EMAIL="email",a.PASSWORD="password",a.CONFIRM_PASSWORD="confirmPassword",(s=m||(m={})).INFLOW_COMPANY="inflowCompany",s.INFLOW_COMPANY_NAME="inflowCompanyName",s.INTERESTED_JOB="interestedJob",s.INFLOW_ROUTE="inflowRoute";var eu=n(54468);function ed(e){var t=e.open,n=e.onClose;return(0,p.tZ)(w.h2,{components:{body:function(){return(0,p.tZ)("div",{className:"px-5 m-auto pt-9 space-y-7",children:(0,p.BX)("div",{className:"space-y-2",children:[(0,p.tZ)("div",{className:"sp-flex-center",children:(0,p.tZ)(w.zb,{className:"text-lm-blue-400",children:(0,p.tZ)(b.bIT,{size:48})})}),(0,p.tZ)("div",{className:"text-center text-title-sm text-lm-gray-900",children:(0,p.tZ)(_.T,{i18nKey:"탈퇴 후 3개월 동안<br/>재가입을 할 수 없습니다."})})]})})},footer:function(){return(0,p.BX)(p.HY,{children:[(0,p.tZ)(eu.Z,{components:{button:function(){return(0,p.tZ)(Z.zx.Basic,{className:"w-[240px]",size:"xlarge",onClick:n,children:"확인"})}}}),(0,p.tZ)(w.qO,{className:"py-9",children:(0,p.tZ)(Z.zx.Basic,{className:"w-[240px]",size:"xlarge",onClick:n,children:"확인"})})]})}},open:t,onChangeHandler:function(){}})}var em=function(){var e,t,n,r=(0,k.I)(["signup","common"]).t,i=R(),o=i.onCompleteIamCertificate,a=i.isIamCertificated,s=(0,D.useRouter)().push,c=(0,v.Gc)(),l=c.getValues,u=c.setError,m=c.trigger,f=ee().mutateAsync,h=(0,X.q)(),g=h.openDialog,Z=h.closeDialog,b=(e=(0,U.Z)(function(){return(0,V.__generator)(this,function(e){return[2,m([d.USERNAME,d.PHONE],{shouldFocus:!0})]})}),function(){return e.apply(this,arguments)});en(d.PHONE);var _=(t=(0,U.Z)(function(){return(0,V.__generator)(this,function(e){switch(e.label){case 0:return[4,f({name:l(d.USERNAME),phone:l(d.PHONE)})];case 1:return 4403===e.sent().specterStatus&&ee["탈퇴요청상태throw"](),[2]}})}),function(){return t.apply(this,arguments)}),N=(n=(0,U.Z)(function(e,t){var n;return(0,V.__generator)(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,_()];case 1:return r.sent(),o(e,t),[3,3];case 2:return n=r.sent(),ee["탈퇴요청상태catch"](n)&&g(ed,{onClose:function(){Z(ed),s("/")}}),[3,3];case 3:return[2]}})}),function(e,t){return n.apply(this,arguments)});return(0,p.BX)("div",{className:"sp-flex-col gap-3",children:[(0,p.BX)("div",{className:"sp-flex-col gap-2",children:[(0,p.tZ)(w.Sz,{id:d.PHONE,placeholder:"‘-’구분없이 입력",type:"tel",inputMode:"tel",disabled:a}),(0,p.tZ)(G,{disabled:a,getPresetInfo:function(){var e=(0,x.Z)(l([d.USERNAME,d.PHONE]),2);return{name:e[0],phone:e[1]}},validAuthData:b,onComplete:N,onError:function(e){u(d.PHONE,{type:"iamport",message:e})},buttonText:r(a?"signup:complete.iam.certificate":"signup:go.iam.certificate")})]}),(0,p.tZ)("div",{className:"text-lm-gray-400 text-caption-md",children:(0,p.tZ)(M.T,{t:r,i18nKey:"signup:basic.certificate.desc"})})]})};function ep(){var e=R().isIamCertificated,t=(0,k.I)("common").t;return(0,p.BX)("div",{className:"w-full sp-flex-col gap-6 p-8 mobile:px-5 rounded-lg border border-lm-gray-200 bg-lm-white-00 max-w-[25.9375rem] m-auto",children:[(0,p.tZ)(ef,{label:(0,p.tZ)(M.T,{t:t,i18nKey:"name"}),content:(0,p.tZ)(w.Sz,{id:d.USERNAME,type:"text",placeholder:t("placeholder.name"),autoFocus:!0,disabled:e})}),(0,p.tZ)(ef,{label:(0,p.tZ)(M.T,{t:t,i18nKey:"phoneNumber"}),content:(0,p.tZ)(em,{})}),(0,p.tZ)(ef,{label:(0,p.tZ)(M.T,{t:t,i18nKey:"email.id"}),content:(0,p.tZ)(w.Sz,{id:d.EMAIL,type:"email",inputMode:"email",placeholder:t("placeholder.email.id")})}),(0,p.tZ)(ef,{label:(0,p.tZ)(M.T,{t:t,i18nKey:"password"}),content:(0,p.BX)("div",{className:"sp-flex-col gap-2",children:[(0,p.tZ)(w.Sz,{id:d.PASSWORD,type:"password",placeholder:t("placeholder.password"),enableToggleShowPassword:!0}),(0,p.tZ)(L.T,{})]})}),(0,p.tZ)(ef,{label:(0,p.tZ)(M.T,{t:t,i18nKey:"passwordConfirm"}),content:(0,p.tZ)(w.Sz,{id:d.CONFIRM_PASSWORD,type:"password",placeholder:t("placeholder.passwordConfirm"),enableToggleShowPassword:!0})})]})}var ef=function(e){var t=e.label,n=e.content;return(0,p.BX)("div",{className:"sp-flex-col gap-1",children:[(0,p.tZ)("span",{className:"text-subtitle-md text-lm-gray-700",children:t}),n]})};function eh(){return(0,p.BX)("div",{className:"sp-flex-col gap-10 mobile:px-5",children:[(0,p.tZ)(ep,{}),(0,p.tZ)(B,{})]})}var eg=n(42053),ev=n(65205),eZ=n(11222);function eb(){return(0,p.tZ)(eg.Z,{href:ev.wS,target:"_blank",children:(0,p.BX)(eZ.Lb,{className:"gap-0.5 mt-6 group/link",children:[(0,p.tZ)("span",{className:"text-lm-gray-900 text-subtitle-md pc:group-hover/link:underline",children:"Sign-up for foreign member"}),(0,p.tZ)(w.zb,{className:"text-lm-gray-900",children:(0,p.tZ)(b.pbP,{size:16})})]})})}function e_(){var e,t=(0,v.Gc)().trigger,n=R().onChangeStep,r=(e=(0,U.Z)(function(){return(0,V.__generator)(this,function(e){switch(e.label){case 0:return[4,t([u.PRIVACY,u.SERVICE])];case 1:return e.sent()&&n(c.BASIC),[2]}})}),function(){return e.apply(this,arguments)});return(0,p.tZ)(Z.zx.Basic,{block:!0,pill:!0,size:"xlarge",className:"mt-6",onClick:r,children:(0,p.tZ)(_.T,{i18nKey:"동의하고 다음"})})}var ew=n(47088),eN=n(50069),ey=n(64275),ex=n(842),eI=n(32546),eE=n(54896),eO=function(e){var t=e.className,n=e.id,r=void 0===n?"":n,i=(0,k.I)("signup").t;return(0,p.tZ)("div",{className:"ml-3 text-left",onClick:function(e){return e.stopPropagation()},children:(0,p.tZ)("label",{className:(0,et.cn)(["pc:text-subtitle-lg mb-1 mobile:text-subtitle-md text-lm-gray-700",void 0===t?"":t]),htmlFor:r,children:(0,p.tZ)(M.T,{t:i,i18nKey:"signup:terms.checkbox.".concat(r)})})})},eC=(0,ey.Z)("div",{target:"e29lgzo0"})(),eS=(0,ey.Z)("div",{target:"e29lgzo1"})("display:flex;align-items:center;transform:",function(e){return e.isOpenTerm?"rotate(0deg)":"rotate(180deg)"},";
1transition:transform ease-out 0.2s;color:",ex.$_.gray[500]," !important;"),eA={allAgree:function(){var e=(0,v.Gc)().setValue,t=function(t){e(eI.kR.SERVICE,t,{shouldValidate:!0}),e(eI.kR.PRIVACY,t,{shouldValidate:!0}),e(eI.kR.ALARM,t,{shouldValidate:!0}),e(eI.kR.ALL,t,{shouldValidate:!0})};return(0,p.tZ)("div",{className:"flex justify-between p-5 rounded-md bg-lm-skyBlue-200",onClick:function(e){return e.stopPropagation()},children:(0,p.tZ)(w.M4,{id:eI.kR.ALL,registerOptions:{onChange:function(e){t(e.target.checked)}},children:(0,p.tZ)(eO,{className:"!text-lm-gray-900 cursor-pointer",id:eI.kR.ALL})})})},basic:function(e){var t,n=e.id,r=void 0===n?"":n,i=e.description,o=void 0===i?(0,p.tZ)(p.HY,{}):i,a=e.registerOptions,s=e.isOpenTerm,c=e.collapse,l=(0,v.Gc)().formState.errors;return(0,p.BX)("div",{className:"flex justify-between p-5 rounded-md",children:[(0,p.BX)(eC,{children:[(0,p.tZ)(w.M4,{id:r,registerOptions:void 0===a?{}:a,children:(0,p.tZ)(eO,{id:r,className:"cursor-pointer"})}),(0,p.tZ)(eE.Z.Error,{error:!!l[r],children:null===(t=l[r])||void 0===t?void 0:t.message}),(0,p.tZ)(eE.Z.Desc,{children:o})]}),void 0!==c&&c&&(0,p.tZ)(eS,{isOpenTerm:void 0!==s&&s,children:(0,p.tZ)(b.UAF,{})})]})},contentWrapper:(0,ey.Z)("div",{target:"e29lgzo2"})("border-bottom:1px solid ",ex.$_.lm.gray[100],";")},eT=n(77788),eP=n(7429),eR=n(30213),eB=function(e){var t=e.type,n=(0,k.I)("signup").t;return(0,p.BX)("div",{className:(0,et.cn)(["p-4 sp-flex-col w-full gap-3 rounded-lg border",{"border-lm-skyBlue-500 bg-lm-skyBlue-100":"blue"===t,"border-[#FFDFD5] bg-lm-salmon-00":"red"===t}]),children:[(0,p.BX)("div",{className:"sp-flex-items-center gap-3",children:[(0,p.BX)("div",{className:"relative",children:[(0,p.tZ)(eR.Z,{src:"/signup/ic_".concat(t,".png"),alt:"logo",width:48,height:48}),(0,p.tZ)(eL,{className:"top-0.5 left-1",delay:"blue"===t?0:1}),(0,p.tZ)(eL,{className:"bottom-1.5 right-1.5",size:"large",delay:"blue"===t?1.5:3})]}),(0,p.tZ)("span",{className:"text-title-md text-lm-gray-900",children:(0,p.tZ)(M.T,{t:n,i18nKey:"terms.intro.title.".concat(t),components:{c:(0,p.tZ)("span",{className:(0,et.cn)([{"text-lm-blue-400":"blue"===t,"text-lm-salmon-200":"red"===t}])})}})})]}),(0,p.tZ)("ul",{className:"sp-flex-col gap-0.5 pl-3",children:[1,2].map(function(e){return(0,p.tZ)("li",{className:"list-disc text-body-lg text-lm-gray-700",children:(0,p.tZ)(M.T,{t:n,i18nKey:"terms.intro.desc.".concat(t,".").concat(e)})},e)})})]})},eL=function(e){var t=e.className,n=e.size,r=e.delay,i=void 0===r?0:r;return(0,p.tZ)("div",{className:(0,et.cn)(["absolute",t]),children:"large"===(void 0===n?"small":n)?(0,p.tZ)(eP.E.svg,{animate:{opacity:[0,1,0],transform:["rotate(0)","rotate(360deg)"],transition:{delay:.2*i,repeat:1/0,duration:1.3}},xmlns:"http://www.w3.org/2000/svg",width:"9",height:"9",viewBox:"0 0 9 9",fill:"none",children:(0,p.tZ)("path",{d:"M4.46803 0.778061C4.58393 0.478269 5.0081 0.478269 5.12401 0.778061L5.99 3.01803C6.02573 3.11044 6.09878 3.18349 6.19119 3.21922L8.43116 4.08521C8.73095 4.20112 8.73095 4.62529 8.43116 4.74119L6.19119 5.60719C6.09878 5.64292 6.02573 5.71597 5.99 5.80838L5.12401 8.04835C5.0081 8.34814 4.58393 8.34814 4.46803 8.04835L3.60203 5.80837C3.56631 5.71597 3.49325 5.64292 3.40085 5.60719L1.16087 4.74119C0.861081 4.62529 0.861082 4.20112 1.16087 4.08521L3.40085 3.21922C3.49326 3.18349 3.56631 3.11044 3.60203 3.01803L4.46803 0.778061Z",fill:"white"})}):(0,p.tZ)(eP.E.svg,{animate:{opacity:[0,1,0],transform:["rotate(0)","rotate(360deg)"],transition:{delay:.2*i,repeat:1/0,duration:1.3}},xmlns:"http://www.w3.org/2000/svg",width:"7",height:"7",viewBox:"0 0 7 7",fill:"none",children:(0,p.tZ)("path",{d:"M3.28338 0.377726C3.37128 0.150383 3.69294 0.150383 3.78083 0.377725L4.47003 2.16038C4.49712 2.23045 4.55251 2.28585 4.62259 2.31294L6.40524 3.00213C6.63258 3.09003 6.63258 3.41169 6.40524 3.49958L4.62259 4.18878C4.55251 4.21587 4.49712 4.27126 4.47003 4.34134L3.78083 6.12399C3.69294 6.35133 3.37128 6.35133 3.28338 6.12399L2.59419 4.34134C2.5671 4.27126 2.5117 4.21587 2.44163 4.18878L0.658976 3.49958C0.431634 3.41169 0.431633 3.09003 0.658975 3.00213L2.44163 2.31294C2.5117 2.28585 2.5671 2.23045 2.59419 2.16038L3.28338 0.377726Z",fill:"white"})})})},ek=function(e){var t=(0,v.Gc)(),n=t.setValue,r=t.getValues,i=function(e,t){t?r([u.SERVICE,u.PRIVACY,u.ALARM]).every(function(e){return e})&&n(u.ALL,!0,{shouldValidate:!0}):n(u.ALL,!1,{shouldValidate:!0})},o=function(e){e.stopPropagation();var t=e.target.checked;i(e.target.id,t)},a=(0,I.useMemo)(function(){var e;return e={},(0,ei.Z)(e,u.SERVICE,{onChange:o}),(0,ei.Z)(e,u.PRIVACY,{onChange:o}),(0,ei.Z)(e,u.ALARM,{onChange:o}),(0,ei.Z)(e,u.ALL,{}),e},[]);return{registerOptions:e?a[e]:{},toggleTermsHandler:i}},eM={Layout:function(e){var t=e.children;return(0,p.tZ)("div",{className:"mobile:px-5 p-8 bg-lm-white-00 mobile:py-10 pc:rounded-lg pc:border border-lm-gray-200 mobile:border-y max-w-[28.125rem] mx-auto",children:t})},Intro:function(){var e=(0,k.I)("signup").t;return(0,p.BX)("div",{className:"sp-flex-col w-full gap-5 mb-5",children:[(0,p.tZ)(eB,{type:"blue"}),(0,p.tZ)(eB,{type:"red"}),(0,p.tZ)("ul",{className:"pl-3",children:(0,p.tZ)("li",{className:"list-disc text-lm-gray-500 text-body-lg",children:(0,p.tZ)(M.T,{t:e,i18nKey:"terms.intro.desc"})})})]})},AllAgree:eA.allAgree,Alarm:function(){var e=(0,x.Z)((0,ew.Z)(!1),2),t=e[0],n=e[1],r=u.ALARM,i=ek(r).registerOptions;return(0,p.tZ)(eA.contentWrapper,{children:(0,p.BX)(eN.Z.Root,{open:t,onOpenChange:n,children:[(0,p.tZ)(eN.Z.Trigger,{className:"w-full p-0 bg-transparent",children:(0,p.tZ)(eA.basic,{id:r,isOpenTerm:t,registerOptions:i,collapse:!0})}),(0,p.tZ)(eN.Z.Content,{children:(0,p.tZ)(eT.ZP.event,{})})]})})},Service:function(){var e=(0,x.Z)((0,ew.Z)(!1),2),t=e[0],n=e[1],r=u.SERVICE,i=ek(r).registerOptions;return(0,p.tZ)(eA.contentWrapper,{children:(0,p.BX)(eN.Z.Root,{open:t,onOpenChange:n,children:[(0,p.tZ)(eN.Z.Trigger,{className:"w-full p-0 bg-transparent",children:(0,p.tZ)(eA.basic,{id:r,isOpenTerm:t,registerOptions:i,collapse:!0})}),(0,p.tZ)(eN.Z.Content,{children:(0,p.tZ)(eT.ZP.service,{})})]})})},Privacy:function(){var e=(0,x.Z)((0,ew.Z)(!1),2),t=e[0],n=e[1],r=u.PRIVACY,i=ek(r).registerOptions;return(0,p.tZ)(eA.contentWrapper,{children:(0,p.BX)(eN.Z.Root,{open:t,onOpenChange:n,children:[(0,p.tZ)(eN.Z.Trigger,{className:"w-full p-0 bg-transparent",children:(0,p.tZ)(eA.basic,{id:r,isOpenTerm:t,registerOptions:i,collapse:!0})}),(0,p.tZ)(eN.Z.Content,{children:(0,p.tZ)(eT.ZP.privacy,{})})]})})}};function eU(){return(0,p.BX)(eM.Layout,{children:[(0,p.tZ)(eM.Intro,{}),(0,p.tZ)(eM.AllAgree,{}),(0,p.tZ)(eM.Service,{}),(0,p.tZ)(eM.Privacy,{}),(0,p.tZ)(eM.Alarm,{}),(0,p.tZ)(e_,{}),(0,p.tZ)(eb,{})]})}var eV=function(){var e=(0,v.Gc)().watch,t=R(),n=t.originPurposeOfVisit,r=t.purposeOfVisit;return{isValid:(0,h.EQ)([n,r]).with([h.P.union(l["지원자"],l["작성자"],l["비지정_작성자"]),h.P._],function(){return e([m.INTERESTED_JOB]).every(function(e){return!!e})}).with([h.P._,l["지원자"]],function(){return e([m.INTERESTED_JOB]).every(function(e){return!!e})}).with([h.P._,h.P.union(l["기업"],l["기타"])],function(){return e([m.INFLOW_ROUTE]).every(function(e){return!!e})}).otherwise(function(){return!!r})}},eX=n(54793),eD=n(40303),ez=n(7703),eY=n(96785),eF=n.n(eY),eW=function(e){return eF().AES.encrypt
1(e,"lhsqreokpsaovqu0dp").toString()},eG=n(2356),eK=n(87760),eH=n(8385),eQ=n(6307),eq=n(13427),ej=n(34070),eJ=n(55864),e$=function(){var e=[ej.a.SIGNUP.MUTATION.VALIDATION],t=(0,eJ.p)({mutationKey:e,mutationFn:function(e){return J.Z.post("/signup/valid",e)}});return(0,y.Z)((0,N.Z)({},t),{isLoading:(0,eq.B)(e)>0})},e0=function(e){return J.Z.post("/v2/signup",e)},e1=function(){return(0,eJ.p)({mutationKey:[ej.a.SIGNUP.MUTATION.BASE],mutationFn:e0})},e2=n(25830),e3=function(){var e,t=(0,eD.I)("singup").t,n=(0,D.useRouter)(),r=n.replace,i=n.query,o=(0,eX.NL)(),a=(0,v.Gc)().getValues,s=R(),c=s.impUid,l=s.merchantUid,p=s.purposeOfVisit,f=s.originPurposeOfVisit,g=e1(),Z=g.mutateAsync,b=g.isLoading;return{onSignupUser:(e=(0,U.Z)(function(){var e,n,s,g,v,b,_,w,N,y,I,E;return(0,V.__generator)(this,function(O){switch(O.label){case 0:return n=(e=(0,x.Z)(a([d.USERNAME,d.EMAIL,d.PHONE,d.PASSWORD,d.CONFIRM_PASSWORD,u.ALARM]),6))[0],s=e[1],g=e[2],v=e[3],b=e[4],_=e[5],N=(w=(0,x.Z)(a([m.INFLOW_COMPANY,m.INFLOW_ROUTE,m.INTERESTED_JOB]),3))[0],y=w[1],I=w[2],[4,Z({username:n.trim(),email:s.trim().toLocaleLowerCase(),phone:g.trim(),password:v,confirm_password:b,isPrivacyAndSecurity:!0,isTermsOfService:!0,isEventAlarm:_,impUid:c,merchantUid:l,inflowCompany:N,inflowRoute:null==y?void 0:y.value,interestedJob:null==I?void 0:I.value,purposeOfVisit:null!==(E=null!=p?p:f)&&void 0!==E?E:""},{onSuccess:function(e){var n=e.specterStatus,a=void 0===n?999:n,s=e.data;(0,h.EQ)(a).with(200,function(){var e,n,a,c,l=null!==(a=null==s?void 0:null===(e=s.user)||void 0===e?void 0:e.username)&&void 0!==a?a:"",u=null!==(c=null==s?void 0:null===(n=s.user)||void 0===n?void 0:n.email)&&void 0!==c?c:"",d=e4(p,f);o.setQueryData(eQ.bY,function(){var e;return{profileImg:null==s?void 0:null===(e=s.user)||void 0===e?void 0:e.profileImg,username:l,isManager:!1,isLogin:!0}});var m=e5(p);i.funnel&&((0,eK.er)(),(0,eK.kU)({type:"sign_up",value:1e4})),(0,eG.J)(m,{crm_id:eW(u),user_id:eW(u),date:(0,et.GP)().format("YYYY-MM-DD")}),r(d),e8.includes(d)&&eH.A.success(t("signup:complete.signup".concat(d!==ev.YN.COMPANY?"":".company",".toast"),{name:l}),{delay:500})}).otherwise(function(){throw F.Z.withScope(function(t){t.setExtras({origin:"Client API Exception",path:"/v2/sign-up",method:"POST",status:a,data:JSON.stringify(e)}),F.Z.captureException(new W.X({message:"[/v2/sign-up] 회원가입 오류 (".concat(a,")")}))}),new e2.h({method:"POST",status:a,path:"/v2/sign-up",message:"회원가입 오류 - specterStatus : ".concat(a)})})}})];case 1:return O.sent(),[2]}})}),function(){return e.apply(this,arguments)}),isLoading:b}},e4=function(e,t){return(0,h.EQ)(t).with(l["지원자"],function(){return ev.kZ.APPLICANT}).with(h.P.union(l["작성자"],l["비지정_작성자"]),function(){return ev.kZ.WRITER}).otherwise(function(){return(0,h.EQ)(e).with(l["지원자"],function(){return ev.kZ.INFLOW}).with(l["기업"],function(){return ev.YN.COMPANY}).with(l["작성자"],function(){return ev.t7.SEARCH}).otherwise(function(){return ev.kZ.BASE})})},e5=function(e){return(0,h.EQ)(e).with(l["지원자"],function(){return ez.c.SIGNUP.INDIV}).with(l["기업"],function(){return ez.c.SIGNUP.CORP}).with(l["작성자"],function(){return ez.c.SIGNUP.WRITER}).with(l["기타"],function(){return ez.c.SIGNUP.ETC}).otherwise(function(){})},e8=[ev.kZ.BASE,ev.t7.SEARCH,ev.YN.COMPANY];function e7(){var e=eV().isValid,t=R().onChangeStep,n=e3(),r=n.onSignupUser,i=n.isLoading;return(0,p.BX)("div",{className:"sp-flex-items-center justify-between *:w-[9.375rem] mobile:*:w-[6.25rem] *:gap-3",children:[(0,p.BX)(Z.zx.Basic,{className:"sp-flex-center *:text-lm-gray-900 pc:!pr-6",color:"lm_outline",pill:!0,size:"xlarge",onClick:function(){return t(c.BASIC)},children:[(0,p.tZ)(w.zb,{children:(0,p.tZ)(b.NAp,{size:12})}),(0,p.tZ)(_.T,{i18nKey:"이전"})]}),(0,p.tZ)(Z.zx.Basic,{className:"sp-flex-center text-lm-white-00",pill:!0,size:"xlarge",disabled:!e,isLoading:i,onClick:r,children:(0,p.tZ)(_.T,{i18nKey:"가입완료"})})]})}var e6=n(25689),e9=[l["지원자"],l["기업"],l["작성자"],l["기타"]];
1function te(){var e=R(),t=e.purposeOfVisit,n=e.onChangePurposeOfVisit;return(0,p.tZ)("div",{className:"grid grid-cols-4 gap-5 mb-10 mobile:grid-cols-2 mobile:gap-3",children:e9.map(function(e,r){return(0,p.tZ)(tt,{id:e,imageUrl:"/signup/additional-0".concat(r+1,".png"),isSelected:t===e,onClick:n},e)})})}var tt=function(e){var t=e.id,n=e.imageUrl,r=e.onClick,i=e.isSelected,o=(0,e6.Z)().isMobile,a=(0,k.I)("signup").t,s=o?64:80;return(0,p.tZ)("div",{"aria-selected":i,className:"px-3 py-5 rounded-lg shadow-[0px_0px_24px_0px_rgba(148,148,148,_0.10)] aria-selected:shadow-[0px_0px_24px_0px_rgba(0,109,238,_0.15)] bg-lm-white-00 border border-solid border-lm-gray-100 hover:border-lm-blue-300 aria-selected:border-[3px] aria-selected:border-[#006DEE] aria-selected:-m-[2px] cursor-pointer transition-colors",onClick:function(){return r(t)},children:(0,p.BX)("div",{className:"flex flex-col items-center justify-center gap-3",children:[(0,p.tZ)(eR.Z,{src:n,alt:t,width:s,height:s}),(0,p.tZ)("div",{className:"text-title-lg mobile:text-title-md text-lm-gray-900",children:(0,p.tZ)(M.T,{t:a,i18nKey:"signup:additional.".concat(t,".title")})}),(0,p.tZ)("div",{className:"text-center text-body-lg text-lm-gray-700",children:(0,p.tZ)(M.T,{t:a,i18nKey:"signup:additional.".concat(t,".desc")})})]})})},tn=n(56600);function tr(){var e=(0,eD.I)(["signup","common"]).t,t=(0,v.Gc)().formState.errors;return(0,p.BX)("div",{className:"w-full",children:[(0,p.tZ)("div",{className:"mb-2 text-subtitle-lg text-lm-gray-700",children:(0,p.tZ)(_.T,{t:e,i18nKey:"signup:additional.select.company"})}),(0,p.BX)("div",{children:[(0,p.tZ)(tn.Z,{companyNameFormId:m.INFLOW_COMPANY_NAME,companyIdFormId:m.INFLOW_COMPANY,placeholder:"지원회사를 검색해 주세요",buttonColor:"lm_darkGray",isManager:!0}),t[m.INFLOW_COMPANY]&&(0,p.tZ)("span",{className:"ml-2 text-lm-error-00 text-caption-md",children:t[m.INFLOW_COMPANY].message})]})]})}var ti=n(19581),to=n(70875),ta=function(){var e=(0,k.I)("signup").t;return{items:Object.values(to.wL).map(function(t){return{value:t,label:e("signup:additional.interest.".concat(t))}})}};function ts(){var e=(0,eD.I)(["signup","common"]).t,t=ta().items;return(0,p.BX)("div",{className:"w-full",children:[(0,p.BX)("div",{className:"flex gap-[2px]",children:[(0,p.tZ)("div",{className:"mb-2 text-subtitle-lg text-lm-gray-700",children:(0,p.tZ)(_.T,{t:e,i18nKey:e("signup:additional.select.interest")})}),(0,p.tZ)("span",{className:"text-subtitle-lg text-lm-blue-300",children:"*"})]}),(0,p.tZ)(ti.Z,{id:m.INTERESTED_JOB,items:t})]})}var tc=function(){return tu(),(0,p.BX)("div",{className:"space-y-10",children:[(0,p.tZ)(tl,{}),(0,p.BX)("div",{className:"flex w-full gap-10 mobile:flex-col",children:[(0,p.tZ)(ts,{}),(0,p.tZ)(tr,{})]})]})},tl=function(){return(0,p.BX)("div",{className:"sp-flex-items-center gap-3 p-3 border rounded-md border-lm-error-00 bg-lm-salmon-00",children:[(0,p.tZ)("span",{className:"sp-flex-items-center text-lm-error-00",children:(0,p.tZ)(b.VJ4,{size:20})}),(0,p.tZ)("span",{className:"text-subtitle-md-bold text-lm-gray-700",children:(0,p.tZ)(_.T,{i18nKey:"평판 요청을 받은 경우 지원회사를 입력해 주세요. <mbr/>지원회사 입력 시 기업에 알림톡이 발송됩니다."})})]})},tu=function(){var e=(0,v.Gc)(),t=e.register,n=e.unregister,r=e.clearErrors;(0,I.useEffect)(function(){return t(m.INFLOW_COMPANY),t(m.INFLOW_COMPANY_NAME),t(m.INTERESTED_JOB),function(){r(),n([m.INFLOW_COMPANY,m.INFLOW_COMPANY_NAME,m.INTERESTED_JOB])}},[])},td=function(){var e=(0,k.I)("signup").t;return{items:Object.values(to.Qn).map(function(t){return{value:t,label:e("signup:additional.inflow.".concat(t))}})}},tm=function(){var e=(0,k.I)("signup").t,t=td().items;return tp(),(0,p.BX)("div",{className:"mt-3 mb-10",children:[(0,p.BX)("div",{className:"flex items-center gap-3 p-3 mb-10 border border-solid rounded-md border-skyBlue-500 bg-lm-skyBlue-200",children:[(0,p.tZ)(w.zb,{className:"text-lm-blue-200",children:(0,p.tZ)(b.UwB,{size:20})}),(0,p.tZ)("span",{className:"text-subtitle-md-bold text-lm-gray-700",children:(0,p.tZ)(M.T,{t:e,i18nKey:"signup:additional.select.tip"})})]}),(0,p.tZ)("div",{className:"mb-2 text-subtitle-lg text-lm-gray-700",children:(0,p.tZ)(M.T,{t:e,i18nKey:"signup:additional.select.inflow"})}),(0,p.tZ)(ti.Z,{id:m.INFLOW_ROUTE,items:t})]},"SignupAdditionalCompany")},tp=function(){var e=(0,v.Gc)().unregister;(0,I.useEffect)(function(){return function(){e([m.INFLOW_ROUTE])}},[])},tf=function(){var e=(0,k.I)("signup").t,t=td().items;return th(),(0,p.BX)("div",{className:"my-10",children:[(0,p.tZ)("div",{className:"mb-2 text-subtitle-lg text-lm-gray-700",children:(0,p.tZ)(M.T,{t:e,i18nKey:"additional.select.inflow"})}),(0,p.tZ)(ti.Z,{id:m.INFLOW_ROUTE,items:t})]},"SignupAdditionalEtc")},th=function(){var e=(0,v.Gc)().unregister;(0,I.useEffect)(function(){return function(){e([m.INFLOW_ROUTE])}},[])},tg=function(e){var t=e.renderButton,n=(0,k.I)("signup").t,r=ta().items,i=td().items,o=(0,v.Gc)().unregister;return(0,I.useEffect)(function(){return function(){o([m.INTERESTED_JOB,m.INFLOW_ROUTE])}},[]),(0,p.BX)("div",{className:"sp-flex-col gap-10",children:[(0,p.BX)("div",{className:"p-8 mobile:px-5 rounded-[0.625rem] bg-lm-white-00 border border-lm-gray-100 max-w-[26.5625rem] mx-auto w-full",children:[(0,p.tZ)("div",{className:"mb-3 text-lm-gray-700 text-subtitle-lg",children:(0,p.tZ)(M.T,{t:n,i18nKey:"additional.select.inflow"})}),(0,p.tZ)(ti.Z,{id:m.INFLOW_ROUTE,items:i}),(0,p.tZ)("div",{className:"mt-6 mb-3 text-lm-gray-700 text-subtitle-lg",children:(0,p.tZ)(M.T,{t:n,i18nKey:n("signup:additional.select.interest")})}),(0,p.tZ)(ti.Z,{id:m.INTERESTED_JOB,items:r})]}),t()]})};function tv(){var e=(0,k.I)("signup").t,t=R(),n=t.originPurposeOfVisit,r=t.purposeOfVisit;return(0,g.Z)(),(0,h.EQ)(n).with(h.P.union(l["지원자"],l["작성자"],l["비지정_작성자"]),function(){return(0,p.tZ)(tg,{renderButton:function(){return(0,p.tZ)(e7,{})}})}).otherwise(function(){return(0,p.BX)("div",{className:"mobile:px-5",children:[(0,p.tZ)("div",{className:"mb-4 text-title-sm mobile:text-title-xs mobile:mb-6 text-lm-gray-700",children:e("additional.title")}),(0,p.tZ)(te,{}),(0,p.BX)("div",{className:"space-y-10",children:[(0,h.EQ)(r).with(l["지원자"],function(){return(0,p.tZ)(tc,{})}).with(l["기업"],function(){return(0,p.tZ)(tm,{})}).with(l["기타"],function(){return(0,p.tZ)(tf,{})}).otherwise(function(){return null}),(0,p.tZ)(e7,{})]})]})})}function tZ(){var e=R().step;return(0,g.Z)([e]),(0,p.tZ)(p.HY,{children:(0,h.EQ)(e).with(c.TERMS,function(){return(0,p.tZ)(eU,{})}).with(c.BASIC,function(){return(0,p.tZ)(eh,{})}).otherwise(function(){return(0,p.tZ)(tv,{})})})}var tb=function(){var e,t=(0,eD.I)("signup").t,n=(0,v.Gc)().setError,r=R(),i=r.onChangeOriginPurposeOfVisit,o=r.onChangeIsIamCertificated,a=r.onChangeStep,s=e$().mutateAsync;return{onSignupValidation:(e=(0,U.Z)(function(e,r){var u,m,p,f,g;return(0,V.__generator)(this,function(v){switch(v.label){case 0:return u=r.callbackWhenInvitedViewer,m=e.username,p=e.email,f=e.phone,g=e.impUid,[4,s({username:m.trim(),email:p.trim().toLocaleLowerCase(),phone:f.trim(),impUid:g},{onSuccess:function(e){var r=e.specterStatus,s=e.purposeOfVisit;(0,h.EQ)(r).with(200,(0,U.Z)(function(){return(0,V.__generator)(this,function(t){return s!==l["뷰어"]?(i(null!=s?s:null),a(c.ADDITIONAL)):u(e),[2]})})).otherwise(function(e){(0,h.EQ)(e).with(303,function(){n(d.USERNAME,{type:"custom",message:t("signup:error.different.name")}),o(!1)}).with(304,function(){n(d.PHONE,{type:"custom",message:t("signup:error.different.name")}),o(!1)}).with(306,function(){n(d.EMAIL,{type:"custom",message:t("signup:error.duplicated.email")})}).with(308,function(){n(d.PHONE,{type:"custom",message:t("signup:error.duplicated.phone")}),o(!1)}).with(h.P.union(600,602,307),function(){n(d.PHONE,{type:"custom",message:t("signup:error.certificated")}),o(!1)}).otherwise(function(){n(d.USERNAME,{type:"custom",message:t("signup:error.retry.500")})})})}})];case 1:return v.sent(),[2]}})}),function(t,n){return e.apply(this,arguments)})}},t_=function(){var e,t=(0,D.useRouter)(),n=t.replace,r=t.query,i=(0,eX.NL)(),o=e1().mutateAsync;return{onSignUpViewer:(e=(0,U.Z)(function(e){return(0,V.__generator)(this,function(t){switch(t.label){case 0:return[4,o(e,{onSuccess:function(e){var t,o,a,s,c=e.data;i.setQueryData(eQ.bY,function(){var e,t;return{profileImg:null==c?void 0:null===(e=c.user)||void 0===e?void 0:e.profileImg,username:null==c?void 0:null===(t=c.user)||void 0===t?void 0:t.username,isManager:!1,isLogin:!0}}),r.funnel&&((0,eK.er)(),(0,eK.kU)({type:"sign_up",value:1e4}
1)),(0,eG.J)(ez.c.SIGNUP.VIEWER,{crm_id:eW(null!==(a=null==c?void 0:null===(t=c.user)||void 0===t?void 0:t.email)&&void 0!==a?a:""),user_id:eW(null!==(s=null==c?void 0:null===(o=c.user)||void 0===o?void 0:o.email)&&void 0!==s?s:""),date:(0,et.GP)().format("YYYY-MM-DD")}),n(ev.qf)}})];case 1:return t.sent(),[2]}})}),function(t){return e.apply(this,arguments)})}};function tw(e){var t,n=e.children,r=(0,v.Gc)(),i=r.handleSubmit,o=r.setError,a=R(),s=a.impUid,c=a.merchantUid,l=a.isIamCertificated,u=tb().onSignupValidation,m=t_().onSignUpViewer,f=(t=(0,U.Z)(function(e){var t,n,r,i,a,p;return(0,V.__generator)(this,function(f){switch(f.label){case 0:var h;if(!l||!s)return o(d.PHONE,{type:"iamport",message:"본인인증을 완료해 주세요"}),[2];return t=e.username,n=e.email,r=e.phone,i=e.password,a=e.confirmPassword,p=e.isEventAlarm,[4,u({username:t,email:n,phone:r,impUid:s},{callbackWhenInvitedViewer:(h=(0,U.Z)(function(e){return(0,V.__generator)(this,function(o){switch(o.label){case 0:return[4,m({email:n,username:t,phone:r,impUid:s,password:i,confirm_password:a,isPrivacyAndSecurity:!0,isTermsOfService:!0,merchantUid:c,purposeOfVisit:e.purposeOfVisit,isEventAlarm:p})];case 1:return o.sent(),[2]}})}),function(e){return h.apply(this,arguments)})})];case 1:return f.sent(),[2]}})}),function(e){return t.apply(this,arguments)});return(0,p.tZ)("form",{onSubmit:i(f),children:n})}function tN(e){var t=e.children,n=(0,eD.I)("common").t;return(0,p.tZ)("div",{className:"bg-lm-bg-00 min-h-[90vh] scheme-light",children:(0,p.BX)("section",{className:"pc:pt-[3.75rem] pc:pb-[6.5625rem] mobile:pt-[2.5rem] mobile:pb-[5.625rem] max-w-[49.0625rem] mx-auto",children:[(0,p.tZ)("div",{className:"mx-auto mb-6 text-center",children:(0,p.tZ)("div",{className:"mb-1 text-title-lg text-lm-gray-900",children:(0,p.tZ)(_.T,{t:n,i18nKey:"signup"})})}),t]})})}function ty(){var e=(0,eD.I)("common").t,t=R().step;return(0,p.BX)("div",{className:"relative mb-[2.25rem] mobile:mb-[2.5rem] max-w-[21.25rem] mx-auto",children:[(0,p.tZ)("div",{className:"absolute h-px bg-lm-gray-200 top-5 mobile:top-4.5 left-3 w-[85%] mobile:left-7 mobile:w-[80%]"}),(0,p.tZ)("div",{className:"relative sp-flex-items-center justify-between w-full",children:tI.map(function(n){var r=n.intlId,i=n.step;return(0,p.tZ)(tx,{step:i,label:(0,p.tZ)(_.T,{t:e,i18nKey:r}),currentStep:t},i)})})]})}var tx=function(e){var t=e.step,n=e.label,r=e.currentStep,i=t===r,o=t<r;return(0,p.BX)("div",{className:"sp-flex-center flex-col gap-2.5",children:[(0,p.tZ)("div",{className:(0,et.cn)("sp-flex-center w-10 h-10 rounded-full border",{"bg-lm-blue-500 text-lm-white-00 border-lm-blue-500":i,"bg-lm-white-00 border-lm-blue-300":o,"bg-lm-gray-100 text-lm-gray-400 border border-lm-gray-100":t>r}),children:o?(0,p.tZ)(w.zb,{className:"text-lm-blue-300",children:(0,p.tZ)(b.Tig,{size:24})}):(0,p.tZ)("span",{className:"font-bold text-title-sm mobile:text-subtitle-md",children:t})}),(0,p.tZ)("span",{className:(0,et.cn)("text-title-sm mobile:text-subtitle-md",{"text-lm-gray-900":i,"text-lm-gray-500 font-normal":!i}),children:n})]},t)},tI=[{step:c.TERMS,intlId:"agreeTerms"},{step:c.BASIC,intlId:"basicInfo"},{step:c.ADDITIONAL,intlId:"additionalInfo"}];function tE(){return(0,p.tZ)(tN,{children:(0,p.tZ)(T,{children:(0,p.tZ)(el,{children:(0,p.BX)(tw,{children:[(0,p.tZ)(ty,{}),(0,p.tZ)(tZ,{})]})})})})}var tO=!0;function tC(){return(0,p.tZ)(f.Z,{children:(0,p.tZ)(tE,{})})}},2356:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(16727),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};window.dataLayer&&e&&window.dataLayer.push((0,r.Z)({event:e},t))}},87760:function(e,t,n){"use strict";n.d(t,{er:function(){return r},kU:function(){return i}});var r=function(){window&&window.wcs&&(window.wcs_add||(window.wcs_add={}),window.wcs_add.wa="AccountId",window.wcs.inflow("site-domain"),window.wcs_do())},i=function(e){if(window&&window.wcs){window.wcs_add||(window.wcs_add={}),window.wcs_add.wa="AccountId";var t={};t.type=e.type,t.value=e.value,window.wcs.trans(t)}}},61134:function(e,t,n){"use strict";n.d(t,{Al:function(){return r.Al},DX:function(){return r.DX},Dx:function(){return r.Dx},HN:function(){return r.HN},HO:function(){return r.HO},Ii:function(){return r.Ii},O$:function(){return r.O$},Sy:function(){return r.Sy},VX:function(){return r.VX},bL:function(){return r.bL},dO:function(){return r.dO},eW:function(){return r.eW},g5:function(){return r.g5},n_:function(){return r.n_},qt:function(){return r.qt},wl:function(){return r.wl},wn:function(){return r.wn}
1,zE:function(){return r.zE}});var r=n(41391)},85097:function(e,t,n){"use strict";n.d(t,{a:function(){return i}});var r=n(5394),i=function(){var e=r.z.string({message:"비밀번호를 입력해 주세요."}).min(1,"비밀번호를 입력해 주세요."),t=e.min(8,"비밀번호는 최소 8자 이상이어야 합니다.").max(16,"비밀번호는 최대 16자까지 입력할 수 있습니다.").regex(/^[A-Za-z0-9!"#$%&()*+,\-./:;?@[\\\]^_{}~]+$/,"비밀번호는 영문 대소문자, 숫자, 그리고 지정된 특수문자만 포함할 수 있습니다.").regex(/[A-Za-z]/,"비밀번호에는 최소 하나의 영문이 포함되어야 합니다.").regex(/\d/,"비밀번호에는 최소 하나의 숫자가 포함되어야 합니다.").regex(/[!"#$%&()*+,\-./:;?@[\\\]^_{}~]/,"비밀번호에는 최소 하나의 특수문자가 포함되어야 합니다.");return{passwordSchema:e,newPasswordSchema:t}}},1342:function(){}},function(e){e.O(0,[8065,4929,8819,7771,5575,567,6251,9774,2888,179],function(){return e(e.s=90934)}),_N_E=e.O()}]);

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.