PageSourceSearch

https://safehomes.kr/_next/static/chunks/49144.76a16fb9fd60f21b.js

js safehomes.kr collected 2026-09-24 11:46:55 UTC 3,478 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[49144],{49144:function(e,t,r){r.r(t);var s=r(57437),a=r(77471),n=r(41247),l=r(40089),i=r(62306),o=r(21770),c=r(2265),u=r(96624),d=r(68575),m=r(67428),h=r(22007),p=r(28935),x=r(66796);t.default=({is_shared:e,is_realtor:t,iros_update:r,id:g=null,insur:_})=>{let f=(0,d.v9)(e=>e.insurStore),j=(0,d.v9)(e=>e.commonStore),k=j.isRealtor,N=_||f.general,[b,F]=(0,c.useState)(null),{MovePage:y}=(0,m.Z)(),C=(0,d.I0)(),{external_url:v}=(0,x.Z)(),{mutate:S}=(0,o.D)({mutationKey:["share-realtor-to-customer"],mutationFn:e=>(0,i.Fi)("post",`https://api.safehomes.kr/insure/realtor/${N.id}`,{category:"share_realtor_to_customer",phone:e}),onSuccess:e=>{if(e.data.error)E({title:e.data.error});else{let{chat_id:t}=e.data.data;E(null),F(null),y({href:`/chat/${t||"list"}`})}}}),{mutate:w}=(0,o.D)({mutationKey:["change-insur-to-report"],mutationFn:()=>(0,i.Fi)("post","https://api.safehomes.kr/insure/change-report",{insure_id:N.id}),onSuccess:e=>{e.data.error?E({title:e.data.error}):y({href:`/my-shopping/report/loading?report_id=${e.data.data.risk_id}&shared_insur=true`})}}),{mutate:$}=(0,o.D)({mutationKey:["post-risk-free-check-from-insur"],mutationFn:e=>(0,i.Fi)("post","https://api.safehomes.kr/insure/preview",e),onSuccess:e=>{let t=e.data.data;C((0,h.CH)({general:{...t,insure_id:N.id}})),window.localStorage.product_data=JSON.stringify({...t,current_data:"report",insure_id:N.id}),y({href:j.isPC?"/pc/payment/module/report":`/payment/report/${t.id}`,is_login:!0})},onError:e=>{let t=e&&e.response&&e.response.data.error;(0,p.e)(E,t,v)}}),{ChangeConfirmNotice:E}=(0,l.useModal)();return(0,c.useEffect)(()=>{b?.endsWith("done")?setTimeout(()=>{E(null),F(null)},5e3):null!==b&&E({title:"보증보험 정밀진단 공유",text:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{className:"text-content",children:"공유할 임차인의 휴대폰번호를 입력해 주세요"}),(0,s.jsx)(n.Z,{value:b.slice(0,13),onChange:e=>{F(null===e?"":(0,i.HU)(e))},label:"임차인 연락처",placeholder:"휴대폰번호 입력",maxLength:13})]}),buttons:[{text:"확인",className:`basic ${13===b.length?"blue":"gray"}`,onClick:()=>{"string"==typeof b&&13===b.length&&S(b.replaceAll("-",""))}}],onClose:()=>F(null)})},[b]),t&&!e&&(0,s.jsxs)(s.Fragment,{children:[b?.endsWith("done")&&(0,s.jsx)("div",{className:"full-screen",onClick:()=>{E(null),F(null)},children:(0,s.jsxs)("div",{className:"result-comment",children:[(0,s.jsx)(a.default,{src:u.pY.check_circle_green,alt:"",className:"check-circle"}),"보증보험 정밀진단 전달 완료"]})}),(0,s.jsx)("div",{className:"Page-btn flex-row",children:t&&!e?(0,s.jsx)("button",{className:"basic blue",onClick:()=>{k.realtor_admin_check?F(""):E({title:k.business_card?(0,s.jsx)(s.Fragment,{children:"중개사 인증 진행중"}):(0,s.jsx)(s.Fragment,{children:"파트너 인증 후 이용해주세요."}),text:k.business_card?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{className:"text-content mt20",children:"등록하신 명함을 확인하고 있습니다."}),(0,s.jsx)("p",{className:"text-content mt20",children:"인증은 영업일 기준 1일 이내에 완료되며, 주말 및 공휴일에는 최대 3일까지 소요될 수 있습니다."})]}):(0,s.jsx)("p",{className:"text-content mt20",children:"임차인 공유 기능은 안심등기 중개사에게만 제공됩니다."})})},children:"고객에게 안심보내기"}):!!t&&(0,s.jsx)(s.Fragment,{})})]})}}}]);

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.