PageSourceSearch

https://www.apartsearcher.ai/_next/static/chunks/pages/consultations/payment/success-aad683a4de5b41fe.js

js apartsearcher.ai collected 2026-10-05 15:14:30 UTC 11,914 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6493],{26052:function(n,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consultations/payment/success",function(){return e(52626)}])},52626:function(n,t,e){"use strict";e.r(t);var r=e(82729),o=e(85893),i=e(67294),a=e(10166),s=e(11163),c=e(76960),l=e(27817),u=e(56419),d=e(12983),p=e(81566),m=e(54982);function x(){let n=(0,r._)(["\n  min-height: 100vh;\n  background: #f8fafc;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  padding: 20px;\n"]);return x=function(){return n},n}function f(){let n=(0,r._)(["\n  background: #fff;\n  border-radius: 24px;\n  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);\n  padding: 48px 40px;\n  max-width: 480px;\n  width: 100%;\n  text-align: center;\n  @media (max-width: 600px) {\n    padding: 32px 24px;\n  }\n"]);return f=function(){return n},n}function g(){let n=(0,r._)(["\n  font-size: 4rem;\n  margin-bottom: 24px;\n  animation: pulse 2s infinite;\n\n  @keyframes pulse {\n    0%, 100% {\n      opacity: 1;\n    }\n    50% {\n      opacity: 0.5;\n    }\n  }\n"]);return g=function(){return n},n}function h(){let n=(0,r._)(["\n  font-size: 4rem;\n  margin-bottom: 24px;\n"]);return h=function(){return n},n}function j(){let n=(0,r._)(["\n  font-size: 4rem;\n  margin-bottom: 24px;\n"]);return j=function(){return n},n}function y(){let n=(0,r._)(["\n  font-size: 1.8rem;\n  font-weight: 700;\n  color: #1a202c;\n  margin-bottom: 16px;\n"]);return y=function(){return n},n}function _(){let n=(0,r._)(["\n  font-size: 1rem;\n  color: #64748b;\n  line-height: 1.6;\n  margin-bottom: 32px;\n"]);return _=function(){return n},n}function b(){let n=(0,r._)(["\n  background: #f8fafc;\n  border-radius: 16px;\n  padding: 24px;\n  margin-bottom: 32px;\n  text-align: left;\n"]);return b=function(){return n},n}function w(){let n=(0,r._)(["\n  font-size: 1.1rem;\n  font-weight: 600;\n  color: #334155;\n  margin-bottom: 16px;\n"]);return w=function(){return n},n}function k(){let n=(0,r._)(["\n  list-style: none;\n  padding: 0;\n  margin: 0;\n\n  li {\n    font-size: 0.95rem;\n    color: #475569;\n    margin-bottom: 8px;\n    line-height: 1.5;\n  }\n"]);return k=function(){return n},n}function v(){let n=(0,r._)(["\n  display: flex;\n  gap: 12px;\n  @media (max-width: 600px) {\n    flex-direction: column;\n  }\n"]);return v=function(){return n},n}function E(){let n=(0,r._)(["\n  flex: 1;\n  background: ",";\n  color: white;\n  font-size: 1rem;\n  font-weight: 600;\n  border: none;\n  border-radius: 12px;\n  padding: 14px 24px;\n  cursor: pointer;\n  transition: all 0.3s ease;\n\n  &:hover {\n    background: ",";\n    transform: translateY(-2px);\n  }\n"]);return E=function(){return n},n}function S(){let n=(0,r._)(["\n  flex: 1;\n  background: #f1f5f9;\n  color: ",";\n  font-size: 1rem;\n  font-weight: 600;\n  border: none;\n  border-radius: 12px;\n  padding: 14px 24px;\n  cursor: pointer;\n  transition: all 0.3s ease;\n\n  &:hover {\n    background: #e2e8f0;\n    transform: translateY(-2px);\n  }\n"]);return S=function(){return n},n}function Z(){let n=(0,r._)(["\n  flex: 1;\n  background: #f1f5f9;\n  color: #64748b;\n  font-size: 1rem;\n  font-weight: 600;\n  border: none;\n  border-radius: 12px;\n  padding: 14px 24px;\n  cursor: pointer;\n  transition: all 0.3s ease;\n\n  &:hover {\n    background: #e2e8f0;\n    transform: translateY(-2px);\n  }\n"]);return Z=function(){return n},n}let C=a.Z.div(x()),I=a.Z.div(f()),R=a.Z.div(g()),A=a.Z.div(h()),U=a.Z.div(j()),z=a.Z.h1(y()),T=a.Z.p(_()),D=a.Z.div(b()),P=a.Z.h3(w()),L=a.Z.ul(k()),M=a.Z.div(v()),N=a.Z.button(E(),c.theme.color.brandMain,c.theme.color.brandDark),O=a.Z.button(S(),c.theme.color.brandMain),K=a.Z.button(Z());t.default=()=>{let[n,t]=(0,i.useState)(!0),[e,r]=(0,i.useState)(!1),[a,c]=(0,i.useState)(""),x=(0,s.useRouter)(),f=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{let n=async()=>{let{paymentKey:n,orderId:e,amount:o}=x.query;if(!n||!e||!o){c("결제 정보가 올바르지 않습니다."),t(!1);return}if(!f.current){f.current=!0;try{let t=new l.e,i=parseInt(o),a=await t.confirmPayment({paymentKey:n,orderId:e,amount:i});a.resultType===u.h.SUCCESS?(r(!0),(0,p.L9)("상담_결제_성공",{order_id:e,amount:i,payment_key:n,timestamp:new Date().toISOString()}),(0,m.q1)({plan:"consultation",plan_type:"consultation",period:"one_time",amount:i,value:i,currency:"KRW",entry_source:"consultation",entry_campaign:"consultation_payment"}),(0,m.eA)({value:i,transaction_id:e,item_name:"1:1 상담",item_category:"consultation"})):(f.current=!1,c(a.error||"결제 승인에 실패했습니다."))}catch(n){f.current=!1,console.error("결제 승인 실패:",n),c("결제 승인 중 오류가 발생했습니다.")}finally{t(!1)}}};x.isReady&&n()},[x.isReady,x.query]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(d.Z,{title:"상담 결제 완료 | 아파트써처",description:"상담 결제가 성공적으로 완료되었습니다. 상담 정보를 입력하고 일정을 안내받으세요.",keywords:"상담 결제, 결제 완료, 아파트써처",path:"/consultations/payment/success"}),n?(0,o.jsx)(C,{children:(0,o.jsxs)(I,{children:[(0,o.jsx)(R,{children:"⏳"}),(0,o.jsx)(z,{children:"결제 처리 중..."}),(0,o.jsx)(T,{children:"결제를 승인하고 있습니다. 잠시만 기다려주ì
1„¸ìš”."})]})}):e?(0,o.jsx)(C,{children:(0,o.jsxs)(I,{children:[(0,o.jsx)(A,{children:"✅"}),(0,o.jsx)(z,{children:"결제가 완료되었습니다!"}),(0,o.jsxs)(T,{children:["상담 결제가 성공적으로 처리되었습니다.",(0,o.jsx)("br",{}),"아래 버튼을 클릭하여 상담 정보를 입력해주세요."]}),(0,o.jsxs)(D,{children:[(0,o.jsx)(P,{children:"다음 단계"}),(0,o.jsxs)(L,{children:[(0,o.jsx)("li",{children:"• 상담 정보 입력"}),(0,o.jsx)("li",{children:"• 담당자 검토"}),(0,o.jsx)("li",{children:"• 24시간 내 담당자 연락"}),(0,o.jsx)("li",{children:"• 상담 일정 조율"})]})]}),(0,o.jsxs)(M,{children:[(0,o.jsx)(N,{onClick:()=>x.push("/consultations/payment/consultation-form"),children:"상담 정보 입력하기"}),(0,o.jsx)(O,{onClick:()=>window.open("https://www.youtube.com/@아파트써처","_blank"),children:"유튜브 채널 방문"})]})]})}):(0,o.jsx)(C,{children:(0,o.jsxs)(I,{children:[(0,o.jsx)(U,{children:"❌"}),(0,o.jsx)(z,{children:"결제 승인 실패"}),(0,o.jsx)(T,{children:a}),(0,o.jsxs)(M,{children:[(0,o.jsx)(K,{onClick:()=>x.back(),children:"다시 시도"}),(0,o.jsx)(N,{onClick:()=>x.push("/consultations"),children:"상담 페이지로"})]})]})})]})}},27817:function(n,t,e){"use strict";e.d(t,{e:function(){return o}});var r=e(43245);class o extends r.n{async confirmPayment(n){return this.post("/confirm",n)}async getPaymentList(){return this.get("/list")}async createPaymentOrder(n){return this.post("/orders",n)}async getPaymentOrder(n){return this.get("/orders/".concat(n))}constructor(n){super("".concat("https://api.apartsearcher.ai","/api/v1/apartsearcher/payment"),n)}}new o},56419:function(n,t,e){"use strict";var r,o;e.d(t,{h:function(){return r}}),(o=r||(r={})).SUCCESS="SUCCESS",o.FAIL="FAIL",o.UNAUTHORIZED="UNAUTHORIZED",o.BAD_REQUEST="BAD_REQUEST",o.API_LIMIT_EXCEEDED="API_LIMIT_EXCEEDED"},12983:function(n,t,e){"use strict";e.d(t,{Z:function(){return c}});var r=e(85893),o=e(9008),i=e.n(o),a=e(67294),s=e(94995);function c(n){let{path:t="/",title:e,description:o,keywords:c,ogTitle:l,ogDescription:u,ogImagePath:d,structuredData:p='\n    {\n      "@context": "https://schema.org",\n      "@type": "RealEstateAgent",\n      "name": "아파트써처",\n      "url": "https://www.apartsearcher.ai",\n      "logo": "https://d2znn0ry2r20ti.cloudfront.net/header_logo.svg",\n      "description": "부동산 투자와 실거주를 위한 스마트 아파트 검색 플랫폼",\n      "areaServed": "대한민국",\n      "address": {\n        "@type": "PostalAddress",\n        "streetAddress": "경기도 남양주시 퇴계원읍 퇴계원ë¡
1œ 117, 3층 301-제이1",\n        "addressLocality": "남양주시",\n        "addressRegion": "경기도",\n        "addressCountry": "KR"\n      },\n      "knowsAbout": [\n        "아파트 투자",\n        "부동산 투자",\n        "갭투자",\n        "실거주",\n        "분양권",\n        "재건축",\n        "재개발",\n        "아파트 시세",\n        "전월세",\n        "매매"\n      ],\n      "serviceType": [\n        "부동산 투자 분석",\n        "아파트 시세 정보",\n        "실거주 물건 추천",\n        "갭투자 분석",\n        "지역 분석",\n        "분양권 정보"\n      ]\n    }\n  ',children:m,forceHideSubfix:x,siteMode:f}=n,g=null!=e?e:"아파트써처 | 실거주부터 투자까지 스마트한 아파트 검색 플랫폼",h=null!=o?o:"아파트 매매, 전세, 신축분양, 재건축, 갭투자까지 한 번에! 실시간 시세와 투자 분석으로 최적의 부동산 매물을 찾아보세요. 지역별 아파트 시세, 실거주 추천, 갭투자 분석, 분양권 정보를 제공하는 스마트 부동산 플랫폼 아파트써처",j="아파트, 부동산, 투자, 갭투자, 실거주, 분양권, 재건축, 재개발, 매매, 전세, 월세, 시세, 투자수익, 청약, 신축분양, 입지분석, 지역분석, 투자분석, 아파트시세, 전세시세, 가격비교, 수익률계산, 대출상담, 부동산중개, 아파트써처",y=c?"".concat(c,", ").concat(j):j,_=null!=f?f:(0,s.UY)(window.location.host),b=(0,s.UQ)(_),w=()=>null!==document.querySelector("script#kakao-pixel"),k=()=>{};return(0,a.useEffect)(()=>{w()||k()},[]),(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(i(),{children:[(0,r.jsx)("title",{children:g}),(0,r.jsx)("meta",{name:"description",content:h}),(0,r.jsx)("meta",{name:"keywords",content:y}),(0,r.jsx)("link",{rel:"icon",href:"/asset/logo/money_logo.png"}),(0,r.jsx)("link",{rel:"canonical",href:"".concat(b).concat(t)}),(0,r.jsx)("meta",{name:"robots",content:"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1"}),(0,r.jsx)("meta",{name:"naver-site-verification",content:"8b3da035ce9c984404b212eca5a4086e6045165b"}),(0,r.jsx)("meta",{name:"google-site-verification",content:"Edb9Qj80qsUtd9yvibAnCoIn2CEDKF3Ro6nARbwh-j4"}),(0,r.jsx)("meta",{name:"google-adsense-account",content:"ca-pub-4686385222672499"}),(0,r.jsx)("meta",{name:"author",content:"아파트써처"}),(0,r.jsx)("meta",{name:"language",content:"ko"}),(0,r.jsx)("meta",{name:"geo.region",content:"KR"}),(0,r.jsx)("meta",{name:"distribution",content:"global"}),(0,r.jsx)("meta",{name:"rating",content:"general"}),(0,r.jsx)("meta",{property:"og:site_name",content:"아파트써처"}),(0,r.jsx)("meta",{property:"og:title",content:null!=l?l:g}),(0,r.jsx)("meta",{property:"og:description",content:null!=u?u:h}),(0,r.jsx)("meta",{property:"og:url",content:"".concat(b).concat(t)}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{property:"og:image",content:null!=d?d:"https://d2znn0ry2r20ti.cloudfront.net/header_logo.svg"}),(0,r.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,r.jsx)("meta",{property:"og:image:height",content:"630"}),(0,r.jsx)("meta",{property:"og:image:alt",content:null!=l?l:g}),(0,r.jsx)("meta",{property:"og:locale",content:"ko_KR"}),(0,r.jsx)("meta",{property:"og:locale:alternate",content:"en_US"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{name:"twitter:title",content:null!=l?l:g}),(0,r.jsx)("meta",{name:"twitter:description",content:null!=u?u:h}),(0,r.jsx)("meta",{name:"twitter:image",content:null!=d?d:"".concat(b,"/asset/logo/og-image.jpg")}),p&&("string"==typeof p?(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:p}}):p.map((n,t)=>p&&(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:n}},t))),m]})})}}},function(n){n.O(0,[2888,9774,179],function(){return n(n.s=26052)}),_N_E=n.O()}]);

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.