{ "version": 3, "sources": ["apps/id/src/main.ts"], "sourcesContent": ["import { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\nimport { ConfigService } from '@jms/ui/ui.standalone.services/config.service';;\nimport { UtilService } from '@jms/utils/util.services';\nimport { DomainType, DomainUtility } from '@jms/model';\n\nif (ConfigService.environment.production) {\n enableProdMode();\n}\n\nconst domain = UtilService.getLocation().hostName;\n\nswitch (DomainUtility.getDomainType(domain)) {\n case DomainType.Id: {\n import('./app/id/id.app.module').then(m => {\n platformBrowserDynamic().bootstrapModule(m.IdAppModule).catch(err => { console.log(err); });\n });\n break;\n }\n\n case DomainType.Register: {\n import('./app/registration/registration.app.module').then(m => {\n platformBrowserDynamic().bootstrapModule(m.RegistrationAppModule).catch(err => { console.log(err); });\n });\n break;\n }\n}\n\n\n"], "mappings": "mRAMIA,EAAcC,YAAYC,YAC5BC,OAGF,IAAMC,EAASC,EAAYC,YAAW,EAAGC,SAEzC,OAAQC,EAAcC,cAAcL,CAAM,EAAC,CACzC,KAAKM,EAAWC,GAAI,CAClB,OAAO,6BAAwB,EAAEC,KAAKC,GAAI,CACxCC,EAAA,EAAyBC,gBAAgBF,EAAEG,WAAW,EAAEC,MAAMC,GAAM,CAAGC,QAAQC,IAAIF,CAAG,CAAG,CAAC,CAC5F,CAAC,EACD,KACF,CAEA,KAAKR,EAAWW,SAAU,CACxB,OAAO,uCAA4C,EAAET,KAAKC,GAAI,CAC5DC,EAAA,EAAyBC,gBAAgBF,EAAES,qBAAqB,EAAEL,MAAMC,GAAM,CAAGC,QAAQC,IAAIF,CAAG,CAAG,CAAC,CACtG,CAAC,EACD,KACF,CACF", "names": ["ConfigService", "environment", "production", "enableProdMode", "domain", "UtilService", "getLocation", "hostName", "DomainUtility", "getDomainType", "DomainType", "Id", "then", "m", "platformBrowser", "bootstrapModule", "IdAppModule", "catch", "err", "console", "log", "Register", "RegistrationAppModule"] }