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;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;AACA;AACA","sources":["./src/app/app-routing.module.ts","./src/app/app.component.ts","./src/app/app.module.ts","./src/app/service/events.service.ts","./src/app/service/language.service.ts","./src/app/service/server-api.service.ts","./src/app/service/storage.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$/|groupOptions: {}|namespace object"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { NoPreloading, PreloadAllModules, RouterModule, Routes } from '@angular/router';\n\nconst routes: Routes = [\n {\n path: 'home',\n loadChildren: () => import('./home/home.module').then( m => m.HomePageModule)\n },\n {\n path: '',\n redirectTo: 'home',\n pathMatch: 'full'\n },\n {\n path: 'login',\n loadChildren: () => import('./login/login.module').then( m => m.LoginPageModule)\n },\n {\n path: 'register',\n loadChildren: () => import('./register/register.module').then( m => m.RegisterPageModule)\n },\n {\n path: 'dashboard',\n loadChildren: () => import('./dashboard/dashboard.module').then( m => m.DashboardPageModule)\n },\n {\n path: 'forgot-password',\n loadChildren: () => import('./forgot-password/forgot-password.module').then( m => m.ForgotPasswordPageModule)\n },\n {\n path: 'form-applicant/:id',\n loadChildren: () => import('./form-applicant/form-applicant.module').then( m => m.FormApplicantPageModule)\n },\n {\n path: 'form-applicant-doc/:id',\n loadChildren: () => import('./form-applicant-doc/form-applicant-doc.module').then( m => m.FormApplicantDocPageModule)\n },\n {\n path: 'form-applicant-receipt',\n loadChildren: () => import('./form-applicant-receipt/form-applicant-receipt.module').then( m => m.FormApplicantReceiptPageModule)\n },\n {\n path: 'form-applicant-sk/:id',\n loadChildren: () => import('./form-applicant-sk/form-applicant-sk.module').then( m => m.FormApplicantSkPageModule)\n },\n // {\n // path: 'form-reregistration',\n // loadChildren: () => import('./form-reregistration/form-reregistration.module').then( m => m.FormReregistrationPageModule)\n // },\n // {\n // path: 'form-reregistration-info',\n // loadChildren: () => import('./form-reregistration-info/form-reregistration-info.module').then( m => m.FormReregistrationInfoPageModule)\n // },\n {\n path: 'form-submission',\n loadChildren: () => import('./form-submission/form-submission.module').then( m => m.FormSubmissionPageModule)\n },\n {\n path: 'payment/:id',\n loadChildren: () => import('./payment/payment.module').then( m => m.PaymentPageModule)\n },\n {\n path: 'payment-cc/:id',\n loadChildren: () => import('./payment-cc/payment-cc.module').then( m => m.PaymentCcPageModule)\n },\n {\n path: 'payment-method',\n loadChildren: () => import('./payment-method/payment-method.module').then( m => m.PaymentMethodPageModule)\n },\n {\n path: 'payment-notif/:id',\n loadChildren: () => import('./payment-notif/payment-notif.module').then( m => m.PaymentNotifPageModule)\n },\n // {\n // path: 'payment-reregistration',\n // loadChildren: () => import('./payment-reregistration/payment-reregistration.module').then( m => m.PaymentReregistrationPageModule)\n // },\n {\n path: 'payment-va/:id',\n loadChildren: () => import('./payment-va/payment-va.module').then( m => m.PaymentVaPageModule)\n },\n {\n path: 'payment-va-bca/:id',\n loadChildren: () => import('./payment-va-bca/payment-va-bca.module').then( m => m.PaymentVaBcaPageModule)\n },\n {\n path: 'profile',\n loadChildren: () => import('./profile/profile.module').then( m => m.ProfilePageModule)\n },\n {\n path: 'reset-password',\n loadChildren: () => import('./reset-password/reset-password.module').then( m => m.ResetPasswordPageModule)\n },\n {\n path: 'account-activation/:id',\n loadChildren: () => import('./account-activation/account-activation.module').then( m => m.AccountActivationPageModule)\n },\n {\n path: 'payment-shopee/:id',\n loadChildren: () => import('./payment-shopee/payment-shopee.module').then( m => m.PaymentShopeePageModule)\n },\n {\n path: 'payment-dana/:id',\n loadChildren: () => import('./payment-dana/payment-dana.module').then( m => m.PaymentDanaPageModule)\n },\n {\n path: 'payment-shopee-direct/:id',\n loadChildren: () => import('./payment-shopee-direct/payment-shopee-direct.module').then( m => m.PaymentShopeeDirectPageModule)\n },\n {\n path: 'payment-ovo/:id',\n loadChildren: () => import('./payment-ovo/payment-ovo.module').then( m => m.PaymentOvoPageModule)\n },\n\n];\n\n@NgModule({\n imports: [\n RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })\n ],\n exports: [RouterModule]\n})\nexport class AppRoutingModule { }\n","import { Component } from '@angular/core';\nimport { MenuController, Platform } from '@ionic/angular';\nimport { EventsService } from './service/events.service';\nimport { LanguageService } from './service/language.service';\nimport { FCM } from 'cordova-plugin-fcm-with-dependecy-updated/ionic/ngx';\nimport { ServerApi } from './service/server-api.service';\n\n@Component({\n selector: 'app-root',\n templateUrl: 'app.component.html',\n styleUrls: ['app.component.scss'],\n})\nexport class AppComponent {\n public userPages = [\n {\n title: 'dashboard',\n url: '/dashboard',\n icon: 'browsers'\n },\n {\n title: 'submission_form',\n url: '/form-submission',\n icon: 'clipboard'\n },\n {\n title: 'profile',\n url: '/profile',\n icon: 'person'\n }\n ]; \n\n constructor(\n public lang : LanguageService,\n public eventService: EventsService,\n public menuCtrl: MenuController,\n public fcm : FCM,\n private platform: Platform,\n public serverApi: ServerApi,\n ) {\n this.menuCtrl.enable(false, \"adminMenu\");\n this.platform.ready().then(() => {\n // this.fcm.subscribeToTopic('evbike');\n this.fcm.getToken().then(token => {\n this.serverApi.fcm_tokey_key = token\n });\n \n this.fcm.onNotification().subscribe(data => {\n if(data.wasTapped){\n console.log(\"Received in background\")\n } else {\n console.log(\"Received in foreground\")\n };\n });\n \n this.fcm.onTokenRefresh().subscribe(token => {\n this.serverApi.fcm_tokey_key = token\n });\n \n this.fcm.hasPermission().then(hasPermission => {\n if (hasPermission) {\n console.log(\"Has permission!\")\n }\n })\n });\n }\n}\n","import { NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { RouteReuseStrategy } from '@angular/router';\n\nimport { IonicModule, IonicRouteStrategy } from '@ionic/angular';\n\nimport { AppComponent } from './app.component';\nimport { AppRoutingModule } from './app-routing.module';\n// import { NativeStorage } from '@awesome-cordova-plugins/native-storage/ngx';\nimport { HttpClient, HttpClientModule } from '@angular/common/http';\nimport { CommonModule, HashLocationStrategy, LocationStrategy } from '@angular/common';\nimport { Drivers } from '@ionic/storage';\nimport { IonicStorageModule } from '@ionic/storage-angular';\nimport { InAppBrowser } from '@awesome-cordova-plugins/in-app-browser/ngx';\n\nimport * as CordovaSQLiteDriver from 'localforage-cordovasqlitedriver';\nimport { FCM } from 'cordova-plugin-fcm-with-dependecy-updated/ionic/ngx';\n\n@NgModule({\n declarations: [AppComponent],\n imports: [\n BrowserModule, \n CommonModule, \n IonicModule.forRoot(), \n AppRoutingModule, \n HttpClientModule,\n IonicStorageModule.forRoot({\n name: '__psbrecisdb',\n driverOrder: [CordovaSQLiteDriver._driver, Drivers.IndexedDB]\n })\n ],\n providers: [\n HttpClient,\n { provide: RouteReuseStrategy, useClass: IonicRouteStrategy },\n { provide: LocationStrategy, useClass: HashLocationStrategy },\n InAppBrowser,\n FCM,\n ],\n bootstrap: [AppComponent]\n})\nexport class AppModule {}\n","import { Injectable } from '@angular/core';\nimport { ServerApi } from './server-api.service';\nimport { LanguageService } from './language.service'\nimport { Router } from '@angular/router';\nimport { AlertController, LoadingController, MenuController } from '@ionic/angular';\nimport { UserData } from '../interfaces/UserData';\nimport { StorageService } from './storage.service';\nimport { InAppBrowser, InAppBrowserOptions } from '@awesome-cordova-plugins/in-app-browser/ngx';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class EventsService {\n dataUser : UserData;\n\n constructor(\n private serverApi : ServerApi,\n private alertCtrl: AlertController,\n private loadingCtrl: LoadingController,\n public menuCtrl: MenuController,\n private router : Router,\n private lang: LanguageService,\n private storage: StorageService,\n private iab : InAppBrowser,\n\n ) { }\n\n checkIsLogin(bolRedirect) {\n return this.storage.getItem(this.serverApi.DATA_USER_KEY).then(\n async (value) => {\n if (value) {\n this.dataUser = JSON.parse(value);;\n await this.serverApi.updateFcmToken(this.dataUser.id);\n\n this.menuCtrl.enable(true, \"adminMenu\");\n if (!bolRedirect) {\n this.router.navigateByUrl('/dashboard');\n } \n else {\n if (this.lang.SELECTED_LANG != this.dataUser.lang)\n await this.lang.setLanguageID(this.dataUser.lang); \n else {\n this.lang.SELECTED_LANG = this.dataUser.lang;\n await this.lang.getLanguage();\n }\n }\n }\n }, err => {\n console.log('error get data user', err);\n this.menuCtrl.enable(false, \"adminMenu\");\n\n if(bolRedirect) this.router.navigateByUrl('/');\n else this.lang.getLanguage();\n });\n }\n\n async showAlertNotif(errorMsg, headerText) {\n const alert = await this.alertCtrl.create({\n header: headerText,\n message: errorMsg,\n buttons: ['OK']\n });\n\n return await alert.present();\n } \n\n async changeLanguage(langID) {\n const loadingElement = await this.loadingCtrl.create({\n message: 'Please Wait',\n spinner: 'crescent',\n // duration: 2000\n });\n\n return await loadingElement.present().then(async () => {\n this.lang.setLanguageID(langID).then(async () => {\n this.loadingCtrl.dismiss();\n });\n });\n } \n\n async logOutUser() {\n await this.serverApi.logout().then((data) => {\n this.menuCtrl.enable(false, \"adminMenu\");\n this.router.navigateByUrl('/');\n });\n }\n\n async openPaymentPage(redirectUrl) {\n var browserOption: InAppBrowserOptions = {\n clearcache : 'yes',\n cleardata : 'yes',\n clearsessioncache : 'yes',\n location : 'no',\n hideurlbar : 'yes',\n toolbar : 'no',\n usewkwebview : 'yes',\n hidden: 'yes',\n transitionstyle : 'fliphorizontal'\n };\n \n const loadingElement = await this.loadingCtrl.create({\n message: 'Opening page...',\n spinner: 'crescent',\n });\n \n const browser = this.iab.create(redirectUrl, \"_self\", browserOption); \n\n browser.on('loadstart').subscribe(async event => {\n console.log(event);\n await loadingElement.present();\n }, err => {\n this.showAlertNotif(err, 'Error Loading Page');\n }); \n\n browser.on('loadstop').subscribe((event) => {\n setTimeout( () => {\n loadingElement.dismiss();\n browser.show();\n }, 2000);\n },\n err => {\n loadingElement.dismiss();\n this.showAlertNotif('Please check your internet connection', 'Error Loading Page');\n });\n\n browser.on('message').subscribe(browserParams => {\n // console.log(browserParams);\n\n switch(browserParams.data.action) {\n case 'redirect-dashboard' : \n this.router.navigateByUrl('/dashboard');\n browser.close();\n break;\n\n default :\n }\n },\n (err) => {\n\n },() => {\n // console.log('complete');\n }); \n }\n\n}\n","import { Injectable } from '@angular/core';\nimport { ServerApi } from './server-api.service';\nimport { Platform } from '@ionic/angular';\nimport { StorageService } from './storage.service';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class LanguageService {\n\n dataLanguage = null;\n SELECTED_LANG = 'id';\n DATA_LANGUAGE_KEY = 'dataLanguage';\n\n constructor(\n private serverApi: ServerApi,\n private storage: StorageService,\n private platform: Platform\n ) { \n // this.platform.ready().then(() => {\n this.getLanguagesDictionary();\n // });\n }\n\n setLanguageID(idLang) {\n this.SELECTED_LANG = idLang;\n return this.getLanguagesDictionary();\n }\n\n async getLanguage() {\n if (this.dataLanguage == null) {\n this.dataLanguage = await this.getLanguagesDictionary();\n } \n else {\n let key = this.DATA_LANGUAGE_KEY + this.SELECTED_LANG;\n return this.storage.getItem(key).then((data) => {\n if (data) {\n this.dataLanguage = data;\n return data;\n }\n else\n this.getLanguagesDictionary();\n }); \n } \n }\n\n getLanguagesDictionary() {\n return this.serverApi.getLanguagesFromServer({'lang_id' : this.SELECTED_LANG}).then((res) => {\n let key = this.DATA_LANGUAGE_KEY + this.SELECTED_LANG;\n this.storage.setItem(key, res['data']).then(() => {\n console.log(this.dataLanguage);\n this.dataLanguage = res['data'];\n });\n });\n }\n\n translate(strLang, returnEmpty=0) {\n if (this.dataLanguage == null) \n return '['+strLang+']';\n else {\n if (this.dataLanguage.hasOwnProperty(strLang)) {\n return this.dataLanguage[strLang];\n }\n else {\n if (returnEmpty) return '';\n else return '['+strLang+']';\n }\n }\n }\n}\n","import { Injectable } from '@angular/core';\nimport { Observable, of } from 'rxjs';\nimport { catchError, timeout } from 'rxjs/operators';\n\n\nimport { Platform } from '@ionic/angular';\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { UserData } from '../interfaces/UserData';\nimport { StorageService } from './storage.service';\n\nconst httpOptions = {\n headers: new HttpHeaders({\n 'Content-Type': 'multipart/x-www-form-urlencoded',\n })\n};\n\n@Injectable({\n providedIn: 'root'\n})\n\nexport class ServerApi {\n // apiURL : string = 'http://10.0.0.9/siap/recis_psb/admin/api/client_api/';\n apiURL : string = 'https://ppdb.reginapacis-jkt.sch.id/admin/api/client_api/';\n\n DATA_USER_KEY = 'dataUser';\n DATA_UNIT_KEY = 'dataUnits';\n DATA_CLASS_TYPE_KEY = 'dataClassType';\n DATA_PREVIOUS_SCHOOL_TYPE_KEY = 'datapPreviousSchoolType';\n\n HAS_LOGGED_IN = '0';\n\n\n fcm_tokey_key:string='';\n\n constructor(\n public http: HttpClient,\n private storage: StorageService,\n private plt: Platform,\n // private lang: LanguageService\n ) {\n }\n\n register(value){\n return this.httpPostServer('register', value); \n }\n \n validateAccount(params) {\n return this.httpPostServer('val', params); \n }\n\n updatePassword(params){\n return this.httpPostServer('update_password', params); \n }\n\n login(value){\n if (this.plt.is('cordova'))\n value.device_token_fcm = this.fcm_tokey_key;\n\n return this.httpPostServer('login', value); \n }\n \n async logout(){\n await this.storage.remove(this.DATA_USER_KEY);\n await this.storage.setItem(this.HAS_LOGGED_IN, '0');\n return '';\n }\n\n sendMailResetPassword(params) {\n return this.httpPostServer('send_mail_reset_password', params); \n }\n\n validateResetParams(params) {\n return this.httpPostServer('validate_reset_params', params); \n }\n\n // async getDataUser(): Promise {\n // return await this.storage.ready().then(async () => {\n // return await this.storage.get(this.DATA_USER_KEY).then((value) => {\n // if (value) {\n // let dataUser = JSON.parse(value);\n // this.updateFcmToken(dataUser.id);\n // return dataUser;\n // }\n // else\n // PromiseRejectionEvent\n // });\n // });\n // };\n\n\n getDataUser() {\n return this.storage.getItem(this.DATA_USER_KEY).then((value) => {\n if (value) {\n let dataUser:UserData = JSON.parse(value);\n this.updateFcmToken(dataUser.id);\n\n return dataUser;\n }\n });\n };\n\n updateProfile(params): Promise {\n return this.httpPostServer('profile', params); \n }\n\n updateDataUserLocal(objUpdate): Promise {\n return this.storage.getItem(this.DATA_USER_KEY).then((value) => {\n if (value) {\n let dataUser = JSON.parse(value);\n\n for (var key in objUpdate) {\n if (objUpdate.hasOwnProperty(key)) {\n if (objUpdate[key] !== null) {\n dataUser[key] = objUpdate[key];\n // if (key == 'lang') this.lang.setLanguageID(objUpdate[key]);\n }\n\n }\n } \n\n this.storage.setItem(this.DATA_USER_KEY, JSON.stringify(dataUser));\n }\n });\n }\n\n updateFcmToken(userID) {\n // handle klo di platform web jangan di update\n if (this.fcm_tokey_key != '')\n return this.httpPostServer('update_fcm_token', {id:userID, device_token_fcm:this.fcm_tokey_key}); \n }\n\n getDataCurriculumYears(): Promise{\n // this.storage.remove(this.DATA_UNIT_KEY);\n return this.httpPostServer('get_curriculum_years', null); \n }\n\n getDataCurriculumYearRereg(): Promise{\n return this.httpPostServer('get_curriculum_years_rereg', null); \n } \n\n getDataUnits(): Promise{\n // this.storage.remove(this.DATA_UNIT_KEY);\n return this.httpPostServer('get_units', null); \n }\n\n getDataUnitsRereg(): Promise{\n // this.storage.remove(this.DATA_UNIT_KEY);\n return this.httpPostServer('get_units_rereg', null); \n } \n\n getGradeAgeLimit(params): Promise{\n // this.storage.remove(this.DATA_UNIT_KEY);\n return this.httpPostServer('get_age_limit', params); \n }\n\n async getDataClassType(): Promise{\n await this.storage.remove(this.DATA_CLASS_TYPE_KEY);\n return this.storage.getItem(this.DATA_CLASS_TYPE_KEY).then((data) => {\n if (data) {\n return data;\n }\n else {\n return new Promise((resolve, reject) => {\n this.http.post(this.apiURL+'get_classtypes', null, httpOptions).subscribe(res => {\n this.storage.setItem(this.DATA_CLASS_TYPE_KEY, res);\n resolve(res);\n }, err => {\n reject(err);\n });\n }); \n }\n });\n \n } \n\n\n getDataPreviousSchoolType() {\n return this.httpPostServer('get_previous_school_type', null);\n } \n\n async getDataClassTypeRereg(): Promise{\n await this.storage.remove(this.DATA_CLASS_TYPE_KEY);\n return this.storage.getItem(this.DATA_CLASS_TYPE_KEY).then((data) => {\n if (data) {\n return data;\n }\n else {\n return new Promise((resolve, reject) => {\n this.http.post(this.apiURL+'get_classtypes_rereg', null, httpOptions).subscribe(res => {\n this.storage.setItem(this.DATA_CLASS_TYPE_KEY, res);\n resolve(res);\n }, err => {\n reject(err);\n });\n }); \n }\n });\n \n } \n\n doSubmission(value){\n return this.httpPostServer('submission', value); \n }\n\n getDataSubmissionByUser(UserID): Promise {\n return this.httpPostServer('active_submission', {user_id : UserID});\n };\n\n getNotifications(UserID): Promise {\n return this.httpPostServer('get_notifications', {user_id : UserID}); \n };\n \n paySubmission(params): Promise {\n return this.httpPostServer('payment_submission', params); \n }\n\n paySubmissionVa(params): Promise {\n return this.httpPostServer('payment_va', params); \n }\n\n paySubmissionVaBca(params): Promise {\n return this.httpPostServer('payment_va_bca', params); \n }\n\n paySubmissionCC(params): Promise {\n return this.httpPostServer('payment_cc', params); \n } \n\n paySubmissionShopee(params): Promise {\n return this.httpPostServer('payment_shopee', params); \n } \n\n\n paySubmissionShopeeDirect(params): Promise {\n return this.httpPostServer('payment_shopeedirect', params); \n } \n\n paySubmissionDana(params): Promise {\n return this.httpPostServer('payment_dana', params); \n } \n\n paySubmissionOvo(params): Promise {\n return this.httpPostServer('payment_ovo', params); \n } \n\n checkPayment(params): Promise{\n // this.storage.remove(this.DATA_UNIT_KEY);\n return this.httpPostServer('check_payment', params); \n }\n\n getSubmissionFare(idSubmission): Promise {\n return this.httpPostServer('get_submission_fare', {'submission_id' : idSubmission}); \n }\n \n uploadApplicantDoc(params): Promise {\n return this.httpPostServer('upload_applicant_doc', params); \n }\n\n getDataApplicant(params): Promise {\n return this.httpPostServer('getApplicant', params); \n }\n\n getDataSubmission(params): Promise {\n return this.httpPostServer('getSubmission', params); \n }\n \n getDataReligion(): Promise {\n return this.httpPostServer('getReligion', null); \n }\n \n getDataInfoSource() : Promise {\n return this.httpPostServer('get_info_source', null);\n }\n\n getDataProvince(): Promise {\n return this.httpPostServer('get_province', null); \n }\n \n getDataCountry(): Promise {\n return this.httpPostServer('get_country', null); \n }\n\n submitApplicant(value){\n return this.httpPostServer('applicant', value); \n }\n\n getDataPreparePaymentVa(params): Promise {\n return this.httpPostServer('prepare_payment_va', params); \n } \n\n getDataPreparePaymentVaBca(params): Promise {\n return this.httpPostServer('prepare_payment_va_bca', params); \n } \n\n getPaymentMethodInfo(params): Promise {\n if (params.type == 'bca')\n return this.httpPostServer('get_payment_method_bca', params); \n else\n return this.httpPostServer('get_payment_method', params); \n } \n\n\n getLanguagesFromServer(params) {\n return this.httpPostServer('get_language', params); \n }\n\n getPernyataanTemplate(params): Promise {\n return this.httpPostServer('generate_pernyataan', params); \n }\n\n getReregistrationFee(params): Promise{\n return this.httpPostServer('get_reregistration_fee', params); \n } \n \n checkReregistration(params): Promise{\n return this.httpPostServer('check_reregistration', params); \n } \n \n reregistration(params): Promise{\n return this.httpPostServer('reregistration', params); \n } \n\n getDataReregistrationById(params): Promise{\n return this.httpPostServer('get_reregistration_by_id', params); \n } \n\n getDataReregistrationByUser(params): Promise{\n return this.httpPostServer('get_reregistration_by_user', params); \n } \n\n payReregistrationVa(params): Promise{\n return this.httpPostServer('get_reregistration_by_id', params); \n } \n\n\n getBookUrl(idReregistration): Promise{\n return this.httpPostServer('book_url/'+idReregistration, null); \n } \n\n async setLocalDataApplicant(id_applicant, dataParams): Promise{\n return new Promise((resolve, reject) => {\n this.storage.setItem('applicant_'+id_applicant, dataParams).then((res) => {\n resolve(res);\n },\n (err) => {\n reject(err);\n });\n });\n } \n\n async getLocalDataApplicant(id_applicant): Promise {\n return new Promise((resolve, reject) => {\n this.storage.getItem('applicant_'+id_applicant).then((res) => {\n resolve(res);\n },\n (err) => {\n reject(err);\n });\n });\n }\n\n async removeLocalDataApplicant(id_applicant): Promise {\n return new Promise((resolve, reject) => {\n this.storage.remove('applicant_'+id_applicant).then((res) => {\n resolve(res);\n },\n (err) => {\n reject(err);\n });\n });\n } \n\n async setLocalDataSubmission(idUser, dataParams): Promise{\n return new Promise((resolve, reject) => {\n this.storage.setItem('submission_data_'+idUser, dataParams).then((res) => {\n resolve(res);\n },\n (err) => {\n reject(err);\n });\n });\n } \n\n async getLocalDataSubmission(idUser): Promise {\n return new Promise((resolve, reject) => {\n this.storage.getItem('submission_data_'+idUser).then((res) => {\n resolve(res);\n },\n (err) => {\n reject(err);\n });\n });\n } \n\n async removeLocalDataSubmission(idUser): Promise {\n return new Promise((resolve, reject) => {\n this.storage.remove('submission_data_'+idUser).then((res) => {\n resolve(res);\n },\n (err) => {\n reject(err);\n });\n });\n } \n\n async setLocalDataRereg(idUser, dataParams): Promise{\n return new Promise((resolve, reject) => {\n this.storage.setItem('rereg_data_'+idUser, dataParams).then((res) => {\n resolve(res);\n },\n (err) => {\n reject(err);\n });\n });\n } \n\n async getLocalDataRereg(idUser): Promise {\n return new Promise((resolve, reject) => {\n this.storage.getItem('rereg_data_'+idUser).then((res) => {\n resolve(res);\n },\n (err) => {\n reject(err);\n });\n });\n } \n\n async removeLocalDataRereg(idUser): Promise {\n return new Promise((resolve, reject) => {\n this.storage.remove('rereg_data_'+idUser).then((res) => {\n resolve(res);\n },\n (err) => {\n reject(err);\n });\n });\n } \n\n getsubmissionDocument(idSubmission): Promise{\n return this.httpPostServer('submission_receipt/'+idSubmission, null); \n } \n\n getDataSubmissionEntranceType(): Promise{\n return this.httpPostServer('get_submission_entrance_type', null); \n } \n\n async httpPostServer(url, params){\n return new Promise((resolve, reject) => {\n this.http.post(this.apiURL+url, params, httpOptions).pipe(\n timeout(30000)\n )\n .subscribe(res => {\n resolve(res);\n }, err => {\n reject(err);\n });\n }); \n }\n\n private handleError (operation = 'operation', result?: T) {\n return (error: any): Observable => {\n \n // TODO: send the error to remote logging infrastructure\n // console.log('error =');\n // console.error(error); // log to console instead\n \n // TODO: better job of transforming error for user consumption \n // Let the app keep running by returning an empty result.\n return of(result as T);\n };\n } \n\n}\n","import { Injectable } from '@angular/core';\nimport { Storage } from '@ionic/storage';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class StorageService {\n\n private _storage: Storage | null = null;\n\n constructor(private storage: Storage) {\n this.init();\n }\n\n async init() {\n console.log('async init');\n // If using, define drivers here: await this.storage.defineDriver(/*...*/);\n const storage = await this.storage.create();\n this._storage = storage;\n }\n\n // Create and expose methods that users of this service can\n // call, for example:\n public setItem(key: string, value: any) {\n return this._storage?.set(key, value);\n }\n\n public getItem(key: string) {\n return this._storage?.get(key);\n }\n\n public remove(key: string) {\n return this._storage?.remove(key);\n }\n}\n","// This file can be replaced during build by using the `fileReplacements` array.\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\n// The list of file replacements can be found in `angular.json`.\n\nexport const environment = {\n production: false\n};\n\n/*\n * For easier debugging in development mode, you can import the following file\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\n *\n * This import should be commented out in production mode because it will have a negative impact\n * on performance if an error is thrown.\n */\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\n","import { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\n\nif (environment.production) {\n enableProdMode();\n}\n\nplatformBrowserDynamic().bootstrapModule(AppModule)\n .catch(err => console.log(err));\n","var map = {\n\t\"./ion-accordion_2.entry.js\": [\n\t\t470,\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\t22725,\n\t\t\"node_modules_ionic_core_dist_esm_ion-action-sheet_entry_js\"\n\t],\n\t\"./ion-alert.entry.js\": [\n\t\t36149,\n\t\t\"node_modules_ionic_core_dist_esm_ion-alert_entry_js\"\n\t],\n\t\"./ion-app_8.entry.js\": [\n\t\t19288,\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\t61031,\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\t58310,\n\t\t\"node_modules_ionic_core_dist_esm_ion-back-button_entry_js\"\n\t],\n\t\"./ion-backdrop.entry.js\": [\n\t\t81983,\n\t\t\"node_modules_ionic_core_dist_esm_ion-backdrop_entry_js\"\n\t],\n\t\"./ion-breadcrumb_2.entry.js\": [\n\t\t17039,\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\t57945,\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\t8714,\n\t\t\"node_modules_ionic_core_dist_esm_ion-card_5_entry_js\"\n\t],\n\t\"./ion-checkbox.entry.js\": [\n\t\t31786,\n\t\t\"node_modules_ionic_core_dist_esm_ion-checkbox_entry_js\"\n\t],\n\t\"./ion-chip.entry.js\": [\n\t\t24702,\n\t\t\"node_modules_ionic_core_dist_esm_ion-chip_entry_js\"\n\t],\n\t\"./ion-col_3.entry.js\": [\n\t\t94094,\n\t\t\"node_modules_ionic_core_dist_esm_ion-col_3_entry_js\"\n\t],\n\t\"./ion-datetime_3.entry.js\": [\n\t\t50795,\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\t36976,\n\t\t\"node_modules_ionic_core_dist_esm_ion-fab_3_entry_js\"\n\t],\n\t\"./ion-img.entry.js\": [\n\t\t51417,\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\t78412,\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\t94706,\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\t73459,\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\t23354,\n\t\t\"node_modules_ionic_core_dist_esm_ion-item_8_entry_js\"\n\t],\n\t\"./ion-loading.entry.js\": [\n\t\t41025,\n\t\t\"node_modules_ionic_core_dist_esm_ion-loading_entry_js\"\n\t],\n\t\"./ion-menu_3.entry.js\": [\n\t\t98592,\n\t\t\"node_modules_ionic_core_dist_esm_ion-menu_3_entry_js\"\n\t],\n\t\"./ion-modal.entry.js\": [\n\t\t52526,\n\t\t\"node_modules_ionic_core_dist_esm_ion-modal_entry_js\"\n\t],\n\t\"./ion-nav_2.entry.js\": [\n\t\t92447,\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\t24820,\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\t83212,\n\t\t\"node_modules_ionic_core_dist_esm_ion-picker-internal_entry_js\"\n\t],\n\t\"./ion-popover.entry.js\": [\n\t\t87557,\n\t\t\"node_modules_ionic_core_dist_esm_ion-popover_entry_js\"\n\t],\n\t\"./ion-progress-bar.entry.js\": [\n\t\t28692,\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\t93544,\n\t\t\"node_modules_ionic_core_dist_esm_ion-radio_2_entry_js\"\n\t],\n\t\"./ion-range.entry.js\": [\n\t\t40042,\n\t\t\"node_modules_ionic_core_dist_esm_ion-range_entry_js\"\n\t],\n\t\"./ion-refresher_2.entry.js\": [\n\t\t70718,\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\t95981,\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\t76488,\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\t47937,\n\t\t\"node_modules_ionic_core_dist_esm_ion-route_4_entry_js\"\n\t],\n\t\"./ion-searchbar.entry.js\": [\n\t\t50942,\n\t\t\"node_modules_ionic_core_dist_esm_ion-searchbar_entry_js\"\n\t],\n\t\"./ion-segment_2.entry.js\": [\n\t\t20816,\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\t19062,\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\t13466,\n\t\t\"node_modules_ionic_core_dist_esm_ion-slide_2_entry_js\"\n\t],\n\t\"./ion-spinner.entry.js\": [\n\t\t18404,\n\t\t\"node_modules_ionic_core_dist_esm_ion-spinner_entry_js\"\n\t],\n\t\"./ion-split-pane.entry.js\": [\n\t\t60953,\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\t44254,\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\t45195,\n\t\t\"node_modules_ionic_core_dist_esm_ion-tab_2_entry_js\"\n\t],\n\t\"./ion-text.entry.js\": [\n\t\t86116,\n\t\t\"node_modules_ionic_core_dist_esm_ion-text_entry_js\"\n\t],\n\t\"./ion-textarea.entry.js\": [\n\t\t79781,\n\t\t\"node_modules_ionic_core_dist_esm_ion-textarea_entry_js\"\n\t],\n\t\"./ion-toast.entry.js\": [\n\t\t48323,\n\t\t\"node_modules_ionic_core_dist_esm_ion-toast_entry_js\"\n\t],\n\t\"./ion-toggle.entry.js\": [\n\t\t376,\n\t\t\"node_modules_ionic_core_dist_esm_ion-toggle_entry_js\"\n\t],\n\t\"./ion-virtual-scroll.entry.js\": [\n\t\t82072,\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(() => {\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(() => {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 50863;\nmodule.exports = webpackAsyncContext;"],"names":[],"sourceRoot":"webpack:///"}