{"version":3,"sources":["version.json","apps/web-portal/src/app/metadata.service.ts","apps/web-portal/src/app/core/navigation/navigation.service.ts"],"sourcesContent":["{\n \"version\": \"2.62.0\"\n}\n","import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class MetaDataService {\n\tconstructor() {}\n\n\tgetAppVersion() {\n return MetaDataService.getAppVersion();\n\t}\n\n static getAppVersion() {\n let build: any;\n\n try {\n build = require('../../../../version.json');\n } catch (error) {\n build = { version: 'local-dev' };\n }\n\n\t\treturn build?.version;\n }\n\n}\n","import { Injectable, inject } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport { Observable, ReplaySubject, tap } from 'rxjs';\nimport { Navigation } from 'app/core/navigation/navigation.types';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class NavigationService {\n private _httpClient = inject(HttpClient);\n\n private _navigation: ReplaySubject = new ReplaySubject(1);\n\n /** Inserted by Angular inject() migration for backwards compatibility */\n constructor(...args: unknown[]);\n\n /**\n * Constructor\n */\n constructor() {\n }\n\n // -----------------------------------------------------------------------------------------------------\n // @ Accessors\n // -----------------------------------------------------------------------------------------------------\n\n /**\n * Getter for navigation\n */\n get navigation$(): Observable {\n return this._navigation.asObservable();\n }\n\n // -----------------------------------------------------------------------------------------------------\n // @ Public methods\n // -----------------------------------------------------------------------------------------------------\n\n /**\n * Get all navigation data\n */\n get(): Observable {\n return this._httpClient.get('api/common/navigation').pipe(\n tap((navigation) => {\n this._navigation.next(navigation);\n })\n );\n }\n}\n"],"names":["require_version","__commonJSMin","exports","module","MetaDataService","constructor","getAppVersion","build","require","version","factory","ɵfac","providedIn","NavigationService","constructor","_httpClient","inject","HttpClient","_navigation","ReplaySubject","navigation$","asObservable","get","pipe","tap","navigation","next","factory","ɵfac","providedIn"],"mappings":";;+IAAA,IAAAA,EAAAC,EAAA,CAAAC,EAAAC,IAAA,CAAAA,EAAA,SACE,QAAW,QACb,ICGA,IAAaC,GAAe,IAAA,CAAtB,MAAOA,CAAe,CAC3BC,aAAA,CAAe,CAEfC,eAAa,CACV,OAAOF,EAAgBE,cAAa,CACvC,CAEC,OAAOA,eAAa,CAClB,IAAIC,EAEJ,GAAI,CACFA,EAAQC,GACV,MAAgB,CACdD,EAAQ,CAAEE,QAAS,WAAW,CAChC,CAEF,OAAOF,GAAOE,OACd,iDAjBWL,EAAe,CAAA,iCAAfA,EAAeM,QAAfN,EAAeO,UAAAC,WAFd,MAAM,CAAA,CAAA,SAEPR,CAAe,GAAA,ECG5B,IAAaS,GAAiB,IAAA,CAAxB,MAAOA,CAAiB,CAW5BC,aAAA,CAVQ,KAAAC,YAAcC,EAAOC,CAAU,EAE/B,KAAAC,YAAyC,IAAIC,EAA0B,CAAC,CAShF,CASA,IAAIC,aAAW,CACb,OAAO,KAAKF,YAAYG,aAAY,CACtC,CASAC,KAAG,CACD,OAAO,KAAKP,YAAYO,IAAgB,uBAAuB,EAAEC,KAC/DC,EAAKC,GAAc,CACjB,KAAKP,YAAYQ,KAAKD,CAAU,CAClC,CAAC,CAAC,CAEN,iDAtCWZ,EAAiB,CAAA,iCAAjBA,EAAiBc,QAAjBd,EAAiBe,UAAAC,WAFhB,MAAM,CAAA,CAAA,SAEPhB,CAAiB,GAAA","debug_id":"8d29d5da-8648-5993-8fb6-aba46951a324"}