{ "version": 3, "sources": ["src/app/guards/hide-content.guard.ts"], "sourcesContent": ["import { inject } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { environment } from '../../environments/environment';\n\nexport const contentVisibilityGuard = (exceptionBuilds: ('ru' | 'kz' | 'tr')[] = []) => {\n return () => {\n const router = inject(Router);\n if (environment.hideContent && exceptionBuilds.includes(environment.build)) {\n return router.createUrlTree(['/']);\n }\n return true;\n };\n};\n"], "mappings": "yHAIO,IAAMA,EAAyBA,CAACC,EAA0C,CAAA,IACxE,IAAK,CACV,IAAMC,EAASC,EAAOC,CAAM,EAC5B,OAAIC,EAAYC,aAAeL,EAAgBM,SAASF,EAAYG,KAAK,EAChEN,EAAOO,cAAc,CAAC,GAAG,CAAC,EAE5B,EACT", "names": ["contentVisibilityGuard", "exceptionBuilds", "router", "inject", "Router", "environment", "hideContent", "includes", "build", "createUrlTree"] }