PageSourceSearch

https://purpledog.co.kr/_next/static/chunks/pages/join01-d0fc0182b917b47e.js

js purpledog.co.kr collected 2026-10-07 14:51:46 UTC 9,920 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6340,8468],{98468:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return l}});var r=t(73935),i=t(67294),s=t(11163),a=t.n(s),c=t(85893);function l(e){var n=e.title,t=void 0===n?"":n,s=e.message,l=void 0===s?"":s,o=e.isOpenModal,u=void 0!==o&&o,d=e.setIsOpenModal,p=e.redirect,h=void 0===p?"":p,m=e.onClickConfirm,x=void 0===m?function(){}:m,v=(0,i.useRef)(null);(0,i.useEffect)((function(){return document.body.style.overflow="hidden",document.addEventListener("mousedown",f),function(){document.removeEventListener("mousedown",f)}}),[]);var f=function(e){x(),v&&!v.current.contains(e.target)?(document.body.style.overflow="",d(!1)):document.body.style.overflow=""};return(0,r.createPortal)(u&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{className:"mask",style:{display:"initial"}}),(0,c.jsx)("div",{className:"popup_wrap",style:{display:"block"},children:(0,c.jsxs)("div",{className:"popup",ref:v,children:[void 0!==t&&(0,c.jsx)("p",{style:{fontSize:"20px",fontWeight:"700",lineHeight:"29px"},children:t}),(0,c.jsx)("p",{children:l}),(0,c.jsx)("div",{className:"btn",children:(0,c.jsx)("ul",{children:(0,c.jsx)("li",{className:"on",children:h?(0,c.jsx)("a",{onClick:function(){d(!1),a().push("/login").then((function(){return document.body.style.overflow=""}))},children:"\ud655\uc778"}):(0,c.jsx)("a",{onClick:function(){x(),d(!1)},children:"\ud655\uc778"})})})})]})})]}),document.getElementById("popUp"))}},8617:function(e,n,t){"use strict";t.d(n,{X:function(){return c}});var r=t(50029),i=t(87794),s=t.n(i),a=t(92729),c=function(){var e=(0,r.Z)(s().mark((function e(n){var t;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a.Z.get("https://certificate-api.purpledog.cloud/latest/member/certification/"+n);case 3:t=e.sent,e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),t=!1;case 9:return e.abrupt("return",t.data);case 10:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(n){return e.apply(this,arguments)}}()},98186:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return j}});var r=t(50029),i=t(27812),s=t(16835),a=t(87794),c=t.n(a),l=t(67294),o=t(70024),u=t(11163),d=t.n(u),p=t(4298),h=t.n(p),m=t(8617),x=t(89469),v=t(34033),f=t(98468),g=t(85893);function j(){var e=(0,l.useState)([]),n=e[0],t=e[1],a=(0,l.useState)(!1),p=a[0],j=a[1],k=(0,o.KO)(x.Zr),b=(0,s.Z)(k,2),_=b[0],y=b[1],N=[{id:"agree01"},{id:"agree02"},{id:"agree03"}],w=(0,u.useRouter)().query||[],C=(0,v.V)()._handleGet,E=(0,l.useState)(!1),S=E[0],I=E[1],O=(0,l.useState)(""),Y=O[0],P=O[1];(0,l.useEffect)((function(){q()}),[w]);var q=function(){void 0!=w.imp_uid&&""!=w.imp_uid&&M(w.imp_uid)},F=function(e,r){e?(t([].concat((0,i.Z)(n),[r])),"agree03"==r&&localStorage.setItem("agreeYn","Y")):(t(n.filter((function(e){return e!==r}))),"agree03"==r&&localStorage.setItem("agreeYn","N"))},M=function(){var e=(0,r.Z)(c().mark((function e(n){var t,r,i,s,a,l,o,u,p,h,x;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,m.X)(n);case 2:if("200"!==(null===(t=e.sent)||void 0===t?void 0:t.serverCode)){e.next=20;break}return p={birthDay:null===t||void 0===t||null===(r=t.results)||void 0===r?void 0:r.birthDay,gender:null===t||void 0===t||null===(i=t.results)||void 0===i?void 0:i.gender,name:null===t||void 0===t||null===(s=t.results)||void 0===s?void 0:s.name,phoneNumber:null===t||void 0===t||null===(a=t.results)||void 0===a?void 0:a.phone,adultYn:null===t||void 0===t||null===(l=t.results)||void 0===l?void 0:l.adultYn,unique_in_site:null===t||void 0===t||null===(o=t.results)||void 0===o?void 0:o.unique_in_site},e.next=7,C("/member/find/id/"+(null===t||void 0===t||null===(u=t.results)||void 0===u?void 0:u.phone));case 7:if(null===(h=e.sent)||void 0===h||!h.results||"200"!==(null===h||void 0===h?void 0:h.serverCode)){e.next=16;break}return j(!1),I(!0),x=null===h||void 0===h?void 0:h.results.id.providerTypeName,P(x+"\ub85c \uac00\uc785\ub41c \uacc4\uc815\uc774 \uc788\uc2b5\ub2c8\ub2e4."),e.abrupt("return",!1);case 16:return e.next=18,y(p);case 18:return e.next=20,d().push("/join02",_);case 20:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(h(),{type:"text/javascript",src:"https://code.jquery.com/jquery-1.8.0.min.js"}),(0,g.jsx)(h(),{type:"text/javascript",src:"https://cdn.iamport.kr/js/iamport.payment-1.2.0.js"}),(0,g.jsx)("div",{className:p?"mask on":"mask"}),(0,g.jsx)("div",{className:p?"popup_wrap on":"popup_wrap",children:(0,g.jsxs)("div",{className:"popup",children:[(0,g.jsx)("div",{children:"\uc131\uc778 \uc778\uc99d"}),(0,g.jsxs)("p",{children:["\ud37c\ud50c\ub3c5 \uad6c\ub3c5 \uc11c\ube44\uc2a4\ub294 ",(0,g.jsx)("span",{children:"\ub9cc 19\uc138 \uc774\uc0c1"}),"\ub9cc",(0,g.jsx)("br",{}),"\uc774\uc6a9 \uac00\ub2a5\ud558\uba70, \uc131\uc778 \uc778\uc99d\uc744 \uc704\ud574 \ubcf8\uc778\ud655\uc778",(0,g.jsx)("br",{}),"\uc808\ucc28\ub97c \uc9c4\ud589\ud569\ub2c8\ub2e4."]}),(0,g.jsx)("div",{className:"btn",children:(0,g.jsxs)("ul",{children:[(0,g.jsx)("li",{children:(0,g.jsx)("a",{onClick:function(){return j(!1)},children:"\ucde8\uc18c"})}),(0,g.jsx)("li",{className:"on",children:(0,g.jsx)("a",{href:"#",onClick:function(e){return function(e){e.preventDefault();var n="min_"+(new Date).getTime(),t=window.IMP;t.init("imp32604777"),t.certification({merchant_uid:n,m_redirect_url:"".concat(window.location.origin,"/join01?"),popup:!1}
1,(function(e){e.success?M(e.imp_uid):(I(!0),P("\uc778\uc99d\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4."))}))}(e)},children:"\uc131\uc778\uc778\uc99d"})})]})})]})}),(0,g.jsxs)("section",{id:"join",className:"form_wrap c_ty01",children:[(0,g.jsx)("h3",{children:"\uc57d\uad00\ub3d9\uc758"}),(0,g.jsx)("div",{className:"back",children:(0,g.jsx)("a",{onClick:function(){return d().back()},children:"\ub4a4\ub85c\uac00\uae30"})}),(0,g.jsx)("div",{className:"step",children:(0,g.jsxs)("ul",{children:[(0,g.jsx)("li",{className:"on",children:(0,g.jsx)("a",{href:"#"})}),(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"#"})}),(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"#"})}),(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"#"})})]})}),(0,g.jsxs)("div",{className:"form mt30",children:[(0,g.jsxs)("div",{className:"all",children:[(0,g.jsx)("input",{type:"checkbox",id:"all_agree",name:"checkAll",className:"input_check ty01",value:"",onChange:function(e){return function(e){if(e){var n=[];N.forEach((function(e){return n.push(e.id)})),t(n),localStorage.setItem("agreeYn","Y")}else t([])}(e.target.checked)},checked:0!==n.length&&n.length===N.length}),(0,g.jsx)("label",{htmlFor:"all_agree",children:(0,g.jsx)("b",{children:"\uc804\uccb4 \uc57d\uad00 \ub3d9\uc758"})})]}),(0,g.jsxs)("div",{className:"",children:[(0,g.jsx)("input",{type:"checkbox",id:"agree01",name:"",className:"input_check ty01",value:"",onChange:function(e){return F(e.target.checked,e.target.id)},checked:!!n.includes("agree01")}),(0,g.jsxs)("label",{htmlFor:"agree01",children:["(\ud544\uc218) ",(0,g.jsx)("span",{className:"span",children:"\uc11c\ube44\uc2a4 \uc774\uc6a9\uc57d\uad00"})]}),(0,g.jsx)("div",{onClick:function(){return d().push({pathname:"/terms",query:{tab:"TERMS_OF_SERVICE"}})},style:{background:"-webkit-image-set( url(/img/assets/arrow_icon04.png) 1x, url(/img/assets/[email protected]) 2x, url(/img/assets/[email protected]) 3x) no-repeat",float:"right",backgroundSize:"16px",backgroundPosition:"top 1px right 0",width:"30px",height:"30px",cursor:"pointer"}})]}),(0,g.jsxs)("div",{className:"mt10",children:[(0,g.jsx)("input",{type:"checkbox",id:"agree02",name:"",className:"input_check ty01",value:"",onChange:function(e){return F(e.target.checked,e.target.id)},checked:!!n.includes("agree02")}),(0,g.jsxs)("label",{htmlFor:"agree02",children:["(\ud544\uc218) ",(0,g.jsx)("span",{className:"span",children:"\uac1c\uc778\uc815\ubcf4 \ucc98\ub9ac\ubc29\uce68"})]}),(0,g.jsx)("div",{onClick:function(){return d().push({pathname:"/terms",query:{tab:"PRIVACY_POLICY"}})},style:{background:"-webkit-image-set( url(/img/assets/arrow_icon04.png) 1x, url(/img/assets/[email protected]) 2x, url(/img/assets/[email protected]) 3x) no-repeat",float:"right",backgroundSize:"16px",backgroundPosition:"top 1px right 0",width:"30px",height:"30px",cursor:"pointer"}})]}),(0,g.jsxs)("div",{className:"mt10",children:[(0,g.jsx)("input",{type:"checkbox",id:"agree03",name:"",className:"input_check ty01",value:"",onChange:function(e){return F(e.target.checked,e.target.id)},checked:!!n.includes("agree03")}),(0,g.jsxs)("label",{htmlFor:"agree03",children:["(\uc120\ud0dd) ",(0,g.jsx)("span",{children:"\ud37c\ud50c\ub3c5 \ub9c8\ucf00\ud305 \ubc0f \uad11\uace0 \uc218\uc2e0 \ub3d9\uc758"})]})]})]}),(0,g.jsxs)("div",{className:"form mt50",children:[(0,g.jsxs)("div",{className:p?"nt on":"nt",children:["\ubcf8\uc778\uc740 ",(0,g.jsx)("span",{children:"\ub9cc 19\uc138 \uc774\uc0c1"}),"\uc774\uba70, \uc704 \uc57d\uad00\ub0b4\uc6a9\uc744 \ud655\uc778\ud588\uc2b5\ub2c8\ub2e4."]}),(0,g.jsx)("div",{className:"btn_submit",children:(0,g.jsx)("button",{type:"submit",className:n.includes("agree01")&&n.includes("agree02")?"mt20 on":"mt20",onClick:n.includes("agree01")&&n.includes("agree02")?function(){return n.includes("agree01")?n.includes("agree02")?void j(!0):(I(!0),P("\uac1c\uc778\uc815\ubcf4 \ucc98\ub9ac\ubc29\uce68\uc5d0 \ub3d9\uc758\ud574\uc8fc\uc138\uc694.")):(I(!0),P("\uc11c\ube44\uc2a4 \uc774\uc6a9\uc57d\uad00\uc5d0 \ub3d9\uc758\ud574\uc8fc\uc138\uc694."))}:null,children:"\ub2e4\uc74c"})})]}),S&&(0,g.jsx)(f.default,{message:Y,isOpenModal:S,setIsOpenModal:I,redirect:"login"})]})]})}},35614:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/join01",function(){return t(98186)}])},4298:function(e,n,t){e.exports=t(72189)}},function(e){e.O(0,[9774,2888,179],(function(){return n=35614,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.