PageSourceSearch

https://safehomes.kr/_next/static/chunks/39011.d0d6b6150a18ef42.js

js safehomes.kr collected 2026-09-24 11:46:35 UTC 6,352 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39011],{39011:function(e,s,a){var l=a(57437),r=a(96624),t=a(44027),c=a(77471),i=a(51063),n=a(67428),o=a(40089),d=a(40106),u=a(19608),m=a(99376),h=a(2265),_=a(68575);let p={danger:"#BD2C0F",safe:"var(--main-color)",warning:"#F0932B",check:"#868E96"},x=e=>{let s=(0,d.kc)(e);return{impossible:{class:s.danger.subClass,text:s.danger.display,color:s.danger.color??p.danger},possible:{class:s.safe.subClass,text:s.safe.display,color:s.safe.color??p.safe},check:{class:s.warning.subClass,text:s.warning.display,color:s.warning.color??p.warning},check01:{class:s.warning.subClass,text:"정밀진단 필요",color:s.warning.color??p.warning},none:{class:"gray",text:"해당 없음",color:s.check.color??p.check},pending:{class:"gray",text:s.check.display,color:s.check.color??p.check}}};s.Z=({insur_data:e,is_example:s,set_tab:a,version:d})=>{let p=x(d),f=(0,_.v9)(e=>e.commonStore),{ChangeContextMenu:g,set_file_url:j}=(0,o.useModal)(),{MovePage:b}=(0,n.Z)(),k=!!f.isPC,[y,N]=(0,h.useState)(!1),v=(0,m.useSearchParams)().get("report_id");(0,h.useEffect)(()=>{N(!1)},[]),(0,i.F)(()=>{C(!0)},!f.isRealtor&&e?.is_origin_user&&(!e.is_have_home||!e.is_home)&&!y&&!(v&&Number(v)));let{gotoHome:w}=(0,u.u)({insur_data:e,isPC:k,is_realtor:!!f.isRealtor}),C=(e=!1)=>{e&&N(!0),w()};return(0,l.jsx)("div",{className:"button-wrap mb20 "+(k||"mt30"),children:(0,l.jsxs)("ul",{className:"flex-col",children:[(0,l.jsxs)("li",{className:" click",onClick:()=>{a?a("pdf"):k?window.open(`${location.href}${location.search?"&":"?"}c=pdf&pdf=insur_detail&r=insur`,"_blank"):b({href:location.search+(location.search?"&":"?")+"c=pdf&pdf=insur_detail"})},children:[(0,l.jsx)("div",{className:"img",children:(0,l.jsx)(c.default,{src:r.gf.pdf,alt:"",style:{width:"15px"}})}),(0,l.jsxs)("p",{children:["보증보험 ",(0,l.jsx)("span",{className:"font-blue text-medium",children:"요약 문서"})," ","다운로드"]}),(0,l.jsx)(c.default,{src:r.qx.arrow_more,alt:""})]}),s||(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("li",{className:"click",onClick:s=>{let a=s.currentTarget.getBoundingClientRect();g({top:Math.max(a.top-20,70)+"px",left:k?a.left+a.width+"px":null,buttons:[e.base_data.iros_copy_url&&{button:(0,l.jsx)("button",{className:"small",children:"등기부등본"}),onClick:()=>{j(e.base_data.iros_copy_url),g(null)}},e.base_data.bld_info_copy_url&&{button:(0,l.jsxs)("button",{className:"small",children:["건축물대장",!!f.isRealtor&&e.base_data?.pyojebu_issue==="success"&&"(전유부)"]}),onClick:()=>{j(e.base_data.bld_info_copy_url),g(null)}},!!f.isRealtor&&e.base_data.pyojebu_info_copy_url&&{button:(0,l.jsx)("button",{className:"small",children:"건축물대장(표제부)"}),onClick:()=>{j(e.base_data.pyojebu_info_copy_url),g(null)}},e.base_data.ground_iros_copy_url&&{button:(0,l.jsx)("button",{className:"small",children:"토지 등기부등본"}),onClick:()=>{j(e.base_data.ground_iros_copy_url),g(null)}}].filter(Boolean)})},children:[(0,l.jsx)("div",{className:"img",children:(0,l.jsx)(c.default,{src:r.gf.doc,alt:"",style:{width:"15px"}})}),(0,l.jsx)("p",{children:"공적장부 열람"}),(0,l.jsxs)("button",{className:"extra",children:[(0,l.jsx)("div",{className:"dot"}),(0,l.jsx)("div",{className:"dot"}),(0,l.jsx)("div",{className:"dot"})]})]}),(0,l.jsxs)("div",{className:"flex-row",style:{gap:"15px"},children:[(0,l.jsxs)("li",{className:"click",onClick:()=>{b({href:k?"/pc/insurance-check/overview":"/insurance-check/overview"})},children:[(0,l.jsxs)("p",{children:["보증보험 개요",(0,l.jsx)("small",{className:"gray",children:"HUG\xb7HF\xb7SGI"})]}),(0,l.jsx)(c.default,{src:r.qx.arrow_more,alt:"",style:{transform:"translateY(-100%)"}})]}),(0,l.jsxs)("li",{className:"click",onClick:()=>{b({href:k?"/pc/insurance-check/overview/special-agreement":"/insurance-check/overview/special-agreement"})},children:[(0,l.jsxs)("p",{children:["보증보험 특약",(0,l.jsx)("small",{className:"gray",children:"추천특약 10건"})]}),(0,l.jsx)(c.default,{src:r.qx.arrow_more,alt:"",style:{transform:"translateY(-100%)"}})]})]})]}),e?.is_origin_user&&!f.isRealtor&&(!e.is_have_home||!e.is_home)&&(0,l.jsxs)("li",{className:" click",onClick:()=>{C()},children:[(0,l.jsx)("div",{className:"img",children:(0,l.jsx)(t.Z,{color:(p[e.result_category]||p.pending).color,width:15})}),(0,l.jsx)("p",{children:"무료 등기 변동 감지 시작"}),(0,l.jsx)(c.default,{src:r.qx.arrow_more,alt:""})]})]})})}},19608:function(e,s,a){a.d(s,{u:function(){return m}});var l=a(57437),r=a(29827),t=a(21770),c=a(62306),i=a(67428),n=a(40089),o=a(88055);let d=["my-home"],u=e=>["get-pro-insur-data",String(e)];function m({risk_data:e,insur_data:s,isPC:a=!1,is_realtor:m=!1,onDone:h=()=>{}}){let _=(0,r.NL)(),{MovePage:p}=(0,i.Z)(),{ChangeConfirmNotice:x,Set_MyHomeContractDate:f}=(0,n.useModal)(),{mutate:g}=(0,t.D)({mutationKey:["home-registration","risk"],mutationFn:a=>(0,c.Fi)(e?"patch":"post",e?`https://api.safehomes.kr/risk/home/${e?.id}`:`https://api.safehomes.kr/insure/home/${s?.id}`,{category:"home",...a||{}}),onMutate(){x(null)},onSuccess(a){a.data.error||(_.invalidateQueries({queryKey:d,refetchType:"all"}
1),e&&_.invalidateQueries({queryKey:(0,o.d)(e.id)}),s&&_.invalidateQueries({queryKey:u(s?.id)}),h(),p({href:"/dashboard",is_login:!0}))}}),j=()=>x({title:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"font-blue",children:"우리 집 관리"}),"는 모바일 앱 전용 서비스입니다."]}),text:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",{className:"detail-comment mt25",children:"안심등기 발급 후 우리집으로 등록하면 계약 기간 동안 등기부등본 변동을 자동 감지하여 알림을 제공합니다."}),(0,l.jsx)("p",{className:"detail-comment mt15",children:"QR 코드를 스캔하여 앱에서 이용하세요."}),(0,l.jsx)("div",{className:"app-qrcode mt40"})]}),buttons:[{text:"닫기",className:"gray",onClick:()=>{},close:!0}]}),b=e?.home_data||s,k=(()=>{let a=e?.user_data||s?.base_data;return!!(a?.contract_duedate||a?.start_contract&&a?.end_contract)})(),y=e=>{if(a){j();return}g(e)};return{gotoHome:()=>{if(!m){if(a){j();return}if(!(b?.is_have_home&&b?.is_home)){if(!k){x(null),f({skip_save:!0,start_contract:"",end_contract:"",confirm_label:"내 부동산 등록",onSuccess:e=>y(e)});return}y()}}},registerHome:y}}}}]);

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.