{ "version": 3, "sources": ["src/app/services/api/internal/language.service.ts"], "sourcesContent": ["import { Inject, Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { LanguageItem } from '@shared/interfaces';\nimport { RestApiService } from '@services/rest-api/rest-api.service';\nimport { API_PATH } from '@shared/tokens';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class LanguageService {\n constructor(\n private http: RestApiService,\n @Inject(API_PATH) private readonly apiPath: string,\n ) {}\n\n getAvailableLanguages(): Observable {\n return this.http.get(this.apiPath + `/languages/available`);\n }\n}\n"], "mappings": "iIASA,IAAaA,GAAe,IAAA,CAAtB,MAAOA,CAAe,CAC1BC,YACUC,EAC2BC,EAAe,CAD1C,KAAAD,KAAAA,EAC2B,KAAAC,QAAAA,CAClC,CAEHC,uBAAqB,CACnB,OAAO,KAAKF,KAAKG,IAAoB,KAAKF,QAAU,sBAAsB,CAC5E,iDARWH,GAAeM,EAAAC,CAAA,EAAAD,EAGhBE,CAAQ,CAAA,CAAA,CAAA,iCAHPR,EAAeS,QAAfT,EAAeU,UAAAC,WAFd,MAAM,CAAA,CAAA,SAEPX,CAAe,GAAA", "names": ["LanguageService", "constructor", "http", "apiPath", "getAvailableLanguages", "get", "\u0275\u0275inject", "RestApiService", "API_PATH", "factory", "\u0275fac", "providedIn"] }