1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1460],{8235:(e,a,l)=>{l.d(a,{default:()=>$});var n=l(95155),s=l(12115),r=l(23550),i=l(38679),t=l(35128),o=l(81769),d=l(11983),c=l(13353),p=l(89794),h=l(49325),x=l(81559);let m=e=>{if(!/^\d{8}$/.test(e))return!1;let a=+e.slice(0,4),l=+e.slice(4,6),n=+e.slice(6,8),s=new Date(a,l-1,n);return s.getFullYear()===a&&s.getMonth()===l-1&&s.getDate()===n},g=e=>x.AW.test(e.replace(/-/g,"")),f=[{key:"spouseName",label:"ë°°ì°ì ì±ëª
"},{key:"spouseBirthDate",label:"ë°°ì°ì ìë
ìì¼"},{key:"spousePhone",label:"ë°°ì°ì í´ëí°ë²í¸"},{key:"spouseEmail",label:"ë°°ì°ì ì´ë©ì¼"},{key:"memberName",label:"ê³µì íì ì±ëª
"},{key:"memberBirthDate",label:"ê³µì íì ìë
ìì¼"},{key:"memberPhone",label:"ê³µì íì í´ëí°ë²í¸"}],u={spouseName:"",spouseBirthDate:"",spouseCalendarType:"ìë ¥",spouseGender:"ë¨",spousePhone:"",spouseEmail:"",spouseAddress:"",spouseAddressDetail:"",memberName:"",memberBirthDate:"",memberPhone:""},b={all:!1,privacy:!1,marketing:!1},y=e=>(null==e?void 0:e.length)!==8?e:"".concat(e.slice(0,4),"-").concat(e.slice(4,6),"-").concat(e.slice(6,8)),v=e=>{let{onClose:a}=e,l=(0,c.Xr)(p.Jj),[n,r]=(0,s.useState)(u),[i,t]=(0,s.useState)(b),[o,d]=(0,s.useState)({privacy:!0,marketing:!1}),v=(0,s.useCallback)(e=>{r(a=>({...a,spouseAddress:e}))},[]),j=(0,s.useCallback)(e=>{let{name:a,value:l}=e.target;r(e=>({...e,[a]:l}))},[]),w=(0,s.useCallback)(e=>{let a=e.target.checked;t({all:a,privacy:a,marketing:a})},[]),N=(0,s.useCallback)(e=>a=>{t(l=>{let n={...l,[e]:a.target.checked};return n.all=n.privacy&&n.marketing,n})},[]),k=(0,s.useCallback)(e=>{d(a=>({...a,[e]:!a[e]}))},[]),C=(0,s.useCallback)(()=>{r(u),t(b),a()},[a]),A=(0,s.useCallback)(()=>{let e;for(let{key:e,label:s}of f){var a;if(!(null==(a=n[e])?void 0:a.trim()))return l({isOpen:!0,desc:"".concat(s,"ì(를) ì
ë ¥í´ì£¼ì¸ì.")}),!1}return m(n.spouseBirthDate)?m(n.memberBirthDate)?g(n.spousePhone)?g(n.memberPhone)?(e=n.spouseEmail,!!x.w0.test(e)||(l({isOpen:!0,desc:"ë°°ì°ì ì´ë©ì¼ íìì´ ì¬ë°ë¥´ì§ ììµëë¤."}),!1)):(l({isOpen:!0,desc:"ê³µì íì í´ëí°ë²í¸ íìì´ ì¬ë°ë¥´ì§ ììµëë¤. (ì: 01012345678)"}),!1):(l({isOpen:!0,desc:"ë°°ì°ì í´ëí°ë²í¸ íìì´ ì¬ë°ë¥´ì§ ììµëë¤. (ì: 01012345678)"}),!1):(l({isOpen:!0,desc:"ê³µì íì ìë
ìì¼ì ì¬ë°ë¥¸ íìì¼ë¡ ì
ë ¥í´ì£¼ì¸ì. (ì: 19990101)"}),!1):(l({isOpen:!0,desc:"ë°°ì°ì ìë
ìì¼ì ì¬ë°ë¥¸ íìì¼ë¡ ì
ë ¥í´ì£¼ì¸ì. (ì: 19990101)"}),!1)},[n,l]),D=(0,s.useCallback)(async()=>{if(!A())return;if(!i.privacy)return void l({isOpen:!0,desc:"ê°ì¸ì ë³´ ìì§\xb7ì´ì©ì ëìí´ì£¼ì¸ì."});let e={partnerName:n.spouseName,partnerBirthDate:y(n.spouseBirthDate),partnerBirthType:"ìë ¥"===n.spouseCalendarType?"SOLAR":"LUNAR",partnerGenderScd:"ë¨"===n.spouseGender?"m":"f",partnerEmail:n.spouseEmail,partnerMobilePhone:n.spousePhone,partnerHomeAddr:[n.spouseAddress,n.spouseAddressDetail].filter(Boolean).join(" "),partnerAgree:i.privacy,partner
1SmsReceive:i.marketing,personName:n.memberName,personBirthDate:y(n.memberBirthDate),personMobilePhone:n.memberPhone};try{await h.A.registerPobaPartner(e),l({isOpen:!0,desc:"ë°°ì°ì ë±ë¡ì´ ìë£ëììµëë¤.",handleClick:C})}catch(e){}},[n,i,C,A,l]);return{formData:n,setFormData:r,agreements:i,expanded:o,handleAddressChange:v,handleChange:j,handleAgreeAll:w,handleAgreement:N,toggleExpanded:k,handleClose:C,validateForm:A,handleSubmit:D}};var j=l(17923);let w=i.Ay.div.withConfig({componentId:"sc-e58dc28c-0"})(["display:flex;padding:20px;flex-direction:column;align-items:flex-start;gap:13px;align-self:stretch;background:var(--gray-100,#F1F1F3);.all-agree{display:flex;padding:14px;align-items:center;gap:6px;align-self:stretch;border:1px solid var(--gray-200,#DBDBE0);background:var(--basic-white,#FFF);color:var(--gray-900,#131314);font-feature-settings:'liga' off,'clig' off;font-family:Pretendard;font-size:16px;font-style:normal;font-weight:400;line-height:22px;text-transform:uppercase;}.agree-item{display:flex;flex-direction:column;align-self:stretch;border:1px solid var(--gray-200,#DBDBE0);background:var(--basic-white,#FFF);}.agree-header{display:flex;width:100%;padding:14px;align-items:center;gap:6px;justify-content:space-between;cursor:pointer;border:none;background:none;text-align:left;color:var(--gray-900,#131314);font-feature-settings:'liga' off,'clig' off;font-family:Pretendard;font-size:16px;font-style:normal;font-weight:400;line-height:22px;text-transform:uppercase;.left{display:flex;align-items:center;gap:8px;}.badge{display:flex;padding:2px 8px;justify-content:center;align-items:center;gap:10px;border-radius:2px;font-size:11px;font-weight:600;&.required{background:var(--primary-500);color:#fff;}&.optional{background:var(--gray-400,#a8a9ac);color:#fff;}}.arrow{display:flex;align-items:center;flex-shrink:0;&.open{transform:rotate(0deg);}&.closed{transform:rotate(180deg);}}}.agree-content{display:flex;padding:14px;flex-direction:column;justify-content:center;align-items:flex-start;gap:6px;align-self:stretch;border-top:1px solid var(--gray-200,#DBDBE0);background:var(--basic-white,#FFF);font-size:16px;line-height:1.8;color:var(--gray-700,#49494b);max-height:200px;overflow-y:auto;scrollbar-width:none;&::-webkit-scrollbar{display:none;}white-space:pre-wrap;
1.red{display:block;color:var(--status-red-400,#E53947);font-feature-settings:'liga' off,'clig' off;font-family:Pretendard;font-size:16px;font-style:normal;font-weight:400;line-height:22px;text-transform:uppercase;white-space:pre-wrap;}}",""],e=>e.$isMobile&&"\n padding: 0;\n background: transparent;\n gap: 16px;\n\n .all-agree {\n padding: 16px 0;\n border: none;\n border-top: 1px solid var(--gray-200, #DBDBE0);\n border-bottom: 1px solid var(--gray-200, #DBDBE0);\n background: transparent;\n }\n\n .agree-item {\n border: none;\n border-top: 1px solid var(--gray-200, #DBDBE0);\n border-bottom: 1px solid var(--gray-200, #DBDBE0);\n background: transparent;\n }\n\n .agree-header {\n padding: 16px 0;\n }\n\n .agree-content {\n padding: 10px;\n background: var(--gray-100, #F1F1F3);\n border-top: none;\n gap: 10px;\n }\n "),N=e=>{let{agreements:a,handleAgreeAll:l,handleAgreement:s,expanded:r,toggleExpanded:i,$isMobile:t}=e;return(0,n.jsxs)(w,{$isMobile:t,children:[(0,n.jsx)("div",{className:"all-agree",children:(0,n.jsx)(d.Sc,{id:"agreeAll",name:"agreeAll",label:"ì¤ì골íí´ë½ íì ê³µì í íì ë°°ì°ì ë±ë¡ì ìí´ ëª¨ë ì½ê´ì íì¸íê³ ëª¨ë ëìí©ëë¤.",checked:a.all,onChange:l})}),(0,n.jsxs)("div",{className:"agree-item",children:[(0,n.jsxs)("button",{type:"button",className:"agree-header",onClick:()=>i("privacy"),children:[(0,n.jsxs)("div",{className:"left",onClick:e=>e.stopPropagation(),children:[(0,n.jsx)(d.Sc,{id:"agreePrivacy",name:"privacy",label:"ê°ì¸ì ë³´ ìì§.ì´ì©ì ëí ëì",checked:a.privacy,onChange:s("privacy")}),(0,n.jsx)("span",{className:"badge required",children:"íì"})]}),(0,n.jsx)("span",{className:"arrow ".concat(r.privacy?"open":"closed"),children:(0,n.jsx)(j.A,{stroke:"#2C2C2D",alt:""})})]}),r.privacy&&(0,n.jsxs)("div",{className:"agree-content",children:["ì¤ì골íí´ë½ì íì ê³µì í íìì ëí ìë¹ì¤ ì ê³µ ìì¤ì ëì¼íê² ê·¸ ë°°ì°ììê² ì ì©íê³ ì ê°ì¸ì ë³´ë³´í¸ë² ì 15ì¡° ë° ì 22ì¡°ì ë°ë¼ ê·íì ëì를 ë°ê³ ì í©ëë¤.\nê°. ê°ì¸ì ë³´ ìì§.ì´ì© 목ì \n \xb7 íìê´ë¦¬\n - ì¤ì골íí´ë½ ìì¤ì´ì©ì ë°ë¥¸ íìê´ë¦¬\n \xb7 ë§ì¼í
ë° ê´ê³ \n - ì ê· ìë¹ì¤ ê°ë° ë° ë§ì¶¤ ìë¹ì¤ ì ê³µ, ì´ë²¤í¸ ì ë³´ ë° ì°¸ì¬ê¸°í ì ê³µ, ê´ê³ ì± ì ë³´ ì ê³µ\në. ê°ì¸ì ë³´ ìì§ í목\n ⢠íìì ë³´ : ë°°ì°ì (ìë
ìì¼, ì±ëª
, ì±ë³, í´ëí°ë²í¸)\n íì ê³µì í (ì±ëª
, ìë
ìì¼, í´ëí°ë²í¸)\n ⢠ì íì ë³´ : ë°°ì°ì (ì´ë©ì¼, 주ì)\në¤. ê°ì¸ì ë³´ì ë³´ì .ì´ì©ê¸°ê°\n ⢠íì ê³µì í íì ë°°ì°ì ë±ë¡ ì ì²ì¼ë¡ë¶í° 5ë
ê° ë³´ê´í©ëë¤.\në¼. ê°ì¸ì ë³´ ìì§.ì´ì©ì ëìíì§ ìì ê²½ì°ì ë¶ì´ìµ",(0,n.jsx)("span",{className:"red",children:" ê·íë 본ì¸ì ê°ì¸ì ë³´ ìì§.ì´ì©ì ëìíì§ ìì¼ì¤ ì ìì¼ë©°, íìì 보를 ì
ë ¥íì§ ìì¼ìë ê²½ì° íìê°ì
ì´ ë¶ê°íë©°, ì íì ë³´ ì ê³µ 미ëìììë ì´ë²¤í¸ ë± íìì ìë¹ì¤ì ë¶ì´ìµì ë°ì ì ììµëë¤.\n ìì ê°ì´ ê°ì¸ì 보를 ìì§.ì´ì©íëë° ëìíìëê¹?"})]})]}),(0,n.jsxs)("div",{className:"agree-item",children:[(0,n.jsxs)("button",{type:"button",className:"agree-header",onClick:()=>i("marketing"),children:[(0,n.jsxs)("div",{className:"left",onClick:e=>e.stopPropagation(),children:[(0,n.jsx)(d.Sc,{id:"agreeMarketing",name:"marketing",label:"ë§ì¼í
ë° íë³´ íì© ëì",checked:a.marketing,onChange:s("marketing")}),(0,n.jsx)("span",{className:"badge optional",children:"ì í"})]}),(0,n.jsx)("span",{className:"arrow ".concat(r.marketing?"open":"closed"),children:(0,n.jsx)(j.A,{stroke:"#2C2C2D",alt:""})})]}),r.marketing&&(0,n.jsx)("div",{className:"agree-content",children:"ì¤ì골íí´ë½ì ë§ì¼í
/í보를 ìíì¬ ê·íì ê°ì¸ì 보를 ì´ì©íëë° ëìíìëê¹? ëì ê±°ë¶ ì, ì´ë²¤í¸ ì ë³´ ìë´ ë± íìì ìë¹ì¤ê° ì íë©ëë¤."})]})]})},k=i.Ay.div.withConfig({componentId:"sc-43564b67-0"})(["width:1433px;max-width:calc(100vw - 80px);max-height:calc(80vh - 120px);overflow-y:auto;scrollbar-width:none;&::-webkit-scrollbar{display:none;}"]),C=i.Ay.div.withConfig({componentId:"sc-43564b67-1"})(["display:flex;flex-direction:column;gap:8px;margin-bottom:16px;.desc{color:var(--gray-900,#131314);font-feature-settings:'liga' off,'clig' off;font-family:Pretendard;font-size:16px;font-style:normal;font-weight:400;line-height:22px;text-transform:uppercase;}.required-note{align-self:flex-end;color:var(--gray-900,#131314);font-feature-settings:'liga' off,'clig' off;font-family:Pretendard;font-size:14px;font-style:normal;font-weight:400;line-height:20px;text-transform:uppercase;em{color:red;font-style:normal;}}"]),A=i.Ay.table.withConfig({componentId:"sc-43564b67-2"})(["width:100%;border-collapse:collapse;td{padding:10px 12px;vertical-align:middle;border-bottom:1px solid var(--gray-200,#DBDBE0);color:var(--gray-900,#131314);font-feature-settings:'liga' off,'clig' off;font-family:Pretendard;font-size:16px;font-style:normal;font-weight:400;line-height:22px;text-transform:uppercase;}tr:first-child td{border-top:2px solid var(--gray-900,#131314);}.section-cell{width:184px;padding:10px;text-align:center;background:var(--gray-50,#FAFAFA);border-bottom:1px solid var(--gray-200,#DBDBE0);}.label-cell{width:184px;padding:10px 20px;background:var(--gray-50,#FAFAFA);border-bottom:1px solid var(--gray-200,#DBDBE0);}.req::before{content:'* ';color:red;}
1.radio-group{display:flex;align-items:center;gap:16px;}.field-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}.address-group{display:flex;flex-direction:column;gap:6px;min-width:510px;}.region-wrap{min-height:40px;display:flex;align-items:center;}"]),D=i.Ay.div.withConfig({componentId:"sc-43564b67-3"})(["padding:20px;p{font-feature-settings:'liga' off,'clig' off;font-family:Pretendard;font-size:16px;font-style:normal;font-weight:400;line-height:22px;text-transform:uppercase;}p:first-child{color:var(--primary-500);}p:last-child{color:var(--gray-900,#131314);}"]),B=i.Ay.div.withConfig({componentId:"sc-43564b67-4"})(["display:flex;justify-content:center;gap:12px;margin-top:24px;padding:20px 30px;margin-left:-20px;margin-right:-20px;border-top:1px solid var(--gray-200,#DBDBE0);button{width:200px;height:48px;}"]),F=(0,s.memo)(e=>{let{onClose:a}=e,{formData:l,setFormData:s,agreements:r,expanded:i,handleAddressChange:c,handleChange:p,handleAgreeAll:h,handleAgreement:x,toggleExpanded:m,handleClose:g,handleSubmit:f}=v({onClose:a});return(0,n.jsxs)(t.default,{color:!0,title:"íì ê³µì í íì ë°°ì°ì ë±ë¡(골í)",children:[(0,n.jsxs)(k,{children:[(0,n.jsxs)(C,{children:[(0,n.jsx)("p",{className:"desc",children:"ê³µíì ê³µì í íì ë°°ì°ìë±ë¡ì íë²ë§ íìë©´ ì¤ì골íí´ë½ìì ìê¸ì°ë를 ë°ì ì ììµëë¤."}),(0,n.jsxs)("p",{className:"required-note",children:[(0,n.jsx)("em",{children:"*"})," ë íì ì
ë ¥ ì¬íì
ëë¤."]})]}),(0,n.jsx)(A,{children:(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"section-cell",rowSpan:3,children:"ë°°ì°ì"}),(0,n.jsx)("td",{className:"label-cell",children:(0,n.jsx)("span",{className:"req",children:"ì±ëª
"})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.A_,{name:"spouseName",value:l.spouseName,onChange:p,placeholder:"ì±ëª
"})}),(0,n.jsx)("td",{className:"label-cell",children:(0,n.jsx)("span",{className:"req",children:"ìë
ìì¼"})}),(0,n.jsx)("td",{children:(0,n.jsxs)("div",{className:"field-group",children:[(0,n.jsx)(d.A_,{name:"spouseBirthDate",value:l.spouseBirthDate,onChange:p,placeholder:"ì)19990101"}),(0,n.jsxs)("div",{className:"radio-group",children:[(0,n.jsx)(d.sx,{id:"calYang",name:"spouseCalendarType",value:"ìë ¥",label:"ìë ¥",checked:"ìë ¥"===l.spouseCalendarType,onChange:p}),(0,n.jsx)(d.sx,{id:"calEum",name:"spouseCalendarType",value:"ìë ¥",label:"ìë ¥",checked:"ìë ¥"===l.spouseCalendarType,onChange:p})]})]})})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"label-cell",children:(0,n.jsx)("span",{className:"req",children:"ì±ë³"})}),(0,n.jsx)("td",{children:(0,n.jsxs)("div",{className:"radio-group",children:[(0,n.jsx)(d.sx,{id:"genderM",name:"spouseGender",value:"ë¨",label:"ë¨",checked:"ë¨"===l.spouseGender,onChange:p}),(0,n.jsx)(d.sx,{id:"genderF",name:"spouseGender",value:"ì¬",label:"ì¬",checked:"ì¬"===l.spouseGender,onChange:p})]})}),(0,n.jsx)("td",{className:"label-cell",children:(0,n.jsx)("span",{className:"req",children:"í´ëí°ë²í¸"})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.A_,{name:"spousePhone",value:l.spousePhone,onChange:p,placeholder:"í´ëí°ë²í¸"})})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"label-cell",children:(0,n.jsx)("span",{className:"req",children:"ì´ë©ì¼"})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.A_,{name:"spouseEmail",value:l.spouseEmail,onChange:p,placeholder:"ì´ë©ì¼"})}),(0,n.jsx)("td",{className:"label-cell",children:"ìí주ì"}),(0,n.jsx)("td",{children:(0,n.jsxs)("div",{className:"address-group",children:[(0,n.jsx)("div",{className:"region-wrap",children:(0,n.jsx)(d.tY,{onChange:c})}),(0,n.jsx)(d.A_,{name:"spouseAddressDetail",value:l.spouseAddressDetail,onChange:p,placeholder:"ìì¸ì£¼ì"})]})})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"section-cell",rowSpan:2,children:"ê³µì íì"}),(0,n.jsx)("td",{className:"label-cell",children:(0,n.jsx)("span",{className:"req",children:"ì±ëª
"})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.A_,{name:"memberName",value:l.memberName,onChange:p,placeholder:"ì±ëª
"})}),(0,n.jsx)("td",{className:"label-cell",children:(0,n.jsx)("span",{className:"req",children:"ìë
ìì¼"})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.A_,{name:"memberBirthDate",value:l.memberBirthDate,onChange:p,placeholder:"ì)19990101"})})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"label-cell",children:(0,n.jsx)("span",{className:"req",children:"í´ëí°ë²í¸"})}),(0,n.jsx)("td",{colSpan:3,children:(0,n.jsx)(d.A_,{name:"memberPhone",value:l.memberPhone,onChange:p,placeholder:"í´ëí°ë²í¸"})})]})]})}),(0,n.jsxs)(D,{children:[(0,n.jsx)("p",{children:"*íì ê³µì í ë°°ì°ì ë±ë¡ ì ì² í 골íì¥ ë°©ë¬¸ ì ë°ëì ë°°ì°ì를 íì¸í ì ìë ìë¥ë¥¼ ì ì
1(ìµì 1í) í´ ì£¼ì기 ë°ë¼ë©°, íì¸ì´ ìë£ëë©´ ìë¥ë ì¦ì ëë ¤ë립ëë¤.(미ì ì ì í ì¸ìê¸ ì ì© ë¶ê°)"}),(0,n.jsx)("p",{children:"*ë°°ì°ì íì¸ ìë¥ : ìµê·¼ 3ê°ì ì´ë´ ë°íë 주민ë±ë¡ë³¸ ë° ê°ì¡±ê´ê³ì¦ëª
ì(주ìê° ë¤ë¥¸ ê²½ì°)"})]}),(0,n.jsx)(N,{agreements:r,handleAgreeAll:h,handleAgreement:x,expanded:i,toggleExpanded:m})]}),(0,n.jsxs)(B,{children:[(0,n.jsx)(o.A,{color:"cancel",onClick:g,children:"ì·¨ì"}),(0,n.jsx)(o.A,{onClick:f,disabled:!r.privacy,children:"ë±ë¡"})]})]})});var P=l(20727);let E=i.Ay.div.withConfig({componentId:"sc-cfdca36a-0"})(["width:100%;max-height:calc(80vh - 120px);overflow-y:auto;scrollbar-width:none;&::-webkit-scrollbar{display:none;}"]),z=i.Ay.div.withConfig({componentId:"sc-cfdca36a-1"})(["display:flex;flex-direction:column;gap:20px;.desc-box{display:flex;padding:14px;align-items:center;align-self:stretch;border-radius:2px;background:var(--gray-100,#F1F1F3);color:var(--gray-900,#131314);font-family:Pretendard;font-size:16px;font-weight:400;line-height:22px;font-style:normal;text-transform:uppercase;}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;.section-name{font-family:Pretendard;font-size:16px;font-weight:600;color:var(--gray-900,#131314);}.required-note{font-family:Pretendard;font-size:14px;color:var(--gray-700,#49494b);em{color:red;font-style:normal;}}}.mobile-notice{display:flex;flex-direction:column;gap:4px;p{font-family:Pretendard;font-size:16px;font-weight:400;line-height:22px;}p:first-child{color:var(--primary-500);}p:last-child{color:var(--gray-900,#131314);}}.field-row{display:flex;flex-direction:column;gap:6px;}.field-label{font-family:Pretendard;font-size:14px;font-weight:400;line-height:20px;color:var(--gray-700,#49494b);&.req::before{content:'* ';color:red;}}
1.toggle-group{display:flex;button{flex:1;padding:11px 10px;border:1px solid ",";border-radius:2px;background:var(--basic-white,#FFF);font-family:Pretendard;font-size:14px;color:",";cursor:pointer;&:first-child{border-right:none;}&.active{background:",";color:var(--basic-white,#FFF);border-color:",";}}}.address-group{display:flex;flex-direction:column;gap:6px;}"],e=>e.$themeColor||"var(--primary-700)",e=>e.$themeColor||"var(--primary-700)",e=>e.$themeColor||"var(--primary-700)",e=>e.$themeColor||"var(--primary-700)"),q=i.Ay.div.withConfig({componentId:"sc-cfdca36a-2"})(["display:flex;justify-content:center;gap:12px;margin-top:24px;padding:0 20px;margin-left:-20px;margin-right:-20px;button{flex:1 0 0;height:42px;}"]),_=(0,s.memo)(e=>{let{onClose:a}=e,[l,r]=(0,s.useState)(1),{designTheme:i}=(0,P.A)(),{formData:c,setFormData:p,agreements:h,expanded:x,handleAddressChange:m,handleChange:g,handleAgreeAll:f,handleAgreement:u,toggleExpanded:b,handleClose:y,validateForm:j,handleSubmit:w}=v({onClose:a}),k=(0,s.useCallback)(()=>{r(1),y()},[y]),C=(0,s.useCallback)(()=>{j()&&r(2)},[j]);return(0,n.jsxs)(t.default,{title:2===l?"ì½ê´ëì":"íì ê³µì í íì ë°°ì°ì ë±ë¡(골í)",children:[(0,n.jsxs)(E,{children:[1===l&&(0,n.jsxs)(z,{$themeColor:null==i?void 0:i.themeColor,children:[(0,n.jsx)("div",{className:"desc-box",children:"ê³µíì ê³µì í íì ë°°ì°ìë±ë¡ì íë²ë§ íìë©´ ì¤ì골íí´ë½ìì ìê¸ì°ë를 ë°ì ì ììµëë¤."}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"section-header",children:[(0,n.jsx)("span",{className:"section-name",children:"ë°°ì°ì"}),(0,n.jsxs)("span",{className:"required-note",children:[(0,n.jsx)("em",{children:"*"})," ë íì ì
ë ¥ ì¬íì
ëë¤."]})]}),(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"20px"},children:[(0,n.jsxs)("div",{className:"field-row",children:[(0,n.jsx)("span",{className:"field-label req",children:"ì±ëª
"}),(0,n.jsx)(d.A_,{name:"spouseName",value:c.spouseName,onChange:g,placeholder:"ì±ëª
"})]}),(0,n.jsxs)("div",{className:"field-row",children:[(0,n.jsx)("span",{className:"field-label req",children:"ìë
ìì¼"}),(0,n.jsx)(d.A_,{name:"spouseBirthDate",value:c.spouseBirthDate,onChange:g,placeholder:"ì)19990101"}),(0,n.jsxs)("div",{className:"toggle-group",children:[(0,n.jsx)("button",{type:"button",className:"ìë ¥"===c.spouseCalendarType?"active":"",onClick:()=>p(e=>({...e,spouseCalendarType:"ìë ¥"})),children:"ìë ¥"}),(0,n.jsx)("button",{type:"button",className:"ìë ¥"===c.spouseCalendarType?"active":"",onClick:()=>p(e=>({...e,spouseCalendarType:"ìë ¥"})),children:"ìë ¥"})]})]}),(0,n.jsxs)("div",{className:"field-row",children:[(0,n.jsx)("span",{className:"field-label req",children:"ì±ë³"}),(0,n.jsxs)("div",{className:"toggle-group",children:[(0,n.jsx)("button",{type:"button",className:"ë¨"===c.spouseGender?"active":"",onClick:()=>p(e=>({...e,spouseGender:"ë¨"})),children:"ë¨"}),(0,n.jsx)("button",{type:"button",className:"ì¬"===c.spouseGender?"active":"",onClick:()=>p(e=>({...e,spouseGender:"ì¬"})),children:"ì¬"})]})]}),(0,n.jsxs)("div",{className:"field-row",children:[(0,n.jsx)("span",{className:"field-label req",children:"í´ëí°ë²í¸"}),(0,n.jsx)(d.A_,{name:"spousePhone",value:c.spousePhone,onChange:g,placeholder:"í´ëí°ë²í¸"})]}),(0,n.jsxs)("div",{className:"field-row",children:[(0,n.jsx)("span",{className:"field-label req",children:"ì´ë©ì¼"}),(0,n.jsx)(d.A_,{name:"spouseEmail",value:c.spouseEmail,onChange:g,placeholder:"ì´ë©ì¼"})]}),(0,n.jsxs)("div",{className:"field-row",children:[(0,n.jsx)("span",{className:"field-label",children:"ìí주ì"}),(0,n.jsxs)("div",{className:"address-group",children:[(0,n.jsx)(d.tY,{onChange:m}),(0,n.jsx)(d.A_,{name:"spouseAddressDetail",value:c.spouseAddressDetail,onChange:g,placeholder:"ìì¸ì£¼ì"})]})]})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"section-header",children:[(0,n.jsx)("span",{className:"section-name",children:"ê³µì íì"}),(0,n.jsxs)("span",{className:"required-note",children:[(0,n.jsx)("em",{children:"*"})," ë íì ì
ë ¥ ì¬íì
ëë¤."]})]}),(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"20px"},children:[(0,n.jsxs)("div",{className:"field-row",children:[(0,n.jsx)("span",{className:"field-label req",children:"ì±ëª
"}),(0,n.jsx)(d.A_,{name:"memberName",value:c.memberName,onChange:g,placeholder:"ì±ëª
"})]}),(0,n.jsxs)("div",{className:"field-row",children:[(0,n.jsx)("span",{className:"field-label req",children:"ìë
ìì¼"}),(0,n.jsx)(d.A_,{name:"memberBirthDate",value:c.memberBirthDate,onChange:g,placeholder:"ì)19990101"})]}),(0,n.jsxs)("div",{className:"field-row",children:[(0,n.jsx)("span",{className:"field-label req",children:"í´ëí°ë²í¸"}),(0,n.jsx)(d.A_,{name:"memberPhone",value:c.memberPhone,onChange:g,placeholder:"í´ëí°ë²í¸"})]})]})]}),(0,n.jsxs)("div",{className:"mobile-notice",children:[(0,n.jsx)("p",{children:"*íì ê³µì í ë°°ì°ì ë±ë¡ ì ì² í 골íì¥ ë°©ë¬¸ ì ë°ëì ë°°ì°ì를 íì¸í ì ìë ìë¥ë¥¼ ì ì
1(ìµì 1í) í´ ì£¼ì기 ë°ë¼ë©°, íì¸ì´ ìë£ëë©´ ìë¥ë ì¦ì ëë ¤ë립ëë¤.(미ì ì ì í ì¸ìê¸ ì ì© ë¶ê°)"}),(0,n.jsx)("p",{children:"*ë°°ì°ì íì¸ ìë¥ : ìµê·¼ 3ê°ì ì´ë´ ë°íë 주민ë±ë¡ë³¸ ë° ê°ì¡±ê´ê³ì¦ëª
ì(주ìê° ë¤ë¥¸ ê²½ì°)"})]})]}),2===l&&(0,n.jsx)(N,{$isMobile:!0,agreements:h,handleAgreeAll:f,handleAgreement:u,expanded:x,toggleExpanded:b})]}),(0,n.jsx)(q,{children:1===l?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.A,{color:"cancel",onClick:k,children:"ì·¨ì"}),(0,n.jsx)(o.A,{onClick:C,children:"ë¤ì"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.A,{color:"cancel",onClick:()=>r(1),children:"ì´ì ë¨ê³"}),(0,n.jsx)(o.A,{onClick:w,disabled:!h.privacy,children:"ë±ë¡"})]})})]})}),$=(0,s.memo)(e=>{let{open:a,onClose:l}=e,{isMobile:s}=(0,r.A)();return a?s?(0,n.jsx)(_,{onClose:l}):(0,n.jsx)(F,{onClose:l}):null})},23550:(e,a,l)=>{l.d(a,{A:()=>i});var n=l(12115),s=l(89794),r=l(13353);function i(){let[e,a]=(0,r.fp)(s.O1),l=()=>{a(window.innerWidth<1280)};return(0,n.useEffect)(()=>{a(window.innerWidth<1280)},[]),(0,n.useEffect)(()=>(window.addEventListener("resize",l),()=>{window.removeEventListener("resize",l)}),[]),{isMobile:e}}},35128:(e,a,l)=>{l.d(a,{default:()=>c});var n=l(95155),s=l(38679),r=l(13353),i=l(89794),t=l(12115);let o=s.Ay.div.withConfig({componentId:"sc-e7c47b86-0"})(["position:fixed;width:100%;height:100%;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,0.5);z-index:100;"]),d=s.Ay.div.withConfig({componentId:"sc-e7c47b86-1"})(["position:absolute;min-width:",";width:",";height:fit-content;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:6px;background-color:var(--basic-white);display:flex;flex-direction:column;.title{background:",";color:var(--basic-white,#FFF);font-size:16px;font-weight:600;padding:10px 20px;border-top-right-radius:6px;border-top-left-radius:6px;}.modalContent{padding:20px;overflow-x:auto;}"],e=>e.$isMobile?"calc(100% - 48px)":"460px",e=>e.$isMobile?"80%":"fit-content",e=>e.$themeColor),c=(0,t.memo)(e=>{let{title:a,children:l,themeColor:s}=e,{metadata:c}=(0,r.md)(i.aw)||{},p=(0,r.md)(i.O1);return(0,t.useEffect)(()=>{let e=document.getElementsByTagName("body")[0];return e.classList.add("modalScrollLock"),()=>{e.classList.remove("modalScrollLock")}},[]),(0,n.jsx)(o,{children:(0,n.jsxs)(d,{$themeColor:s||(null==c?void 0:c.themeColor)||"var(--primary-700)",$isMobile:p,children:[a&&(0,n.jsx)("div",{className:"title",children:a}),(0,n.jsx)("div",{className:"modalContent",children:l})]})})})},37308:(e,a,l)=>{l.d(a,{default:()=>h});var n=l(95155),s=l(12115),r=l(38679),i=l(13353),t=l(89794),o=l(81769);let d=r.Ay.div.withConfig({componentId:"sc-1b033cbe-0"})(["display:flex;"]),c=r.Ay.div.withConfig({componentId:"sc-1b033cbe-1"})(["position:fixed;width:100%;height:100%;top:0;bottom:0;left:0;right:0;background:var(--opacity-black-60);z-index:9999;"]),p=r.Ay.div.withConfig({componentId:"sc-1b033cbe-2"})(["position:absolute;min-width:380px;height:fit-content;max-height:80%;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:6px;background-color:var(--basic-white);text-align:center;display:flex;flex-direction:column;padding:20px 20px;color:var(--gray-900,#131314);font-size:16px;font-weight:500;line-height:22px;text-align:center;white-space:pre-wrap;box-shadow:2px 2px 20px 0px rgba(0,0,0,0.12);.buttonArea{display:flex;margin-top:30px;align-items:center;justify-content:center;gap:8px;button{min-width:120px;}}",""],e=>e.$isMobile&&"\n width: calc(100% - 48px);\n min-width: 0;\n .buttonArea {\n width: 100%;\n div{\n width: 100%;\n }\n }\n "),h=(0,s.memo)(()=>{let[e,a]=(0,i.fp)(t.Jj),l=(0,i.md)(t.O1);(0,s.useEffect)(()=>{let a=document.getElementsByTagName("body")[0];if(e.isOpen){let e=window.scrollY;a.style.position="fixed",a.style.top="-".concat(e,"px"),a.style.left="0",a.style.right="0",a.style.width="100%",a.style.height="auto",a.classList.add("scrollLock")}else{let e=a.style.top;a.style.position="",a.style.top="",a.style.left="",a.style.right="",a.style.width="",a.style.height="",a.classList.remove("scrollLock"),window.scrollTo(0,-1*parseInt(e||"0",10))}},[e.isOpen]);let r={confirm:()=>{e.handleClick&&e.handleClick(),a({...e,isOpen:!1})},cancel:()=>{a({...e,isOpen:!1})}};return e.isOpen&&(0,n.jsx)(c,{children:(0,n.jsx)(p,{$isMobile:l,children:(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"desc",children:e.desc}),(0,n.jsxs)(d,{className:"buttonArea",children:[(null==e?void 0:e.isCancel)&&(0,n.jsx)(d,{children:(0,n.jsx)(o.A,{size:l?"mm":"m",color:"cancel",onClick:r.cancel,fullWidth:!0,children:e.cancelName?e.cancelName:"ì·¨ì"})}),(0,n.jsx)(d,{children:(0,n.jsx)(o.A,{size:l?"mm":"m",onClick:r.confirm,fullWidth:!0,children:e.confirmName?e.confirmName:"íì¸"})})]})]})})})})},81559:(e,a,l)=>{l.d(a,{AW:()=>i,P:()=>n,Xg:()=>s,w0:()=>r});let n=/^[a-zA-Z0-9]{6,13}$/,s=/^.{8,}$/,r=/^[A-Za-z0-9.-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/,i=/^01[016789]\d{7,8}$/},98869:(e,a,l)=>{l.d(a,{default:()=>d});var n=l(95155),s=l(12115),r=l(38679);l(66766);var i=l(13353),t=l(89794);let o=r.Ay.article.withConfig({componentId:"sc-e915b94-0"})(["display:none;z-index:2000;position:fixed;top:0;left:0;right:0;bottom:0;&.active{display:block;}.modal{z-index:2000;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;transition:all 0.25s;.head{display:flex;align-items:center;justify-content:space-between;
1height:72px;padding:0 48px 0 54px;background:var(--gray-200,#dbdbe0);min-width:600px;h1{color:var(--basic-black,#000);font-size:20px;font-weight:600;line-height:26px;}svg{width:24px;height:24px;}}.contents{position:relative;.inner{padding:40px 50px 40px 50px;overflow-x:hidden;overflow-y:auto;max-height:500px;}}.btnRow{padding:20px 0;border-top:1px solid var(--gray-100,#f1f1f3);text-align:center;button{width:200px;height:48px;border-radius:2px;color:var(--basic-white,#fff);font-size:18px;font-weight:600;background:var(--primary-700,#0b3f8f);}}}.filter{z-index:1900;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.5);}@media (max-width:1280px){display:block;top:100%;.modal{overflow:hidden;transform:none;width:100%;top:auto;left:auto;bottom:-100%;border-radius:10px 10px 0px 0px;.head{min-width:auto;padding:14px 16px;h1{font-size:18px;}}.contents{padding:20px 16px;.inner{max-height:420px;}}.btnRow{padding:20px 16px;button{width:100%;color:var(--basic-white,#fff);font-size:14px;font-weight:500;}}}.filter{display:none;}&.active{top:0;.modal{bottom:0;}.filter{display:block;}}}.mobile{.contents{.inner{padding:0px;}}}"]),d=(0,s.memo)(e=>{let{open:a,data:l,onClose:r}=e,d=(0,i.md)(t.O1);return(0,s.useEffect)(()=>{let e=document.getElementsByTagName("body")[0];a?e.classList.add("scrollLock"):e.classList.remove("scrollLock")},[a]),(0,n.jsxs)(o,{$isMobile:d,className:a?"active":void 0,children:[(0,n.jsxs)("div",{className:d?"mobile modal":"modal",children:[(0,n.jsxs)("div",{className:"head",children:[(0,n.jsx)("h1",{children:null==l?void 0:l.name}),(0,n.jsx)("button",{onClick:()=>r(),children:(0,n.jsx)("img",{src:"/images/icons/modal_close.svg",alt:""})})]}),(0,n.jsx)("article",{className:"contents agreementView",children:(0,n.jsx)("div",{className:"inner contentsArea",dangerouslySetInnerHTML:{__html:null==l?void 0:l.html}})}),(0,n.jsx)("div",{className:"btnRow",children:(0,n.jsx)("button",{onClick:()=>r(),children:"ë«ê¸°"})})]}),(0,n.jsx)("div",{className:"filter",onClick:()=>r()})]})})}}]);
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.