{"version":3,"sources":["./src/environments/environment.ts","./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/modules/app-common/services/app-common.service.ts","./src/app/app-routing.module.ts","./src/app/app.component.scss","./src/main.ts","./$_lazy_route_resource lazy namespace object"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAO,MAAM,WAAW,GAAG;IACvB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,4DAA4D;CAC3E,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;ACHwC;AACQ;AACW;AACrB;IAO3B,YAAY,SAAZ,YAAY;IAErB,YAAmB,MAAc,EAAU,YAAmB;QAA3C,WAAM,GAAN,MAAM,CAAQ;QAAU,iBAAY,GAAZ,YAAY,CAAO;QAD9D,UAAK,GAAG,8BAA8B,CAAC;QAEnC,IAAI,CAAC,MAAM,CAAC,MAAM;aACb,IAAI,CAAC,6DAAM,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,YAAY,kEAAkB,CAAC,CAAC;aAC1D,SAAS,CAAC,KAAK,CAAC,EAAE;YACf,IAAI,QAAQ,GAAI,KAA4B,CAAC,QAAQ,CAAC;YACtD,OAAO,QAAQ,CAAC,UAAU,KAAK,IAAI,EAAE;gBACjC,QAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC;aAClC;YACD,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,IAAI,+BAA+B,CAAC,CAAC;QACvF,CAAC,CAAC,CAAC;IACX,CAAC;CACJ;;YArB4B,sDAAM;YAD1B,+DAAK;;AASD,YAAY;IALxB,+DAAS,CAAC;QACP,QAAQ,EAAE,UAAU;QACpB,gFAAmC;;KAEtC,CAAC;mFAG6B,sDAAM,EAAwB,+DAAK;GAFrD,YAAY,CAaxB;AAbwB;;;;;;;;;;;;;ACVzB;AAAe,oGAAqC,E;;;;;;;;;;;;;;;;;;;;;;;ACAI;AACf;AACiB;AAEF;AACT;AACQ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W,gBAAgB,CAAG;AAAH;;;;;;;;;;;;;AC5C7B;AAAe,6GAA8C,uHAAuH,E;;;;;;;;;;;;ACApL;AAAA;AAAA;AAAA;AAAA;AAA+C;AAC4B;AAE9B;AACY;AAEzD,IAAI,qEAAW,CAAC,UAAU,EAAE;IACxB,oEAAc,EAAE,CAAC;CACpB;AAED,gGAAsB,EAAE;KACnB,eAAe,CAAC,yDAAS,CAAC;KAC1B,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;;;;;;;;;;;;ACZtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,4CAA4C,WAAW;AACvD;AACA;AACA,qC","file":"main-es2015.js","sourcesContent":["export const environment = {\r\n    production: true,\r\n    apiBaseUrl: \"https://func-farmsbi-piecerate-prod.azurewebsites.net/api/\"\r\n};\r\n","import { Component } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { ChildActivationEnd, Router } from '@angular/router';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Component({\r\n    selector: 'app-root',\r\n    templateUrl: './app.component.html',\r\n    styleUrls: ['./app.component.scss'],\r\n})\r\nexport class AppComponent {\r\n    title = 'Mastronardi Piecerate Portal';\r\n    constructor(public router: Router, private titleService: Title) {\r\n        this.router.events\r\n            .pipe(filter(event => event instanceof ChildActivationEnd))\r\n            .subscribe(event => {\r\n                let snapshot = (event as ChildActivationEnd).snapshot;\r\n                while (snapshot.firstChild !== null) {\r\n                    snapshot = snapshot.firstChild;\r\n                }\r\n                this.titleService.setTitle(snapshot.data.title || ' Mastronardi Piecerate Portal');\r\n            });\r\n    }\r\n}\r\n","export default \"<router-outlet></router-outlet>\\r\\n\";","import { HttpClientModule } from '@angular/common/http';\r\nimport { NgModule } from '@angular/core';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\n\r\nimport { AppRoutingModule } from './app-routing.module';\r\nimport { AppComponent } from './app.component';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { AppCommonService } from '@common/services/app-common.service';\r\n\r\n@NgModule({\r\n    declarations: [AppComponent],\r\n    imports: [BrowserModule, AppRoutingModule, HttpClientModule, NgbModule],\r\n    providers: [AppCommonService],\r\n    bootstrap: [AppComponent],\r\n})\r\nexport class AppModule {}\r\n","import { Injectable } from '@angular/core';\nimport { BehaviorSubject, Observable, of } from 'rxjs';\n\n@Injectable()\nexport class AppCommonService {\n    browser = new BehaviorSubject<string>(\"\");\n    constructor() {\n        let browserName = this.detectBrowserName();\n        this.browser.next(browserName);\n    }\n\n    getAppCommon$(): Observable<{}> {\n        return of({});\n    }\n    detectBrowserName() { \n        const agent = window.navigator.userAgent.toLowerCase()\n        switch (true) {\n          case agent.indexOf('edge') > -1:\n            return 'edge';\n          case agent.indexOf('opr') > -1 && !!(<any>window).opr:\n            return 'opera';\n          case agent.indexOf('chrome') > -1 && !!(<any>window).chrome:\n            return 'chrome';\n          case agent.indexOf('trident') > -1:\n            return 'ie';\n          case agent.indexOf('firefox') > -1:\n            return 'firefox';\n          case agent.indexOf('safari') > -1:\n            return 'safari';\n          default:\n            return 'other';\n        }\n      }\n}\n","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\n\r\nconst routes: Routes = [\r\n    {\r\n        path: '',\r\n        pathMatch: 'full',\r\n        redirectTo: '/auth/login',\r\n    },\r\n    {\r\n        path: 'home',\r\n        canActivate:[],\r\n        loadChildren: () =>\r\n            import('modules/dashboard/dashboard-routing.module').then(\r\n                m => m.DashboardRoutingModule\r\n            ),\r\n    },\r\n    // {\r\n    //     path: 'user-profile',\r\n    //     canActivate:[],\r\n    //     loadChildren: () =>\r\n    //         import('modules/user-profile/user-profile-routing.module').then(\r\n    //             m => m.UserProfileRoutingModule\r\n    //         ),\r\n    // },\r\n    {\r\n        path: 'change-password',\r\n        canActivate:[],\r\n        loadChildren: () =>\r\n            import('modules/change-password/change-password-routing.module').then(\r\n                m => m.ChangePasswordRoutingModule\r\n            ),\r\n    },\r\n    {\r\n        path: 'auth',\r\n        loadChildren: () =>\r\n            import('modules/auth/auth-routing.module').then(m => m.AuthRoutingModule),\r\n    },\r\n];\r\n\r\n@NgModule({\r\n    imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })],\r\n    exports: [RouterModule],\r\n})\r\nexport class AppRoutingModule {}\r\n","export default \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJhcHAuY29tcG9uZW50LnNjc3MifQ== */\";","import { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\n\nif (environment.production) {\n    enableProdMode();\n}\n\nplatformBrowserDynamic()\n    .bootstrapModule(AppModule)\n    .catch(err => console.error(err));\n","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"zn8P\";"],"sourceRoot":"webpack:///"}