PageSourceSearch

https://edge-media.gomining.com/main-gomining-xxw3ek/client-next/chunk-HMAWXN52.js

js gomining.com collected 2026-10-03 20:31:39 UTC 3,431 bytes, 1 lines download raw bytes

1import{a as R}from"https://edge-media.gomining.com/main-gomining-xxw3ek/client-next/chunk-SO4NJ33V.js";import{Ic as I,dc as f,ec as P,pa as E,pd as V,sd as $}from"https://edge-media.gomining.com/main-gomining-xxw3ek/client-next/chunk-22BL7H5E.js";import{a as F}from"https://edge-media.gomining.com/main-gomining-xxw3ek/client-next/chunk-ECPNVCSR.js";import{b as y}from"https://edge-media.gomining.com/main-gomining-xxw3ek/client-next/chunk-TJKMEG7D.js";import{a as A}from"https://edge-media.gomining.com/main-gomining-xxw3ek/client-next/chunk-VJNWFYJJ.js";import{c as b}from"https://edge-media.gomining.com/main-gomining-xxw3ek/client-next/chunk-LMUBLE7B.js";import{o as d}from"https://edge-media.gomining.com/main-gomining-xxw3ek/client-next/chunk-S3WBTY7H.js";import{c}from"https://edge-media.gomining.com/main-gomining-xxw3ek/client-next/chunk-SPGIBPXE.js";import{bb as w,mb as t}from"https://edge-media.gomining.com/main-gomining-xxw3ek/client-next/chunk-25VZKF5S.js";import{a as p,c as S,d as v,f as m,j as g}from"https://edge-media.gomining.com/main-gomining-xxw3ek/client-next/chunk-AWSQPTYD.js";import{t as s}from"https://edge-media.gomining.com/main-gomining-xxw3ek/client-next/chunk-C6T5D4W2.js";p();S();g();m();v();var H=(()=>{let r=class r{constructor(){this.authStore=t($),this.appStore=t(R),this.abToggleStore=t(V),this.pwaService=t(b),this.pwaPushStateService=t(E),this.navigationService=t(F),this.authFlowService=t(I),this.metaInfoService=t(y),this.router=t(d),this.project=t(A),this.authV2Enabled=c(this.abToggleStore.authV2Enabled$),this.notificationsV2=c(this.abToggleStore.notificationsV2$),this.notificationsV2Enabled=c(this.abToggleStore.notificationsV2Enabled$)}canActivate(o,i){return s(this,null,function*(){if(yield this.authStore.asyncIsAuth(),this.authStore.loggedIn$.value){let e=this.authStore.urlForNonAuth$.value,n=this.authStore.user$.value;if(this.pwaService.isApp&&this.authV2Enabled()){let a=`/${f["choose-country"]}`,h=`/${P["choose-country"]}`,l=!n.country&&!n.kycCountry;if(i.url.includes(a)||i.url.includes(h)){if(l)return!0;e||(e="/")}else if(l)return this.router.navigate([a])}if(this.pwaService.isApp&&this.pwaService.isPushStateAvailable&&this.notificationsV2()&&this.notificationsV2Enabled()){let a=`/${f.notification}`,h=this.pwaPushStateService.notDeterminedWithLocal();if(i.url.startsWith(a)){if(h)return!0;e||(e="/")}else if(h)return this.router.navigate([a])}return e?(this.authStore.clearUrlForNonAuth(),this.router.navigateByUrl(e)):!0}else{if(this.project===1)return this.router.navigateByUrl("/login");{let e=!!o.queryParams.ref;return this.metaInfoService.canActivateFromAuthGuard.push({url:i.url,data:o.data,navigationServiceIsEmpty:this.navigationService.isEmpty()}),o.data.appOnboardingDone&&this.appStore.completeOnBoarding(),this.navigationService.isEmpty()?this.router.navigateByUrl("/").then(n=>(this.toAuth(i.url,e),n)):(this.toAuth(i.url,e),!1)}}})}toAuth(o,i){this.authStore.setUrlForNonAuth(o),this.register()}auth(){return s(this,null,function*(){yield this.authFlowService.auth()})}login(){return s(this,null,function*(){yield this.authFlowService.login()})}register(){return s(this,null,function*(){this.pwaService.isApp&&this.authV2Enabled()?yield this.authFlowService.auth():yield this.authFlowService.register()})}};r.\u0275fac=function(i){return new(i||r)},r.\u0275prov=w({token:r,factory:r.\u0275fac,providedIn:"root"});let u=r;return u})();export{H as a};

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.