PageSourceSearch

https://www.mobilelegends.com/assets/index-b06cc374.js

js mobilelegends.com collected 2026-10-01 10:20:50 UTC 1,411 bytes, 1 lines download raw bytes

1import{r as i}from"./react-f4fa6042.js";import{u as L,c as h,e as E,C as w,r as g,d as s,D as c,F as d,g as f,B as C,G as _,n as v,b as x,H as O}from"./index-06f6d0af.js";import{o as T}from"./vendor-2e8812bb.js";import{M as U}from"./index-41cbe130.js";import"./utils-790bf987.js";const k=()=>{const a=L(({app:e})=>e.lang),t=h(),o=i.useRef();i.useEffect(()=>(o.current=new U(E.mode,w),g("goLogin",()=>{var e;t(s({giveUpLogin:!1})),(e=o.current)==null||e.goLogin()}),g("goLogout",()=>{var e;(e=o.current)==null||e.goLogout()}),g("clearToken",()=>{t(s({token:void 0})),c.remove(d)}),()=>{var e;(e=o.current)==null||e.unmount()}),[t]),i.useEffect(()=>{o.current&&o.current.changLang(a)},[a]),T(async()=>{let e=c.get(d);const n=f();if(n&&n.mobapay){const r=f(n.mobapay),{code:l,open_id:b,lang:m,country:p,redirect_url:y}=r;if(l){const u=await C({type:"code",module:"mobapay",code:l,open_id:b,app_id:0,redirect_uri:y});u&&u.code===0&&(e=u.data.jwt)}(m||p)&&_(m,p),delete n.mobapay,v({search:x(n)},{replace:!0})}else{const r=c.get(O);r&&_(a,r)}if(e){t(s({token:e})),c.set(d,e);return}t(s({ready:!0}))})},H=()=>{const{__mobapay_auth__:a}=f();return k(),i.useEffect(()=>{if(a){const t=window.atob(a);window.localStorage.setItem("__mobapay_auth__",window.atob(a)),window.close();const o=navigator.userAgent;(o.indexOf("Firefox")>-1||o.indexOf("UCBrowser")>-1)&&w("login",JSON.parse(t))}},[a]),null};export{H 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.