(self["webpackChunkapp"] = self["webpackChunkapp"] || []).push([["default-src_app_components_shared_module_ts-src_app_services_api_base_service_ts"],{

/***/ 84489:
/*!*****************************************************************!*\
  !*** ./src/app/components/icon-button/icon-button.component.ts ***!
  \*****************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   IconButtonComponent: () => (/* binding */ IconButtonComponent)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! tslib */ 24398);
/* harmony import */ var _icon_button_component_html_ngResource__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./icon-button.component.html?ngResource */ 71683);
/* harmony import */ var _icon_button_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./icon-button.component.scss?ngResource */ 65595);
/* harmony import */ var _icon_button_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_icon_button_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 37580);
var _IconButtonComponent;




let IconButtonComponent = (_IconButtonComponent = class IconButtonComponent {
  constructor() {
    this.color = 'light';
    this.disabled = false;
  }
}, _IconButtonComponent.propDecorators = {
  label: [{
    type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  }],
  icon: [{
    type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  }],
  type: [{
    type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  }],
  color: [{
    type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  }],
  disabled: [{
    type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  }]
}, _IconButtonComponent);
IconButtonComponent = (0,tslib__WEBPACK_IMPORTED_MODULE_3__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.Component)({
  selector: 'app-icon-button',
  template: _icon_button_component_html_ngResource__WEBPACK_IMPORTED_MODULE_0__,
  styles: [(_icon_button_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1___default())]
})], IconButtonComponent);


/***/ }),

/***/ 91473:
/*!*****************************************************!*\
  !*** ./src/app/components/input/input.component.ts ***!
  \*****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   InputComponent: () => (/* binding */ InputComponent)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! tslib */ 24398);
/* harmony import */ var _input_component_html_ngResource__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./input.component.html?ngResource */ 60251);
/* harmony import */ var _input_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./input.component.scss?ngResource */ 85667);
/* harmony import */ var _input_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_input_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 37580);
var _InputComponent;



/* eslint-disable @typescript-eslint/naming-convention */
/* eslint-disable @typescript-eslint/member-ordering */

let InputComponent = (_InputComponent = class InputComponent {
  constructor() {
    this.validationRequired = false;
    this.errorMsgs = {
      email: [{
        type: 'required',
        message: 'Provide email.'
      }, {
        type: 'pattern',
        message: 'Email is not valid.'
      }],
      username: [{
        type: 'required',
        message: 'Provide Username.'
      }, {
        type: 'pattern',
        message: 'Provide valid email or phone number.'
      }],
      password: [{
        type: 'required',
        message: 'Password is required.'
      }, {
        type: 'minlength',
        message: 'Password length should be 6 characters long.'
      }],
      inf_id: [{
        type: 'required',
        message: 'INF is required.'
      }, {
        type: 'pattern',
        message: 'Please provide a valid INF id'
      }],
      block_id: [{
        type: 'pattern',
        message: 'Please provide a valid number id'
      }],
      sub_block_id: [{
        type: 'pattern',
        message: 'Please provide a valid number id'
      }],
      majhi_id: [{
        type: 'pattern',
        message: 'Please provide a valid number id'
      }],
      hh_no: [{
        type: 'required',
        message: 'House Hold number is required.'
      }, {
        type: 'pattern',
        message: 'Please provide a valid number id'
      }],
      name: [{
        type: 'required',
        message: 'Name is required.'
      }, {
        type: 'pattern',
        message: 'Please provide a valid name'
      }],
      woman_id: [{
        type: 'pattern',
        message: 'Please provide a valid name'
      }],
      caregiver: [{
        type: 'pattern',
        message: 'Please provide a valid name'
      }],
      father: [{
        type: 'pattern',
        message: 'Please provide a valid name'
      }],
      registration_date: [{
        type: 'required',
        message: 'Registration Date or Age is required.'
      }],
      date_of_birth: [{
        type: 'required',
        message: 'The date of birth field is required when none of age are present.'
      }],
      age: [{
        type: 'required',
        message: 'The date of birth field is required when none of age are present.'
      }],
      phone: [{
        type: 'required',
        message: 'Phone Number is required.'
      }, {
        type: 'pattern',
        message: '11 Digit and Start with 01'
      }],
      mnr_no: [{
        type: 'pattern',
        message: 'Please provide a valid id'
      }],
      fcn: [{
        type: 'pattern',
        message: 'Please provide a Family Count Number(FCN)'
      }],
      ancpnc: [{
        type: 'pattern',
        message: 'Please provide a Family Count Number(FCN)'
      }],
      moha_id: [{
        type: 'pattern',
        message: 'Please provide a valid Moha Id'
      }],
      progress_id: [{
        type: 'pattern',
        message: 'Please provide a valid Progress Id'
      }],
      scope_no: [{
        type: 'pattern',
        message: 'Please provide a valid Scope Id'
      }],
      remarks: [{
        type: 'required',
        message: 'Remarks is required.'
      }, {
        type: 'pattern',
        message: 'Please Provide a valid remarks'
      }],
      t_date: [{
        type: 'required',
        message: 'Remarks is required.'
      }]
    };
    this.type = 'text';
    this.inputChangeEvent = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.EventEmitter();
  }
  onInputChanged(arg0, event) {
    this.inputChangeEvent.emit({
      key: arg0,
      value: event.detail.value
    });
  }
  onBlur(event) {
    const value = event.target.value;
    if (!value) {
      this.focused = false;
    }
  }
}, _InputComponent.propDecorators = {
  label: [{
    type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  }],
  fControl: [{
    type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  }],
  fGroup: [{
    type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  }],
  value: [{
    type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  }],
  max: [{
    type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  }],
  readonly: [{
    type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  }],
  validationRequired: [{
    type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  }],
  type: [{
    type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  }],
  inputChangeEvent: [{
    type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Output
  }]
}, _InputComponent);
InputComponent = (0,tslib__WEBPACK_IMPORTED_MODULE_3__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.Component)({
  selector: 'app-input',
  template: _input_component_html_ngResource__WEBPACK_IMPORTED_MODULE_0__,
  changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  styles: [(_input_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1___default())]
})], InputComponent);


/***/ }),

/***/ 69843:
/*!*******************************************************************!*\
  !*** ./src/app/components/report-modal/report-modal.component.ts ***!
  \*******************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ReportModalComponent: () => (/* binding */ ReportModalComponent)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! tslib */ 24398);
/* harmony import */ var _report_modal_component_html_ngResource__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./report-modal.component.html?ngResource */ 38965);
/* harmony import */ var _report_modal_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./report-modal.component.scss?ngResource */ 69053);
/* harmony import */ var _report_modal_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_report_modal_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 37580);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ionic/angular */ 21507);
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/platform-browser */ 80436);
var _ReportModalComponent;






let ReportModalComponent = (_ReportModalComponent = class ReportModalComponent {
  constructor(modalCtrl, sanitizer) {
    this.modalCtrl = modalCtrl;
    this.sanitizer = sanitizer;
  }
  ngOnInit() {
    this.safeUrl = this.sanitizer.bypassSecurityTrustResourceUrl(this.url);
  }
  dismiss() {
    this.modalCtrl.dismiss();
  }
}, _ReportModalComponent.ctorParameters = () => [{
  type: _ionic_angular__WEBPACK_IMPORTED_MODULE_2__.ModalController
}, {
  type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__.DomSanitizer
}], _ReportModalComponent.propDecorators = {
  url: [{
    type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input
  }],
  title: [{
    type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input
  }]
}, _ReportModalComponent);
ReportModalComponent = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_4__.Component)({
  selector: 'app-report-modal',
  template: _report_modal_component_html_ngResource__WEBPACK_IMPORTED_MODULE_0__,
  styles: [(_report_modal_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1___default())]
})], ReportModalComponent);


/***/ }),

/***/ 47774:
/*!*********************************************!*\
  !*** ./src/app/components/shared.module.ts ***!
  \*********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SharedModule: () => (/* binding */ SharedModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! tslib */ 24398);
/* harmony import */ var _skeleton_skeleton_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./skeleton/skeleton.component */ 67009);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 37580);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 60316);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ionic/angular */ 21507);
/* harmony import */ var _input_input_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./input/input.component */ 91473);
/* harmony import */ var _icon_button_icon_button_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./icon-button/icon-button.component */ 84489);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/forms */ 34456);
/* harmony import */ var _pipe_percent_decorator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../pipe/percent_decorator */ 40768);
/* harmony import */ var _report_modal_report_modal_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./report-modal/report-modal.component */ 69843);










let SharedModule = class SharedModule {};
SharedModule = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_6__.NgModule)({
  declarations: [_input_input_component__WEBPACK_IMPORTED_MODULE_1__.InputComponent, _icon_button_icon_button_component__WEBPACK_IMPORTED_MODULE_2__.IconButtonComponent, _skeleton_skeleton_component__WEBPACK_IMPORTED_MODULE_0__.SkeletonComponent, _report_modal_report_modal_component__WEBPACK_IMPORTED_MODULE_4__.ReportModalComponent, _pipe_percent_decorator__WEBPACK_IMPORTED_MODULE_3__.PercentDecoratorPipe],
  imports: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.CommonModule, _ionic_angular__WEBPACK_IMPORTED_MODULE_8__.IonicModule, _angular_forms__WEBPACK_IMPORTED_MODULE_9__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_9__.ReactiveFormsModule],
  exports: [_input_input_component__WEBPACK_IMPORTED_MODULE_1__.InputComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_9__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_9__.ReactiveFormsModule, _icon_button_icon_button_component__WEBPACK_IMPORTED_MODULE_2__.IconButtonComponent, _skeleton_skeleton_component__WEBPACK_IMPORTED_MODULE_0__.SkeletonComponent, _pipe_percent_decorator__WEBPACK_IMPORTED_MODULE_3__.PercentDecoratorPipe]
})], SharedModule);


/***/ }),

/***/ 67009:
/*!***********************************************************!*\
  !*** ./src/app/components/skeleton/skeleton.component.ts ***!
  \***********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SkeletonComponent: () => (/* binding */ SkeletonComponent)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ 24398);
/* harmony import */ var _skeleton_component_html_ngResource__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./skeleton.component.html?ngResource */ 92371);
/* harmony import */ var _skeleton_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./skeleton.component.scss?ngResource */ 83863);
/* harmony import */ var _skeleton_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_skeleton_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 37580);
var _SkeletonComponent;




let SkeletonComponent = (_SkeletonComponent = class SkeletonComponent {
  constructor() {}
  ngOnInit() {}
}, _SkeletonComponent.ctorParameters = () => [], _SkeletonComponent);
SkeletonComponent = (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_3__.Component)({
  selector: 'app-skeleton',
  template: _skeleton_component_html_ngResource__WEBPACK_IMPORTED_MODULE_0__,
  styles: [(_skeleton_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1___default())]
})], SkeletonComponent);


/***/ }),

/***/ 40768:
/*!*******************************************!*\
  !*** ./src/app/pipe/percent_decorator.ts ***!
  \*******************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PercentDecoratorPipe: () => (/* binding */ PercentDecoratorPipe)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ 24398);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 37580);


/*
 If the value is null change it to N/A
*/
let PercentDecoratorPipe = class PercentDecoratorPipe {
  transform(value) {
    return Number(value) ? `${Number(value)}%` : 'N/A';
  }
};
PercentDecoratorPipe = (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.Pipe)({
  name: 'percentDecorator'
})], PercentDecoratorPipe);


/***/ }),

/***/ 70014:
/*!**********************************************!*\
  !*** ./src/app/services/api_base.service.ts ***!
  \**********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   APIBaseService: () => (/* binding */ APIBaseService)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tslib */ 24398);
/* harmony import */ var _ngrx_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ngrx/store */ 81383);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 37580);
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ 46443);
/* harmony import */ var _global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global */ 99328);
/* harmony import */ var _util_baseHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/baseHelper */ 76434);
var _APIBaseService;

/* eslint-disable eqeqeq */

/* eslint-disable @typescript-eslint/naming-convention */




let APIBaseService = (_APIBaseService = class APIBaseService {
  constructor(http, g, b, store) {
    this.http = http;
    this.g = g;
    this.b = b;
    this.store = store;
  }
  getHeader(params = {}) {
    // Get token from current user if g.jws is not available
    let token = this.g.jws;
    if (!token) {
      const currentUser = this.b.getCurrentUser();
      token = currentUser === null || currentUser === void 0 ? void 0 : currentUser.token;
    }
    return {
      headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__.HttpHeaders({
        Authorization: token
      }),
      params
    };
  }
  errorHandle(err) {
    let message = '';
    let detailedErrors = null;
    // Extract error details from response
    if (err !== null && err !== void 0 && err.error) {
      // Backend error format: {success: false, message: string, data?: object|string}
      message = err.error.message || err.message;
      detailedErrors = err.error.data;
    } else {
      message = err.message;
    }
    // Handle specific HTTP status codes
    switch (err.status) {
      case 0:
        // Network error
        message = 'Failed reaching server!!! Make sure you are connected to internet or camp site network.';
        this.b.errorToast(message);
        break;
      case 400:
        // Bad Request
        message = message || 'Bad request. Please check your input.';
        this.b.errorToast(this.formatErrorMessage(message, detailedErrors));
        break;
      case 401:
        // Unauthorized - token expired
        message = message || 'Session expired. Please login again.';
        this.b.errorToast(message);
        setTimeout(() => {
          this.b.logout('token_expired');
        }, 3000);
        break;
      case 403:
        // Forbidden
        message = message || 'Access denied. You do not have permission to perform this action.';
        this.b.errorToast(message);
        break;
      case 404:
        // Not Found
        message = message || 'Resource not found.';
        this.b.errorToast(this.formatErrorMessage(message, detailedErrors));
        break;
      case 422:
        // Validation Error (Unprocessable Entity)
        message = message || 'Validation failed. Please check your input.';
        this.b.errorToast(this.formatErrorMessage(message, detailedErrors));
        break;
      case 500:
        // Internal Server Error
        message = message || 'Internal server error. Please try again later.';
        this.b.errorToast(message);
        break;
      case 503:
        // Service Unavailable
        message = message || 'Service unavailable. Please try again later.';
        this.b.errorToast(message);
        break;
      default:
        // Other errors
        message = message || 'Unknown error occurred. Make sure you are connected and retry.';
        this.b.errorToast(this.formatErrorMessage(message, detailedErrors));
        break;
    }
    return Promise.resolve({
      message: this.formatErrorMessage(message, detailedErrors),
      success: false,
      data: detailedErrors
    });
  }
  /**
   * Format error message with detailed validation errors or data
   */
  formatErrorMessage(mainMessage, detailedErrors) {
    if (!detailedErrors) {
      return mainMessage;
    }
    // If detailedErrors is a string (like the data field from backend)
    if (typeof detailedErrors === 'string') {
      return `${mainMessage} - ${detailedErrors}`;
    }
    // If detailedErrors is an object with field-specific errors (validation errors)
    if (typeof detailedErrors === 'object' && !Array.isArray(detailedErrors)) {
      const errorMessages = [mainMessage];
      Object.keys(detailedErrors).forEach(field => {
        const fieldErrors = detailedErrors[field];
        if (Array.isArray(fieldErrors)) {
          fieldErrors.forEach(error => errorMessages.push(`• ${error}`));
        } else if (typeof fieldErrors === 'string') {
          errorMessages.push(`• ${fieldErrors}`);
        }
      });
      return errorMessages.join('\n');
    }
    return mainMessage;
  }
}, _APIBaseService.ctorParameters = () => [{
  type: _angular_common_http__WEBPACK_IMPORTED_MODULE_2__.HttpClient
}, {
  type: _global__WEBPACK_IMPORTED_MODULE_0__.GlobalProvider
}, {
  type: _util_baseHelper__WEBPACK_IMPORTED_MODULE_1__.BaseHelper
}, {
  type: _ngrx_store__WEBPACK_IMPORTED_MODULE_3__.Store
}], _APIBaseService);
APIBaseService = (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.Injectable)({
  providedIn: 'root'
})], APIBaseService);


/***/ }),

/***/ 65595:
/*!******************************************************************************!*\
  !*** ./src/app/components/icon-button/icon-button.component.scss?ngResource ***!
  \******************************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {

// Imports
var ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/sourceMaps.js */ 53142);
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ 35950);
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
// Module
___CSS_LOADER_EXPORT___.push([module.id, `ion-button {
  --box-shadow: none;
  --border-radius: 10px;
  --background: #ebeef4;
  height: 48px;
  font-size: 1rem;
  margin-bottom: 0.7rem;
  text-transform: initial;
}
ion-button ion-icon {
  margin-right: 0.5rem;
}`, "",{"version":3,"sources":["webpack://./src/app/components/icon-button/icon-button.component.scss"],"names":[],"mappings":"AAAA;EACE,kBAAA;EACA,qBAAA;EACA,qBAAA;EAEA,YAAA;EACA,eAAA;EAEA,qBAAA;EACA,uBAAA;AADF;AAGE;EACE,oBAAA;AADJ","sourcesContent":["ion-button {\n  --box-shadow: none;\n  --border-radius: 10px;\n  --background: #ebeef4;\n\n  height: 48px;\n  font-size: 1rem;\n  //color: #123681;\n  margin-bottom: 0.7rem;\n  text-transform: initial;\n\n  ion-icon {\n    margin-right: 0.5rem;\n  }\n}\n"],"sourceRoot":""}]);
// Exports
module.exports = ___CSS_LOADER_EXPORT___.toString();


/***/ }),

/***/ 85667:
/*!******************************************************************!*\
  !*** ./src/app/components/input/input.component.scss?ngResource ***!
  \******************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {

// Imports
var ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/sourceMaps.js */ 53142);
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ 35950);
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
// Module
___CSS_LOADER_EXPORT___.push([module.id, ``, "",{"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":""}]);
// Exports
module.exports = ___CSS_LOADER_EXPORT___.toString();


/***/ }),

/***/ 69053:
/*!********************************************************************************!*\
  !*** ./src/app/components/report-modal/report-modal.component.scss?ngResource ***!
  \********************************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {

// Imports
var ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/sourceMaps.js */ 53142);
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ 35950);
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
// Module
___CSS_LOADER_EXPORT___.push([module.id, `:host {
  display: block;
  height: 100%;
}

ion-content {
  --padding-top: 0;
  --padding-bottom: 0;
  --padding-start: 0;
  --padding-end: 0;
  overflow-x: scroll;
  overflow-y: hidden;
}

iframe {
  min-width: 100%;
  height: 100vh;
  border: none;
}`, "",{"version":3,"sources":["webpack://./src/app/components/report-modal/report-modal.component.scss"],"names":[],"mappings":"AAAA;EACE,cAAA;EACA,YAAA;AACF;;AAEA;EACE,gBAAA;EACA,mBAAA;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,kBAAA;AACF;;AAEA;EACE,eAAA;EACA,aAAA;EACA,YAAA;AACF","sourcesContent":[":host {\n  display: block;\n  height: 100%;\n}\n\nion-content {\n  --padding-top: 0;\n  --padding-bottom: 0;\n  --padding-start: 0;\n  --padding-end: 0;\n  overflow-x: scroll;\n  overflow-y: hidden;\n}\n\niframe {\n  min-width: 100%;\n  height: 100vh;\n  border: none;\n}\n"],"sourceRoot":""}]);
// Exports
module.exports = ___CSS_LOADER_EXPORT___.toString();


/***/ }),

/***/ 83863:
/*!************************************************************************!*\
  !*** ./src/app/components/skeleton/skeleton.component.scss?ngResource ***!
  \************************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {

// Imports
var ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/sourceMaps.js */ 53142);
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ 35950);
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
// Module
___CSS_LOADER_EXPORT___.push([module.id, ``, "",{"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":""}]);
// Exports
module.exports = ___CSS_LOADER_EXPORT___.toString();


/***/ }),

/***/ 71683:
/*!******************************************************************************!*\
  !*** ./src/app/components/icon-button/icon-button.component.html?ngResource ***!
  \******************************************************************************/
/***/ ((module) => {

"use strict";
module.exports = "<ion-button expand='block' [type]=\"type\" [color]=\"color\" [disabled]=\"disabled\">\n  <ion-icon [name]=\"icon\" slot=\"start\"></ion-icon>\n  {{label}}\n</ion-button>";

/***/ }),

/***/ 60251:
/*!******************************************************************!*\
  !*** ./src/app/components/input/input.component.html?ngResource ***!
  \******************************************************************/
/***/ ((module) => {

"use strict";
module.exports = "<div [formGroup]=\"fGroup\" *ngIf=\"fGroup\" class=\"ion-padding-bottom\">\n\n  <ion-item *ngIf=\"type === 'text' || type === 'number' ||  type === 'password'\">\n    <ion-label position=\"stacked\" class=\"ion-text-wrap\">\n      {{label}}\n    </ion-label>\n    <ion-input (ionChange)=\"onInputChanged(fControl,$event)\" [formControlName]=\"fControl\" [type]=\"type\" [value]=\"value\" [clearInput]=\"true\" [readonly]=\"readonly\"></ion-input>\n\n    <ion-note slot=\"error\" *ngIf=\"validationRequired\">\n      <span *ngFor=\"let error of errorMsgs[fControl]\">\n        <span *ngIf=\"fGroup.get(fControl).hasError(error.type) \">\n          {{ error.message }}\n        </span>\n      </span>\n    </ion-note>\n  </ion-item>\n\n  <!--&& (fGroup.get(fControl).dirty || fGroup.get(fControl).touched)-->\n\n  <!--\n  <ion-item *ngIf=\"type === 'date'\">\n    <ion-label class=\"ion-text-wrap\">\n      {{label}}\n    </ion-label>\n    <ion-datetime-button datetime=\"{{fControl}}\">\n    </ion-datetime-button>\n    <ion-popover [trigger]=\"fControl\" [keepContentsMounted]=\"true\">\n      <ng-template>\n        <ion-datetime [id]=\"fControl\" [formControlName]=\"fControl\" (ionChange)=\"onInputChanged(fControl,$event)\" presentation=\"date\"></ion-datetime>\n      </ng-template>\n    </ion-popover>\n\n  </ion-item> -->\n\n  <ion-item *ngIf=\"type === 'date'\">\n    <ion-icon slot=\"start\" name=\"calendar\"></ion-icon>\n    <ion-label position=\"stacked\">{{label}}</ion-label>\n\n    <ion-input value=\"{{fGroup.controls[fControl]?.value | date: 'mediumDate'}}\" [id]=\"fControl\" class=\"ion-text-end\"></ion-input>\n    <ion-popover [trigger]=\"fControl\" [keepContentsMounted]=\"true\">\n      <ng-template>\n        <ion-datetime [id]=\"fControl\" [formControlName]=\"fControl\" (ionChange)=\"onInputChanged(fControl,$event)\" presentation=\"date\" [max]=\"max\"></ion-datetime>\n      </ng-template>\n    </ion-popover>\n  </ion-item>\n\n</div>\n";

/***/ }),

/***/ 38965:
/*!********************************************************************************!*\
  !*** ./src/app/components/report-modal/report-modal.component.html?ngResource ***!
  \********************************************************************************/
/***/ ((module) => {

"use strict";
module.exports = "<ion-header>\n  <ion-toolbar>\n    <ion-title>{{title}} View</ion-title>\n    <ion-buttons slot=\"end\">\n      <ion-button (click)=\"dismiss()\">\n        <ion-icon slot=\"icon-only\" name=\"close-outline\"></ion-icon>\n      </ion-button>\n    </ion-buttons>\n  </ion-toolbar>\n</ion-header>\n\n<ion-content fullscreen>\n  <iframe\n    [src]=\"safeUrl\"\n    width=\"100%\"\n    height=\"100%\"\n    style=\"border: none;\"\n  ></iframe>\n</ion-content>\n";

/***/ }),

/***/ 92371:
/*!************************************************************************!*\
  !*** ./src/app/components/skeleton/skeleton.component.html?ngResource ***!
  \************************************************************************/
/***/ ((module) => {

"use strict";
module.exports = "<div class=\"ion-padding custom-skeleton\">\n  <ion-skeleton-text animated style=\"width: 60%\"></ion-skeleton-text>\n  <ion-skeleton-text animated></ion-skeleton-text>\n  <ion-skeleton-text animated style=\"width: 88%\"></ion-skeleton-text>\n  <ion-skeleton-text animated style=\"width: 70%\"></ion-skeleton-text>\n  <ion-skeleton-text animated style=\"width: 60%\"></ion-skeleton-text>\n</div>\n\n<ion-list>\n  <ion-list-header>\n    <ion-label>\n      <ion-skeleton-text animated style=\"width: 20%\"></ion-skeleton-text>\n    </ion-label>\n  </ion-list-header>\n  <ion-item>\n    <ion-avatar slot=\"start\">\n      <ion-skeleton-text animated></ion-skeleton-text>\n    </ion-avatar>\n    <ion-label>\n      <h3>\n        <ion-skeleton-text animated style=\"width: 50%\"></ion-skeleton-text>\n      </h3>\n      <p>\n        <ion-skeleton-text animated style=\"width: 80%\"></ion-skeleton-text>\n      </p>\n      <p>\n        <ion-skeleton-text animated style=\"width: 60%\"></ion-skeleton-text>\n      </p>\n    </ion-label>\n  </ion-item>\n  <ion-item>\n    <ion-thumbnail slot=\"start\">\n      <ion-skeleton-text animated></ion-skeleton-text>\n    </ion-thumbnail>\n    <ion-label>\n      <h3>\n        <ion-skeleton-text animated style=\"width: 50%\"></ion-skeleton-text>\n      </h3>\n      <p>\n        <ion-skeleton-text animated style=\"width: 80%\"></ion-skeleton-text>\n      </p>\n      <p>\n        <ion-skeleton-text animated style=\"width: 60%\"></ion-skeleton-text>\n      </p>\n    </ion-label>\n  </ion-item>\n  <ion-item>\n    <ion-skeleton-text animated style=\"width: 27px; height: 27px\" slot=\"start\"></ion-skeleton-text>\n    <ion-label>\n      <h3>\n        <ion-skeleton-text animated style=\"width: 50%\"></ion-skeleton-text>\n      </h3>\n      <p>\n        <ion-skeleton-text animated style=\"width: 80%\"></ion-skeleton-text>\n      </p>\n      <p>\n        <ion-skeleton-text animated style=\"width: 60%\"></ion-skeleton-text>\n      </p>\n    </ion-label>\n  </ion-item>\n</ion-list>\n";

/***/ })

}]);
//# sourceMappingURL=default-src_app_components_shared_module_ts-src_app_services_api_base_service_ts.js.map