1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[62903,63333,96903],{10862:function(s,e,a){var l=a(57437),t=a(77471),n=a(40089),i=a(96624),r=a(29620),d=a(68575);e.Z=({data:s})=>{let e=(0,d.v9)(s=>s.commonStore).isPC,a=!s.is_shared&&!s.is_dasaedae&&!s.debt_prior_tenant,c=s?.is_realtor_price,o=!s?.is_report&&s?.is_pay,{Set_SeniorModal:u}=(0,n.useModal)(),{updateModal:m}=(0,r.useUpdateModal)();return(a||c)&&(e?(0,l.jsx)("div",{className:"extra-box mt25",style:{padding:"15px 20px"},children:(0,l.jsxs)("div",{className:"flex-row left",children:[(0,l.jsx)(t.default,{src:i.qx.alert_555,alt:""}),(0,l.jsx)("span",{children:"ì íí ë¶ìì ìí´ ì ìì ë³´ì¦ê¸ì ì
ë ¥í´ ì£¼ì¸ì"})]})}):(0,l.jsxs)("div",{className:`top-alert-comment ${s.is_report||s.is_pay||"mt30"} ${o&&"insur_pro"}`,children:[a&&(0,l.jsxs)("div",{className:`red-box ${s.is_pay?"":"mt10"}`,onClick:()=>{s.is_report?u({id:s.id,is_pay:s.is_pay,is_pc:e}):m({id:s.id,free_insure_id:s.free_insure_id,category:"prior_tenant",name:"debt_prior_tenant",is_payed:s.is_pay})},children:[(0,l.jsx)("span",{className:"",children:"ì íí ë¶ìì ìí´ ì ìì ë³´ì¦ê¸ì ì
ë ¥í´ ì£¼ì¸ì"}),(0,l.jsxs)("button",{children:[" ",(0,l.jsx)(t.default,{src:i.qx.arrow_more_red,alt:""})]})]}),c&&(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"top-alert-comment-c flex-row left",children:[(0,l.jsx)(t.default,{src:i.qx.rounded_alert_dark_gray,width:16,height:16,alt:""}),(0,l.jsx)("span",{children:"í´ë¹ ê²°ê³¼ë ë´ë¹ì¤ê°ì¬ê° ì
ë ¥í ìì¸ë¥¼ 기ì¤ì¼ë¡ ë¶ìí©ëë¤, ì
ë ¥ë ìì¸ë ì¤ì ì ë¤ë¥¼ ì ììµëë¤"})]})})]}))}},28768:function(s,e,a){a.r(e),a.d(e,{default:function(){return p}});var l=a(57437),t=a(96624),n=a(77471),i=a(40089),r=a(62306),d=a(29827),c=a(21770),o=a(99376),u=a(36760),m=a.n(u);a(43819);var _=a(2265),h=a(68575),x=a(67428),g=a(10862);let j={danger:{content:"ìí",class:"font-red",sub_class:"ty01",title:(0,l.jsxs)(l.Fragment,{children:["ë¶ì ê²°ê³¼ : ",(0,l.jsx)("span",{className:"font-red text-bold",children:"ìí ìì ë°ê²¬"})]}),gradient:"linear-gradient(to bottom,rgba(235, 199, 198, 0.2) 30%,#fff 50%)",img:t.WP.redLight,icon:t.WP.redCheck},check:{content:"íì¸ì¤",class:"font-gray",sub_class:"ty02",title:(0,l.jsxs)(l.Fragment,{children:["ë°ì´í° ",(0,l.jsx)("span",{className:"font-gray text-bold",children:"íì¸ ì¤"})]}),gradient:"linear-gradient(to bottom,rgba(134, 142, 150, 0.2) 30%,#fff 50%)",img:t.WP.nonLight,icon:t.WP.nonCheck},warning:{content:"íì¸íì",class:"font-yellow",sub_class:"ty03",title:(0,l.jsxs)(l.Fragment,{children:["ë¶ì ê²°ê³¼ : ",(0,l.jsx)("span",{className:"font-yellow text-bold",children:"íì¸ íì"})]}),gradient:"linear-gradient(to bottom,rgba(245, 204, 143, 0.2) 30%,#fff 50%)",img:t.WP.yellowLight,icon:t.WP.yellowCheck},safe:{content:"ìì ",class:"font-green",sub_class:"ty04",title:(0,l.jsxs)(l.Fragment,{children:["ë¶ì ê²°ê³¼ : ",(0,l.jsx)("span",{className:"font-green text-bold",children:"ìì "})]}),gradient:"linear-gradient(to bottom,rgba(139, 178, 170, 0.2) 30%,#fff 50%)",img:t.WP.greenLight,icon:t.WP.greenCheck}};function p({risk_data:s,is_shared:e}){let a=(0,h.v9)(s=>s.commonStore),[t,n]=(0,_.useState)(null);return(0,_.useEffect)(()=>{if(s){let e=s.result_data.result_category;e.includes("ìí")?n(j.danger):e.includes("ìì ")?n(j.safe):e.includes("주ì")?n(j.warning):n(j.check)}},[s]),t&&(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{id:"ExtraResultPage",className:"Page-Wrap Use-Head Page-Diagnosis",children:[(0,l.jsx)(g.Z,{data:{id:s.id,is_realtor_price:null,is_dasaedae:s?.user_data?.is_dasaedae,debt_prior_tenant:s?.user_data?.debt_prior_tenant,is_report:!0,is_pay:"Y",is_shared:!1}}),(0,l.jsx)(b,{risk_data:s,is_shared:e}),(0,l.jsx)(f,{risk_status:t,risk_data:s,is_shared:e,commonStore:a})]})})}function b({risk_data:s,is_shared:e}){let a=(0,d.NL)();(0,h.v9)(s=>s.commonStore);let{MovePage:o}=(0,x.Z)(),{ChangeConfirmNotice:u,Set_SeniorModal:m}=(0,i.useModal)(),{mutate:_}=(0,c.D)({mutationKey:["home-registration"],mutationFn:s=>(0,r.Fi)("post","https://api.safehomes.kr/risk/home",s),onSuccess(s,e,l){a.invalidateQueries({queryKey:["my-home"],refetchType:"all"}),o({href:"/woori/dashboard",is_login:!0})},onMutate(s){u(null)}});return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:"info-card",children:(0,l.jsxs)("details",{children:[(0,l.jsxs)("summary",{children:[(0,l.jsx)("div",{children:"기본 ì ë³´"}),(0,l.jsx)("span",{className:"line-spacer"})]}),(0,l.jsxs)("div",{className:"details-content",children:[(0,l.jsx)("div",{className:"address-display",children:s.user_data.summary_addr}),(0,l.jsxs)("dl",{className:"info-list mt30",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("dt",{children:"ë³´ì¦ê¸"}),(0,l.jsx)("dd",{children:(0,r.KE)(s.user_data.deposit)})]}),!s.user_data.is_dasaedae&&(0,l.jsxs)("div",{children:[(0,l.jsxs)("dt",{className:"flex",children:["ì ìì ë³´ì¦ê¸",(0,l.jsx)(n.default,{className:"click",
1src:t.T_.info,alt:"",onClick:()=>{u({title:"ì ìì ì±ê¶",text:(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("p",{className:"detail-comment mt30",children:"ë¤ê°êµ¬ 주í ë±ìì, 본ì¸ë³´ë¤ 먼ì ì ì
ì ê³ ë¥¼ ë§ì³ ëíë ¥ì ê°ì¶ ë¤ë¥¸ ì¸ì
ìë¤ì ë³´ì¦ê¸ ì´ì¡ì ì미í©ëë¤. ì´ë 주í 경매 ì 'ì ìì ì±ê¶'ì í¬í¨ëì´, ëì ë³´ì¦ê¸ë³´ë¤ ë³ì ììê° ìì¤ ì ììµëë¤."})})})}})]}),(0,l.jsxs)("dd",{className:s.user_data.debt_prior_tenant?"flex visible":"flex none",children:[s.user_data.debt_prior_tenant?(0,r.KE)(s.user_data.debt_prior_tenant):e?"-":(0,l.jsx)("span",{className:"click red",onClick:()=>m({id:s.id,is_pay:"Y"}),children:"미ì
ë ¥"}),!e&&s.user_data.debt_prior_tenant&&s.user_data.debt_prior_tenant==s.user_data.origin_debt_prior_tenant&&(0,l.jsx)("span",{className:"click",onClick:()=>m({id:s.id,is_pay:"Y"}),children:"ë³ê²½"})]})]}),"ê³ì½ ì¤"==s.user_data.contract_status&&(0,l.jsxs)("div",{children:[(0,l.jsx)("dt",{children:"ë³´ì¦ë³´í"}),(0,l.jsx)("dd",{className:s.user_data.insurance_check?" visible":" none",children:s.user_data.insurance_check?"Y"==s.user_data.insurance_check?"ê°ì
":"미ê°ì
":"미ì
ë ¥"})]})]}),s.home_data.is_possible_home&&(0,l.jsx)("button",{className:"basic light-blue small mt40",onClick:()=>{u({title:(0,l.jsxs)(l.Fragment,{children:[s.bld_iros_result_data.jibun_address," 를 ì°ë¦¬ ì§ì¼ë¡ ë±ë¡íìê² ì´ì?"]}),text:s.home_data.is_have_home?(0,l.jsx)("p",{className:"detail-comment mt30",children:"기존ì ë±ë¡ë ì°ë¦¬ ì§ì ìì ëë©° 복구í ì ììµëë¤"}):"",buttons:[{className:"gray",text:"ì·¨ì",onClick:()=>u(null)},{className:"blue",text:"ë±ë¡",onClick:()=>_({is_pay:"Y",risk_id:s.id})}].filter(Boolean)})},children:"ì°ë¦¬ì§ì¼ë¡ ë±ë¡"})]})]})})})}function f({risk_status:s,risk_data:e,is_shared:a,commonStore:u}){(0,h.v9)(s=>s.reportStore);let _=(0,o.useRouter)(),g=e.result_data.result_list,p=Object.values(e.check_list_data).filter(s=>"N"==s||null==s).length;JSON.parse(localStorage?.homes||"{}");let{MovePage:b}=(0,x.Z)(),{ChangeConfirmNotice:f}=(0,i.useModal)(),N=(0,d.NL)(),{mutate:y}=(0,c.D)({mutationKey:["home-registration"],mutationFn:s=>(0,r.Fi)("post","https://api.safehomes.kr/risk/home",s),onSuccess(s,e,a){N.invalidateQueries({queryKey:["my-home"],refetchType:"all"}),b({href:"/woori/dashboard",is_login:!0})},onMutate(s){f(null)}});return(0,l.jsxs)("div",{className:"diagnosis-result ",children:[(0,l.jsxs)("div",{className:"result-light",style:{background:s.gradient},children:[(0,l.jsx)("div",{className:"light-img",children:(0,l.jsx)(n.default,{src:s.img,alt:""})}),(0,l.jsxs)("div",{className:"light-txt",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{children:s.title}),"ê³ì½ ì¤"==e.user_data.contract_status&&"ty02"!=s.sub_class&&(0,l.jsx)("p",{className:"after",children:"í ìì 기ì¤"})]}),e.result_data.result_comment.map((s,e)=>(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:s}},e))]})]}),(0,l.jsxs)("ul",{className:"result-list",children:[(0,l.jsxs)("li",{onClick:()=>{_.push("?c=deposit")},children:[(0,l.jsxs)("div",{className:"category",children:["ë³´ì¦ê¸\xb7ìì¸",(0,l.jsx)("span",{className:j[g[0]].class,children:j[g[0]].content})]}),(0,l.jsx)("div",{className:m()("img",j[g[0]].sub_class),children:(0,l.jsx)(n.default,{src:j[g[0]].icon,alt:""})})]}),(0,l.jsxs)("li",{onClick:()=>{_.push("?c=owner")},children:[(0,l.jsxs)("div",{className:"category",children:["ìëì¸",(0,l.jsx)("span",{className:j[g[1]].class,children:j[g[1]].content})]}),(0,l.jsx)("div",{className:m()("img",j[g[1]].sub_class),children:(0,l.jsx)(n.default,{src:j[g[1]].icon,alt:""})})]}),(0,l.jsxs)("li",{onClick:()=>{_.push("?c=building")},children:[(0,l.jsxs)("div",{className:"category",children:["ë±ê¸°\xb7ê±´ì¶ë¬¼",(0,l.jsx)("span",{className:j[g[2]].class,children:j[g[2]].content})]}),(0,l.jsx)("div",{className:m()("img",j[g[2]].sub_class),children:(0,l.jsx)(n.default,{src:j[g[2]].icon,alt:""})})]}),(0,l.jsxs)("li",{onClick:()=>{_.push("?c=caution")},children:[(0,l.jsx)("div",{className:"category font-light-black",children:"ê³ì½ ì¤"==e.user_data.contract_status?"ìí©ë³ ëìê°ì´ë":(0,l.jsxs)(l.Fragment,{children:["ê³ì½ 주ìì¬í",p>0&&(0,l.jsxs)("span",{className:j.warning.class,children:[p,"ê±´"]})]})}),p>0&&"ê³ì½ ì "==e.user_data.contract_status&&(0,l.jsx)("div",{className:m()("img",j.warning.sub_class),children:(0,l.jsx)(n.default,{src:t.WP.infoCheck,alt:""})})]})]}),(0,l.jsxs)("div",{className:"Page-btn flex-row",children:[!a&&e.home_data.is_possible_home&&(0,l.jsx)("button",{className:"basic light-blue",onClick:()=>{f({title:(0,l.jsxs)(l.Fragment,{children:[e.bld_iros_result_data.jibun_address," 를 ì°ë¦¬ ì§ì¼ë¡ ë±ë¡íìê² ì´ì?"]}),text:e.home_data.is_have_home?(0,l.jsx)("p",{className:"detail-comment mt30",children:"기존ì ë±ë¡ë ì°ë¦¬ ì§ì ìì ëë©° 복구í ì ììµëë¤"}):"",buttons:[{className:"gray",text:"ì·¨ì",onClick:()=>f(null)},{className:"blue",text:"ë±ë¡",onClick:()=>y({is_pay:"Y",risk_id:e.id})}
1].filter(Boolean)})},children:"ì°ë¦¬ì§ì¼ë¡ ë±ë¡"}),(0,l.jsxs)("button",{className:m()("basic",{"light-blue":!0}),onClick:()=>_.push("?c=pdf"),children:["ì 체리í¬í¸",(0,l.jsx)("small",{className:"gray",children:"PDF"})]})]})]})}},63333:function(s,e,a){a.d(e,{OL:function(){return i}});var l=a(39129);let t={addr:{unique:"",kind:"",address:"",short_addr:"",is_dasaedae:!0,floor:"0",floor_id:null,is_underground:!1,rn:null,buldMnnm:null,buldSlno:null,bld_data:{bjdongCd:null,bjdongNm:null,bldNm:null,bldrgstCurdiGbCd:null,bldrgstSeqno:null,blprtYn:null,hoNm:null,mjrfmlyYn:null,mnnm:null,multiUseBldYn:null,ownrYn:null,platGbCd:null,plplanIncYn:null,regstrGbCd:null,regstrKindCd:null,regstrKindNm:null,rntybrhsYn:null,sigunguCd:null,sigunguNm:null,slno:null,totArea:null,untClsfCd:null,upperBldrgstSeqno:null}},deposit:"0",rent_price:null},n=(0,l.oM)({name:"insur",initialState:t,reducers:{updateInsurStore:(s,e)=>s={...s,...e.payload},resetInsurStore:(s,e)=>t}}),{updateInsurStore:i,resetInsurStore:r}=n.actions;e.ZP=n.reducer}}]);
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.