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EA;EAEAyQ,MAAM,EAAE,8DA9BiB;EAgCzB3Q,gBAAgB,EAAE,gDAhCO;EAiCzBC,iBAAiB,EAAE,iDAjCM;EAmCzB2Q,YAAY,EAAC,4BAnCY;EAoCzB1B,eAAe,EAAE,2CApCQ;EAwCzB;EACA;EACA;EAGAld,gBAAgB,EAAE,yCA7CO;EA8CzB6e,WAAW,EAAE,kCA9CY;EA+CzBzT,UAAU,EAAE,+BA/Ca;EAiDzByH,aAAa,EAAE;AAjDU,CAApB;AAqDP;;;;;;;;;;;;;;;;;;;;;;;ACzDA;AACA;AAEA;AACA;;AAEA,IAAI5U,6EAAJ,EAA4B;EAC1B6gB,6DAAc;AACf;;AAEDC,yFAAsB,GAAGC,eAAzB,CAAyCja,sDAAzC,EACGka,KADH,CACS,aAAG;EAAA,OAAIzL,OAAO,CAAC0L,GAAR,CAAYC,GAAZ,CAAJ;AAAA,CADZ;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA,wCAAwC;AACxC;AACA","sources":["./src/app/app-routing.module.ts","./src/app/app.component.ts","./src/app/app.module.ts","./src/app/components/SharedComponent.module.ts","./src/app/components/consent/consent.component.ts","./src/app/components/customer-feedback-form/customer-feedback-form.component.ts","./src/app/components/mail-sent/mail-sent.component.ts","./src/app/dataservices/api-configuration.service.ts","./src/app/dataservices/base-api.service.ts","./src/app/guards/auth.guard.ts","./src/app/interface/customer-feedback-model.ts","./src/app/interface/customer-profile-model.ts","./src/app/interface/post-lead-model.ts","./src/app/pages/layout/layout.page.ts","./src/app/pipe/license-plate-format.pipe.ts","./src/app/services/analytics.service.ts","./src/app/services/common/loader.service.ts","./src/app/services/common/platform.service.ts","./src/app/services/common/storage.service.ts","./src/app/services/common/theme-switcher.service.ts","./src/app/services/customer.service.ts","./src/app/services/dealer.service.ts","./src/app/services/mgApi-services.ts","./src/app/services/notification.service.ts","./src/app/services/redirection.service.ts","./src/app/services/registration.service.ts","./src/environments/environment.ts","./src/main.ts","./node_modules/@ionic/core/dist/esm/ lazy ^\\.\\/.*\\.entry\\.js$ include: \\.entry\\.js$ exclude: \\.system\\.entry\\.js$ namespace object"],"sourcesContent":["import { NgModule } from '@angular/core';\r\nimport { PreloadAllModules, RouterModule, Routes } from '@angular/router';\r\nimport { AuthGuard } from './guards/auth.guard';\r\nimport { LayoutPage } from './pages/layout/layout.page';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '',\r\n redirectTo: 'login',\r\n pathMatch: 'full',\r\n },\r\n {\r\n path: 'login',\r\n loadChildren: () =>\r\n import('./pages/login/login.module').then((m) => m.LoginPageModule),\r\n },\r\n {\r\n path: 'otp-verification',\r\n loadChildren: () =>\r\n import('./pages/otp-verification/otp-verification.module').then(\r\n (m) => m.OtpVerificationPageModule\r\n ),\r\n },\r\n {\r\n path: 'privacy',\r\n loadChildren: () => import('./pages/privacy/privacy.module').then( \r\n m => m.PrivacyPageModule),\r\n },\r\n {\r\n path: '',\r\n component: LayoutPage,\r\n children: [\r\n {\r\n path: 'vehicle-list',\r\n loadChildren: () =>\r\n import('./pages/vehicle-list/vehicle-list.module').then(\r\n (m) => m.VehicleListPageModule\r\n ),\r\n data: { breadcrumb: 'My Vehicles' },\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'my-profile',\r\n loadChildren: () =>\r\n import('./pages/my-profile/my-profile.module').then(\r\n (m) => m.MyProfilePageModule\r\n ),\r\n data: { breadcrumb: 'My Profile' },\r\n canActivate: [AuthGuard],\r\n },\r\n \r\n {\r\n path: 'my-dealer',\r\n loadChildren: () =>\r\n import('./pages/my-dealer/my-dealer.module').then(\r\n (m) => m.MyDealerPageModule\r\n ),\r\n data: { breadcrumb: 'My dealer' },\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'know-my-car',\r\n loadChildren: () =>\r\n import('./pages/know-my-car/know-my-car.module').then(\r\n (m) => m.KnowMyCarPageModule\r\n ),\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'sos',\r\n loadChildren: () =>\r\n import('./pages/sos/sos.module').then((m) => m.SosPageModule),\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'proximity-services',\r\n loadChildren: () =>\r\n import('./pages/proximity-services/proximity-services.module').then(\r\n (m) => m.ProximityServicesPageModule\r\n ),\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'buy-used-car',\r\n loadChildren: () =>\r\n import('./pages/buy-used-car/buy-used-car.module').then(\r\n (m) => m.BuyUsedCarPageModule\r\n ),\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'buy-new-car',\r\n loadChildren: () =>\r\n import('./pages/buy-new-car/buy-new-car.module').then(\r\n (m) => m.BuyNewCarPageModule\r\n ),\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'vehicle-order-tracker',\r\n loadChildren: () =>\r\n import(\r\n './pages/vehicle-order-tracker/vehicle-order-tracker.module'\r\n ).then((m) => m.VehicleOrderTrackerPageModule),\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'glove-box',\r\n loadChildren: () =>\r\n import('./pages/glove-box/glove-box.module').then(\r\n (m) => m.GloveBoxPageModule\r\n ),\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'gift-cards',\r\n loadChildren: () =>\r\n import('./pages/gift-cards/gift-cards.module').then(\r\n (m) => m.GiftCardsPageModule\r\n ),\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'loyalty-points',\r\n loadChildren: () =>\r\n import('./pages/loyalty-points/loyalty-points.module').then(\r\n (m) => m.LoyaltyPointsPageModule\r\n ),\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'vehicle-details',\r\n loadChildren: () =>\r\n import('./pages/vehicle-details/vehicle-details.module').then(\r\n (m) => m.VehicleDetailsPageModule\r\n ),\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'user-manual',\r\n loadChildren: () =>\r\n import('./pages/user-manual/user-manual.module').then(\r\n (m) => m.UserManualPageModule\r\n ),\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'service-history',\r\n loadChildren: () =>\r\n import('./pages/service-history/service-history.module').then(\r\n (m) => m.ServiceHistoryPageModule\r\n ),\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'my-offers',\r\n loadChildren: () =>\r\n import('./pages/my-offers/my-offers.module').then(\r\n (m) => m.MyOffersPageModule\r\n ),\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'service-history-detail/:id',\r\n loadChildren: () =>\r\n import('./pages/service-history/service-history-detail/service-history-detail.module').then(\r\n (m) => m.ServiceHistoryDetailPageModule\r\n ),\r\n canActivate: [AuthGuard],\r\n },\r\n // {\r\n // path: 'offer-detail/:id',\r\n // loadChildren: () =>\r\n // import('./pages/my-offers/offer-detail/offer-detail.module').then(\r\n // (m) => m.OfferDetailPageModule\r\n // ),\r\n // canActivate: [AuthGuard],\r\n // },\r\n {\r\n path: 'tips-and-advice',\r\n loadChildren: () =>\r\n import('./pages/tips-and-advice/tips-and-advice.module').then(\r\n (m) => m.TipsAndAdvicePageModule\r\n ),\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'notification-details',\r\n loadChildren: () =>\r\n import(\r\n './pages/notification-details/notification-details.module'\r\n ).then((m) => m.NotificationDetailsPageModule),\r\n canActivate: [AuthGuard],\r\n },\r\n // {\r\n // path: 'my-offers',\r\n // loadChildren: () =>\r\n // import('./pages/my-offers/my-offers.module').then(\r\n // (m) => m.MyOffersPageModule\r\n // ),\r\n // canActivate: [AuthGuard],\r\n // },\r\n {\r\n path: 'configured-car',\r\n loadChildren: () => import('./pages/configured-car/configured-car.module').then(\r\n m => m.ConfiguredCarPageModule),\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'notification-list',\r\n loadChildren: () => import('./pages/notification-list/notification-list.module').then(\r\n m => m.NotificationListPageModule),\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: 'terms-and-condition',\r\n loadChildren: () => import('./pages/terms-and-condition/terms-and-condition.module').then( \r\n m => m.TermsAndConditionPageModule),\r\n canActivate: [AuthGuard],\r\n }, \r\n ],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [\r\n RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules }),\r\n ],\r\n exports: [RouterModule],\r\n providers: [AuthGuard],\r\n})\r\nexport class AppRoutingModule {}\r\n","import { Router, NavigationEnd } from '@angular/router';\r\nimport { ThemeSwitcherService } from 'src/app/services/common/theme-switcher.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { Component, OnInit, Optional, QueryList, ViewChildren } from '@angular/core';\r\nimport { environment } from 'src/environments/environment';\r\nimport { StorageService } from './services/common/storage.service';\r\nimport { AlertController, IonRouterOutlet, NavController, Platform, ToastController } from '@ionic/angular';\r\nimport { AnalyticsService } from './services/analytics.service';\r\n\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 implements OnInit {\r\n private lastTimeBackButtonWasPressed = 0;\r\n private timePeriodToAction = 2000;\r\n @ViewChildren(IonRouterOutlet) routerOutlets: QueryList;\r\n constructor(\r\n private themeSwitcher: ThemeSwitcherService,\r\n private translate: TranslateService,\r\n private storageService: StorageService,\r\n private platform: Platform,\r\n @Optional() private routerOutlet: IonRouterOutlet,\r\n private alertCtrl: AlertController,\r\n private router:Router,\r\n private toastController: ToastController,\r\n private navControlelr: NavController,\r\n private alertController: AlertController,\r\n private analyticsService: AnalyticsService,\r\n \r\n )\r\n {\r\n this.initializeApp();\r\n this.backButtonEvent();\r\n\r\n this.themeSwitcher.changeTheme('hongqi');\r\n this.translate.setDefaultLang('no'); \r\n const element = document.getElementById('googleMapsScript');\r\n if (!element) {\r\n const googleMapsScriptElement = document.createElement('script');\r\n googleMapsScriptElement.id = 'googleMapsScript';\r\n googleMapsScriptElement.setAttribute(\r\n 'src',\r\n `https://maps.googleapis.com/maps/api/js?key=${environment.googleMapsApiKey}&libraries=places`\r\n );\r\n document.head.appendChild(googleMapsScriptElement);\r\n }\r\n }\r\n initializeApp() {\r\n this.analyticsService.startTrackerWithId('G-9QDC54PC6Z');//Prod\r\n // this.analyticsService.startTrackerWithId('G-Z6YEW2Q5HC');//Uat\r\n}\r\n backButtonEvent() {\r\n this.platform.backButton.subscribeWithPriority(10, async () => {\r\n const currentUrl = this.router.url;\r\n if (currentUrl === \"/know-my-car\") {\r\n this.withDoublePress(this.translate.instant('Notification.ExitApp'), () => {\r\n navigator['app'].exitApp();\r\n });\r\n } else {\r\n this.navControlelr.back();\r\n }\r\n });\r\n}\r\n\r\n\r\nasync withDoublePress(message: string, action: () => void) {\r\n const currentTime = new Date().getTime();\r\n if (currentTime - this.lastTimeBackButtonWasPressed < this.timePeriodToAction) {\r\n action();\r\n } else {\r\n const toast = await this.toastController.create({\r\n message: message,\r\n duration: this.timePeriodToAction\r\n });\r\n await toast.present();\r\n this.lastTimeBackButtonWasPressed = currentTime;\r\n }\r\n}\r\ninitMap(){\r\n\r\n}\r\n async ngOnInit() {\r\n await this.storageService.init();\r\n this.storageService.get('selectedLanguage').then(resp=>{\r\n if(resp!=null){\r\n this.translate.use(resp);\r\n }\r\n })\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { RouteReuseStrategy } from '@angular/router';\r\nimport { IonicModule, IonicRouteStrategy } from '@ionic/angular';\r\nimport { LayoutPage } from './pages/layout/layout.page';\r\nimport { AppComponent } from './app.component';\r\nimport { AppRoutingModule } from './app-routing.module';\r\nimport { TranslateLoader, TranslateModule } from '@ngx-translate/core';\r\nimport { TranslateHttpLoader } from '@ngx-translate/http-loader';\r\nimport { HttpClient, HttpClientModule } from '@angular/common/http';\r\nimport { NotifierOptions, NotifierModule } from 'angular-notifier';\r\nimport { NgHttpLoaderModule } from 'ng-http-loader';\r\nimport { Ng2TelInputModule } from 'ng2-tel-input';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { IonicStorageModule } from '@ionic/storage-angular';\r\nimport { IonicSelectableModule } from 'ionic-selectable';\r\nimport { NgOtpInputModule } from 'ng-otp-input';\r\nimport { IonIntlTelInputModule } from 'ion-intl-tel-input';\r\nimport { CommonModule } from '@angular/common';\r\nimport { InAppBrowser } from '@awesome-cordova-plugins/in-app-browser/ngx';\r\nimport { SharedComponentModule } from './components/SharedComponent.module';\r\nimport { JwtModule, JwtHelperService, JWT_OPTIONS } from \"@auth0/angular-jwt\";\r\nimport { AnalyticsService } from './services/analytics.service';\r\n\r\nconst customNotifierOptions: NotifierOptions = {\r\n position: {\r\n horizontal: {\r\n position: 'right',\r\n distance: 12,\r\n },\r\n vertical: {\r\n position: 'top',\r\n distance: 70,\r\n gap: 10,\r\n },\r\n },\r\n theme: 'material',\r\n behaviour: {\r\n autoHide: 3000,\r\n onClick: 'hide',\r\n onMouseover: 'pauseAutoHide',\r\n showDismissButton: true,\r\n stacking: 4,\r\n },\r\n animations: {\r\n enabled: true,\r\n show: {\r\n preset: 'slide',\r\n speed: 300,\r\n easing: 'ease',\r\n },\r\n hide: {\r\n preset: 'fade',\r\n speed: 300,\r\n easing: 'ease',\r\n offset: 50,\r\n },\r\n shift: {\r\n speed: 300,\r\n easing: 'ease',\r\n },\r\n overlap: 150,\r\n },\r\n};\r\n\r\n@NgModule({\r\n declarations: [AppComponent, LayoutPage, ],\r\n imports: [\r\n BrowserModule,\r\n FormsModule,\r\n ReactiveFormsModule ,\r\n IonicSelectableModule,\r\n IonicModule.forRoot({\r\n mode: 'md',\r\n }),\r\n CommonModule,\r\n AppRoutingModule,\r\n HttpClientModule,\r\n Ng2TelInputModule.forRoot(),\r\n NotifierModule.withConfig(customNotifierOptions),\r\n NgHttpLoaderModule.forRoot(),\r\n NgOtpInputModule,\r\n IonIntlTelInputModule,\r\n TranslateModule.forRoot({\r\n loader: {\r\n provide: TranslateLoader,\r\n useFactory: HttpLoaderFactory,\r\n deps: [HttpClient],\r\n },\r\n }),\r\n IonicStorageModule.forRoot(),\r\n SharedComponentModule,\r\n JwtModule\r\n ],\r\n providers: [{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy },InAppBrowser,{ provide: JWT_OPTIONS, useValue: JWT_OPTIONS },\r\n JwtHelperService,AnalyticsService],\r\n bootstrap: [AppComponent],\r\n exports:[]\r\n})\r\nexport class AppModule {}\r\n\r\nexport function HttpLoaderFactory(http: HttpClient): TranslateHttpLoader {\r\n return new TranslateHttpLoader(http);\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { IonicModule } from '@ionic/angular';\r\nimport { MailSentComponent } from './mail-sent/mail-sent.component';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\nimport { LicensePlateFormatPipe } from '../pipe/license-plate-format.pipe';\r\nimport { ConsentComponent } from './consent/consent.component';\r\nimport { CustomerFeedbackFormComponent } from './customer-feedback-form/customer-feedback-form.component';\r\nimport { IonIntlTelInputModule } from 'ion-intl-tel-input';\r\n\r\n@NgModule({\r\n imports:[IonicModule, CommonModule, FormsModule,TranslateModule,ReactiveFormsModule,IonIntlTelInputModule ],\r\n declarations:[MailSentComponent,LicensePlateFormatPipe,ConsentComponent,CustomerFeedbackFormComponent],\r\n exports:[MailSentComponent,LicensePlateFormatPipe,ConsentComponent,CustomerFeedbackFormComponent]\r\n})\r\n\r\nexport class SharedComponentModule{}\r\n","import { IonModal, AlertController } from '@ionic/angular';\r\nimport { Component, Input, Output, EventEmitter, OnInit } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { CustomerProfileModel } from 'src/app/interface/customer-profile-model';\r\n\r\n\r\n@Component({\r\n selector: 'app-consent',\r\n templateUrl: './consent.component.html',\r\n styleUrls: ['./consent.component.scss'],\r\n})\r\nexport class ConsentComponent implements OnInit {\r\n \r\n @Output() someEvent = new EventEmitter();\r\n @Input() customerData: CustomerProfileModel = new CustomerProfileModel();\r\n oldConsent=null;\r\n constructor(\r\n private modal:IonModal,\r\n private alertController: AlertController,\r\n private translate: TranslateService,\r\n ) {}\r\n\r\n ngOnInit(): void {\r\n this.oldConsent = Object.assign({},this.customerData);\r\n }\r\n\r\n closeModel(){\r\n this.modal.dismiss();\r\n this.modal.isOpen=false;\r\n }\r\n\r\n submitConsent(){\r\n this.alertController\r\n .create({\r\n header: this.translate.instant('Consent.Consentconfirmation'),\r\n cssClass: 'my-custom-alert',\r\n message:this.translate.instant('Consent.AreYouSureChangeConsent'),\r\n buttons: [\r\n {\r\n text: this.translate.instant('MyDealer.NO'),\r\n },\r\n {\r\n text: this.translate.instant('MyDealer.YES'),\r\n handler: () => {\r\n this.closeModel()\r\n this.updateCustomerConsent()\r\n }\r\n }\r\n ],\r\n backdropDismiss:false\r\n })\r\n .then(res => {\r\n res.present();\r\n });\r\n }\r\n\r\n checkBoxTick(){\r\n if(this.oldConsent.campaignConsent == false){\r\n this.oldConsent.emailConsent = true;\r\n this.oldConsent.smsConsent =true;\r\n }\r\n else if(this.oldConsent.campaignConsent == true){\r\n this.oldConsent.emailConsent = false;\r\n this.oldConsent.smsConsent =false;\r\n }\r\n }\r\n\r\n updateCustomerConsent(){\r\n this.someEvent.emit(this.oldConsent);\r\n }\r\n\r\n}\r\n","import { Component, Input, ViewChild } from '@angular/core';\r\nimport { FormControl, FormGroup, Validators } from '@angular/forms';\r\nimport { Keyboard } from '@capacitor/keyboard';\r\nimport { IonModal, IonRadioGroup, Platform } from '@ionic/angular';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { NotifierService } from 'angular-notifier';\r\nimport {\r\n IonIntlTelInputModel,\r\n IonIntlTelInputValidators,\r\n} from 'ion-intl-tel-input';\r\nimport { CustomerFeedbackModel } from 'src/app/interface/customer-feedback-model';\r\nimport { EmailModel } from 'src/app/interface/email-model';\r\nimport { CustomerService } from 'src/app/services/customer.service';\r\nimport { environment } from 'src/environments/environment';\r\n@Component({\r\n selector: 'app-customer-feedback-form',\r\n templateUrl: './customer-feedback-form.component.html',\r\n styleUrls: ['./customer-feedback-form.component.scss'],\r\n})\r\nexport class CustomerFeedbackFormComponent {\r\n @Input() from = '';\r\n @Input() fromEmail = '';\r\n @ViewChild('radioGroup') isMGCustomer: IonRadioGroup;\r\n selectedRadioGroup: any;\r\n enable: boolean = true;\r\n email: string = '';\r\n name: string = '';\r\n brand:string='';\r\n isName: boolean = false;\r\n isEmail: boolean = false;\r\n isRegNo: boolean = false;\r\n isPhone: boolean = false;\r\n isBrand: boolean = false;\r\n emailModel: EmailModel;\r\n\r\n defaultCountryIsoTest = 'no';\r\n dialCodePrefix = '+';\r\n enableAutoCountrySelect = false;\r\n fallbackPlaceholder = '';\r\n maxLength = '15';\r\n modalTitle = 'Select Country';\r\n modalCssClass = '';\r\n modalSearchPlaceholder = 'Enter country name';\r\n modalCloseText = 'Close';\r\n modalCloseButtonSlot = 'end';\r\n modalCanSearch = true;\r\n modalShouldBackdropClose = true;\r\n modalShouldFocusSearchbar = true;\r\n modalSearchFailText = 'No countries found.';\r\n onlyCountries = [];\r\n preferredCountries = [];\r\n selectFirstCountry = true;\r\n separateDialCode = true;\r\n subject = '';\r\n phoneObj: IonIntlTelInputModel = {\r\n dialCode: '+47',\r\n internationalNumber: '',\r\n isoCode: 'no',\r\n nationalNumber: '',\r\n };\r\n formValue = { phoneNumber: this.phoneObj, test: '' };\r\n disableTest = false;\r\n regNo: string = '';\r\n description: string = '';\r\n radioSelection: string = '';\r\n mobileNo: any = '';\r\n customerFeedback: CustomerFeedbackModel = new CustomerFeedbackModel();\r\n\r\n constructor(\r\n private plateform: Platform,\r\n private customerService: CustomerService,\r\n private notifierService: NotifierService,\r\n private mailSentComponent: IonModal,\r\n private translate: TranslateService\r\n ) {}\r\n\r\n registrationForm = new FormGroup({\r\n Name: new FormControl(),\r\n Email: new FormControl('', [\r\n Validators.required,\r\n Validators.pattern(\r\n '[A-Za-z0-9._%+-]{3,}@[a-zA-Z-]{3,}([.]{1}[a-zA-Z]{2,}|[.]{1}[a-zA-Z]{2,}[.]{1}[a-zA-Z]{2,})'\r\n ),\r\n ]),\r\n MobileNumber: new FormControl(\r\n {\r\n value: this.phoneObj,\r\n disabled: this.disableTest,\r\n },\r\n [Validators.required, IonIntlTelInputValidators.phone]\r\n ),\r\n RegNo: new FormControl(),\r\n Description: new FormControl(),\r\n RadioSelection: new FormControl(),\r\n Brand: new FormControl('',[Validators.required])\r\n });\r\n\r\n ionViewWillEnter() {\r\n this.phoneObj.nationalNumber = '';\r\n this.registrationForm.reset();\r\n }\r\n\r\n get phoneNumberControl() {\r\n return this.registrationForm.get('MobileNumber');\r\n }\r\n\r\n radioGroupChange() {\r\n if (this.isMGCustomer.value == 'Not MG Customer') {\r\n this.enable = false;\r\n this.registrationForm.reset();\r\n } else {\r\n this.enable = true;\r\n }\r\n }\r\n\r\n onRegister() {\r\n this.validate();\r\n\r\n let sub = 'Customer Feedback Details';\r\n this.customerFeedback.name = this.name;\r\n this.customerFeedback.email = this.email;\r\n this.customerFeedback.mobileNo = this.mobileNo;\r\n this.customerFeedback.carDetail = this.radioSelection;\r\n this.customerFeedback.description = this.description;\r\n\r\n if (\r\n !this.isEmail &&\r\n !this.isPhone &&\r\n !this.isName &&\r\n this.isMGCustomer.value == 'MG Customer' &&\r\n !this.isRegNo &&\r\n !this.isBrand\r\n ) {\r\n this.customerFeedback.registrationNo = this.regNo;\r\n this.customerFeedback.brand = this.brand;\r\n this.customerFeedback.isMGCustomer=true;\r\n this.emailModel = {\r\n body: '',\r\n from: this.email,\r\n to: environment.adminEmail,\r\n subject: sub,\r\n Customer: null,\r\n CustomerFeedback: this.customerFeedback,\r\n };\r\n this.customerService.sendEmail(this.emailModel).then((resp) => {\r\n resp.subscribe((response) => {\r\n if (response) {\r\n this.notifierService.notify(\r\n 'success',\r\n this.translate.instant('MailComponent.NotifierSuccess')\r\n );\r\n this.mailSentComponent.dismiss();\r\n this.registrationForm.reset();\r\n } else {\r\n this.registrationForm.reset();\r\n this.mailSentComponent.dismiss();\r\n this.notifierService.notify(\r\n 'error',\r\n this.translate.instant('MailComponent.NotifierFail')\r\n );\r\n }\r\n });\r\n });\r\n } else if (\r\n !this.isEmail &&\r\n !this.isPhone &&\r\n !this.isName &&\r\n this.isMGCustomer.value == 'Not MG Customer'\r\n ) {\r\n this.customerFeedback.registrationNo = null;\r\n this.customerFeedback.isMGCustomer=false;\r\n this.emailModel = {\r\n body: '',\r\n from: this.email,\r\n to: environment.adminEmail,\r\n subject: sub,\r\n Customer: null,\r\n CustomerFeedback: this.customerFeedback,\r\n };\r\n this.customerService.sendEmail(this.emailModel).then((resp) => {\r\n resp.subscribe((response) => {\r\n if (response) {\r\n this.notifierService.notify(\r\n 'success',\r\n this.translate.instant('MailComponent.NotifierSuccess')\r\n );\r\n this.mailSentComponent.dismiss();\r\n this.registrationForm.reset();\r\n } else {\r\n this.registrationForm.reset();\r\n this.mailSentComponent.dismiss();\r\n this.notifierService.notify(\r\n 'error',\r\n this.translate.instant('MailComponent.NotifierFail')\r\n );\r\n }\r\n });\r\n });\r\n }\r\n }\r\n\r\n validate() {\r\n this.name = this.registrationForm.get('Name').value;\r\n this.brand = this.registrationForm.get('Brand').value;\r\n this.email = this.registrationForm.get('Email').value;\r\n this.regNo = this.registrationForm.get('RegNo').value;\r\n this.description = this.registrationForm.get('Description').value;\r\n this.radioSelection = this.registrationForm.get('RadioSelection').value;\r\n var data = this.registrationForm.get('MobileNumber').value;\r\n this.mobileNo = data?.internationalNumber;\r\n\r\n if (this.name == null) {\r\n this.isName = true;\r\n } else {\r\n this.isName = false;\r\n }\r\n if (this.email == null || this.email==\"\") {\r\n this.isEmail = true;\r\n } else {\r\n this.isEmail = false;\r\n }\r\n if (this.regNo == null) {\r\n this.isRegNo = true;\r\n } else {\r\n this.isRegNo = false;\r\n }\r\n if (this.brand == \"\" || this.brand==null) {\r\n this.isBrand = true;\r\n } else {\r\n this.isBrand = false;\r\n }\r\n if (this.mobileNo == undefined || this.mobileNo == '') {\r\n this.isPhone = true;\r\n } else {\r\n this.isPhone = false;\r\n }\r\n \r\n \r\n }\r\n\r\n numberFocus() {\r\n if (this.plateform.is('capacitor')) {\r\n this.plateform.ready().then(() => {\r\n Keyboard.setAccessoryBarVisible({\r\n isVisible: true,\r\n });\r\n });\r\n }\r\n }\r\n\r\n onInput() {\r\n this.validate();\r\n }\r\n}\r\n","import { StorageService } from './../../services/common/storage.service';\r\nimport { RegistrationService } from './../../services/registration.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { Component, Input, OnInit, Output, EventEmitter } from '@angular/core';\r\nimport { EmailModel } from 'src/app/interface/email-model';\r\nimport { CustomerService } from 'src/app/services/customer.service';\r\nimport { NotifierService } from 'angular-notifier';\r\nimport { IonModal } from '@ionic/angular'; \r\n\r\n@Component({\r\n selector: 'app-mail-sent',\r\n templateUrl: './mail-sent.component.html',\r\n styleUrls: ['./mail-sent.component.scss']\r\n})\r\nexport class MailSentComponent implements OnInit{\r\n @Input() isFromVisible = true;\r\n @Input() isToVisible = true;\r\n @Input() fromEmail = '';\r\n @Input() toEmail = '';\r\n @Input() from = '';\r\n @Input() subjectLimit = 0;\r\n @Input() messageLimit = 0;\r\n @Input() customerObject = null;\r\n @Output() emailSetEvent = new EventEmitter();\r\n dealerNo:string\r\n subject = '';\r\n body = '';\r\n emailModel: EmailModel;\r\n subjectValid = true;\r\n bodyValid = true;\r\n isFromEmailDisabled = true;\r\n isEmailValid = false;\r\n isDescription=true;\r\n CommentList: [\r\n {\r\n CommentDescription: string,\r\n Comment: string\r\n }]\r\n emailError: string;\r\n constructor(\r\n private customerService: CustomerService,\r\n private notifierService: NotifierService,\r\n private mailSentComponent:IonModal,\r\n private translate:TranslateService,\r\n private registrationService: RegistrationService,\r\n private storageService: StorageService\r\n ) {}\r\n ngOnInit(): void {\r\n this.isFromEmailDisabled = this.fromEmail != '' && this.fromEmail != null ? true : false;\r\n }\r\n\r\n\r\n sendEmail() {\r\n this.validate();\r\nif(this.isEmailValid && this.from==\"profile\"){\r\n this.customerObject.EmailAddress=this.fromEmail;\r\n this.customerService.updateCustomerProfile(this.customerObject).then(res=>{\r\n res.subscribe(data=>{\r\n if(data!=false){\r\n this.emailSetEvent.emit(this.fromEmail);\r\n this.mailSentComponent.dismiss();\r\n this.notifierService.notify('success',\"Email set successfully\")\r\n }else{\r\n this.mailSentComponent.dismiss();\r\n this.notifierService.notify('error',\"Email is not set please try after sometime\")\r\n }\r\n })\r\n })\r\n}\r\n if (this.subjectValid && this.bodyValid && this.isEmailValid && this.from!=\"profile\") {\r\n \r\n let sub = 'Forespørsel om endringer av persondata MIN BIL';\r\n \r\n if (this.from === 'dealer') {\r\n sub = this.subject;\r\n }\r\n this.emailModel = {\r\n body: this.body,\r\n from: this.fromEmail,\r\n to: this.toEmail,\r\n subject: sub,\r\n Customer: this.customerObject,\r\n CustomerFeedback:null\r\n };\r\n\r\n this.customerService.sendEmail(this.emailModel).then(resp => {\r\n resp.subscribe(response => { \r\n if (response) {\r\n this.emailSetEvent.emit(this.fromEmail);\r\n this.mailSentComponent.dismiss();\r\n this.notifierService.notify(\r\n 'success',\r\n this.translate.instant(\"MailComponent.NotifierSuccess\")\r\n );\r\n if (this.from === 'dealer') {\r\n this.storageService.get('CustomerId').then(getCustomerId => {\r\n this.storageService.get('preferredDealerNo').then(dealerNo=>{\r\n \r\n if(dealerNo!=null && dealerNo!=undefined){\r\n this.dealerNo=dealerNo.slice(1)\r\n }\r\n \r\n })\r\n \r\n this.customerService.getCustomerById(getCustomerId).then(getCustomerresp => {\r\n getCustomerresp.subscribe(customerData => {\r\n if (customerData != null || customerData != '') {\r\n this.CommentList=[{Comment:this.body,CommentDescription:this.translate.instant(\"MailComponent.MailDescription\")}]\r\n \r\n this.registrationService\r\n .postLead(\r\n 'Kontakt forhandler',\r\n 'Kontakt forhandler-default',\r\n 'Generell henvendelse',\r\n customerData.fullName,\r\n customerData.emailAddress,\r\n customerData.phoneNo,\r\n null,\r\n this.dealerNo,\r\n this.CommentList\r\n )\r\n .then(postLeadResp => {\r\n postLeadResp.subscribe(data => {});\r\n \r\n });\r\n }\r\n });\r\n });\r\n });\r\n } \r\n }else{\r\n this.mailSentComponent.dismiss();\r\n this.notifierService.notify('error',this.translate.instant(\"MailComponent.NotifierFail\"));\r\n }\r\n });\r\n });\r\n }\r\n }\r\n validate() {\r\n this.subjectValid = true;\r\n this.bodyValid = true;\r\n this.isEmailValid=true;\r\n this.emailError = '';\r\n if(this.fromEmail === ''){\r\n this.isEmailValid=false;\r\n this.emailError = this.translate.instant(\"Mailsent.EmailRequired\")\r\n }else{\r\n var d = new RegExp('^[a-z0-9._%+-]+@[a-z0-9.-]+\\\\.[a-z]{2,4}$');\r\n var res=this.fromEmail.match(d)\r\n if(res==null){\r\n this.isEmailValid=false;\r\n this.emailError = this.translate.instant(\"Mailsent.EmailInvalid\")\r\n }\r\n }\r\n \r\n if (this.from === 'dealer' && this.subject === '') {\r\n this.subjectValid = false;\r\n }\r\n if (this.body === '') {\r\n this.bodyValid = false;\r\n }\r\n }\r\n}\r\n","import { environment } from 'src/environments/environment';\r\nimport { Injectable } from '@angular/core';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ApiConfigurationService {\r\n mySiteSQLBaseURL = environment.mySiteSQLBaseURL;\r\n mySiteD365BaseURL = environment.mySiteD365BaseURL;\r\n SaMSBaseURL = environment.SaMSURL;\r\n\r\n\r\n public sqlApiControllers = {\r\n sos: 'sos',\r\n customer: 'customer',\r\n dealer: 'dealer',\r\n chargingStation: 'ProximityServices',\r\n login: 'Login',\r\n glovebox:'GloveBox',\r\n inCarApp:'InCarApp',\r\n banner:'Banner',\r\n giftCard:'GiftCard',\r\n serviceHistory:'ServiceHistory',\r\n notification: 'Notification',\r\n mGAPI: 'MGAPI',\r\n exportAPI:\"ExportAPI\",\r\n callBack:\"CallBack\"\r\n };\r\n\r\n public sqlApiResources = {\r\n sos: this.createSQLAPIUrl(this.sqlApiControllers.sos),\r\n customer: this.createSQLAPIUrl(this.sqlApiControllers.customer),\r\n dealerByDMSNo: this.createSQLAPIUrl(this.sqlApiControllers.dealer+'/GetByDMSNo'),\r\n getAllDealers: this.createSQLAPIUrl(this.sqlApiControllers.dealer + '/GetDealerList'),\r\n chargingStation: this.createSQLAPIUrl(this.sqlApiControllers.chargingStation),\r\n mobileVerification: this.createSQLAPIUrl(this.sqlApiControllers.login + '/validate-phone-number'),\r\n otpVerification: this.createSQLAPIUrl(this.sqlApiControllers.login + '/validate-otp'),\r\n uploadDocument:this.createSQLAPIUrl(this.sqlApiControllers.glovebox + '/UploadDocument'),\r\n getDocumentByCustomerId: this.createSQLAPIUrl(this.sqlApiControllers.glovebox + '/GetDocumentByCustomerId'),\r\n deleteDocument: this.createSQLAPIUrl(this.sqlApiControllers.glovebox + '/DeleteDocument'),\r\n getDocumentById:this.createSQLAPIUrl(this.sqlApiControllers.glovebox+'/GetDocumentById'),\r\n getUsedCarOrOLBURL: this.createSQLAPIUrl(this.sqlApiControllers.dealer + '/GetUsedCarOrOLBURL'),\r\n getBuyNewCarURL: this.createSQLAPIUrl(this.sqlApiControllers.dealer + '/GetBuyNewCarURL'),\r\n getGiftCardByPhone: this.createSQLAPIUrl(this.sqlApiControllers.giftCard + '/GetGiftCardByPhone'),\r\n addOLBRedirectParam: this.createSQLAPIUrl(this.sqlApiControllers.customer + '/AddOLBRedirectParam'),\r\n getIncarAppByBrandName:this.createSQLAPIUrl(this.sqlApiControllers.inCarApp+'/GetInCarAppByBrand'),\r\n getBannerByBrandModel:this.createSQLAPIUrl(this.sqlApiControllers.banner+'/GetBannerImages'),\r\n getAppointmentListByMobileAndLicensePlate:this.createSQLAPIUrl(this.sqlApiControllers.serviceHistory+'/GetAppointmentList'),\r\n getPackageServices:this.createSQLAPIUrl(this.sqlApiControllers.serviceHistory+'/GetAppointmentDetailById'),\r\n getNotificationByCustomer:this.createSQLAPIUrl(this.sqlApiControllers.notification+'/GetNotificationByCustomer'),\r\n markNotificationAsRead:this.createSQLAPIUrl(this.sqlApiControllers.notification+'/MarkNotificationAsRead'),\r\n getAlertByCustomer:this.createSQLAPIUrl(this.sqlApiControllers.notification+'/GetAlertByCustomer'),\r\n updateIsFollowCarById:this.createSQLAPIUrl(this.sqlApiControllers.glovebox+'/UpdateFollowCarById'),\r\n getTips: this.createSQLAPIUrl(this.sqlApiControllers.mGAPI + '/GetTips'),\r\n getDealerDetail: this.createSQLAPIUrl(this.sqlApiControllers.mGAPI + '/getDealerDetails'),\r\n getVehicleDetails: this.createSQLAPIUrl(this.sqlApiControllers.mGAPI + '/getVehicleDetails'),\r\n getInformation: this.createSQLAPIUrl(this.sqlApiControllers.mGAPI + '/getInformation'),\r\n getTermsAndCondition: this.createSQLAPIUrl(this.sqlApiControllers.mGAPI + '/getTermsAndCondition'),\r\n getPrivacyPolicy: this.createSQLAPIUrl(this.sqlApiControllers.mGAPI + '/getPrivacyPolicy'),\r\n getUserManuals: this.createSQLAPIUrl(this.sqlApiControllers.mGAPI + '/getUserManuals'),\r\n getConfigCarDataById: this.createSQLAPIUrl(this.sqlApiControllers.exportAPI + '/GetConfigCarDataById'),\r\n getMyOffersByMobileNo: this.createSaMSBaseUrl(this.sqlApiControllers.callBack +'/getMyOffersByMobileNo'),\r\n getOfferDetailsByOfferId:this.createSaMSBaseUrl(this.sqlApiControllers.callBack + '/getMyOfferById')\r\n };\r\n\r\n public d365ApiControllers = {\r\n customer: 'customer',\r\n login: 'login',\r\n vehicle: 'vehicle',\r\n dealer: 'dealer',\r\n };\r\n\r\n public d365ApiResources = {\r\n GetLeadsByPhoneNumber:this.createD365APIUrl(\r\n this.d365ApiControllers.customer+'/GetLeadsByPhoneNumber'\r\n ),\r\n DeleteConfiguredCar:this.createD365APIUrl(\r\n this.d365ApiControllers.customer+'/DeleteConfiguredCar'\r\n ),\r\n GetDataFactoryCustomerDetailsByMobileNo:this.createD365APIUrl(\r\n this.d365ApiControllers.customer+'/GetDataFactoryCustomerDetails'\r\n ),\r\n getCustomerById: this.createD365APIUrl(\r\n this.d365ApiControllers.customer + '/getcustomerbyid'\r\n ),\r\n updateCustomerProfile: this.createD365APIUrl(\r\n this.d365ApiControllers.customer + '/UpdateCustomerProfile'\r\n ),\r\n login: this.createD365APIUrl(this.d365ApiControllers.login),\r\n getVehicleByCustomer: this.createD365APIUrl(\r\n this.d365ApiControllers.vehicle + '/GetVehiclesByCustomerId'\r\n ),\r\n getVehicleDetailsByLP: this.createD365APIUrl(\r\n this.d365ApiControllers.vehicle + '/GetVehicleByLicensePlate'\r\n ),\r\n getDealerStaff: this.createD365APIUrl(\r\n this.d365ApiControllers.dealer + '/GetDealerStaffDetails'\r\n ),\r\n updatePrefrredVehicle: this.createD365APIUrl(\r\n this.d365ApiControllers.customer + '/UpdatePreferredVehicle'\r\n ),\r\n changePreferredDealer: this.createD365APIUrl(\r\n this.d365ApiControllers.vehicle + '/ChangePreferredDealer'\r\n ),\r\n getCustomerIdByPhone: this.createD365APIUrl(\r\n this.d365ApiControllers.login\r\n ),\r\n };\r\n\r\n private createSQLAPIUrl(actionName: string): string {\r\n return `${this.mySiteSQLBaseURL}${actionName}`;\r\n }\r\n\r\n private createD365APIUrl(actionName: string): string {\r\n return `${this.mySiteD365BaseURL}${actionName}`;\r\n }\r\n\r\n private createSaMSBaseUrl(actionName: string): string {\r\n return `${this.SaMSBaseURL}${actionName}`;\r\n }\r\n}\r\n","import { LoaderService } from 'src/app/services/common/loader.service';\r\nimport {\r\n HttpClient,\r\n HttpHeaders,\r\n HttpErrorResponse,\r\n} from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { throwError } from 'rxjs';\r\nimport { catchError, map } from 'rxjs/operators';\r\nimport { environment } from 'src/environments/environment';\r\nimport { StorageService } from '../services/common/storage.service';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class BaseApiService {\r\n httpOptions = {\r\n headers: new HttpHeaders({\r\n accept: 'application/json',\r\n 'content-Type': 'application/json',\r\n //Authorization: 'Bearer ' + this.authService.getUserLocalInfo().access_token,\r\n //RefreshToken: this.authService.getUserLocalInfo().refresh_token\r\n }),\r\n };\r\n constructor(\r\n private http: HttpClient,\r\n private storageService: StorageService,\r\n private router: Router,\r\n private loaderService: LoaderService,\r\n private translate: TranslateService,\r\n ) {}\r\n\r\n async refreshHeaderOption() {\r\n const jwtKey = await this.storageService.get('JWTkey');\r\n this.httpOptions = {\r\n headers: new HttpHeaders({\r\n accept: 'application/json',\r\n 'content-Type': 'application/json',\r\n authorization: 'Bearer ' + jwtKey,\r\n 'X-token': environment.autoCrmXToken,\r\n }),\r\n };\r\n }\r\n\r\n async getAll(uri: string) {\r\n await this.refreshHeaderOption();\r\n return this.http\r\n .get(`${uri}`, { headers: this.httpOptions.headers })\r\n .pipe(map((response: T) => response),catchError(this.handleError.bind(this)));\r\n }\r\n\r\n async getById(uri: string, id: string) {\r\n await this.refreshHeaderOption();\r\n return this.http\r\n .get(`${uri}/${id}`, { headers: this.httpOptions.headers })\r\n .pipe(map((response: T) => response),catchError(this.handleError.bind(this)));\r\n }\r\n\r\n async postData(uri: string, body: any) {\r\n await this.refreshHeaderOption();\r\n return this.http\r\n .post(`${uri}`, body, { headers: this.httpOptions.headers })\r\n .pipe(map((response: T) => response),catchError(this.handleError.bind(this)));\r\n }\r\n\r\n async postDataWithoutParam(uri: string, id: string) {\r\n await this.refreshHeaderOption();\r\n return this.http\r\n .post(`${uri}/${id}`,null, { headers: this.httpOptions.headers })\r\n .pipe(map((response: T) => response),catchError(this.handleError.bind(this)));\r\n }\r\n\r\n async delete(uri: string, id: string) {\r\n await this.refreshHeaderOption();\r\n return this.http\r\n .delete(`${uri}/${id}`, { headers: this.httpOptions.headers })\r\n .pipe(map((response: T) => response),catchError(this.handleError.bind(this)));\r\n }\r\n\r\n private handleError(error: HttpErrorResponse) {\r\n let msg = error.statusText;\r\n console.error('ErrorCode: '+error.status)\r\n if(error.status == 401){\r\n this.loaderService.presentLoader(this.translate.instant(\"Login.ExpiredMessage\")).then(res=>{\r\n this.storageService.clear().then((response) => {\r\n this.router.navigate(['/login']);\r\n });\r\n })\r\n \r\n }\r\n \r\n return throwError(msg);\r\n }\r\n}\r\n","import { StorageService } from 'src/app/services/common/storage.service';\r\nimport { Injectable } from '@angular/core';\r\nimport {JwtHelperService} from '@auth0/angular-jwt';\r\nimport {\r\n ActivatedRouteSnapshot,\r\n CanActivate,\r\n Router,\r\n RouterStateSnapshot,\r\n UrlTree,\r\n} from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\nimport { LoaderService } from '../services/common/loader.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AuthGuard implements CanActivate {\r\n constructor(\r\n private storageService: StorageService,\r\n private router: Router,\r\n private jwtHelper: JwtHelperService,\r\n public loaderService:LoaderService,\r\n private translate: TranslateService,\r\n ) {}\r\n\r\n canActivate(\r\n route: ActivatedRouteSnapshot,\r\n state: RouterStateSnapshot\r\n ):\r\n | Observable\r\n | Promise\r\n | boolean\r\n | UrlTree {\r\n return new Promise((resolve, reject) => {\r\n this.storageService.get('JWTkey').then((token) => {\r\n \r\n if (token === undefined || token == null || token === '' || this.jwtHelper.isTokenExpired(token)) {\r\n this.storageService.clear();\r\n this.loaderService.presentLoader(this.translate.instant('Login.ExpiredMessage')).then(resp =>{ \r\n this.router.navigate(['/login']);\r\n });\r\n resolve(false);\r\n }else{\r\n resolve(true);\r\n } \r\n });\r\n });\r\n }\r\n}\r\n","export class CustomerFeedbackModel {\r\n brand:string;\r\n registrationNo:string;\r\n mobileNo:string;\r\n email:string;\r\n name:string;\r\n description:string;\r\n carDetail:string;\r\n isMGCustomer:boolean;\r\n\r\n constructor(){\r\n this.brand='';\r\n this.registrationNo='';\r\n this.mobileNo='';\r\n this.email='';\r\n this.name='';\r\n this.description='';\r\n this.carDetail='';\r\n this.isMGCustomer=true;\r\n }\r\n }","export class CustomerProfileModel {\r\n customerId: string;\r\n fullName: string;\r\n emailAddress: string;\r\n phoneNo: string;\r\n address: string;\r\n city: string;\r\n postalCode: string;\r\n consent: boolean;\r\n oldConsent: boolean;\r\n profilePicUrl: string;\r\n preferredVehicle: string;\r\n giftCardConsent :boolean;\r\n emailConsent :boolean;\r\n smsConsent :boolean;\r\n marketingConsent :boolean;\r\n socialMediaConsent :boolean;\r\n campaignConsent :boolean;\r\n campaignNotificationConsent :boolean;\r\n\r\n constructor(){\r\n this.city='';\r\n this.address='';\r\n this.consent=false;\r\n this.customerId='';\r\n this.emailAddress='';\r\n this.fullName='';\r\n this.phoneNo='';\r\n this.postalCode='';\r\n this.profilePicUrl='';\r\n this.preferredVehicle='';\r\n this.oldConsent=false;\r\n this.giftCardConsent=false;\r\n //this.marketingConsent=false;\r\n this.campaignConsent=false;\r\n this.emailConsent=false;\r\n this.smsConsent=false;\r\n this.socialMediaConsent=false;\r\n this.campaignNotificationConsent=false;\r\n }\r\n}\r\n","export class PostLeadModel {\r\n SchemaID: string;\r\n SchemaName: string;\r\n CodesetID: string;\r\n DepartmentID: string;\r\n DepartmentName: string;\r\n InquiryTypeID: string;\r\n InquiryTypeDescription: string;\r\n Name: string;\r\n Email: string;\r\n Mobile: string;\r\n HTTPlink: string;\r\n CommentList: [\r\n {\r\n CommentDescription: string,\r\n Comment: string\r\n }]\r\n Product:[\r\n {\r\n ProductType:string,\r\n Maingroup:string,\r\n Subset:string,\r\n Description:string,\r\n Productnumber:any,\r\n ProductRellist:any,\r\n ProductRelRow:any,\r\n CommentList:any\r\n }\r\n ]\r\n\r\n constructor(\r\n schemaId: string,\r\n schemaName: string,\r\n codesetId: string,\r\n departmentID: string,\r\n departmentName: string,\r\n inquiryTypeId: string,\r\n inquiryTypeDescription: string,\r\n name: string,\r\n email: string,\r\n mobile: string,\r\n httpLink: string,\r\n CommentList: [\r\n {\r\n CommentDescription: string,\r\n Comment: string\r\n }],\r\n Product:[\r\n {\r\n ProductType:string,\r\n Maingroup:string,\r\n Subset:string,\r\n Description:string,\r\n Productnumber:any,\r\n ProductRellist:any,\r\n ProductRelRow:any,\r\n CommentList:any\r\n }\r\n ]\r\n ) {\r\n this.SchemaID = schemaId;\r\n this.SchemaName = schemaName;\r\n this.CodesetID = codesetId;\r\n this.DepartmentID = departmentID;\r\n this.DepartmentName = departmentName;\r\n this.InquiryTypeID = inquiryTypeId;\r\n this.InquiryTypeDescription = inquiryTypeDescription;\r\n this.Name = name;\r\n this.Email = email;\r\n this.Mobile = mobile;\r\n this.HTTPlink = httpLink;\r\n this.CommentList=CommentList;\r\n this.Product = Product;\r\n }\r\n}\r\n","import { PlatformService } from './../../services/common/platform.service';\r\nimport { Component, EventEmitter, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { Router, NavigationEnd } from '@angular/router';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { StorageService } from 'src/app/services/common/storage.service';\r\nimport { DealerService } from 'src/app/services/dealer.service';\r\nimport { LoaderService } from 'src/app/services/common/loader.service';\r\nimport { InAppBrowser } from '@awesome-cordova-plugins/in-app-browser/ngx';\r\nimport { NotificationService } from 'src/app/services/notification.service';\r\nimport { ThemeSwitcherService } from 'src/app/services/common/theme-switcher.service';\r\nimport { getPlatforms } from '@ionic/core';\r\nimport { AlertController, IonModal, IonPopover, NavController, Platform } from '@ionic/angular';\r\nimport { Keyboard } from '@capacitor/keyboard';\r\nimport { RedirectionService } from 'src/app/services/redirection.service';\r\nimport { MgApiService } from 'src/app/services/mgApi-services';\r\nimport { CustomerService } from 'src/app/services/customer.service';\r\nimport { CustomerProfileModel } from 'src/app/interface/customer-profile-model';\r\nimport { NotifierService } from 'angular-notifier';\r\n\r\n@Component({\r\n selector: 'app-layout',\r\n templateUrl: './layout.page.html',\r\n styleUrls: ['./layout.page.scss'],\r\n})\r\nexport class LayoutPage implements OnInit {\r\n @Output() someEvent = new EventEmitter();\r\n @ViewChild('consentModel') consentModel: IonModal;\r\n @ViewChild('popover') popover;\r\n isPopoverOpen=false\r\n customerConsentData: CustomerProfileModel = new CustomerProfileModel();\r\n isSingleVehicle = false;\r\n themeBrand = 'hongqi';\r\n isCustomer = false;\r\n isHavingConfiguredCar=false;\r\n isActive=false\r\n preferredVehicleLP=null\r\n isKnowMyCar=false;\r\n isHavingVehicle=false;\r\n path=['/service-history/active','/sos','/know-my-car','/proximity-services/chargingstation','/proximity-services/dealersnearby','/proximity-services/fuelstation','/proximity-services']\r\n notifications: any = [];\r\n notificationIcon: string;\r\n homeRedirectURL='';\r\n plateform = getPlatforms().toString();\r\n customerData: any;\r\n giftCardConsent=true;\r\n marketingConsent=true;\r\n campaignConsent=true;\r\n socialMediaConsent=true;\r\n constructor(\r\n public navCtrl: NavController,\r\n private router: Router,\r\n private translate: TranslateService,\r\n private storageService: StorageService,\r\n private dealerService: DealerService,\r\n public platformService: PlatformService,\r\n public loaderService:LoaderService,\r\n private iab: InAppBrowser,\r\n private notificationService: NotificationService,\r\n private themeSwitcher: ThemeSwitcherService,\r\n private plateformCap :Platform,\r\n private redirectingService:RedirectionService,\r\n private mgApiService:MgApiService,\r\n private alertController: AlertController,\r\n private readonly notifierService: NotifierService,\r\n private customerService: CustomerService,\r\n ) {\r\n if(this.plateformCap.is('capacitor')){\r\n this.plateformCap.ready().then(() =>\r\n { \r\n Keyboard.setAccessoryBarVisible(\r\n {\r\n isVisible: false\r\n }\r\n )\r\n });\r\n }\r\n this.router.events.subscribe(event =>{\r\n if(event instanceof NavigationEnd){\r\n this.getNotificationByCustomer();\r\n if(this.path.includes(event.url)){\r\n if(event.url==\"/know-my-car\"){ \r\n this.isKnowMyCar=true\r\n this.isActive=false\r\n }else{\r\n this.isKnowMyCar=false\r\n this.isActive=true\r\n } \r\n }else{\r\n this.isKnowMyCar=false\r\n this.isActive=false\r\n } \r\n }\r\n } )\r\n\r\n this.storageService.get('isCustomer').then((resp) => {\r\n if (resp != null) {\r\n this.isCustomer = resp;\r\n }\r\n });\r\n this.storageService.get('isHavingVehicle').then((resp) => {\r\n if (resp != null) {\r\n this.isHavingVehicle = resp;\r\n }\r\n });\r\n this.storageService.get('isSingleVehicle').then((resp) => {\r\n if (resp != null && resp) {\r\n this.isSingleVehicle = true;\r\n }\r\n });\r\n this.storageService.get('preferredVehicleBrand').then((resp) => {\r\n if (resp != null) \r\n {\r\n this.themeBrand = resp.toLowerCase();\r\n this.themeSwitcher.changeTheme(this.themeBrand);\r\n \r\n }\r\n });\r\n\r\n this.storageService.get('preferredVehicle').then(LP=>{\r\n if (LP != null) this.preferredVehicleLP=LP;\r\n })\r\n }\r\n\r\n ngOnInit(): void {\r\n const mainContentDiv = document.getElementById('main-content');\r\n if (this.platformService.isIos) {\r\n mainContentDiv.classList.add('ion-page-ios');\r\n }\r\n this.getNotificationByCustomer();\r\n }\r\n ionViewWillEnter(){\r\n if(!this.isCustomer){\r\n this.themeSwitcher.changeTheme('hongqi')\r\n }\r\n if(this.plateformCap.is('capacitor')){\r\n this.plateformCap.ready().then(() =>\r\n { \r\n Keyboard.hide();\r\n })\r\n }\r\n this.storageService.get('isHavingConfiguredCar').then(resp=>{\r\n if(resp){\r\n this.isHavingConfiguredCar = resp\r\n }\r\n })\r\n this.getCustomerDataForIsMinBilUser()\r\n }\r\n redirectToHome(){\r\n if(!this.isCustomer){\r\n this.homeRedirectURL=\"/configured-car\"\r\n }else if(this.isHavingVehicle){\r\n this.homeRedirectURL=\"/know-my-car\"\r\n }else{\r\n this.homeRedirectURL=\"/vehicle-list\"\r\n }\r\n this.router.navigate([this.homeRedirectURL])\r\n }\r\n redirect() {\r\n const url = 'https://www.motorforum.no/bruktbiler/';\r\n \r\n if (this.isCustomer) {\r\n this.storageService.get('preferredDealerNo').then((dmsNo) => {\r\n if (dmsNo != null) {\r\n this.dealerService\r\n .getUsedCarOrOLBURL(dmsNo, 'used')\r\n .then((response) => {\r\n response.subscribe((resp) => {\r\n if (resp && resp != '') { \r\n this.loaderService.presentLoader(this.translate.instant(\"Layout.Redirecting\")).then(res =>{\r\n this.redirectingService.redirect(resp);\r\n });\r\n }\r\n });\r\n });\r\n } else {\r\n this.loaderService.presentLoader(this.translate.instant(\"Layout.Redirecting\")).then(resp =>{\r\n this.redirectingService.redirect(url);\r\n });\r\n }\r\n });\r\n } else {\r\n this.router.navigate([]).then((result) => {\r\n this.redirectingService.redirect(url);\r\n });\r\n }\r\n }\r\n\r\n changeLanguage(lang) {\r\n this.translate.use(lang);\r\n this.storageService.set(\"selectedLanguage\",lang);\r\n this.mgApiService.getTermsAndCondition(lang).then(resp=>{\r\n resp.subscribe(data=>{\r\n this.mgApiService.data.next(data);\r\n })\r\n })\r\n }\r\n\r\n logOut() {\r\n this.storageService.clear().then((response) => {\r\n //this.navCtrl.navigateRoot('/login')\r\n this.navCtrl.navigateRoot('/login',{ animated: true, animationDirection: 'forward' })\r\n });\r\n }\r\n\r\n getNotificationByCustomer(){\r\n this.isPopoverOpen = false;\r\n this.notifications = []\r\n this.storageService.get('phone').then(phone=>{\r\n if(phone != null && phone != ''){\r\n this.notificationService.getNotificationByCustomer(phone, false).then(resp =>{\r\n resp.subscribe(res =>{\r\n this.notifications = res;\r\n this.notificationIcon = \"assets/images/top-icon-notification.svg\"\r\n })\r\n })\r\n }\r\n \r\n })\r\n }\r\n\r\n markNotificationAsRead(item: any, phone: string){\r\n let param = item.id + (phone != '' ? ('/'+phone) : '');\r\n this.notificationService.markNotificationAsRead(param).then(resp =>{\r\n resp.subscribe(res =>{\r\n this.getNotificationByCustomer();\r\n })\r\n })\r\n\r\n if(item != null){ \r\n if(item.flag == 'GIFTCARD'){\r\n this.router.navigate(['/gift-cards']);\r\n }\r\n else{\r\n this.storageService.set('notificationDetails',item).then(resp => {\r\n this.router.navigate(['/notification-details'])\r\n }) \r\n }\r\n }\r\n }\r\n \r\n getCustomerById(e: Event) {\r\n this.storageService.get('CustomerId').then(customerId => {\r\n this.customerService\r\n .getCustomerById(customerId)\r\n .then(observableResponse => {\r\n observableResponse.subscribe(response => {\r\n if (response != null && response != '') {\r\n this.customerConsentData=response\r\n if(response.campaignConsent){\r\n this.popover.event = e;\r\n this.isPopoverOpen = true;\r\n }else{\r\n this.openPopup();\r\n }\r\n }\r\n });\r\n });\r\n });\r\n }\r\n getCustomerDataForIsMinBilUser() {\r\n this.storageService.get('CustomerId').then(customerId => {\r\n this.customerService\r\n .getCustomerById(customerId)\r\n .then(observableResponse => {\r\n observableResponse.subscribe(response => {\r\n if (response != null && response != '') {\r\n if(!response.isMinBilUser){\r\n response.isMinBilUser=true;\r\n this.customerService.updateCustomerProfile(response).then(data=>{\r\n data.subscribe();\r\n });\r\n }\r\n }\r\n });\r\n });\r\n });\r\n }\r\n async getCustomerByIdForConsent(customerId) { \r\n await this.customerService\r\n .getCustomerById(customerId)\r\n .then(observableResponse => {\r\n observableResponse.subscribe((response:CustomerProfileModel)=> {\r\n if (response != null) {\r\n response.giftCardConsent = this.customerConsentData.giftCardConsent\r\n response.campaignConsent = this.customerConsentData.campaignConsent\r\n response.emailConsent = this.customerConsentData.emailConsent\r\n response.smsConsent = this.customerConsentData.smsConsent\r\n response.socialMediaConsent = this.customerConsentData.socialMediaConsent\r\n // response.marketingConsent = this.customerConsentData.marketingConsent\r\n this.updateConsent(response)\r\n }\r\n });\r\n });\r\n }\r\n\r\n async updateConsent(customerData) {\r\n await this.customerService\r\n .updateCustomerProfile(customerData)\r\n .then((resp) => {\r\n resp.subscribe((response) => {\r\n this.campaignConsent=customerData.campaignConsent;\r\n // this.marketingConsent=customerData.marketingConsent;\r\n this.socialMediaConsent=customerData.socialMediaConsent;\r\n this.giftCardConsent=customerData.giftCardConsent;\r\n this.notifierService.notify(\r\n 'success',\r\n this.translate.instant('MyProfile.ConsentUpdatemsg')\r\n );\r\n if(customerData.campaignConsent){\r\n this.router.navigate(['/notification-list'])\r\n }else{\r\n this.openPopup()\r\n }\r\n });\r\n });\r\n }\r\n cancel() {\r\n this.consentModel.dismiss('cancel');\r\n this.consentModel.isOpen = false;\r\n }\r\n child(data) {\r\n this.customerConsentData = data;\r\n this.storageService.get('CustomerId').then(customerId => {\r\n this.getCustomerByIdForConsent(customerId)\r\n })\r\n }\r\n openPopup(){\r\n this.alertController.create({\r\n header: \"Consent Update\",\r\n cssClass: 'my-custom-alert',\r\n message:this.translate.instant('Consent.ConsentPopupMsg'),\r\n buttons: [\r\n {\r\n text: this.translate.instant('MyDealer.NO'),\r\n handler:()=>{\r\n this.router.navigate(['/my-profile']);\r\n }\r\n },\r\n {\r\n text: this.translate.instant('MyDealer.YES'),\r\n handler: () => {\r\n this.consentModel.isOpen=true\r\n }\r\n }],\r\n backdropDismiss:false\r\n })\r\n .then(res => {\r\n res.present();\r\n });\r\n}\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'licensePlateFormat'\r\n})\r\nexport class LicensePlateFormatPipe implements PipeTransform {\r\n\r\n transform(value: any): unknown {\r\n return value.slice(0, 2) + \" \" + value.slice(2);\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\ndeclare var gtag;\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AnalyticsService {\r\n\r\n constructor() { }\r\n startTrackerWithId(id) {\r\n gtag('config', id);\r\n }\r\n\r\n trackView(pageUrl: string, screenName: string) {}\r\n\r\n trackEvent(category, action, label?, value?) {}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { LoadingController } from '@ionic/angular';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class LoaderService {\r\n constructor(public loadingController:LoadingController) {\r\n }\r\n async presentLoader(message){\r\n const loading = await this.loadingController.create({\r\n spinner:'bubbles',\r\n message:message,\r\n duration:2000\r\n })\r\n await loading.present()\r\n \r\n await loading.onDidDismiss()\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Platform } from '@ionic/angular';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PlatformService {\r\n public isMobile: boolean;\r\n public isIos: boolean;\r\n public isAndroid: boolean;\r\n\r\n constructor(private platform: Platform) {\r\n this.isMobile = platform.is('capacitor');\r\n this.isIos = platform.is('ios');\r\n this.isAndroid = this.platform.is('android');\r\n }\r\n}\r\n","import { PlatformService } from './platform.service';\r\nimport { Injectable } from '@angular/core';\r\nimport { Storage } from '@ionic/storage-angular';\r\nimport * as CordovaSQLiteDriver from 'localforage-cordovasqlitedriver';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class StorageService {\r\n private _storage: Storage | null = null;\r\n\r\n constructor(\r\n private storage: Storage,\r\n private platformService: PlatformService\r\n ) {}\r\n\r\n async init() {\r\n if (this.platformService.isMobile) {\r\n await this.storage.defineDriver(CordovaSQLiteDriver);\r\n }\r\n const storage = await this.storage.create();\r\n this._storage = storage;\r\n }\r\n\r\n public set(key: string, value: any): Promise {\r\n return this._storage?.set(key, value);\r\n }\r\n\r\n public async setMultiple(items: {key: string, value: any}[]) {\r\n await items.forEach(async x=>{\r\n await this._storage?.set(x.key, x.value);\r\n })\r\n }\r\n\r\n public get(key: string): Promise {\r\n return this._storage?.get(key);\r\n }\r\n\r\n public clear(): Promise {\r\n return this._storage?.clear();\r\n }\r\n public remove(key:string):Promise{\r\n return this._storage?.remove(key);\r\n }\r\n}\r\n","import { DOCUMENT } from '@angular/common';\r\nimport { Inject, Injectable, Renderer2, RendererFactory2 } from '@angular/core';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class ThemeSwitcherService {\r\n private renderer: Renderer2;\r\n private currentTheme: string;\r\n\r\n constructor(\r\n private rendererFactory: RendererFactory2,\r\n @Inject(DOCUMENT) private document: Document\r\n ) {\r\n this.renderer = this.rendererFactory.createRenderer(null, null);\r\n }\r\n\r\n changeTheme(brand: string) {\r\n this.renderer.removeClass(this.document.body, this.currentTheme);\r\n this.currentTheme = brand;\r\n this.renderer.addClass(this.document.body, brand);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ApiConfigurationService } from '../dataservices/api-configuration.service';\r\nimport { BaseApiService } from '../dataservices/base-api.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CustomerService {\r\ncustomerData=null;\r\n constructor(\r\n private baseService: BaseApiService,\r\n protected readonly config: ApiConfigurationService\r\n ) { }\r\n\r\n sendEmail(model: any){\r\n return this.baseService.postData(this.config.sqlApiResources.customer, model);\r\n }\r\n\r\n getCustomerById(id: string){\r\n return this.baseService.getById(this.config.d365ApiResources.getCustomerById, id);\r\n }\r\n\r\n updateCustomerProfile(model: any){\r\n return this.baseService.postData(this.config.d365ApiResources.updateCustomerProfile, model);\r\n }\r\n\r\n getLeadsByPhoneNumber(mobileNo:string){\r\n return this.baseService.getById(this.config.d365ApiResources.GetLeadsByPhoneNumber,mobileNo);\r\n }\r\n deleteConfiguredCar(leadId:string){\r\n return this.baseService.postDataWithoutParam(this.config.d365ApiResources.DeleteConfiguredCar,leadId);\r\n }\r\n\r\n addOLBRedirectParam(param: any){\r\n return this.baseService.postData(this.config.sqlApiResources.addOLBRedirectParam, param);\r\n }\r\n\r\n getConfigCarDataById(Id: string){\r\n return this.baseService.getById(this.config.sqlApiResources.getConfigCarDataById, Id);\r\n }\r\n\r\n getCustomerIdByPhone(phone: string){\r\n return this.baseService.getById(this.config.d365ApiResources.getCustomerIdByPhone, phone);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ApiConfigurationService } from '../dataservices/api-configuration.service';\r\nimport { BaseApiService } from '../dataservices/base-api.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DealerService {\r\n\r\n constructor(\r\n private baseService: BaseApiService,\r\n protected readonly config: ApiConfigurationService\r\n ) { }\r\n\r\n getDealerByDMSNo(no: string) {\r\n return this.baseService.getById(this.config.sqlApiResources.dealerByDMSNo, no);\r\n }\r\n\r\n getAllDealers(brand: string) {\r\n return this.baseService.getAll(this.config.sqlApiResources.getAllDealers + \"?brand=\"+ brand);\r\n }\r\n\r\n getDealerStaff(id: string) {\r\n return this.baseService.getById(this.config.d365ApiResources.getDealerStaff, id);\r\n }\r\n\r\n getUsedCarOrOLBURL(dmsNo: string, flag: string) {\r\n return this.baseService.getById(this.config.sqlApiResources.getUsedCarOrOLBURL, dmsNo + '/' +flag);\r\n }\r\n\r\n getBuyNewCarURL(dmsNo: string,) {\r\n return this.baseService.getById(this.config.sqlApiResources.getBuyNewCarURL, dmsNo);\r\n }\r\n\r\n changePreferredDealer(dmsNo: string, id: string, vinNo: string){\r\n return this.baseService.postDataWithoutParam(this.config.d365ApiResources.changePreferredDealer, id +'/'+dmsNo + '/' + vinNo);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { BaseApiService } from '../dataservices/base-api.service';\r\nimport { ApiConfigurationService } from '../dataservices/api-configuration.service';\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MgApiService {\r\ndata = new BehaviorSubject(\"\"); \r\n constructor( \r\n private baseService: BaseApiService,\r\n protected readonly config: ApiConfigurationService) { }\r\n subscribeInternetConnectivity(){\r\n return this.data.asObservable();\r\n }\r\n getDealerDetail(dmsNo:string){\r\n return this.baseService.getAll(this.config.sqlApiResources.getDealerDetail + \"/\" + dmsNo);\r\n }\r\n\r\n getVehicleDetails(make:string,model:string,modelYear:string,regDate:string){\r\n let url = this.config.sqlApiResources.getVehicleDetails + \"/\" + make + \"/\" + model + \"/\"+modelYear +\"/\"+regDate\r\n return this.baseService.getAll(url);\r\n }\r\n\r\n getTips(make:string,model:string,modelYear:string){ \r\n return this.baseService.getAll(this.config.sqlApiResources.getTips + \"/\" + make + \"/\" + model + \"/\" + modelYear);\r\n }\r\n\r\n getInformation(make:string,model:string,modelYear:string){ \r\n return this.baseService.getAll(this.config.sqlApiResources.getInformation + \"/\" + make + \"/\" + model + \"/\" + modelYear);\r\n }\r\n\r\n getUserManuals(make:string,model:string,modelYear:string){ \r\n return this.baseService.getAll(this.config.sqlApiResources.getUserManuals + \"/\" + make + \"/\" + model + \"/\" + modelYear);\r\n }\r\n\r\n getTermsAndCondition(lang:string){ \r\n return this.baseService.getAll(this.config.sqlApiResources.getTermsAndCondition + \"/\" + lang);\r\n }\r\n\r\n getPrivacyPolicy():Promise{ \r\n return this.baseService.getAll(this.config.sqlApiResources.getPrivacyPolicy);\r\n }\r\n\r\n}","import { Injectable } from '@angular/core';\r\nimport { BaseApiService } from '../dataservices/base-api.service';\r\nimport { ApiConfigurationService } from '../dataservices/api-configuration.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class NotificationService {\r\n\r\n constructor( \r\n private baseService: BaseApiService,\r\n protected readonly config: ApiConfigurationService,\r\n ) { }\r\n\r\n getNotificationByCustomer(phone: string, isAll: boolean){ \r\n return this.baseService.getById(this.config.sqlApiResources.getNotificationByCustomer, phone+'/'+isAll);\r\n }\r\n\r\n markNotificationAsRead(param: string){\r\n return this.baseService.postDataWithoutParam(this.config.sqlApiResources.markNotificationAsRead, param);\r\n }\r\n\r\n getAlertByCustomer(phone: string, brand: string){\r\n return this.baseService.getById(this.config.sqlApiResources.getAlertByCustomer, phone + \"/\"+brand);\r\n }\r\n\r\n}","import { Injectable } from '@angular/core';\r\nimport { getPlatforms } from '@ionic/core';\r\nimport { InAppBrowser } from '@awesome-cordova-plugins/in-app-browser/ngx';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RedirectionService {\r\n\r\n plateform = getPlatforms().toString();\r\n constructor(private iab: InAppBrowser) { }\r\n\r\n redirect(url:string){\r\n if(!this.plateform.includes(\"ios\") && !this.plateform.includes(\"desktop\")){\r\n this.iab.create(url,\"_system\")\r\n }\r\n else{\r\n this.iab.create(url)\r\n }\r\n}\r\n}\r\n","import { environment } from 'src/environments/environment';\r\nimport { PostLeadModel } from './../interface/post-lead-model';\r\nimport { Injectable } from '@angular/core';\r\nimport { ApiConfigurationService } from '../dataservices/api-configuration.service';\r\nimport { BaseApiService } from '../dataservices/base-api.service';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class RegistrationService {\r\n\r\n leadPostApi= environment.autoCrmPostLead\r\n constructor(\r\n private baseService: BaseApiService,\r\n private config: ApiConfigurationService\r\n ) {}\r\n\r\n validateMobileNumber(mobileNumber: string) {\r\n return this.baseService.getById(\r\n this.config.d365ApiResources.login,\r\n mobileNumber\r\n );\r\n }\r\n\r\n postLead(\r\n schemaName: string,\r\n inquiryTypeId: string,\r\n inquiryTypeDescription: string,\r\n name: string,\r\n email: string,\r\n mobile: string,\r\n configCarData: any,\r\n dmsNo:string,\r\n CommentList: [\r\n {\r\n CommentDescription: string,\r\n Comment: string\r\n }],\r\n ) {\r\n \r\n return this.baseService.postData(this.leadPostApi, [\r\n \r\n new PostLeadModel(\r\n '1',\r\n schemaName,\r\n 'MYBIL01',\r\n dmsNo,\r\n 'Motor Forum AS Oslo',\r\n inquiryTypeId,\r\n inquiryTypeDescription,\r\n name,\r\n email,\r\n mobile,\r\n configCarData!=null ? configCarData.url : '',\r\n CommentList,\r\n this.prepareProductObject(configCarData)\r\n ),\r\n ]);\r\n }\r\n \r\n GetDataFactoryCustomerDetailsByMobileNo(mobileNo:string){\r\n return this.baseService.getById(this.config.d365ApiResources.GetDataFactoryCustomerDetailsByMobileNo,mobileNo);\r\n }\r\n\r\n prepareProductObject(configCarData:any){\r\n if(configCarData==null){\r\n return null;\r\n }\r\n let ProductList : any =[\r\n {\r\n ProductType:'newcar',\r\n Maingroup:configCarData.carMake,\r\n Subset:configCarData.carModel,\r\n Description:'',\r\n Productnumber:null,\r\n ProductRellist:null,\r\n ProductRelRow:null,\r\n CommentList: this.prepareCommentList(configCarData)\r\n }\r\n ]\r\n \r\n return ProductList;\r\n }\r\n\r\n prepareCommentList(configCarData) {\r\n let CommentList: any = [\r\n { CommentDescription:'color', Comment:configCarData.color },\r\n { CommentDescription:'colorImage', Comment:configCarData.colorImage },\r\n { CommentDescription:'engine', Comment:configCarData.engine },\r\n { CommentDescription:'equipmentLevel', Comment:configCarData.equipmentLevel },\r\n { CommentDescription:'equipments', Comment:configCarData.equipments?.map(e => e).join(\",\") },\r\n { CommentDescription:'factoryEquipments', Comment:configCarData.factoryEquipments?.map(e => e).join(\",\") }, \r\n { CommentDescription:'year', Comment:configCarData.year }\r\n ]\r\n\r\n return CommentList;\r\n }\r\n\r\n getBrandFromURL(url:string){\r\n if(url.includes('renault')){\r\n \r\n return 'Renault';\r\n }else if(url.includes('mitsubishi')){\r\n \r\n return 'Mitsubishi';\r\n }else if(url.includes('hongqi')){\r\n \r\n return 'Hongqi';\r\n }else if(url.includes('dacia')){\r\n \r\n return 'Dacia';\r\n }\r\n return ''\r\n }\r\n}\r\n","// 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 //Local\r\n\r\n // OLBURL: 'https://booking.motorforum.no/no/bookappointment?dealerName=',\r\n // // OLBURL: 'http://localhost:4200/no/bookappointment?dealerName=',\r\n\r\n // mySiteSQLBaseURL: 'http://localhost:32932/api/',\r\n // mySiteD365BaseURL: 'http://localhost:61165/api/',\r\n // SaMSURL :'https://localhost:61227/api/',\r\n\r\n // mgDealerSite:'http://www.staging.motorforum.no/',\r\n\r\n // autoCrmPostLead: 'https://acceptlead-test.motorforum.no/api/lead',\r\n\r\n // UAT\r\n\r\n // OLBURL: 'https://dev-booking.motorforum.no/no/bookappointment?dealerName=',\r\n\r\n // mySiteSQLBaseURL: 'https://uat-minbil.motorgruppen.no/api/sqlapi/api/',\r\n // mySiteD365BaseURL: 'https://uat-minbil.motorgruppen.no/api/d365api/api/',\r\n SaMSURL :'https://olb-uat.motordata.no:4434/api/',\r\n // mgDealerSite:'http://www.staging.motorforum.no/',\r\n\r\n // autoCrmPostLead: 'https://acceptlead-test.motorforum.no/api/lead',\r\n\r\n //Live\r\n\r\n OLBURL: 'https://booking.motorforum.no/no/bookappointment?dealerName=',\r\n\r\n mySiteSQLBaseURL: 'https://minbil.motorgruppen.no/api/sqlapi/api/',\r\n mySiteD365BaseURL: 'https://minbil.motorgruppen.no/api/d365api/api/',\r\n\r\n mgDealerSite:'https://www.motorforum.no/',\r\n autoCrmPostLead: 'https://acceptlead.motorforum.no/api/lead',\r\n\r\n\r\n\r\n //Utsav's system\r\n // mySiteSQLBaseURL: 'http://10.0.3.58:8083/api/',\r\n // mySiteD365BaseURL: 'http://10.0.3.58:8082/api/',\r\n\r\n\r\n googleMapsApiKey: 'AIzaSyDgBxr-cQ_sF7vUP6wEfe7Q_cf9cQDhO3Q',\r\n nobilApiKey: '136e557d9fbdf47d46b87b674f0025a9',\r\n adminEmail: 'admin.minside@motorgruppen.no',\r\n\r\n autoCrmXToken: '8395936f492cac4c7e0db781e894ff21290c8a6c04e914cda0458c634134f857041bba82f9342d575c63e7c8c837e4b5',\r\n\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 import 'zone.js/dist/zone-error' // Included with Angular CLI.\r\n*/\r\n","import { 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.log(err));\r\n","var map = {\n\t\"./ion-accordion_2.entry.js\": [\n\t\t70079,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-accordion_2_entry_js\"\n\t],\n\t\"./ion-action-sheet.entry.js\": [\n\t\t25593,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-action-sheet_entry_js\"\n\t],\n\t\"./ion-alert.entry.js\": [\n\t\t13225,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-alert_entry_js\"\n\t],\n\t\"./ion-app_8.entry.js\": [\n\t\t4812,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-app_8_entry_js\"\n\t],\n\t\"./ion-avatar_3.entry.js\": [\n\t\t86655,\n\t\t\"node_modules_ionic_core_dist_esm_ion-avatar_3_entry_js\"\n\t],\n\t\"./ion-back-button.entry.js\": [\n\t\t44856,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-back-button_entry_js\"\n\t],\n\t\"./ion-backdrop.entry.js\": [\n\t\t13059,\n\t\t\"node_modules_ionic_core_dist_esm_ion-backdrop_entry_js\"\n\t],\n\t\"./ion-breadcrumb_2.entry.js\": [\n\t\t58648,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-breadcrumb_2_entry_js\"\n\t],\n\t\"./ion-button_2.entry.js\": [\n\t\t98308,\n\t\t\"node_modules_ionic_core_dist_esm_ion-button_2_entry_js\"\n\t],\n\t\"./ion-card_5.entry.js\": [\n\t\t44690,\n\t\t\"node_modules_ionic_core_dist_esm_ion-card_5_entry_js\"\n\t],\n\t\"./ion-checkbox.entry.js\": [\n\t\t64090,\n\t\t\"node_modules_ionic_core_dist_esm_ion-checkbox_entry_js\"\n\t],\n\t\"./ion-chip.entry.js\": [\n\t\t36214,\n\t\t\"node_modules_ionic_core_dist_esm_ion-chip_entry_js\"\n\t],\n\t\"./ion-col_3.entry.js\": [\n\t\t69447,\n\t\t\"node_modules_ionic_core_dist_esm_ion-col_3_entry_js\"\n\t],\n\t\"./ion-datetime-button.entry.js\": [\n\t\t31295,\n\t\t\"default-node_modules_ionic_core_dist_esm_parse-71f28cd7_js-node_modules_ionic_core_dist_esm_t-0c999b\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-datetime-button_entry_js\"\n\t],\n\t\"./ion-datetime_3.entry.js\": [\n\t\t79689,\n\t\t\"default-node_modules_ionic_core_dist_esm_parse-71f28cd7_js-node_modules_ionic_core_dist_esm_t-0c999b\",\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-datetime_3_entry_js\"\n\t],\n\t\"./ion-fab_3.entry.js\": [\n\t\t18840,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-fab_3_entry_js\"\n\t],\n\t\"./ion-img.entry.js\": [\n\t\t40749,\n\t\t\"node_modules_ionic_core_dist_esm_ion-img_entry_js\"\n\t],\n\t\"./ion-infinite-scroll_2.entry.js\": [\n\t\t69667,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-infinite-scroll_2_entry_js\"\n\t],\n\t\"./ion-input.entry.js\": [\n\t\t83288,\n\t\t\"node_modules_ionic_core_dist_esm_ion-input_entry_js\"\n\t],\n\t\"./ion-item-option_3.entry.js\": [\n\t\t35473,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-item-option_3_entry_js\"\n\t],\n\t\"./ion-item_8.entry.js\": [\n\t\t53634,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-item_8_entry_js\"\n\t],\n\t\"./ion-loading.entry.js\": [\n\t\t22855,\n\t\t\"node_modules_ionic_core_dist_esm_ion-loading_entry_js\"\n\t],\n\t\"./ion-menu_3.entry.js\": [\n\t\t495,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-menu_3_entry_js\"\n\t],\n\t\"./ion-modal.entry.js\": [\n\t\t58737,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-modal_entry_js\"\n\t],\n\t\"./ion-nav_2.entry.js\": [\n\t\t99632,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-nav_2_entry_js\"\n\t],\n\t\"./ion-picker-column-internal.entry.js\": [\n\t\t54446,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-picker-column-internal_entry_js\"\n\t],\n\t\"./ion-picker-internal.entry.js\": [\n\t\t32275,\n\t\t\"node_modules_ionic_core_dist_esm_ion-picker-internal_entry_js\"\n\t],\n\t\"./ion-popover.entry.js\": [\n\t\t48050,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-popover_entry_js\"\n\t],\n\t\"./ion-progress-bar.entry.js\": [\n\t\t18994,\n\t\t\"node_modules_ionic_core_dist_esm_ion-progress-bar_entry_js\"\n\t],\n\t\"./ion-radio_2.entry.js\": [\n\t\t23592,\n\t\t\"node_modules_ionic_core_dist_esm_ion-radio_2_entry_js\"\n\t],\n\t\"./ion-range.entry.js\": [\n\t\t35454,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-range_entry_js\"\n\t],\n\t\"./ion-refresher_2.entry.js\": [\n\t\t290,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-refresher_2_entry_js\"\n\t],\n\t\"./ion-reorder_2.entry.js\": [\n\t\t92666,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-reorder_2_entry_js\"\n\t],\n\t\"./ion-ripple-effect.entry.js\": [\n\t\t64816,\n\t\t\"node_modules_ionic_core_dist_esm_ion-ripple-effect_entry_js\"\n\t],\n\t\"./ion-route_4.entry.js\": [\n\t\t45534,\n\t\t\"node_modules_ionic_core_dist_esm_ion-route_4_entry_js\"\n\t],\n\t\"./ion-searchbar.entry.js\": [\n\t\t94902,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-searchbar_entry_js\"\n\t],\n\t\"./ion-segment_2.entry.js\": [\n\t\t91938,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-segment_2_entry_js\"\n\t],\n\t\"./ion-select_3.entry.js\": [\n\t\t78179,\n\t\t\"node_modules_ionic_core_dist_esm_ion-select_3_entry_js\"\n\t],\n\t\"./ion-slide_2.entry.js\": [\n\t\t90668,\n\t\t\"node_modules_ionic_core_dist_esm_ion-slide_2_entry_js\"\n\t],\n\t\"./ion-spinner.entry.js\": [\n\t\t61624,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-spinner_entry_js\"\n\t],\n\t\"./ion-split-pane.entry.js\": [\n\t\t19989,\n\t\t\"node_modules_ionic_core_dist_esm_ion-split-pane_entry_js\"\n\t],\n\t\"./ion-tab-bar_2.entry.js\": [\n\t\t28902,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-tab-bar_2_entry_js\"\n\t],\n\t\"./ion-tab_2.entry.js\": [\n\t\t70199,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-tab_2_entry_js\"\n\t],\n\t\"./ion-text.entry.js\": [\n\t\t48395,\n\t\t\"node_modules_ionic_core_dist_esm_ion-text_entry_js\"\n\t],\n\t\"./ion-textarea.entry.js\": [\n\t\t96357,\n\t\t\"node_modules_ionic_core_dist_esm_ion-textarea_entry_js\"\n\t],\n\t\"./ion-toast.entry.js\": [\n\t\t38268,\n\t\t\"node_modules_ionic_core_dist_esm_ion-toast_entry_js\"\n\t],\n\t\"./ion-toggle.entry.js\": [\n\t\t15269,\n\t\t\"common\",\n\t\t\"node_modules_ionic_core_dist_esm_ion-toggle_entry_js\"\n\t],\n\t\"./ion-virtual-scroll.entry.js\": [\n\t\t32875,\n\t\t\"node_modules_ionic_core_dist_esm_ion-virtual-scroll_entry_js\"\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 50863;\nmodule.exports = webpackAsyncContext;"],"names":["NgModule","PreloadAllModules","RouterModule","AuthGuard","LayoutPage","routes","path","redirectTo","pathMatch","loadChildren","then","m","LoginPageModule","OtpVerificationPageModule","PrivacyPageModule","component","children","VehicleListPageModule","data","breadcrumb","canActivate","MyProfilePageModule","MyDealerPageModule","KnowMyCarPageModule","SosPageModule","ProximityServicesPageModule","BuyUsedCarPageModule","BuyNewCarPageModule","VehicleOrderTrackerPageModule","GloveBoxPageModule","GiftCardsPageModule","LoyaltyPointsPageModule","VehicleDetailsPageModule","UserManualPageModule","ServiceHistoryPageModule","MyOffersPageModule","ServiceHistoryDetailPageModule","TipsAndAdvicePageModule","NotificationDetailsPageModule","ConfiguredCarPageModule","NotificationListPageModule","TermsAndConditionPageModule","AppRoutingModule","imports","forRoot","preloadingStrategy","exports","providers","Router","ThemeSwitcherService","TranslateService","Component","Optional","ViewChildren","environment","StorageService","AlertController","IonRouterOutlet","NavController","Platform","ToastController","AnalyticsService","AppComponent","themeSwitcher","translate","storageService","platform","routerOutlet","alertCtrl","router","toastController","navControlelr","alertController","analyticsService","initializeApp","backButtonEvent","changeTheme","setDefaultLang","element","document","getElementById","googleMapsScriptElement","createElement","id","setAttribute","googleMapsApiKey","head","appendChild","startTrackerWithId","backButton","subscribeWithPriority","__awaiter","currentUrl","url","withDoublePress","instant","navigator","exitApp","back","message","action","currentTime","Date","getTime","lastTimeBackButtonWasPressed","timePeriodToAction","create","duration","toast","present","init","get","resp","use","args","selector","template","BrowserModule","RouteReuseStrategy","IonicModule","IonicRouteStrategy","TranslateLoader","TranslateModule","TranslateHttpLoader","HttpClient","HttpClientModule","NotifierModule","NgHttpLoaderModule","Ng2TelInputModule","FormsModule","ReactiveFormsModule","IonicStorageModule","IonicSelectableModule","NgOtpInputModule","IonIntlTelInputModule","CommonModule","InAppBrowser","SharedComponentModule","JwtModule","JwtHelperService","JWT_OPTIONS","customNotifierOptions","position","horizontal","distance","vertical","gap","theme","behaviour","autoHide","onClick","onMouseover","showDismissButton","stacking","animations","enabled","show","preset","speed","easing","hide","offset","shift","overlap","AppModule","declarations","mode","withConfig","loader","provide","useFactory","HttpLoaderFactory","deps","useClass","useValue","bootstrap","http","MailSentComponent","LicensePlateFormatPipe","ConsentComponent","CustomerFeedbackFormComponent","IonModal","Input","Output","EventEmitter","CustomerProfileModel","modal","oldConsent","Object","assign","customerData","dismiss","isOpen","header","cssClass","buttons","text","handler","closeModel","updateCustomerConsent","backdropDismiss","res","campaignConsent","emailConsent","smsConsent","someEvent","emit","ViewChild","FormControl","FormGroup","Validators","Keyboard","NotifierService","IonIntlTelInputValidators","CustomerFeedbackModel","CustomerService","plateform","customerService","notifierService","mailSentComponent","dialCode","internationalNumber","isoCode","nationalNumber","phoneNumber","phoneObj","test","Name","Email","required","pattern","MobileNumber","value","disabled","disableTest","phone","RegNo","Description","RadioSelection","Brand","registrationForm","reset","isMGCustomer","enable","validate","sub","customerFeedback","name","email","mobileNo","carDetail","radioSelection","description","isEmail","isPhone","isName","isRegNo","isBrand","registrationNo","regNo","brand","emailModel","body","from","to","adminEmail","subject","Customer","CustomerFeedback","sendEmail","subscribe","response","notify","undefined","is","ready","setAccessoryBarVisible","isVisible","RegistrationService","registrationService","isFromEmailDisabled","fromEmail","isEmailValid","customerObject","EmailAddress","updateCustomerProfile","emailSetEvent","subjectValid","bodyValid","toEmail","dealerNo","slice","getCustomerById","getCustomerId","getCustomerresp","CommentList","Comment","CommentDescription","postLead","fullName","emailAddress","phoneNo","postLeadResp","emailError","d","RegExp","match","Injectable","ApiConfigurationService","mySiteSQLBaseURL","mySiteD365BaseURL","SaMSURL","sos","customer","dealer","chargingStation","login","glovebox","inCarApp","banner","giftCard","serviceHistory","notification","mGAPI","exportAPI","callBack","createSQLAPIUrl","sqlApiControllers","dealerByDMSNo","getAllDealers","mobileVerification","otpVerification","uploadDocument","getDocumentByCustomerId","deleteDocument","getDocumentById","getUsedCarOrOLBURL","getBuyNewCarURL","getGiftCardByPhone","addOLBRedirectParam","getIncarAppByBrandName","getBannerByBrandModel","getAppointmentListByMobileAndLicensePlate","getPackageServices","getNotificationByCustomer","markNotificationAsRead","getAlertByCustomer","updateIsFollowCarById","getTips","getDealerDetail","getVehicleDetails","getInformation","getTermsAndCondition","getPrivacyPolicy","getUserManuals","getConfigCarDataById","getMyOffersByMobileNo","createSaMSBaseUrl","getOfferDetailsByOfferId","vehicle","GetLeadsByPhoneNumber","createD365APIUrl","d365ApiControllers","DeleteConfiguredCar","GetDataFactoryCustomerDetailsByMobileNo","getVehicleByCustomer","getVehicleDetailsByLP","getDealerStaff","updatePrefrredVehicle","changePreferredDealer","getCustomerIdByPhone","actionName","SaMSBaseURL","providedIn","LoaderService","HttpHeaders","throwError","catchError","map","BaseApiService","loaderService","headers","accept","jwtKey","httpOptions","authorization","autoCrmXToken","uri","refreshHeaderOption","pipe","handleError","bind","post","delete","error","msg","statusText","console","status","presentLoader","clear","navigate","jwtHelper","route","state","Promise","resolve","reject","token","isTokenExpired","city","address","consent","customerId","postalCode","profilePicUrl","preferredVehicle","giftCardConsent","socialMediaConsent","campaignNotificationConsent","PostLeadModel","schemaId","schemaName","codesetId","departmentID","departmentName","inquiryTypeId","inquiryTypeDescription","mobile","httpLink","Product","SchemaID","SchemaName","CodesetID","DepartmentID","DepartmentName","InquiryTypeID","InquiryTypeDescription","Mobile","HTTPlink","PlatformService","NavigationEnd","DealerService","NotificationService","getPlatforms","RedirectionService","MgApiService","navCtrl","dealerService","platformService","iab","notificationService","plateformCap","redirectingService","mgApiService","toString","events","event","includes","isKnowMyCar","isActive","isCustomer","isHavingVehicle","isSingleVehicle","themeBrand","toLowerCase","LP","preferredVehicleLP","mainContentDiv","isIos","classList","add","isHavingConfiguredCar","getCustomerDataForIsMinBilUser","homeRedirectURL","dmsNo","redirect","result","lang","set","next","navigateRoot","animated","animationDirection","isPopoverOpen","notifications","notificationIcon","item","param","flag","e","observableResponse","customerConsentData","popover","openPopup","isMinBilUser","updateConsent","consentModel","getCustomerByIdForConsent","Pipe","gtag","pageUrl","screenName","category","label","LoadingController","loadingController","spinner","loading","onDidDismiss","isMobile","isAndroid","Storage","CordovaSQLiteDriver","storage","defineDriver","_storage","key","_a","items","forEach","x","remove","DOCUMENT","Inject","RendererFactory2","rendererFactory","renderer","createRenderer","removeClass","currentTheme","addClass","baseService","config","model","postData","sqlApiResources","getById","d365ApiResources","leadId","postDataWithoutParam","Id","no","getAll","vinNo","BehaviorSubject","asObservable","make","modelYear","regDate","isAll","autoCrmPostLead","mobileNumber","configCarData","leadPostApi","prepareProductObject","ProductList","ProductType","Maingroup","carMake","Subset","carModel","Productnumber","ProductRellist","ProductRelRow","prepareCommentList","color","colorImage","engine","equipmentLevel","equipments","join","factoryEquipments","_b","year","production","OLBURL","mgDealerSite","nobilApiKey","enableProdMode","platformBrowserDynamic","bootstrapModule","catch","log","err"],"sourceRoot":"webpack:///","x_google_ignoreList":[28]}