1import{_ as t}from"./index.VRUltArI.js";import{c as s,z as r,b as a}from"./vendor-vue.DQyCMu5a.js";import"./vendor-misc.DlM92jT6.js";import"./vendor-vuetify.Dvtop9lb.js";import"./vendor-axios.B9ygI19o.js";import"./vendor-moment.C5S46NFB.js";import"./vendor-quill.BiOiM682.js";import"./vendor-date-io.C_LH91PS.js";import"./vendor-maps.B8dKhpM0.js";/* empty css */const c={name:"GoogleCallBack",data(){return{googleAccessToken:null}},mounted(){if(this.getGoogleAccessTokenFromURL(),!this.googleAccessToken){alert("ì¸ì
ì´ ë§ë£ëììµëë¤. ë¤ì ë¡ê·¸ì¸í´ 주ì¸ì."),this.clearAuthQueryParams(),this.$router.replace("/chat");return}this.googleLoginApi()},methods:{getGoogleAccessTokenFromURL(){const e=new URL(window.location.href).searchParams.get("token");this.googleAccessToken=e,this.googleAccessToken&&this.clearAuthQueryParams()},googleLoginApi(){const o={success:e=>{e.code==="S"?(this.setLoginInfo(e),this.setLastLoginProvider("google"),this.$router.replace("/chat")):(alert(e.message||"SNS ì¸ì¦ì ì¤í¨íìµëë¤."),this.$router.replace("/chat"))},error:e=>{console.log(e),alert(e.message)}};this.googleAccessToken?this.$api.chat.otherSnsAuthenticate({token:this.googleAccessToken},o):(alert("í í°ê°ì´ ì¤ì ëì§ ìììµëë¤."),this.$router.replace("/chat"))},clearAuthQueryParams(){const o=new URL(window.location.href);o.searchParams.delete("code"),o.searchParams.delete("state"),o.searchParams.delete("token"),window.history.replaceState({},document.title,o.pathname)}}};function l(o,e,n,i,h,g){return a(),s("div",null,e[0]||(e[0]=[r("h1",null,"ë¡ê·¸ì¸ ì²ë¦¬ ì¤ì
ëë¤...",-1)]))}const $=t(c,[["render",l]]);export{$ as default};
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.