1"use strict";(self.rspackChunknewapi_web=self.rspackChunknewapi_web||[]).push([[9389],{62396(e,t,a){a.r(t),a.d(t,{component:()=>l});var r=a(68413),c=a(82799),s=a(45064),n=a(19376),u=a(20598),o=a(20032),i=a(64577),h=a(16272);function l(){let e=(0,c.Z)(),t=(0,s.S)({from:"/(auth)/oauth"});return(0,r.useEffect)(()=>{(async()=>{try{t?.provider==="wechat"&&t.code&&await (0,h.Cw)(t.code);let a=await (0,i.Ng)();if(a?.success){o.n.getState().auth.setUser(a.data);let r=t?.redirect||"/dashboard";e({to:r,replace:!0});return}}catch{}u.oR.error(n.Ay.t("OAuth failed")),e({to:"/sign-in",replace:!0})})()},[e,t]),null}}}]);
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.