1import{_ as u,a0 as d,u as _,a2 as l,K as p,aQ as f,f as g,h as v,E as y}from"./index-728a9f8f.js";const h={class:"bridgeWrap"},k={__name:"WebviewBridge",setup(B){const r=d(),s=_(),a=l(),n=new y,c=p(()=>a.getters.isLoginState),t={token:r.query.token?r.query.token:"",redirectUrl:r.query.redirectUrl?r.query.redirectUrl:""};f(async()=>{if(!t.redirectUrl)return s.push("/");if(!t.token||c.value)return s.push(t.redirectUrl);await i()});const i=async()=>{console.log("initBridge called");try{const e=await n.postParamList("/api/user/conversion_token",t);if(e&&e.data?.success){const o=e.data.data;o.state=!0,await a.dispatch("login",o)}}catch(e){console.log("ERROR ::: ",e)}finally{s.push(t.redirectUrl)}};return(e,o)=>(g(),v("div",h))}},w=u(k,[["__scopeId","data-v-f80e3014"]]);export{w 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.