PageSourceSearch

https://www.vancar.kr/_next/static/chunks/4553-40f86600a88cc98d.js

js vancar.kr collected 2026-10-04 07:05:31 UTC 58,364 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="6a8b32db-a300-40b1-ada5-7953899c910d",e._sentryDebugIdIdentifier="sentry-dbid-6a8b32db-a300-40b1-ada5-7953899c910d")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4553],{75051:function(e,s,a){"use strict";a.d(s,{Z:function(){return t}});var i=a(57437),n=a(42350),l=a(94646),r=a(2265);function t(e){let s=(0,r.useRef)(),[a,t]=(0,r.useState)(e.cancelData),c=async()=>{if(!(await l.Z.post("/api/chkToken",{})).data.success){(0,n.l)("login","로그인 정보가 만료되었습니다. 로그인 후 이용해 주세요."),window.location.href="/mypage";return}let e=await l.Z.post("/api/reqContractCancel",a);e.data.Success?((0,n.l)("reviewOk",e.data.CompleteMsg),setTimeout(()=>{location.reload()},800)):(0,n.l)("reviewError",e.data.ErrorMsg)};return(0,r.useEffect)(()=>{s.current.disabled=!1,a.ChasanovaMemo?s.current.disabled=!1:s.current.disabled=!0},[a]),(0,i.jsxs)("div",{className:"cancelContract-modal",children:[(0,i.jsx)("div",{className:"cancelContract-title",children:"계약 취소 요청"}),(0,i.jsx)("div",{className:"cancelContract-content",children:(0,i.jsx)("textarea",{cols:"30",rows:"10",placeholder:"취소사유를 입력해주세요",maxLength:"300",onChange:e=>t(s=>({...s,ChasanovaMemo:e.target.value}))})}),(0,i.jsxs)("div",{className:"button-wrap",children:[(0,i.jsx)("button",{className:"cancel-btn",onClick:()=>e.onClose(),children:"돌아가기"}),(0,i.jsx)("button",{className:"regist-btn",ref:s,onClick:c,children:"계약취소"})]})]})}a(98277)},29803:function(e,s,a){"use strict";a.d(s,{AD:function(){return r},LV:function(){return d},_u:function(){return c},vj:function(){return t}});var i=a(57437),n=a(2265);a(59106);let l=(0,n.forwardRef)((e,s)=>{let{inputClassName:a,addClassName:n,type:l,name:r,placeholder:t,label:c,value:d,onClick:o,onChange:m,onBlur:h,onFocus:u,onInput:x,onMouseDown:j,onKeyDown:v,divOnChange:p,options:N}=e;return(0,i.jsxs)("div",{className:"input-wrap"+(void 0==n?"":" "+n),ref:s,onChange:p,children:[(0,i.jsx)("label",{htmlFor:r,children:c}),(0,i.jsx)("input",{className:a,type:l,id:r,name:r,placeholder:t,defaultValue:d,onClick:o,onChange:m,onBlur:h,onFocus:u,onInput:x,onMouseDown:j,onKeyDown:v,...N})]})});s.ZP=l;let r=(0,n.forwardRef)((e,s)=>{let{addClassName:a,type:n,name:l,placeholder:r,label:t,value:c,onClick:d,onChange:o,onBlur:m,onFocus:h,onInput:u,onMouseDown:x,options:j}=e;return(0,i.jsxs)("div",{className:"input-labelOut"+(void 0==a?"":" "+a),ref:s,children:["highlight"==a?(0,i.jsxs)("label",{htmlFor:l,children:[t," ",(0,i.jsx)("span",{children:"계약시 필수"})]}):(0,i.jsx)("label",{htmlFor:l,children:t}),(0,i.jsx)("input",{type:n,id:l,name:l,defaultValue:null!=c?c:"",placeholder:r,onChange:o,onClick:d,onMouseDown:x,onFocus:h,onBlur:m,onInput:u,...j})]})}),t=(0,n.forwardRef)((e,s)=>{let{inputClassName:a,addClassName:n,btnClass:l,type:r,name:t,placeholder:c,label:d,value:o,onClick:m,onChange:h,onBlur:u,onFocus:x,onInput:j,onMouseDown:v,onKeyDown:p,btnAction:N,btnText:C,options:b}=e;return(0,i.jsxs)("div",{className:"input-wrap btn"+(void 0==n?"":" "+n),ref:s,children:[(0,i.jsx)("label",{htmlFor:t,children:d}),(0,i.jsx)("input",{className:a,type:r,id:t,name:t,placeholder:c,defaultValue:o,onClick:m,onChange:h,onBlur:u,onFocus:x,onInput:j,onMouseDown:v,onKeyDown:p,...b}),(0,i.jsx)("button",{className:l,onClick:N,children:C})]})});function c(e){let{className:s,label:a,feedback:n,type:l,name:r,value:t,placeholder:c,options:d}=e;return(0,i.jsxs)("div",{className:"input-wrap ".concat(null!=s?s:""),children:[a&&(0,i.jsx)("label",{htmlFor:r,children:a}),n&&(0,i.jsx)("span",{className:"feedback-msg",children:n}),(0,i.jsx)("input",{type:l,id:r,name:r,value:null!=t?t:"",placeholder:c,...d})]})}function d(e){let{className:s,label:a,required:n,type:l,name:r,value:t,placeholder:c,options:d}=e;return(0,i.jsxs)("div",{className:"input-labelOut".concat(n?" highlight":""," ").concat(null!=s?s:""),children:[(0,i.jsxs)("label",{htmlFor:r,children:[a,n?(0,i.jsxs)(i.Fragment,{children:[" ",(0,i.jsx)("span",{children:"계약시 필수"})]}):""]}),(0,i.jsx)("input",{type:l,id:r,name:r,value:null!=t?t:"",placeholder:c,...d})]})}}
1,7719:function(e,s,a){"use strict";a.d(s,{Z:function(){return h}});var i=a(57437),n=a(69750),l=a(33145),r=a(99376),t=a(2265),c=a(94646),d=a(7203),o=a(65422);a(90710);var m=a(44313);function h(e){var s,a,h,u,x;let j;let{onClose:v,onAction:p,visible:N,contractID:C}=e,b=(0,r.usePathname)(),g=(0,d.a)(e=>e.setHistoryLink),[f,y]=(0,t.useState)(null),[D,S]=(0,t.useState)(null),P=e=>e.slice(0,2)+" "+e.slice(2),k=async e=>{if(!e)return;let s=await c.Z.post("/api/getContractDetail",{ContractID:e});s.data.success&&y(s.data.data)},I=async()=>{let e=await c.Z.post("/api/getProfile");e.data.Success&&S(e.data.Profile)};return(0,t.useEffect)(()=>{k(C),I()},[C]),(0,i.jsx)(m.nS,{className:"modal-contract-info-detail",onClose:v,onAction:p,actionText:"확인",visible:N,title:"계약 상세내용",children:f?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("article",{className:"article-summary",children:[(0,i.jsxs)("div",{className:"contract-info-summary",children:[(0,i.jsxs)("div",{className:"contract-heading",children:[(0,i.jsx)("span",{className:"carnum",children:f.hasCarNum?f.CarNum:"신차 계약"}),(0,i.jsx)("h4",{children:"계약종료"===f.Status.Progress?"계약 종료":"계약취소"===f.Status.Progress?"계약 취소":"R"===f.ContractTracking?"계약 요청":"P"===f.ContractTracking?"심사 진행":"T"===f.ContractTracking?"보증금 입금":"D"===f.ContractTracking?"차량 출고":"C"===f.ContractTracking?"계약 확정":f.Status.Progress})]}),(0,i.jsxs)("div",{className:"contract-carsummary",children:[(0,i.jsxs)("div",{className:"contract-carsummary-info",children:[(0,i.jsx)("div",{className:"info-carname",children:f.Maker+" "+f.Model}),(0,i.jsx)("div",{className:"info-cargrade",children:f.Grade+" "+f.SubGrade}),(0,i.jsx)("div",{className:"info-supplier",children:f.Supplier.CompanyName})]}),(0,i.jsx)("figure",{className:"contract-carsummary-image",style:{margin:0},children:(0,i.jsx)(l.default,{src:f.Cover,alt:f.Model+" 사진",fill:!0})})]}),(0,i.jsx)("button",{type:"button",className:"btn-cardetail",onClick:()=>{g(b),window.location.href="/"+(1*f.hasCarNum?"product":"newcar")+"/"+f.ProdID},children:"차량 상세보기"})]}),(0,i.jsxs)("div",{className:"contract-selected-options",children:[(0,i.jsxs)("div",{className:"contract-selected-option",children:[(0,i.jsx)("div",{className:"option-label",children:"대여 기간"}),(0,i.jsx)("div",{className:"option-value",children:f.Contract.Period+((null==f?void 0:f.shortTermPromotion)?"주":"개월")})]}),(0,i.jsxs)("div",{className:"contract-selected-option",children:[(0,i.jsx)("div",{className:"option-label",children:"약정 주행거리"}),(0,i.jsx)("div",{className:"option-value",children:(e=>{let s=e,a=Number(String(e).replace(/[^0-9]/g,""));if(!e||0===a||999999===a)return"무제한";if(e.indexOf("/")>-1){let a=e.split("/");s=("년"===a[1]?"연":"주"===a[1]?"":a[1])+" "+a[0]}return s})(f.Contract.Mileage)})]}),(0,i.jsxs)("div",{className:"contract-selected-option",children:[(0,i.jsx)("div",{className:"option-label",children:"계약 선택사항"}),(0,i.jsxs)("div",{className:"option-value",children:["Y"===f.Insurance.CDW||f.Contract.insCarPrice&&1*f.Contract.insCarPrice?(0,i.jsx)("div",{className:"selected-option selected-option-cdw",children:"자차보험"}):(0,i.jsx)(i.Fragment,{}),f.Condition.minAge?(0,i.jsxs)("div",{className:"selected-option selected-option-age",children:["만 ",1*f.Condition.minAge==21&&1*f.Contract.ins21Price?"23":"26","세이상"]}):(0,i.jsx)("div",{className:"selected-option selected-option-age",children:"만 26세이상"})]})]})]}),(0,i.jsxs)("div",{className:"contract-price",children:[(0,i.jsxs)("div",{className:"price-wrap",children:[(0,i.jsxs)("div",{className:"price-price",children:[(0,i.jsxs)("span",{className:"price-label",children:[(null==f?void 0:f.shortTermPromotion)?"주 ":"월 "," 대여료"]}),(0,i.jsx)("span",{className:"price-value",children:((null==f?void 0:f.shortTermPromotion)?"주 ":"월 ")+(0,o.gg)(f.ContractDetail.ContractPrice)+"원"})]}),(0,i.jsxs)("ul",{className:"detail-price",children:[(0,i.jsxs)("li",{className:"detail-price-item",children:[(0,i.jsx)("span",{className:"detail-price-label",children:"기본 대여료"}),(0,i.jsx)("span",{className:"detail-price-value",children:((null==f?void 0:f.shortTermPromotion)?"주 ":"월 ")+(0,o.gg)(f.ContractDetail.ContractPrice-((f.Contract.insCarPrice?1*f.Contract.insCarPrice:0)+(1*f.Condition.minAge==21?1*f.Contract.ins21Price:0))+(f.HotDeal?1*f.HotDealPrice:0))+"원"})]}),(0,i.jsxs)("li",{className:"detail-price-item",children:[(0,i.jsx)("span",{className:"detail-price-label",children:"계약 선택사항"}),(0,i.jsx)("span",{className:"detail-price-value",children:"+ ".concat((null==f?void 0:f.shortTermPromotion)?"주":"월"," ")+(0,o.gg)((f.Contract.insCarPrice?1*f.Contract.insCarPrice:0)+(1*f.Condition.minAge==21?1*f.Contract.ins21Price:0))+"원"})]}),f.HotDeal?(0,i.jsxs)("li",{className:"detail-price-item",children:[(0,i.jsx)("span",{className:"detail-price-label",children:(0,i.jsx)("span",{className:"hotdeal-label",children:"핫딜 할인"})}),(0,i.jsx)("span",{className:"detail-price-value",children:"- ".concat((null==f?void 0:f.shortTermPromotion)?"주":"월"," ")+(0,o.gg)(f.HotDealPrice)+"원"})]}):(0,i.jsx)(i.Fragment,{})]})]}),(0,i.jsxs)("div",{className:"price-deposite",children:[(0,i.jsx)("span",{className:"price-label",children:"Advance"===f.DepositPriceType?"선수금 (만료시 미환급)":"보증금"}),(0,i.jsx)("span",{className:"price-value",children:(0,o.gg)(f.ContractDetail.DepositPrice)+"원"})]})]})]}),(0,i.jsxs)("article",{className:"article-rent-info",children:[(0,i.jsx)("h5",{children:"대여 조건"}),(0,i.jsxs)("dl",{className:"rent-info",children:[(0,i.jsx)("dt",{children:"최소 신용등급"}),(0,i.jsx)("dd",{className:"bold",children:f.Condition.minCredit?f.Condition.minCredit+"등급":"무관"}),(0,i.jsx)("dt",{children:"최소 운전연령"}),(0,i.jsx)("dd",{className:"bold",children:"만 "+(1*f.Condition.minAge==21&&1*f.Contract.ins21Price?"23":"26")+"세 이상"}),(0,i.jsx)("dt",{children:"계약 요청일"}),(0,i.jsx)("dd",{children:(0,o.SV)(f.Status.Created)}),"P"===f.ContractTracking?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("dt",{children:"희망 시작일"}),(0,i.jsx)("dd",{children:f.ContractDetail.desireStartDate?(0,o.SV)(f.ContractDetail.desireStartDate):"-"})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("dt",{children:"대여 시작일"}),(0,i.jsx)("dd",{children:f.Contract.StartDate?(0,o.SV)(f.Contract.StartDate):"미정"}),(0,i.jsx)("dt",{children:"대여 종료일"}),(0,i.jsx)("dd",{children:f.Contract.FinishDate?(0,o.SV)(f.Contract.FinishDate):"미정"})]})]}),(null===(s=f.ContractDetail.BasicInfo)||void 0===s?void 0:s.Comments)?(0,i.jsxs)("div",{className:"rent-comment comment-wrap",children:[(0,i.jsx)("h6",{className:"comment-title",children:"추가 코멘트"}),(0,i.jsx)("div",{className:"comment-body",dangerouslySetInnerHTML:{__html:(0,n.I)(f.ContractDetail.BasicInfo.Comments)}})]}):(0,i.jsx)(i.Fragment,{})]}),(0,i.jsxs)("article",{className:"article-insurance-info",children:[(0,i.jsx)("h5",{children:"보험 조건"}),(0,i.jsxs)("dl",{className:"insurance-info",children:[(0,i.jsx)("dt",{children:"책임한도"}),(0,i.jsxs)("dd",{children:[(0,i.jsxs)("div",{className:"insurance-item",children:[(0,i.jsx)("span",{className:"label",children:"대인"}),(0,i.jsx)("span",{className:"value",children:f.ContractDetail.Insurance.Person?1*f.ContractDetail.Insurance.Person>=1e4?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:(0,o.gg)(f.ContractDetail.Insurance.Person/1e4)}),"억"]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:(0,o.gg)(f.ContractDetail.Insurance.Person)}),"만원"]}):(0,i.jsx)("b",{children:"무제한"})})]}),(0,i.jsxs)("div",{className:"insurance-item",children:[(0,i.jsx)("span",{className:"label",children:"대물"}),(0,i.jsx)("span",{className:"value",children:f.ContractDetail.Insurance.Object?1*f.ContractDetail.Insurance.Object>=1e4?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:(0,o.gg)(f.ContractDetail.Insurance.Object/1e4)}),"억"]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:(0,o.gg)(f.ContractDetail.Insurance.Object)}),"만원"]}):(0,i.jsx)("b",{children:"무제한"})})]}),(0,i.jsxs)("div",{className:"insurance-item",children:[(0,i.jsx)("span",{className:"label",children:"자손"}),(0,i.jsx)("span",{className:"value",children:f.ContractDetail.Insurance.Self?1*f.ContractDetail.Insurance.Self>=1e4?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:(0,o.gg)(f.ContractDetail.Insurance.Self/1e4)}),"억"]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:(0,o.gg)(f.ContractDetail.Insurance.Self)}
1),"만원"]}):(0,i.jsx)("b",{children:"무제한"})})]})]}),(0,i.jsx)("dt",{children:"면책금"}),(0,i.jsxs)("dd",{children:[(0,i.jsxs)("div",{className:"insurance-item",children:[(0,i.jsx)("span",{className:"label",children:"대인"}),(0,i.jsx)("span",{className:"value",children:f.ContractDetail.Insurance.minExemption?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:(0,o.gg)(f.ContractDetail.Insurance.minExemption)}),"만원"]}):"-"})]}),(0,i.jsxs)("div",{className:"insurance-item",children:[(0,i.jsx)("span",{className:"label",children:"대물"}),(0,i.jsx)("span",{className:"value",children:f.ContractDetail.Insurance.maxExemption?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:(0,o.gg)(f.ContractDetail.Insurance.maxExemption)}),"만원"]}):"-"})]}),(0,i.jsxs)("div",{className:"insurance-item",children:[(0,i.jsx)("span",{className:"label",children:"자차"}),(0,i.jsx)("span",{className:"value",children:f.ContractDetail.Insurance.Exemption?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:(0,o.gg)(f.ContractDetail.Insurance.Exemption)}),"만원"]}):"-"})]})]})]}),(0,i.jsx)("p",{className:"description",children:"Y"===f.PersonalIns?"해당 보험접수 발생시 각각 부과됩니다.":"보험접수 발생시 부과됩니다."})]}),f.ContractDetail.UserMemo?(0,i.jsxs)("article",{className:"article-request-comment",children:[(0,i.jsx)("h5",{children:"요청사항"}),(0,i.jsx)("div",{className:"request-comment",children:(j=f.ContractDetail.UserMemo,/<br\s*\/?>/gm.test(j)&&(j=j.replace(/<br\s*\/?>/gm,"\n")),/\\n\\n/.test(j)&&(j=j.replace(/\\n\\n/gi,"\n")),j)})]}):"",(0,i.jsxs)("article",{className:"article-user-info",children:[(0,i.jsx)("h5",{children:"계약자 정보"}),(0,i.jsxs)("div",{className:"user-info-summary",children:[(0,i.jsx)("div",{className:"user-info-name",children:"법인"===D.Category?D.Company:D.Name}),(0,i.jsxs)("div",{className:"user-info-sub",children:[D.Category," / ","법인"!==D.Category?D.BirthDate:D.CompanyNo]})]})]}),(0,i.jsxs)("article",{className:"article-driver-info",children:[(0,i.jsx)("h5",{children:"운전자 정보"}),(0,i.jsxs)("div",{className:"driver-info",children:[(0,i.jsx)("div",{className:"driver-label",children:"제 1 운전자"}),(0,i.jsxs)("div",{className:"driver-info-summary",children:[(0,i.jsx)("div",{className:"driver-info-name",children:null!==(x=null===(a=f.ContractDetail.exUserInfo)||void 0===a?void 0:a.DriverName)&&void 0!==x?x:"-"}),(0,i.jsx)("div",{className:"driver-info-sub",children:(null===(h=f.ContractDetail.exUserInfo)||void 0===h?void 0:h.DriverLicenseNo)?P(f.ContractDetail.exUserInfo.DriverLicenseNo):"-"})]})]}),(null===(u=f.ContractDetail.exUserInfo)||void 0===u?void 0:u.DriverName2)?(0,i.jsxs)("div",{className:"driver-info",children:[(0,i.jsx)("div",{className:"driver-label",children:"제 2 운전자"}),(0,i.jsxs)("div",{className:"driver-info-summary",children:[(0,i.jsx)("div",{className:"driver-info-name",children:f.ContractDetail.exUserInfo.DriverName2}),(0,i.jsx)("div",{className:"driver-info-sub",children:P(f.ContractDetail.exUserInfo.DriverLicenseNo2)})]})]}):""]})]}):(0,i.jsx)(i.Fragment,{})})}},93041:function(e,s,a){"use strict";a.d(s,{Z:function(){return N}});var i=a(57437),n=a(69750),l=a(33145),r=a(2265),t=a(94646),c=a(87938),d=a.n(c),o=a(29803),m=a(44313),h=a(42150),u=a(65422),x=a(42350);a(47008);let j=async()=>{let e=await t.Z.post("/api/getProfile",{});return!!e.data.Success&&e.data},v=async()=>{let e=await t.Z.post("/api/getDriverProfile",{});return!!e.data.Success&&e.data.Driver},p=async e=>{if(!e)return;let s=await t.Z.post("/api/getContractDetail",{ContractID:e});return!!s.data.success&&s.data.data};function N(e){var s,a,c,N,C,b,g,f,y,D,S,P,k,I;let{onClose:w,visible:F,contractID:U}=e,[M,T]=(0,r.useState)(null),[_,A]=(0,r.useState)({}),[E,O]=(0,r.useState)(1),L=new Date,[B]=(0,r.useState)(L.getFullYear()-23+"."+(L.getMonth()+1)+"."+L.getDate()),[R,Z]=(0,r.useState)([]),[V,Y]=(0,r.useState)(0),[q,H]=(0,r.useState)([]),[W,z]=(0,r.useState)(null),[G,K]=(0,r.useState)(!1),[X,$]=(0,r.useState)(!1),[J,Q]=(0,r.useState)(0),[ee,es]=(0,r.useState)(0),[ea,ei]=(0,r.useState)(!1),[en,el]=(0,r.useState)(!1),[er,et]=(0,r.useState)(""),[ec,ed]=(0,r.useState)(""),[eo,em]=(0,r.useState)(""),[eh,eu]=(0,r.useState)(""),[ex,ej]=(0,r.useState)(""),[ev,ep]=(0,r.useState)(""),[eN,eC]=(0,r.useState)(!1),[eb,eg]=(0,r.useState)(!1),[ef,ey]=(0,r.useState)(!1),[eD,eS]=(0,r.useState)(0),[eP,ek]=(0,r.useState)(""),[eI,ew]=(0,r.useState)(!1),[eF,eU]=(0,r.useState)(""),[eM,eT]=(0,r.useState)(""),[e_,eA]=(0,r.useState)(""),[eE,eO]=(0,r.useState)(!1),[eL,eB]=(0,r.useState)(!1),[eR,eZ]=(0,r.useState)(!1),[eV,eY]=(0,r.useState)(!1),[eq,eH]=(0,r.useState)([]),[eW,ez]=(0,r.useState)(!1),[eG,eK]=(0,r.useState)(""),[eX,e$]=(0,r.useState)(""),[eJ,eQ]=(0,r.useState)(""),[e0,e1]=(0,r.useState)(""),[e2,e4]=(0,r.useState)(""),[e3,e5]=(0,r.useState)(""),[e9,e7]=(0,r.useState)(!1),[e6,e8]=(0,r.useState)(""),[se,ss]=(0,r.useState)(""),[sa,si]=(0,r.useState)(""),[sn,sl]=(0,r.useState)(""),[sr,st]=(0,r.useState)(""),[sc,sd]=(0,r.useState)(""),[so,sm]=(0,r.useState)(!1),[sh,su]=(0,r.useState)(!1),[sx,sj]=(0,r.useState)(!1),[sv,sp]=(0,r.useState)(!1),[sN,sC]=(0,r.useState)(!1),[sb,sg]=(0,r.useState)(!1),[sf,sy]=(0,r.useState)(!1),[sD,sS]=(0,r.useState)(!1),[sP,sk]=(0,r.useState)(!1),sI=(0,r.useRef)(),[sw,sF]=(0,r.useState)(!1),[sU,sM]=(0,r.useState)(!1),[sT,s_]=(0,r.useState)(!1),[sA,sE]=(0,r.useState)(!1),sO=()=>{w&&w()},sL=(e,s)=>{let a=[];for(let i in e)if(1*s[i].start!==s[i].end&&s[i].end)for(let e=1*s[i].start;e<=s[i].end;e++)e>12&&e%12>0||a.indexOf(e)>-1||a.push(e);else a.push(1*s[i].start);Z([].concat(a))},sB=(e,s)=>{var a,i,n,l,r,t,c,d,o,m,h,u,x,j,v,p,N,C,b,g;let f=null!==(a=null==e?void 0:e.Profile)&&void 0!==a?a:{},y=null!=s?s:{},D=null!==(i=null==e?void 0:e.Define)&&void 0!==i?i:{};A(f);let S=null!==(n=f.Category)&&void 0!==n?n:"개인";"개인"===S&&f.isBusiness&&(S="개인사업자");el(!!("개인"===S?!f.Name||!f.Birth:"법인"===S?!f.Company||!f.CompanyNo:!f.Name||!f.Birth||!f.CompanyNo)||!f.Mobile||!f.Email||!f.Address),et(S),eB(f.isBusiness),ed(null!==(l=f.Name)&&void 0!==l?l:""),em(null!==(r=f.BirthString)&&void 0!==r?r:""),eu(null!==(t=f.Company)&&void 0!==t?t:""),ej(null!==(c=f.CompanyNo)&&void 0!==c?c:""),ep(null!==(d=f.Mobile)&&void 0!==d?d:""),f.Mobile&&ew(!0),eU(null!==(o=f.Email)&&void 0!==o?o:""),eT(null!==(m=f.Address)&&void 0!==m?m:""),eA(null!==(h=f.AddressDetail)&&void 0!==h?h:"");let P="",k="",I="",w="";y.DriverLicenseNo&&(P=y.DriverLicenseNo.slice(0,2),k=y.DriverLicenseNo.slice(2)),y.DriverLicenseNo2&&(I=y.DriverLicenseNo2.slice(0,2),w=y.DriverLicenseNo2.slice(2)),eH(null!==(u=null==D?void 0:D.Area)&&void 0!==u?u:[]),ez(!!y.DriverName),eK(null!==(x=y.DriverName)&&void 0!==x?x:""),e$(null!==(j=y.DriverPhone)&&void 0!==j?j:""),eQ(null!==(v=y.DriverBirth)&&void 0!==v?v:""),e1(P),e4(k),e5(null!==(p=y.DriverLicenseType)&&void 0!==p?p:""),e7(!!y.DriverName2),e8(null!==(N=y.DriverName2)&&void 0!==N?N:""),ss(null!==(C=y.DriverPhone2)&&void 0!==C?C:""),si(null!==(b=y.DriverBirth2)&&void 0!==b?b:""),sl(I),st(w),sd(null!==(g=y.DriverLicenseType2)&&void 0!==g?g:"")},sR=async()=>{let e=await p(U);if(e){var s,a;T(e),sL(null===(s=e.PriceObj)||void 0===s?void 0:s.PriceTable,null===(a=e.PriceObj)||void 0===a?void 0:a.RangePerio
1d),sB(await j(),await v())}},sZ=e=>{Y(e);let s=e;if(!M.PriceObj.PriceTable[s]){for(let e in M.PriceObj.RangePeriod)if(1*M.PriceObj.RangePeriod[e].start<=s&&1*M.PriceObj.RangePeriod[e].end>=s){s=e;break}}let a=[];for(let e in M.PriceObj.PriceTable[s])M.PriceObj.PriceTable[s][e]&&a.push(e);H([].concat(a)),1===a.length?(z(a[0]),es(1*M.ContractDetail.ContractPrice)):(z(null),es(0));let i=0;if(M.PriceObj.RangeDeposite){let s=M.PriceObj.RangeDeposite,a=!1,n=s[0].end?1*s[0].end:1*s[0].start,l=1*s[0].deposite,r=1*s[0].start,t=1*s[0].deposite;for(let c=0;c<s.length&&!a;c++){if(s[c].end&&1*s[c].start!=1*s[c].end){let n=s[c];for(let l=1*n.start;l<=1*n.end;l++)if(l===1*e){i=1*s[c].deposite,a=!0;break}}else if(1*s[c].start==1*e){i=1*s[c].deposite;break}1*s[c].start<r&&(r=1*s[c].start,t=1*s[c].deposite),!s[c].end&&1*s[c].start>n?(n=1*s[c].start,l=1*s[c].deposite):s[c].end&&1*s[c].end>n&&(n=1*s[c].end,l=1*s[c].deposite)}i||(i=e<r?t:l)}else i=M.ContractDetail.DepositPrice;Q(i)},sV=e=>{z(e),es(1*M.ContractDetail.ContractPrice)},sY=async()=>{let e=await t.Z.post("/api/verifyMobile",{phoneNo:ev});if(e.data.Success){if(e.data.Already){eC(!0),eg(!1),ew(!0),(0,x.l)("verifyOk","이미 인증이 완료되었습니다.");return}eC(!0),ey(!0),eg(!1),ew(!1),eS(300),(0,x.l)("verifyUserInfoMobile","인증번호가 발송되었습니다.")}else{var s,a;(null===(s=e.data)||void 0===s?void 0:s.ErrorMsg)?(0,x.l)("verifyUserInfoMobileMsg",null===(a=e.data)||void 0===a?void 0:a.ErrorMsg):(0,x.l)("verifyUserInfoMobile","인증번호 발송에 실패했습니다. 다시 시도해 주세요.")}},sq=async()=>{if(!eP)return(0,x.l)("verifyEmpty","인증번호를 입력해주세요.");let e=await t.Z.post("/api/verifyMobile",{phoneNo:ev,VerifyCode:eP});if(e.data.Success)ew(!0),ey(!1),eS(0),(0,x.l)("checkVerifyUserInfoMobile","인증되었습니다.");else{var s,a;(null===(s=e.data)||void 0===s?void 0:s.ErrorMsg)?(0,x.l)("checkVerifyUserInfoMobileMsg",null===(a=e.data)||void 0===a?void 0:a.ErrorMsg):(0,x.l)("checkVerifyUserInfoMobile","인증번호가 일치하지 않습니다.")}},[sH,sW]=(0,r.useState)(!1),sz=async()=>{if(sH)return;sW(!0);let e={ProdID:M.ProdID,ContractID:M.ContractID,Period:V,Mileage:W,ins21Price:X&&M.ContractDetail.ins21Price?M.ContractDetail.ins21Price:0,insCarPrice:G&&M.Insurance.rentCar?1e4*M.Insurance.rentCar:0,DepositPrice:J,PrivateSignData:sw||"",Price:ee+((G&&M.Insurance.rentCar?1e4*M.Insurance.rentCar:0)+(X&&M.ContractDetail.ins21Price?M.ContractDetail.ins21Price:0)),UserMemo:"",Maintenance:"Y"===M.ContractDetail.Maintenance?"Y":"N"};if(en){let s="개인"===er&&eL?"개인사업자":er;s===_.Category||"개인사업자"===s&&"개인"===_.Category&&_.isBusiness||(e.ContractUserCategory=s),"법인"!==s&&ec!==_.Name&&(e.ContractUserName=ec),"법인"===s&&eh!==_.Company&&(e.ContractUserCompany=eh),"법인"!==s&&eo!==_.BirthString&&(e.ContractUserBirth=eo),"개인"!==s&&ex!==_.CompanyNo&&(e.ContractUserCompanyNo=ex),_.Mobile||(e.ContractUserMobile=ev),_.Email||(e.ContractUserEmail=eF),eM!==_.Address&&(e.ContractUserAddress=eM),e_!==_.AddressDetail&&(e.ContractUserAddressDetail=e_)}if(eV?e.afterContractDriver=!0:(e.DriverName=eG,e.DriverPhone=eX,e.DriverBirth=eJ,e.DriverLicenseNo=(null!=e0?e0:"")+e2,e.DriverLicenseType=e3,e6&&(e.DriverName2=e6),se&&(e.DriverPhone2=se),sa&&(e.DriverBirth2=sa),sr&&(e.DriverLicenseNo2=(null!=sn?sn:"")+sr),sc&&(e.DriverLicenseType2=sc)),M.ContractDetail.ResellerID&&(e.ResellerID=M.ContractDetail.ResellerID),sE(!1),!(await t.Z.post("/api/chkToken",{})).data.success){(0,x.l)("requestContract","로그인 정보가 만료되었습니다. 로그인 후 이용해 주세요."),sW(!1);return}let s=await t.Z.post("/api/reqContractExtend",e);sW(!1),s.data.success?window.location.reload():(0,x.l)("requestContract",s.data.msg)};return(0,r.useEffect)(()=>{sR()},[]),(0,r.useEffect)(()=>{let e=setInterval(function(){eD>=1?eS(eD-1):clearInterval(e)},1e3);return()=>!!e&&clearInterval(e)},[eD]),(0,i.jsxs)(i.Fragment,{children:[F&&M&&(0,i.jsxs)(i.Fragment,{children:[1===E&&(0,i.jsxs)(m.V2,{className:"modal-contract-select-option",maskClosable:!0,onClose:sO,onAction:!1,visible:1===E,children:[(0,i.jsx)("h3",{children:"대여기간을 선택해 주세요"}),(0,i.jsx)("div",{className:"contract-select-option-wrap",children:(0,i.jsx)("ul",{className:"contract-select-option",children:R.map((e,s)=>(0,i.jsxs)("li",{className:V===e?"selected":"",onClick:()=>sZ(e),children:[e,"개월"]},s))})}),(0,i.jsxs)("div",{className:"modal-actions",children:[(0,i.jsx)("button",{type:"button",className:"btn-cancel",onClick:sO,children:"취소"}),(0,i.jsx)("button",{type:"button",className:"btn-action".concat(V?"":" disabled"),onClick:()=>!!V&&O(2),children:"계약요청하기"})]})]}),2===E&&(0,i.jsxs)(m.V2,{className:"modal-contract-options",maskClosable:!0,onClose:sO,onAction:!1,visible:2===E,children:[(0,i.jsxs)("div",{className:"contract-option-item",children:[(0,i.jsx)("h4",{children:"대여 기간"}),(0,i.jsx)("button",{type:"button",className:"btn-select-period",onClick:()=>O(1),children:V+"개월"})]}),(0,i.jsxs)("div",{className:"contract-option-item",children:[(0,i.jsx)("h4",{children:"약정 주행거리"}),(0,i.jsx)("div",{className:"contract-option-item-mileage",children:q.map((e,s)=>(0,i.jsx)("button",{type:"button",className:e===W?"active":"",onClick:()=>1!==q.length&&sV(e),children:e<1e4?"월 "+(0,u.gg)(e)+"km":"연 "+(0,u.gg)(e)+"km"},s))})]}),((null===(s=M.Insurance)||void 0===s?void 0:s.CDW)==="Y"||(null===(a=M.Insurance)||void 0===a?void 0:a.rentCar)||(null===(c=M.ContractDetail)||void 0===c?void 0:c.minAge)===21)&&(0,i.jsxs)("div",{className:"contract-option-item",children:[(0,i.jsx)("h4",{children:"계약 선택사항"}),(0,i.jsxs)("div",{className:"contract-optional",children:[M.Insurance.rentCar?(0,i.jsxs)("div",{className:"contract-optional-item option-cdw".concat(G?" active":""),onClick:()=>{K(!G)},children:[(0,i.jsxs)("div",{className:"option-info",children:[(0,i.jsx)("h5",{children:"자차보험 추가"}),(0,i.jsx)("p",{children:"보상한도 내 면책금이 있는 보험"})]}
1),(0,i.jsxs)("div",{className:"option-price",children:["+ 월 ",M.Insurance.rentCar,"만원"]})]}):(null===(N=M.Insurance)||void 0===N?void 0:N.CDW)==="Y"&&(0,i.jsx)("div",{className:"contract-optional-item option-cdw active",children:(0,i.jsxs)("div",{className:"option-info",children:[(0,i.jsx)("h5",{children:"자차보험 포함"}),(0,i.jsx)("p",{children:"보상한도 내 면책금이 있는 보험"})]})}),21===M.ContractDetail.minAge&&(0,i.jsxs)("div",{className:"contract-optional-item option-age".concat(X?" active":""),onClick:()=>{$(!X)},children:[(0,i.jsxs)("div",{className:"option-info",children:[(0,i.jsx)("h5",{children:"운전자 보험 만 23세 이상"}),(0,i.jsxs)("p",{children:[B," 이후 출생자 해당"]})]}),(0,i.jsxs)("div",{className:"option-price",children:["+ 월 ",null!==(k=M.ContractDetail.ins21Price)&&void 0!==k?k:"0","만원"]})]})]})]}),(0,i.jsxs)("div",{className:"contract-option-summary",children:[(0,i.jsxs)("div",{className:"contract-option-summary-item contract-option-deposite",children:[(0,i.jsx)("span",{className:"option-label",children:"Advance"===M.DepositPriceType?"선수금 (만료시 미환급)":"보증금"}),(0,i.jsx)("span",{className:"option-value",children:(0,u.gg)(J)+"원"})]}),(0,i.jsxs)("div",{className:"contract-option-summary-item contract-option-price",children:[(0,i.jsx)("div",{className:"option-label",children:"월 대여료"}),(0,i.jsx)("div",{className:"option-value",children:(0,i.jsx)("span",{className:"option-value-result",children:ee?"월 "+(0,u.gg)(ee+((G?1e4*M.Insurance.rentCar:0)+(X?M.ContractDetail.ins21Price:0)))+"원":"-"})})]})]}),(0,i.jsxs)("div",{className:"modal-actions",children:[(0,i.jsx)("button",{type:"button",className:"btn-cancel",onClick:sO,children:"취소"}),(0,i.jsx)("button",{type:"button",className:"btn-action".concat(ee?"":" disabled"),onClick:()=>!!ee&&O(3),children:"계약 요청하기"})]})]}),3===E&&(0,i.jsxs)(m.nS,{className:"modal-contract-request",onClose:()=>O(2),onAction:!1,visible:3===E,title:"계약 요청하기",children:[(0,i.jsxs)("article",{className:"article-contract-info",children:[(0,i.jsxs)("div",{className:"contract-car-info",children:[(0,i.jsxs)("div",{className:"car-info",children:[(0,i.jsx)("h4",{className:"car-name",children:M.Maker+" "+M.Model}),(0,i.jsx)("div",{className:"car-grade",children:M.Grade}),(0,i.jsx)("div",{className:"car-supplier",children:null!==(I=null===(C=M.Supplier)||void 0===C?void 0:C.Company)&&void 0!==I?I:""})]}),(0,i.jsx)("figure",{className:"car-thumb",children:(0,i.jsx)(l.default,{src:M.Cover,alt:M.CarNum+" 사진",fill:!0})})]}),(0,i.jsxs)("div",{className:"contract-selected-info",children:[(0,i.jsxs)("div",{className:"contract-selected-data",children:[(0,i.jsx)("div",{className:"contract-selected-label",children:"대여 기간"}),(0,i.jsx)("div",{className:"contract-selected-value",children:V+"개월"})]}),(0,i.jsxs)("div",{className:"contract-selected-data",children:[(0,i.jsx)("div",{className:"contract-selected-label",children:"약정 주행거리"}),(0,i.jsx)("div",{className:"contract-selected-value",children:(W>=1e4?"연 ":"월 ")+(0,u.gg)(W)+"km"})]}),(0,i.jsxs)("div",{className:"contract-selected-data",children:[(0,i.jsx)("div",{className:"contract-selected-label",children:"계약 선택사항"}),(0,i.jsxs)("div",{className:"contract-selected-value",children:[(G||(null===(b=M.Insurance)||void 0===b?void 0:b.CDW)==="Y")&&(0,i.jsx)("div",{className:"contract-selected-option contract-selected-option-cdw",children:"자차보험"}),X&&(0,i.jsx)("div",{className:"contract-selected-option contract-selected-option-age",children:"만 23세이상"}),G||(null===(g=M.Insurance)||void 0===g?void 0:g.CDW)==="Y"||X?"":"-"]})]})]})]}),(0,i.jsxs)("article",{className:"article-user-info",children:[(0,i.jsx)("h4",{children:"계약자 정보"}),en?(0,i.jsxs)("div",{className:"user-info-form",children:[(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"UserName",children:"법인"===er?"법인명":"이름"}),(0,i.jsx)(o._u,{type:"text",name:"UserName",value:"법인"===er?eh:ec,options:{onChange:e=>"법인"===er?eu(e.target.value):ed(e.target.value)}})]}),"법인"===er?(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"UserCompanyNo",children:"사업자번호"}),(0,i.jsx)(o._u,{type:"tel",name:"UserCompanyNo",value:ex,options:{onChange:e=>ej(e.target.value)}})]}):(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"UserBirth",children:"생년월일 8자리"}),(0,i.jsx)(o._u,{type:"tel",name:"UserBirth",value:eo,options:{onChange:e=>em(e.target.value)}})]}),(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"UserMobile",children:"휴대전화번호"}),_.Mobile?(0,i.jsx)(o._u,{type:"text",name:"UserPhone",value:ev,options:{readOnly:!0}}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"input-mobile-verify input-mobile",children:[(0,i.jsx)("input",{type:"tel",name:"UserMobile",value:ev,onChange:e=>{let s=e.target.value;ep(s),s.indexOf("-")>-1&&(s=s.split("-").join("")),s.length>=11&&/^((01[1|6|7|8|9])[1-9]+[0-9]{6,7})|(010[1-9][0-9]{7})$/.test(s)?eg(!0):eg(!1)},readOnly:eN}),(0,i.jsx)("div",{className:"float-actions",children:eb&&(0,i.jsx)("button",{type:"button",className:"btn-verify",onClick:sY,children:"인증번호 전송"})})]}),ef&&(0,i.jsxs)("div",{className:"input-mobile-verify input-verify",children:[(0,i.jsx)("input",{type:"tel",name:"UserMobileVerify",value:eP,onChange:e=>{ek(e.target.value)}}),(0,i.jsxs)("div",{className:"float-actions",children:[(0,i.jsx)("span",{className:"remain-time",children:(e=>{if(isNaN(e)||e<0)return e;let s=e%60,a=Math.floor(e/60);return(a<10?"0"+a:a)+":"+(s<10?"0"+s:s)})(eD)}),eD>0?(0,i.jsx)("button",{type:"button",className:"btn-verify",onClick:sq,children:"인증하기"}):(0,i.jsx)("button",{type:"button",className:"btn-verify",onClick:sY,children:"재전송"})]})]})]})]}),(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"UserEmail",children:"이메일"}),_.Email?(0,i.jsx)(o._u,{type:"text",name:"UserEmail",value:eF,options:{readOnly:!0}}):(0,i.jsx)(o._u,{type:"text",name:"UserEmail",value:eF,options:{onChange:e=>eU(e.target.value)}})]}),(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"UserAddress",children:"주소"}),(0,i.jsxs)("div",{className:"input-address",children:[(0,i.jsx)("span",{className:"address-value",children:eM}),(0,i.jsx)("button",{type:"button",className:"open-address-form",onClick:()=>eO(!0),children:"검색"})]}),eE&&(0,i.jsx)(h.Z,{popup:eE,setPostData:eT,handleComplete:()=>eO(!1)}),e_&&(0,i.jsx)(o._u,{type:"text",name:"UserAddressDetail",value:e_,options:{onChange:e=>eA(e.target.value)}})]}),"법인"!==er&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"check-business".concat(eL?" checked":""),onClick:()=>eB(!eL),children:[(0,i.jsx)("div",{className:"check-icon"}),(0,i.jsxs)("div",{className:"check-label",children:[(0,i.jsx)("div",{className:"bold",children:"저는 개인 사업자에 해당돼요"}),(0,i.jsx)("div",{className:"desc",children:"해당시 사업자등록번호 입력 필요"})]})]}),eL&&(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"UserCompanyNo",children:"사업자번호"}),(0,i.jsx)(o._u,{type:"tel",name:"UserCompanyNo",value:ex,options:{onChange:e=>ej(e.target.value)}})]})]})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"user-info-header",children:[(0,i.jsxs)("div",{className:"user-info-summary",children:[(0,i.jsx)("div",{className:"user-info-name",children:"법인"===er?eh:ec}),(0,i.jsxs)("div",{className:"user-info-sub",children:[er," / ","법인"!==er?eo:ex]})]}),(0,i.jsx)("button",{type:"button",className:"btn-toggle".concat(ea?" open":""),onClick:()=>{ei(e=>!e)}})]}),ea&&(0,i.jsxs)("div",{className:"user-info-form",children:[(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"UserName",children:"법인"===er?"법인명":"이름"}),(0,i.jsx)(o._u,{type:"text",name:"UserName",value:"법인"===er?eh:ec,options:{readOnly:!0}})]}),"개인"!==er&&(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"UserCompanyNo",children:"사업자번호"}),(0,i.jsx)(o._u,{type:"text",name:"UserCompanyNo",value:ex,options:{readOnly:!0}})]}),"법인"!==er&&(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"UserBirth",children:"생년월일 8자리"}),(0,i.jsx)(o._u,{type:"text",name:"UserBirth",value:eo,options:{readOnly:!0}})]}),(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"UserPhone",children:"휴대전화번호"}),(0,i.jsx)(o._u,{type:"text",name:"UserPhone",value:ev,options:{readOnly:!0}})]}),(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"UserEmail",children:"이메일"}),(0,i.jsx)(o._u,{type:"text",name:"UserEmail",value:eF,options:{readOnly:!0}})]}),(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"UserAddress",children:"주소"}),(0,i.jsx)(o._u,{type:"text",name:"UserAddress",value:eM,options:{readOnly:!0}}),e_&&(0,i.jsx)(o._u,{type:"text",name:"UserAddressDetail",value:e_,options:{readOnly:!0}})]})]})]})]}),(0,i.jsxs)("article",{className:"article-driver-info",children:[(0,i.jsxs)("div",{className:"article-header",children:[(0,i.jsx)("h4",{children:"운전자 정보"}),!eW&&!e9&&(0,i.jsxs)("div",{className:"article-header-actions",children:["법인"!==er?(0,i.jsxs)("div",{className:"header-action-item".concat(eR?" checked":""),onClick:()=>{eR?eZ(!1):(eZ(!0),ec&&eK(ec),eo&&eQ(eo),ev&&e$(ev))},children:[(0,i.jsx)("span",{className:"check-icon"}),(0,i.jsx)("span",{className:"check-label",children:"계약자와 동일"})]}):"","법인"===er?(0,i.jsxs)("div",{className:"header-action-item".concat(eV?" checked":""),onClick:()=>eY(!eV),children:[(0,i.jsx)("span",{className:"check-icon"}),(0,i.jsx)("span",{className:"check-label",children:"계약 요청 후 입력"})]}):""]})]}),!eV&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"driver-info",children:[(0,i.jsxs)("div",{className:"driver-info-header",children:[(0,i.jsx)("div",{className:"driver-header-label",children:"제 1 운전자"}),eW&&(0,i.jsxs)("div",{className:"driver-header-summary",children:[(0,i.jsxs)("div",{className:"driver-info-summary",children:[(0,i.jsx)("div",{className:"driver-info-name",children:eG}),(0,i.jsx)("div",{className:"driver-info-sub",children:e0+" "+e2})]}),(0,i.jsx)("button",{type:"button",className:"btn-toggle".concat(so?" active":""),onClick:()=>sm(!so)})]})]}),!eW||so&&(0,i.jsxs)("div",{className:"driver-info-form",children:[(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"DriverName",children:"이름"}),(0,i.jsx)(o._u,{type:"text",name:"DriverName",value:eG,options:{onChange:e=>eK(e.target.value)}})]}),(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"DriverBirth",children:"생년월일 8자리"}),(0,i.jsx)(o._u,{type:"text",name:"DriverBirth",value:eJ,options:{onChange:e=>eQ(e.target.value)}})]}),(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"DriverPhone",children:"휴대전화번호"}),(0,i.jsx)(o._u,{type:"text",name:"DriverPhone",value:eX,options:{onChange:e=>e$(e.target.value)}})]}),(0,i.jsxs)("div",{className:"input-item input-item-licensetype",children:[(0,i.jsx)("label",{htmlFor:"DriverLicenseNo",children:"면허번호"}),(0,i.jsx)("p",{children:"지역 구분 혹은 지역 코드, 국제면허 구분을 선택해 주세요"}),(0,i.jsxs)("div",{className:"input-license-wrap",children:[(0,i.jsxs)("select",{name:"DriverLicenseLocation",value:e0,onChange:e=>e1(e.target.value),children:[(0,i.jsx)("option",{value:""}),eq.map((e,s)=>(0,i.jsx)("option",{value:e,selected:e===e0,children:e},s))]}),(0,i.jsx)(o._u,{type:"text",name:"DriverLicenseNo",value:e2,options:{onChange:e=>e4(e.target.value)}})]})]}),(0,i.jsxs)("div",{className:"input-item input-item-radio-wrap",children:[(0,i.jsxs)("div",{className:"input-item-radio".concat("1종"===e3?" checked":""),onClick:()=>e5("1종"),children:[(0,i.jsx)("span",{className:"radio-icon"}),(0,i.jsx)("span",{className:"radio-label",children:"1종"})]}),(0,i.jsxs)("div",{className:"input-item-radio".concat("2종"===e3?" checked":""),onClick:()=>e5("2종"),children:[(0,i.jsx)("span",{className:"radio-icon"}),(0,i.jsx)("span",{className:"radio-label",children:"2종"})]})]})]})]}),e9||sh?(0,i.jsxs)("div",{className:"driver-info",children:[(0,i.jsxs)("div",{className:"driver-info-header",children:[(0,i.jsx)("div",{className:"driver-header-label",children:"제 2 운전자"}),e9&&(0,i.jsxs)("div",{className:"driver-header-summary",children:[(0,i.jsxs)("div",{className:"driver-info-summary",children:[(0,i.jsx)("div",{className:"driver-info-name",children:e6}),(0,i.jsx)("div",{className:"driver-info-sub",children:sn+" "+e2})]}),(0,i.jsx)("button",{type:"button",className:"btn-toggle",onClick:()=>su(!sh)})]})]}),sh&&(0,i.jsxs)("div",{className:"driver-info-form",children:[(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"DriverName2",children:"이름"}),(0,i.jsx)(o._u,{type:"text",name:"DriverName2",value:e6,options:{onChange:e=>e8(e.target.value)}})]}),(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"DriverBirth2",children:"생년월일 8자리"}),(0,i.jsx)(o._u,{type:"text",name:"DriverBirth2",value:sa,options:{onChange:e=>si(e.target.value)}})]}),(0,i.jsxs)("div",{className:"input-item",children:[(0,i.jsx)("label",{htmlFor:"DriverPhone2",children:"휴대전화번호"}),(0,i.jsx)(o._u,{type:"text",name:"DriverPhone2",value:se,options:{onChange:e=>ss(e.target.value)}})]}),(0,i.jsxs)("div",{className:"input-item input-item-licensetype",children:[(0,i.jsx)("label",{htmlFor:"DriverLicenseNo",children:"면허번호"}),(0,i.jsx)("p",{children:"지역 구분 혹은 지역 코드, 국제면허 구분을 선택해 주세요"}),(0,i.jsxs)("div",{className:"input-license-wrap",children:[(0,i.jsxs)("select",{name:"DriverLicenseLocation2",value:sn,onChange:e=>sl(e.target.value),children:[(0,i.jsx)("option",{value:""}),eq.map((e,s)=>(0,i.jsx)("option",{value:e,selected:e===sn,children:e},s))]}),(0,i.jsx)(o._u,{type:"text",name:"DriverLicenseNo2",value:sr,options:{onChange:e=>st(e.target.value)}})]})]}),(0,i.jsxs)("div",{className:"input-item input-item-radio-wrap",children:[(0,i.jsxs)("div",{className:"input-item-radio".concat("1종"===sc?" checked":""),onClick:()=>sd("1종"),children:[(0,i.jsx)("span",{className:"radio-icon"}),(0,i.jsx)("span",{className:"radio-label",children:"1종"})]}),(0,i.jsxs)("div",{className:"input-item-radio".concat("2종"===sc?" checked":""),onClick:()=>sd("2종"),children:[(0,i.jsx)("span",{className:"radio-icon"}),(0,i.jsx)("span",{className:"radio-label",children:"2종"})]})]})]})]}):(0,i.jsx)("button",{type:"button",className:"add-driver",onClick:()=>su(!sh),children:"+ 제 2 운전자 추가"})]})]}),(0,i.jsxs)("article",{className:"article-price-summary",children:[(0,i.jsx)("h4",{children:"금액 정보"}),(0,i.jsxs)("div",{className:"price-summary",children:[(0,i.jsxs)("div",{className:"price-summary-price-wrap",children:[(0,i.jsxs)("div",{className:"price-summary-price",children:[(0,i.jsx)("span",{className:"price-summary-label",children:"월 ë
1Œ€ì—¬ë£Œ"}),(0,i.jsx)("span",{className:"price-summary-value",children:"월 "+(0,u.gg)(ee+((G?1e4*M.Insurance.rentCar:0)+(X&&M.ContractDetail.ins21Price?M.ContractDetail.ins21Price:0)))+"원"})]}),(0,i.jsxs)("ul",{className:"price-summary-detail-price",children:[(0,i.jsxs)("li",{className:"detail-price-item",children:[(0,i.jsx)("span",{className:"detail-price-label",children:"기본 대여료"}),(0,i.jsx)("span",{className:"detail-price-value",children:"월 "+(0,u.gg)(ee)+"원"})]}),(0,i.jsxs)("li",{className:"detail-price-item",children:[(0,i.jsx)("span",{className:"detail-price-label",children:"계약 선택사항"}),(0,i.jsx)("span",{className:"detail-price-value",children:"+ 월 "+(0,u.gg)((G?1e4*M.Insurance.rentCar:0)+(X&&M.ContractDetail.ins21Price?M.ContractDetail.ins21Price:0))+"원"})]})]})]}),(0,i.jsxs)("div",{className:"price-summary-deposite",children:[(0,i.jsx)("span",{className:"price-summary-label",children:"Advance"===M.DepositPriceType?"선수금 (만료시 미환급)":"보증금"}),(0,i.jsx)("span",{className:"price-summary-value",children:(0,u.gg)(J)+"원"})]})]})]}),(0,i.jsxs)("article",{className:"article-agree-policy",children:[(0,i.jsxs)("ul",{className:"notice-description",children:[(0,i.jsxs)("li",{children:["본 차량의 보험 적용 연령은 ",(0,i.jsxs)("b",{children:["만 ",X?23:26,"세 이상"]}),"입니다."]}),(0,i.jsxs)("li",{children:["차량 중도 해지시"," ",M.BreakRate?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("b",{children:["위약율은 ",M.BreakRate,"%"]})," 입니다."]}):"없습니다."," ","(잔여기간 총 대여료X위약율)"]}),(0,i.jsx)("li",{children:"계약 요청 접수 후, 평일 24시간 내 해피콜을 통해 계약 진행 여부 등을 확정합니다."}),(0,i.jsx)("li",{children:"차량의 주행거리와 옵션 등 일부 정보는 실제 정보와 차이가 있을 수 있으니 출고시 다시 한번 정확히 확인 바랍니다."})]}),(0,i.jsxs)("div",{className:"agree-policy",children:[(0,i.jsxs)("div",{className:"check-all".concat(sU?" checked":""),onClick:()=>{if(sU){sj(!1),sp(!1),sC(!1),s_(!1),sM(!1);return}sj(!0),"Y"!==M.Supplier.PrivateCheck||sv?sN?sM(!0):sk(!0):(s_(!0),sS(!0))},children:[(0,i.jsx)("span",{className:"check-icon"}),(0,i.jsx)("span",{className:"check-label",children:"모두 동의"})]}),(0,i.jsxs)("ul",{className:"agree-list",children:[(0,i.jsxs)("li",{className:"agree-item",children:[(0,i.jsxs)("div",{className:"agree-item-check".concat(sx?" checked":""),onClick:()=>{if(sx){sj(!1),sM(!1);return}sj(!0),("Y"!==M.Supplier.PrivateCheck||sv)&&sN&&sM(!0)},children:[(0,i.jsx)("span",{className:"check-icon"}),(0,i.jsx)("span",{className:"check-label",children:"개인정보 제3자 제공 및 위탁 동의"})]}),(0,i.jsx)("button",{type:"button",className:"agree-item-view",onClick:()=>sg(!0),children:"보기"})]}),(null===(f=M.Supplier)||void 0===f?void 0:f.PrivateCheck)==="Y"&&(0,i.jsxs)("li",{className:"agree-item",children:[(0,i.jsxs)("div",{className:"agree-item-check".concat(sv?" checked":""),onClick:()=>{if(sv){sp(!1),sM(!1);return}sS(!0)},children:[(0,i.jsx)("span",{className:"check-icon"}),(0,i.jsx)("span",{className:"check-label",children:"개인(신용)정보 수집/제공/조회 동의"})]}),(0,i.jsx)("button",{type:"button",className:"agree-item-view",onClick:()=>sy(!0),children:"보기"})]}),(0,i.jsx)("li",{className:"agree-item",children:(0,i.jsxs)("div",{className:"agree-item-check".concat(sN?" checked":""),onClick:()=>{if(sN){sC(!1),sM(!1);return}sk(!0)},children:[(0,i.jsx)("span",{className:"check-icon"}),(0,i.jsx)("span",{className:"check-label",children:"상담 요청"})]})})]})]})]}),(0,i.jsxs)("div",{className:"contract-request-actions",children:[(0,i.jsxs)("div",{className:"contract-request-summary",children:[(0,i.jsxs)("div",{className:"contract-request-deposite",children:["Advance"===M.DepositPriceType?"선수금 (만료시 미환급)":"보증금",(0,i.jsxs)("span",{children:[(0,u.gg)(J),"원"]})]}),(0,i.jsxs)("div",{className:"contract-request-price",children:["월"," ",(0,u.gg)(ee+((G&&M.Insurance.rentCar?1e4*M.Insurance.rentCar:0)+(X&&M.ContractDetail.ins21Price?M.ContractDetail.ins21Price:0))),"원"]})]}),(0,i.jsx)("button",{type:"button",className:"btn-contract-request".concat(sU?"":" disabled"),disabled:!sU,onClick:()=>
1{if(!sU)return;let e="";if(en&&!(eI&&eF&&eM&&("법인"===er?eh&&ex:ec&&eo))){let s="";"법인"!==er||eh||(s="법인명"),"법인"===er||ec||(s="이름"),"개인"===er||ex||(s=s?s+", 사업자번호":"사업자번호"),"법인"===er||eo||(s=s?s+", 생년월일":"생년월일"),ev||(s=s?s+", 휴대전화번호":"휴대전화번호"),eF||(s=s?s+", 이메일":"이메일"),eM||(s=s?s+", 주소":"주소"),e=s?"계약자 정보("+s+")를 입력해 주세요.":"휴대전화번호 인증을 진행해 주세요."}else if(eV||eG&&eX&&eJ&&e0&&e2&&e3)sx?"Y"!==M.Supplier.PrivateCheck||sv?sN||(e="대여 계약 조건을 확인해 주세요."):e="개인(신용)정보 수집/제공/조회에 동의 후 서명이 필요합니다.":e="개인정보 제3자 제공 및 위탁에 동의해 주세요.";else{let s="";eG||(s="이름"),eJ||(s=s?s+", 생년월일":"생년월일"),eX||(s=s?s+", 휴대전화번호":"휴대전화번호"),e2||(s=s?s+", 면허번호":"면허번호"),e3||(s=s?s+", 운전면허 구분":"운전면허 구분"),e="운전자 정보("+s+")를 입력해 주세요."}if(e){(0,x.l)("requestContractModal",e);return}sE(!0)},children:"계약 요청하기"})]})]})]}),sb&&(0,i.jsx)(m.nS,{className:"modal-contract-agree",onClose:()=>sg(!1),onAction:()=>sg(!1),actionText:"확인",visible:sb,title:"개인정보 제3자 제공 및 위탁",children:(0,i.jsxs)("article",{children:[(0,i.jsx)("h4",{children:"차량 대여 및 대여 가능 여부 심사를 위해 아래 정보가 제공됩니다."}),(0,i.jsxs)("ul",{children:[(0,i.jsxs)("li",{children:["해당 차량은 ",(0,i.jsx)("strong",{className:"color-blue","ng-bind":"Supplier"}),"에서 제공되는 차량이므로, 정보제공에 동의하지 않는 경우 차량 대여를 위한 계약을 요청하실 수 없습니다."]}),(0,i.jsxs)("li",{children:["제공 및 위탁 받는 자 : ",(0,i.jsx)("strong",{className:"color-blue","ng-bind":"Supplier"})]}),(0,i.jsxs)("li",{children:["제공 항목 :"," ","개인"==_.Category?"성명, 생년월일, 운전면허정보, 휴대전화번호, 이메일, 주소":"업체명, 사업자등록번호 및 등록증, 담당자명, 연락처 및 주소"]}),(0,i.jsx)("li",{children:"제공 목적 : 차량 대여 체결을 위한 운전 자격 확인, 불량 임차인 정보등의 조회"}),(0,i.jsx)("li",{children:"보유 및 이용기간 : 대여 계약 만료 6개월 후 삭제"})]})]})}),sf&&(0,i.jsxs)(m.nS,{className:"modal-contract-agree",onClose:()=>sy(!1),onAction:()=>sy(!1),actionText:"확인",visible:sf,title:"개인(신용)정보 수집/제공/조회 동의서",children:[(0,i.jsx)("p",{children:"본 거래와 관련하여 귀사가 본인으로부터 취득한 개인(신용)정보는 「개인정보 보호법」 제15조 및 제22조에 따라 수집/이용시 동의가 필요한 항목입니다. 또한, 「개인정보 보호법」 제17조 및 제22조 「신용정보의 이용 및 보호에 관한 법률」 제32조 및 제33조에 따라 타인에게 제공 및 개인신용정보 조회시 동의가 필요합니다. 이에 본인은 아래와 같이 개인(신용)정보의 수집/이용, 제3자 제공, 조회에 대해 동의합니다."}),(0,i.jsxs)("article",{children:[(0,i.jsxs)("ul",{children:[(0,i.jsx)("li",{children:"수집항목 : 성명, 생년월일, 성별, 주소(자택/직장/공급지), 계좌/카드번호, 연락처, E-mail 등"}),(0,i.jsx)("li",{children:"수집/이용목적 : 상거래 설정 및 유지를 위한 신용정보 조회 목적 등"}),(0,i.jsx)("li",{children:"보유/이용기간 : 수집/이용목적의 달성 시까지"})]}),(0,i.jsx)("p",{children:"※ 이에 대한 동의가 없을 경우 거래관계의 설정 또는 유지가 불가능할 수 있음을 알려드립니다"})]}),(0,i.jsxs)("article",{children:[(0,i.jsxs)("ul",{children:[(0,i.jsx)("li",{children:"제공기관 : NICE평가정보(신용조회회사)"}),(0,i.jsx)("li",{children:"제공항목 : 개인식별정보(성명, 생년월일, 성별, 주소, 국적, 연락처, E-mail 등), 신용거래정보(본 거래 이전 및 이후의 실적을 포함한 거래내용) 연체정보 등 신용도판단정보"}),(0,i.jsx)("li",{children:"제공목적 : 신용도 평가, 실명확인, 주민번호 대체키 발급 등"})]}),(0,i.jsx)("p",{children:"※ 이에 대한 동의가 없을 경우 거래관계의 설정 또는 유지가 불가능할 수 있음을 알려드립니다."})]}),(0,i.jsxs)("article",{children:[(0,i.jsxs)("ul",{children:[(0,i.jsx)("li",{children:"조회기관 : NICE평가정보(신용조회회사)"}),(0,i.jsx)("li",{children:"조회내용 : 식별정보(성명, 주소, 연락처, E-mail 등), 신용개설정보(대출/카드개설/신용거래개설 등), 연체정보 등 신용도판단정보, 신용등급 등"}),(0,i.jsx)("li",{children:"조회목적 : 상거래 설정/유지 및 채권추심을 위한 신용정보 조회"}),(0,i.jsx)("li",{children:"조회동의효력기간 : 동의서 제출 시부터 조회목적의 효력이 종료되는 시점"})]}),(0,i.jsx)("p",{children:"※ 이에 대한 동의가 없을 경우 거래관계의 설정 또는 유지가 불가능할 수 있음을 알려드립니다."})]})]}),sD&&(0,i.jsxs)(m.WZ,{className:"modal-contract-confirm modal-contract-sign",onClose:()=>{s_(!1),sS(!1)},onAction:()=>
1{if(sI.current.isEmpty()){(0,x.l)("submitAgreePrivateUserInfo","서명이 필요합니다.");return}sF(sI.current.toDataURL()),sp(!0),sS(!1),sx&&sN?sM(!0):!sN&&sT&&sk(!0),s_(!1)},maskClosable:!1,actionText:"서명 완료",cancelText:"취소",visible:sD,children:[(0,i.jsx)("h3",{children:"서명이 필요해요"}),(0,i.jsx)("p",{children:"개인(신용)정보 수집/제공 및 조회 동의서"}),(0,i.jsx)(d(),{ref:sI,canvasProps:{className:"signature-canvas",width:590,height:154},backgroundColor:"rgb(247,248,253)",clearOnResize:!1})]}),sP&&(0,i.jsxs)(m.nS,{className:"modal-contract-agree",onClose:()=>sk(!1),onAction:()=>{sC(!0),sk(!1),sx&&("Y"!==M.Supplier.PrivateCheck||sv)&&sM(!0)},actionText:"유의사항을 모두 확인했어요",visible:sP,title:"유의사항",children:[(0,i.jsx)("div",{className:"modal-jumbotron",children:(0,i.jsxs)("h3",{children:["계약을 요청하기 전에",(0,i.jsx)("br",{}),"꼭 확인해 주세요!"]})}),(0,i.jsxs)("article",{children:[(0,i.jsx)("h4",{children:"계약"}),(0,i.jsx)("h5",{children:"업체 안내사항"}),(0,i.jsxs)("ul",{children:[(0,i.jsx)("li",{children:"사고 발생 시, 면책금과 휴차 보상료가 발생할 수 있습니다."}),(0,i.jsx)("li",{children:"단독 사고, 휠/타이어, 중과실 사고 시에는 자차에 대한 보상이 적용이 불가할 수 있습니다."}),(0,i.jsx)("li",{children:"차량 계약자 외 제3자가 운전할 경우 보험 혜택을 받으실 수 없습니다."}),(0,i.jsx)("li",{children:"차량 반납 이후에는 보험이 적용되지 않으며 보험 계약이 자동 해지됩니다."}),(0,i.jsx)("li",{children:"자동차 보험의 정확한 보장 범위는 대여 시 작성하는 계약서를 기준으로 결정됩니다. 차량 대여 시 작성하는 계약서 내용을 반드시 확인해주세요."}),(0,i.jsx)("li",{children:"일체의 흡연 행위와 자동차 내부에 쓰레기 투기, 방치하는 행위 및 오염, 악취를 유발하는 행위는 금지됩니다."})]}),(0,i.jsx)("h5",{children:"반카 안내사항"}),(0,i.jsxs)("ul",{children:[(0,i.jsxs)("li",{children:["본 차량의 보험 적용 연령은 만 ",X&&M.extraPayFor21?23:26,"세 이상입니다."]}),(0,i.jsxs)("li",{children:["차량 중도해지시 위약율은 30% 입니다.",(0,i.jsx)("br",{}),"(잔여기간에 총 대여료X위약율)"]}),(0,i.jsx)("li",{children:"계약 요청 접수후, 24시간내(평일 기준) 해피콜을 통해 계약 진행 여부등을 확정하게됩니다."}),(0,i.jsx)("li",{children:"차량의 주행거리와 옵션 등 일부 정보는 실제 정보와 차이가 있을 수 있으니 출고 전 다시 한번 정확히 확인바랍니다."}),(0,i.jsx)("li",{children:"해당 차량의 정확한 출고 여부를 위해서는 공급업체의 확인이 필요합니다."}),(0,i.jsx)("li",{children:"월렌트의 경우 요청하신 렌터카 업체 사정에 따라 동급 차량이 배차될 수 있습니다."}),(0,i.jsx)("li",{children:"반카에서는 결제가 진행되지 않습니다. 업체 상담 후 안내된 결제 수단으로 결제를 부탁 드립니다."})]})]}),(0,i.jsxs)("article",{children:[(0,i.jsx)("h4",{children:"차량 정비 및 사고"}),(0,i.jsxs)("ul",{children:[(0,i.jsx)("li",{children:"차량 정비는 렌트카 업체의 규정에 따라야 하며 이를 이행하지 않았을 경우 서비스 이용이 제한됩니다."}),(0,i.jsx)("li",{children:"사고가 발생했을 경우 사고 상황을 즉시 렌트카 업체로 통보해야 하며 사고 처리는 렌트카 업체와의 계약 약관에 따라 진행됩니다."}),(0,i.jsx)("li",{children:"지정 정비공장 외 임의 수리 시 자차 처리 불가합니다."}),(0,i.jsx)("li",{children:"이를 위해 차량 대여 시 보험, 정비 등 렌트카 업체의 규정에 관한 내용 및 작성한 계약서의 내용을 반드시 숙지해야 합니다."})]})]}),(0,i.jsxs)("article",{children:[(0,i.jsx)("h4",{children:"탁송 비용 및 서비스"}),(0,i.jsx)("ul",{children:(0,i.jsx)("li",{children:"렌트카 업체의 차량 배달이 시작된 후 예약을 취소할 경우, 왕복 배달 비용이 발생합니다. 왕복 배달 비용은 업체마다 상이합니다."})})]}),(0,i.jsxs)("article",{children:[(0,i.jsx)("h4",{children:"계약 취소"}),(0,i.jsx)("ul",{children:(0,i.jsx)("li",{children:(null===(y=M.Supplier)||void 0===y?void 0:y.CancelPolicy)?(0,i.jsx)("div",{style:{whiteSpace:"pre-wrap"},dangerouslySetInnerHTML:{__html:(0,n.I)(null===(D=M.Supplier)||void 0===D?void 0:D.CancelPolicy)}}):"계약 확정 후 고객 단순 변심으로 계약을 취소하실 경우 취소 위약금이 발생될 수 있습니다."})})]}),(0,i.jsxs)("article",{children:[(0,i.jsx)("h4",{children:"반납/환불 정책"}),(0,i.jsx)("ul",{children:(null===(S=M.Supplier)||void 0===S?void 0:S.ReturnPolicy)?(0,i.jsx)("li",{children:(0,i.jsx)("div",{style:{whiteSpace:"pre-wrap"},dangerouslySetInnerHTML:{__html:(0,n.I)(null===(P=M.Supplier)||void 0===P?void 0:P.ReturnPolicy)}})}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("li",{children:"임차인의 사정으로 인한 대여차량 조기반납 시 남은기간에 대한 대여요금은 환불이 불가능 합니다."}),(0,i.jsx)("li",{children:"자세한 환불 규정은 계약서 혹은 업체 내규로 진행되고 있어 진행하신 업체로 문의해주세요."})]})})]})]}),sA&&(0,i.jsxs)(m.WZ,{className:"modal-contract-confirm",onClose:()=>sE(!1),onAction:sz,maskClosable:!1,actionText:"계약 요청",cancelText:"취소",visible:sA,children:[(0,i.jsx)("h3",{children:"계약을 요청할까요?"}),(0,i.jsx)("p",{children:"선택하신 정보로 계약 요청이 접수돼요"})]})]})}},42150:function(e,s,a){"use strict";var i=a(57437),n=a(22758);a(73954),s.Z=e=>{let s=s=>{let a=s.address,i="";"R"===s.addressType&&(""!==s.bname&&(i+=s.bname),""!==s.buildingName&&(i+=""!==i?", ".concat(s.buildingName):s.buildingName),a+=""!==i?" (".concat(i,")"):""),e.setPostData(s=>e.postData?{...s,Address:a}:a)};return(0,i.jsx)("div",{className:"address-modal"+(!0==e.popup?" active":""),onClick:s=>{e.handleComplete()},children:(0,i.jsx)(n.ZP,{className:"daumPopUp",autoClose:!0,onComplete:a=>{s(a),e.handleComplete()}})})}},69750:function(e,s,a){"use strict";let i;a.d(s,{I:function(){return r}});let n=()=>
1{if(void 0!==i)return i;try{let e=a(1872);i=e&&(e.default||e)||null}catch(e){i=null}return i},l=e=>e.replace(/<script[\s\S]*?<\/script\s*>/gi,"").replace(/\son\w+\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)/gi,"").replace(/javascript:/gi,""),r=e=>{if(null==e||""===e)return"";let s=String(e),a=n();if(a&&"function"==typeof a.sanitize)try{return a.sanitize(s)}catch(e){}return l(s)}},98277:function(){},59106:function(){},90710:function(){},47008:function(){},73954:function(){}}]);

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.