PageSourceSearch

https://qq288bht.com/chunk-2RT7BLSH.js

js qq288bht.com collected 2026-10-10 02:34:07 UTC 3,016 bytes, 1 lines download raw bytes

1import{a as w}from"./chunk-X67MKRJK.js";import{O as D,u as A,x as R}from"./chunk-2RZNBXEW.js";import{d as m,e as S,ea as L,k as v,sa as b}from"./chunk-LKIBVTZY.js";import{e as d,j as a,k as o}from"./chunk-LZGEQQYD.js";import{Ea as h,K as p,O as f,X as g}from"./chunk-BW2TMJN6.js";var n=(()=>{let s=class s{constructor(e,t,r,u,l,c,G,I){this.httpService=e,this.router=t,this.globalData=r,this.cmsService=u,this.storageService=l,this.langService=c,this.userDetectService=G,this.authLoginStateService=I}getToken(){let e={AppId:"5d53bce03ec34c0a911182d4c228ee6c",Key:"B93reRTUJHsCuQSHR+L3GxqOJyDmQpCgps102ciuabc="};this.httpService.getToken(e).subscribe(t=>t.data.token)}canActivate(e){return this.isLogin(e)}isLogin(e){let r=localStorage.getItem("isLogin")==="true",u=!this.globalData.isApp&&(this.storageService.getUseHttpOnlyTokenCookie()||!!window.opener);if(!r&&!u)return e&&this.handleUnauthorizedRedirect(),!1;let l=this.langService.language||this.storageService.getStorage("language")||"en-US";return this.authLoginStateService.syncLoginStateByAccountData(l).pipe(g(c=>(!c&&e&&this.handleUnauthorizedRedirect(!0),c)),h(()=>(e&&this.handleUnauthorizedRedirect(),p(!1))))}handleUnauthorizedRedirect(e=!1){if(window.opener){let t=localStorage.getItem(A)==="true";sessionStorage.setItem("needCloseAfterRefresh","true"),e&&t&&window.close();return}else this.router.navigate(["/"])}isNotLogin(){return this.globalData.isLogin?(this.router.navigate(["/"]),!1):!0}pmForgetPwd(){return this.globalData.isMobileStyle?!0:(this.router.navigate(["/"]),this.globalData.isForgetPwdOpen=!0,!1)}
1pmOpener(){let e=window.location.search,r=new URLSearchParams(e).get("retargeting");return r?window.location.replace(this.langService.getRedirectUrl("?retargeting="+r)):this.router.navigate(["/"]),!0}pmQQpool(){var e,t;return(t=(e=this.cmsService)==null?void 0:e.cmsSetting)!=null&&t.supportQQPool?!0:(this.router.navigate(["/"]),!1)}ReferralGuard(){var e,t,r;return this.globalData.isLogin?((e=this.globalData.acctInfo)==null?void 0:e.isAffiliateAccount)==!1&&(((t=this.globalData.acctInfo)==null?void 0:t.currency)=="IDR"||((r=this.globalData.acctInfo)==null?void 0:r.isReferralAccount)==!0)?!0:(this.router.navigate(["/"]),!1):this.langService.language.toLowerCase()=="id-id"?(this.router.navigate(["/"]),!1):!0}isApp(e){return this.userDetectService.isApp?!0:(this.router.navigate(["/"]),!1)}canActivateBank(e){let t=this.isLogin(e);return f(t)?t.pipe(g(r=>r?this.globalData.goRegisterBank?!0:(this.router.navigate(["/"]),!1):!1)):t?this.globalData.goRegisterBank?!0:(this.router.navigate(["/"]),!1):!1}};s.\u0275fac=function(t){return new(t||s)(a(R),a(L),a(b),a(D),a(S),a(v),a(m),a(w))},s.\u0275prov=d({token:s,factory:s.\u0275fac,providedIn:"root"});let i=s;return i})(),H=i=>o(n).canActivate(i),N=()=>o(n).pmForgetPwd(),q=()=>o(n).isNotLogin(),J=()=>o(n).pmOpener(),K=()=>o(n).pmQQpool(),M=()=>o(n).ReferralGuard(),V=i=>o(n).isApp(i),Y=i=>o(n).canActivateBank(i);export{H as a,N as b,q as c,J as d,K as e,M as f,V as g,Y as h};

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.