{"version":3,"sources":["./src/environments/environment.ts","./src/app/shared/directives/scroll-to.directive.ts","./src/app/shared/shared.module.ts","./src/app/shared/components/layouts/landing-layout/landing-layout.component.html","./src/app/app.component.ts","./src/app/shared/components/layouts/auth-layout/auth-layout.component.ts","./src/app/app.module.ts","./src/$_lazy_route_resource lazy namespace object","./src/app/shared/components/layouts/landing-layout/landing-layout.component.ts","./src/app/app-routing.module.ts","./src/app/app.component.html","./src/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,gFAAgF;AAChF,0EAA0E;AAC1E,gEAAgE;AAEzD,IAAM,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;CAClB,CAAC;AAEF;;;;;;GAMG;AACH,mEAAmE;;;;;;;;;;;;;ACfnE;AAAA;AAAA;AAAuF;AAEvF;IAEE,2BAA2C,KAAa,EAAU,EAAc;QAArC,UAAK,GAAL,KAAK,CAAQ;QAAU,OAAE,GAAF,EAAE,CAAY;IAAI,CAAC;IAErF,oCAAQ,GAAR,cAAY,CAAC;IAEb,4CAAgB,GAAhB;QACE,iCAAiC;QACjC,IAAI,IAAI,CAAC,WAAW;YAAE,OAAO,IAAI,CAAC,WAAW,CAAC;QAC9C,uCAAuC;QACvC,IAAI,QAAQ,CAAC,eAAe,IAAI,QAAQ,CAAC,eAAe,CAAC,SAAS;YAChE,OAAO,QAAQ,CAAC,eAAe,CAAC,SAAS,CAAC;QAC5C,+BAA+B;QAC/B,IAAI,QAAQ,CAAC,IAAI,CAAC,SAAS;YAAE,OAAO,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC;QAC5D,OAAO,CAAC,CAAC;IACX,CAAC;IAAA,CAAC;IAEF,wCAAY,GAAZ,UAAa,GAAG;QACd,IAAI,GAAG,GAAG,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;QACvC,IAAI,CAAC,GAAG,GAAG,CAAC,SAAS,CAAC;QACtB,IAAI,IAAI,GAAQ,GAAG,CAAC;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,CAAC;AAArE,CAAqE;AAVjF,qGAAqG;AAErG,IAAM,MAAM,GAAW;IACrB;QACE,IAAI,EAAE,EAAE;QACR,SAAS,EAAE,yHAAsB;QACjC,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,SAAS;gBACf,YAAY,IAC6D;aAC1E;SACF;KACF;CACF,CAAC;AAEF;IAAA;IAQ+B,CAAC;IAAD,uBAAC;AAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kGC1KhC,6IAAuB,KACnB,8lBAAe;;;;;;;;;;;;;;;;ACDnB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkB;AAC6B;AAIU;;;AAEzD,IAAI,qEAAW,CAAC,UAAU,EAAE;IAC1B,oEAAc,EAAE,CAAC;CAClB;AAED,2EAAwB,uBAAgB,CAAC,6EAAU;KAChD,KAAK,CAAC,aAAG,IAAI,cAAO,CAAC,KAAK,CAAC,GAAG,CAAC,EAAlB,CAAkB,CAAC,CAAC","file":"main.js","sourcesContent":["// This file can be replaced during build by using the `fileReplacements` array.\r\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\r\n// The list of file replacements can be found in `angular.json`.\r\n\r\nexport const environment = {\r\n production: false\r\n};\r\n\r\n/*\r\n * For easier debugging in development mode, you can import the following file\r\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\r\n *\r\n * This import should be commented out in production mode because it will have a negative impact\r\n * on performance if an error is thrown.\r\n */\r\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\r\n","import { Directive, ElementRef, Attribute, OnInit, HostListener } from '@angular/core';\r\n\r\n@Directive({ selector: '[scrollTo]' })\r\nexport class ScrollToDirective implements OnInit {\r\n constructor( @Attribute('scrollTo') public elmID: string, private el: ElementRef) { }\r\n\r\n ngOnInit() {}\r\n\r\n currentYPosition() {\r\n // Firefox, Chrome, Opera, Safari\r\n if (self.pageYOffset) return self.pageYOffset;\r\n // Internet Explorer 6 - standards mode\r\n if (document.documentElement && document.documentElement.scrollTop)\r\n return document.documentElement.scrollTop;\r\n // Internet Explorer 6, 7 and 8\r\n if (document.body.scrollTop) return document.body.scrollTop;\r\n return 0;\r\n };\r\n\r\n elmYPosition(eID) {\r\n var elm = document.getElementById(eID);\r\n var y = elm.offsetTop;\r\n var node: any = elm;\r\n while (node.offsetParent && node.offsetParent != document.body) {\r\n node = node.offsetParent;\r\n y += node.offsetTop;\r\n }\r\n return y;\r\n };\r\n\r\n @HostListener('click', ['$event'])\r\n smoothScroll() {\r\n if(!this.elmID)\r\n return;\r\n var startY = this.currentYPosition();\r\n var stopY = this.elmYPosition(this.elmID);\r\n var distance = stopY > startY ? stopY - startY : startY - stopY;\r\n if (distance < 100) {\r\n scrollTo(0, stopY);\r\n return;\r\n }\r\n var speed = Math.round(distance / 50);\r\n if (speed >= 20) speed = 20;\r\n var step = Math.round(distance / 25);\r\n var leapY = stopY > startY ? startY + step : startY - step;\r\n var timer = 0;\r\n if (stopY > startY) {\r\n for (var i = startY; i < stopY; i += step) {\r\n setTimeout(\"window.scrollTo(0, \" + leapY + \")\", timer * speed);\r\n leapY += step;\r\n if (leapY > stopY) leapY = stopY;\r\n timer++;\r\n }\r\n return;\r\n }\r\n for (var i = startY; i > stopY; i -= step) {\r\n setTimeout(\"window.scrollTo(0, \" + leapY + \")\", timer * speed);\r\n leapY -= step;\r\n if (leapY < stopY) leapY = stopY;\r\n timer++;\r\n }\r\n return false;\r\n };\r\n}","import { LandingLayoutComponent } from './components/layouts/landing-layout/landing-layout.component';\r\nimport { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { RouterModule } from '@angular/router';\r\n\r\n\r\n\r\nimport { AuthLayoutComponent } from './components/layouts/auth-layout/auth-layout.component';\r\n\r\n\r\n\r\nimport { ScrollToDirective } from './directives/scroll-to.directive';\r\n\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\n\r\n\r\nconst exportedClasses = [\r\n AuthLayoutComponent,\r\n\r\n\r\n\r\n ScrollToDirective,\r\n\r\n LandingLayoutComponent,\r\n\r\n];\r\n\r\n\r\n@NgModule({\r\n imports: [CommonModule, NgbModule, RouterModule],\r\n declarations: exportedClasses,\r\n exports: exportedClasses\r\n})\r\nexport class SharedModule {}\r\n","","import {Component, NgModule, OnInit} from '@angular/core';\r\nimport { Router, NavigationEnd, ActivatedRoute, ParamMap } from '@angular/router';\r\nimport {Observable} from 'rxjs';\r\nimport {map} from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.css']\r\n})\r\nexport class AppComponent implements OnInit {\r\n title = 'dexam';\r\n constructor(private route: ActivatedRoute, private _route: Router) {\r\n this.rout = _route;\r\n this.rous = route;\r\n const id: Observable = route.params.pipe(map(p => p.id));\r\n const url: Observable = route.url.pipe(map(segments => segments.join('')));\r\n // route.data includes both `data` and `resolve`\r\n // const user = route.data.pipe(map(d => d.user));\r\n }\r\n rout: Router;\r\n rous: ActivatedRoute;\r\n\r\n ngOnInit() {\r\n\r\n this.rout.events.subscribe(evt => {\r\n if (!(evt instanceof NavigationEnd)) {\r\n return;\r\n }\r\n window.scrollTo(0, 0);\r\n });\r\n }\r\n // onActivate(event) {\r\n // window.scroll(0, 0);\r\n // }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-auth-layout',\r\n templateUrl: './auth-layout.component.html',\r\n styleUrls: ['./auth-layout.component.scss']\r\n})\r\nexport class AuthLayoutComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","import { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule } from '@angular/core';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\n\r\nimport { AppRoutingModule } from './app-routing.module';\r\nimport { AppComponent } from './app.component';\r\nimport { SharedModule } from './shared/shared.module';\r\n\r\nimport { NgxGalleryModule } from 'ngx-gallery-9';\r\n\r\n\r\n@NgModule({\r\n declarations: [AppComponent],\r\n imports: [\r\n BrowserModule,\r\n SharedModule,\r\n BrowserAnimationsModule,\r\n\r\n AppRoutingModule,\r\n NgxGalleryModule,\r\n\r\n ],\r\n providers: [],\r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule {}\r\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 = \"crnd\";","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-landing-layout',\r\n templateUrl: './landing-layout.component.html',\r\n styleUrls: ['./landing-layout.component.scss']\r\n})\r\nexport class LandingLayoutComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","import {LandingLayoutComponent} from './shared/components/layouts/landing-layout/landing-layout.component';\r\nimport {NgModule} from '@angular/core';\r\nimport {Routes, RouterModule, Route, UrlMatchResult, UrlSegment, UrlSegmentGroup} from '@angular/router';\r\n\r\n\r\n/**\r\n * The primary routing outlet.\r\n *\r\n * @publicApi\r\n */\r\nexport const PRIMARY_OUTLET = 'primary';\r\n\r\n/**\r\n * A collection of matrix and query URL parameters.\r\n * @see `convertToParamMap()`\r\n * @see `ParamMap`\r\n *\r\n * @publicApi\r\n */\r\nexport interface Params {\r\n [key: string]: any;\r\n}\r\n\r\n/**\r\n * A map that provides access to the required and optional parameters\r\n * specific to a route.\r\n * The map supports retrieving a single value with `get()`\r\n * or multiple values with `getAll()`.\r\n *\r\n * @see [URLSearchParams](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)\r\n *\r\n * @publicApi\r\n */\r\nexport interface ParamMap {\r\n\r\n /** Names of the parameters in the map. */\r\n readonly keys: string[];\r\n /**\r\n * Reports whether the map contains a given parameter.\r\n * @param name The parameter name.\r\n * @returns True if the map contains the given parameter, false otherwise.\r\n */\r\n has(name: string): boolean;\r\n /**\r\n * Retrieves a single value for a parameter.\r\n * @param name The parameter name.\r\n * @return The parameter's single value,\r\n * or the first value if the parameter has multiple values,\r\n * or `null` when there is no such parameter.\r\n */\r\n get(name: string): string|null;\r\n /**\r\n * Retrieves multiple values for a parameter.\r\n * @param name The parameter name.\r\n * @return An array containing one or more values,\r\n * or an empty array if there is no such parameter.\r\n *\r\n */\r\n getAll(name: string): string[];\r\n}\r\n\r\nclass ParamsAsMap implements ParamMap {\r\n private params: Params;\r\n\r\n constructor(params: Params) { this.params = params || {}; }\r\n\r\n has(name: string): boolean { return this.params.hasOwnProperty(name); }\r\n\r\n get(name: string): string|null {\r\n if (this.has(name)) {\r\n const v = this.params[name];\r\n return Array.isArray(v) ? v[0] : v;\r\n }\r\n\r\n return null;\r\n }\r\n\r\n getAll(name: string): string[] {\r\n if (this.has(name)) {\r\n const v = this.params[name];\r\n return Array.isArray(v) ? v : [v];\r\n }\r\n\r\n return [];\r\n }\r\n\r\n get keys(): string[] { return Object.keys(this.params); }\r\n}\r\n\r\n/**\r\n * Converts a `Params` instance to a `ParamMap`.\r\n * @param params The instance to convert.\r\n * @returns The new map instance.\r\n *\r\n * @publicApi\r\n */\r\nexport function convertToParamMap(params: Params): ParamMap {\r\n return new ParamsAsMap(params);\r\n}\r\n\r\nconst NAVIGATION_CANCELING_ERROR = 'ngNavigationCancelingError';\r\n\r\nexport function navigationCancelingError(message: string) {\r\n const error = Error('NavigationCancelingError: ' + message);\r\n (error as any)[NAVIGATION_CANCELING_ERROR] = true;\r\n return error;\r\n}\r\n\r\nexport function isNavigationCancelingError(error: Error) {\r\n return error && (error as any)[NAVIGATION_CANCELING_ERROR];\r\n}\r\n\r\n// Matches the route configuration (`route`) against the actual URL (`segments`).\r\nexport function defaultUrlMatcher(\r\n segments: UrlSegment[], segmentGroup: UrlSegmentGroup, route: Route): UrlMatchResult|null {\r\n // tslint:disable-next-line:no-non-null-assertion\r\n const parts = route.path !.split('/');\r\n\r\n if (parts.length > segments.length) {\r\n // The actual URL is shorter than the config, no match\r\n return null;\r\n }\r\n\r\n if (route.pathMatch === 'full' &&\r\n (segmentGroup.hasChildren() || parts.length < segments.length)) {\r\n // The config is longer than the actual URL but we are looking for a full match, return null\r\n return null;\r\n }\r\n\r\n const posParams: {[key: string]: UrlSegment} = {};\r\n\r\n // Check each config part against the actual URL\r\n for (let index = 0; index < parts.length; index++) {\r\n const part = parts[index];\r\n const segment = segments[index];\r\n const isParameter = part.startsWith(':');\r\n if (isParameter) {\r\n posParams[part.substring(1)] = segment;\r\n } else if (part !== segment.path) {\r\n // The actual URL part does not match the config, no match\r\n return null;\r\n }\r\n }\r\n\r\n return {consumed: segments.slice(0, parts.length), posParams};\r\n}\r\n// import {AuthLayoutComponent} from './shared/components/layouts/auth-layout/auth-layout.component';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '',\r\n component: LandingLayoutComponent,\r\n children: [\r\n {\r\n path: 'landing',\r\n loadChildren: () =>\r\n import('./views/landing/landing.module').then((m) => m.LandingModule),\r\n },\r\n ],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [\r\n RouterModule.forRoot(\r\n routes, {useHash: true}\r\n )\r\n ],\r\n exports: [RouterModule],\r\n})\r\nexport class AppRoutingModule {}\r\n","\r\n \r\n
\r\n","import 'hammerjs';\r\nimport { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule)\r\n .catch(err => console.error(err));\r\n\r\n"],"sourceRoot":"webpack:///"}