{ "version": 3, "sources": ["src/app/shared/Services/loader.service.ts"], "sourcesContent": ["import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class LoaderService {\r\n private loadingSubject = new BehaviorSubject(false);\r\n loading$ = this.loadingSubject.asObservable();\r\n\r\n constructor() {}\r\n\r\n showLoader() {\r\n this.loadingSubject.next(true);\r\n }\r\n\r\n hideLoader() {\r\n this.loadingSubject.next(false);\r\n }\r\n}\r\n"], "mappings": "gDAKA,IAAaA,GAAa,IAAA,CAApB,MAAOA,CAAa,CAIxBC,aAAA,CAHQ,KAAAC,eAAiB,IAAIC,EAAyB,EAAK,EAC3D,KAAAC,SAAW,KAAKF,eAAeG,aAAY,CAE5B,CAEfC,YAAU,CACR,KAAKJ,eAAeK,KAAK,EAAI,CAC/B,CAEAC,YAAU,CACR,KAAKN,eAAeK,KAAK,EAAK,CAChC,iDAZWP,EAAa,CAAA,iCAAbA,EAAaS,QAAbT,EAAaU,UAAAC,WAFZ,MAAM,CAAA,CAAA,SAEPX,CAAa,GAAA", "names": ["LoaderService", "constructor", "loadingSubject", "BehaviorSubject", "loading$", "asObservable", "showLoader", "next", "hideLoader", "factory", "\u0275fac", "providedIn"] }