1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[473],{3015:function(o,n,t){"use strict";t.r(n),t.d(n,{default:function(){return s}});var e=t(7294),l=t(1163),u=t(9669),c=t.n(u),i=t(4480),a=t(4278),d=t(5893),r=function(){var o=(0,l.useRouter)(),n=(0,i.Zl)(a.L),t=function(t){c().post("https://theyeyak.tblm.co/oauth/kakao/login",{accessToken:t}).then((function(t){var e;console.log(t),n(null===t||void 0===t?void 0:t.data),localStorage.setItem("token",null===t||void 0===t||null===(e=t.data)||void 0===e?void 0:e.token),window.location.href="/my/".concat(o.query.id)})).catch((function(o){console.log(o)}))};return(0,e.useEffect)((function(){var e,l,u,i;null!==o&&void 0!==o&&null!==(e=o.query)&&void 0!==e&&e.code&&(i=null===o||void 0===o||null===(l=o.query)||void 0===l?void 0:l.code,c().post("https://theyeyak.tblm.co/oauth/kakao/login",{accessToken:i}).then((function(e){var l,u,c;console.log(e),"SIGN_IN"==(null===e||void 0===e||null===(l=e.data)||void 0===l?void 0:l.code)?(n(null===e||void 0===e?void 0:e.data),localStorage.setItem("token",null===e||void 0===e||null===(c=e.data)||void 0===c?void 0:c.token),window.location.href="/my/".concat(o.query.id)):"SIGN_UP_REQUIRED"==(null===e||void 0===e||null===(u=e.data)||void 0===u?void 0:u.code)&&t(kakaoResponse)})).catch((function(o){console.log(o)})),localStorage.setItem("accessToken",null===o||void 0===o||null===(u=o.query)||void 0===u?void 0:u.code))}),[o]),(0,d.jsx)(d.Fragment,{})},s=function(){return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(r,{})})}},4278:function(o,n,t){"use strict";t.d(n,{L:function(){return u}});var e=t(4480),l=(0,t(6983).J)().persistAtom,u=(0,e.cn)({key:"user",default:{},effects_UNSTABLE:[l]})},2162:function(o,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth",function(){return t(3015)}])}},function(o){o.O(0,[285,774,888,179],(function(){return n=2162,o(o.s=n);var n}));var n=o.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.