PageSourceSearch

https://safehomes.kr/_next/static/chunks/83388-d25f9237b1f5007d.js

js safehomes.kr collected 2026-10-01 15:06:46 UTC 10,497 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[83388],{83388:function(e,s,a){"use strict";a.r(s);var t=a(57437),r=a(84655);a(15375);var l=a(96624),n=a(77471),i=a(15220),c=a(67428),d=a(40089),o=a(62306),m=a(59036),h=a(58962),x=a(77398),u=a.n(x);a(2265);var g=a(36760),j=a.n(g),p=a(27589),f=a(90674);let _={new:{text:"발급완료",content:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"font-light-black",children:"발급 완료"}),(0,t.jsx)(n.default,{src:l.gf.arrow_right_more_gray,alt:""})]})},progress:{text:"계약진행",content:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"font-light-black",children:"계약 진행"}),(0,t.jsx)(n.default,{src:l.gf.arrow_right_more_gray,alt:""})]})},finish:{text:"계약성사",content:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"font-blue",children:"계약 성사"}),(0,t.jsx)(n.default,{src:l.qx.arrow_right_blue,alt:""})]})}},v={impossible:{class:"ty01",text:"부적격"},possible:{class:"ty04",text:"적격"},check:{class:"ty03",text:"조건부 적격"},none:{class:"gray",text:"해당 없음"},pending:{class:"gray",text:"확인중"}},N={danger:{class:"ty01",text:"진행 제한"},safe:{class:"ty04",text:"진행 가능"},warning:{class:"ty03",text:"조치 후 진행"},none:{class:"gray",text:"추가 확인 필요"},pending:{class:"gray",text:"확인중"}};s.default=({isHome:e=!1,needreportlive:s=!0})=>{let{data:a,ref:x,inView:g}=(0,m.W)({queryKey:["get-recent-report-live","not-loading"],queryFn:()=>(0,o.Fi)("get",`https://api.safehomes.kr/risk/contract-history?listNum=2&StartlistNum=0${e?"&is_homes=true":""}`),select:e=>e.data.data.result,interval:3e4,enabled:!!e&&!!s}),{data:{pages:y,pageParams:b,count:w},isFetchingNextPage:F,isFetching:M,fetchNextPage:C,hasNextPage:D}=(0,h.N)({queryKey:["get-recent-report-live-page","not-loading"],queryFn:({pageParam:e=0})=>(0,o.Fi)("get",`https://api.safehomes.kr/risk/contract-history?listNum=${(e+1)*10}&StartlistNum=${10*e}`),getNextPageParam:(e,s,a,t)=>e.data.data.count>10*s.length?a+1:void 0,select:e=>({pages:e.pages.flatMap(e=>e.data.data).flatMap(e=>e.result),pageParams:e.pageParams,count:e.pages[0].data.data.count}),refetchInterval:!!g&&3e4,enabled:!e,initialPageParam:0,placeholderData:{pages:[{data:{data:{result:[],count:0}}}],pageParams:[0]}}),{observerRef:P}=(0,i.Z)({threshold:.6,hasNextPage:D,isFetchingNextPage:F,isFetching:M,fetchNextPage:C}),{ChangeConfirmNotice:$}=(0,d.useModal)(),{MovePage:S}=(0,c.Z)(),H=e=>{let s="insurance"===e.category,a=s?"보증보험":"안심등기",r=s?v[e.result_category||"pending"]?.text??e.result_category:N[e.result_category]?.text??e.result_category,l={new:{title:"안심등기 발급 완료",text:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"p-wrap",children:(0,t.jsxs)("p",{children:[e.is_realtor?(0,t.jsxs)(t.Fragment,{children:["‘",e.user_name," 중개사’님"]}):(0,t.jsxs)(t.Fragment,{children:["‘",e.user_name," 임차인’"]}),"이 ",a,"를 발급받아 계약을 검토 중입니다."]})})})},progress:{title:"계약 진행",text:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"p-wrap",children:(0,t.jsxs)("p",{children:["‘",e.realtor_name," 중개사’님과 ‘",e.imchain_name," ","임차인’이 ",a,"를 공유하여 계약을 조율하고 있습니다."]})}),(0,t.jsxs)("table",{className:"common horizontal",children:[(0,t.jsx)("colgroup",{children:(0,t.jsx)("col",{width:100})}),(0,t.jsxs)("tbody",{children:[(0,t.jsxs)("tr",{children:[(0,t.jsxs)("th",{children:[a," 발급"]}),(0,t.jsx)("td",{children:(0,t.jsx)("span",{className:"font-black",children:u()(e.created_at).format("YY.MM.DD HH:mm")})})]}),(0,t.jsxs)("tr",{children:[(0,t.jsxs)("th",{children:[a," 결과"]}),(0,t.jsx)("td",{children:(0,t.jsx)("span",{className:"font-black",children:r})})]})]})]})]})},finish:{title:"계약 성사",text:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"p-wrap",children:(0,t.jsxs)("p",{children:["공유된 안심등기 결과를 바탕으로 ‘",e.imchain_name," ","임차인’과 ‘",e.realtor_name," 중개사’님의 계약이 성사되었습니다."]})}),(0,t.jsxs)("table",{className:"common horizontal",children:[(0,t.jsx)("colgroup",{children:(0,t.jsx)("col",{width:100})}),(0,t.jsxs)("tbody",{children:[(0,t.jsxs)("tr",{children:[(0,t.jsxs)("th",{children:[a," 발급"]}
1),(0,t.jsx)("td",{children:(0,t.jsx)("span",{className:"font-black",children:u()(e.created_at).format("YY.MM.DD HH:mm")})})]}),(0,t.jsxs)("tr",{children:[(0,t.jsxs)("th",{children:[a," 결과"]}),(0,t.jsx)("td",{children:(0,t.jsx)("span",{className:"font-black",children:r})})]})]})]})]})}};$({...l[e.contract_status],text:(0,t.jsxs)(t.Fragment,{children:[l[e.contract_status].text,e.realtor_data?.realtor_type&&e.realtor_data?.realtor_type.includes("partner")&&(0,t.jsx)("div",{className:"dashed ",children:(0,t.jsx)(k,{realtor_data:{...e.realtor_data,last_consult_at:e.last_consult_at},ChangeConfirmNotice:$})})]})})};return(0,t.jsxs)("div",{className:j()("report-live-list",!s&&"visible"),ref:x,children:[s&&(0,t.jsxs)(t.Fragment,{children:[e&&(0,t.jsxs)("div",{className:"title",children:[(0,t.jsx)("div",{className:"img",children:(0,t.jsx)(n.default,{src:l.vc.certi_mark,alt:""})}),(0,t.jsx)("div",{className:"main-text",children:"실시간 안심등기 현황"}),(0,t.jsx)("button",{className:"common-type02",onClick:()=>{S({href:"/report-live"})},children:"전체 보기"})]}),(0,t.jsx)("ul",{children:(e?a:y)?.map((s,a)=>{let r;let l=u()().diff(u()(s.created_at),"hours");if(l<24){if(l<1){let e=u()().diff(u()(s.created_at),"minutes");r=`${e}분 전`}else r=`${l}시간 전`}else r=u()(s.created_at).format("MM.DD a HH:mm");return t.jsxs("li",{children:[t.jsxs("div",{className:"f-1 "+(0===a&&e&&"active"),style:{maxWidth:"calc(100% - 100px)"},children:[0===a&&e&&t.jsx("div",{className:"status-dot"}),t.jsxs("div",{className:"content",children:[t.jsx("p",{children:s.summary_addr})," ",t.jsxs("small",{children:["보증금 ",o.KE(s.deposit)," \xb7 ",r]})]})]}),t.jsx("div",{className:"btn",onClick:()=>H(s),children:_[s.contract_status]?.content})]},`report-live-component-${s.created_at}`)})})]}),!e&&y.length<w&&(0,t.jsx)("div",{ref:P}),(0,t.jsxs)("nav",{className:"home-quick-links","aria-label":"주요 콘텐츠 페이지",children:[(0,t.jsx)(f.R,{placeholder:"신뢰와 기준",select_list:[{name:"부동산 계약 판단 인프라란",link:"/contract-decision-infrastructure"},{name:"Contract Decision OS 백서",link:"/research/contract-decision-os"},{name:"안심등기 Reason Code",link:"/reason-codes"},{name:"리스크 데이터 및 기준",link:"/data-sources"},{name:"Audit Log란",link:"/audit-log"},{name:"Safe Exit Protocol이란",link:"/safe-exit-protocol"},{name:"안심등기 구조",link:"/structure/ansimdeunggi"},{name:"계약 이전 리스크 확인",link:"/pre-contract-risk"},{name:"안심등기와 등기부등본의 차이",link:"/comparison/ansimdeunggi-vs-register"},{name:"안심등기와 전세보증보험의 차이",link:"/comparison/ansimdeunggi-vs-jeonse-guarantee"},{name:"Contract Decision OS와 AVM",link:"/comparison/contract-decision-os-vs-avm"},{name:"금융권 협업",link:"/financial-partnerships"},{name:"세이프홈즈 투자자 정보",link:"/investors"},{name:"계약 이전 판단 시장은 왜 필요한가",link:"/market/contract-decision-os"},{name:"금융형 AVM이란",link:"/financial-avm"},{name:"회사 소개",link:"/company"}],selected:(0,t.jsxs)("span",{className:"toggle",children:["신뢰와 기준",(0,t.jsx)(r.Z,{color:"#999",width:5})]}),select:e=>{S({href:e.link})},link:!0}),(0,t.jsx)("span",{className:"divider","aria-hidden":"true"}),(0,t.jsx)(p.default,{href:"/insights",children:(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"absol",children:"인사이트"}),"부동산 핵심 정보"]})})]})]})};let k=({realtor_data:e,ChangeConfirmNotice:s})=>{let{MovePage:a}=(0,c.Z)(),r=e.sub_data.review_cnt>0?e.sub_data?.first_review?.review_data[0]:null;return(0,t.jsxs)("div",{className:"realtor-profile-card ",children:[(0,t.jsxs)("div",{className:"flex-row left start g-20 false",onClick:()=>{let s=e.juso.split(" ").slice(0,2);s[0].endsWith("시")?s[0].slice(0,2):s[0]},children:[(0,t.jsx)("div",{className:`img prw ${!e.profile_img&&"empty"}`,children:e.profile_img&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(n.default,{src:e.profile_img,className:"profile",alt:""})})}),(0,t.jsxs)("p",{children:[(0,t.jsxs)("div",{className:"flex-row left",children:[e?.is_sticker_check&&(0,t.jsx)("div",{className:"certi-badge",children:(0,t.jsx)(n.default,{src:l.L_.certi_y,alt:"",className:"badge-icon"})}),e.realtor_name,"\xa0",["대표"].includes(e?.division)?"공인중개사":e?.division]}),(0,t.jsxs)("div",{className:"juso",children:[(0,t.jsx)(n.default,{src:l.pY.location_grayish,alt:""}),(0,t.jsx)("small",{className:"",children:e.juso})]}),(0,t.jsxs)("div",{className:"realtor-detail-box",children:[(0,t.jsx)("span",{className:"realtor-status",children:"안심온도"}),e?.safety_temperature&&(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:j()("temp-display",{high:e?.safety_temperature>39,low:e?.safety_temperature<36}),children:[(0,t.jsxs)("span",{className:"temp-value",children:[String(e?.safety_temperature).slice(0,4),"\xb0C"]}),(0,t.jsxs)("div",{className:"temp-gauge",children:[(0,t.jsx)("div",{className:"gauge-bg"}),(0,t.jsx)("div",{className:"gauge-fill",style:{width:`${e?.safety_temperature}%`}})]})]})})]})]})]}
1),r?(0,t.jsxs)("div",{className:"review-box mt15",children:[(0,t.jsxs)("div",{className:"review-meta",children:[(0,t.jsxs)("span",{className:"font-light-black ",children:["'",r.customer_phone.replace(/^(\d{3})\d+(\d{4})$/,"$1-****-$2"),"'님의 상담 후기"]}),(0,t.jsx)("span",{className:"font-light-gray",children:u()(r.created_at).format("YY.MM.DD")})]}),(0,t.jsx)("p",{className:"review-text",dangerouslySetInnerHTML:{__html:r.review}})]}):""]})}},59036:function(e,s,a){"use strict";a.d(s,{W:function(){return l}});var t=a(2265),r=a(71632);function l(e){let{interval:s=3e4,rootMargin:a="200px",refetchOnVisible:l=!1,...n}=e,[i,c]=(0,t.useState)(null),[d,o]=(0,t.useState)(!1),m=(0,t.useCallback)(e=>c(e),[]);(0,t.useEffect)(()=>{if(!i)return;let e=new IntersectionObserver(([e])=>o(e.isIntersecting),{rootMargin:a});return e.observe(i),()=>e.disconnect()},[i,a]);let h=(0,r.a)({...n,refetchInterval:!!d&&s}),{refetch:x}=h;return(0,t.useEffect)(()=>{l&&d&&x()},[d,l,x]),{...h,ref:m,inView:d}}},15375: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.