(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["main"],{

/***/ "./$$_lazy_route_resource lazy recursive":
/*!******************************************************!*\
  !*** ./$$_lazy_route_resource lazy namespace object ***!
  \******************************************************/
/*! no static exports found */
/***/ (function(module, exports) {

function webpackEmptyAsyncContext(req) {
	// Here Promise.resolve().then() is used instead of new Promise() to prevent
	// uncaught exception popping up in devtools
	return Promise.resolve().then(function() {
		var e = new Error("Cannot find module '" + req + "'");
		e.code = 'MODULE_NOT_FOUND';
		throw e;
	});
}
webpackEmptyAsyncContext.keys = function() { return []; };
webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
module.exports = webpackEmptyAsyncContext;
webpackEmptyAsyncContext.id = "./$$_lazy_route_resource lazy recursive";

/***/ }),

/***/ "./node_modules/@angular-devkit/build-angular/node_modules/webpack/buildin/global.js":
/*!***********************************!*\
  !*** (webpack)/buildin/global.js ***!
  \***********************************/
/*! no static exports found */
/***/ (function(module, exports) {

var g;

// This works in non-strict mode
g = (function() {
	return this;
})();

try {
	// This works if eval is allowed (see CSP)
	g = g || new Function("return this")();
} catch (e) {
	// This works if the window reference is available
	if (typeof window === "object") g = window;
}

// g can still be undefined, but nothing to do about it...
// We return undefined, instead of nothing here, so it's
// easier to handle this case. if(!global) { ...}

module.exports = g;


/***/ }),

/***/ "./node_modules/moment/locale sync recursive ^\\.\\/.*$":
/*!**************************************************!*\
  !*** ./node_modules/moment/locale sync ^\.\/.*$ ***!
  \**************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

var map = {
	"./af": "./node_modules/moment/locale/af.js",
	"./af.js": "./node_modules/moment/locale/af.js",
	"./ar": "./node_modules/moment/locale/ar.js",
	"./ar-dz": "./node_modules/moment/locale/ar-dz.js",
	"./ar-dz.js": "./node_modules/moment/locale/ar-dz.js",
	"./ar-kw": "./node_modules/moment/locale/ar-kw.js",
	"./ar-kw.js": "./node_modules/moment/locale/ar-kw.js",
	"./ar-ly": "./node_modules/moment/locale/ar-ly.js",
	"./ar-ly.js": "./node_modules/moment/locale/ar-ly.js",
	"./ar-ma": "./node_modules/moment/locale/ar-ma.js",
	"./ar-ma.js": "./node_modules/moment/locale/ar-ma.js",
	"./ar-sa": "./node_modules/moment/locale/ar-sa.js",
	"./ar-sa.js": "./node_modules/moment/locale/ar-sa.js",
	"./ar-tn": "./node_modules/moment/locale/ar-tn.js",
	"./ar-tn.js": "./node_modules/moment/locale/ar-tn.js",
	"./ar.js": "./node_modules/moment/locale/ar.js",
	"./az": "./node_modules/moment/locale/az.js",
	"./az.js": "./node_modules/moment/locale/az.js",
	"./be": "./node_modules/moment/locale/be.js",
	"./be.js": "./node_modules/moment/locale/be.js",
	"./bg": "./node_modules/moment/locale/bg.js",
	"./bg.js": "./node_modules/moment/locale/bg.js",
	"./bm": "./node_modules/moment/locale/bm.js",
	"./bm.js": "./node_modules/moment/locale/bm.js",
	"./bn": "./node_modules/moment/locale/bn.js",
	"./bn-bd": "./node_modules/moment/locale/bn-bd.js",
	"./bn-bd.js": "./node_modules/moment/locale/bn-bd.js",
	"./bn.js": "./node_modules/moment/locale/bn.js",
	"./bo": "./node_modules/moment/locale/bo.js",
	"./bo.js": "./node_modules/moment/locale/bo.js",
	"./br": "./node_modules/moment/locale/br.js",
	"./br.js": "./node_modules/moment/locale/br.js",
	"./bs": "./node_modules/moment/locale/bs.js",
	"./bs.js": "./node_modules/moment/locale/bs.js",
	"./ca": "./node_modules/moment/locale/ca.js",
	"./ca.js": "./node_modules/moment/locale/ca.js",
	"./cs": "./node_modules/moment/locale/cs.js",
	"./cs.js": "./node_modules/moment/locale/cs.js",
	"./cv": "./node_modules/moment/locale/cv.js",
	"./cv.js": "./node_modules/moment/locale/cv.js",
	"./cy": "./node_modules/moment/locale/cy.js",
	"./cy.js": "./node_modules/moment/locale/cy.js",
	"./da": "./node_modules/moment/locale/da.js",
	"./da.js": "./node_modules/moment/locale/da.js",
	"./de": "./node_modules/moment/locale/de.js",
	"./de-at": "./node_modules/moment/locale/de-at.js",
	"./de-at.js": "./node_modules/moment/locale/de-at.js",
	"./de-ch": "./node_modules/moment/locale/de-ch.js",
	"./de-ch.js": "./node_modules/moment/locale/de-ch.js",
	"./de.js": "./node_modules/moment/locale/de.js",
	"./dv": "./node_modules/moment/locale/dv.js",
	"./dv.js": "./node_modules/moment/locale/dv.js",
	"./el": "./node_modules/moment/locale/el.js",
	"./el.js": "./node_modules/moment/locale/el.js",
	"./en-au": "./node_modules/moment/locale/en-au.js",
	"./en-au.js": "./node_modules/moment/locale/en-au.js",
	"./en-ca": "./node_modules/moment/locale/en-ca.js",
	"./en-ca.js": "./node_modules/moment/locale/en-ca.js",
	"./en-gb": "./node_modules/moment/locale/en-gb.js",
	"./en-gb.js": "./node_modules/moment/locale/en-gb.js",
	"./en-ie": "./node_modules/moment/locale/en-ie.js",
	"./en-ie.js": "./node_modules/moment/locale/en-ie.js",
	"./en-il": "./node_modules/moment/locale/en-il.js",
	"./en-il.js": "./node_modules/moment/locale/en-il.js",
	"./en-in": "./node_modules/moment/locale/en-in.js",
	"./en-in.js": "./node_modules/moment/locale/en-in.js",
	"./en-nz": "./node_modules/moment/locale/en-nz.js",
	"./en-nz.js": "./node_modules/moment/locale/en-nz.js",
	"./en-sg": "./node_modules/moment/locale/en-sg.js",
	"./en-sg.js": "./node_modules/moment/locale/en-sg.js",
	"./eo": "./node_modules/moment/locale/eo.js",
	"./eo.js": "./node_modules/moment/locale/eo.js",
	"./es": "./node_modules/moment/locale/es.js",
	"./es-do": "./node_modules/moment/locale/es-do.js",
	"./es-do.js": "./node_modules/moment/locale/es-do.js",
	"./es-mx": "./node_modules/moment/locale/es-mx.js",
	"./es-mx.js": "./node_modules/moment/locale/es-mx.js",
	"./es-us": "./node_modules/moment/locale/es-us.js",
	"./es-us.js": "./node_modules/moment/locale/es-us.js",
	"./es.js": "./node_modules/moment/locale/es.js",
	"./et": "./node_modules/moment/locale/et.js",
	"./et.js": "./node_modules/moment/locale/et.js",
	"./eu": "./node_modules/moment/locale/eu.js",
	"./eu.js": "./node_modules/moment/locale/eu.js",
	"./fa": "./node_modules/moment/locale/fa.js",
	"./fa.js": "./node_modules/moment/locale/fa.js",
	"./fi": "./node_modules/moment/locale/fi.js",
	"./fi.js": "./node_modules/moment/locale/fi.js",
	"./fil": "./node_modules/moment/locale/fil.js",
	"./fil.js": "./node_modules/moment/locale/fil.js",
	"./fo": "./node_modules/moment/locale/fo.js",
	"./fo.js": "./node_modules/moment/locale/fo.js",
	"./fr": "./node_modules/moment/locale/fr.js",
	"./fr-ca": "./node_modules/moment/locale/fr-ca.js",
	"./fr-ca.js": "./node_modules/moment/locale/fr-ca.js",
	"./fr-ch": "./node_modules/moment/locale/fr-ch.js",
	"./fr-ch.js": "./node_modules/moment/locale/fr-ch.js",
	"./fr.js": "./node_modules/moment/locale/fr.js",
	"./fy": "./node_modules/moment/locale/fy.js",
	"./fy.js": "./node_modules/moment/locale/fy.js",
	"./ga": "./node_modules/moment/locale/ga.js",
	"./ga.js": "./node_modules/moment/locale/ga.js",
	"./gd": "./node_modules/moment/locale/gd.js",
	"./gd.js": "./node_modules/moment/locale/gd.js",
	"./gl": "./node_modules/moment/locale/gl.js",
	"./gl.js": "./node_modules/moment/locale/gl.js",
	"./gom-deva": "./node_modules/moment/locale/gom-deva.js",
	"./gom-deva.js": "./node_modules/moment/locale/gom-deva.js",
	"./gom-latn": "./node_modules/moment/locale/gom-latn.js",
	"./gom-latn.js": "./node_modules/moment/locale/gom-latn.js",
	"./gu": "./node_modules/moment/locale/gu.js",
	"./gu.js": "./node_modules/moment/locale/gu.js",
	"./he": "./node_modules/moment/locale/he.js",
	"./he.js": "./node_modules/moment/locale/he.js",
	"./hi": "./node_modules/moment/locale/hi.js",
	"./hi.js": "./node_modules/moment/locale/hi.js",
	"./hr": "./node_modules/moment/locale/hr.js",
	"./hr.js": "./node_modules/moment/locale/hr.js",
	"./hu": "./node_modules/moment/locale/hu.js",
	"./hu.js": "./node_modules/moment/locale/hu.js",
	"./hy-am": "./node_modules/moment/locale/hy-am.js",
	"./hy-am.js": "./node_modules/moment/locale/hy-am.js",
	"./id": "./node_modules/moment/locale/id.js",
	"./id.js": "./node_modules/moment/locale/id.js",
	"./is": "./node_modules/moment/locale/is.js",
	"./is.js": "./node_modules/moment/locale/is.js",
	"./it": "./node_modules/moment/locale/it.js",
	"./it-ch": "./node_modules/moment/locale/it-ch.js",
	"./it-ch.js": "./node_modules/moment/locale/it-ch.js",
	"./it.js": "./node_modules/moment/locale/it.js",
	"./ja": "./node_modules/moment/locale/ja.js",
	"./ja.js": "./node_modules/moment/locale/ja.js",
	"./jv": "./node_modules/moment/locale/jv.js",
	"./jv.js": "./node_modules/moment/locale/jv.js",
	"./ka": "./node_modules/moment/locale/ka.js",
	"./ka.js": "./node_modules/moment/locale/ka.js",
	"./kk": "./node_modules/moment/locale/kk.js",
	"./kk.js": "./node_modules/moment/locale/kk.js",
	"./km": "./node_modules/moment/locale/km.js",
	"./km.js": "./node_modules/moment/locale/km.js",
	"./kn": "./node_modules/moment/locale/kn.js",
	"./kn.js": "./node_modules/moment/locale/kn.js",
	"./ko": "./node_modules/moment/locale/ko.js",
	"./ko.js": "./node_modules/moment/locale/ko.js",
	"./ku": "./node_modules/moment/locale/ku.js",
	"./ku.js": "./node_modules/moment/locale/ku.js",
	"./ky": "./node_modules/moment/locale/ky.js",
	"./ky.js": "./node_modules/moment/locale/ky.js",
	"./lb": "./node_modules/moment/locale/lb.js",
	"./lb.js": "./node_modules/moment/locale/lb.js",
	"./lo": "./node_modules/moment/locale/lo.js",
	"./lo.js": "./node_modules/moment/locale/lo.js",
	"./lt": "./node_modules/moment/locale/lt.js",
	"./lt.js": "./node_modules/moment/locale/lt.js",
	"./lv": "./node_modules/moment/locale/lv.js",
	"./lv.js": "./node_modules/moment/locale/lv.js",
	"./me": "./node_modules/moment/locale/me.js",
	"./me.js": "./node_modules/moment/locale/me.js",
	"./mi": "./node_modules/moment/locale/mi.js",
	"./mi.js": "./node_modules/moment/locale/mi.js",
	"./mk": "./node_modules/moment/locale/mk.js",
	"./mk.js": "./node_modules/moment/locale/mk.js",
	"./ml": "./node_modules/moment/locale/ml.js",
	"./ml.js": "./node_modules/moment/locale/ml.js",
	"./mn": "./node_modules/moment/locale/mn.js",
	"./mn.js": "./node_modules/moment/locale/mn.js",
	"./mr": "./node_modules/moment/locale/mr.js",
	"./mr.js": "./node_modules/moment/locale/mr.js",
	"./ms": "./node_modules/moment/locale/ms.js",
	"./ms-my": "./node_modules/moment/locale/ms-my.js",
	"./ms-my.js": "./node_modules/moment/locale/ms-my.js",
	"./ms.js": "./node_modules/moment/locale/ms.js",
	"./mt": "./node_modules/moment/locale/mt.js",
	"./mt.js": "./node_modules/moment/locale/mt.js",
	"./my": "./node_modules/moment/locale/my.js",
	"./my.js": "./node_modules/moment/locale/my.js",
	"./nb": "./node_modules/moment/locale/nb.js",
	"./nb.js": "./node_modules/moment/locale/nb.js",
	"./ne": "./node_modules/moment/locale/ne.js",
	"./ne.js": "./node_modules/moment/locale/ne.js",
	"./nl": "./node_modules/moment/locale/nl.js",
	"./nl-be": "./node_modules/moment/locale/nl-be.js",
	"./nl-be.js": "./node_modules/moment/locale/nl-be.js",
	"./nl.js": "./node_modules/moment/locale/nl.js",
	"./nn": "./node_modules/moment/locale/nn.js",
	"./nn.js": "./node_modules/moment/locale/nn.js",
	"./oc-lnc": "./node_modules/moment/locale/oc-lnc.js",
	"./oc-lnc.js": "./node_modules/moment/locale/oc-lnc.js",
	"./pa-in": "./node_modules/moment/locale/pa-in.js",
	"./pa-in.js": "./node_modules/moment/locale/pa-in.js",
	"./pl": "./node_modules/moment/locale/pl.js",
	"./pl.js": "./node_modules/moment/locale/pl.js",
	"./pt": "./node_modules/moment/locale/pt.js",
	"./pt-br": "./node_modules/moment/locale/pt-br.js",
	"./pt-br.js": "./node_modules/moment/locale/pt-br.js",
	"./pt.js": "./node_modules/moment/locale/pt.js",
	"./ro": "./node_modules/moment/locale/ro.js",
	"./ro.js": "./node_modules/moment/locale/ro.js",
	"./ru": "./node_modules/moment/locale/ru.js",
	"./ru.js": "./node_modules/moment/locale/ru.js",
	"./sd": "./node_modules/moment/locale/sd.js",
	"./sd.js": "./node_modules/moment/locale/sd.js",
	"./se": "./node_modules/moment/locale/se.js",
	"./se.js": "./node_modules/moment/locale/se.js",
	"./si": "./node_modules/moment/locale/si.js",
	"./si.js": "./node_modules/moment/locale/si.js",
	"./sk": "./node_modules/moment/locale/sk.js",
	"./sk.js": "./node_modules/moment/locale/sk.js",
	"./sl": "./node_modules/moment/locale/sl.js",
	"./sl.js": "./node_modules/moment/locale/sl.js",
	"./sq": "./node_modules/moment/locale/sq.js",
	"./sq.js": "./node_modules/moment/locale/sq.js",
	"./sr": "./node_modules/moment/locale/sr.js",
	"./sr-cyrl": "./node_modules/moment/locale/sr-cyrl.js",
	"./sr-cyrl.js": "./node_modules/moment/locale/sr-cyrl.js",
	"./sr.js": "./node_modules/moment/locale/sr.js",
	"./ss": "./node_modules/moment/locale/ss.js",
	"./ss.js": "./node_modules/moment/locale/ss.js",
	"./sv": "./node_modules/moment/locale/sv.js",
	"./sv.js": "./node_modules/moment/locale/sv.js",
	"./sw": "./node_modules/moment/locale/sw.js",
	"./sw.js": "./node_modules/moment/locale/sw.js",
	"./ta": "./node_modules/moment/locale/ta.js",
	"./ta.js": "./node_modules/moment/locale/ta.js",
	"./te": "./node_modules/moment/locale/te.js",
	"./te.js": "./node_modules/moment/locale/te.js",
	"./tet": "./node_modules/moment/locale/tet.js",
	"./tet.js": "./node_modules/moment/locale/tet.js",
	"./tg": "./node_modules/moment/locale/tg.js",
	"./tg.js": "./node_modules/moment/locale/tg.js",
	"./th": "./node_modules/moment/locale/th.js",
	"./th.js": "./node_modules/moment/locale/th.js",
	"./tk": "./node_modules/moment/locale/tk.js",
	"./tk.js": "./node_modules/moment/locale/tk.js",
	"./tl-ph": "./node_modules/moment/locale/tl-ph.js",
	"./tl-ph.js": "./node_modules/moment/locale/tl-ph.js",
	"./tlh": "./node_modules/moment/locale/tlh.js",
	"./tlh.js": "./node_modules/moment/locale/tlh.js",
	"./tr": "./node_modules/moment/locale/tr.js",
	"./tr.js": "./node_modules/moment/locale/tr.js",
	"./tzl": "./node_modules/moment/locale/tzl.js",
	"./tzl.js": "./node_modules/moment/locale/tzl.js",
	"./tzm": "./node_modules/moment/locale/tzm.js",
	"./tzm-latn": "./node_modules/moment/locale/tzm-latn.js",
	"./tzm-latn.js": "./node_modules/moment/locale/tzm-latn.js",
	"./tzm.js": "./node_modules/moment/locale/tzm.js",
	"./ug-cn": "./node_modules/moment/locale/ug-cn.js",
	"./ug-cn.js": "./node_modules/moment/locale/ug-cn.js",
	"./uk": "./node_modules/moment/locale/uk.js",
	"./uk.js": "./node_modules/moment/locale/uk.js",
	"./ur": "./node_modules/moment/locale/ur.js",
	"./ur.js": "./node_modules/moment/locale/ur.js",
	"./uz": "./node_modules/moment/locale/uz.js",
	"./uz-latn": "./node_modules/moment/locale/uz-latn.js",
	"./uz-latn.js": "./node_modules/moment/locale/uz-latn.js",
	"./uz.js": "./node_modules/moment/locale/uz.js",
	"./vi": "./node_modules/moment/locale/vi.js",
	"./vi.js": "./node_modules/moment/locale/vi.js",
	"./x-pseudo": "./node_modules/moment/locale/x-pseudo.js",
	"./x-pseudo.js": "./node_modules/moment/locale/x-pseudo.js",
	"./yo": "./node_modules/moment/locale/yo.js",
	"./yo.js": "./node_modules/moment/locale/yo.js",
	"./zh-cn": "./node_modules/moment/locale/zh-cn.js",
	"./zh-cn.js": "./node_modules/moment/locale/zh-cn.js",
	"./zh-hk": "./node_modules/moment/locale/zh-hk.js",
	"./zh-hk.js": "./node_modules/moment/locale/zh-hk.js",
	"./zh-mo": "./node_modules/moment/locale/zh-mo.js",
	"./zh-mo.js": "./node_modules/moment/locale/zh-mo.js",
	"./zh-tw": "./node_modules/moment/locale/zh-tw.js",
	"./zh-tw.js": "./node_modules/moment/locale/zh-tw.js"
};


function webpackContext(req) {
	var id = webpackContextResolve(req);
	return __webpack_require__(id);
}
function webpackContextResolve(req) {
	if(!__webpack_require__.o(map, req)) {
		var e = new Error("Cannot find module '" + req + "'");
		e.code = 'MODULE_NOT_FOUND';
		throw e;
	}
	return map[req];
}
webpackContext.keys = function webpackContextKeys() {
	return Object.keys(map);
};
webpackContext.resolve = webpackContextResolve;
module.exports = webpackContext;
webpackContext.id = "./node_modules/moment/locale sync recursive ^\\.\\/.*$";

/***/ }),

/***/ "./src/@vex/animations/dropdown.animation.ts":
/*!***************************************************!*\
  !*** ./src/@vex/animations/dropdown.animation.ts ***!
  \***************************************************/
/*! exports provided: dropdownAnimation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dropdownAnimation", function() { return dropdownAnimation; });
/* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/animations */ "./node_modules/@angular/animations/__ivy_ngcc__/fesm2015/animations.js");

const dropdownAnimation = Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["trigger"])('dropdown', [
    Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["state"])('false', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["style"])({
        height: 0,
        opacity: 0
    })),
    Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["state"])('true', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["style"])({
        height: '*',
        opacity: 1
    })),
    Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["transition"])('false <=> true', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["animate"])('300ms cubic-bezier(.35, 0, .25, 1)'))
]);


/***/ }),

/***/ "./src/@vex/animations/fade-in-right.animation.ts":
/*!********************************************************!*\
  !*** ./src/@vex/animations/fade-in-right.animation.ts ***!
  \********************************************************/
/*! exports provided: fadeInRightAnimation, fadeInRight400ms */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fadeInRightAnimation", function() { return fadeInRightAnimation; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fadeInRight400ms", function() { return fadeInRight400ms; });
/* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/animations */ "./node_modules/@angular/animations/__ivy_ngcc__/fesm2015/animations.js");

function fadeInRightAnimation(duration) {
    return Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["trigger"])('fadeInRight', [
        Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["transition"])(':enter', [
            Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["style"])({
                transform: 'translateX(-20px)',
                opacity: 0
            }),
            Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["animate"])(`${duration}ms cubic-bezier(0.35, 0, 0.25, 1)`, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["style"])({
                transform: 'translateX(0)',
                opacity: 1
            }))
        ])
    ]);
}
const fadeInRight400ms = fadeInRightAnimation(400);


/***/ }),

/***/ "./src/@vex/animations/fade-in-up.animation.ts":
/*!*****************************************************!*\
  !*** ./src/@vex/animations/fade-in-up.animation.ts ***!
  \*****************************************************/
/*! exports provided: fadeInUpAnimation, fadeInUp400ms */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fadeInUpAnimation", function() { return fadeInUpAnimation; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fadeInUp400ms", function() { return fadeInUp400ms; });
/* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/animations */ "./node_modules/@angular/animations/__ivy_ngcc__/fesm2015/animations.js");

function fadeInUpAnimation(duration) {
    return Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["trigger"])('fadeInUp', [
        Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["transition"])(':enter', [
            Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["style"])({
                transform: 'translateY(20px)',
                opacity: 0
            }),
            Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["animate"])(`${duration}ms cubic-bezier(0.35, 0, 0.25, 1)`, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["style"])({
                transform: 'translateY(0)',
                opacity: 1
            }))
        ])
    ]);
}
const fadeInUp400ms = fadeInUpAnimation(400);


/***/ }),

/***/ "./src/@vex/animations/popover.animation.ts":
/*!**************************************************!*\
  !*** ./src/@vex/animations/popover.animation.ts ***!
  \**************************************************/
/*! exports provided: popoverAnimation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "popoverAnimation", function() { return popoverAnimation; });
/* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/animations */ "./node_modules/@angular/animations/__ivy_ngcc__/fesm2015/animations.js");

const popoverAnimation = Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["trigger"])('transformPopover', [
    Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["transition"])(':enter', [
        Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["style"])({
            opacity: 0,
            transform: 'scale(0.6)'
        }),
        Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["group"])([
            Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["animate"])('100ms linear', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["style"])({
                opacity: 1
            })),
            Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["animate"])('150ms cubic-bezier(0, 0, 0.2, 1)', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["style"])({
                transform: 'scale(1)',
            })),
        ])
    ]),
    Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["transition"])(':leave', [
        Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["style"])({
            opacity: 1,
        }),
        Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["animate"])('100ms linear', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["style"])({
            opacity: 0
        }))
    ])
]);


/***/ }),

/***/ "./src/@vex/animations/stagger.animation.ts":
/*!**************************************************!*\
  !*** ./src/@vex/animations/stagger.animation.ts ***!
  \**************************************************/
/*! exports provided: staggerAnimation, stagger80ms, stagger60ms, stagger40ms, stagger20ms */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staggerAnimation", function() { return staggerAnimation; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "stagger80ms", function() { return stagger80ms; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "stagger60ms", function() { return stagger60ms; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "stagger40ms", function() { return stagger40ms; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "stagger20ms", function() { return stagger20ms; });
/* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/animations */ "./node_modules/@angular/animations/__ivy_ngcc__/fesm2015/animations.js");

function staggerAnimation(timing) {
    return Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["trigger"])('stagger', [
        Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["transition"])('* => *', [
            Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["query"])(':enter', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["stagger"])(timing, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["animateChild"])()), { optional: true }),
        ])
    ]);
}
const stagger80ms = staggerAnimation(80);
const stagger60ms = staggerAnimation(60);
const stagger40ms = staggerAnimation(40);
const stagger20ms = staggerAnimation(20);


/***/ }),

/***/ "./src/@vex/components/breadcrumbs/breadcrumb/breadcrumb.component.ts":
/*!****************************************************************************!*\
  !*** ./src/@vex/components/breadcrumbs/breadcrumb/breadcrumb.component.ts ***!
  \****************************************************************************/
/*! exports provided: BreadcrumbComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BreadcrumbComponent", function() { return BreadcrumbComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


const _c0 = ["*"];
class BreadcrumbComponent {
    constructor() { }
    ngOnInit() {
    }
}
BreadcrumbComponent.ɵfac = function BreadcrumbComponent_Factory(t) { return new (t || BreadcrumbComponent)(); };
BreadcrumbComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: BreadcrumbComponent, selectors: [["vex-breadcrumb"]], hostAttrs: [1, "vex-breadcrumb", "body-2", "text-hint", "leading-none", "hover:text-primary", "no-underline", "trans-ease-out", "ltr:mr-2", "rtl:ml-2"], ngContentSelectors: _c0, decls: 1, vars: 0, template: function BreadcrumbComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](0);
    } }, encapsulation: 2 });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BreadcrumbComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-breadcrumb',
                template: `
      <ng-content></ng-content>
  `,
                styles: [],
                host: {
                    class: 'vex-breadcrumb body-2 text-hint leading-none hover:text-primary no-underline trans-ease-out ltr:mr-2 rtl:ml-2'
                }
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/@vex/components/breadcrumbs/breadcrumbs.component.ts":
/*!******************************************************************!*\
  !*** ./src/@vex/components/breadcrumbs/breadcrumbs.component.ts ***!
  \******************************************************************/
/*! exports provided: BreadcrumbsComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BreadcrumbsComponent", function() { return BreadcrumbsComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _iconify_icons_ic_twotone_home__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @iconify/icons-ic/twotone-home */ "./node_modules/@iconify/icons-ic/twotone-home.js");
/* harmony import */ var _iconify_icons_ic_twotone_home__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_home__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _utils_track_by__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/track-by */ "./src/@vex/utils/track-by.ts");
/* harmony import */ var src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/enums/profiles.enum */ "./src/app/enums/profiles.enum.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _breadcrumb_breadcrumb_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./breadcrumb/breadcrumb.component */ "./src/@vex/components/breadcrumbs/breadcrumb/breadcrumb.component.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");











const _c0 = function () { return ["/school/dashboards"]; };
function BreadcrumbsComponent_a_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ic-icon", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](2, _c0));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icon", ctx_r0.icHome);
} }
const _c1 = function () { return ["/school/teacher/dashboards"]; };
function BreadcrumbsComponent_a_3_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ic-icon", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](2, _c1));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icon", ctx_r1.icHome);
} }
const _c2 = function () { return ["/school/parent/dashboards"]; };
function BreadcrumbsComponent_a_4_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ic-icon", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](2, _c2));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icon", ctx_r2.icHome);
} }
const _c3 = function () { return ["/school/student/dashboards"]; };
function BreadcrumbsComponent_a_5_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ic-icon", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](2, _c3));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icon", ctx_r3.icHome);
} }
function BreadcrumbsComponent_ng_container_6_div_3_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "a");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const crumb_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 1, crumb_r5));
} }
const _c4 = function () { return { type: 2 }; };
function BreadcrumbsComponent_ng_container_6_div_4_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "a", 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const crumb_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", ctx_r8.path)("state", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](5, _c4));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 3, crumb_r5));
} }
function BreadcrumbsComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "div", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "vex-breadcrumb");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, BreadcrumbsComponent_ng_container_6_div_3_Template, 4, 3, "div", 6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, BreadcrumbsComponent_ng_container_6_div_4_Template, 4, 6, "div", 6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const last_r6 = ctx.last;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", last_r6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !last_r6);
} }
class BreadcrumbsComponent {
    constructor(translate, defaultValuesService) {
        this.translate = translate;
        this.defaultValuesService = defaultValuesService;
        this.crumbs = [];
        this.trackByValue = _utils_track_by__WEBPACK_IMPORTED_MODULE_2__["trackByValue"];
        this.icHome = _iconify_icons_ic_twotone_home__WEBPACK_IMPORTED_MODULE_1___default.a;
        this.profiles = src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_3__["ProfilesTypes"];
    }
    ngOnInit() {
        if (this.defaultValuesService.getSchoolSetupProgress()) {
            let index = this.crumbs.findIndex(x => x === 'settings');
            if (index !== -1)
                this.crumbs.splice(index, 1);
        }
        this.membershipType = this.defaultValuesService.getUserMembershipType();
        this.schoolCount = parseInt(JSON.parse(localStorage.getItem("schoolCount")));
        if (this.crumbs.includes('staff')) {
            if (this.membershipType === this.profiles.SuperAdmin || this.membershipType === this.profiles.SchoolAdmin || this.membershipType === this.profiles.AdminAssitant)
                this.path = ['/school/staff'];
            else
                this.path = ['/school/staff/staff-generalinfo'];
        }
        else if (this.crumbs.includes('school')) {
            this.path = this.schoolCount > 1 ? ['/school/schoolinfo'] : ['/school/schoolinfo/generalinfo'];
        }
        else if (this.crumbs.includes('schoolInfo')) {
            this.path = ['/school/schoolinfo/generalinfo'];
        }
        else if (this.crumbs.includes('students')) {
            if (this.membershipType === this.profiles.Student)
                this.path = ['/school/students/student-generalinfo'];
            else
                this.path = ['/school/students'];
        }
        else if (this.crumbs.includes('reports')) {
            this.path = ['/school/reports'];
        }
        else if (this.crumbs.includes('settings')) {
            this.path = ['/school/settings'];
        }
        else if (this.crumbs.includes('tools')) {
            this.path = ['/school/tools'];
        }
        else if (this.crumbs.includes('Billing & Fees')) {
            this.path = ['/school/billing-and-fees/assign-fee-and-request-money'];
        }
    }
}
BreadcrumbsComponent.ɵfac = function BreadcrumbsComponent_Factory(t) { return new (t || BreadcrumbsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_5__["DefaultValuesService"])); };
BreadcrumbsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: BreadcrumbsComponent, selectors: [["vex-breadcrumbs"]], inputs: { crumbs: "crumbs" }, decls: 7, vars: 6, consts: [[1, "flex", "items-center"], [3, "routerLink", 4, "ngIf"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "routerLink"], ["inline", "true", "size", "20px", 3, "icon"], [1, "w-1", "h-1", "bg-gray", "rounded-full", "ltr:mr-2", "rtl:ml-2"], [4, "ngIf"], [3, "routerLink", "state"]], template: function BreadcrumbsComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "vex-breadcrumb");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, BreadcrumbsComponent_a_2_Template, 2, 3, "a", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, BreadcrumbsComponent_a_3_Template, 2, 3, "a", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, BreadcrumbsComponent_a_4_Template, 2, 3, "a", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, BreadcrumbsComponent_a_5_Template, 2, 3, "a", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, BreadcrumbsComponent_ng_container_6_Template, 5, 2, "ng-container", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.membershipType === ctx.profiles.SuperAdmin || ctx.membershipType === ctx.profiles.SchoolAdmin || ctx.membershipType === ctx.profiles.AdminAssitant);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.membershipType === ctx.profiles.Teacher || ctx.membershipType === ctx.profiles.HomeroomTeacher);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.membershipType === ctx.profiles.Parent);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.membershipType === ctx.profiles.Student);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.crumbs)("ngForTrackBy", ctx.trackByValue);
    } }, directives: [_breadcrumb_breadcrumb_component__WEBPACK_IMPORTED_MODULE_6__["BreadcrumbComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgForOf"], _angular_router__WEBPACK_IMPORTED_MODULE_8__["RouterLinkWithHref"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_9__["IconDirective"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslatePipe"]], encapsulation: 2 });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BreadcrumbsComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-breadcrumbs',
                template: `
    <div class="flex items-center">
      <vex-breadcrumb>
        <a *ngIf="membershipType === profiles.SuperAdmin || membershipType === profiles.SchoolAdmin || membershipType === profiles.AdminAssitant" [routerLink]="['/school/dashboards']">
          <ic-icon [icon]="icHome" inline="true" size="20px"></ic-icon>
        </a>
        <a *ngIf="membershipType === profiles.Teacher || membershipType === profiles.HomeroomTeacher" [routerLink]="['/school/teacher/dashboards']">
          <ic-icon [icon]="icHome" inline="true" size="20px"></ic-icon>
        </a>
        <a *ngIf="membershipType === profiles.Parent" [routerLink]="['/school/parent/dashboards']">
          <ic-icon [icon]="icHome" inline="true" size="20px"></ic-icon>
        </a>
        <a *ngIf="membershipType === profiles.Student" [routerLink]="['/school/student/dashboards']">
          <ic-icon [icon]="icHome" inline="true" size="20px"></ic-icon>
        </a>
      </vex-breadcrumb>
      <ng-container *ngFor="let crumb of crumbs;let last=last; trackBy: trackByValue">
        <div class="w-1 h-1 bg-gray rounded-full ltr:mr-2 rtl:ml-2"></div>
        <vex-breadcrumb>
        <div *ngIf="last"><a>{{ crumb |translate }}</a></div>
        <div *ngIf="!last"><a [routerLink]="path" [state]="{type: 2}">{{ crumb |translate }}</a></div>
        </vex-breadcrumb>
      </ng-container>
 
    </div>
  `
            }]
    }], function () { return [{ type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslateService"] }, { type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_5__["DefaultValuesService"] }]; }, { crumbs: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }] }); })();


/***/ }),

/***/ "./src/@vex/components/breadcrumbs/breadcrumbs.module.ts":
/*!***************************************************************!*\
  !*** ./src/@vex/components/breadcrumbs/breadcrumbs.module.ts ***!
  \***************************************************************/
/*! exports provided: BreadcrumbsModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BreadcrumbsModule", function() { return BreadcrumbsModule; });
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _breadcrumbs_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./breadcrumbs.component */ "./src/@vex/components/breadcrumbs/breadcrumbs.component.ts");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/flex-layout */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex-layout.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _breadcrumb_breadcrumb_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./breadcrumb/breadcrumb.component */ "./src/@vex/components/breadcrumbs/breadcrumb/breadcrumb.component.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");










class BreadcrumbsModule {
}
BreadcrumbsModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: BreadcrumbsModule });
BreadcrumbsModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ factory: function BreadcrumbsModule_Factory(t) { return new (t || BreadcrumbsModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_0__["CommonModule"],
            _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"],
            _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__["MatIconModule"],
            _angular_flex_layout__WEBPACK_IMPORTED_MODULE_5__["FlexLayoutModule"],
            _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_6__["IconModule"],
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslateModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](BreadcrumbsModule, { declarations: [_breadcrumbs_component__WEBPACK_IMPORTED_MODULE_3__["BreadcrumbsComponent"], _breadcrumb_breadcrumb_component__WEBPACK_IMPORTED_MODULE_7__["BreadcrumbComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_0__["CommonModule"],
        _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"],
        _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__["MatIconModule"],
        _angular_flex_layout__WEBPACK_IMPORTED_MODULE_5__["FlexLayoutModule"],
        _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_6__["IconModule"],
        _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslateModule"]], exports: [_breadcrumbs_component__WEBPACK_IMPORTED_MODULE_3__["BreadcrumbsComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](BreadcrumbsModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"],
        args: [{
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_0__["CommonModule"],
                    _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"],
                    _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__["MatIconModule"],
                    _angular_flex_layout__WEBPACK_IMPORTED_MODULE_5__["FlexLayoutModule"],
                    _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_6__["IconModule"],
                    _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslateModule"]
                ],
                declarations: [_breadcrumbs_component__WEBPACK_IMPORTED_MODULE_3__["BreadcrumbsComponent"], _breadcrumb_breadcrumb_component__WEBPACK_IMPORTED_MODULE_7__["BreadcrumbComponent"]],
                exports: [_breadcrumbs_component__WEBPACK_IMPORTED_MODULE_3__["BreadcrumbsComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/components/config-panel/color-variables.ts":
/*!*************************************************************!*\
  !*** ./src/@vex/components/config-panel/color-variables.ts ***!
  \*************************************************************/
/*! exports provided: colorVariables */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "colorVariables", function() { return colorVariables; });
const colorVariables = {
    blue: {
        light: 'rgba(92, 119, 255, .1)',
        default: 'rgb(92, 119, 255)',
        contrast: 'rgb(255, 255, 255)'
    },
    gray: {
        light: 'rgba(158, 158, 158, 0.1)',
        default: 'rgb(158, 158, 158)',
        contrast: 'rgb(255, 255, 255)'
    },
    red: {
        light: 'rgba(244, 67, 54, 0.1)',
        default: 'rgb(244, 67, 54)',
        contrast: 'rgb(255, 255, 255)',
    },
    orange: {
        light: 'rgba(255, 152, 0, 0.1)',
        default: 'rgb(255, 152, 0)',
        contrast: 'rgb(0, 0, 0)',
    },
    'deep-orange': {
        light: 'rgba(255, 87, 34, 0.1)',
        default: 'rgb(255, 87, 34)',
        contrast: 'rgb(255, 255, 255)'
    },
    amber: {
        light: 'rgba(255, 193, 7, 0.1)',
        default: 'rgb(255, 193, 7)',
        contrast: 'rgb(0, 0, 0)'
    },
    green: {
        light: 'rgba(76, 175, 80, 0.1)',
        default: 'rgb(76, 175, 80)',
        contrast: 'rgb(255, 255, 255)',
    },
    teal: {
        light: 'rgba(0, 150, 136, 0.1)',
        default: 'rgb(0, 150, 136)',
        contrast: 'rgb(255, 255, 255)'
    },
    cyan: {
        light: 'rgba(0, 188, 212, 0.1)',
        default: 'rgb(0, 188, 212)',
        contrast: 'rgb(255, 255, 255)'
    },
    purple: {
        light: 'rgba(156, 39, 176, 0.1)',
        default: 'rgb(156, 39, 176)',
        contrast: 'rgb(255, 255, 255)'
    },
    'deep-purple': {
        light: 'rgba(103, 58, 183, 0.1)',
        default: 'rgb(103, 58, 183)',
        contrast: 'rgb(255, 255, 255)'
    },
    pink: {
        light: 'rgba(233, 30, 99, 0.1)',
        default: 'rgb(233, 30, 99)',
        contrast: 'rgb(255, 255, 255)'
    },
};


/***/ }),

/***/ "./src/@vex/components/config-panel/config-panel-toggle/config-panel-toggle.component.ts":
/*!***********************************************************************************************!*\
  !*** ./src/@vex/components/config-panel/config-panel-toggle/config-panel-toggle.component.ts ***!
  \***********************************************************************************************/
/*! exports provided: ConfigPanelToggleComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConfigPanelToggleComponent", function() { return ConfigPanelToggleComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _iconify_icons_ic_twotone_settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @iconify/icons-ic/twotone-settings */ "./node_modules/@iconify/icons-ic/twotone-settings.js");
/* harmony import */ var _iconify_icons_ic_twotone_settings__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_settings__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");






class ConfigPanelToggleComponent {
    constructor() {
        this.openConfig = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.icSettings = _iconify_icons_ic_twotone_settings__WEBPACK_IMPORTED_MODULE_1___default.a;
    }
    ngOnInit() {
    }
}
ConfigPanelToggleComponent.ɵfac = function ConfigPanelToggleComponent_Factory(t) { return new (t || ConfigPanelToggleComponent)(); };
ConfigPanelToggleComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ConfigPanelToggleComponent, selectors: [["vex-config-panel-toggle"]], outputs: { openConfig: "openConfig" }, decls: 2, vars: 1, consts: [["color", "primary", "mat-fab", "", "type", "button", 1, "config-panel-toggle", 3, "click"], [3, "icIcon"]], template: function ConfigPanelToggleComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ConfigPanelToggleComponent_Template_button_click_0_listener() { return ctx.openConfig.emit(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "mat-icon", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icSettings);
    } }, directives: [_angular_material_button__WEBPACK_IMPORTED_MODULE_2__["MatButton"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_3__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_4__["IconDirective"]], styles: [".config-panel-toggle[_ngcontent-%COMP%] {\n  bottom: var(--padding);\n  position: fixed;\n  right: var(--padding);\n  z-index: 100;\n}\n\n  [dir=rtl] .config-panel-toggle {\n  left: var(--padding);\n  right: unset;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2NvbXBvbmVudHMvY29uZmlnLXBhbmVsL2NvbmZpZy1wYW5lbC10b2dnbGUvY29uZmlnLXBhbmVsLXRvZ2dsZS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLHNCQUFBO0VBQ0EsZUFBQTtFQUNBLHFCQUFBO0VBQ0EsWUFBQTtBQUNGOztBQUVBO0VBQ0Usb0JBQUE7RUFDQSxZQUFBO0FBQ0YiLCJmaWxlIjoic3JjL0B2ZXgvY29tcG9uZW50cy9jb25maWctcGFuZWwvY29uZmlnLXBhbmVsLXRvZ2dsZS9jb25maWctcGFuZWwtdG9nZ2xlLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmNvbmZpZy1wYW5lbC10b2dnbGUge1xuICBib3R0b206IHZhcigtLXBhZGRpbmcpO1xuICBwb3NpdGlvbjogZml4ZWQ7XG4gIHJpZ2h0OiB2YXIoLS1wYWRkaW5nKTtcbiAgei1pbmRleDogMTAwO1xufVxuXG46Om5nLWRlZXAgW2Rpcj1ydGxdIC5jb25maWctcGFuZWwtdG9nZ2xlIHtcbiAgbGVmdDogdmFyKC0tcGFkZGluZyk7XG4gIHJpZ2h0OiB1bnNldDtcbn0iXX0= */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ConfigPanelToggleComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-config-panel-toggle',
                templateUrl: './config-panel-toggle.component.html',
                styleUrls: ['./config-panel-toggle.component.scss']
            }]
    }], function () { return []; }, { openConfig: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }] }); })();


/***/ }),

/***/ "./src/@vex/components/config-panel/config-panel.component.ts":
/*!********************************************************************!*\
  !*** ./src/@vex/components/config-panel/config-panel.component.ts ***!
  \********************************************************************/
/*! exports provided: ConfigPanelComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConfigPanelComponent", function() { return ConfigPanelComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _iconify_icons_ic_twotone_settings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @iconify/icons-ic/twotone-settings */ "./node_modules/@iconify/icons-ic/twotone-settings.js");
/* harmony import */ var _iconify_icons_ic_twotone_settings__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_settings__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _iconify_icons_ic_twotone_check__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @iconify/icons-ic/twotone-check */ "./node_modules/@iconify/icons-ic/twotone-check.js");
/* harmony import */ var _iconify_icons_ic_twotone_check__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_check__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/cdk/coercion */ "./node_modules/@angular/cdk/fesm2015/coercion.js");
/* harmony import */ var _services_style_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../services/style.service */ "./src/@vex/services/style.service.ts");
/* harmony import */ var _interfaces_config_name_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../interfaces/config-name.model */ "./src/@vex/interfaces/config-name.model.ts");
/* harmony import */ var _color_variables__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./color-variables */ "./src/@vex/components/config-panel/color-variables.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @iconify/icons-ic/twotone-close */ "./node_modules/@iconify/icons-ic/twotone-close.js");
/* harmony import */ var _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var _services_config_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../services/config.service */ "./src/@vex/services/config.service.ts");
/* harmony import */ var _services_layout_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../services/layout.service */ "./src/@vex/services/layout.service.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/material/slide-toggle */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/slide-toggle.js");
/* harmony import */ var _angular_material_radio__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/material/radio */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/radio.js");
/* harmony import */ var _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/flex-layout/flex */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");






















function ConfigPanelComponent_div_0_div_8_ic_icon_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "ic-icon", 18);
} if (rf & 2) {
    const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icon", ctx_r6.icCheck);
} }
function ConfigPanelComponent_div_0_div_8_ic_icon_3_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "ic-icon", 18);
} if (rf & 2) {
    const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icon", ctx_r7.icClose);
} }
function ConfigPanelComponent_div_0_div_8_Template(rf, ctx) { if (rf & 1) {
    const _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ConfigPanelComponent_div_0_div_8_Template_div_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9); const selectedStyle_r5 = ctx.ngIf; const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return selectedStyle_r5 === ctx_r8.Style.dark ? ctx_r8.disableDarkMode() : ctx_r8.enableDarkMode(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ConfigPanelComponent_div_0_div_8_ic_icon_2_Template, 1, 1, "ic-icon", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, ConfigPanelComponent_div_0_div_8_ic_icon_3_Template, 1, 1, "ic-icon", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "p", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "DARK MODE");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const selectedStyle_r5 = ctx.ngIf;
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", selectedStyle_r5 === ctx_r2.Style.dark);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", selectedStyle_r5 !== ctx_r2.Style.dark);
} }
function ConfigPanelComponent_div_0_div_13_ic_icon_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "ic-icon", 18);
} if (rf & 2) {
    const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icon", ctx_r11.icCheck);
} }
function ConfigPanelComponent_div_0_div_13_Template(rf, ctx) { if (rf & 1) {
    const _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ConfigPanelComponent_div_0_div_13_Template_div_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13); const color_r10 = ctx.$implicit; const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r12.selectColor(color_r10.value); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ConfigPanelComponent_div_0_div_13_ic_icon_2_Template, 1, 1, "ic-icon", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "p", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "uppercase");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const color_r10 = ctx.$implicit;
    const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("background-color", color_r10.value.light)("color", color_r10.value.default);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("selected", ctx_r3.isSelectedColor(color_r10.value));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("background-color", color_r10.value.default);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r3.isSelectedColor(color_r10.value));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 10, color_r10.key));
} }
function ConfigPanelComponent_div_0_div_18_Template(rf, ctx) { if (rf & 1) {
    const _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 21);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "img", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 23);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "button", 24);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ConfigPanelComponent_div_0_div_18_Template_button_click_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r17); const config_r14 = ctx.$implicit; const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r16.setConfig(config_r14.id, ctx_r16.Style.light); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "LIGHT ");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "button", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ConfigPanelComponent_div_0_div_18_Template_button_click_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r17); const config_r14 = ctx.$implicit; const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r18.setConfig(config_r14.id, ctx_r18.Style.default); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7, "DEFAULT ");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "button", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ConfigPanelComponent_div_0_div_18_Template_button_click_8_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r17); const config_r14 = ctx.$implicit; const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r19.setConfig(config_r14.id, ctx_r19.Style.dark); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9, "DARK ");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "div", 27);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const config_r14 = ctx.$implicit;
    const first_r15 = ctx.first;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("mt-6", !first_r15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", config_r14.imgSrc, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](config_r14.name);
} }
function ConfigPanelComponent_div_0_Template(rf, ctx) { if (rf & 1) {
    const _r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h2", 2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "ic-icon", 3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "Configuration");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "h5", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7, "THEME BASE");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, ConfigPanelComponent_div_0_div_8_Template, 6, 2, "div", 6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "div", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "h5", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12, "THEME COLORS");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](13, ConfigPanelComponent_div_0_div_13_Template, 6, 12, "div", 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](14, "keyvalue");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "div", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "h5", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](17, "THEME STYLE");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](18, ConfigPanelComponent_div_0_div_18_Template, 12, 4, "div", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](19, "div", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "h5", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](21, "LAYOUT");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "div", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "h5", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](24, "ORIENTATION");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](25, "mat-slide-toggle", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function ConfigPanelComponent_div_0_Template_mat_slide_toggle_change_25_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r21); const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r20.layoutRTLChange($event); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](26, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](27, "RTL");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](28, "div", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "h5", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](30, "TOOLBAR");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](31, "div", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](32, "h5", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](33, "POSITION");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](34, "mat-radio-group", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function ConfigPanelComponent_div_0_Template_mat_radio_group_change_34_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r21); const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r22.toolbarPositionChange($event); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](35, "mat-radio-button", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](36, "Fixed");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](37, "mat-radio-button", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](38, "Static");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](39, "div", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](40, "h5", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](41, "FOOTER");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](42, "div", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](43, "mat-slide-toggle", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function ConfigPanelComponent_div_0_Template_mat_slide_toggle_change_43_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r21); const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r23.footerVisibleChange($event); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](44, "Visible ");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](45, "h5", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](46, "POSITION");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](47, "mat-radio-group", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function ConfigPanelComponent_div_0_Template_mat_radio_group_change_47_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r21); const ctx_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r24.footerPositionChange($event); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](48, "mat-radio-button", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](49, "Fixed");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](50, "mat-radio-button", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](51, "Static");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const setting_r1 = ctx.ngIf;
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icon", ctx_r0.icSettings);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 8, ctx_r0.selectedStyle$));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](14, 10, ctx_r0.colorVariables));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r0.configs);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("checked", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](26, 12, ctx_r0.isRTL$));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", setting_r1.toolbar.fixed ? "fixed" : "static");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("checked", setting_r1.footer.visible);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", setting_r1.footer.fixed ? "fixed" : "static");
} }
class ConfigPanelComponent {
    constructor(configService, styleService, layoutService, document, route) {
        this.configService = configService;
        this.styleService = styleService;
        this.layoutService = layoutService;
        this.document = document;
        this.route = route;
        this.configs = this.configService.configs;
        this.colorVariables = _color_variables__WEBPACK_IMPORTED_MODULE_7__["colorVariables"];
        this.config$ = this.configService.config$;
        this.activeConfig$ = this.configService.config$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(config => Object.keys(this.configService.configs).find(key => this.configService.configs[key] === config)));
        this.isRTL$ = this.route.queryParamMap.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(paramMap => Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__["coerceBooleanProperty"])(paramMap.get('rtl'))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["first"])());
        this.selectedStyle$ = this.styleService.style$;
        this.icSettings = _iconify_icons_ic_twotone_settings__WEBPACK_IMPORTED_MODULE_2___default.a;
        this.icCheck = _iconify_icons_ic_twotone_check__WEBPACK_IMPORTED_MODULE_3___default.a;
        this.icClose = _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_9___default.a;
        this.ConfigName = _interfaces_config_name_model__WEBPACK_IMPORTED_MODULE_6__["ConfigName"];
        this.Style = _services_style_service__WEBPACK_IMPORTED_MODULE_5__["Style"];
        this.selectedColor = _color_variables__WEBPACK_IMPORTED_MODULE_7__["colorVariables"].blue;
    }
    ngOnInit() {
    }
    setConfig(layout, style) {
        this.configService.setConfig(layout);
        this.styleService.setStyle(style);
    }
    selectColor(color) {
        this.selectedColor = color;
        if (this.document) {
            this.document.documentElement.style.setProperty('--color-primary', color.default.replace('rgb(', '').replace(')', ''));
            this.document.documentElement.style.setProperty('--color-primary-contrast', color.contrast.replace('rgb(', '').replace(')', ''));
        }
    }
    isSelectedColor(color) {
        return color === this.selectedColor;
    }
    enableDarkMode() {
        this.styleService.setStyle(_services_style_service__WEBPACK_IMPORTED_MODULE_5__["Style"].dark);
    }
    disableDarkMode() {
        this.styleService.setStyle(_services_style_service__WEBPACK_IMPORTED_MODULE_5__["Style"].default);
    }
    sidenavOpenChange(change) {
        change.checked ? this.layoutService.openSidenav() : this.layoutService.closeSidenav();
    }
    layoutRTLChange(change) {
        change.checked ? this.layoutService.enableRTL() : this.layoutService.disableRTL();
    }
    toolbarPositionChange(change) {
        this.configService.updateConfig({
            toolbar: {
                fixed: change.value === 'fixed'
            }
        });
    }
    footerVisibleChange(change) {
        this.configService.updateConfig({
            footer: {
                visible: change.checked
            }
        });
    }
    footerPositionChange(change) {
        this.configService.updateConfig({
            footer: {
                fixed: change.value === 'fixed'
            }
        });
    }
}
ConfigPanelComponent.ɵfac = function ConfigPanelComponent_Factory(t) { return new (t || ConfigPanelComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_config_service__WEBPACK_IMPORTED_MODULE_10__["ConfigService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_style_service__WEBPACK_IMPORTED_MODULE_5__["StyleService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_layout_service__WEBPACK_IMPORTED_MODULE_11__["LayoutService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_8__["DOCUMENT"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_12__["ActivatedRoute"])); };
ConfigPanelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ConfigPanelComponent, selectors: [["vex-config-panel"]], decls: 2, vars: 3, consts: [["class", "config-panel", 4, "ngIf"], [1, "config-panel"], [1, "headline", "mb-4"], ["inline", "true", 1, "mr-3", 3, "icon"], [1, "section"], [1, "subheading"], ["class", "rounded-full mt-2 flex items-center cursor-pointer relative bg-contrast-black text-contrast-white", "matRipple", "", 3, "click", 4, "ngIf"], ["class", "vex-color-picker rounded-full mt-2 flex items-center cursor-pointer relative", "matRipple", "", 3, "selected", "backgroundColor", "color", "click", 4, "ngFor", "ngForOf"], ["class", "rounded", 3, "mt-6", 4, "ngFor", "ngForOf"], [1, "section-content"], [3, "checked", "change"], ["fxLayout", "column", "fxLayoutGap", "12px", 3, "value", "change"], ["value", "fixed"], ["value", "static"], ["matRipple", "", 1, "rounded-full", "mt-2", "flex", "items-center", "cursor-pointer", "relative", "bg-contrast-black", "text-contrast-white", 3, "click"], [1, "m-2", "h-6", "w-6", "rounded-full"], ["size", "24px", 3, "icon", 4, "ngIf"], [1, "ml-1", "font-medium", "text-sm"], ["size", "24px", 3, "icon"], ["matRipple", "", 1, "vex-color-picker", "rounded-full", "mt-2", "flex", "items-center", "cursor-pointer", "relative", 3, "click"], [1, "rounded"], [1, "layout-image", "rounded", "overflow-hidden", "relative", "hover:bg-hover", "shadow-8"], [1, "w-full", "block", 3, "src"], ["fxLayout", "row", "fxLayoutAlign", "center center", "fxLayoutGap", "4px", 1, "layout-image-overlay"], ["fxFlex", "none", "mat-raised-button", "", "type", "button", 1, "bg-contrast-white", "text-contrast-black", 3, "click"], ["color", "primary", "fxFlex", "none", "mat-raised-button", "", "type", "button", 3, "click"], ["fxFlex", "none", "mat-raised-button", "", "type", "button", 1, "bg-contrast-black", "text-contrast-white", 3, "click"], [1, "text-center", "body-2", "mt-2"]], template: function ConfigPanelComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, ConfigPanelComponent_div_0_Template, 52, 14, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 1, ctx.config$));
    } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["NgIf"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_13__["IconDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["NgForOf"], _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_14__["MatSlideToggle"], _angular_material_radio__WEBPACK_IMPORTED_MODULE_15__["MatRadioGroup"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_16__["DefaultLayoutDirective"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_16__["DefaultLayoutGapDirective"], _angular_material_radio__WEBPACK_IMPORTED_MODULE_15__["MatRadioButton"], _angular_material_core__WEBPACK_IMPORTED_MODULE_17__["MatRipple"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_16__["DefaultLayoutAlignDirective"], _angular_material_button__WEBPACK_IMPORTED_MODULE_18__["MatButton"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_16__["DefaultFlexDirective"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["AsyncPipe"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["KeyValuePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["UpperCasePipe"]], styles: [".config-panel[_ngcontent-%COMP%] {\n  padding: var(--padding-16) var(--padding);\n}\n\n.heading[_ngcontent-%COMP%] {\n  margin-bottom: var(--padding);\n}\n\n.section[_ngcontent-%COMP%] {\n  border-bottom: 1px solid var(--foreground-divider);\n  margin-bottom: var(--padding-16);\n  padding-bottom: var(--padding-16);\n}\n\n.section[_ngcontent-%COMP%]:last-child {\n  border-bottom: none;\n}\n\n.section-content[_ngcontent-%COMP%] {\n  -webkit-margin-start: var(--padding-12);\n          margin-inline-start: var(--padding-12);\n}\n\n.section-content[_ngcontent-%COMP%]   .subheading[_ngcontent-%COMP%] {\n  margin-top: var(--padding);\n}\n\n.subheading[_ngcontent-%COMP%] {\n  margin-top: 1rem;\n  margin-bottom: 1rem;\n  text-transform: uppercase;\n  font-size: 0.75rem;\n  color: var(--text-secondary);\n  font-weight: 500;\n}\n\n.layout[_ngcontent-%COMP%]    + .layout[_ngcontent-%COMP%] {\n  margin-top: var(--padding);\n}\n\n.layout-image[_ngcontent-%COMP%]:hover   .layout-image-overlay[_ngcontent-%COMP%] {\n  background: rgba(0, 0, 0, 0.7);\n  opacity: 1;\n  visibility: visible;\n}\n\n.layout-image[_ngcontent-%COMP%]   .layout-image-overlay[_ngcontent-%COMP%] {\n  border-radius: var(--border-radius);\n  bottom: 0;\n  height: 100%;\n  left: 0;\n  opacity: 0;\n  position: absolute;\n  right: 0;\n  top: 0;\n  transition: var(--trans-ease-out);\n  visibility: hidden;\n  width: 100%;\n}\n\n.layout-image[_ngcontent-%COMP%]   .layout-image-overlay[_ngcontent-%COMP%]   button[_ngcontent-%COMP%] {\n  padding: 0 8px;\n}\n\n.vex-color-picker[_ngcontent-%COMP%] {\n  transition: var(--trans-ease-out);\n}\n\n.vex-color-picker[_ngcontent-%COMP%]:hover, .vex-color-picker.selected[_ngcontent-%COMP%] {\n  background: currentColor !important;\n}\n\n.vex-color-picker[_ngcontent-%COMP%]:hover   p[_ngcontent-%COMP%], .vex-color-picker[_ngcontent-%COMP%]:hover   div[_ngcontent-%COMP%], .vex-color-picker.selected[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .vex-color-picker.selected[_ngcontent-%COMP%]   div[_ngcontent-%COMP%] {\n  color: white;\n}\n\n.vex-color-picker[_ngcontent-%COMP%]   p[_ngcontent-%COMP%] {\n  transition: var(--trans-ease-out);\n}\n\n.color[_ngcontent-%COMP%] {\n  align-items: center;\n  border-radius: 50%;\n  box-shadow: var(--elevation-z8);\n  display: flex;\n  flex-direction: row;\n  height: 36px;\n  justify-content: center;\n  -webkit-margin-end: var(--padding-16);\n          margin-inline-end: var(--padding-16);\n  text-align: center;\n  vertical-align: middle;\n  width: 36px;\n}\n\n.color.light[_ngcontent-%COMP%] {\n  background: white;\n  color: #000;\n}\n\n.color.dark[_ngcontent-%COMP%] {\n  background: #303030;\n  color: white;\n}\n\n.color.flat[_ngcontent-%COMP%] {\n  background: #f5f5f5;\n  color: #000;\n}\n\nmat-slide-toggle[_ngcontent-%COMP%]    + mat-slide-toggle[_ngcontent-%COMP%], mat-slide-toggle[_ngcontent-%COMP%]    + mat-checkbox[_ngcontent-%COMP%], mat-checkbox[_ngcontent-%COMP%]    + mat-slide-toggle[_ngcontent-%COMP%], mat-checkbox[_ngcontent-%COMP%]    + mat-checkbox[_ngcontent-%COMP%] {\n  display: block;\n  margin-top: var(--padding-12);\n}\n\n.style-name[_ngcontent-%COMP%] {\n  font: var(--font-body-2);\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2NvbXBvbmVudHMvY29uZmlnLXBhbmVsL2NvbmZpZy1wYW5lbC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLHlDQUFBO0FBQ0Y7O0FBRUE7RUFDRSw2QkFBQTtBQUNGOztBQUVBO0VBQ0Usa0RBQUE7RUFDQSxnQ0FBQTtFQUNBLGlDQUFBO0FBQ0Y7O0FBRUE7RUFDRSxtQkFBQTtBQUNGOztBQUVBO0VBQ0UsdUNBQUE7VUFBQSxzQ0FBQTtBQUNGOztBQUVBO0VBQ0UsMEJBQUE7QUFDRjs7QUFFQTtFQUNFLGdCQUFBO0VBQ0EsbUJBQUE7RUFDQSx5QkFBQTtFQUNBLGtCQUFBO0VBQ0EsNEJBQUE7RUFDQSxnQkFBQTtBQUNGOztBQUVBO0VBQ0UsMEJBQUE7QUFDRjs7QUFFQTtFQUNFLDhCQUFBO0VBQ0EsVUFBQTtFQUNBLG1CQUFBO0FBQ0Y7O0FBRUE7RUFDRSxtQ0FBQTtFQUNBLFNBQUE7RUFDQSxZQUFBO0VBQ0EsT0FBQTtFQUNBLFVBQUE7RUFDQSxrQkFBQTtFQUNBLFFBQUE7RUFDQSxNQUFBO0VBQ0EsaUNBQUE7RUFDQSxrQkFBQTtFQUNBLFdBQUE7QUFDRjs7QUFFQTtFQUNFLGNBQUE7QUFDRjs7QUFFQTtFQUNFLGlDQUFBO0FBQ0Y7O0FBRUE7RUFDRSxtQ0FBQTtBQUNGOztBQUVBO0VBQ0UsWUFBQTtBQUNGOztBQUVBO0VBQ0UsaUNBQUE7QUFDRjs7QUFFQTtFQUNFLG1CQUFBO0VBQ0Esa0JBQUE7RUFDQSwrQkFBQTtFQUNBLGFBQUE7RUFDQSxtQkFBQTtFQUNBLFlBQUE7RUFDQSx1QkFBQTtFQUNBLHFDQUFBO1VBQUEsb0NBQUE7RUFDQSxrQkFBQTtFQUNBLHNCQUFBO0VBQ0EsV0FBQTtBQUNGOztBQUVBO0VBQ0UsaUJBQUE7RUFDQSxXQUFBO0FBQ0Y7O0FBRUE7RUFDRSxtQkFBQTtFQUNBLFlBQUE7QUFDRjs7QUFFQTtFQUNFLG1CQUFBO0VBQ0EsV0FBQTtBQUNGOztBQUVBOzs7O0VBSUUsY0FBQTtFQUNBLDZCQUFBO0FBQ0Y7O0FBRUE7RUFDRSx3QkFBQTtBQUNGIiwiZmlsZSI6InNyYy9AdmV4L2NvbXBvbmVudHMvY29uZmlnLXBhbmVsL2NvbmZpZy1wYW5lbC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5jb25maWctcGFuZWwge1xuICBwYWRkaW5nOiB2YXIoLS1wYWRkaW5nLTE2KSB2YXIoLS1wYWRkaW5nKTtcbn1cblxuLmhlYWRpbmcge1xuICBtYXJnaW4tYm90dG9tOiB2YXIoLS1wYWRkaW5nKTtcbn1cblxuLnNlY3Rpb24ge1xuICBib3JkZXItYm90dG9tOiAxcHggc29saWQgdmFyKC0tZm9yZWdyb3VuZC1kaXZpZGVyKTtcbiAgbWFyZ2luLWJvdHRvbTogdmFyKC0tcGFkZGluZy0xNik7XG4gIHBhZGRpbmctYm90dG9tOiB2YXIoLS1wYWRkaW5nLTE2KTtcbn1cblxuLnNlY3Rpb246bGFzdC1jaGlsZCB7XG4gIGJvcmRlci1ib3R0b206IG5vbmU7XG59XG5cbi5zZWN0aW9uLWNvbnRlbnQge1xuICBtYXJnaW4taW5saW5lLXN0YXJ0OiB2YXIoLS1wYWRkaW5nLTEyKTtcbn1cblxuLnNlY3Rpb24tY29udGVudCAuc3ViaGVhZGluZyB7XG4gIG1hcmdpbi10b3A6IHZhcigtLXBhZGRpbmcpO1xufVxuXG4uc3ViaGVhZGluZyB7XG4gIG1hcmdpbi10b3A6IDFyZW07XG4gIG1hcmdpbi1ib3R0b206IDFyZW07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIGZvbnQtc2l6ZTogMC43NXJlbTtcbiAgY29sb3I6IHZhcigtLXRleHQtc2Vjb25kYXJ5KTtcbiAgZm9udC13ZWlnaHQ6IDUwMDtcbn1cblxuLmxheW91dCArIC5sYXlvdXQge1xuICBtYXJnaW4tdG9wOiB2YXIoLS1wYWRkaW5nKTtcbn1cblxuLmxheW91dC1pbWFnZTpob3ZlciAubGF5b3V0LWltYWdlLW92ZXJsYXkge1xuICBiYWNrZ3JvdW5kOiByZ2JhKDAsIDAsIDAsIDAuNyk7XG4gIG9wYWNpdHk6IDE7XG4gIHZpc2liaWxpdHk6IHZpc2libGU7XG59XG5cbi5sYXlvdXQtaW1hZ2UgLmxheW91dC1pbWFnZS1vdmVybGF5IHtcbiAgYm9yZGVyLXJhZGl1czogdmFyKC0tYm9yZGVyLXJhZGl1cyk7XG4gIGJvdHRvbTogMDtcbiAgaGVpZ2h0OiAxMDAlO1xuICBsZWZ0OiAwO1xuICBvcGFjaXR5OiAwO1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHJpZ2h0OiAwO1xuICB0b3A6IDA7XG4gIHRyYW5zaXRpb246IHZhcigtLXRyYW5zLWVhc2Utb3V0KTtcbiAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICB3aWR0aDogMTAwJTtcbn1cblxuLmxheW91dC1pbWFnZSAubGF5b3V0LWltYWdlLW92ZXJsYXkgYnV0dG9uIHtcbiAgcGFkZGluZzogMCA4cHg7XG59XG5cbi52ZXgtY29sb3ItcGlja2VyIHtcbiAgdHJhbnNpdGlvbjogdmFyKC0tdHJhbnMtZWFzZS1vdXQpO1xufVxuXG4udmV4LWNvbG9yLXBpY2tlcjpob3ZlciwgLnZleC1jb2xvci1waWNrZXIuc2VsZWN0ZWQge1xuICBiYWNrZ3JvdW5kOiBjdXJyZW50Q29sb3IgIWltcG9ydGFudDtcbn1cblxuLnZleC1jb2xvci1waWNrZXI6aG92ZXIgcCwgLnZleC1jb2xvci1waWNrZXI6aG92ZXIgZGl2LCAudmV4LWNvbG9yLXBpY2tlci5zZWxlY3RlZCBwLCAudmV4LWNvbG9yLXBpY2tlci5zZWxlY3RlZCBkaXYge1xuICBjb2xvcjogd2hpdGU7XG59XG5cbi52ZXgtY29sb3ItcGlja2VyIHAge1xuICB0cmFuc2l0aW9uOiB2YXIoLS10cmFucy1lYXNlLW91dCk7XG59XG5cbi5jb2xvciB7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGJvcmRlci1yYWRpdXM6IDUwJTtcbiAgYm94LXNoYWRvdzogdmFyKC0tZWxldmF0aW9uLXo4KTtcbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgaGVpZ2h0OiAzNnB4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgbWFyZ2luLWlubGluZS1lbmQ6IHZhcigtLXBhZGRpbmctMTYpO1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7XG4gIHdpZHRoOiAzNnB4O1xufVxuXG4uY29sb3IubGlnaHQge1xuICBiYWNrZ3JvdW5kOiB3aGl0ZTtcbiAgY29sb3I6ICMwMDA7XG59XG5cbi5jb2xvci5kYXJrIHtcbiAgYmFja2dyb3VuZDogIzMwMzAzMDtcbiAgY29sb3I6IHdoaXRlO1xufVxuXG4uY29sb3IuZmxhdCB7XG4gIGJhY2tncm91bmQ6ICNmNWY1ZjU7XG4gIGNvbG9yOiAjMDAwO1xufVxuXG5tYXQtc2xpZGUtdG9nZ2xlICsgbWF0LXNsaWRlLXRvZ2dsZSxcbm1hdC1zbGlkZS10b2dnbGUgKyBtYXQtY2hlY2tib3gsXG5tYXQtY2hlY2tib3ggKyBtYXQtc2xpZGUtdG9nZ2xlLFxubWF0LWNoZWNrYm94ICsgbWF0LWNoZWNrYm94IHtcbiAgZGlzcGxheTogYmxvY2s7XG4gIG1hcmdpbi10b3A6IHZhcigtLXBhZGRpbmctMTIpO1xufVxuXG4uc3R5bGUtbmFtZSB7XG4gIGZvbnQ6IHZhcigtLWZvbnQtYm9keS0yKTtcbn0iXX0= */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ConfigPanelComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-config-panel',
                templateUrl: './config-panel.component.html',
                styleUrls: ['./config-panel.component.scss']
            }]
    }], function () { return [{ type: _services_config_service__WEBPACK_IMPORTED_MODULE_10__["ConfigService"] }, { type: _services_style_service__WEBPACK_IMPORTED_MODULE_5__["StyleService"] }, { type: _services_layout_service__WEBPACK_IMPORTED_MODULE_11__["LayoutService"] }, { type: Document, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
                args: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["DOCUMENT"]]
            }] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_12__["ActivatedRoute"] }]; }, null); })();


/***/ }),

/***/ "./src/@vex/components/config-panel/config-panel.module.ts":
/*!*****************************************************************!*\
  !*** ./src/@vex/components/config-panel/config-panel.module.ts ***!
  \*****************************************************************/
/*! exports provided: ConfigPanelModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConfigPanelModule", function() { return ConfigPanelModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _config_panel_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./config-panel.component */ "./src/@vex/components/config-panel/config-panel.component.ts");
/* harmony import */ var _config_panel_toggle_config_panel_toggle_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./config-panel-toggle/config-panel-toggle.component */ "./src/@vex/components/config-panel/config-panel-toggle/config-panel-toggle.component.ts");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_material_radio__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/radio */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/radio.js");
/* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/flex-layout */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex-layout.js");
/* harmony import */ var _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/slide-toggle */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/slide-toggle.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");












class ConfigPanelModule {
}
ConfigPanelModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: ConfigPanelModule });
ConfigPanelModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function ConfigPanelModule_Factory(t) { return new (t || ConfigPanelModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"],
            _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__["MatIconModule"],
            _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_6__["IconModule"],
            _angular_material_radio__WEBPACK_IMPORTED_MODULE_7__["MatRadioModule"],
            _angular_flex_layout__WEBPACK_IMPORTED_MODULE_8__["FlexLayoutModule"],
            _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_9__["MatSlideToggleModule"],
            _angular_material_core__WEBPACK_IMPORTED_MODULE_10__["MatRippleModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](ConfigPanelModule, { declarations: [_config_panel_component__WEBPACK_IMPORTED_MODULE_2__["ConfigPanelComponent"], _config_panel_toggle_config_panel_toggle_component__WEBPACK_IMPORTED_MODULE_3__["ConfigPanelToggleComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"],
        _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__["MatIconModule"],
        _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_6__["IconModule"],
        _angular_material_radio__WEBPACK_IMPORTED_MODULE_7__["MatRadioModule"],
        _angular_flex_layout__WEBPACK_IMPORTED_MODULE_8__["FlexLayoutModule"],
        _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_9__["MatSlideToggleModule"],
        _angular_material_core__WEBPACK_IMPORTED_MODULE_10__["MatRippleModule"]], exports: [_config_panel_component__WEBPACK_IMPORTED_MODULE_2__["ConfigPanelComponent"], _config_panel_toggle_config_panel_toggle_component__WEBPACK_IMPORTED_MODULE_3__["ConfigPanelToggleComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ConfigPanelModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"],
                    _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__["MatIconModule"],
                    _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_6__["IconModule"],
                    _angular_material_radio__WEBPACK_IMPORTED_MODULE_7__["MatRadioModule"],
                    _angular_flex_layout__WEBPACK_IMPORTED_MODULE_8__["FlexLayoutModule"],
                    _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_9__["MatSlideToggleModule"],
                    _angular_material_core__WEBPACK_IMPORTED_MODULE_10__["MatRippleModule"]
                ],
                declarations: [_config_panel_component__WEBPACK_IMPORTED_MODULE_2__["ConfigPanelComponent"], _config_panel_toggle_config_panel_toggle_component__WEBPACK_IMPORTED_MODULE_3__["ConfigPanelToggleComponent"]],
                exports: [_config_panel_component__WEBPACK_IMPORTED_MODULE_2__["ConfigPanelComponent"], _config_panel_toggle_config_panel_toggle_component__WEBPACK_IMPORTED_MODULE_3__["ConfigPanelToggleComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/components/mega-menu/mega-menu.component.ts":
/*!**************************************************************!*\
  !*** ./src/@vex/components/mega-menu/mega-menu.component.ts ***!
  \**************************************************************/
/*! exports provided: MegaMenuComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MegaMenuComponent", function() { return MegaMenuComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _iconify_icons_ic_twotone_account_balance__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @iconify/icons-ic/twotone-account-balance */ "./node_modules/@iconify/icons-ic/twotone-account-balance.js");
/* harmony import */ var _iconify_icons_ic_twotone_account_balance__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_account_balance__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @iconify/icons-ic/twotone-school */ "./node_modules/@iconify/icons-ic/twotone-school.js");
/* harmony import */ var _iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _iconify_icons_ic_twotone_people__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @iconify/icons-ic/twotone-people */ "./node_modules/@iconify/icons-ic/twotone-people.js");
/* harmony import */ var _iconify_icons_ic_twotone_people__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_people__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _iconify_icons_ic_twotone_event__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @iconify/icons-ic/twotone-event */ "./node_modules/@iconify/icons-ic/twotone-event.js");
/* harmony import */ var _iconify_icons_ic_twotone_event__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_event__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _iconify_icons_ic_twotone_assignment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @iconify/icons-ic/twotone-assignment */ "./node_modules/@iconify/icons-ic/twotone-assignment.js");
/* harmony import */ var _iconify_icons_ic_twotone_assignment__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_assignment__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _iconify_icons_ic_twotone_book__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @iconify/icons-ic/twotone-book */ "./node_modules/@iconify/icons-ic/twotone-book.js");
/* harmony import */ var _iconify_icons_ic_twotone_book__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_book__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var src_app_enums_school_create_enum__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/enums/school-create.enum */ "./src/app/enums/school-create.enum.ts");
/* harmony import */ var _popover_popover_ref__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../popover/popover-ref */ "./src/@vex/components/popover/popover-ref.ts");
/* harmony import */ var src_app_common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/app/common/page-roles-permissions.service */ "./src/app/common/page-roles-permissions.service.ts");
/* harmony import */ var src_app_services_school_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/app/services/school.service */ "./src/app/services/school.service.ts");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/flex-layout/flex */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex.js");
/* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/flex-layout/extended */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/extended.js");
/* harmony import */ var _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/flex-layout/grid */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/grid.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");




















function MegaMenuComponent_div_0_ng_container_3_a_1_Template(rf, ctx) { if (rf & 1) {
    const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MegaMenuComponent_div_0_ng_container_3_a_1_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6); const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); ctx_r5.close(); ctx_r5.schoolService.setSchoolId(undefined); return ctx_r5.defaultValueService.setSchoolID(undefined); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ic-icon", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const feature_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", feature_r3.route)("state", ctx_r4.stateObj);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icon", feature_r3.icon);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 4, feature_r3.label));
} }
function MegaMenuComponent_div_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, MegaMenuComponent_div_0_ng_container_3_a_1_Template, 5, 6, "a", 6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const feature_r3 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", feature_r3 == null ? null : feature_r3.isActive);
} }
function MegaMenuComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h5", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3, "Data Import");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "a", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "ic-icon", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "a", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](11, "ic-icon", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "div", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](14, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icon", ctx_r2.icStudents);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 4, "studentBulkDataImport"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icon", ctx_r2.icStaff);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](14, 6, "staffBulkDataImport"));
} }
const _c0 = function () { return ["mr-6"]; };
function MegaMenuComponent_div_0_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, MegaMenuComponent_div_0_ng_container_3_Template, 2, 1, "ng-container", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, MegaMenuComponent_div_0_div_4_Template, 15, 8, "div", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass.gt-sm", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](3, _c0));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r0.features);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.defaultValueService.getUserMembershipType() === "Super Administrator" || ctx_r0.defaultValueService.getUserMembershipType() === "School Administrator");
} }
class MegaMenuComponent {
    constructor(popoverRef, pageRolePermission, schoolService, defaultValueService, translateService) {
        var _a;
        this.popoverRef = popoverRef;
        this.pageRolePermission = pageRolePermission;
        this.schoolService = schoolService;
        this.defaultValueService = defaultValueService;
        this.translateService = translateService;
        this.stateObj = { type: src_app_enums_school_create_enum__WEBPACK_IMPORTED_MODULE_7__["SchoolCreate"].ADD };
        this.icStudents = _iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_2___default.a;
        this.icStaff = _iconify_icons_ic_twotone_people__WEBPACK_IMPORTED_MODULE_3___default.a;
        this.features = [
            {
                icon: _iconify_icons_ic_twotone_account_balance__WEBPACK_IMPORTED_MODULE_1___default.a,
                label: 'school',
                route: '/school/schoolinfo/generalinfo',
                isActive: true,
            },
            {
                icon: _iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_2___default.a,
                label: 'student',
                route: '/school/students/student-generalinfo',
                isActive: true,
            },
            {
                icon: _iconify_icons_ic_twotone_people__WEBPACK_IMPORTED_MODULE_3___default.a,
                label: 'staff',
                route: '/school/staff/staff-generalinfo',
                isActive: true,
            },
            {
                icon: _iconify_icons_ic_twotone_event__WEBPACK_IMPORTED_MODULE_4___default.a,
                label: 'event',
                route: '/school/schoolcalendars',
                isActive: true,
            },
            {
                icon: _iconify_icons_ic_twotone_assignment__WEBPACK_IMPORTED_MODULE_5___default.a,
                label: 'notice',
                route: '/school/notices',
                isActive: true,
            },
            {
                icon: _iconify_icons_ic_twotone_book__WEBPACK_IMPORTED_MODULE_6___default.a,
                label: 'course',
                route: '/school/course-manager',
                isActive: true,
            }
        ];
        this.pages = [
            {
                label: 'All-In-One Table',
                route: '/apps/aio-table'
            },
            {
                label: 'Authentication',
                route: '/login'
            },
            {
                label: 'Components',
                route: '/ui/components/overview'
            },
            {
                label: 'Documentation',
                route: '/documentation'
            },
            {
                label: 'FAQ',
                route: '/pages/faq'
            },
            {
                label: 'Form Elements',
                route: '/ui/forms/form-elements'
            },
            {
                label: 'Form Wizard',
                route: '/ui/forms/form-wizard'
            },
            {
                label: 'Guides',
                route: '/pages/guides'
            },
            {
                label: 'Help Center',
                route: '/apps/help-center'
            },
            {
                label: 'Scrumboard',
                route: '/apps/scrumboard'
            }
        ];
        this.features.map((item) => {
            if (item.route === '/school/schoolinfo/generalinfo') {
                item.isActive = this.pageRolePermission.checkPageRolePermission(item.route, null, true).edit;
            }
            else if (item.route === '/school/students/student-generalinfo') {
                item.isActive = this.defaultValueService.checkAcademicYear() && this.pageRolePermission.checkPageRolePermission(item.route).edit ? true : false;
            }
            else if (item.route === '/school/staff/staff-generalinfo') {
                item.isActive = this.defaultValueService.checkAcademicYear() && this.pageRolePermission.checkPageRolePermission(item.route).edit ? true : false;
            }
            else if (item.route === '/school/schoolcalendars') {
                item.isActive = this.defaultValueService.checkAcademicYear() && this.pageRolePermission.checkPageRolePermission(item.route).edit ? true : false;
            }
            else if (item.route === '/school/notices') {
                item.isActive = this.defaultValueService.checkAcademicYear() && this.pageRolePermission.checkPageRolePermission(item.route).edit && !this.defaultValueService.getSchoolSetupProgress() ? true : false;
            }
        });
        // this.defaultValueService.getSchoolSetupProgress()
        this.items = (_a = this.features.filter(x => x.isActive)) === null || _a === void 0 ? void 0 : _a.length;
        // popoverRef.data[0]?.permissionGroup?.permissionCategory?.map((item) => {
        //   if(item.rolePermission[0].canView){
        //     this.features.push({
        //       icon: this.pickIcon(item.permissionCategoryName),
        //       label: item.title,
        //       route: item.path
        //     });
        //   }
        // });
    }
    // pickIcon(categoryName) {
    //   switch (categoryName) {
    //     case 'School':{
    //       return icSchool;
    //     }
    //     case 'Student':{
    //       return icStudents;
    //     }
    //     case 'Staff':{
    //       return icStaff;
    //     }
    //     case 'Event':{
    //       return icEvent;
    //     }
    //     case 'Notice':{
    //       return icNotice;
    //     }
    //   }
    // }
    ngOnInit() {
    }
    close() {
        this.popoverRef.close();
    }
}
MegaMenuComponent.ɵfac = function MegaMenuComponent_Factory(t) { return new (t || MegaMenuComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_popover_popover_ref__WEBPACK_IMPORTED_MODULE_8__["PopoverRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_9__["PageRolesPermission"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_school_service__WEBPACK_IMPORTED_MODULE_10__["SchoolService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_11__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__["TranslateService"])); };
MegaMenuComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: MegaMenuComponent, selectors: [["vex-mega-menu"]], decls: 1, vars: 1, consts: [["class", "card overflow-auto", "fxLayout", "row", "fxLayout.lt-md", "column", 3, "ngClass.gt-sm", 4, "ngIf"], ["fxLayout", "row", "fxLayout.lt-md", "column", 1, "card", "overflow-auto", 3, "ngClass.gt-sm"], ["fxFlex", "400px", "fxFlex.lt-md", "auto", 1, "p-gutter"], ["gdColumns", "1fr 1fr 1fr", "gdGap", "16px", 1, "mt-4"], [4, "ngFor", "ngForOf"], [4, "ngIf"], ["class", "text-dark p-3 text-center hover:bg-hover hover:text-primary trans-ease-out rounded block no-underline", 3, "routerLink", "state", "click", 4, "ngIf"], [1, "text-dark", "p-3", "text-center", "hover:bg-hover", "hover:text-primary", "trans-ease-out", "rounded", "block", "no-underline", 3, "routerLink", "state", "click"], ["size", "32px", 1, "text-primary", 3, "icon"], [1, "body-1", "mt-2"], [1, "separator-title"], [1, "grid", "grid-cols-3", "gap-4", "mt-4"], ["href", "school/tools/student-bulk-data-import", 1, "text-dark", "p-3", "text-center", "hover:bg-hover", "hover:text-primary", "trans-ease-out", "rounded", "block", "no-underline"], ["href", "school/tools/staff-bulk-data-import", 1, "text-dark", "p-3", "text-center", "hover:bg-hover", "hover:text-primary", "trans-ease-out", "rounded", "block", "no-underline"]], template: function MegaMenuComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, MegaMenuComponent_div_0_Template, 5, 4, "div", 0);
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.items > 0);
    } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_13__["NgIf"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_14__["DefaultLayoutDirective"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_15__["DefaultClassDirective"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_14__["DefaultFlexDirective"], _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_16__["ɵgrid_privatex"], _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_16__["ɵgrid_privateba"], _angular_common__WEBPACK_IMPORTED_MODULE_13__["NgForOf"], _angular_router__WEBPACK_IMPORTED_MODULE_17__["RouterLinkWithHref"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_18__["IconDirective"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__["TranslatePipe"]], encapsulation: 2 });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MegaMenuComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-mega-menu',
                templateUrl: './mega-menu.component.html'
            }]
    }], function () { return [{ type: _popover_popover_ref__WEBPACK_IMPORTED_MODULE_8__["PopoverRef"] }, { type: src_app_common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_9__["PageRolesPermission"] }, { type: src_app_services_school_service__WEBPACK_IMPORTED_MODULE_10__["SchoolService"] }, { type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_11__["DefaultValuesService"] }, { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__["TranslateService"] }]; }, null); })();


/***/ }),

/***/ "./src/@vex/components/mega-menu/mega-menu.module.ts":
/*!***********************************************************!*\
  !*** ./src/@vex/components/mega-menu/mega-menu.module.ts ***!
  \***********************************************************/
/*! exports provided: MegaMenuModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MegaMenuModule", function() { return MegaMenuModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _mega_menu_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mega-menu.component */ "./src/@vex/components/mega-menu/mega-menu.component.ts");
/* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/flex-layout */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex-layout.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");










class MegaMenuModule {
}
MegaMenuModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: MegaMenuModule });
MegaMenuModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function MegaMenuModule_Factory(t) { return new (t || MegaMenuModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__["FlexLayoutModule"],
            _angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"],
            _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_5__["IconModule"],
            _angular_router__WEBPACK_IMPORTED_MODULE_6__["RouterModule"],
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateModule"],
            _angular_material_icon__WEBPACK_IMPORTED_MODULE_8__["MatIconModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](MegaMenuModule, { declarations: [_mega_menu_component__WEBPACK_IMPORTED_MODULE_2__["MegaMenuComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__["FlexLayoutModule"],
        _angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"],
        _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_5__["IconModule"],
        _angular_router__WEBPACK_IMPORTED_MODULE_6__["RouterModule"],
        _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateModule"],
        _angular_material_icon__WEBPACK_IMPORTED_MODULE_8__["MatIconModule"]], exports: [_mega_menu_component__WEBPACK_IMPORTED_MODULE_2__["MegaMenuComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MegaMenuModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_mega_menu_component__WEBPACK_IMPORTED_MODULE_2__["MegaMenuComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__["FlexLayoutModule"],
                    _angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"],
                    _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_5__["IconModule"],
                    _angular_router__WEBPACK_IMPORTED_MODULE_6__["RouterModule"],
                    _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateModule"],
                    _angular_material_icon__WEBPACK_IMPORTED_MODULE_8__["MatIconModule"]
                ],
                exports: [_mega_menu_component__WEBPACK_IMPORTED_MODULE_2__["MegaMenuComponent"]],
                entryComponents: [_mega_menu_component__WEBPACK_IMPORTED_MODULE_2__["MegaMenuComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/components/navigation-item/navigation-item.component.ts":
/*!**************************************************************************!*\
  !*** ./src/@vex/components/navigation-item/navigation-item.component.ts ***!
  \**************************************************************************/
/*! exports provided: NavigationItemComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NavigationItemComponent", function() { return NavigationItemComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _utils_track_by__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/track-by */ "./src/@vex/utils/track-by.ts");
/* harmony import */ var _services_navigation_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../services/navigation.service */ "./src/@vex/services/navigation.service.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/menu */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/menu.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");












const _c0 = function (a0, a1) { return { "bg-primary text-primary-contrast": a0, "navigation-color": a1 }; };
function NavigationItemComponent_a_0_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("hover:bg-hover", !_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 5, ctx_r0.isActive$)(ctx_r0.item));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](11, _c0, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 7, ctx_r0.isActive$)(ctx_r0.item), !_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 9, ctx_r0.isActive$)(ctx_r0.item)))("routerLink", ctx_r0.item.route);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r0.item.label, "\n");
} }
function NavigationItemComponent_div_1_Template(rf, ctx) { if (rf & 1) {
    const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function NavigationItemComponent_div_1_Template_div_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4); const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r3.item.route(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("hover:bg-hover", !_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 3, ctx_r1.isActive$)(ctx_r1.item));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r1.item.label, "\n");
} }
const _c1 = function (a0) { return { "text-primary": a0 }; };
function NavigationItemComponent_ng_container_2_ng_container_8_a_1_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "mat-icon", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const child_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", child_r9.route)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](6, _c1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 4, ctx_r10.isActive$)(child_r9)));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", child_r9.icon);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](child_r9.label);
} }
function NavigationItemComponent_ng_container_2_ng_container_8_div_2_Template(rf, ctx) { if (rf & 1) {
    const _r16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function NavigationItemComponent_ng_container_2_ng_container_8_div_2_Template_div_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r16); const child_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit; return child_r9.route(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "mat-icon", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const child_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", child_r9.icon);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](child_r9.label);
} }
const _c2 = function (a0) { return { item: a0 }; };
function NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_ng_container_2_ng_container_6_ng_container_2_ng_container_6_ng_container_2_ng_container_6_ng_container_2_ng_container_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainer"](1, 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const item_r36 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](11);
    const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](10);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](2, _c2, item_r36))("ngTemplateOutlet", _r7);
} }
function NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_ng_container_2_ng_container_6_ng_container_2_ng_container_6_ng_container_2_ng_container_6_ng_container_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "button", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "mat-menu", 6, 21);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_ng_container_2_ng_container_6_ng_container_2_ng_container_6_ng_container_2_ng_container_6_ng_container_2_ng_container_6_Template, 2, 4, "ng-container", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const _r34 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](5);
    const child_r32 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    const ctx_r33 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](10);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matMenuTriggerFor", _r34)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](6, _c1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 4, ctx_r33.isActive$)(child_r32)));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](child_r32.label);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", child_r32.children);
} }
function NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_ng_container_2_ng_container_6_ng_container_2_ng_container_6_ng_container_2_ng_container_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainer"](1, 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_ng_container_2_ng_container_6_ng_container_2_ng_container_6_ng_container_2_ng_container_6_ng_container_2_Template, 7, 8, "ng-container", 2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const child_r32 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](9);
    const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](10);
    const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](3, _c2, child_r32))("ngTemplateOutlet", _r7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r31.isDropdown(child_r32));
} }
function NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_ng_container_2_ng_container_6_ng_container_2_ng_container_6_ng_container_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "button", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "mat-menu", 6, 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_ng_container_2_ng_container_6_ng_container_2_ng_container_6_ng_container_2_ng_container_6_Template, 3, 5, "ng-container", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const _r30 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](5);
    const item_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    const ctx_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matMenuTriggerFor", _r30)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](6, _c1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 4, ctx_r29.isActive$)(item_r28)));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r28.label);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", item_r28.children);
} }
function NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_ng_container_2_ng_container_6_ng_container_2_ng_container_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainer"](1, 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_ng_container_2_ng_container_6_ng_container_2_ng_container_6_ng_container_2_Template, 7, 8, "ng-container", 2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const item_r28 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](7);
    const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](10);
    const ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](3, _c2, item_r28))("ngTemplateOutlet", _r7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r27.isDropdown(item_r28));
} }
function NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_ng_container_2_ng_container_6_ng_container_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "button", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "mat-menu", 6, 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_ng_container_2_ng_container_6_ng_container_2_ng_container_6_Template, 3, 5, "ng-container", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](5);
    const child_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matMenuTriggerFor", _r26)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](6, _c1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 4, ctx_r25.isActive$)(child_r24)));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](child_r24.label);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", child_r24.children);
} }
function NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_ng_container_2_ng_container_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainer"](1, 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_ng_container_2_ng_container_6_ng_container_2_Template, 7, 8, "ng-container", 2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const child_r24 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](5);
    const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](10);
    const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](3, _c2, child_r24))("ngTemplateOutlet", _r7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r23.isDropdown(child_r24));
} }
function NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_ng_container_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "button", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "mat-menu", 6, 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_ng_container_2_ng_container_6_Template, 3, 5, "ng-container", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](5);
    const item_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matMenuTriggerFor", _r22)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](6, _c1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 4, ctx_r21.isActive$)(item_r20)));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r20.label);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", item_r20.children);
} }
function NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainer"](1, 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_ng_container_2_Template, 7, 8, "ng-container", 2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const item_r20 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](10);
    const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](3, _c2, item_r20))("ngTemplateOutlet", _r7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r19.isDropdown(item_r20));
} }
function NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "button", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "mat-icon", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "mat-menu", 6, 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_ng_container_8_Template, 3, 5, "ng-container", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](7);
    const child_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matMenuTriggerFor", _r18)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](7, _c1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 5, ctx_r12.isActive$)(child_r9)));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", child_r9.icon);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](child_r9.label);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", child_r9.children);
} }
function NavigationItemComponent_ng_container_2_ng_container_8_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, NavigationItemComponent_ng_container_2_ng_container_8_a_1_Template, 5, 8, "a", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, NavigationItemComponent_ng_container_2_ng_container_8_div_2_Template, 4, 2, "div", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, NavigationItemComponent_ng_container_2_ng_container_8_ng_container_3_Template, 9, 9, "ng-container", 2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const child_r9 = ctx.$implicit;
    const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r6.isLink(child_r9) && !ctx_r6.isFunction(child_r9.route));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r6.isLink(child_r9) && ctx_r6.isFunction(child_r9.route));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r6.isDropdown(child_r9));
} }
function NavigationItemComponent_ng_container_2_ng_template_9_a_0_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const item_r42 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().item;
    const ctx_r43 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", item_r42.route)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](5, _c1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 3, ctx_r43.isActive$)(item_r42)));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r42.label);
} }
function NavigationItemComponent_ng_container_2_ng_template_9_div_1_Template(rf, ctx) { if (rf & 1) {
    const _r48 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 23);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function NavigationItemComponent_ng_container_2_ng_template_9_div_1_Template_div_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r48); const item_r42 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().item; return item_r42.route(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const item_r42 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().item;
    const ctx_r44 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](4, _c1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 2, ctx_r44.isActive$)(item_r42)));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r42.label);
} }
function NavigationItemComponent_ng_container_2_ng_template_9_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, NavigationItemComponent_ng_container_2_ng_template_9_a_0_Template, 3, 7, "a", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, NavigationItemComponent_ng_container_2_ng_template_9_div_1_Template, 3, 6, "div", 22);
} if (rf & 2) {
    const item_r42 = ctx.item;
    const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r8.isLink(item_r42) && !ctx_r8.isFunction(item_r42.route));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r8.isLink(item_r42) && ctx_r8.isFunction(item_r42.route));
} }
function NavigationItemComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "mat-menu", 6, 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, NavigationItemComponent_ng_container_2_ng_container_8_Template, 4, 3, "ng-container", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, NavigationItemComponent_ng_container_2_ng_template_9_Template, 2, 2, "ng-template", null, 9, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](7);
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("hover:bg-hover", !_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 6, ctx_r2.isActive$)(ctx_r2.item));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matMenuTriggerFor", _r5)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](12, _c0, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 8, ctx_r2.isActive$)(ctx_r2.item), !_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 10, ctx_r2.isActive$)(ctx_r2.item)));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r2.item.label, " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r2.item.children);
} }
class NavigationItemComponent {
    constructor(navigationService, router) {
        this.navigationService = navigationService;
        this.router = router;
        this.isActive$ = this.router.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["filter"])(event => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_2__["NavigationEnd"]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["startWith"])(null), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(() => (item) => this.hasActiveChilds(item)));
        this.isLink = this.navigationService.isLink;
        this.isDropdown = this.navigationService.isDropdown;
        this.isSubheading = this.navigationService.isSubheading;
        this.trackByRoute = _utils_track_by__WEBPACK_IMPORTED_MODULE_3__["trackByRoute"];
    }
    ngOnInit() {
    }
    hasActiveChilds(parent) {
        if (this.isLink(parent)) {
            return this.router.isActive(parent.route, true);
        }
        if (this.isDropdown(parent) || this.isSubheading(parent)) {
            return parent.children.some(child => {
                if (this.isDropdown(child)) {
                    return this.hasActiveChilds(child);
                }
                if (this.isLink(child) && !this.isFunction(child.route)) {
                    return this.router.isActive(child.route, true);
                }
                return false;
            });
        }
        return false;
    }
    isFunction(prop) {
        return prop instanceof Function;
    }
}
NavigationItemComponent.ɵfac = function NavigationItemComponent_Factory(t) { return new (t || NavigationItemComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_navigation_service__WEBPACK_IMPORTED_MODULE_4__["NavigationService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"])); };
NavigationItemComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: NavigationItemComponent, selectors: [["vex-navigation-item"]], inputs: { item: "item" }, decls: 3, vars: 3, consts: [["class", "navigation-item", "matRipple", "", 3, "hover:bg-hover", "ngClass", "routerLink", 4, "ngIf"], ["class", "navigation-item navigation-color", "matRipple", "", 3, "hover:bg-hover", "click", 4, "ngIf"], [4, "ngIf"], ["matRipple", "", 1, "navigation-item", 3, "ngClass", "routerLink"], ["matRipple", "", 1, "navigation-item", "navigation-color", 3, "click"], ["matRipple", "", 1, "navigation-item", 3, "matMenuTriggerFor", "ngClass"], ["yPosition", "below"], ["menu", "matMenu"], [4, "ngFor", "ngForOf"], ["linkTemplate", ""], ["class", "navigation-menu-item", "mat-menu-item", "", 3, "routerLink", "ngClass", 4, "ngIf"], ["class", "navigation-menu-item", "mat-menu-item", "", 3, "click", 4, "ngIf"], ["mat-menu-item", "", 1, "navigation-menu-item", 3, "routerLink", "ngClass"], [1, "text-current", 3, "icIcon"], ["mat-menu-item", "", 1, "navigation-menu-item", 3, "click"], ["mat-menu-item", "", 1, "navigation-menu-item", 3, "matMenuTriggerFor", "ngClass"], ["level1", "matMenu"], [3, "ngTemplateOutletContext", "ngTemplateOutlet"], ["level2", "matMenu"], ["level3", "matMenu"], ["level4", "matMenu"], ["level5", "matMenu"], ["class", "navigation-menu-item", "mat-menu-item", "", 3, "ngClass", "click", 4, "ngIf"], ["mat-menu-item", "", 1, "navigation-menu-item", 3, "ngClass", "click"]], template: function NavigationItemComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, NavigationItemComponent_a_0_Template, 5, 14, "a", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, NavigationItemComponent_div_1_Template, 3, 5, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, NavigationItemComponent_ng_container_2_Template, 11, 15, "ng-container", 2);
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.isLink(ctx.item) && !ctx.isFunction(ctx.item.route));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.isLink(ctx.item) && ctx.isFunction(ctx.item.route));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.isSubheading(ctx.item) && (ctx.item.children == null ? null : ctx.item.children.length) > 0 || ctx.isDropdown(ctx.item));
    } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterLinkWithHref"], _angular_material_core__WEBPACK_IMPORTED_MODULE_6__["MatRipple"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgClass"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_7__["MatMenuTrigger"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_7__["_MatMenu"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_7__["MatMenuItem"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_8__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_9__["IconDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgTemplateOutlet"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["AsyncPipe"]], styles: [".navigation-item[_ngcontent-%COMP%] {\n  border-radius: 0.25rem;\n  cursor: pointer;\n  font-size: 0.875rem;\n  font-weight: 500;\n  padding-left: 1rem;\n  padding-right: 1rem;\n  padding-top: 0.5rem;\n  padding-bottom: 0.5rem;\n  position: relative;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n  text-decoration: none;\n  display: block;\n  -webkit-margin-end: var(--padding-8);\n          margin-inline-end: var(--padding-8);\n  transition: var(--trans-ease-out);\n}\n\n.navigation-color[_ngcontent-%COMP%] {\n  color: var(--navigation-color);\n}\n\n.navigation-menu-item[_ngcontent-%COMP%] {\n  transition: var(--trans-ease-out);\n}\n\n.navigation-menu-item[_ngcontent-%COMP%]:hover {\n  color: rgb(var(--color-primary));\n}\n\n.navigation-menu-item[_ngcontent-%COMP%]:hover   .mat-icon[_ngcontent-%COMP%] {\n  color: rgb(var(--color-primary));\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2NvbXBvbmVudHMvbmF2aWdhdGlvbi1pdGVtL25hdmlnYXRpb24taXRlbS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLHNCQUFBO0VBQ0EsZUFBQTtFQUNBLG1CQUFBO0VBQ0EsZ0JBQUE7RUFDQSxrQkFBQTtFQUNBLG1CQUFBO0VBQ0EsbUJBQUE7RUFDQSxzQkFBQTtFQUNBLGtCQUFBO0VBQ0EseUJBQUE7S0FBQSxzQkFBQTtNQUFBLHFCQUFBO1VBQUEsaUJBQUE7RUFDQSxxQkFBQTtFQUNBLGNBQUE7RUFDQSxvQ0FBQTtVQUFBLG1DQUFBO0VBQ0EsaUNBQUE7QUFDRjs7QUFFQTtFQUNFLDhCQUFBO0FBQ0Y7O0FBRUE7RUFDRSxpQ0FBQTtBQUNGOztBQUVBO0VBQ0UsZ0NBQUE7QUFDRjs7QUFFQTtFQUNFLGdDQUFBO0FBQ0YiLCJmaWxlIjoic3JjL0B2ZXgvY29tcG9uZW50cy9uYXZpZ2F0aW9uLWl0ZW0vbmF2aWdhdGlvbi1pdGVtLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLm5hdmlnYXRpb24taXRlbSB7XG4gIGJvcmRlci1yYWRpdXM6IDAuMjVyZW07XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgZm9udC1zaXplOiAwLjg3NXJlbTtcbiAgZm9udC13ZWlnaHQ6IDUwMDtcbiAgcGFkZGluZy1sZWZ0OiAxcmVtO1xuICBwYWRkaW5nLXJpZ2h0OiAxcmVtO1xuICBwYWRkaW5nLXRvcDogMC41cmVtO1xuICBwYWRkaW5nLWJvdHRvbTogMC41cmVtO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gIHVzZXItc2VsZWN0OiBub25lO1xuICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBtYXJnaW4taW5saW5lLWVuZDogdmFyKC0tcGFkZGluZy04KTtcbiAgdHJhbnNpdGlvbjogdmFyKC0tdHJhbnMtZWFzZS1vdXQpO1xufVxuXG4ubmF2aWdhdGlvbi1jb2xvciB7XG4gIGNvbG9yOiB2YXIoLS1uYXZpZ2F0aW9uLWNvbG9yKTtcbn1cblxuLm5hdmlnYXRpb24tbWVudS1pdGVtIHtcbiAgdHJhbnNpdGlvbjogdmFyKC0tdHJhbnMtZWFzZS1vdXQpO1xufVxuXG4ubmF2aWdhdGlvbi1tZW51LWl0ZW06aG92ZXIge1xuICBjb2xvcjogcmdiKHZhcigtLWNvbG9yLXByaW1hcnkpKTtcbn1cblxuLm5hdmlnYXRpb24tbWVudS1pdGVtOmhvdmVyIC5tYXQtaWNvbiB7XG4gIGNvbG9yOiByZ2IodmFyKC0tY29sb3ItcHJpbWFyeSkpO1xufSJdfQ== */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NavigationItemComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-navigation-item',
                templateUrl: './navigation-item.component.html',
                styleUrls: ['./navigation-item.component.scss']
            }]
    }], function () { return [{ type: _services_navigation_service__WEBPACK_IMPORTED_MODULE_4__["NavigationService"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"] }]; }, { item: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }] }); })();


/***/ }),

/***/ "./src/@vex/components/navigation-item/navigation-item.module.ts":
/*!***********************************************************************!*\
  !*** ./src/@vex/components/navigation-item/navigation-item.module.ts ***!
  \***********************************************************************/
/*! exports provided: NavigationItemModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NavigationItemModule", function() { return NavigationItemModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _navigation_item_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./navigation-item.component */ "./src/@vex/components/navigation-item/navigation-item.component.ts");
/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/menu */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/menu.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");









class NavigationItemModule {
}
NavigationItemModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: NavigationItemModule });
NavigationItemModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function NavigationItemModule_Factory(t) { return new (t || NavigationItemModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _angular_material_menu__WEBPACK_IMPORTED_MODULE_3__["MatMenuModule"],
            _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_4__["IconModule"],
            _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__["MatIconModule"],
            _angular_router__WEBPACK_IMPORTED_MODULE_6__["RouterModule"],
            _angular_material_core__WEBPACK_IMPORTED_MODULE_7__["MatRippleModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](NavigationItemModule, { declarations: [_navigation_item_component__WEBPACK_IMPORTED_MODULE_2__["NavigationItemComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _angular_material_menu__WEBPACK_IMPORTED_MODULE_3__["MatMenuModule"],
        _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_4__["IconModule"],
        _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__["MatIconModule"],
        _angular_router__WEBPACK_IMPORTED_MODULE_6__["RouterModule"],
        _angular_material_core__WEBPACK_IMPORTED_MODULE_7__["MatRippleModule"]], exports: [_navigation_item_component__WEBPACK_IMPORTED_MODULE_2__["NavigationItemComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NavigationItemModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_navigation_item_component__WEBPACK_IMPORTED_MODULE_2__["NavigationItemComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _angular_material_menu__WEBPACK_IMPORTED_MODULE_3__["MatMenuModule"],
                    _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_4__["IconModule"],
                    _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__["MatIconModule"],
                    _angular_router__WEBPACK_IMPORTED_MODULE_6__["RouterModule"],
                    _angular_material_core__WEBPACK_IMPORTED_MODULE_7__["MatRippleModule"]
                ],
                exports: [_navigation_item_component__WEBPACK_IMPORTED_MODULE_2__["NavigationItemComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/components/page-layout/page-layout-content.directive.ts":
/*!**************************************************************************!*\
  !*** ./src/@vex/components/page-layout/page-layout-content.directive.ts ***!
  \**************************************************************************/
/*! exports provided: PageLayoutContentDirective */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PageLayoutContentDirective", function() { return PageLayoutContentDirective; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class PageLayoutContentDirective {
    constructor() { }
}
PageLayoutContentDirective.ɵfac = function PageLayoutContentDirective_Factory(t) { return new (t || PageLayoutContentDirective)(); };
PageLayoutContentDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: PageLayoutContentDirective, selectors: [["", "vexPageLayoutContent", ""], ["vex-page-layout-content"]], hostAttrs: [1, "vex-page-layout-content"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PageLayoutContentDirective, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
        args: [{
                selector: '[vexPageLayoutContent],vex-page-layout-content',
                host: {
                    class: 'vex-page-layout-content'
                }
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/@vex/components/page-layout/page-layout-header.directive.ts":
/*!*************************************************************************!*\
  !*** ./src/@vex/components/page-layout/page-layout-header.directive.ts ***!
  \*************************************************************************/
/*! exports provided: PageLayoutHeaderDirective */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PageLayoutHeaderDirective", function() { return PageLayoutHeaderDirective; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class PageLayoutHeaderDirective {
    constructor() { }
}
PageLayoutHeaderDirective.ɵfac = function PageLayoutHeaderDirective_Factory(t) { return new (t || PageLayoutHeaderDirective)(); };
PageLayoutHeaderDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: PageLayoutHeaderDirective, selectors: [["", "vexPageLayoutHeader", ""], ["vex-page-layout-header"]], hostAttrs: [1, "vex-page-layout-header"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PageLayoutHeaderDirective, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
        args: [{
                selector: '[vexPageLayoutHeader],vex-page-layout-header',
                host: {
                    class: 'vex-page-layout-header'
                }
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/@vex/components/page-layout/page-layout.component.ts":
/*!******************************************************************!*\
  !*** ./src/@vex/components/page-layout/page-layout.component.ts ***!
  \******************************************************************/
/*! exports provided: PageLayoutComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PageLayoutComponent", function() { return PageLayoutComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


const _c0 = ["*"];
class PageLayoutComponent {
    constructor() {
        this.mode = 'simple';
    }
    get isCard() {
        return this.mode === 'card';
    }
    get isSimple() {
        return this.mode === 'simple';
    }
}
PageLayoutComponent.ɵfac = function PageLayoutComponent_Factory(t) { return new (t || PageLayoutComponent)(); };
PageLayoutComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: PageLayoutComponent, selectors: [["vex-page-layout"]], hostAttrs: [1, "vex-page-layout"], hostVars: 4, hostBindings: function PageLayoutComponent_HostBindings(rf, ctx) { if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("vex-page-layout-card", ctx.isCard)("vex-page-layout-simple", ctx.isSimple);
    } }, inputs: { mode: "mode" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function PageLayoutComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](0);
    } }, styles: [".vex-page-layout {\n  display: block;\n}\n\n.vex-page-layout-simple .vex-page-layout-content {\n  padding-bottom: var(--padding-gutter);\n  padding-top: var(--padding-gutter);\n}\n\n.vex-page-layout-card {\n  padding-bottom: var(--padding);\n}\n\n.vex-page-layout-card .vex-page-layout-header {\n  margin-bottom: calc(var(--page-layout-toolbar-height) * -1);\n  padding-bottom: var(--page-layout-toolbar-height);\n}\n\n.vex-page-layout-card .vex-page-layout-content > * > .mat-tab-group .mat-tab-label,\n.vex-page-layout-card .vex-page-layout-content > .mat-tab-group .mat-tab-label {\n  height: var(--page-layout-toolbar-height);\n}\n\n.vex-page-layout-card .vex-page-layout-content > * > .mat-tab-group .mat-tab-label.mat-tab-label-active,\n.vex-page-layout-card .vex-page-layout-content > .mat-tab-group .mat-tab-label.mat-tab-label-active {\n  opacity: 1;\n}\n\n.vex-page-layout-header {\n  align-items: center;\n  background: #f5f5f8;\n  background: linear-gradient(0deg, #f5f5f8 0%, #e6f2f8 100%);\n  color: rgb(var(--color-primary));\n  box-sizing: content-box !important;\n  display: flex;\n  flex-direction: row;\n  /*height: calc(var(--page-layout-header-height) - var(--page-layout-toolbar-height));*/\n  height: 60px;\n  padding-left: var(--padding);\n  padding-right: var(--padding);\n  place-content: center flex-start;\n}\n\n.vex-page-layout-header .vex-breadcrumb:hover {\n  color: rgb(var(--color-primary));\n  opacity: 1;\n}\n\n.vex-page-layout-content {\n  box-sizing: border-box;\n  display: block;\n  padding-left: var(--padding-gutter);\n  padding-right: var(--padding-gutter);\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2NvbXBvbmVudHMvcGFnZS1sYXlvdXQvcGFnZS1sYXlvdXQuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxjQUFBO0FBQ0Y7O0FBRUE7RUFDRSxxQ0FBQTtFQUNBLGtDQUFBO0FBQ0Y7O0FBRUE7RUFDRSw4QkFBQTtBQUNGOztBQUVBO0VBQ0UsMkRBQUE7RUFDQSxpREFBQTtBQUNGOztBQUVBOztFQUVFLHlDQUFBO0FBQ0Y7O0FBRUE7O0VBRUUsVUFBQTtBQUNGOztBQUVBO0VBQ0UsbUJBQUE7RUFDQSxtQkFBQTtFQUNBLDJEQUFBO0VBQ0EsZ0NBQUE7RUFDQSxrQ0FBQTtFQUNBLGFBQUE7RUFDQSxtQkFBQTtFQUNBLHNGQUFBO0VBQ0EsWUFBQTtFQUNBLDRCQUFBO0VBQ0EsNkJBQUE7RUFDQSxnQ0FBQTtBQUNGOztBQUVBO0VBQ0UsZ0NBQUE7RUFDQSxVQUFBO0FBQ0Y7O0FBRUE7RUFDRSxzQkFBQTtFQUNBLGNBQUE7RUFDQSxtQ0FBQTtFQUNBLG9DQUFBO0FBQ0YiLCJmaWxlIjoic3JjL0B2ZXgvY29tcG9uZW50cy9wYWdlLWxheW91dC9wYWdlLWxheW91dC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi52ZXgtcGFnZS1sYXlvdXQge1xuICBkaXNwbGF5OiBibG9jaztcbn1cblxuLnZleC1wYWdlLWxheW91dC1zaW1wbGUgLnZleC1wYWdlLWxheW91dC1jb250ZW50IHtcbiAgcGFkZGluZy1ib3R0b206IHZhcigtLXBhZGRpbmctZ3V0dGVyKTtcbiAgcGFkZGluZy10b3A6IHZhcigtLXBhZGRpbmctZ3V0dGVyKTtcbn1cblxuLnZleC1wYWdlLWxheW91dC1jYXJkIHtcbiAgcGFkZGluZy1ib3R0b206IHZhcigtLXBhZGRpbmcpO1xufVxuXG4udmV4LXBhZ2UtbGF5b3V0LWNhcmQgLnZleC1wYWdlLWxheW91dC1oZWFkZXIge1xuICBtYXJnaW4tYm90dG9tOiBjYWxjKHZhcigtLXBhZ2UtbGF5b3V0LXRvb2xiYXItaGVpZ2h0KSAqIC0xKTtcbiAgcGFkZGluZy1ib3R0b206IHZhcigtLXBhZ2UtbGF5b3V0LXRvb2xiYXItaGVpZ2h0KTtcbn1cblxuLnZleC1wYWdlLWxheW91dC1jYXJkIC52ZXgtcGFnZS1sYXlvdXQtY29udGVudCA+ICogPiAubWF0LXRhYi1ncm91cCAubWF0LXRhYi1sYWJlbCxcbi52ZXgtcGFnZS1sYXlvdXQtY2FyZCAudmV4LXBhZ2UtbGF5b3V0LWNvbnRlbnQgPiAubWF0LXRhYi1ncm91cCAubWF0LXRhYi1sYWJlbCB7XG4gIGhlaWdodDogdmFyKC0tcGFnZS1sYXlvdXQtdG9vbGJhci1oZWlnaHQpO1xufVxuXG4udmV4LXBhZ2UtbGF5b3V0LWNhcmQgLnZleC1wYWdlLWxheW91dC1jb250ZW50ID4gKiA+IC5tYXQtdGFiLWdyb3VwIC5tYXQtdGFiLWxhYmVsLm1hdC10YWItbGFiZWwtYWN0aXZlLFxuLnZleC1wYWdlLWxheW91dC1jYXJkIC52ZXgtcGFnZS1sYXlvdXQtY29udGVudCA+IC5tYXQtdGFiLWdyb3VwIC5tYXQtdGFiLWxhYmVsLm1hdC10YWItbGFiZWwtYWN0aXZlIHtcbiAgb3BhY2l0eTogMTtcbn1cblxuLnZleC1wYWdlLWxheW91dC1oZWFkZXIge1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBiYWNrZ3JvdW5kOiAjZjVmNWY4O1xuICBiYWNrZ3JvdW5kOiBsaW5lYXItZ3JhZGllbnQoMGRlZywgI2Y1ZjVmOCAwJSwgI2U2ZjJmOCAxMDAlKTtcbiAgY29sb3I6IHJnYih2YXIoLS1jb2xvci1wcmltYXJ5KSk7XG4gIGJveC1zaXppbmc6IGNvbnRlbnQtYm94ICFpbXBvcnRhbnQ7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZsZXgtZGlyZWN0aW9uOiByb3c7XG4gIC8qaGVpZ2h0OiBjYWxjKHZhcigtLXBhZ2UtbGF5b3V0LWhlYWRlci1oZWlnaHQpIC0gdmFyKC0tcGFnZS1sYXlvdXQtdG9vbGJhci1oZWlnaHQpKTsqL1xuICBoZWlnaHQ6IDYwcHg7XG4gIHBhZGRpbmctbGVmdDogdmFyKC0tcGFkZGluZyk7XG4gIHBhZGRpbmctcmlnaHQ6IHZhcigtLXBhZGRpbmcpO1xuICBwbGFjZS1jb250ZW50OiBjZW50ZXIgZmxleC1zdGFydDtcbn1cblxuLnZleC1wYWdlLWxheW91dC1oZWFkZXIgLnZleC1icmVhZGNydW1iOmhvdmVyIHtcbiAgY29sb3I6IHJnYih2YXIoLS1jb2xvci1wcmltYXJ5KSk7XG4gIG9wYWNpdHk6IDE7XG59XG5cbi52ZXgtcGFnZS1sYXlvdXQtY29udGVudCB7XG4gIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBwYWRkaW5nLWxlZnQ6IHZhcigtLXBhZGRpbmctZ3V0dGVyKTtcbiAgcGFkZGluZy1yaWdodDogdmFyKC0tcGFkZGluZy1ndXR0ZXIpO1xufSJdfQ== */"], encapsulation: 2 });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PageLayoutComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-page-layout',
                template: '<ng-content></ng-content>',
                host: {
                    class: 'vex-page-layout'
                },
                encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
                styleUrls: ['./page-layout.component.scss']
            }]
    }], function () { return []; }, { mode: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], isCard: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
            args: ['class.vex-page-layout-card']
        }], isSimple: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
            args: ['class.vex-page-layout-simple']
        }] }); })();


/***/ }),

/***/ "./src/@vex/components/page-layout/page-layout.module.ts":
/*!***************************************************************!*\
  !*** ./src/@vex/components/page-layout/page-layout.module.ts ***!
  \***************************************************************/
/*! exports provided: PageLayoutModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PageLayoutModule", function() { return PageLayoutModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _page_layout_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./page-layout.component */ "./src/@vex/components/page-layout/page-layout.component.ts");
/* harmony import */ var _page_layout_header_directive__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./page-layout-header.directive */ "./src/@vex/components/page-layout/page-layout-header.directive.ts");
/* harmony import */ var _page_layout_content_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./page-layout-content.directive */ "./src/@vex/components/page-layout/page-layout-content.directive.ts");






class PageLayoutModule {
}
PageLayoutModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: PageLayoutModule });
PageLayoutModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function PageLayoutModule_Factory(t) { return new (t || PageLayoutModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](PageLayoutModule, { declarations: [_page_layout_component__WEBPACK_IMPORTED_MODULE_2__["PageLayoutComponent"], _page_layout_header_directive__WEBPACK_IMPORTED_MODULE_3__["PageLayoutHeaderDirective"], _page_layout_content_directive__WEBPACK_IMPORTED_MODULE_4__["PageLayoutContentDirective"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]], exports: [_page_layout_component__WEBPACK_IMPORTED_MODULE_2__["PageLayoutComponent"], _page_layout_header_directive__WEBPACK_IMPORTED_MODULE_3__["PageLayoutHeaderDirective"], _page_layout_content_directive__WEBPACK_IMPORTED_MODULE_4__["PageLayoutContentDirective"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PageLayoutModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]
                ],
                declarations: [_page_layout_component__WEBPACK_IMPORTED_MODULE_2__["PageLayoutComponent"], _page_layout_header_directive__WEBPACK_IMPORTED_MODULE_3__["PageLayoutHeaderDirective"], _page_layout_content_directive__WEBPACK_IMPORTED_MODULE_4__["PageLayoutContentDirective"]],
                exports: [_page_layout_component__WEBPACK_IMPORTED_MODULE_2__["PageLayoutComponent"], _page_layout_header_directive__WEBPACK_IMPORTED_MODULE_3__["PageLayoutHeaderDirective"], _page_layout_content_directive__WEBPACK_IMPORTED_MODULE_4__["PageLayoutContentDirective"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/components/popover/popover-ref.ts":
/*!****************************************************!*\
  !*** ./src/@vex/components/popover/popover-ref.ts ***!
  \****************************************************/
/*! exports provided: PopoverRef */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PopoverRef", function() { return PopoverRef; });
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");

class PopoverRef {
    constructor(overlay, content, data) {
        this.overlay = overlay;
        this.content = content;
        this.data = data;
        this.afterClosed = new rxjs__WEBPACK_IMPORTED_MODULE_0__["Subject"]();
        this.afterClosed$ = this.afterClosed.asObservable();
        overlay.backdropClick().subscribe(() => {
            this._close('backdropClick', null);
        });
    }
    close(data) {
        this._close('close', data);
    }
    _close(type, data) {
        this.overlay.dispose();
        this.afterClosed.next({
            type,
            data
        });
        this.afterClosed.complete();
    }
}


/***/ }),

/***/ "./src/@vex/components/popover/popover.component.ts":
/*!**********************************************************!*\
  !*** ./src/@vex/components/popover/popover.component.ts ***!
  \**********************************************************/
/*! exports provided: PopoverComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PopoverComponent", function() { return PopoverComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _animations_popover_animation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../animations/popover.animation */ "./src/@vex/animations/popover.animation.ts");
/* harmony import */ var _popover_ref__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./popover-ref */ "./src/@vex/components/popover/popover-ref.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");





function PopoverComponent_div_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "div", 4);
} if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("innerHTML", ctx_r0.content, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeHtml"]);
} }
function PopoverComponent_ng_container_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainer"](0);
} }
function PopoverComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, PopoverComponent_ng_container_3_ng_container_1_Template, 1, 0, "ng-container", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", ctx_r1.content)("ngTemplateOutletContext", ctx_r1.context);
} }
function PopoverComponent_ng_container_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainer"](0);
} }
function PopoverComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, PopoverComponent_ng_container_4_ng_container_1_Template, 1, 0, "ng-container", 6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngComponentOutlet", ctx_r2.content);
} }
class PopoverComponent {
    constructor(popoverRef) {
        this.popoverRef = popoverRef;
        this.renderMethod = 'component';
    }
    ngOnInit() {
        this.content = this.popoverRef.content;
        if (typeof this.content === 'string') {
            this.renderMethod = 'text';
        }
        if (this.content instanceof _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]) {
            this.renderMethod = 'template';
            this.context = {
                close: this.popoverRef.close.bind(this.popoverRef)
            };
        }
    }
}
PopoverComponent.ɵfac = function PopoverComponent_Factory(t) { return new (t || PopoverComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_popover_ref__WEBPACK_IMPORTED_MODULE_2__["PopoverRef"])); };
PopoverComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: PopoverComponent, selectors: [["ng-component"]], decls: 5, vars: 5, consts: [[1, "popover"], [3, "ngSwitch"], [3, "innerHTML", 4, "ngSwitchCase"], [4, "ngSwitchCase"], [3, "innerHTML"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [4, "ngComponentOutlet"]], template: function PopoverComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](1, 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, PopoverComponent_div_2_Template, 1, 1, "div", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, PopoverComponent_ng_container_3_Template, 2, 2, "ng-container", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, PopoverComponent_ng_container_4_Template, 2, 1, "ng-container", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@transformPopover", undefined);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitch", ctx.renderMethod);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", "text");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", "template");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", "component");
    } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgComponentOutlet"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvQHZleC9jb21wb25lbnRzL3BvcG92ZXIvcG9wb3Zlci5jb21wb25lbnQuc2NzcyJ9 */"], data: { animation: [_animations_popover_animation__WEBPACK_IMPORTED_MODULE_1__["popoverAnimation"]] } });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PopoverComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                templateUrl: './popover.component.html',
                styleUrls: ['./popover.component.scss'],
                animations: [_animations_popover_animation__WEBPACK_IMPORTED_MODULE_1__["popoverAnimation"]]
            }]
    }], function () { return [{ type: _popover_ref__WEBPACK_IMPORTED_MODULE_2__["PopoverRef"] }]; }, null); })();


/***/ }),

/***/ "./src/@vex/components/popover/popover.module.ts":
/*!*******************************************************!*\
  !*** ./src/@vex/components/popover/popover.module.ts ***!
  \*******************************************************/
/*! exports provided: PopoverModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PopoverModule", function() { return PopoverModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _popover_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./popover.component */ "./src/@vex/components/popover/popover.component.ts");
/* harmony import */ var _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/cdk/overlay */ "./node_modules/@angular/cdk/__ivy_ngcc__/fesm2015/overlay.js");





class PopoverModule {
}
PopoverModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: PopoverModule });
PopoverModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function PopoverModule_Factory(t) { return new (t || PopoverModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_3__["OverlayModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](PopoverModule, { declarations: [_popover_component__WEBPACK_IMPORTED_MODULE_2__["PopoverComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_3__["OverlayModule"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PopoverModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_popover_component__WEBPACK_IMPORTED_MODULE_2__["PopoverComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_3__["OverlayModule"]
                ],
                entryComponents: [_popover_component__WEBPACK_IMPORTED_MODULE_2__["PopoverComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/components/popover/popover.service.ts":
/*!********************************************************!*\
  !*** ./src/@vex/components/popover/popover.service.ts ***!
  \********************************************************/
/*! exports provided: PopoverService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PopoverService", function() { return PopoverService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/cdk/overlay */ "./node_modules/@angular/cdk/__ivy_ngcc__/fesm2015/overlay.js");
/* harmony import */ var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/portal */ "./node_modules/@angular/cdk/__ivy_ngcc__/fesm2015/portal.js");
/* harmony import */ var _popover_ref__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./popover-ref */ "./src/@vex/components/popover/popover-ref.ts");
/* harmony import */ var _popover_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./popover.component */ "./src/@vex/components/popover/popover.component.ts");







class PopoverService {
    constructor(overlay, injector) {
        this.overlay = overlay;
        this.injector = injector;
    }
    open({ origin, content, data, width, height, position, offsetX, offsetY }) {
        const overlayRef = this.overlay.create(this.getOverlayConfig({ origin, width, height, position, offsetX, offsetY }));
        const popoverRef = new _popover_ref__WEBPACK_IMPORTED_MODULE_3__["PopoverRef"](overlayRef, content, data);
        const injector = this.createInjector(popoverRef, this.injector);
        overlayRef.attach(new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_2__["ComponentPortal"](_popover_component__WEBPACK_IMPORTED_MODULE_4__["PopoverComponent"], null, injector));
        return popoverRef;
    }
    createInjector(popoverRef, injector) {
        const tokens = new WeakMap([[_popover_ref__WEBPACK_IMPORTED_MODULE_3__["PopoverRef"], popoverRef]]);
        return new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_2__["PortalInjector"](injector, tokens);
    }
    getOverlayConfig({ origin, width, height, position, offsetX, offsetY }) {
        return new _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_1__["OverlayConfig"]({
            hasBackdrop: true,
            width,
            height,
            backdropClass: 'popover-backdrop',
            positionStrategy: this.getOverlayPosition({ origin, position, offsetX, offsetY }),
            scrollStrategy: this.overlay.scrollStrategies.reposition()
        });
    }
    getOverlayPosition({ origin, position, offsetX, offsetY }) {
        const positionStrategy = this.overlay.position()
            .flexibleConnectedTo(origin)
            .withPositions(position || this.getPositions())
            .withFlexibleDimensions(true)
            .withDefaultOffsetY(offsetY || 0)
            .withDefaultOffsetX(offsetX || 0)
            .withTransformOriginOn('.popover')
            .withPush(true);
        return positionStrategy;
    }
    getPositions() {
        return [
            {
                originX: 'center',
                originY: 'top',
                overlayX: 'center',
                overlayY: 'bottom'
            },
            {
                originX: 'center',
                originY: 'bottom',
                overlayX: 'center',
                overlayY: 'top',
            },
        ];
    }
}
PopoverService.ɵfac = function PopoverService_Factory(t) { return new (t || PopoverService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_1__["Overlay"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"])); };
PopoverService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: PopoverService, factory: PopoverService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PopoverService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_1__["Overlay"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"] }]; }, null); })();


/***/ }),

/***/ "./src/@vex/components/progress-bar/progress-bar.component.ts":
/*!********************************************************************!*\
  !*** ./src/@vex/components/progress-bar/progress-bar.component.ts ***!
  \********************************************************************/
/*! exports provided: ProgressBarComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProgressBarComponent", function() { return ProgressBarComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _ngx_loading_bar_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @ngx-loading-bar/core */ "./node_modules/@ngx-loading-bar/core/__ivy_ngcc__/fesm2015/ngx-loading-bar-core.js");
/* harmony import */ var _angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material/progress-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/progress-bar.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");





class ProgressBarComponent {
    constructor(loader) {
        this.loader = loader;
    }
    ngOnInit() {
    }
}
ProgressBarComponent.ɵfac = function ProgressBarComponent_Factory(t) { return new (t || ProgressBarComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_loading_bar_core__WEBPACK_IMPORTED_MODULE_1__["LoadingBarService"])); };
ProgressBarComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ProgressBarComponent, selectors: [["vex-progress-bar"]], decls: 3, vars: 7, consts: [["mode", "determinate", 1, "progress-bar", 3, "value"]], template: function ProgressBarComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-progress-bar", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("visible", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 3, ctx.loader.useRef("router").value$));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 5, ctx.loader.useRef("router").value$));
    } }, directives: [_angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_2__["MatProgressBar"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["AsyncPipe"]], styles: [".progress-bar[_ngcontent-%COMP%] {\n  left: 0;\n  opacity: 0;\n  position: fixed;\n  right: 0;\n  top: 0;\n  visibility: hidden;\n  z-index: 99999;\n}\n\n.progress-bar.visible[_ngcontent-%COMP%] {\n  opacity: 1;\n  visibility: visible;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2NvbXBvbmVudHMvcHJvZ3Jlc3MtYmFyL3Byb2dyZXNzLWJhci5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLE9BQUE7RUFDQSxVQUFBO0VBQ0EsZUFBQTtFQUNBLFFBQUE7RUFDQSxNQUFBO0VBQ0Esa0JBQUE7RUFDQSxjQUFBO0FBQ0Y7O0FBRUE7RUFDRSxVQUFBO0VBQ0EsbUJBQUE7QUFDRiIsImZpbGUiOiJzcmMvQHZleC9jb21wb25lbnRzL3Byb2dyZXNzLWJhci9wcm9ncmVzcy1iYXIuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIucHJvZ3Jlc3MtYmFyIHtcbiAgbGVmdDogMDtcbiAgb3BhY2l0eTogMDtcbiAgcG9zaXRpb246IGZpeGVkO1xuICByaWdodDogMDtcbiAgdG9wOiAwO1xuICB2aXNpYmlsaXR5OiBoaWRkZW47XG4gIHotaW5kZXg6IDk5OTk5O1xufVxuXG4ucHJvZ3Jlc3MtYmFyLnZpc2libGUge1xuICBvcGFjaXR5OiAxO1xuICB2aXNpYmlsaXR5OiB2aXNpYmxlO1xufSJdfQ== */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ProgressBarComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-progress-bar',
                templateUrl: './progress-bar.component.html',
                styleUrls: ['./progress-bar.component.scss']
            }]
    }], function () { return [{ type: _ngx_loading_bar_core__WEBPACK_IMPORTED_MODULE_1__["LoadingBarService"] }]; }, null); })();


/***/ }),

/***/ "./src/@vex/components/progress-bar/progress-bar.module.ts":
/*!*****************************************************************!*\
  !*** ./src/@vex/components/progress-bar/progress-bar.module.ts ***!
  \*****************************************************************/
/*! exports provided: ProgressBarModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProgressBarModule", function() { return ProgressBarModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _progress_bar_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./progress-bar.component */ "./src/@vex/components/progress-bar/progress-bar.component.ts");
/* harmony import */ var _angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/progress-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/progress-bar.js");
/* harmony import */ var _ngx_loading_bar_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ngx-loading-bar/core */ "./node_modules/@ngx-loading-bar/core/__ivy_ngcc__/fesm2015/ngx-loading-bar-core.js");
/* harmony import */ var _ngx_loading_bar_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ngx-loading-bar/router */ "./node_modules/@ngx-loading-bar/router/__ivy_ngcc__/fesm2015/ngx-loading-bar-router.js");







class ProgressBarModule {
}
ProgressBarModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: ProgressBarModule });
ProgressBarModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function ProgressBarModule_Factory(t) { return new (t || ProgressBarModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_3__["MatProgressBarModule"],
            _ngx_loading_bar_core__WEBPACK_IMPORTED_MODULE_4__["LoadingBarModule"],
            _ngx_loading_bar_router__WEBPACK_IMPORTED_MODULE_5__["LoadingBarRouterModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](ProgressBarModule, { declarations: [_progress_bar_component__WEBPACK_IMPORTED_MODULE_2__["ProgressBarComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_3__["MatProgressBarModule"],
        _ngx_loading_bar_core__WEBPACK_IMPORTED_MODULE_4__["LoadingBarModule"],
        _ngx_loading_bar_router__WEBPACK_IMPORTED_MODULE_5__["LoadingBarRouterModule"]], exports: [_progress_bar_component__WEBPACK_IMPORTED_MODULE_2__["ProgressBarComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ProgressBarModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_progress_bar_component__WEBPACK_IMPORTED_MODULE_2__["ProgressBarComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_3__["MatProgressBarModule"],
                    _ngx_loading_bar_core__WEBPACK_IMPORTED_MODULE_4__["LoadingBarModule"],
                    _ngx_loading_bar_router__WEBPACK_IMPORTED_MODULE_5__["LoadingBarRouterModule"]
                ],
                exports: [_progress_bar_component__WEBPACK_IMPORTED_MODULE_2__["ProgressBarComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/components/scrollbar/scrollbar.component.ts":
/*!**************************************************************!*\
  !*** ./src/@vex/components/scrollbar/scrollbar.component.ts ***!
  \**************************************************************/
/*! exports provided: ScrollbarComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ScrollbarComponent", function() { return ScrollbarComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var simplebar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! simplebar */ "./node_modules/simplebar/dist/simplebar.esm.js");



const _c0 = ["*"];
class ScrollbarComponent {
    constructor(_element, zone) {
        this._element = _element;
        this.zone = zone;
    }
    ngAfterContentInit() {
        this.zone.runOutsideAngular(() => {
            this.scrollbarRef = new simplebar__WEBPACK_IMPORTED_MODULE_1__["default"](this._element.nativeElement, this.options);
        });
    }
    ngOnDestroy() {
        /**
         * Exists, but not typed in the type definition
         * https://github.com/Grsmto/simplebar/blob/master/packages/simplebar/src/simplebar.js#L903
         */
        if (this.scrollbarRef && this.scrollbarRef.unMount) {
            this.scrollbarRef.unMount();
        }
    }
}
ScrollbarComponent.ɵfac = function ScrollbarComponent_Factory(t) { return new (t || ScrollbarComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"])); };
ScrollbarComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ScrollbarComponent, selectors: [["vex-scrollbar"]], hostAttrs: [1, "vex-scrollbar"], inputs: { options: "options" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function ScrollbarComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](0);
    } }, styles: ["[_nghost-%COMP%] {\n  display: block;\n  min-height: 0;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2NvbXBvbmVudHMvc2Nyb2xsYmFyL3Njcm9sbGJhci5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLGNBQUE7RUFDQSxhQUFBO0FBQ0YiLCJmaWxlIjoic3JjL0B2ZXgvY29tcG9uZW50cy9zY3JvbGxiYXIvc2Nyb2xsYmFyLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiOmhvc3Qge1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWluLWhlaWdodDogMDtcbn0iXX0= */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ScrollbarComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-scrollbar',
                template: `
    <ng-content></ng-content>`,
                styleUrls: ['./scrollbar.component.scss'],
                host: {
                    class: 'vex-scrollbar'
                },
            }]
    }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"] }]; }, { options: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }] }); })();


/***/ }),

/***/ "./src/@vex/components/scrollbar/scrollbar.module.ts":
/*!***********************************************************!*\
  !*** ./src/@vex/components/scrollbar/scrollbar.module.ts ***!
  \***********************************************************/
/*! exports provided: ScrollbarModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ScrollbarModule", function() { return ScrollbarModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _scrollbar_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./scrollbar.component */ "./src/@vex/components/scrollbar/scrollbar.component.ts");




class ScrollbarModule {
}
ScrollbarModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: ScrollbarModule });
ScrollbarModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function ScrollbarModule_Factory(t) { return new (t || ScrollbarModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](ScrollbarModule, { declarations: [_scrollbar_component__WEBPACK_IMPORTED_MODULE_2__["ScrollbarComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]], exports: [_scrollbar_component__WEBPACK_IMPORTED_MODULE_2__["ScrollbarComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ScrollbarModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_scrollbar_component__WEBPACK_IMPORTED_MODULE_2__["ScrollbarComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]
                ],
                exports: [_scrollbar_component__WEBPACK_IMPORTED_MODULE_2__["ScrollbarComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/components/search/search.component.ts":
/*!********************************************************!*\
  !*** ./src/@vex/components/search/search.component.ts ***!
  \********************************************************/
/*! exports provided: SearchComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SearchComponent", function() { return SearchComponent; });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @iconify/icons-ic/twotone-close */ "./node_modules/@iconify/icons-ic/twotone-close.js");
/* harmony import */ var _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ngneat/until-destroy */ "./node_modules/@ngneat/until-destroy/__ivy_ngcc__/fesm2015/ngneat-until-destroy.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
/* harmony import */ var _services_layout_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../services/layout.service */ "./src/@vex/services/layout.service.ts");
/* harmony import */ var _services_search_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../services/search.service */ "./src/@vex/services/search.service.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");















const _c0 = ["searchInput"];
function SearchComponent_div_9_Template(rf, ctx) { if (rf & 1) {
    const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function SearchComponent_div_9_Template_div_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r3); const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); return ctx_r2.close(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
} }
let SearchComponent = class SearchComponent {
    constructor(layoutService, searchService, translateService) {
        this.layoutService = layoutService;
        this.searchService = searchService;
        this.translateService = translateService;
        this.show$ = this.layoutService.searchOpen$;
        this.searchCtrl = new _angular_forms__WEBPACK_IMPORTED_MODULE_5__["FormControl"]();
        this.icClose = _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_2___default.a;
    }
    ngOnInit() {
        this.searchService.isOpenSubject.next(true);
        this.searchCtrl.valueChanges.pipe(Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_3__["untilDestroyed"])(this)).subscribe(value => this.searchService.valueChangesSubject.next(value));
        this.show$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["filter"])(show => show), Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_3__["untilDestroyed"])(this)).subscribe(() => this.input.nativeElement.focus());
    }
    close() {
        this.layoutService.closeSearch();
        this.searchCtrl.setValue(undefined);
        this.searchService.isOpenSubject.next(false);
    }
    search() {
        this.searchService.submitSubject.next(this.searchCtrl.value);
        this.close();
    }
    ngOnDestroy() {
        this.layoutService.closeSearch();
        this.searchCtrl.setValue(undefined);
        this.searchService.isOpenSubject.next(false);
    }
};
SearchComponent.ɵfac = function SearchComponent_Factory(t) { return new (t || SearchComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_layout_service__WEBPACK_IMPORTED_MODULE_6__["LayoutService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_search_service__WEBPACK_IMPORTED_MODULE_7__["SearchService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslateService"])); };
SearchComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: SearchComponent, selectors: [["vex-search"]], viewQuery: function SearchComponent_Query(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵstaticViewQuery"](_c0, true);
    } if (rf & 2) {
        var _t;
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵloadQuery"]()) && (ctx.input = _t.first);
    } }, decls: 11, vars: 12, consts: [[1, "search", 3, "keyup.escape"], ["color", "primary", "mat-icon-button", "", "type", "button", 1, "ltr:right-12", "rtl:left-12", "top-12", "absolute", 3, "click"], [3, "icIcon"], [1, "search-input", 3, "formControl", "placeholder", "keyup.enter"], ["searchInput", ""], [1, "search-hint"], ["class", "search-overlay", 3, "click", 4, "ngIf"], [1, "search-overlay", 3, "click"]], template: function SearchComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("keyup.escape", function SearchComponent_Template_div_keyup_escape_0_listener() { return ctx.close(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "button", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function SearchComponent_Template_button_click_2_listener() { return ctx.close(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "mat-icon", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "input", 3, 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("keyup.enter", function SearchComponent_Template_input_keyup_enter_4_listener() { return ctx.search(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](6, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](7, "div", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](8, "Hit enter to search");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, SearchComponent_div_9_Template, 1, 0, "div", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](10, "async");
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("show", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 6, ctx.show$));
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("icIcon", ctx.icClose);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpropertyInterpolate"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](6, 8, "search..."));
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("formControl", ctx.searchCtrl);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](10, 10, ctx.show$));
    } }, directives: [_angular_material_button__WEBPACK_IMPORTED_MODULE_9__["MatButton"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_10__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_11__["IconDirective"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["FormControlDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_12__["NgIf"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_12__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslatePipe"]], styles: [".search[_ngcontent-%COMP%] {\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n  text-align: center;\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100%;\n  opacity: 0;\n  height: 50vh;\n  pointer-events: none;\n  transform: scale(0.75);\n  transition: all 0.25s cubic-bezier(0.2, 1, 0.3, 1);\n  z-index: 1050;\n}\n\n.search.show[_ngcontent-%COMP%] {\n  opacity: 1;\n  pointer-events: auto;\n  transform: scale(1);\n  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);\n}\n\n.search-input[_ngcontent-%COMP%] {\n  border-bottom: 1px solid var(--foreground-divider);\n  font-size: 7vw;\n  line-height: 3rem;\n  width: 75%;\n  margin: 0;\n  border-radius: 0;\n  border-right-width: 0;\n  border-left-width: 0;\n  border-top-width: 0;\n  font-weight: 700;\n  background-color: transparent;\n}\n\n.search-input[_ngcontent-%COMP%]:focus {\n  outline: none;\n}\n\n.search-hint[_ngcontent-%COMP%] {\n  width: 75%;\n  font-size: 1rem;\n  text-align: right;\n  padding-top: 1rem;\n  padding-bottom: 1rem;\n  margin-left: auto;\n  margin-right: auto;\n  color: var(--text-hint);\n  font-weight: 700;\n}\n\n.search-overlay[_ngcontent-%COMP%] {\n  position: fixed;\n  width: 100%;\n  bottom: 0;\n  left: 0;\n  opacity: 0;\n  height: 50vh;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2NvbXBvbmVudHMvc2VhcmNoL3NlYXJjaC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLGFBQUE7RUFDQSxzQkFBQTtFQUNBLG1CQUFBO0VBQ0EsdUJBQUE7RUFDQSxrQkFBQTtFQUNBLGVBQUE7RUFDQSxNQUFBO0VBQ0EsT0FBQTtFQUNBLFdBQUE7RUFDQSxVQUFBO0VBQ0EsWUFBQTtFQUNBLG9CQUFBO0VBQ0Esc0JBQUE7RUFDQSxrREFBQTtFQUNBLGFBQUE7QUFDRjs7QUFFQTtFQUNFLFVBQUE7RUFDQSxvQkFBQTtFQUNBLG1CQUFBO0VBQ0EsaURBQUE7QUFDRjs7QUFFQTtFQUNFLGtEQUFBO0VBQ0EsY0FBQTtFQUNBLGlCQUFBO0VBQ0EsVUFBQTtFQUNBLFNBQUE7RUFDQSxnQkFBQTtFQUNBLHFCQUFBO0VBQ0Esb0JBQUE7RUFDQSxtQkFBQTtFQUNBLGdCQUFBO0VBQ0EsNkJBQUE7QUFDRjs7QUFFQTtFQUNFLGFBQUE7QUFDRjs7QUFFQTtFQUNFLFVBQUE7RUFDQSxlQUFBO0VBQ0EsaUJBQUE7RUFDQSxpQkFBQTtFQUNBLG9CQUFBO0VBQ0EsaUJBQUE7RUFDQSxrQkFBQTtFQUNBLHVCQUFBO0VBQ0EsZ0JBQUE7QUFDRjs7QUFFQTtFQUNFLGVBQUE7RUFDQSxXQUFBO0VBQ0EsU0FBQTtFQUNBLE9BQUE7RUFDQSxVQUFBO0VBQ0EsWUFBQTtBQUNGIiwiZmlsZSI6InNyYy9AdmV4L2NvbXBvbmVudHMvc2VhcmNoL3NlYXJjaC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5zZWFyY2gge1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xuICBwb3NpdGlvbjogZml4ZWQ7XG4gIHRvcDogMDtcbiAgbGVmdDogMDtcbiAgd2lkdGg6IDEwMCU7XG4gIG9wYWNpdHk6IDA7XG4gIGhlaWdodDogNTB2aDtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gIHRyYW5zZm9ybTogc2NhbGUoMC43NSk7XG4gIHRyYW5zaXRpb246IGFsbCAwLjI1cyBjdWJpYy1iZXppZXIoMC4yLCAxLCAwLjMsIDEpO1xuICB6LWluZGV4OiAxMDUwO1xufVxuXG4uc2VhcmNoLnNob3cge1xuICBvcGFjaXR5OiAxO1xuICBwb2ludGVyLWV2ZW50czogYXV0bztcbiAgdHJhbnNmb3JtOiBzY2FsZSgxKTtcbiAgdHJhbnNpdGlvbjogYWxsIDAuNXMgY3ViaWMtYmV6aWVyKDAuMiwgMSwgMC4zLCAxKTtcbn1cblxuLnNlYXJjaC1pbnB1dCB7XG4gIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCB2YXIoLS1mb3JlZ3JvdW5kLWRpdmlkZXIpO1xuICBmb250LXNpemU6IDd2dztcbiAgbGluZS1oZWlnaHQ6IDNyZW07XG4gIHdpZHRoOiA3NSU7XG4gIG1hcmdpbjogMDtcbiAgYm9yZGVyLXJhZGl1czogMDtcbiAgYm9yZGVyLXJpZ2h0LXdpZHRoOiAwO1xuICBib3JkZXItbGVmdC13aWR0aDogMDtcbiAgYm9yZGVyLXRvcC13aWR0aDogMDtcbiAgZm9udC13ZWlnaHQ6IDcwMDtcbiAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG59XG5cbi5zZWFyY2gtaW5wdXQ6Zm9jdXMge1xuICBvdXRsaW5lOiBub25lO1xufVxuXG4uc2VhcmNoLWhpbnQge1xuICB3aWR0aDogNzUlO1xuICBmb250LXNpemU6IDFyZW07XG4gIHRleHQtYWxpZ246IHJpZ2h0O1xuICBwYWRkaW5nLXRvcDogMXJlbTtcbiAgcGFkZGluZy1ib3R0b206IDFyZW07XG4gIG1hcmdpbi1sZWZ0OiBhdXRvO1xuICBtYXJnaW4tcmlnaHQ6IGF1dG87XG4gIGNvbG9yOiB2YXIoLS10ZXh0LWhpbnQpO1xuICBmb250LXdlaWdodDogNzAwO1xufVxuXG4uc2VhcmNoLW92ZXJsYXkge1xuICBwb3NpdGlvbjogZml4ZWQ7XG4gIHdpZHRoOiAxMDAlO1xuICBib3R0b206IDA7XG4gIGxlZnQ6IDA7XG4gIG9wYWNpdHk6IDA7XG4gIGhlaWdodDogNTB2aDtcbn0iXX0= */"] });
SearchComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_3__["UntilDestroy"])()
], SearchComponent);

/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](SearchComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
        args: [{
                selector: 'vex-search',
                templateUrl: './search.component.html',
                styleUrls: ['./search.component.scss']
            }]
    }], function () { return [{ type: _services_layout_service__WEBPACK_IMPORTED_MODULE_6__["LayoutService"] }, { type: _services_search_service__WEBPACK_IMPORTED_MODULE_7__["SearchService"] }, { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslateService"] }]; }, { input: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"],
            args: ['searchInput', { static: true }]
        }] }); })();


/***/ }),

/***/ "./src/@vex/components/search/search.module.ts":
/*!*****************************************************!*\
  !*** ./src/@vex/components/search/search.module.ts ***!
  \*****************************************************/
/*! exports provided: SearchModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SearchModule", function() { return SearchModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _search_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./search.component */ "./src/@vex/components/search/search.component.ts");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");









class SearchModule {
}
SearchModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: SearchModule });
SearchModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function SearchModule_Factory(t) { return new (t || SearchModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _angular_material_button__WEBPACK_IMPORTED_MODULE_3__["MatButtonModule"],
            _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__["MatIconModule"],
            _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_5__["IconModule"],
            _angular_forms__WEBPACK_IMPORTED_MODULE_6__["ReactiveFormsModule"],
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](SearchModule, { declarations: [_search_component__WEBPACK_IMPORTED_MODULE_2__["SearchComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _angular_material_button__WEBPACK_IMPORTED_MODULE_3__["MatButtonModule"],
        _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__["MatIconModule"],
        _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_5__["IconModule"],
        _angular_forms__WEBPACK_IMPORTED_MODULE_6__["ReactiveFormsModule"],
        _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateModule"]], exports: [_search_component__WEBPACK_IMPORTED_MODULE_2__["SearchComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SearchModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_search_component__WEBPACK_IMPORTED_MODULE_2__["SearchComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _angular_material_button__WEBPACK_IMPORTED_MODULE_3__["MatButtonModule"],
                    _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__["MatIconModule"],
                    _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_5__["IconModule"],
                    _angular_forms__WEBPACK_IMPORTED_MODULE_6__["ReactiveFormsModule"],
                    _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateModule"]
                ],
                exports: [_search_component__WEBPACK_IMPORTED_MODULE_2__["SearchComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/components/secondary-toolbar/secondary-toolbar.component.ts":
/*!******************************************************************************!*\
  !*** ./src/@vex/components/secondary-toolbar/secondary-toolbar.component.ts ***!
  \******************************************************************************/
/*! exports provided: SecondaryToolbarComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SecondaryToolbarComponent", function() { return SecondaryToolbarComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _iconify_icons_ic_help__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @iconify/icons-ic/help */ "./node_modules/@iconify/icons-ic/help.js");
/* harmony import */ var _iconify_icons_ic_help__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_help__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _iconify_icons_ic_search__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @iconify/icons-ic/search */ "./node_modules/@iconify/icons-ic/search.js");
/* harmony import */ var _iconify_icons_ic_search__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_search__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _iconify_icons_ic_arrow_drop_down__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @iconify/icons-ic/arrow-drop-down */ "./node_modules/@iconify/icons-ic/arrow-drop-down.js");
/* harmony import */ var _iconify_icons_ic_arrow_drop_down__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_arrow_drop_down__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var src_app_common_plan_upgrade_plan_upgrade_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/common/plan-upgrade/plan-upgrade.component */ "./src/app/common/plan-upgrade/plan-upgrade.component.ts");
/* harmony import */ var src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/app/enums/profiles.enum */ "./src/app/enums/profiles.enum.ts");
/* harmony import */ var _services_config_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../services/config.service */ "./src/@vex/services/config.service.ts");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var src_app_services_Crypto_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/app/services/Crypto.service */ "./src/app/services/Crypto.service.ts");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/flex-layout/flex */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex.js");
/* harmony import */ var _directives_container_container_directive__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../directives/container/container.directive */ "./src/@vex/directives/container/container.directive.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/material/menu */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/menu.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @angular/material/tooltip */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/tooltip.js");
/* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @angular/flex-layout/extended */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/extended.js");






















const _c0 = function () { return ["/school/dashboards"]; };
function SecondaryToolbarComponent_a_3_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "mat-icon", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "undo");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](4, _c0));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "back"));
} }
function SecondaryToolbarComponent_h1_4_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "h1", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, ctx_r1.current));
} }
function SecondaryToolbarComponent_h1_5_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "h1", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "mat-icon", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matMenuTriggerFor", _r4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 3, ctx_r2.selectedValue));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r2.icDropdown);
} }
function SecondaryToolbarComponent_a_7_Template(rf, ctx) { if (rf & 1) {
    const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SecondaryToolbarComponent_a_7_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r7); const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r6.openWhatsApp(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "img", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate1"]("matTooltip", "", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 1, "openSISSupportandInformationServices"), " ");
} }
const _c1 = function (a0) { return { "selected-item": a0 }; };
function SecondaryToolbarComponent_a_15_Template(rf, ctx) { if (rf & 1) {
    const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SecondaryToolbarComponent_a_15_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10); const page_r8 = ctx.$implicit; const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r9.changePage(page_r8); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const page_r8 = ctx.$implicit;
    const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](4, _c1, ctx_r5.selectedValue == page_r8.displayName));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 2, page_r8.displayName));
} }
const _c2 = ["*"];
class SecondaryToolbarComponent {
    constructor(configService, defaultValuesService, translateService, cryptoService, dialog) {
        this.configService = configService;
        this.defaultValuesService = defaultValuesService;
        this.translateService = translateService;
        this.cryptoService = cryptoService;
        this.dialog = dialog;
        this.icHelp = _iconify_icons_ic_help__WEBPACK_IMPORTED_MODULE_2___default.a;
        this.icSearch = _iconify_icons_ic_search__WEBPACK_IMPORTED_MODULE_3___default.a;
        this.icDropdown = _iconify_icons_ic_arrow_drop_down__WEBPACK_IMPORTED_MODULE_4___default.a;
        this.pages = [];
        this.schoolSettings = false;
        this.selectedPage = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.isAdmin = false;
        this.ishide = false;
        this.fixed$ = this.configService.config$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(config => config.toolbar.fixed));
        if (this.defaultValuesService.getUserMembershipType() === src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_6__["ProfilesTypes"].SuperAdmin ||
            this.defaultValuesService.getUserMembershipType() === src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_6__["ProfilesTypes"].AdminAssitant ||
            this.defaultValuesService.getUserMembershipType() === src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_6__["ProfilesTypes"].SchoolAdmin) {
            this.isAdmin = true;
        }
        else {
            this.isAdmin = false;
        }
    }
    ngOnInit() {
        var _a;
        this.selectedValue = (_a = this.defaultValuesService.getPageData()) === null || _a === void 0 ? void 0 : _a.displayName;
        let url = window.location.href;
        if (url.includes('school/dashboards'))
            this.ishide = true;
        else
            this.ishide = false;
    }
    changePage(page) {
        let permissions = this.defaultValuesService.getPermissionList().permissionList;
        permissions.forEach(element => {
            element.permissionGroup.permissionCategory.forEach((item, index) => {
                item.permissionSubcategory.forEach((i, index) => {
                    if (i.path === page.path) {
                        if (i.isAccess === false) {
                            this.dialog.open(src_app_common_plan_upgrade_plan_upgrade_component__WEBPACK_IMPORTED_MODULE_5__["PlanUpgradeComponent"], {
                                width: '500px',
                                disableClose: true
                            });
                        }
                        else {
                            this.selectedValue = page.displayName;
                            this.defaultValuesService.setPageData(page);
                            this.selectedPage.emit(page);
                        }
                    }
                });
            });
        });
    }
    openHelpDesk() {
        openWidget();
    }
    openWhatsApp() {
        let link = 'https://wa.me/+14074136500?text=Hello,%20I%20am%20' + this.defaultValuesService.getFullUserName() + '.%20My%20subdomain%20is%20' + this.defaultValuesService.getTenantName() + '.';
        window.open(link, '_blank');
    }
}
SecondaryToolbarComponent.ɵfac = function SecondaryToolbarComponent_Factory(t) { return new (t || SecondaryToolbarComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_config_service__WEBPACK_IMPORTED_MODULE_7__["ConfigService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_8__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_Crypto_service__WEBPACK_IMPORTED_MODULE_10__["CryptoService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_11__["MatDialog"])); };
SecondaryToolbarComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: SecondaryToolbarComponent, selectors: [["vex-secondary-toolbar"]], inputs: { pages: "pages", schoolSettings: "schoolSettings", current: "current", crumbs: "crumbs" }, outputs: { selectedPage: "selectedPage" }, ngContentSelectors: _c2, decls: 16, vars: 9, consts: [["fxLayout", "row", 1, "secondary-toolbar"], ["fxFlex", "auto", "fxLayout", "row", "fxLayoutAlign", "start center", "vexContainer", ""], ["fxFlex.xs", "auto", 1, "flex", "items-center"], ["class", "flex align-center border rounded-full bg-white mr-4 border-primary px-2 py-1", 3, "routerLink", 4, "ngIf"], ["class", "subheading-2 font-medium m-0 ltr:pr-3 rtl:pl-3 ltr:border-r rtl:border-l ltr:mr-3 rtl:ml-3", 4, "ngIf"], ["class", "flex items-center subheading-2 font-medium m-0 ltr:pr-3 rtl:pl-3 ltr:border-r rtl:border-l ltr:mr-3 rtl:ml-3 cursor-pointer", 3, "matMenuTriggerFor", 4, "ngIf"], ["class", "cursor-pointer", "target", "_blank", 3, "matTooltip", "click", 4, "ngIf"], [1, "ml-6", "flex", "cursor-pointer", 3, "click"], [3, "icIcon"], [1, "hidden", "md:inline-block", "ml-1"], ["menu", "matMenu"], ["mat-menu-item", "", 3, "ngClass", "click", 4, "ngFor", "ngForOf"], [1, "flex", "align-center", "border", "rounded-full", "bg-white", "mr-4", "border-primary", "px-2", "py-1", 3, "routerLink"], [1, "mr-1"], [1, "font-medium"], [1, "subheading-2", "font-medium", "m-0", "ltr:pr-3", "rtl:pl-3", "ltr:border-r", "rtl:border-l", "ltr:mr-3", "rtl:ml-3"], [1, "flex", "items-center", "subheading-2", "font-medium", "m-0", "ltr:pr-3", "rtl:pl-3", "ltr:border-r", "rtl:border-l", "ltr:mr-3", "rtl:ml-3", "cursor-pointer", 3, "matMenuTriggerFor"], [1, "ml-2", 3, "icIcon"], ["target", "_blank", 1, "cursor-pointer", 3, "matTooltip", "click"], ["src", "../../../assets/img/WhatsAppButtonGreenSmall.svg"], ["mat-menu-item", "", 3, "ngClass", "click"]], template: function SecondaryToolbarComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, SecondaryToolbarComponent_a_3_Template, 6, 5, "a", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, SecondaryToolbarComponent_h1_4_Template, 3, 3, "h1", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, SecondaryToolbarComponent_h1_5_Template, 4, 5, "h1", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, SecondaryToolbarComponent_a_7_Template, 3, 3, "a", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "a", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SecondaryToolbarComponent_Template_a_click_8_listener() { return ctx.openHelpDesk(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](9, "mat-icon", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "span", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](12, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "mat-menu", null, 10);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](15, SecondaryToolbarComponent_a_15_Template, 3, 6, "a", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx.defaultValuesService == null ? null : ctx.defaultValuesService.getSchoolSetupProgress()) && !ctx.ishide && !(ctx.defaultValuesService == null ? null : ctx.defaultValuesService.checkSubscriptionExpiredOrNot()) && !ctx.defaultValuesService.getImpersonateButton() && (ctx.defaultValuesService.getUserMembershipType() === "Super Administrator" || ctx.defaultValuesService.getUserMembershipType() === "School Administrator"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.current && !ctx.schoolSettings);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.schoolSettings);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.isAdmin);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icHelp);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](12, 7, "help"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.pages);
    } }, directives: [_angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_12__["DefaultLayoutDirective"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_12__["DefaultFlexDirective"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_12__["DefaultLayoutAlignDirective"], _directives_container_container_directive__WEBPACK_IMPORTED_MODULE_13__["ContainerDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_14__["NgIf"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_15__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_16__["IconDirective"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_17__["_MatMenu"], _angular_common__WEBPACK_IMPORTED_MODULE_14__["NgForOf"], _angular_router__WEBPACK_IMPORTED_MODULE_18__["RouterLinkWithHref"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_17__["MatMenuTrigger"], _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_19__["MatTooltip"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_17__["MatMenuItem"], _angular_common__WEBPACK_IMPORTED_MODULE_14__["NgClass"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_20__["DefaultClassDirective"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__["TranslatePipe"]], styles: ["vex-breadcrumbs {\n  display: none;\n}\n@media (min-width: 640px) {\n    vex-breadcrumbs {\n    display: block;\n  }\n}\n.selected-item[_ngcontent-%COMP%] {\n  background: rgba(0, 0, 0, 0.04);\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2NvbXBvbmVudHMvc2Vjb25kYXJ5LXRvb2xiYXIvc2Vjb25kYXJ5LXRvb2xiYXIuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0VBQUE7QUFzQkE7RUFDRSxhQUFBO0FBQUY7QUFHQTtFQUNFO0lBQ0UsY0FBQTtFQUFGO0FBQ0Y7QUFHQTtFQUNFLCtCQUFBO0FBREYiLCJmaWxlIjoic3JjL0B2ZXgvY29tcG9uZW50cy9zZWNvbmRhcnktdG9vbGJhci9zZWNvbmRhcnktdG9vbGJhci5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi8qLnNlY29uZGFyeS10b29sYmFyIHtcbiAgYmFja2dyb3VuZDogdmFyKC0tc2Vjb25kYXJ5LXRvb2xiYXItYmFja2dyb3VuZCk7XG4gIGhlaWdodDogdmFyKC0tc2Vjb25kYXJ5LXRvb2xiYXItaGVpZ2h0KTtcbiAgbWFyZ2luLXRvcDogY2FsYyh2YXIoLS1zZWNvbmRhcnktdG9vbGJhci1oZWlnaHQpICogLTEpO1xuXG4gICYuZml4ZWQge1xuICAgIHdpZHRoOiB2YXIoLS10b29sYmFyLXdpZHRoKTtcbiAgfVxufVxuXG4uc2Vjb25kYXJ5LXRvb2xiYXItcGxhY2Vob2xkZXIge1xuICBoZWlnaHQ6IHZhcigtLXNlY29uZGFyeS10b29sYmFyLWhlaWdodCk7XG59XG5cbjo6bmctZGVlcCAuaXMtbW9iaWxlIC5maXhlZCB7XG4gIHdpZHRoOiAxMDAlO1xufVxuXG46Om5nLWRlZXAgYm9keSAuZml4ZWQge1xuICB3aWR0aDogY2FsYygxMDAlIC0gdmFyKC0tc2lkZW5hdi13aWR0aCkpO1xufSovXG5cbjo6bmctZGVlcCB2ZXgtYnJlYWRjcnVtYnMge1xuICBkaXNwbGF5OiBub25lO1xufVxuXG5AbWVkaWEgKG1pbi13aWR0aDogNjQwcHgpIHtcbiAgOjpuZy1kZWVwIHZleC1icmVhZGNydW1icyB7XG4gICAgZGlzcGxheTogYmxvY2s7XG4gIH1cbn1cblxuLnNlbGVjdGVkLWl0ZW0ge1xuICBiYWNrZ3JvdW5kOiByZ2JhKDAsIDAsIDAsIDAuMDQpO1xufSJdfQ== */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SecondaryToolbarComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-secondary-toolbar',
                templateUrl: './secondary-toolbar.component.html',
                styleUrls: ['./secondary-toolbar.component.scss']
            }]
    }], function () { return [{ type: _services_config_service__WEBPACK_IMPORTED_MODULE_7__["ConfigService"] }, { type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_8__["DefaultValuesService"] }, { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__["TranslateService"] }, { type: src_app_services_Crypto_service__WEBPACK_IMPORTED_MODULE_10__["CryptoService"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_11__["MatDialog"] }]; }, { pages: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], schoolSettings: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], selectedPage: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }], current: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], crumbs: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }] }); })();


/***/ }),

/***/ "./src/@vex/components/secondary-toolbar/secondary-toolbar.module.ts":
/*!***************************************************************************!*\
  !*** ./src/@vex/components/secondary-toolbar/secondary-toolbar.module.ts ***!
  \***************************************************************************/
/*! exports provided: SecondaryToolbarModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SecondaryToolbarModule", function() { return SecondaryToolbarModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _secondary_toolbar_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./secondary-toolbar.component */ "./src/@vex/components/secondary-toolbar/secondary-toolbar.component.ts");
/* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/flex-layout */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex-layout.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _breadcrumbs_breadcrumbs_module__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../breadcrumbs/breadcrumbs.module */ "./src/@vex/components/breadcrumbs/breadcrumbs.module.ts");
/* harmony import */ var _directives_container_container_module__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../directives/container/container.module */ "./src/@vex/directives/container/container.module.ts");
/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/material/menu */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/menu.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/material/tooltip */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/tooltip.js");














class SecondaryToolbarModule {
}
SecondaryToolbarModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: SecondaryToolbarModule });
SecondaryToolbarModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function SecondaryToolbarModule_Factory(t) { return new (t || SecondaryToolbarModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__["FlexLayoutModule"],
            _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_4__["IconModule"],
            _angular_router__WEBPACK_IMPORTED_MODULE_5__["RouterModule"],
            _angular_material_button__WEBPACK_IMPORTED_MODULE_6__["MatButtonModule"],
            _angular_material_icon__WEBPACK_IMPORTED_MODULE_7__["MatIconModule"],
            _breadcrumbs_breadcrumbs_module__WEBPACK_IMPORTED_MODULE_8__["BreadcrumbsModule"],
            _directives_container_container_module__WEBPACK_IMPORTED_MODULE_9__["ContainerModule"],
            _angular_material_menu__WEBPACK_IMPORTED_MODULE_10__["MatMenuModule"],
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_11__["TranslateModule"],
            _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_12__["MatTooltipModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](SecondaryToolbarModule, { declarations: [_secondary_toolbar_component__WEBPACK_IMPORTED_MODULE_2__["SecondaryToolbarComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__["FlexLayoutModule"],
        _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_4__["IconModule"],
        _angular_router__WEBPACK_IMPORTED_MODULE_5__["RouterModule"],
        _angular_material_button__WEBPACK_IMPORTED_MODULE_6__["MatButtonModule"],
        _angular_material_icon__WEBPACK_IMPORTED_MODULE_7__["MatIconModule"],
        _breadcrumbs_breadcrumbs_module__WEBPACK_IMPORTED_MODULE_8__["BreadcrumbsModule"],
        _directives_container_container_module__WEBPACK_IMPORTED_MODULE_9__["ContainerModule"],
        _angular_material_menu__WEBPACK_IMPORTED_MODULE_10__["MatMenuModule"],
        _ngx_translate_core__WEBPACK_IMPORTED_MODULE_11__["TranslateModule"],
        _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_12__["MatTooltipModule"]], exports: [_secondary_toolbar_component__WEBPACK_IMPORTED_MODULE_2__["SecondaryToolbarComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SecondaryToolbarModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_secondary_toolbar_component__WEBPACK_IMPORTED_MODULE_2__["SecondaryToolbarComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__["FlexLayoutModule"],
                    _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_4__["IconModule"],
                    _angular_router__WEBPACK_IMPORTED_MODULE_5__["RouterModule"],
                    _angular_material_button__WEBPACK_IMPORTED_MODULE_6__["MatButtonModule"],
                    _angular_material_icon__WEBPACK_IMPORTED_MODULE_7__["MatIconModule"],
                    _breadcrumbs_breadcrumbs_module__WEBPACK_IMPORTED_MODULE_8__["BreadcrumbsModule"],
                    _directives_container_container_module__WEBPACK_IMPORTED_MODULE_9__["ContainerModule"],
                    _angular_material_menu__WEBPACK_IMPORTED_MODULE_10__["MatMenuModule"],
                    _ngx_translate_core__WEBPACK_IMPORTED_MODULE_11__["TranslateModule"],
                    _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_12__["MatTooltipModule"]
                ],
                exports: [_secondary_toolbar_component__WEBPACK_IMPORTED_MODULE_2__["SecondaryToolbarComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/components/sidebar/sidebar.component.ts":
/*!**********************************************************!*\
  !*** ./src/@vex/components/sidebar/sidebar.component.ts ***!
  \**********************************************************/
/*! exports provided: SidebarComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SidebarComponent", function() { return SidebarComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");



const _c0 = ["*"];
class SidebarComponent {
    constructor(document) {
        this.document = document;
        this.position = 'left';
    }
    get opened() {
        return this._opened;
    }
    set opened(opened) {
        this._opened = opened;
        opened ? this.enableScrollblock() : this.disableScrollblock();
    }
    get positionLeft() {
        return this.position === 'left';
    }
    get positionRight() {
        return this.position === 'right';
    }
    enableScrollblock() {
        if (!this.document.body.classList.contains('vex-scrollblock')) {
            this.document.body.classList.add('vex-scrollblock');
        }
    }
    disableScrollblock() {
        if (this.document.body.classList.contains('vex-scrollblock')) {
            this.document.body.classList.remove('vex-scrollblock');
        }
    }
    open() {
        this.opened = true;
    }
    close() {
        this.opened = false;
    }
    ngOnDestroy() { }
}
SidebarComponent.ɵfac = function SidebarComponent_Factory(t) { return new (t || SidebarComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__["DOCUMENT"])); };
SidebarComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: SidebarComponent, selectors: [["vex-sidebar"]], hostAttrs: [1, "vex-sidebar"], inputs: { position: "position", invisibleBackdrop: "invisibleBackdrop", opened: "opened" }, ngContentSelectors: _c0, decls: 3, vars: 10, consts: [[1, "backdrop", 2, "z-index", "999", 3, "click"], [1, "sidebar"]], template: function SidebarComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SidebarComponent_Template_div_click_0_listener() { return ctx.close(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("invisible", ctx.invisibleBackdrop)("visible", ctx.opened);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("open", ctx.opened)("position-left", ctx.positionLeft)("position-right", ctx.positionRight);
    } }, styles: [".sidebar[_ngcontent-%COMP%] {\n  background: var(--background-card);\n  bottom: 0;\n  box-shadow: var(--elevation-z8);\n  display: flex;\n  flex: 1 0 auto;\n  flex-direction: column;\n  max-width: 80vw;\n  overflow-x: hidden;\n  overflow-y: auto;\n  position: fixed;\n  top: 0;\n  transition-duration: var(--trans-ease-in-duration);\n  transition-property: transform, visibility;\n  transition-timing-function: var(--trans-ease-in-timing-function);\n  visibility: hidden;\n  width: var(--sidenav-width);\n  z-index: 1000;\n}\n\n@media (min-width: 640px) {\n  .sidebar[_ngcontent-%COMP%] {\n    max-width: unset;\n  }\n}\n\n.sidebar.position-left[_ngcontent-%COMP%] {\n  left: 0;\n  transform: translateX(-100%);\n}\n\n.sidebar.position-right[_ngcontent-%COMP%] {\n  right: 0;\n  transform: translateX(100%);\n}\n\n.sidebar.open[_ngcontent-%COMP%] {\n  transform: translateX(0);\n  visibility: visible;\n}\n\n.backdrop[_ngcontent-%COMP%] {\n  background-color: transparent;\n  bottom: 0;\n  left: 0;\n  position: absolute;\n  right: 0;\n  top: 0;\n  transition-duration: 400ms;\n  transition-property: background-color, visibility;\n  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);\n  visibility: hidden;\n  z-index: 800 !important;\n}\n\n.backdrop.visible[_ngcontent-%COMP%] {\n  background-color: rgba(0, 0, 0, 0.6);\n  visibility: visible !important;\n}\n\n.backdrop.invisible[_ngcontent-%COMP%] {\n  background-color: transparent;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2NvbXBvbmVudHMvc2lkZWJhci9zaWRlYmFyLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0Usa0NBQUE7RUFDQSxTQUFBO0VBQ0EsK0JBQUE7RUFDQSxhQUFBO0VBQ0EsY0FBQTtFQUNBLHNCQUFBO0VBQ0EsZUFBQTtFQUNBLGtCQUFBO0VBQ0EsZ0JBQUE7RUFDQSxlQUFBO0VBQ0EsTUFBQTtFQUNBLGtEQUFBO0VBQ0EsMENBQUE7RUFDQSxnRUFBQTtFQUNBLGtCQUFBO0VBQ0EsMkJBQUE7RUFDQSxhQUFBO0FBQ0Y7O0FBRUE7RUFDRTtJQUNFLGdCQUFBO0VBQ0Y7QUFDRjs7QUFFQTtFQUNFLE9BQUE7RUFDQSw0QkFBQTtBQUFGOztBQUdBO0VBQ0UsUUFBQTtFQUNBLDJCQUFBO0FBQUY7O0FBR0E7RUFDRSx3QkFBQTtFQUNBLG1CQUFBO0FBQUY7O0FBR0E7RUFDRSw2QkFBQTtFQUNBLFNBQUE7RUFDQSxPQUFBO0VBQ0Esa0JBQUE7RUFDQSxRQUFBO0VBQ0EsTUFBQTtFQUNBLDBCQUFBO0VBQ0EsaURBQUE7RUFDQSw0REFBQTtFQUNBLGtCQUFBO0VBQ0EsdUJBQUE7QUFBRjs7QUFHQTtFQUNFLG9DQUFBO0VBQ0EsOEJBQUE7QUFBRjs7QUFHQTtFQUNFLDZCQUFBO0FBQUYiLCJmaWxlIjoic3JjL0B2ZXgvY29tcG9uZW50cy9zaWRlYmFyL3NpZGViYXIuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuc2lkZWJhciB7XG4gIGJhY2tncm91bmQ6IHZhcigtLWJhY2tncm91bmQtY2FyZCk7XG4gIGJvdHRvbTogMDtcbiAgYm94LXNoYWRvdzogdmFyKC0tZWxldmF0aW9uLXo4KTtcbiAgZGlzcGxheTogZmxleDtcbiAgZmxleDogMSAwIGF1dG87XG4gIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gIG1heC13aWR0aDogODB2dztcbiAgb3ZlcmZsb3cteDogaGlkZGVuO1xuICBvdmVyZmxvdy15OiBhdXRvO1xuICBwb3NpdGlvbjogZml4ZWQ7XG4gIHRvcDogMDtcbiAgdHJhbnNpdGlvbi1kdXJhdGlvbjogdmFyKC0tdHJhbnMtZWFzZS1pbi1kdXJhdGlvbik7XG4gIHRyYW5zaXRpb24tcHJvcGVydHk6IHRyYW5zZm9ybSwgdmlzaWJpbGl0eTtcbiAgdHJhbnNpdGlvbi10aW1pbmctZnVuY3Rpb246IHZhcigtLXRyYW5zLWVhc2UtaW4tdGltaW5nLWZ1bmN0aW9uKTtcbiAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICB3aWR0aDogdmFyKC0tc2lkZW5hdi13aWR0aCk7XG4gIHotaW5kZXg6IDEwMDA7XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiA2NDBweCkge1xuICAuc2lkZWJhciB7XG4gICAgbWF4LXdpZHRoOiB1bnNldDtcbiAgfVxufVxuXG4uc2lkZWJhci5wb3NpdGlvbi1sZWZ0IHtcbiAgbGVmdDogMDtcbiAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0xMDAlKTtcbn1cblxuLnNpZGViYXIucG9zaXRpb24tcmlnaHQge1xuICByaWdodDogMDtcbiAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDEwMCUpO1xufVxuXG4uc2lkZWJhci5vcGVuIHtcbiAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDApO1xuICB2aXNpYmlsaXR5OiB2aXNpYmxlO1xufVxuXG4uYmFja2Ryb3Age1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB0cmFuc3BhcmVudDtcbiAgYm90dG9tOiAwO1xuICBsZWZ0OiAwO1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHJpZ2h0OiAwO1xuICB0b3A6IDA7XG4gIHRyYW5zaXRpb24tZHVyYXRpb246IDQwMG1zO1xuICB0cmFuc2l0aW9uLXByb3BlcnR5OiBiYWNrZ3JvdW5kLWNvbG9yLCB2aXNpYmlsaXR5O1xuICB0cmFuc2l0aW9uLXRpbWluZy1mdW5jdGlvbjogY3ViaWMtYmV6aWVyKDAuMjUsIDAuOCwgMC4yNSwgMSk7XG4gIHZpc2liaWxpdHk6IGhpZGRlbjtcbiAgei1pbmRleDogODAwICFpbXBvcnRhbnQ7XG59XG5cbi5iYWNrZHJvcC52aXNpYmxlIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgwLCAwLCAwLCAwLjYpO1xuICB2aXNpYmlsaXR5OiB2aXNpYmxlICFpbXBvcnRhbnQ7XG59XG5cbi5iYWNrZHJvcC5pbnZpc2libGUge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB0cmFuc3BhcmVudDtcbn0iXX0= */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SidebarComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-sidebar',
                templateUrl: './sidebar.component.html',
                styleUrls: ['./sidebar.component.scss'],
                host: {
                    class: 'vex-sidebar'
                }
            }]
    }], function () { return [{ type: Document, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
                args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["DOCUMENT"]]
            }] }]; }, { position: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], invisibleBackdrop: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], opened: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }] }); })();


/***/ }),

/***/ "./src/@vex/components/sidebar/sidebar.module.ts":
/*!*******************************************************!*\
  !*** ./src/@vex/components/sidebar/sidebar.module.ts ***!
  \*******************************************************/
/*! exports provided: SidebarModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SidebarModule", function() { return SidebarModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _sidebar_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./sidebar.component */ "./src/@vex/components/sidebar/sidebar.component.ts");




class SidebarModule {
}
SidebarModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: SidebarModule });
SidebarModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function SidebarModule_Factory(t) { return new (t || SidebarModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](SidebarModule, { declarations: [_sidebar_component__WEBPACK_IMPORTED_MODULE_2__["SidebarComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]], exports: [_sidebar_component__WEBPACK_IMPORTED_MODULE_2__["SidebarComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SidebarModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]
                ],
                declarations: [_sidebar_component__WEBPACK_IMPORTED_MODULE_2__["SidebarComponent"]],
                exports: [_sidebar_component__WEBPACK_IMPORTED_MODULE_2__["SidebarComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/directives/container/container.directive.ts":
/*!**************************************************************!*\
  !*** ./src/@vex/directives/container/container.directive.ts ***!
  \**************************************************************/
/*! exports provided: ContainerDirective */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ContainerDirective", function() { return ContainerDirective; });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ngneat/until-destroy */ "./node_modules/@ngneat/until-destroy/__ivy_ngcc__/fesm2015/ngneat-until-destroy.js");
/* harmony import */ var _services_config_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../services/config.service */ "./src/@vex/services/config.service.ts");






let ContainerDirective = class ContainerDirective {
    constructor(configService, cd) {
        this.configService = configService;
        this.cd = cd;
        this.configService.config$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(config => config.boxed), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["distinctUntilChanged"])(), Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_3__["untilDestroyed"])(this)).subscribe(boxed => {
            this.enabled = boxed;
            this.cd.markForCheck();
        });
    }
};
ContainerDirective.ɵfac = function ContainerDirective_Factory(t) { return new (t || ContainerDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_config_service__WEBPACK_IMPORTED_MODULE_4__["ConfigService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"])); };
ContainerDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: ContainerDirective, selectors: [["", "vexContainer", ""]], hostVars: 2, hostBindings: function ContainerDirective_HostBindings(rf, ctx) { if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("container", ctx.enabled);
    } } });
ContainerDirective = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_3__["UntilDestroy"])()
], ContainerDirective);

/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ContainerDirective, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Directive"],
        args: [{
                selector: '[vexContainer]'
            }]
    }], function () { return [{ type: _services_config_service__WEBPACK_IMPORTED_MODULE_4__["ConfigService"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"] }]; }, { enabled: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["HostBinding"],
            args: ['class.container']
        }] }); })();


/***/ }),

/***/ "./src/@vex/directives/container/container.module.ts":
/*!***********************************************************!*\
  !*** ./src/@vex/directives/container/container.module.ts ***!
  \***********************************************************/
/*! exports provided: ContainerModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ContainerModule", function() { return ContainerModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _container_directive__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./container.directive */ "./src/@vex/directives/container/container.directive.ts");




class ContainerModule {
}
ContainerModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: ContainerModule });
ContainerModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function ContainerModule_Factory(t) { return new (t || ContainerModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](ContainerModule, { declarations: [_container_directive__WEBPACK_IMPORTED_MODULE_2__["ContainerDirective"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]], exports: [_container_directive__WEBPACK_IMPORTED_MODULE_2__["ContainerDirective"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ContainerModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_container_directive__WEBPACK_IMPORTED_MODULE_2__["ContainerDirective"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]
                ],
                exports: [_container_directive__WEBPACK_IMPORTED_MODULE_2__["ContainerDirective"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/interfaces/config-name.model.ts":
/*!**************************************************!*\
  !*** ./src/@vex/interfaces/config-name.model.ts ***!
  \**************************************************/
/*! exports provided: ConfigName */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConfigName", function() { return ConfigName; });
var ConfigName;
(function (ConfigName) {
    ConfigName["apollo"] = "vex-layout-apollo";
    ConfigName["zeus"] = "vex-layout-zeus";
    ConfigName["hermes"] = "vex-layout-hermes";
    ConfigName["poseidon"] = "vex-layout-poseidon";
    ConfigName["ares"] = "vex-layout-ares";
    ConfigName["ikaros"] = "vex-layout-ikaros";
})(ConfigName || (ConfigName = {}));


/***/ }),

/***/ "./src/@vex/layout/footer/footer.component.ts":
/*!****************************************************!*\
  !*** ./src/@vex/layout/footer/footer.component.ts ***!
  \****************************************************/
/*! exports provided: FooterComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FooterComponent", function() { return FooterComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _iconify_icons_ic_twotone_shopping_basket__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @iconify/icons-ic/twotone-shopping-basket */ "./node_modules/@iconify/icons-ic/twotone-shopping-basket.js");
/* harmony import */ var _iconify_icons_ic_twotone_shopping_basket__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_shopping_basket__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _app_models_release_number_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../app/models/release-number-model */ "./src/app/models/release-number-model.ts");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _app_services_common_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../app/services/common.service */ "./src/app/services/common.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var _app_services_school_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../app/services/school.service */ "./src/app/services/school.service.ts");
/* harmony import */ var _app_common_default_values_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../app/common/default-values.service */ "./src/app/common/default-values.service.ts");










class FooterComponent {
    constructor(commonService, snackbar, schoolService, defaultValuesService) {
        this.commonService = commonService;
        this.snackbar = snackbar;
        this.schoolService = schoolService;
        this.defaultValuesService = defaultValuesService;
        this.destroySubject$ = new rxjs__WEBPACK_IMPORTED_MODULE_4__["Subject"]();
        this.icShoppingBasket = _iconify_icons_ic_twotone_shopping_basket__WEBPACK_IMPORTED_MODULE_1___default.a;
        this.releaseNumberAddViewModel = new _app_models_release_number_model__WEBPACK_IMPORTED_MODULE_2__["ReleaseNumberAddViewModel"]();
        this.tenantFooter = this.defaultValuesService.getTenantData().tenantFooter;
    }
    ngOnInit() {
        this.schoolService.schoolListCalled
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["takeUntil"])(this.destroySubject$))
            .subscribe((res) => {
            if (res.academicYearChanged || res.academicYearLoaded) {
                this.getReleaseNumber();
            }
        });
    }
    getReleaseNumber() {
        this.releaseNumberAddViewModel.releaseNumber.schoolId = this.defaultValuesService.getSchoolID();
        this.releaseNumberAddViewModel.releaseNumber.tenantId = this.defaultValuesService.getTenantID();
        this.commonService
            .getReleaseNumber(this.releaseNumberAddViewModel)
            .subscribe((data) => {
            if (typeof data == "undefined") {
                this.snackbar.open("Release number failed. " + this.defaultValuesService.getHttpError(), "", {
                    duration: 10000,
                });
            }
            else {
                if (data._failure) {
                }
                else {
                    this.releaseNumberAddViewModel.releaseNumber.releaseNumber1 =
                        data.releaseNumber.releaseNumber1;
                }
            }
        });
    }
    ngOnDestroy() {
        this.destroySubject$.next();
        this.destroySubject$.complete();
    }
}
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_app_services_common_service__WEBPACK_IMPORTED_MODULE_5__["CommonService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__["MatSnackBar"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_app_services_school_service__WEBPACK_IMPORTED_MODULE_7__["SchoolService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_8__["DefaultValuesService"])); };
FooterComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: FooterComponent, selectors: [["vex-footer"]], inputs: { customTemplate: "customTemplate" }, decls: 5, vars: 1, consts: [[1, "footer", "md:bg-white", "md:shadow", "border-t", "opacity-50", "md:opacity-100"], [1, "flex", "justify-between", "pt-3", "items-center"], [3, "innerHTML"], ["href", "https://www.os4ed.com/", "target", "_blank", 1, "footer-logo"], ["src", "assets/img/OS4ED_logo.png", "alt", "", 1, "w-8"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "div", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "a", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "img", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("innerHTML", ctx.tenantFooter, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeHtml"]);
    } }, styles: ["[_nghost-%COMP%] {\n  bottom: 0;\n  display: block;\n  width: 100%;\n  z-index: var(--footer-z-index);\n}\n\n.footer[_ngcontent-%COMP%] {\n  background: var(--footer-background);\n  color: var(--footer-color);\n  height: var(--footer-height);\n  padding-left: var(--padding);\n  padding-right: var(--padding);\n  position: relative;\n  z-index: var(--footer-z-index);\n}\n\n@media (max-width: 991.98px) {\n  .footer[_ngcontent-%COMP%] {\n    height: auto;\n    background: none;\n  }\n}\n\n.footer-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%] {\n  filter: grayscale(100%);\n  opacity: 0.5;\n}\n\n.footer-logo[_ngcontent-%COMP%]:hover   img[_ngcontent-%COMP%] {\n  filter: none;\n  opacity: 1;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2xheW91dC9mb290ZXIvZm9vdGVyLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsU0FBQTtFQUNBLGNBQUE7RUFDQSxXQUFBO0VBQ0EsOEJBQUE7QUFDRjs7QUFFQTtFQUNFLG9DQUFBO0VBQ0EsMEJBQUE7RUFDQSw0QkFBQTtFQUNBLDRCQUFBO0VBQ0EsNkJBQUE7RUFDQSxrQkFBQTtFQUNBLDhCQUFBO0FBQ0Y7O0FBRUE7RUFDRTtJQUNFLFlBQUE7SUFDQSxnQkFBQTtFQUNGO0FBQ0Y7O0FBRUE7RUFDRSx1QkFBQTtFQUNBLFlBQUE7QUFBRjs7QUFHQTtFQUNFLFlBQUE7RUFDQSxVQUFBO0FBQUYiLCJmaWxlIjoic3JjL0B2ZXgvbGF5b3V0L2Zvb3Rlci9mb290ZXIuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyI6aG9zdCB7XG4gIGJvdHRvbTogMDtcbiAgZGlzcGxheTogYmxvY2s7XG4gIHdpZHRoOiAxMDAlO1xuICB6LWluZGV4OiB2YXIoLS1mb290ZXItei1pbmRleCk7XG59XG5cbi5mb290ZXIge1xuICBiYWNrZ3JvdW5kOiB2YXIoLS1mb290ZXItYmFja2dyb3VuZCk7XG4gIGNvbG9yOiB2YXIoLS1mb290ZXItY29sb3IpO1xuICBoZWlnaHQ6IHZhcigtLWZvb3Rlci1oZWlnaHQpO1xuICBwYWRkaW5nLWxlZnQ6IHZhcigtLXBhZGRpbmcpO1xuICBwYWRkaW5nLXJpZ2h0OiB2YXIoLS1wYWRkaW5nKTtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICB6LWluZGV4OiB2YXIoLS1mb290ZXItei1pbmRleCk7XG59XG5cbkBtZWRpYSAobWF4LXdpZHRoOiA5OTEuOThweCkge1xuICAuZm9vdGVyIHtcbiAgICBoZWlnaHQ6IGF1dG87XG4gICAgYmFja2dyb3VuZDogbm9uZTtcbiAgfVxufVxuXG4uZm9vdGVyLWxvZ28gaW1nIHtcbiAgZmlsdGVyOiBncmF5c2NhbGUoMTAwJSk7XG4gIG9wYWNpdHk6IDAuNTtcbn1cblxuLmZvb3Rlci1sb2dvOmhvdmVyIGltZyB7XG4gIGZpbHRlcjogbm9uZTtcbiAgb3BhY2l0eTogMTtcbn0iXX0= */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FooterComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: "vex-footer",
                templateUrl: "./footer.component.html",
                styleUrls: ["./footer.component.scss"],
            }]
    }], function () { return [{ type: _app_services_common_service__WEBPACK_IMPORTED_MODULE_5__["CommonService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__["MatSnackBar"] }, { type: _app_services_school_service__WEBPACK_IMPORTED_MODULE_7__["SchoolService"] }, { type: _app_common_default_values_service__WEBPACK_IMPORTED_MODULE_8__["DefaultValuesService"] }]; }, { customTemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }] }); })();


/***/ }),

/***/ "./src/@vex/layout/footer/footer.module.ts":
/*!*************************************************!*\
  !*** ./src/@vex/layout/footer/footer.module.ts ***!
  \*************************************************/
/*! exports provided: FooterModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FooterModule", function() { return FooterModule; });
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _footer_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./footer.component */ "./src/@vex/layout/footer/footer.component.ts");
/* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/flex-layout */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex-layout.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _directives_container_container_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../directives/container/container.module */ "./src/@vex/directives/container/container.module.ts");








class FooterModule {
}
FooterModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: FooterModule });
FooterModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ factory: function FooterModule_Factory(t) { return new (t || FooterModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_0__["CommonModule"],
            _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__["FlexLayoutModule"],
            _angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"],
            _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_5__["IconModule"],
            _directives_container_container_module__WEBPACK_IMPORTED_MODULE_6__["ContainerModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](FooterModule, { declarations: [_footer_component__WEBPACK_IMPORTED_MODULE_2__["FooterComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_0__["CommonModule"],
        _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__["FlexLayoutModule"],
        _angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"],
        _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_5__["IconModule"],
        _directives_container_container_module__WEBPACK_IMPORTED_MODULE_6__["ContainerModule"]], exports: [_footer_component__WEBPACK_IMPORTED_MODULE_2__["FooterComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FooterModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"],
        args: [{
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_0__["CommonModule"],
                    _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__["FlexLayoutModule"],
                    _angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"],
                    _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_5__["IconModule"],
                    _directives_container_container_module__WEBPACK_IMPORTED_MODULE_6__["ContainerModule"]
                ],
                declarations: [_footer_component__WEBPACK_IMPORTED_MODULE_2__["FooterComponent"]],
                exports: [_footer_component__WEBPACK_IMPORTED_MODULE_2__["FooterComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/layout/layout.component.ts":
/*!*********************************************!*\
  !*** ./src/@vex/layout/layout.component.ts ***!
  \*********************************************/
/*! exports provided: LayoutComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LayoutComponent", function() { return LayoutComponent; });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ngneat/until-destroy */ "./node_modules/@ngneat/until-destroy/__ivy_ngcc__/fesm2015/ngneat-until-destroy.js");
/* harmony import */ var _angular_material_sidenav__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/sidenav */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/sidenav.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _utils_check_router_childs_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/check-router-childs-data */ "./src/@vex/utils/check-router-childs-data.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_cdk_layout__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/cdk/layout */ "./node_modules/@angular/cdk/__ivy_ngcc__/fesm2015/layout.js");
/* harmony import */ var _services_layout_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../services/layout.service */ "./src/@vex/services/layout.service.ts");
/* harmony import */ var _services_config_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../services/config.service */ "./src/@vex/services/config.service.ts");
/* harmony import */ var _services_session_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../services/session.service */ "./src/@vex/services/session.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var _app_services_common_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../app/services/common.service */ "./src/app/services/common.service.ts");
/* harmony import */ var _app_common_default_values_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var angular_user_idle__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! angular-user-idle */ "./node_modules/angular-user-idle/__ivy_ngcc__/fesm2015/angular-user-idle.js");
/* harmony import */ var _components_progress_bar_progress_bar_component__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../components/progress-bar/progress-bar.component */ "./src/@vex/components/progress-bar/progress-bar.component.ts");
/* harmony import */ var _components_search_search_component__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../components/search/search.component */ "./src/@vex/components/search/search.component.ts");























const _c0 = ["quickpanel"];
const _c1 = ["sidenav"];
function LayoutComponent_ng_container_24_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
} }
function LayoutComponent_ng_container_28_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
} }
function LayoutComponent_ng_container_30_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
} }
function LayoutComponent_ng_container_33_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
} }
let LayoutComponent = class LayoutComponent {
    constructor(cd, breakpointObserver, layoutService, configService, router, sessionService, snackbar, commonService, defaultValueService, document, dialog, userIdle) {
        this.cd = cd;
        this.breakpointObserver = breakpointObserver;
        this.layoutService = layoutService;
        this.configService = configService;
        this.router = router;
        this.sessionService = sessionService;
        this.snackbar = snackbar;
        this.commonService = commonService;
        this.defaultValueService = defaultValueService;
        this.document = document;
        this.dialog = dialog;
        this.userIdle = userIdle;
        this.tokenExpired = false;
        this.isLayoutVertical$ = this.configService.config$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["map"])(config => config.layout === 'vertical'));
        this.isBoxed$ = this.configService.config$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["map"])(config => config.boxed));
        this.isToolbarFixed$ = this.configService.config$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["map"])(config => config.toolbar.fixed));
        this.isFooterFixed$ = this.configService.config$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["map"])(config => config.footer.fixed));
        this.isFooterVisible$ = this.configService.config$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["map"])(config => config.footer.visible));
        this.sidenavCollapsed$ = this.layoutService.sidenavCollapsed$;
        this.isDesktop$ = this.layoutService.isDesktop$;
        this.scrollDisabled$ = this.router.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["filter"])(event => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_4__["NavigationEnd"]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["startWith"])(null), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["map"])(() => Object(_utils_check_router_childs_data__WEBPACK_IMPORTED_MODULE_6__["checkRouterChildsData"])(this.router.routerState.root.snapshot, data => data.scrollDisabled)));
        this.containerEnabled$ = this.router.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["filter"])(event => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_4__["NavigationEnd"]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["startWith"])(null), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["map"])(() => Object(_utils_check_router_childs_data__WEBPACK_IMPORTED_MODULE_6__["checkRouterChildsData"])(this.router.routerState.root.snapshot, data => data.containerEnabled)));
        this.searchOpen$ = this.layoutService.searchOpen$;
    }
    ngOnInit() {
        /**
         * Expand Sidenav when we switch from mobile to desktop view
         */
        this.isDesktop$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["filter"])(matches => !matches), Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_2__["untilDestroyed"])(this)).subscribe(() => this.layoutService.expandSidenav());
        /**
         * Open/Close Quickpanel through LayoutService
         */
        this.layoutService.quickpanelOpen$.pipe(Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_2__["untilDestroyed"])(this)).subscribe(open => open ? this.quickpanel.open() : this.quickpanel.close());
        /**
         * Open/Close Sidenav through LayoutService
         */
        this.layoutService.sidenavOpen$.pipe(Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_2__["untilDestroyed"])(this)).subscribe(open => open ? this.sidenav.open() : this.sidenav.close());
        /**
         * Mobile only:
         * Close Sidenav after Navigating somewhere (e.g. when a user clicks a link in the Sidenav)
         */
        this.router.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["filter"])(event => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_4__["NavigationEnd"]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["withLatestFrom"])(this.isDesktop$), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["filter"])(([event, matches]) => !matches), Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_2__["untilDestroyed"])(this)).subscribe(() => this.sidenav.close());
        //this.checkToken();
        this.commonService.isOnline().subscribe((res) => {
            if (!res) {
                if (this.defaultValueService.getSourceName()) {
                    window.close();
                    return;
                }
                this.commonService.clearStorage();
                this.snackbar.open(this.defaultValueService.translateKey('networkDisconnected'), '', {
                    duration: 5000
                });
                this.commonService.setUserActivity(true);
                this.router.navigateByUrl('/');
            }
        });
    }
    ngAfterViewInit() {
        /**
         * Enable Scrolling to specific parts of the page using the Router
         */
        this.router.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["filter"])((e) => e instanceof _angular_router__WEBPACK_IMPORTED_MODULE_4__["Scroll"]), Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_2__["untilDestroyed"])(this)).subscribe(e => {
            if (e.position) {
                // backward navigation
                this.sidenavContainer.scrollable.scrollTo({
                    start: e.position[0],
                    top: e.position[1]
                });
            }
            else if (e.anchor) {
                // anchor navigation
                const scroll = (anchor) => this.sidenavContainer.scrollable.scrollTo({
                    behavior: 'smooth',
                    top: anchor.offsetTop,
                    left: anchor.offsetLeft
                });
                let anchorElem = this.document.getElementById(e.anchor);
                if (anchorElem) {
                    scroll(anchorElem);
                }
                else {
                    setTimeout(() => {
                        anchorElem = this.document.getElementById(e.anchor);
                        scroll(anchorElem);
                    }, 100);
                }
            }
            else {
                // forward navigation
                this.sidenavContainer.scrollable.scrollTo({
                    top: 0,
                    start: 0
                });
            }
        });
    }
    ngOnDestroy() {
        // this.searchTimer.unsubscribe()
    }
};
LayoutComponent.ɵfac = function LayoutComponent_Factory(t) { return new (t || LayoutComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_cdk_layout__WEBPACK_IMPORTED_MODULE_8__["BreakpointObserver"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_layout_service__WEBPACK_IMPORTED_MODULE_9__["LayoutService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_config_service__WEBPACK_IMPORTED_MODULE_10__["ConfigService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_4__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_session_service__WEBPACK_IMPORTED_MODULE_11__["SessionService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_12__["MatSnackBar"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_app_services_common_service__WEBPACK_IMPORTED_MODULE_13__["CommonService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_14__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_7__["DOCUMENT"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_15__["MatDialog"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](angular_user_idle__WEBPACK_IMPORTED_MODULE_16__["UserIdleService"])); };
LayoutComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: LayoutComponent, selectors: [["vex-layout"]], viewQuery: function LayoutComponent_Query(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵstaticViewQuery"](_c0, true);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵstaticViewQuery"](_c1, true);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵstaticViewQuery"](_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_3__["MatSidenavContainer"], true);
    } if (rf & 2) {
        var _t;
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵloadQuery"]()) && (ctx.quickpanel = _t.first);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵloadQuery"]()) && (ctx.sidenav = _t.first);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵloadQuery"]()) && (ctx.sidenavContainer = _t.first);
    } }, inputs: { sidenavRef: "sidenavRef", toolbarRef: "toolbarRef", footerRef: "footerRef", quickpanelRef: "quickpanelRef" }, decls: 34, vars: 69, consts: [[1, "page-container"], [1, "sidenav-container"], [1, "sidenav", 3, "disableClose", "fixedInViewport", "mode", "opened"], ["sidenav", ""], [4, "ngTemplateOutlet"], ["mode", "over", "position", "end", 1, "quickpanel", 3, "fixedInViewport"], ["quickpanel", ""], [1, "sidenav-content"], [1, "content"]], template: function LayoutComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](4, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](5, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](6, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](7, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](8, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](9, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](10, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](11, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](12, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](13, "vex-progress-bar");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](14, "vex-search");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](15, "mat-sidenav-container", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](16, "mat-sidenav", 2, 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](18, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](19, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](20, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](21, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](22, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](23, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](24, LayoutComponent_ng_container_24_Template, 1, 0, "ng-container", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](25, "mat-sidenav", 5, 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](27, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](28, LayoutComponent_ng_container_28_Template, 1, 0, "ng-container", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](29, "mat-sidenav-content", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](30, LayoutComponent_ng_container_30_Template, 1, 0, "ng-container", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](31, "main", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](32, "router-outlet");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](33, LayoutComponent_ng_container_33_Template, 1, 0, "ng-container", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("boxed", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 31, ctx.isBoxed$))("horizontal-layout", !_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 33, ctx.isLayoutVertical$))("is-mobile", !_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 35, ctx.isDesktop$))("vertical-layout", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](4, 37, ctx.isLayoutVertical$))("has-fixed-footer", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](5, 39, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](6, 41, ctx.isFooterFixed$) && ctx.isFooterVisible$))("has-footer", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](7, 43, ctx.isFooterVisible$))("scroll-disabled", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](8, 45, ctx.scrollDisabled$))("toolbar-fixed", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](9, 47, ctx.isToolbarFixed$))("sidenav-collapsed", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](10, 49, ctx.sidenavCollapsed$))("content-container", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](11, 51, ctx.containerEnabled$))("with-search", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](12, 53, ctx.searchOpen$));
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](16);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("disableClose", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](18, 55, ctx.isDesktop$))("fixedInViewport", !_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](19, 57, ctx.isDesktop$))("mode", !_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](20, 59, ctx.isDesktop$) || _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](21, 61, ctx.isLayoutVertical$) ? "over" : "side")("opened", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](22, 63, ctx.isDesktop$) && !_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](23, 65, ctx.isLayoutVertical$));
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](8);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", ctx.sidenavRef);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("fixedInViewport", !_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](27, 67, ctx.isDesktop$));
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", ctx.quickpanelRef);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", ctx.toolbarRef);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", ctx.footerRef);
    } }, directives: [_components_progress_bar_progress_bar_component__WEBPACK_IMPORTED_MODULE_17__["ProgressBarComponent"], _components_search_search_component__WEBPACK_IMPORTED_MODULE_18__["SearchComponent"], _angular_material_sidenav__WEBPACK_IMPORTED_MODULE_3__["MatSidenavContainer"], _angular_material_sidenav__WEBPACK_IMPORTED_MODULE_3__["MatSidenav"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgTemplateOutlet"], _angular_material_sidenav__WEBPACK_IMPORTED_MODULE_3__["MatSidenavContent"], _angular_router__WEBPACK_IMPORTED_MODULE_4__["RouterOutlet"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"]], styles: [".page-container[_ngcontent-%COMP%] {\n  bottom: 0;\n  display: flex;\n  flex-direction: column;\n  left: 0;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.sidenav[_ngcontent-%COMP%] {\n  background: #13458f;\n}\n\n.sidenav[_ngcontent-%COMP%]     .mat-drawer-inner-container {\n  overflow: hidden;\n}\n\n.content[_ngcontent-%COMP%] {\n  background: var(--background-base);\n  min-height: calc(100% - var(--toolbar-height) - var(--navigation-height));\n  position: relative;\n  width: 100%;\n}\n\n.has-footer[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%] {\n  min-height: calc(100% - var(--toolbar-height) - var(--navigation-height) - var(--footer-height));\n}\n\n@media (max-width: 767.98px) {\n  .has-footer[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%] {\n    min-height: calc(100% - 64px - 75px);\n  }\n}\n\n@media (max-width: 427.98px) {\n  .has-footer[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%] {\n    min-height: calc(100% - 64px - 96px);\n  }\n}\n\n.scroll-disabled[_ngcontent-%COMP%] {\n  overflow: hidden;\n}\n\n.scroll-disabled[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%] {\n  height: calc(100% - var(--toolbar-height) - var(--navigation-height));\n  min-height: unset;\n  overflow: hidden;\n}\n\n.scroll-disabled.has-fixed-footer[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%], .scroll-disabled.has-footer[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%] {\n  height: calc(100% - var(--toolbar-height) - var(--navigation-height) - var(--footer-height));\n  min-height: unset;\n}\n\n.is-mobile[_ngcontent-%COMP%]     .vex-toolbar {\n  position: fixed;\n  width: 100%;\n}\n\n.is-mobile[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%] {\n  margin-top: var(--toolbar-height);\n}\n\n.sidenav-container[_ngcontent-%COMP%] {\n  background: var(--background-base);\n  height: 100%;\n  transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);\n}\n\n.sidenav-content[_ngcontent-%COMP%] {\n  overflow-x: hidden;\n  overflow-y: auto;\n}\n\n.with-search[_ngcontent-%COMP%] {\n  overflow: hidden;\n  position: fixed;\n}\n\n.with-search[_ngcontent-%COMP%]   .sidenav-container[_ngcontent-%COMP%] {\n  pointer-events: none;\n  transform: perspective(1000px) translate3d(0, 50vh, 0) rotate3d(1, 0, 0, 30deg);\n  transform-origin: 50vw 50vh;\n  transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);\n  border-radius: 0.25rem;\n  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);\n  overflow: visible;\n}\n\n.toolbar-fixed[_ngcontent-%COMP%]     .vex-toolbar {\n  position: fixed;\n  width: var(--toolbar-width);\n  z-index: 3;\n  box-shadow: var(--elevation-z6);\n}\n\n.toolbar-fixed[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%] {\n  margin-top: calc(var(--toolbar-height) + var(--navigation-height));\n}\n\n.has-fixed-footer[_ngcontent-%COMP%]     .vex-footer {\n  box-shadow: var(--footer-elevation);\n  position: fixed;\n}\n\n.has-fixed-footer[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%] {\n  margin-bottom: var(--footer-height);\n  min-height: calc(100% - var(--toolbar-height) - var(--navigation-height) - var(--footer-height));\n}\n\n.has-fixed-footer.scroll-disabled[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%] {\n  height: calc(100% - var(--toolbar-height) - var(--navigation-height) - var(--footer-height));\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2xheW91dC9sYXlvdXQuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxTQUFBO0VBQ0EsYUFBQTtFQUNBLHNCQUFBO0VBQ0EsT0FBQTtFQUNBLGtCQUFBO0VBQ0EsUUFBQTtFQUNBLE1BQUE7QUFDRjs7QUFFQTtFQUNFLG1CQUFBO0FBQ0Y7O0FBRUE7RUFDRSxnQkFBQTtBQUNGOztBQUVBO0VBQ0Usa0NBQUE7RUFDQSx5RUFBQTtFQUNBLGtCQUFBO0VBQ0EsV0FBQTtBQUNGOztBQUVBO0VBQ0UsZ0dBQUE7QUFDRjs7QUFFQTtFQUNFO0lBQ0Usb0NBQUE7RUFDRjtBQUNGOztBQUVBO0VBQ0U7SUFDRSxvQ0FBQTtFQUFGO0FBQ0Y7O0FBR0E7RUFDRSxnQkFBQTtBQURGOztBQUlBO0VBQ0UscUVBQUE7RUFDQSxpQkFBQTtFQUNBLGdCQUFBO0FBREY7O0FBSUE7RUFDRSw0RkFBQTtFQUNBLGlCQUFBO0FBREY7O0FBSUE7RUFDRSxlQUFBO0VBQ0EsV0FBQTtBQURGOztBQUlBO0VBQ0UsaUNBQUE7QUFERjs7QUFJQTtFQUNFLGtDQUFBO0VBQ0EsWUFBQTtFQUNBLHVEQUFBO0FBREY7O0FBSUE7RUFDRSxrQkFBQTtFQUNBLGdCQUFBO0FBREY7O0FBSUE7RUFDRSxnQkFBQTtFQUNBLGVBQUE7QUFERjs7QUFJQTtFQUNFLG9CQUFBO0VBQ0EsK0VBQUE7RUFDQSwyQkFBQTtFQUNBLHVEQUFBO0VBQ0Esc0JBQUE7RUFDQSxpREFBQTtFQUNBLGlCQUFBO0FBREY7O0FBSUE7RUFDRSxlQUFBO0VBQ0EsMkJBQUE7RUFDQSxVQUFBO0VBQ0EsK0JBQUE7QUFERjs7QUFJQTtFQUNFLGtFQUFBO0FBREY7O0FBSUE7RUFDRSxtQ0FBQTtFQUNBLGVBQUE7QUFERjs7QUFJQTtFQUNFLG1DQUFBO0VBQ0EsZ0dBQUE7QUFERjs7QUFJQTtFQUNFLDRGQUFBO0FBREYiLCJmaWxlIjoic3JjL0B2ZXgvbGF5b3V0L2xheW91dC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5wYWdlLWNvbnRhaW5lciB7XG4gIGJvdHRvbTogMDtcbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgbGVmdDogMDtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICByaWdodDogMDtcbiAgdG9wOiAwO1xufVxuXG4uc2lkZW5hdiB7XG4gIGJhY2tncm91bmQ6ICMxMzQ1OGY7XG59XG5cbi5zaWRlbmF2IDo6bmctZGVlcCAubWF0LWRyYXdlci1pbm5lci1jb250YWluZXIge1xuICBvdmVyZmxvdzogaGlkZGVuO1xufVxuXG4uY29udGVudCB7XG4gIGJhY2tncm91bmQ6IHZhcigtLWJhY2tncm91bmQtYmFzZSk7XG4gIG1pbi1oZWlnaHQ6IGNhbGMoMTAwJSAtIHZhcigtLXRvb2xiYXItaGVpZ2h0KSAtIHZhcigtLW5hdmlnYXRpb24taGVpZ2h0KSk7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgd2lkdGg6IDEwMCU7XG59XG5cbi5oYXMtZm9vdGVyIC5jb250ZW50IHtcbiAgbWluLWhlaWdodDogY2FsYygxMDAlIC0gdmFyKC0tdG9vbGJhci1oZWlnaHQpIC0gdmFyKC0tbmF2aWdhdGlvbi1oZWlnaHQpIC0gdmFyKC0tZm9vdGVyLWhlaWdodCkpO1xufVxuXG5AbWVkaWEgKG1heC13aWR0aDogNzY3Ljk4cHgpIHtcbiAgLmhhcy1mb290ZXIgLmNvbnRlbnQge1xuICAgIG1pbi1oZWlnaHQ6IGNhbGMoMTAwJSAtIDY0cHggLSA3NXB4KTtcbiAgfVxufVxuXG5AbWVkaWEgKG1heC13aWR0aDogNDI3Ljk4cHgpIHtcbiAgLmhhcy1mb290ZXIgLmNvbnRlbnQge1xuICAgIG1pbi1oZWlnaHQ6IGNhbGMoMTAwJSAtIDY0cHggLSA5NnB4KTtcbiAgfVxufVxuXG4uc2Nyb2xsLWRpc2FibGVkIHtcbiAgb3ZlcmZsb3c6IGhpZGRlbjtcbn1cblxuLnNjcm9sbC1kaXNhYmxlZCAuY29udGVudCB7XG4gIGhlaWdodDogY2FsYygxMDAlIC0gdmFyKC0tdG9vbGJhci1oZWlnaHQpIC0gdmFyKC0tbmF2aWdhdGlvbi1oZWlnaHQpKTtcbiAgbWluLWhlaWdodDogdW5zZXQ7XG4gIG92ZXJmbG93OiBoaWRkZW47XG59XG5cbi5zY3JvbGwtZGlzYWJsZWQuaGFzLWZpeGVkLWZvb3RlciAuY29udGVudCwgLnNjcm9sbC1kaXNhYmxlZC5oYXMtZm9vdGVyIC5jb250ZW50IHtcbiAgaGVpZ2h0OiBjYWxjKDEwMCUgLSB2YXIoLS10b29sYmFyLWhlaWdodCkgLSB2YXIoLS1uYXZpZ2F0aW9uLWhlaWdodCkgLSB2YXIoLS1mb290ZXItaGVpZ2h0KSk7XG4gIG1pbi1oZWlnaHQ6IHVuc2V0O1xufVxuXG4uaXMtbW9iaWxlIDo6bmctZGVlcCAudmV4LXRvb2xiYXIge1xuICBwb3NpdGlvbjogZml4ZWQ7XG4gIHdpZHRoOiAxMDAlO1xufVxuXG4uaXMtbW9iaWxlIC5jb250ZW50IHtcbiAgbWFyZ2luLXRvcDogdmFyKC0tdG9vbGJhci1oZWlnaHQpO1xufVxuXG4uc2lkZW5hdi1jb250YWluZXIge1xuICBiYWNrZ3JvdW5kOiB2YXIoLS1iYWNrZ3JvdW5kLWJhc2UpO1xuICBoZWlnaHQ6IDEwMCU7XG4gIHRyYW5zaXRpb246IHRyYW5zZm9ybSAwLjVzIGN1YmljLWJlemllcigwLjIsIDEsIDAuMywgMSk7XG59XG5cbi5zaWRlbmF2LWNvbnRlbnQge1xuICBvdmVyZmxvdy14OiBoaWRkZW47XG4gIG92ZXJmbG93LXk6IGF1dG87XG59XG5cbi53aXRoLXNlYXJjaCB7XG4gIG92ZXJmbG93OiBoaWRkZW47XG4gIHBvc2l0aW9uOiBmaXhlZDtcbn1cblxuLndpdGgtc2VhcmNoIC5zaWRlbmF2LWNvbnRhaW5lciB7XG4gIHBvaW50ZXItZXZlbnRzOiBub25lO1xuICB0cmFuc2Zvcm06IHBlcnNwZWN0aXZlKDEwMDBweCkgdHJhbnNsYXRlM2QoMCwgNTB2aCwgMCkgcm90YXRlM2QoMSwgMCwgMCwgMzBkZWcpO1xuICB0cmFuc2Zvcm0tb3JpZ2luOiA1MHZ3IDUwdmg7XG4gIHRyYW5zaXRpb246IHRyYW5zZm9ybSAwLjVzIGN1YmljLWJlemllcigwLjIsIDEsIDAuMywgMSk7XG4gIGJvcmRlci1yYWRpdXM6IDAuMjVyZW07XG4gIGJveC1zaGFkb3c6IDAgMjVweCA1MHB4IC0xMnB4IHJnYmEoMCwgMCwgMCwgMC4yNSk7XG4gIG92ZXJmbG93OiB2aXNpYmxlO1xufVxuXG4udG9vbGJhci1maXhlZCA6Om5nLWRlZXAgLnZleC10b29sYmFyIHtcbiAgcG9zaXRpb246IGZpeGVkO1xuICB3aWR0aDogdmFyKC0tdG9vbGJhci13aWR0aCk7XG4gIHotaW5kZXg6IDM7XG4gIGJveC1zaGFkb3c6IHZhcigtLWVsZXZhdGlvbi16Nik7XG59XG5cbi50b29sYmFyLWZpeGVkIC5jb250ZW50IHtcbiAgbWFyZ2luLXRvcDogY2FsYyh2YXIoLS10b29sYmFyLWhlaWdodCkgKyB2YXIoLS1uYXZpZ2F0aW9uLWhlaWdodCkpO1xufVxuXG4uaGFzLWZpeGVkLWZvb3RlciA6Om5nLWRlZXAgLnZleC1mb290ZXIge1xuICBib3gtc2hhZG93OiB2YXIoLS1mb290ZXItZWxldmF0aW9uKTtcbiAgcG9zaXRpb246IGZpeGVkO1xufVxuXG4uaGFzLWZpeGVkLWZvb3RlciAuY29udGVudCB7XG4gIG1hcmdpbi1ib3R0b206IHZhcigtLWZvb3Rlci1oZWlnaHQpO1xuICBtaW4taGVpZ2h0OiBjYWxjKDEwMCUgLSB2YXIoLS10b29sYmFyLWhlaWdodCkgLSB2YXIoLS1uYXZpZ2F0aW9uLWhlaWdodCkgLSB2YXIoLS1mb290ZXItaGVpZ2h0KSk7XG59XG5cbi5oYXMtZml4ZWQtZm9vdGVyLnNjcm9sbC1kaXNhYmxlZCAuY29udGVudCB7XG4gIGhlaWdodDogY2FsYygxMDAlIC0gdmFyKC0tdG9vbGJhci1oZWlnaHQpIC0gdmFyKC0tbmF2aWdhdGlvbi1oZWlnaHQpIC0gdmFyKC0tZm9vdGVyLWhlaWdodCkpO1xufSJdfQ== */"] });
LayoutComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_2__["UntilDestroy"])()
], LayoutComponent);

/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LayoutComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
        args: [{
                selector: 'vex-layout',
                templateUrl: './layout.component.html',
                styleUrls: ['./layout.component.scss']
            }]
    }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"] }, { type: _angular_cdk_layout__WEBPACK_IMPORTED_MODULE_8__["BreakpointObserver"] }, { type: _services_layout_service__WEBPACK_IMPORTED_MODULE_9__["LayoutService"] }, { type: _services_config_service__WEBPACK_IMPORTED_MODULE_10__["ConfigService"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_4__["Router"] }, { type: _services_session_service__WEBPACK_IMPORTED_MODULE_11__["SessionService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_12__["MatSnackBar"] }, { type: _app_services_common_service__WEBPACK_IMPORTED_MODULE_13__["CommonService"] }, { type: _app_common_default_values_service__WEBPACK_IMPORTED_MODULE_14__["DefaultValuesService"] }, { type: Document, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Inject"],
                args: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["DOCUMENT"]]
            }] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_15__["MatDialog"] }, { type: angular_user_idle__WEBPACK_IMPORTED_MODULE_16__["UserIdleService"] }]; }, { sidenavRef: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
        }], toolbarRef: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
        }], footerRef: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
        }], quickpanelRef: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
        }], quickpanel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"],
            args: ['quickpanel', { static: true }]
        }], sidenav: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"],
            args: ['sidenav', { static: true }]
        }], sidenavContainer: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"],
            args: [_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_3__["MatSidenavContainer"], { static: true }]
        }] }); })();


/***/ }),

/***/ "./src/@vex/layout/layout.module.ts":
/*!******************************************!*\
  !*** ./src/@vex/layout/layout.module.ts ***!
  \******************************************/
/*! exports provided: LayoutModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LayoutModule", function() { return LayoutModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _layout_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./layout.component */ "./src/@vex/layout/layout.component.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _angular_material_sidenav__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/sidenav */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/sidenav.js");
/* harmony import */ var _components_progress_bar_progress_bar_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../components/progress-bar/progress-bar.module */ "./src/@vex/components/progress-bar/progress-bar.module.ts");
/* harmony import */ var _components_search_search_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../components/search/search.module */ "./src/@vex/components/search/search.module.ts");








class LayoutModule {
}
LayoutModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: LayoutModule });
LayoutModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function LayoutModule_Factory(t) { return new (t || LayoutModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"],
            _angular_material_sidenav__WEBPACK_IMPORTED_MODULE_4__["MatSidenavModule"],
            _components_progress_bar_progress_bar_module__WEBPACK_IMPORTED_MODULE_5__["ProgressBarModule"],
            _components_search_search_module__WEBPACK_IMPORTED_MODULE_6__["SearchModule"],
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](LayoutModule, { declarations: [_layout_component__WEBPACK_IMPORTED_MODULE_2__["LayoutComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"],
        _angular_material_sidenav__WEBPACK_IMPORTED_MODULE_4__["MatSidenavModule"],
        _components_progress_bar_progress_bar_module__WEBPACK_IMPORTED_MODULE_5__["ProgressBarModule"],
        _components_search_search_module__WEBPACK_IMPORTED_MODULE_6__["SearchModule"]], exports: [_layout_component__WEBPACK_IMPORTED_MODULE_2__["LayoutComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LayoutModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_layout_component__WEBPACK_IMPORTED_MODULE_2__["LayoutComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"],
                    _angular_material_sidenav__WEBPACK_IMPORTED_MODULE_4__["MatSidenavModule"],
                    _components_progress_bar_progress_bar_module__WEBPACK_IMPORTED_MODULE_5__["ProgressBarModule"],
                    _components_search_search_module__WEBPACK_IMPORTED_MODULE_6__["SearchModule"],
                ],
                exports: [_layout_component__WEBPACK_IMPORTED_MODULE_2__["LayoutComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/layout/navigation/navigation.component.ts":
/*!************************************************************!*\
  !*** ./src/@vex/layout/navigation/navigation.component.ts ***!
  \************************************************************/
/*! exports provided: NavigationComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NavigationComponent", function() { return NavigationComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _services_navigation_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../services/navigation.service */ "./src/@vex/services/navigation.service.ts");
/* harmony import */ var _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/flex-layout/flex */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex.js");
/* harmony import */ var _directives_container_container_directive__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../directives/container/container.directive */ "./src/@vex/directives/container/container.directive.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _components_navigation_item_navigation_item_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../components/navigation-item/navigation-item.component */ "./src/@vex/components/navigation-item/navigation-item.component.ts");







function NavigationComponent_vex_navigation_item_1_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "vex-navigation-item", 2);
} if (rf & 2) {
    const item_r1 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", item_r1);
} }
class NavigationComponent {
    constructor(navigationService) {
        this.navigationService = navigationService;
        this.items = this.navigationService.items;
    }
    ngOnInit() {
    }
}
NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_navigation_service__WEBPACK_IMPORTED_MODULE_1__["NavigationService"])); };
NavigationComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: NavigationComponent, selectors: [["vex-navigation"]], decls: 2, vars: 1, consts: [["fxLayout", "row", "fxLayoutAlign", "start center", "vexContainer", "", 1, "navigation"], [3, "item", 4, "ngFor", "ngForOf"], [3, "item"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, NavigationComponent_vex_navigation_item_1_Template, 1, 1, "vex-navigation-item", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.items);
    } }, directives: [_angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__["DefaultLayoutDirective"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__["DefaultLayoutAlignDirective"], _directives_container_container_directive__WEBPACK_IMPORTED_MODULE_3__["ContainerDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _components_navigation_item_navigation_item_component__WEBPACK_IMPORTED_MODULE_5__["NavigationItemComponent"]], styles: ["[_nghost-%COMP%] {\n  background: var(--navigation-background);\n  display: block;\n  height: var(--navigation-height);\n  position: relative;\n  z-index: 200;\n}\n\n.navigation[_ngcontent-%COMP%] {\n  height: var(--navigation-height);\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2xheW91dC9uYXZpZ2F0aW9uL25hdmlnYXRpb24uY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSx3Q0FBQTtFQUNBLGNBQUE7RUFDQSxnQ0FBQTtFQUNBLGtCQUFBO0VBQ0EsWUFBQTtBQUNGOztBQUVBO0VBQ0UsZ0NBQUE7QUFDRiIsImZpbGUiOiJzcmMvQHZleC9sYXlvdXQvbmF2aWdhdGlvbi9uYXZpZ2F0aW9uLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiOmhvc3Qge1xuICBiYWNrZ3JvdW5kOiB2YXIoLS1uYXZpZ2F0aW9uLWJhY2tncm91bmQpO1xuICBkaXNwbGF5OiBibG9jaztcbiAgaGVpZ2h0OiB2YXIoLS1uYXZpZ2F0aW9uLWhlaWdodCk7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgei1pbmRleDogMjAwO1xufVxuXG4ubmF2aWdhdGlvbiB7XG4gIGhlaWdodDogdmFyKC0tbmF2aWdhdGlvbi1oZWlnaHQpO1xufSJdfQ== */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NavigationComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-navigation',
                templateUrl: './navigation.component.html',
                styleUrls: ['./navigation.component.scss']
            }]
    }], function () { return [{ type: _services_navigation_service__WEBPACK_IMPORTED_MODULE_1__["NavigationService"] }]; }, null); })();


/***/ }),

/***/ "./src/@vex/layout/navigation/navigation.module.ts":
/*!*********************************************************!*\
  !*** ./src/@vex/layout/navigation/navigation.module.ts ***!
  \*********************************************************/
/*! exports provided: NavigationModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NavigationModule", function() { return NavigationModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _navigation_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./navigation.component */ "./src/@vex/layout/navigation/navigation.component.ts");
/* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/flex-layout */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex-layout.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/menu */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/menu.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _components_navigation_item_navigation_item_module__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../components/navigation-item/navigation-item.module */ "./src/@vex/components/navigation-item/navigation-item.module.ts");
/* harmony import */ var _directives_container_container_module__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../directives/container/container.module */ "./src/@vex/directives/container/container.module.ts");












class NavigationModule {
}
NavigationModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: NavigationModule });
NavigationModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function NavigationModule_Factory(t) { return new (t || NavigationModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__["FlexLayoutModule"],
            _angular_material_core__WEBPACK_IMPORTED_MODULE_4__["MatRippleModule"],
            _angular_material_menu__WEBPACK_IMPORTED_MODULE_5__["MatMenuModule"],
            _angular_material_icon__WEBPACK_IMPORTED_MODULE_6__["MatIconModule"],
            _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_7__["IconModule"],
            _angular_router__WEBPACK_IMPORTED_MODULE_8__["RouterModule"],
            _components_navigation_item_navigation_item_module__WEBPACK_IMPORTED_MODULE_9__["NavigationItemModule"],
            _directives_container_container_module__WEBPACK_IMPORTED_MODULE_10__["ContainerModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](NavigationModule, { declarations: [_navigation_component__WEBPACK_IMPORTED_MODULE_2__["NavigationComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__["FlexLayoutModule"],
        _angular_material_core__WEBPACK_IMPORTED_MODULE_4__["MatRippleModule"],
        _angular_material_menu__WEBPACK_IMPORTED_MODULE_5__["MatMenuModule"],
        _angular_material_icon__WEBPACK_IMPORTED_MODULE_6__["MatIconModule"],
        _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_7__["IconModule"],
        _angular_router__WEBPACK_IMPORTED_MODULE_8__["RouterModule"],
        _components_navigation_item_navigation_item_module__WEBPACK_IMPORTED_MODULE_9__["NavigationItemModule"],
        _directives_container_container_module__WEBPACK_IMPORTED_MODULE_10__["ContainerModule"]], exports: [_navigation_component__WEBPACK_IMPORTED_MODULE_2__["NavigationComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NavigationModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_navigation_component__WEBPACK_IMPORTED_MODULE_2__["NavigationComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__["FlexLayoutModule"],
                    _angular_material_core__WEBPACK_IMPORTED_MODULE_4__["MatRippleModule"],
                    _angular_material_menu__WEBPACK_IMPORTED_MODULE_5__["MatMenuModule"],
                    _angular_material_icon__WEBPACK_IMPORTED_MODULE_6__["MatIconModule"],
                    _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_7__["IconModule"],
                    _angular_router__WEBPACK_IMPORTED_MODULE_8__["RouterModule"],
                    _components_navigation_item_navigation_item_module__WEBPACK_IMPORTED_MODULE_9__["NavigationItemModule"],
                    _directives_container_container_module__WEBPACK_IMPORTED_MODULE_10__["ContainerModule"]
                ],
                exports: [_navigation_component__WEBPACK_IMPORTED_MODULE_2__["NavigationComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/layout/quickpanel/quickpanel.component.ts":
/*!************************************************************!*\
  !*** ./src/@vex/layout/quickpanel/quickpanel.component.ts ***!
  \************************************************************/
/*! exports provided: QuickpanelComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuickpanelComponent", function() { return QuickpanelComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var luxon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! luxon */ "./node_modules/luxon/build/cjs-browser/luxon.js");
/* harmony import */ var luxon__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(luxon__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _angular_material_divider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material/divider */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/divider.js");
/* harmony import */ var _angular_material_list__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/list */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/list.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/progress-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/progress-bar.js");








const _c0 = function () { return []; };
class QuickpanelComponent {
    constructor() {
        this.date = luxon__WEBPACK_IMPORTED_MODULE_1__["DateTime"].local().toFormat('DD');
        this.dayName = luxon__WEBPACK_IMPORTED_MODULE_1__["DateTime"].local().toFormat('EEEE');
    }
    ngOnInit() {
    }
}
QuickpanelComponent.ɵfac = function QuickpanelComponent_Factory(t) { return new (t || QuickpanelComponent)(); };
QuickpanelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: QuickpanelComponent, selectors: [["vex-quickpanel"]], decls: 67, vars: 16, consts: [[1, "body-2", "p-6", "bg-primary", "text-primary-contrast"], [1, "display-1"], ["matSubheader", ""], ["mat-list-item", "", 3, "routerLink"], ["matLine", ""], ["matRipple", "", 1, "list-item"], [1, "progress-bar"], ["color", "primary", "mode", "determinate", "value", "71"], ["color", "accent", "mode", "determinate", "value", "34"], ["color", "warn", "mode", "determinate", "value", "54"]], template: function QuickpanelComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "p");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "TODAY");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "mat-divider");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "mat-nav-list");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "h3", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](10, "UPCOMING EVENTS");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "a", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "h4", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13, "Business Meeting");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "p", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](15, "In 16 Minutes, Meeting Room");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "a", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "h4", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](18, "Ask for Vacation");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](19, "p", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](20, "12:00 PM");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "a", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "h4", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](23, "Dinner with Sophie");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "p", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](25, "18:30 PM");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](26, "a", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](27, "h4", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](28, "Deadline for Project X");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "p", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](30, "21:00 PM");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](31, "mat-divider");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](32, "h3", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](33, "TODO-LIST");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](34, "a", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](35, "h4", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](36, "Invite Jack to play golf");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](37, "p", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](38, "Added: 6 hours ago");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](39, "a", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](40, "h4", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](41, "Get to know Angular more");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](42, "p", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](43, "Added: 2 days ago");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](44, "a", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](45, "h4", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](46, "Configure that new router");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](47, "p", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](48, "Added: 5 days ago");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](49, "mat-divider");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](50, "h3", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](51, "SERVER STATISTICS");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](52, "div", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](53, "p");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](54, "CPU Load (71% / 100%)");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](55, "p", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](56, "mat-progress-bar", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](57, "div", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](58, "p");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](59, "RAM Usage (6,175 MB / 16,384 MB)");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](60, "p", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](61, "mat-progress-bar", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](62, "div", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](63, "p");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](64, "CPU Temp (43\u00B0 / 80\u00B0)");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](65, "p", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](66, "mat-progress-bar", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.dayName);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.date);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](9, _c0));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](10, _c0));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](11, _c0));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](12, _c0));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](13, _c0));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](14, _c0));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](15, _c0));
    } }, directives: [_angular_material_divider__WEBPACK_IMPORTED_MODULE_2__["MatDivider"], _angular_material_list__WEBPACK_IMPORTED_MODULE_3__["MatNavList"], _angular_material_list__WEBPACK_IMPORTED_MODULE_3__["MatListSubheaderCssMatStyler"], _angular_material_list__WEBPACK_IMPORTED_MODULE_3__["MatListItem"], _angular_router__WEBPACK_IMPORTED_MODULE_4__["RouterLinkWithHref"], _angular_material_core__WEBPACK_IMPORTED_MODULE_5__["MatLine"], _angular_material_core__WEBPACK_IMPORTED_MODULE_5__["MatRipple"], _angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_6__["MatProgressBar"]], styles: ["[_nghost-%COMP%] {\n  display: flex;\n  flex-direction: column;\n  height: 100%;\n  max-width: 80vw;\n}\n\nh3[_ngcontent-%COMP%] {\n  padding: 16px 16px 0;\n}\n\np[_ngcontent-%COMP%] {\n  margin: 0;\n}\n\n.list-item[_ngcontent-%COMP%] {\n  cursor: pointer;\n  display: flex;\n  flex-direction: column;\n  font: var(--font-subheading-2);\n  justify-content: center;\n  min-height: 72px;\n  padding: 0 var(--padding-16);\n  position: relative;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n\n.list-item[_ngcontent-%COMP%]:hover {\n  background: var(--background-hover);\n}\n\n.progress-bar[_ngcontent-%COMP%] {\n  margin-top: 8px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2xheW91dC9xdWlja3BhbmVsL3F1aWNrcGFuZWwuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxhQUFBO0VBQ0Esc0JBQUE7RUFDQSxZQUFBO0VBQ0EsZUFBQTtBQUNGOztBQUVBO0VBQ0Usb0JBQUE7QUFDRjs7QUFFQTtFQUNFLFNBQUE7QUFDRjs7QUFFQTtFQUNFLGVBQUE7RUFDQSxhQUFBO0VBQ0Esc0JBQUE7RUFDQSw4QkFBQTtFQUNBLHVCQUFBO0VBQ0EsZ0JBQUE7RUFDQSw0QkFBQTtFQUNBLGtCQUFBO0VBQ0EseUJBQUE7S0FBQSxzQkFBQTtNQUFBLHFCQUFBO1VBQUEsaUJBQUE7QUFDRjs7QUFFQTtFQUNFLG1DQUFBO0FBQ0Y7O0FBRUE7RUFDRSxlQUFBO0FBQ0YiLCJmaWxlIjoic3JjL0B2ZXgvbGF5b3V0L3F1aWNrcGFuZWwvcXVpY2twYW5lbC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIjpob3N0IHtcbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgaGVpZ2h0OiAxMDAlO1xuICBtYXgtd2lkdGg6IDgwdnc7XG59XG5cbmgzIHtcbiAgcGFkZGluZzogMTZweCAxNnB4IDA7XG59XG5cbnAge1xuICBtYXJnaW46IDA7XG59XG5cbi5saXN0LWl0ZW0ge1xuICBjdXJzb3I6IHBvaW50ZXI7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gIGZvbnQ6IHZhcigtLWZvbnQtc3ViaGVhZGluZy0yKTtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gIG1pbi1oZWlnaHQ6IDcycHg7XG4gIHBhZGRpbmc6IDAgdmFyKC0tcGFkZGluZy0xNik7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgdXNlci1zZWxlY3Q6IG5vbmU7XG59XG5cbi5saXN0LWl0ZW06aG92ZXIge1xuICBiYWNrZ3JvdW5kOiB2YXIoLS1iYWNrZ3JvdW5kLWhvdmVyKTtcbn1cblxuLnByb2dyZXNzLWJhciB7XG4gIG1hcmdpbi10b3A6IDhweDtcbn0iXX0= */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](QuickpanelComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-quickpanel',
                templateUrl: './quickpanel.component.html',
                styleUrls: ['./quickpanel.component.scss']
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/@vex/layout/quickpanel/quickpanel.module.ts":
/*!*********************************************************!*\
  !*** ./src/@vex/layout/quickpanel/quickpanel.module.ts ***!
  \*********************************************************/
/*! exports provided: QuickpanelModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuickpanelModule", function() { return QuickpanelModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _quickpanel_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./quickpanel.component */ "./src/@vex/layout/quickpanel/quickpanel.component.ts");
/* harmony import */ var _angular_material_list__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/list */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/list.js");
/* harmony import */ var _angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/progress-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/progress-bar.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");








class QuickpanelModule {
}
QuickpanelModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: QuickpanelModule });
QuickpanelModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function QuickpanelModule_Factory(t) { return new (t || QuickpanelModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _angular_material_list__WEBPACK_IMPORTED_MODULE_3__["MatListModule"],
            _angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_4__["MatProgressBarModule"],
            _angular_router__WEBPACK_IMPORTED_MODULE_5__["RouterModule"],
            _angular_material_core__WEBPACK_IMPORTED_MODULE_6__["MatRippleModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](QuickpanelModule, { declarations: [_quickpanel_component__WEBPACK_IMPORTED_MODULE_2__["QuickpanelComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _angular_material_list__WEBPACK_IMPORTED_MODULE_3__["MatListModule"],
        _angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_4__["MatProgressBarModule"],
        _angular_router__WEBPACK_IMPORTED_MODULE_5__["RouterModule"],
        _angular_material_core__WEBPACK_IMPORTED_MODULE_6__["MatRippleModule"]], exports: [_quickpanel_component__WEBPACK_IMPORTED_MODULE_2__["QuickpanelComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](QuickpanelModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_quickpanel_component__WEBPACK_IMPORTED_MODULE_2__["QuickpanelComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _angular_material_list__WEBPACK_IMPORTED_MODULE_3__["MatListModule"],
                    _angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_4__["MatProgressBarModule"],
                    _angular_router__WEBPACK_IMPORTED_MODULE_5__["RouterModule"],
                    _angular_material_core__WEBPACK_IMPORTED_MODULE_6__["MatRippleModule"]
                ],
                exports: [_quickpanel_component__WEBPACK_IMPORTED_MODULE_2__["QuickpanelComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/layout/session-expire/session-expire-alert/session-expire-alert.component.ts":
/*!***********************************************************************************************!*\
  !*** ./src/@vex/layout/session-expire/session-expire-alert/session-expire-alert.component.ts ***!
  \***********************************************************************************************/
/*! exports provided: SessionExpireAlertComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SessionExpireAlertComponent", function() { return SessionExpireAlertComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var _app_models_user_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../app/models/user.model */ "./src/app/models/user.model.ts");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var jwt_decode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! jwt-decode */ "./node_modules/jwt-decode/build/jwt-decode.esm.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _services_session_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../services/session.service */ "./src/@vex/services/session.service.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _app_common_default_values_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var src_app_services_common_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/app/services/common.service */ "./src/app/services/common.service.ts");
/* harmony import */ var _app_services_user_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../app/services/user.service */ "./src/app/services/user.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/material/progress-spinner */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/progress-spinner.js");


















function SessionExpireAlertComponent_mat_icon_20_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-icon", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "mat-spinner", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} }
class SessionExpireAlertComponent {
    constructor(router, dialogRef, data, sessionService, translateService, defaultValueService, commonService, dialog, userService, snackbar) {
        this.router = router;
        this.dialogRef = dialogRef;
        this.data = data;
        this.sessionService = sessionService;
        this.translateService = translateService;
        this.defaultValueService = defaultValueService;
        this.commonService = commonService;
        this.dialog = dialog;
        this.userService = userService;
        this.snackbar = snackbar;
        this.count = 30;
        this.sessionRenewLoader = false;
        //translateService.use('en');
    }
    ngOnInit() {
        let tokenExpired = false;
        if (this.defaultValueService.getToken()) {
            this.decoded = JSON.parse(JSON.stringify(jwt_decode__WEBPACK_IMPORTED_MODULE_4__["default"](this.defaultValueService.getToken())));
        }
        else {
            if (this.defaultValueService.getSourceName()) {
                window.close();
                return;
            }
            this.commonService.clearStorage();
            this.dialog.closeAll();
            this.router.navigateByUrl('/');
            return;
        }
        const source = Object(rxjs__WEBPACK_IMPORTED_MODULE_3__["interval"])(1000);
        this.searchTimer = source.subscribe(() => {
            if (tokenExpired) {
                this.logout();
                return;
            }
            if (this.count > 1) {
                this.count--;
                tokenExpired = this.checkToken();
            }
            else if (this.count === 1) {
                this.dialogRef.close(null);
                this.dialog.closeAll();
            }
        });
    }
    checkToken() {
        const tokenExpired = Date.now() > (this.decoded.exp * 1000 - 120000);
        return tokenExpired;
    }
    logout() {
        this.dialog.closeAll();
        // this.commonService.logoutUser();
    }
    continue() {
        this.sessionRenewLoader = true;
        const loginViewModel = new _app_models_user_model__WEBPACK_IMPORTED_MODULE_2__["UserViewModel"]();
        this.sessionService.RefreshToken(loginViewModel).subscribe(res => {
            this.sessionRenewLoader = false;
            this.dialogRef.close(res._token);
        });
    }
    onCloseModal() {
        this.dialogRef.close();
    }
    ngOnDestroy() {
        if (this.searchTimer) {
            this.searchTimer.unsubscribe();
        }
    }
}
SessionExpireAlertComponent.ɵfac = function SessionExpireAlertComponent_Factory(t) { return new (t || SessionExpireAlertComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_5__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MAT_DIALOG_DATA"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_session_service__WEBPACK_IMPORTED_MODULE_6__["SessionService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_8__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_common_service__WEBPACK_IMPORTED_MODULE_9__["CommonService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialog"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_app_services_user_service__WEBPACK_IMPORTED_MODULE_10__["UserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__["MatSnackBar"])); };
SessionExpireAlertComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: SessionExpireAlertComponent, selectors: [["vex-session-expire-alert"]], decls: 26, vars: 18, consts: [[1, ""], [1, "flex"], [1, "flex-shrink-0"], [1, "orb"], [1, "text-white", "text-center", "pt-9"], [1, "text-2xl", "font-medium"], [1, "text-xs", 2, "opacity", "0.5"], [1, "pt-4", "pb-8"], [1, "text-warn", "text-base", "font-medium", "mb-4"], [1, "icon", "icon-warning2", "mr-1"], [1, "text-base"], [1, "text-right"], ["mat-flat-button", "", "color", "primary", 3, "disabled", "click"], ["class", "ml-2", 4, "ngIf"], ["mat-flat-button", "", "color", "primary", 1, "ml-2", 3, "click"], [1, "ml-2"], ["color", "primary", "diameter", "20"]], template: function SessionExpireAlertComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "p", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "span", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "div", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "p", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](12, "i", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](14, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "p", 10);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](17, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "div", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](19, "button", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SessionExpireAlertComponent_Template_button_click_19_listener() { return ctx.continue(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](20, SessionExpireAlertComponent_mat_icon_20_Template, 2, 0, "mat-icon", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](21);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](22, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "button", 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SessionExpireAlertComponent_Template_button_click_23_listener() { return ctx.logout(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](24);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](25, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("00:", ctx.count < 10 ? "0" + ctx.count : ctx.count, "");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 8, "seconds"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](14, 10, "yourSessionIsAboutToExpire"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](17, 12, "youWillBeAutomaticallyLoggedOutFromYourCurrentSessionSoon"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", ctx.sessionRenewLoader);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.sessionRenewLoader);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](22, 14, "keepMeLoggedIn"), " ");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](25, 16, "logout"));
    } }, directives: [_angular_material_button__WEBPACK_IMPORTED_MODULE_12__["MatButton"], _angular_common__WEBPACK_IMPORTED_MODULE_13__["NgIf"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_14__["MatIcon"], _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_15__["MatSpinner"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslatePipe"]], styles: [".orb[_ngcontent-%COMP%] {\n  position: relative;\n  width: 100px;\n  height: 100px;\n  border-radius: 50%;\n  margin: 0 5em;\n  background: #f44337;\n  box-shadow: 0 0 20px 5px #f44337;\n  -webkit-animation: orb 1.8s infinite;\n          animation: orb 1.8s infinite;\n  margin: 0 20px 0 0;\n}\n\n.orb[_ngcontent-%COMP%]:before {\n  content: \"\";\n  display: block;\n  position: absolute;\n  width: 44px;\n  height: 44px;\n  top: 2px;\n  left: 2px;\n  border-radius: 50%;\n}\n\n\n\n@-webkit-keyframes orb {\n  0%, 100% {\n    box-shadow: 0 0 5px 2px #fca6a1;\n  }\n  50% {\n    box-shadow: 0 0 24px 4px #fca6a1;\n  }\n}\n\n@keyframes orb {\n  0%, 100% {\n    box-shadow: 0 0 5px 2px #fca6a1;\n  }\n  50% {\n    box-shadow: 0 0 24px 4px #fca6a1;\n  }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2xheW91dC9zZXNzaW9uLWV4cGlyZS9zZXNzaW9uLWV4cGlyZS1hbGVydC9zZXNzaW9uLWV4cGlyZS1hbGVydC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLGtCQUFBO0VBQ0EsWUFBQTtFQUNBLGFBQUE7RUFDQSxrQkFBQTtFQUNBLGFBQUE7RUFDQSxtQkFBQTtFQUNBLGdDQUFBO0VBQ0Esb0NBQUE7VUFBQSw0QkFBQTtFQUNBLGtCQUFBO0FBQ0Y7O0FBRUE7RUFDRSxXQUFBO0VBQ0EsY0FBQTtFQUNBLGtCQUFBO0VBQ0EsV0FBQTtFQUNBLFlBQUE7RUFDQSxRQUFBO0VBQ0EsU0FBQTtFQUNBLGtCQUFBO0FBQ0Y7O0FBRUEsc0JBQUE7O0FBRUE7RUFDRTtJQUNFLCtCQUFBO0VBQUY7RUFHQTtJQUNFLGdDQUFBO0VBREY7QUFDRjs7QUFOQTtFQUNFO0lBQ0UsK0JBQUE7RUFBRjtFQUdBO0lBQ0UsZ0NBQUE7RUFERjtBQUNGIiwiZmlsZSI6InNyYy9AdmV4L2xheW91dC9zZXNzaW9uLWV4cGlyZS9zZXNzaW9uLWV4cGlyZS1hbGVydC9zZXNzaW9uLWV4cGlyZS1hbGVydC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5vcmIge1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gIHdpZHRoOiAxMDBweDtcbiAgaGVpZ2h0OiAxMDBweDtcbiAgYm9yZGVyLXJhZGl1czogNTAlO1xuICBtYXJnaW46IDAgNWVtO1xuICBiYWNrZ3JvdW5kOiAjZjQ0MzM3O1xuICBib3gtc2hhZG93OiAwIDAgMjBweCA1cHggI2Y0NDMzNztcbiAgYW5pbWF0aW9uOiBvcmIgMS44cyBpbmZpbml0ZTtcbiAgbWFyZ2luOiAwIDIwcHggMCAwO1xufVxuXG4ub3JiOmJlZm9yZSB7XG4gIGNvbnRlbnQ6IFwiXCI7XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHdpZHRoOiA0NHB4O1xuICBoZWlnaHQ6IDQ0cHg7XG4gIHRvcDogMnB4O1xuICBsZWZ0OiAycHg7XG4gIGJvcmRlci1yYWRpdXM6IDUwJTtcbn1cblxuLyogYW5pbWF0ZXMgb3JiIGdsb3cgKi9cblxuQGtleWZyYW1lcyBvcmIge1xuICAwJSwgMTAwJSB7XG4gICAgYm94LXNoYWRvdzogMCAwIDVweCAycHggI2ZjYTZhMTtcbiAgfVxuXG4gIDUwJSB7XG4gICAgYm94LXNoYWRvdzogMCAwIDI0cHggNHB4ICNmY2E2YTE7XG4gIH1cbn0iXX0= */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SessionExpireAlertComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-session-expire-alert',
                templateUrl: './session-expire-alert.component.html',
                styleUrls: ['./session-expire-alert.component.scss']
            }]
    }], function () { return [{ type: _angular_router__WEBPACK_IMPORTED_MODULE_5__["Router"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogRef"] }, { type: undefined, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
                args: [_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MAT_DIALOG_DATA"]]
            }] }, { type: _services_session_service__WEBPACK_IMPORTED_MODULE_6__["SessionService"] }, { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateService"] }, { type: _app_common_default_values_service__WEBPACK_IMPORTED_MODULE_8__["DefaultValuesService"] }, { type: src_app_services_common_service__WEBPACK_IMPORTED_MODULE_9__["CommonService"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialog"] }, { type: _app_services_user_service__WEBPACK_IMPORTED_MODULE_10__["UserService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__["MatSnackBar"] }]; }, null); })();


/***/ }),

/***/ "./src/@vex/layout/sidenav/change-password/change-password.component.ts":
/*!******************************************************************************!*\
  !*** ./src/@vex/layout/sidenav/change-password/change-password.component.ts ***!
  \******************************************************************************/
/*! exports provided: ChangePasswordComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ChangePasswordComponent", function() { return ChangePasswordComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @iconify/icons-ic/twotone-close */ "./node_modules/@iconify/icons-ic/twotone-close.js");
/* harmony import */ var _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _app_models_common_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../app/models/common.model */ "./src/app/models/common.model.ts");
/* harmony import */ var _iconify_icons_ic_twotone_visibility__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @iconify/icons-ic/twotone-visibility */ "./node_modules/@iconify/icons-ic/twotone-visibility.js");
/* harmony import */ var _iconify_icons_ic_twotone_visibility__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_visibility__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _iconify_icons_ic_twotone_visibility_off__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @iconify/icons-ic/twotone-visibility-off */ "./node_modules/@iconify/icons-ic/twotone-visibility-off.js");
/* harmony import */ var _iconify_icons_ic_twotone_visibility_off__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_visibility_off__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _iconify_icons_ic_check__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @iconify/icons-ic/check */ "./node_modules/@iconify/icons-ic/check.js");
/* harmony import */ var _iconify_icons_ic_check__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_check__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _iconify_icons_ic_twotone_warning__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @iconify/icons-ic/twotone-warning */ "./node_modules/@iconify/icons-ic/twotone-warning.js");
/* harmony import */ var _iconify_icons_ic_twotone_warning__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_warning__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _app_services_common_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../app/services/common.service */ "./src/app/services/common.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var _app_pages_shared_shared_function__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../app/pages/shared/shared-function */ "./src/app/pages/shared/shared-function.ts");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var _app_common_default_values_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
/* harmony import */ var _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/flex-layout/flex */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_material_divider__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @angular/material/divider */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/divider.js");
/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @angular/material/form-field */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/form-field.js");
/* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @angular/material/input */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/input.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_material_extensions_password_strength__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @angular-material-extensions/password-strength */ "./node_modules/@angular-material-extensions/password-strength/__ivy_ngcc__/fesm2015/angular-material-extensions-password-strength.js");
/* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @angular/flex-layout/extended */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/extended.js");

























function ChangePasswordComponent_mat_error_14_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "currentPasswordIsRequired"), " ");
} }
function ChangePasswordComponent_mat_error_22_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "newPasswordIsRequired"));
} }
function ChangePasswordComponent_mat_icon_24_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "mat-icon", 3);
} if (rf & 2) {
    const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r3.icVisibilityOff);
} }
function ChangePasswordComponent_mat_icon_25_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "mat-icon", 3);
} if (rf & 2) {
    const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r4.icVisibility);
} }
function ChangePasswordComponent_mat_error_64_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "confirmNewPasswordIsRequired"), "");
} }
class ChangePasswordComponent {
    constructor(translateService, commonService, snackbar, commonFunction, dialog, cd, defaultValuesService, fb) {
        this.translateService = translateService;
        this.commonService = commonService;
        this.snackbar = snackbar;
        this.commonFunction = commonFunction;
        this.dialog = dialog;
        this.cd = cd;
        this.defaultValuesService = defaultValuesService;
        this.fb = fb;
        this.icClose = _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_1___default.a;
        this.icVisibility = _iconify_icons_ic_twotone_visibility__WEBPACK_IMPORTED_MODULE_3___default.a;
        this.icVisibilityOff = _iconify_icons_ic_twotone_visibility_off__WEBPACK_IMPORTED_MODULE_4___default.a;
        this.icCheck = _iconify_icons_ic_check__WEBPACK_IMPORTED_MODULE_5___default.a;
        this.icWarning = _iconify_icons_ic_twotone_warning__WEBPACK_IMPORTED_MODULE_6___default.a;
        this.changePasswordViewModel = new _app_models_common_model__WEBPACK_IMPORTED_MODULE_2__["ChangePasswordViewModel"]();
        this.inputType = 'password';
        this.passRegex = {
            mustBeAtLeast8CharactersLong: false,
            mustContain1UppercaseLetter: false,
            mustContain1LowercaseLetter: false,
            mustContain1Number: false,
            mustContain1SpecialCharacter: false
        };
        // translateService.use("en");
        this.form = fb.group({
            currentPasswordHash: [''],
            newPasswordHash: [''],
            confirmPasswordHash: ['']
        });
    }
    ngOnInit() {
    }
    // This toggleVisibility method is used for password visibility on/off.
    toggleVisibility(key) {
        if (this[key] === "text") {
            this[key] = 'password';
            this.cd.markForCheck();
        }
        else {
            this[key] = 'text';
            this.cd.markForCheck();
        }
    }
    checkPass() {
        if (this.form.controls.newPasswordHash.value) {
            this.passRegex.mustBeAtLeast8CharactersLong = this.form.controls.newPasswordHash.value.length >= 8;
            this.passRegex.mustContain1UppercaseLetter = this.form.controls.newPasswordHash.value.search(/[A-Z]/) !== -1;
            this.passRegex.mustContain1LowercaseLetter = this.form.controls.newPasswordHash.value.search(/[a-z]/) !== -1;
            this.passRegex.mustContain1Number = this.form.controls.newPasswordHash.value.search(/[0-9]/) !== -1;
            this.passRegex.mustContain1SpecialCharacter = this.form.controls.newPasswordHash.value.search(/[`!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?~]/) !== -1;
        }
        else {
            this.passRegex.mustBeAtLeast8CharactersLong = false;
            this.passRegex.mustContain1UppercaseLetter = false;
            this.passRegex.mustContain1LowercaseLetter = false;
            this.passRegex.mustContain1Number = false;
            this.passRegex.mustContain1SpecialCharacter = false;
        }
    }
    generate() {
        this.inputType = 'text';
        let autoGeneratePassword = this.commonFunction.autoGeneratePassword();
        this.form.controls.newPasswordHash.setValue(autoGeneratePassword);
        this.form.controls.confirmPasswordHash.setValue(autoGeneratePassword);
        this.changePasswordViewModel.newPasswordHash = autoGeneratePassword;
        this.checkPass();
    }
    submit() {
        this.form.markAllAsTouched();
        let allPassRegexValidation = false;
        for (const val in this.passRegex) {
            if (this.passRegex[val] === false)
                allPassRegexValidation = true;
        }
        if (this.form.valid && !allPassRegexValidation) {
            if (this.form.controls.confirmPasswordHash.value === this.form.controls.newPasswordHash.value) {
                this.changePasswordViewModel.currentPasswordHash = this.form.controls.currentPasswordHash.value;
                this.changePasswordViewModel.newPasswordHash = this.form.controls.newPasswordHash.value;
                this.commonService.changePassword(this.changePasswordViewModel).subscribe((res) => {
                    if (res) {
                        if (res._failure) {
                            this.snackbar.open(res._message, '', {
                                duration: 10000
                            });
                        }
                        else {
                            this.snackbar.open(res._message, '', {
                                duration: 10000
                            });
                            this.dialog.closeAll();
                        }
                    }
                    else {
                        this.snackbar.open(res._message, '', {
                            duration: 10000
                        });
                    }
                });
            }
            else {
                this.snackbar.open(this.defaultValuesService.translateKey('confirmNewPasswordNotMathedWithNewPassword'), '', {
                    duration: 10000
                });
            }
        }
    }
}
ChangePasswordComponent.ɵfac = function ChangePasswordComponent_Factory(t) { return new (t || ChangePasswordComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_app_services_common_service__WEBPACK_IMPORTED_MODULE_8__["CommonService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__["MatSnackBar"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_app_pages_shared_shared_function__WEBPACK_IMPORTED_MODULE_10__["SharedFunction"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_11__["MatDialog"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_12__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_13__["FormBuilder"])); };
ChangePasswordComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ChangePasswordComponent, selectors: [["vex-change-password"]], decls: 72, vars: 55, consts: [["fxLayout", "row", "fxLayoutAlign", "start center", "mat-dialog-title", ""], ["fxFlex", "auto", 1, "headline", "m-0"], ["mat-dialog-close", "", "mat-icon-button", "", "type", "button", 1, "text-secondary"], [3, "icIcon"], [1, "-mx-6", "text-border"], [3, "formGroup", "ngSubmit"], [1, "mt-3"], ["appearance", "outline", "color", "primary", 1, "w-full", "mt-4"], ["formControlName", "currentPasswordHash", "name", "currentPasswordHash", "type", "password", "matInput", "", "required", ""], [4, "ngIf"], [1, "relative"], ["appearance", "outline", "color", "primary", 1, "w-full", "mb-0"], ["formControlName", "newPasswordHash", "name", "newPasswordHash", "matInput", "", "required", "", 3, "type", "keyup"], ["password", ""], ["mat-icon-button", "", "matSuffix", "", "type", "button", 3, "click"], [3, "icIcon", 4, "ngIf"], [1, "absolute", "bottom-1", "left-0", "w-full", 3, "password"], ["passwordComponent", ""], [1, "mb-6", "text-primary", "underline"], [1, "cursor-pointer", 3, "click"], [1, "mb-6"], [1, "text-left"], [1, "mb-1", 3, "ngClass"], [1, "align-middle", "mr-2", "text-lg", "w-auto", "h-auto", 3, "icIcon"], ["appearance", "outline", "color", "primary", 1, "w-full"], ["formControlName", "confirmPasswordHash", "name", "confirmPasswordHash", "type", "password", "matInput", "", "required", "", 3, "paste"], ["fxLayout", "row", "fxLayoutAlign", "end center", 1, "pt-0", "pb-2"], ["mat-dialog-close", "", "mat-flat-button", ""], ["color", "primary", "mat-flat-button", "", "type", "submit", 1, "text-white", "ml-2"]], template: function ChangePasswordComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h2", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "button", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](5, "mat-icon", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "mat-divider", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "form", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngSubmit", function ChangePasswordComponent_Template_form_ngSubmit_7_listener() { return ctx.submit(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "mat-dialog-content", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "mat-form-field", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "mat-label");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](12, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](13, "input", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](14, ChangePasswordComponent_mat_error_14_Template, 3, 3, "mat-error", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "div", 10);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "mat-form-field", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "mat-label");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](18);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](19, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "input", 12, 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("keyup", function ChangePasswordComponent_Template_input_keyup_20_listener() { return ctx.checkPass(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](22, ChangePasswordComponent_mat_error_22_Template, 3, 3, "mat-error", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "button", 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ChangePasswordComponent_Template_button_click_23_listener() { return ctx.toggleVisibility("inputType"); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](24, ChangePasswordComponent_mat_icon_24_Template, 1, 1, "mat-icon", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](25, ChangePasswordComponent_mat_icon_25_Template, 1, 1, "mat-icon", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](26, "mat-password-strength", 16, 17);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](28, "p", 18);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "span", 19);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ChangePasswordComponent_Template_span_click_29_listener() { return ctx.generate(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](30);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](31, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](32, "div", 20);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](33, "ul", 21);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](34, "li", 22);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](35, "mat-icon", 23);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](36, "span");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](37);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](38, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](39, "li", 22);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](40, "mat-icon", 23);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](41, "span");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](42);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](43, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](44, "li", 22);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](45, "mat-icon", 23);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](46, "span");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](47);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](48, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](49, "li", 22);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](50, "mat-icon", 23);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](51, "span");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](52);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](53, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](54, "li", 22);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](55, "mat-icon", 23);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](56, "span");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](57);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](58, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](59, "mat-form-field", 24);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](60, "mat-label");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](61);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](62, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](63, "input", 25);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("paste", function ChangePasswordComponent_Template_input_paste_63_listener() { return false; });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](64, ChangePasswordComponent_mat_error_64_Template, 3, 3, "mat-error", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](65, "mat-dialog-actions", 26);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](66, "button", 27);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](67);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](68, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](69, "button", 28);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](70);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](71, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](21);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 31, "changePassword"), " ");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icClose);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formGroup", ctx.form);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](12, 33, "currentPassword"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.form.get("currentPasswordHash").hasError("required"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](19, 35, "newPassword"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("type", ctx.inputType);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.form.get("newPasswordHash").hasError("required"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.inputType === "password");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.inputType === "text");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("password", _r1.value);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](31, 37, "autoGeneratePassword"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", ctx.passRegex.mustBeAtLeast8CharactersLong ? "text-green line-through" : "text-red");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.passRegex.mustBeAtLeast8CharactersLong ? ctx.icCheck : ctx.icWarning);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](38, 39, "mustBeAtLeast8CharactersLong"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", ctx.passRegex.mustContain1UppercaseLetter ? "text-green line-through" : "text-red");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.passRegex.mustContain1UppercaseLetter ? ctx.icCheck : ctx.icWarning);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](43, 41, "mustContain1UppercaseLetter"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", ctx.passRegex.mustContain1LowercaseLetter ? "text-green line-through" : "text-red");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.passRegex.mustContain1LowercaseLetter ? ctx.icCheck : ctx.icWarning);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](48, 43, "mustContain1LowercaseLetter"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", ctx.passRegex.mustContain1Number ? "text-green line-through" : "text-red");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.passRegex.mustContain1Number ? ctx.icCheck : ctx.icWarning);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](53, 45, "mustContain1Number"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", ctx.passRegex.mustContain1SpecialCharacter ? "text-green line-through" : "text-red");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.passRegex.mustContain1SpecialCharacter ? ctx.icCheck : ctx.icWarning);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](58, 47, "mustContain1SpecialCharacter"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](62, 49, "confirmNewPassword"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.form.get("confirmPasswordHash").hasError("required"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](68, 51, "cancel"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](71, 53, "update"), " ");
    } }, directives: [_angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_14__["DefaultLayoutDirective"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_14__["DefaultLayoutAlignDirective"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_11__["MatDialogTitle"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_14__["DefaultFlexDirective"], _angular_material_button__WEBPACK_IMPORTED_MODULE_15__["MatButton"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_11__["MatDialogClose"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_16__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_17__["IconDirective"], _angular_material_divider__WEBPACK_IMPORTED_MODULE_18__["MatDivider"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__["ɵangular_packages_forms_forms_y"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__["FormGroupDirective"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_11__["MatDialogContent"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_19__["MatFormField"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_19__["MatLabel"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__["DefaultValueAccessor"], _angular_material_input__WEBPACK_IMPORTED_MODULE_20__["MatInput"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__["FormControlName"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__["RequiredValidator"], _angular_common__WEBPACK_IMPORTED_MODULE_21__["NgIf"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_19__["MatSuffix"], _angular_material_extensions_password_strength__WEBPACK_IMPORTED_MODULE_22__["MatPasswordStrengthComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_21__["NgClass"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_23__["DefaultClassDirective"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_11__["MatDialogActions"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_19__["MatError"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslatePipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvQHZleC9sYXlvdXQvc2lkZW5hdi9jaGFuZ2UtcGFzc3dvcmQvY2hhbmdlLXBhc3N3b3JkLmNvbXBvbmVudC5zY3NzIn0= */"], encapsulation: 2, changeDetection: 0 });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ChangePasswordComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-change-password',
                templateUrl: './change-password.component.html',
                styleUrls: ['./change-password.component.scss'],
                encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
                changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
            }]
    }], function () { return [{ type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateService"] }, { type: _app_services_common_service__WEBPACK_IMPORTED_MODULE_8__["CommonService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__["MatSnackBar"] }, { type: _app_pages_shared_shared_function__WEBPACK_IMPORTED_MODULE_10__["SharedFunction"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_11__["MatDialog"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"] }, { type: _app_common_default_values_service__WEBPACK_IMPORTED_MODULE_12__["DefaultValuesService"] }, { type: _angular_forms__WEBPACK_IMPORTED_MODULE_13__["FormBuilder"] }]; }, null); })();


/***/ }),

/***/ "./src/@vex/layout/sidenav/sidenav-item/sidenav-item.component.ts":
/*!************************************************************************!*\
  !*** ./src/@vex/layout/sidenav/sidenav-item/sidenav-item.component.ts ***!
  \************************************************************************/
/*! exports provided: SidenavItemComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SidenavItemComponent", function() { return SidenavItemComponent; });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _animations_dropdown_animation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../animations/dropdown.animation */ "./src/@vex/animations/dropdown.animation.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ngneat/until-destroy */ "./node_modules/@ngneat/until-destroy/__ivy_ngcc__/fesm2015/ngneat-until-destroy.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _iconify_icons_ic_twotone_keyboard_arrow_right__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @iconify/icons-ic/twotone-keyboard-arrow-right */ "./node_modules/@iconify/icons-ic/twotone-keyboard-arrow-right.js");
/* harmony import */ var _iconify_icons_ic_twotone_keyboard_arrow_right__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_keyboard_arrow_right__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var src_app_enums_school_create_enum__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/enums/school-create.enum */ "./src/app/enums/school-create.enum.ts");
/* harmony import */ var _services_navigation_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../services/navigation.service */ "./src/@vex/services/navigation.service.ts");
/* harmony import */ var src_app_services_school_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/app/services/school.service */ "./src/app/services/school.service.ts");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/flex-layout/flex */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/flex-layout/extended */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/extended.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");




















function SidenavItemComponent_a_0_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "mat-icon", 8);
} if (rf & 2) {
    const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("icIcon", ctx_r4.item.icon);
} }
const _c0 = function (a0, a1) { return [a0, a1]; };
function SidenavItemComponent_a_0_span_5_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](4, _c0, ctx_r5.item.badge.bgClass, ctx_r5.item.badge.textClass));
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 2, ctx_r5.item.badge.value));
} }
function SidenavItemComponent_a_0_span_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "mat-icon");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2, "star");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
} }
function SidenavItemComponent_a_0_span_7_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "img", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
} }
const _c1 = function () { return { exact: false }; };
function SidenavItemComponent_a_0_Template(rf, ctx) { if (rf & 1) {
    const _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "a", 3);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function SidenavItemComponent_a_0_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r9); const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); ctx_r8.schoolService.setSchoolId(undefined); return ctx_r8.defaultValueService.setSchoolID(undefined); });
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, SidenavItemComponent_a_0_mat_icon_1_Template, 1, 1, "mat-icon", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](4, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, SidenavItemComponent_a_0_span_5_Template, 3, 7, "span", 6);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, SidenavItemComponent_a_0_span_6_Template, 3, 0, "span", 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, SidenavItemComponent_a_0_span_7_Template, 2, 0, "span", 2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("fragment", ctx_r0.item.fragment)("routerLinkActiveOptions", ctx_r0.item.routerLinkActiveOptions || _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](11, _c1))("routerLink", ctx_r0.item.route)("state", ctx_r0.stateObj);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.level === 0);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](4, 9, ctx_r0.item.label));
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.item.badge);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.item.starred);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.item.upgrade);
} }
function SidenavItemComponent_div_1_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "mat-icon", 8);
} if (rf & 2) {
    const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("icIcon", ctx_r10.item.icon);
} }
function SidenavItemComponent_div_1_span_5_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](4, _c0, ctx_r11.item.badge.bgClass, ctx_r11.item.badge.textClass));
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 2, ctx_r11.item.badge.value));
} }
function SidenavItemComponent_div_1_span_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "mat-icon");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2, "star");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
} }
function SidenavItemComponent_div_1_Template(rf, ctx) { if (rf & 1) {
    const _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function SidenavItemComponent_div_1_Template_div_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r14); const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); return ctx_r13.item.route(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, SidenavItemComponent_div_1_mat_icon_1_Template, 1, 1, "mat-icon", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](4, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, SidenavItemComponent_div_1_span_5_Template, 3, 7, "span", 6);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, SidenavItemComponent_div_1_span_6_Template, 3, 0, "span", 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r1.level === 0);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](4, 4, ctx_r1.item.label));
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r1.item.badge);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r1.item.starred);
} }
function SidenavItemComponent_ng_container_2_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "mat-icon", 8);
} if (rf & 2) {
    const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("icIcon", ctx_r15.item.icon);
} }
function SidenavItemComponent_ng_container_2_span_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](4, _c0, ctx_r16.item.badge.bgClass, ctx_r16.item.badge.textClass));
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 2, ctx_r16.item.badge.value));
} }
function SidenavItemComponent_ng_container_2_span_7_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "mat-icon");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2, "star");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
} }
function SidenavItemComponent_ng_container_2_div_9_vex_sidenav_item_1_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "vex-sidenav-item", 18);
} if (rf & 2) {
    const subItem_r20 = ctx.$implicit;
    const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("item", subItem_r20)("level", ctx_r19.level + 1);
} }
function SidenavItemComponent_ng_container_2_div_9_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, SidenavItemComponent_ng_container_2_div_9_vex_sidenav_item_1_Template, 1, 2, "vex-sidenav-item", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("@dropdown", ctx_r18.isOpen);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r18.item.children);
} }
function SidenavItemComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
    const _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function SidenavItemComponent_ng_container_2_Template_div_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r22); const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); return ctx_r21.toggleOpen(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, SidenavItemComponent_ng_container_2_mat_icon_2_Template, 1, 1, "mat-icon", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "span", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](5, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, SidenavItemComponent_ng_container_2_span_6_Template, 3, 7, "span", 6);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, SidenavItemComponent_ng_container_2_span_7_Template, 3, 0, "span", 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](8, "mat-icon", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, SidenavItemComponent_ng_container_2_div_9_Template, 2, 2, "div", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("active", ctx_r2.isOpen || ctx_r2.isActive)("open", ctx_r2.isOpen);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r2.level === 0);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](5, 10, ctx_r2.item.label));
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r2.item.badge);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r2.item.starred);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("icIcon", ctx_r2.icKeyboardArrowRight);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r2.isOpen);
} }
function SidenavItemComponent_ng_container_3_vex_sidenav_item_4_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "vex-sidenav-item", 18);
} if (rf & 2) {
    const subItem_r24 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("item", subItem_r24)("level", 0);
} }
function SidenavItemComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, SidenavItemComponent_ng_container_3_vex_sidenav_item_4_Template, 1, 2, "vex-sidenav-item", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 2, ctx_r3.item.label));
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r3.item.children);
} }
let SidenavItemComponent = class SidenavItemComponent {
    constructor(router, cd, navigationService, schoolService, defaultValueService) {
        this.router = router;
        this.cd = cd;
        this.navigationService = navigationService;
        this.schoolService = schoolService;
        this.defaultValueService = defaultValueService;
        this.icKeyboardArrowRight = _iconify_icons_ic_twotone_keyboard_arrow_right__WEBPACK_IMPORTED_MODULE_6___default.a;
        this.stateObj = { type: src_app_enums_school_create_enum__WEBPACK_IMPORTED_MODULE_7__["SchoolCreate"].VIEW };
        this.isLink = this.navigationService.isLink;
        this.isDropdown = this.navigationService.isDropdown;
        this.isSubheading = this.navigationService.isSubheading;
    }
    get levelClass() {
        return `item-level-${this.level}`;
    }
    ngOnInit() {
        this.router.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["filter"])(event => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_3__["NavigationEnd"]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["filter"])(() => this.isDropdown(this.item)), Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_4__["untilDestroyed"])(this)).subscribe(() => this.onRouteChange());
        this.navigationService.openChange$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["filter"])(() => this.isDropdown(this.item)), Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_4__["untilDestroyed"])(this)).subscribe(item => this.onOpenChange(item));
    }
    ngOnChanges(changes) {
        if (changes && changes.hasOwnProperty('item') && this.isDropdown(this.item)) {
            this.onRouteChange();
        }
    }
    toggleOpen() {
        this.isOpen = !this.isOpen;
        this.navigationService.triggerOpenChange(this.item);
        this.cd.markForCheck();
    }
    onOpenChange(item) {
        if (this.isChildrenOf(this.item, item)) {
            return;
        }
        if (this.hasActiveChilds(this.item)) {
            return;
        }
        if (this.item !== item) {
            this.isOpen = false;
            this.cd.markForCheck();
        }
    }
    onRouteChange() {
        if (this.hasActiveChilds(this.item)) {
            this.isActive = true;
            this.isOpen = true;
            this.navigationService.triggerOpenChange(this.item);
            this.cd.markForCheck();
        }
        else {
            this.isActive = false;
            this.isOpen = false;
            this.navigationService.triggerOpenChange(this.item);
            this.cd.markForCheck();
        }
    }
    isChildrenOf(parent, item) {
        if (parent.children.indexOf(item) !== -1) {
            return true;
        }
        return parent.children
            .filter(child => this.isDropdown(child))
            .some(child => this.isChildrenOf(child, item));
    }
    hasActiveChilds(parent) {
        return parent.children.some(child => {
            if (this.isDropdown(child)) {
                return this.hasActiveChilds(child);
            }
            if (this.isLink(child) && !this.isFunction(child.route)) {
                return this.router.isActive(child.route, false);
            }
        });
    }
    isFunction(prop) {
        return prop instanceof Function;
    }
};
SidenavItemComponent.ɵfac = function SidenavItemComponent_Factory(t) { return new (t || SidenavItemComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_navigation_service__WEBPACK_IMPORTED_MODULE_8__["NavigationService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](src_app_services_school_service__WEBPACK_IMPORTED_MODULE_9__["SchoolService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_10__["DefaultValuesService"])); };
SidenavItemComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: SidenavItemComponent, selectors: [["vex-sidenav-item"]], hostVars: 2, hostBindings: function SidenavItemComponent_HostBindings(rf, ctx) { if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMap"](ctx.levelClass);
    } }, inputs: { item: "item", level: "level" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]], decls: 4, vars: 4, consts: [["class", "item", "fxLayout", "row", "matRipple", "", "routerLinkActive", "active", 3, "fragment", "routerLinkActiveOptions", "routerLink", "state", "click", 4, "ngIf"], ["class", "item", "fxLayout", "row", "matRipple", "", "routerLinkActive", "active", 3, "click", 4, "ngIf"], [4, "ngIf"], ["fxLayout", "row", "matRipple", "", "routerLinkActive", "active", 1, "item", 3, "fragment", "routerLinkActiveOptions", "routerLink", "state", "click"], ["class", "item-icon", "fxFlex", "none", 3, "icIcon", 4, "ngIf"], ["fxFlex", "auto", 1, "item-label"], ["class", "item-badge animated-badge uppercase", "fxFlex", "none", 3, "ngClass", 4, "ngIf"], ["class", "text-yellow ml-1", "fxFlex", "none", 4, "ngIf"], ["fxFlex", "none", 1, "item-icon", 3, "icIcon"], ["fxFlex", "none", 1, "item-badge", "animated-badge", "uppercase", 3, "ngClass"], ["fxFlex", "none", 1, "text-yellow", "ml-1"], ["src", "../../../../assets/img/icons/icon-upgrade.svg"], ["fxLayout", "row", "matRipple", "", "routerLinkActive", "active", 1, "item", 3, "click"], ["fxLayout", "row", "matRipple", "", 1, "item", 3, "click"], ["fxFlex", "none", 1, "item-dropdown-icon", 3, "icIcon"], ["class", "item-dropdown", 4, "ngIf"], [1, "item-dropdown"], [3, "item", "level", 4, "ngFor", "ngForOf"], [3, "item", "level"], [1, "subheading"]], template: function SidenavItemComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, SidenavItemComponent_a_0_Template, 8, 12, "a", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, SidenavItemComponent_div_1_Template, 7, 6, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, SidenavItemComponent_ng_container_2_Template, 10, 12, "ng-container", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, SidenavItemComponent_ng_container_3_Template, 5, 4, "ng-container", 2);
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.isLink(ctx.item) && !ctx.isFunction(ctx.item.route));
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.isLink(ctx.item) && ctx.isFunction(ctx.item.route));
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.isDropdown(ctx.item));
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.isSubheading(ctx.item));
    } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_11__["NgIf"], _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterLinkWithHref"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_12__["DefaultLayoutDirective"], _angular_material_core__WEBPACK_IMPORTED_MODULE_13__["MatRipple"], _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterLinkActive"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_12__["DefaultFlexDirective"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_14__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_15__["IconDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_11__["NgClass"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_16__["DefaultClassDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_11__["NgForOf"], SidenavItemComponent], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_17__["TranslatePipe"]], styles: [".item[_ngcontent-%COMP%] {\n  align-items: center;\n  box-sizing: border-box;\n  color: var(--sidenav-item-color);\n  cursor: pointer;\n  display: flex;\n  flex-direction: row;\n  min-height: 48px;\n  padding: var(--padding-8) var(--sidenav-item-padding);\n  position: relative;\n  text-decoration: none;\n  transition: var(--trans-ease-out);\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n  width: 100%;\n  border-left: var(--sidenav-item-border);\n}\n\n.item[_ngcontent-%COMP%]:hover, .item.active[_ngcontent-%COMP%] {\n  background: var(--sidenav-item-background-active);\n  border-left-color: var(--sidenav-item-border-color-active);\n}\n\n.item[_ngcontent-%COMP%]:hover   .item-icon[_ngcontent-%COMP%], .item.active[_ngcontent-%COMP%]   .item-icon[_ngcontent-%COMP%] {\n  color: var(--sidenav-item-icon-color-active);\n}\n\n.item[_ngcontent-%COMP%]:hover   .item-label[_ngcontent-%COMP%], .item.active[_ngcontent-%COMP%]   .item-label[_ngcontent-%COMP%] {\n  color: var(--sidenav-item-color-active);\n}\n\n.item[_ngcontent-%COMP%]:hover   .item-dropdown-icon[_ngcontent-%COMP%], .item.active[_ngcontent-%COMP%]   .item-dropdown-icon[_ngcontent-%COMP%] {\n  color: var(--sidenav-item-color-active);\n}\n\n.item.active[_ngcontent-%COMP%] {\n  font-weight: 800;\n}\n\n.item.open[_ngcontent-%COMP%]   .item-dropdown-icon[_ngcontent-%COMP%] {\n  transform: rotate(90deg) !important;\n}\n\n.item-level-1[_nghost-%COMP%]   .item[_ngcontent-%COMP%] {\n  background: var(--sidenav-item-dropdown-background);\n  -webkit-padding-start: calc(var(--sidenav-item-icon-size) + var(--sidenav-item-icon-gap) + var(--sidenav-item-padding) + (var(--sidenav-item-dropdown-gap) * 0));\n          padding-inline-start: calc(var(--sidenav-item-icon-size) + var(--sidenav-item-icon-gap) + var(--sidenav-item-padding) + (var(--sidenav-item-dropdown-gap) * 0));\n}\n\n.item-level-1[_nghost-%COMP%]   .item[_ngcontent-%COMP%]:hover {\n  background: var(--sidenav-item-dropdown-background-hover);\n}\n\n.item-level-2[_nghost-%COMP%]   .item[_ngcontent-%COMP%] {\n  background: var(--sidenav-item-dropdown-background);\n  -webkit-padding-start: calc(var(--sidenav-item-icon-size) + var(--sidenav-item-icon-gap) + var(--sidenav-item-padding) + (var(--sidenav-item-dropdown-gap) * 1));\n          padding-inline-start: calc(var(--sidenav-item-icon-size) + var(--sidenav-item-icon-gap) + var(--sidenav-item-padding) + (var(--sidenav-item-dropdown-gap) * 1));\n}\n\n.item-level-2[_nghost-%COMP%]   .item[_ngcontent-%COMP%]:hover {\n  background: var(--sidenav-item-dropdown-background-hover);\n}\n\n.item-level-3[_nghost-%COMP%]   .item[_ngcontent-%COMP%] {\n  background: var(--sidenav-item-dropdown-background);\n  -webkit-padding-start: calc(var(--sidenav-item-icon-size) + var(--sidenav-item-icon-gap) + var(--sidenav-item-padding) + (var(--sidenav-item-dropdown-gap) * 2));\n          padding-inline-start: calc(var(--sidenav-item-icon-size) + var(--sidenav-item-icon-gap) + var(--sidenav-item-padding) + (var(--sidenav-item-dropdown-gap) * 2));\n}\n\n.item-level-3[_nghost-%COMP%]   .item[_ngcontent-%COMP%]:hover {\n  background: var(--sidenav-item-dropdown-background-hover);\n}\n\n.item-level-4[_nghost-%COMP%]   .item[_ngcontent-%COMP%] {\n  background: var(--sidenav-item-dropdown-background);\n  -webkit-padding-start: calc(var(--sidenav-item-icon-size) + var(--sidenav-item-icon-gap) + var(--sidenav-item-padding) + (var(--sidenav-item-dropdown-gap) * 3));\n          padding-inline-start: calc(var(--sidenav-item-icon-size) + var(--sidenav-item-icon-gap) + var(--sidenav-item-padding) + (var(--sidenav-item-dropdown-gap) * 3));\n}\n\n.item-level-4[_nghost-%COMP%]   .item[_ngcontent-%COMP%]:hover {\n  background: var(--sidenav-item-dropdown-background-hover);\n}\n\n.item-level-5[_nghost-%COMP%]   .item[_ngcontent-%COMP%] {\n  background: var(--sidenav-item-dropdown-background);\n  -webkit-padding-start: calc(var(--sidenav-item-icon-size) + var(--sidenav-item-icon-gap) + var(--sidenav-item-padding) + (var(--sidenav-item-dropdown-gap) * 4));\n          padding-inline-start: calc(var(--sidenav-item-icon-size) + var(--sidenav-item-icon-gap) + var(--sidenav-item-padding) + (var(--sidenav-item-dropdown-gap) * 4));\n}\n\n.item-level-5[_nghost-%COMP%]   .item[_ngcontent-%COMP%]:hover {\n  background: var(--sidenav-item-dropdown-background-hover);\n}\n\n.item-level-6[_nghost-%COMP%]   .item[_ngcontent-%COMP%] {\n  background: var(--sidenav-item-dropdown-background);\n  -webkit-padding-start: calc(var(--sidenav-item-icon-size) + var(--sidenav-item-icon-gap) + var(--sidenav-item-padding) + (var(--sidenav-item-dropdown-gap) * 5));\n          padding-inline-start: calc(var(--sidenav-item-icon-size) + var(--sidenav-item-icon-gap) + var(--sidenav-item-padding) + (var(--sidenav-item-dropdown-gap) * 5));\n}\n\n.item-level-6[_nghost-%COMP%]   .item[_ngcontent-%COMP%]:hover {\n  background: var(--sidenav-item-dropdown-background-hover);\n}\n\n.item-icon[_ngcontent-%COMP%], .item-label[_ngcontent-%COMP%], .item-dropdown-icon[_ngcontent-%COMP%] {\n  transition: inherit;\n}\n\n.item-icon[_ngcontent-%COMP%] {\n  color: var(--sidenav-item-icon-color);\n  font-size: var(--sidenav-item-icon-size);\n  height: var(--sidenav-item-icon-size);\n  -webkit-margin-end: var(--sidenav-item-icon-gap);\n          margin-inline-end: var(--sidenav-item-icon-gap);\n  width: var(--sidenav-item-icon-size);\n}\n\n.item-label[_ngcontent-%COMP%] {\n  flex: 1;\n}\n\n.item-badge[_ngcontent-%COMP%] {\n  border-radius: 9999px;\n  font-size: 11px;\n  line-height: 20px;\n  -webkit-margin-start: var(--padding-8);\n          margin-inline-start: var(--padding-8);\n  padding: 0 7px;\n  text-align: center;\n}\n\n.item-dropdown-icon[_ngcontent-%COMP%] {\n  color: var(--sidenav-item-icon-color);\n  font-size: 18px;\n  height: 18px;\n  line-height: 18px;\n  -webkit-margin-start: var(--padding-8);\n          margin-inline-start: var(--padding-8);\n  transform: rotate(0deg) !important;\n  width: 18px;\n}\n\n.item-dropdown[_ngcontent-%COMP%] {\n  overflow: hidden;\n}\n\n.subheading[_ngcontent-%COMP%] {\n  box-sizing: border-box;\n  color: var(--sidenav-item-color);\n  font: var(--font-caption);\n  margin-top: var(--padding);\n  padding: var(--padding-12) var(--padding);\n  text-transform: uppercase;\n  white-space: nowrap;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2xheW91dC9zaWRlbmF2L3NpZGVuYXYtaXRlbS9zaWRlbmF2LWl0ZW0uY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxtQkFBQTtFQUNBLHNCQUFBO0VBQ0EsZ0NBQUE7RUFDQSxlQUFBO0VBQ0EsYUFBQTtFQUNBLG1CQUFBO0VBQ0EsZ0JBQUE7RUFDQSxxREFBQTtFQUNBLGtCQUFBO0VBQ0EscUJBQUE7RUFDQSxpQ0FBQTtFQUNBLHlCQUFBO0tBQUEsc0JBQUE7TUFBQSxxQkFBQTtVQUFBLGlCQUFBO0VBQ0EsV0FBQTtFQUNBLHVDQUFBO0FBQ0Y7O0FBRUE7RUFDRSxpREFBQTtFQUNBLDBEQUFBO0FBQ0Y7O0FBRUE7RUFDRSw0Q0FBQTtBQUNGOztBQUVBO0VBQ0UsdUNBQUE7QUFDRjs7QUFFQTtFQUNFLHVDQUFBO0FBQ0Y7O0FBRUE7RUFDRSxnQkFBQTtBQUNGOztBQUVBO0VBQ0UsbUNBQUE7QUFDRjs7QUFFQTtFQUNFLG1EQUFBO0VBQ0EsZ0tBQUE7VUFBQSwrSkFBQTtBQUNGOztBQUVBO0VBQ0UseURBQUE7QUFDRjs7QUFFQTtFQUNFLG1EQUFBO0VBQ0EsZ0tBQUE7VUFBQSwrSkFBQTtBQUNGOztBQUVBO0VBQ0UseURBQUE7QUFDRjs7QUFFQTtFQUNFLG1EQUFBO0VBQ0EsZ0tBQUE7VUFBQSwrSkFBQTtBQUNGOztBQUVBO0VBQ0UseURBQUE7QUFDRjs7QUFFQTtFQUNFLG1EQUFBO0VBQ0EsZ0tBQUE7VUFBQSwrSkFBQTtBQUNGOztBQUVBO0VBQ0UseURBQUE7QUFDRjs7QUFFQTtFQUNFLG1EQUFBO0VBQ0EsZ0tBQUE7VUFBQSwrSkFBQTtBQUNGOztBQUVBO0VBQ0UseURBQUE7QUFDRjs7QUFFQTtFQUNFLG1EQUFBO0VBQ0EsZ0tBQUE7VUFBQSwrSkFBQTtBQUNGOztBQUVBO0VBQ0UseURBQUE7QUFDRjs7QUFFQTtFQUNFLG1CQUFBO0FBQ0Y7O0FBRUE7RUFDRSxxQ0FBQTtFQUNBLHdDQUFBO0VBQ0EscUNBQUE7RUFDQSxnREFBQTtVQUFBLCtDQUFBO0VBQ0Esb0NBQUE7QUFDRjs7QUFFQTtFQUNFLE9BQUE7QUFDRjs7QUFFQTtFQUNFLHFCQUFBO0VBQ0EsZUFBQTtFQUNBLGlCQUFBO0VBQ0Esc0NBQUE7VUFBQSxxQ0FBQTtFQUNBLGNBQUE7RUFDQSxrQkFBQTtBQUNGOztBQUVBO0VBQ0UscUNBQUE7RUFDQSxlQUFBO0VBQ0EsWUFBQTtFQUNBLGlCQUFBO0VBQ0Esc0NBQUE7VUFBQSxxQ0FBQTtFQUNBLGtDQUFBO0VBQ0EsV0FBQTtBQUNGOztBQUVBO0VBQ0UsZ0JBQUE7QUFDRjs7QUFFQTtFQUNFLHNCQUFBO0VBQ0EsZ0NBQUE7RUFDQSx5QkFBQTtFQUNBLDBCQUFBO0VBQ0EseUNBQUE7RUFDQSx5QkFBQTtFQUNBLG1CQUFBO0FBQ0YiLCJmaWxlIjoic3JjL0B2ZXgvbGF5b3V0L3NpZGVuYXYvc2lkZW5hdi1pdGVtL3NpZGVuYXYtaXRlbS5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5pdGVtIHtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgY29sb3I6IHZhcigtLXNpZGVuYXYtaXRlbS1jb2xvcik7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgbWluLWhlaWdodDogNDhweDtcbiAgcGFkZGluZzogdmFyKC0tcGFkZGluZy04KSB2YXIoLS1zaWRlbmF2LWl0ZW0tcGFkZGluZyk7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICB0cmFuc2l0aW9uOiB2YXIoLS10cmFucy1lYXNlLW91dCk7XG4gIHVzZXItc2VsZWN0OiBub25lO1xuICB3aWR0aDogMTAwJTtcbiAgYm9yZGVyLWxlZnQ6IHZhcigtLXNpZGVuYXYtaXRlbS1ib3JkZXIpO1xufVxuXG4uaXRlbTpob3ZlciwgLml0ZW0uYWN0aXZlIHtcbiAgYmFja2dyb3VuZDogdmFyKC0tc2lkZW5hdi1pdGVtLWJhY2tncm91bmQtYWN0aXZlKTtcbiAgYm9yZGVyLWxlZnQtY29sb3I6IHZhcigtLXNpZGVuYXYtaXRlbS1ib3JkZXItY29sb3ItYWN0aXZlKTtcbn1cblxuLml0ZW06aG92ZXIgLml0ZW0taWNvbiwgLml0ZW0uYWN0aXZlIC5pdGVtLWljb24ge1xuICBjb2xvcjogdmFyKC0tc2lkZW5hdi1pdGVtLWljb24tY29sb3ItYWN0aXZlKTtcbn1cblxuLml0ZW06aG92ZXIgLml0ZW0tbGFiZWwsIC5pdGVtLmFjdGl2ZSAuaXRlbS1sYWJlbCB7XG4gIGNvbG9yOiB2YXIoLS1zaWRlbmF2LWl0ZW0tY29sb3ItYWN0aXZlKTtcbn1cblxuLml0ZW06aG92ZXIgLml0ZW0tZHJvcGRvd24taWNvbiwgLml0ZW0uYWN0aXZlIC5pdGVtLWRyb3Bkb3duLWljb24ge1xuICBjb2xvcjogdmFyKC0tc2lkZW5hdi1pdGVtLWNvbG9yLWFjdGl2ZSk7XG59XG5cbi5pdGVtLmFjdGl2ZSB7XG4gIGZvbnQtd2VpZ2h0OiA4MDA7XG59XG5cbi5pdGVtLm9wZW4gLml0ZW0tZHJvcGRvd24taWNvbiB7XG4gIHRyYW5zZm9ybTogcm90YXRlKDkwZGVnKSAhaW1wb3J0YW50O1xufVxuXG46aG9zdCguaXRlbS1sZXZlbC0xKSAuaXRlbSB7XG4gIGJhY2tncm91bmQ6IHZhcigtLXNpZGVuYXYtaXRlbS1kcm9wZG93bi1iYWNrZ3JvdW5kKTtcbiAgcGFkZGluZy1pbmxpbmUtc3RhcnQ6IGNhbGModmFyKC0tc2lkZW5hdi1pdGVtLWljb24tc2l6ZSkgKyB2YXIoLS1zaWRlbmF2LWl0ZW0taWNvbi1nYXApICsgdmFyKC0tc2lkZW5hdi1pdGVtLXBhZGRpbmcpICsgKHZhcigtLXNpZGVuYXYtaXRlbS1kcm9wZG93bi1nYXApICogMCkpO1xufVxuXG46aG9zdCguaXRlbS1sZXZlbC0xKSAuaXRlbTpob3ZlciB7XG4gIGJhY2tncm91bmQ6IHZhcigtLXNpZGVuYXYtaXRlbS1kcm9wZG93bi1iYWNrZ3JvdW5kLWhvdmVyKTtcbn1cblxuOmhvc3QoLml0ZW0tbGV2ZWwtMikgLml0ZW0ge1xuICBiYWNrZ3JvdW5kOiB2YXIoLS1zaWRlbmF2LWl0ZW0tZHJvcGRvd24tYmFja2dyb3VuZCk7XG4gIHBhZGRpbmctaW5saW5lLXN0YXJ0OiBjYWxjKHZhcigtLXNpZGVuYXYtaXRlbS1pY29uLXNpemUpICsgdmFyKC0tc2lkZW5hdi1pdGVtLWljb24tZ2FwKSArIHZhcigtLXNpZGVuYXYtaXRlbS1wYWRkaW5nKSArICh2YXIoLS1zaWRlbmF2LWl0ZW0tZHJvcGRvd24tZ2FwKSAqIDEpKTtcbn1cblxuOmhvc3QoLml0ZW0tbGV2ZWwtMikgLml0ZW06aG92ZXIge1xuICBiYWNrZ3JvdW5kOiB2YXIoLS1zaWRlbmF2LWl0ZW0tZHJvcGRvd24tYmFja2dyb3VuZC1ob3Zlcik7XG59XG5cbjpob3N0KC5pdGVtLWxldmVsLTMpIC5pdGVtIHtcbiAgYmFja2dyb3VuZDogdmFyKC0tc2lkZW5hdi1pdGVtLWRyb3Bkb3duLWJhY2tncm91bmQpO1xuICBwYWRkaW5nLWlubGluZS1zdGFydDogY2FsYyh2YXIoLS1zaWRlbmF2LWl0ZW0taWNvbi1zaXplKSArIHZhcigtLXNpZGVuYXYtaXRlbS1pY29uLWdhcCkgKyB2YXIoLS1zaWRlbmF2LWl0ZW0tcGFkZGluZykgKyAodmFyKC0tc2lkZW5hdi1pdGVtLWRyb3Bkb3duLWdhcCkgKiAyKSk7XG59XG5cbjpob3N0KC5pdGVtLWxldmVsLTMpIC5pdGVtOmhvdmVyIHtcbiAgYmFja2dyb3VuZDogdmFyKC0tc2lkZW5hdi1pdGVtLWRyb3Bkb3duLWJhY2tncm91bmQtaG92ZXIpO1xufVxuXG46aG9zdCguaXRlbS1sZXZlbC00KSAuaXRlbSB7XG4gIGJhY2tncm91bmQ6IHZhcigtLXNpZGVuYXYtaXRlbS1kcm9wZG93bi1iYWNrZ3JvdW5kKTtcbiAgcGFkZGluZy1pbmxpbmUtc3RhcnQ6IGNhbGModmFyKC0tc2lkZW5hdi1pdGVtLWljb24tc2l6ZSkgKyB2YXIoLS1zaWRlbmF2LWl0ZW0taWNvbi1nYXApICsgdmFyKC0tc2lkZW5hdi1pdGVtLXBhZGRpbmcpICsgKHZhcigtLXNpZGVuYXYtaXRlbS1kcm9wZG93bi1nYXApICogMykpO1xufVxuXG46aG9zdCguaXRlbS1sZXZlbC00KSAuaXRlbTpob3ZlciB7XG4gIGJhY2tncm91bmQ6IHZhcigtLXNpZGVuYXYtaXRlbS1kcm9wZG93bi1iYWNrZ3JvdW5kLWhvdmVyKTtcbn1cblxuOmhvc3QoLml0ZW0tbGV2ZWwtNSkgLml0ZW0ge1xuICBiYWNrZ3JvdW5kOiB2YXIoLS1zaWRlbmF2LWl0ZW0tZHJvcGRvd24tYmFja2dyb3VuZCk7XG4gIHBhZGRpbmctaW5saW5lLXN0YXJ0OiBjYWxjKHZhcigtLXNpZGVuYXYtaXRlbS1pY29uLXNpemUpICsgdmFyKC0tc2lkZW5hdi1pdGVtLWljb24tZ2FwKSArIHZhcigtLXNpZGVuYXYtaXRlbS1wYWRkaW5nKSArICh2YXIoLS1zaWRlbmF2LWl0ZW0tZHJvcGRvd24tZ2FwKSAqIDQpKTtcbn1cblxuOmhvc3QoLml0ZW0tbGV2ZWwtNSkgLml0ZW06aG92ZXIge1xuICBiYWNrZ3JvdW5kOiB2YXIoLS1zaWRlbmF2LWl0ZW0tZHJvcGRvd24tYmFja2dyb3VuZC1ob3Zlcik7XG59XG5cbjpob3N0KC5pdGVtLWxldmVsLTYpIC5pdGVtIHtcbiAgYmFja2dyb3VuZDogdmFyKC0tc2lkZW5hdi1pdGVtLWRyb3Bkb3duLWJhY2tncm91bmQpO1xuICBwYWRkaW5nLWlubGluZS1zdGFydDogY2FsYyh2YXIoLS1zaWRlbmF2LWl0ZW0taWNvbi1zaXplKSArIHZhcigtLXNpZGVuYXYtaXRlbS1pY29uLWdhcCkgKyB2YXIoLS1zaWRlbmF2LWl0ZW0tcGFkZGluZykgKyAodmFyKC0tc2lkZW5hdi1pdGVtLWRyb3Bkb3duLWdhcCkgKiA1KSk7XG59XG5cbjpob3N0KC5pdGVtLWxldmVsLTYpIC5pdGVtOmhvdmVyIHtcbiAgYmFja2dyb3VuZDogdmFyKC0tc2lkZW5hdi1pdGVtLWRyb3Bkb3duLWJhY2tncm91bmQtaG92ZXIpO1xufVxuXG4uaXRlbS1pY29uLCAuaXRlbS1sYWJlbCwgLml0ZW0tZHJvcGRvd24taWNvbiB7XG4gIHRyYW5zaXRpb246IGluaGVyaXQ7XG59XG5cbi5pdGVtLWljb24ge1xuICBjb2xvcjogdmFyKC0tc2lkZW5hdi1pdGVtLWljb24tY29sb3IpO1xuICBmb250LXNpemU6IHZhcigtLXNpZGVuYXYtaXRlbS1pY29uLXNpemUpO1xuICBoZWlnaHQ6IHZhcigtLXNpZGVuYXYtaXRlbS1pY29uLXNpemUpO1xuICBtYXJnaW4taW5saW5lLWVuZDogdmFyKC0tc2lkZW5hdi1pdGVtLWljb24tZ2FwKTtcbiAgd2lkdGg6IHZhcigtLXNpZGVuYXYtaXRlbS1pY29uLXNpemUpO1xufVxuXG4uaXRlbS1sYWJlbCB7XG4gIGZsZXg6IDE7XG59XG5cbi5pdGVtLWJhZGdlIHtcbiAgYm9yZGVyLXJhZGl1czogOTk5OXB4O1xuICBmb250LXNpemU6IDExcHg7XG4gIGxpbmUtaGVpZ2h0OiAyMHB4O1xuICBtYXJnaW4taW5saW5lLXN0YXJ0OiB2YXIoLS1wYWRkaW5nLTgpO1xuICBwYWRkaW5nOiAwIDdweDtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xufVxuXG4uaXRlbS1kcm9wZG93bi1pY29uIHtcbiAgY29sb3I6IHZhcigtLXNpZGVuYXYtaXRlbS1pY29uLWNvbG9yKTtcbiAgZm9udC1zaXplOiAxOHB4O1xuICBoZWlnaHQ6IDE4cHg7XG4gIGxpbmUtaGVpZ2h0OiAxOHB4O1xuICBtYXJnaW4taW5saW5lLXN0YXJ0OiB2YXIoLS1wYWRkaW5nLTgpO1xuICB0cmFuc2Zvcm06IHJvdGF0ZSgwZGVnKSAhaW1wb3J0YW50O1xuICB3aWR0aDogMThweDtcbn1cblxuLml0ZW0tZHJvcGRvd24ge1xuICBvdmVyZmxvdzogaGlkZGVuO1xufVxuXG4uc3ViaGVhZGluZyB7XG4gIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG4gIGNvbG9yOiB2YXIoLS1zaWRlbmF2LWl0ZW0tY29sb3IpO1xuICBmb250OiB2YXIoLS1mb250LWNhcHRpb24pO1xuICBtYXJnaW4tdG9wOiB2YXIoLS1wYWRkaW5nKTtcbiAgcGFkZGluZzogdmFyKC0tcGFkZGluZy0xMikgdmFyKC0tcGFkZGluZyk7XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIHdoaXRlLXNwYWNlOiBub3dyYXA7XG59Il19 */"], data: { animation: [_animations_dropdown_animation__WEBPACK_IMPORTED_MODULE_2__["dropdownAnimation"]] }, changeDetection: 0 });
SidenavItemComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_4__["UntilDestroy"])()
], SidenavItemComponent);

/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](SidenavItemComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
        args: [{
                selector: 'vex-sidenav-item',
                templateUrl: './sidenav-item.component.html',
                styleUrls: ['./sidenav-item.component.scss'],
                animations: [_animations_dropdown_animation__WEBPACK_IMPORTED_MODULE_2__["dropdownAnimation"]],
                changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectionStrategy"].OnPush
            }]
    }], function () { return [{ type: _angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"] }, { type: _services_navigation_service__WEBPACK_IMPORTED_MODULE_8__["NavigationService"] }, { type: src_app_services_school_service__WEBPACK_IMPORTED_MODULE_9__["SchoolService"] }, { type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_10__["DefaultValuesService"] }]; }, { item: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
        }], level: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
        }], levelClass: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["HostBinding"],
            args: ['class']
        }] }); })();


/***/ }),

/***/ "./src/@vex/layout/sidenav/sidenav-item/sidenav-item.module.ts":
/*!*********************************************************************!*\
  !*** ./src/@vex/layout/sidenav/sidenav-item/sidenav-item.module.ts ***!
  \*********************************************************************/
/*! exports provided: SidenavItemModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SidenavItemModule", function() { return SidenavItemModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _sidenav_item_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./sidenav-item.component */ "./src/@vex/layout/sidenav/sidenav-item/sidenav-item.component.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/flex-layout */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex-layout.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");










class SidenavItemModule {
}
SidenavItemModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: SidenavItemModule });
SidenavItemModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function SidenavItemModule_Factory(t) { return new (t || SidenavItemModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"],
            _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__["MatIconModule"],
            _angular_material_core__WEBPACK_IMPORTED_MODULE_5__["MatRippleModule"],
            _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_6__["IconModule"],
            _angular_flex_layout__WEBPACK_IMPORTED_MODULE_7__["FlexLayoutModule"],
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslateModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](SidenavItemModule, { declarations: [_sidenav_item_component__WEBPACK_IMPORTED_MODULE_2__["SidenavItemComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"],
        _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__["MatIconModule"],
        _angular_material_core__WEBPACK_IMPORTED_MODULE_5__["MatRippleModule"],
        _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_6__["IconModule"],
        _angular_flex_layout__WEBPACK_IMPORTED_MODULE_7__["FlexLayoutModule"],
        _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslateModule"]], exports: [_sidenav_item_component__WEBPACK_IMPORTED_MODULE_2__["SidenavItemComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SidenavItemModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_sidenav_item_component__WEBPACK_IMPORTED_MODULE_2__["SidenavItemComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"],
                    _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__["MatIconModule"],
                    _angular_material_core__WEBPACK_IMPORTED_MODULE_5__["MatRippleModule"],
                    _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_6__["IconModule"],
                    _angular_flex_layout__WEBPACK_IMPORTED_MODULE_7__["FlexLayoutModule"],
                    _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslateModule"]
                ],
                exports: [_sidenav_item_component__WEBPACK_IMPORTED_MODULE_2__["SidenavItemComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/layout/sidenav/sidenav.component.ts":
/*!******************************************************!*\
  !*** ./src/@vex/layout/sidenav/sidenav.component.ts ***!
  \******************************************************/
/*! exports provided: SidenavComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SidenavComponent", function() { return SidenavComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _utils_track_by__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/track-by */ "./src/@vex/utils/track-by.ts");
/* harmony import */ var _iconify_icons_ic_twotone_switch_left__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @iconify/icons-ic/twotone-switch-left */ "./node_modules/@iconify/icons-ic/twotone-switch-left.js");
/* harmony import */ var _iconify_icons_ic_twotone_switch_left__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_switch_left__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _iconify_icons_ic_twotone_switch_right__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @iconify/icons-ic/twotone-switch-right */ "./node_modules/@iconify/icons-ic/twotone-switch-right.js");
/* harmony import */ var _iconify_icons_ic_twotone_switch_right__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_switch_right__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _iconify_icons_ic_arrow_drop_down__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @iconify/icons-ic/arrow-drop-down */ "./node_modules/@iconify/icons-ic/arrow-drop-down.js");
/* harmony import */ var _iconify_icons_ic_arrow_drop_down__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_arrow_drop_down__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _change_password_change_password_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./change-password/change-password.component */ "./src/@vex/layout/sidenav/change-password/change-password.component.ts");
/* harmony import */ var src_app_enums_school_create_enum__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! src/app/enums/school-create.enum */ "./src/app/enums/school-create.enum.ts");
/* harmony import */ var _services_navigation_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../services/navigation.service */ "./src/@vex/services/navigation.service.ts");
/* harmony import */ var _services_layout_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../services/layout.service */ "./src/@vex/services/layout.service.ts");
/* harmony import */ var _services_config_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../services/config.service */ "./src/@vex/services/config.service.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var src_app_services_staff_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! src/app/services/staff.service */ "./src/app/services/staff.service.ts");
/* harmony import */ var src_app_common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! src/app/common/page-roles-permissions.service */ "./src/app/common/page-roles-permissions.service.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var src_app_services_common_service__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! src/app/services/common.service */ "./src/app/services/common.service.ts");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _components_scrollbar_scrollbar_component__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../components/scrollbar/scrollbar.component */ "./src/@vex/components/scrollbar/scrollbar.component.ts");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _sidenav_item_sidenav_item_component__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./sidenav-item/sidenav-item.component */ "./src/@vex/layout/sidenav/sidenav-item/sidenav-item.component.ts");


// import icRadioButtonChecked from '@iconify/icons-ic/twotone-radio-button-checked';
// import icRadioButtonUnchecked from '@iconify/icons-ic/twotone-radio-button-unchecked';
























function SidenavComponent_a_3_Template(rf, ctx) { if (rf & 1) {
    const _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SidenavComponent_a_3_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9); const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r8.logOut(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "mat-icon");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "chevron_left");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} }
function SidenavComponent_img_5_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "img", 14);
} if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", "data:image/jpeg;base64," + ctx_r1.tenantLogoIcon, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"])("alt", ctx_r1.tenantName + " Logo");
} }
function SidenavComponent_img_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "img", 15);
} if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", "data:image/jpeg;base64," + ctx_r2.tenantSidenavLogo, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"])("alt", ctx_r2.tenantName + " Logo");
} }
function SidenavComponent_img_7_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "img", 16);
} if (rf & 2) {
    const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", "data:image/jpeg;base64," + ctx_r3.tenantSidenavLogo, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"])("alt", ctx_r3.tenantName + " Logo");
} }
function SidenavComponent_button_8_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "mat-icon", 19);
} if (rf & 2) {
    const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r10.icCollapseSidebar);
} }
function SidenavComponent_button_8_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "mat-icon", 19);
} if (rf & 2) {
    const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r11.icExpandSidebar);
} }
function SidenavComponent_button_8_Template(rf, ctx) { if (rf & 1) {
    const _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SidenavComponent_button_8_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13); const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r12.toggleCollapse(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SidenavComponent_button_8_mat_icon_1_Template, 1, 1, "mat-icon", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, SidenavComponent_button_8_mat_icon_2_Template, 1, 1, "mat-icon", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r4.collapsed);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r4.collapsed);
} }
function SidenavComponent_div_10_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 21);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "The system menu will become accessible after you complete ");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "steps 1 through 4");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} }
function SidenavComponent_vex_sidenav_item_13_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "vex-sidenav-item", 23);
} if (rf & 2) {
    const item_r14 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", item_r14)("level", 0);
} }
function SidenavComponent_button_14_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "mat-icon", 19);
} if (rf & 2) {
    const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r15.icCollapseSidebar);
} }
function SidenavComponent_button_14_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "mat-icon", 19);
} if (rf & 2) {
    const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r16.icExpandSidebar);
} }
function SidenavComponent_button_14_Template(rf, ctx) { if (rf & 1) {
    const _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 24);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SidenavComponent_button_14_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r18); const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r17.toggleCollapse(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SidenavComponent_button_14_mat_icon_1_Template, 1, 1, "mat-icon", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, SidenavComponent_button_14_mat_icon_2_Template, 1, 1, "mat-icon", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r7.collapsed);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r7.collapsed);
} }
class SidenavComponent {
    constructor(navigationService, layoutService, configService, router, staffService, pageRolePermission, translateService, dialog, commonService, defaultValuesService) {
        this.navigationService = navigationService;
        this.layoutService = layoutService;
        this.configService = configService;
        this.router = router;
        this.staffService = staffService;
        this.pageRolePermission = pageRolePermission;
        this.translateService = translateService;
        this.dialog = dialog;
        this.commonService = commonService;
        this.defaultValuesService = defaultValuesService;
        this.collapsedOpen$ = this.layoutService.sidenavCollapsedOpen$;
        this.title$ = this.configService.config$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["map"])(config => config.sidenav.title));
        this.imageUrl$ = this.configService.config$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["map"])(config => config.sidenav.imageUrl));
        this.showCollapsePin$ = this.configService.config$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["map"])(config => config.sidenav.showCollapsePin));
        this.items = this.navigationService.items;
        this.trackByRoute = _utils_track_by__WEBPACK_IMPORTED_MODULE_1__["trackByRoute"];
        // icRadioButtonChecked = icRadioButtonChecked;
        // icRadioButtonUnchecked = icRadioButtonUnchecked;
        this.icCollapseSidebar = _iconify_icons_ic_twotone_switch_left__WEBPACK_IMPORTED_MODULE_2___default.a;
        this.icExpandSidebar = _iconify_icons_ic_twotone_switch_right__WEBPACK_IMPORTED_MODULE_3___default.a;
        this.icArrowDropDown = _iconify_icons_ic_arrow_drop_down__WEBPACK_IMPORTED_MODULE_4___default.a;
        this.destroySubject$ = new rxjs__WEBPACK_IMPORTED_MODULE_6__["Subject"]();
        // this.tenantSidenavLogo = this.defaultValuesService.getTenantData().tenantSidenavLogo;
        // this.tenantLogoIcon = this.defaultValuesService.getTenantData().tenantLogoIcon;
        this.tenantSidenavLogo = 'iVBORw0KGgoAAAANSUhEUgAAAIMAAAAkCAYAAACqhIkwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA2IDc5LmRhYmFjYmIsIDIwMjEvMDQvMTQtMDA6Mzk6NDQgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCAyMi40IChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpCODIwQjk0NUJENjExMUVCQkY3MDkzNkNDNjFEMDU0NSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpCODIwQjk0NkJENjExMUVCQkY3MDkzNkNDNjFEMDU0NSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkI4MjBCOTQzQkQ2MTExRUJCRjcwOTM2Q0M2MUQwNTQ1IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkI4MjBCOTQ0QkQ2MTExRUJCRjcwOTM2Q0M2MUQwNTQ1Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+U9ivlwAAEeNJREFUeNrsXAl0VPXVv+/NTCb7nrCEJSwmAmGV1bqwGRSUgyJYQ1GjKKiIfha+gg0Fgi3HtljLZwtIC4q0EmTzYGiQAAUrKrIlyCImLA0JYbJnkslk1t77cl/452WSzOSzHktzz7ln3rx93v39f/d37/8lktvthg7rMDJ9v379ICYmBqqqqsBisYDZbAaHwwFLly6FgQMHQnl5ebODampqIDAw8NHu3bunhIaGjsFjLmdnZ3+Ex7zR2sUOps6DcYOGgrWsBGQ/I/iVlMPcjevgndqKW/5Bvx3WGV4MiYUKR/2/9ToRdhesiQqAlVH+EI/LPoHB00oCg06nA6PRCHp9wy6SJCmf9fX10KVLlw0IhDl+fn7KOvzeefTo0WNGjhw5a/r06RMRLCZP57XZ7QCy3DEEf6DWLDIGg0FhCfLevXtDdHS0whyxsbEQFhYGERERc3v27DlHxqBWVlZCbW0tFBUVQV5eHiQnJw9MT0//pKWL9YqIRETUdzz1H2qaaIYODDIxwp49exQAULCJKciRJfR33333b1wul8IQZLRMLGK1WiE3NxcmT548eM2aNclXrlxpAopH+g2AhH5J4Cgu7Hjq/ylgIEEZFRUFx48fV74PGzZMYQDSEsgIt02dOjXEjnRPICHtYLPZFDYhJyMNMmTIkIdFMMiYYn7/8GOYY6zgcHUI1v+YNNEoRCIi4OLFi3DhwgWFFQgMCAI5ODhYCby/v7+iI6qrq6GsrEwRn/Td6XQSWwSL59oycxZ065sA9rLSRu3RYT9AMFBakDWijtiBUgWtz8nJgQMHDsCxY8dgx44d3yJLWLp166akBtIQ4eHhyjIxBAlKAsapU6eOqedaOj4ZHr9vCjgKC8CF+7EabRCSKE4NHeD44YABR3EEBnMojvRQGu006tURTsGlZUoHdXV1FGjbqlWr0rGsVFIJVRohISHKMcQePXr0IK3hLCgoeI9Onjbhfkif9TRAeSkCAUEXGgIQGQH+yDp+oeGRIOuHuNzuoI4wfK+2CH0fVfrou9DvbtQM+fn5RqwGpmNApyITxCIATiA49mCgaeeLBAoKPIGBUsKWLVveSExMHJuWlnZ/XFwcFBcXQ+fOnRVm2LFzJyxbtuwRPK563YwUmPvwTIC6WrD56cFlqR3qX2RKBlPZJCgxDc4qu2HaeP2f2/dbqlZ3xOe7NRsOYOowEOcKCi0c/ST72+jUQLoHfQf6dvQXRI4eTivQU4n2iRXQc5AtMhEY72PquEBgIJYgGzt27MKZM2fORUD0LSwsrPtg187Dn+7PXt4jOOTLva8thwGDhoA7N/fOmnMXnjDmX032Ky3vhSCAzZVFeCe2P38FsBZPc+K/JUDfZ9NpXaQ/LIkOgARcFtpO9KyvoM9H74uONA170UPRq9AXe0rYJP5eQv+V2mwi/RAQEHAQQbEOReSHVF2I7QN0C/qN/3lwGqyemaKXikvnmf+WlWr/Nn9YZHk1gMMO29119l/aq9NOg/sPuG+tl+KWRIa9AwzeW7jTDfl+MjzSJRgcGLughumGWejL0BPQqUz8Ar0UPQV9NHp39D2tqbdO6NReflJdQWyBTJGD+mBZfX39R5RCKFqzR98FK2Y9AT2c8ovw8d4lJUc/jzPW2yE0LAIuyw54ofTqxixwLcFdTT78LvXe3B1g8K08DENGWNA5CN4NM0J/mxOcAFtx9WV0isGXDI48yigUPvQM9MzWesM30J9Cn4ZepuQi1AWYKgYjGHYjS2zDVYHLk6fApiXL4nscO3WsYkna26YDh+IigkIgtEscbLZXmXqXXp6KQHjmnokTTbNnz1b0hSebPHkyJCUlNSlqbhUgfJ/m5M8Ucz0EutxQ1zCkqAmkdvsc6O+iW0njMxDIKr2ZKPgIvT8jClRQIDPMwMX1lyrLJVi7IdP8/l9HODGdRKKo1CODLCy9/MWTZlOSX2zMHqxA4K/vvhs+f/78UNIdWlu5ciVkZmbCmTNn4K233vpvix9R9Aim8P+P9aHzYOx7VRtkGF3jgMfNNrho0IHeDfTQB6gEj/4s+mb03sLxcd7OGpk4t2Rr1g87lHvaWHnqdFxQTCzNZIIbU8fskktZq63VYxKSkkqytmboUGhuRuFZEB8fX4CBX6s9ea9evRqXX375ZapYbrmI66FZRibhto1FHfVlvkE/wuJOtDj0b9Hz0T+H5l3jnuifMO3TeS6hyNrjlqXwxWV1kGh3QqFe3oDpfCYzxEV0qgKeY81AVE0Du6tPU4goJqdh+SkKuirUEahSgirdKFYCZT1k11WVb7FZHujWtw/s3LqVJrs2WyyW2Sg8g5FNQl999dV5L7300ibxvJGRkY3L1OqeNWsWbN68WRGut4q5lIwnqXlPz+p+hqYLTDX/V6z0VTMyQHrzgBT3j0bPRb9PoxseLDdIn3Wqd+reNFnALMNRiwS7EI4luPl36AVCufk8g/LFFsGglpcUEHJaDgoKcqFWsIp5XZYkt9hirmlQqeDvZ4TDhw/7mc3mFGpIXb16VUkD+fn5MG7cuKf4RmDUqFHwwAMP3Mx5yCwECNIXCQkJtwwYzjlQq0mNEmiVwAA3mLKvCQF63YMMICvW6Kg/MsMAMwOdx6wAwg39q426+eMxVSyorIdLBnmO3BD0dejvU4pH38KAJNbYL3sCAc0/UKuZuou0jCBQPrG8DNbSlPKmlLuROiBAlpUZq7xz5yAtLc2JQKnt37+/EuDr168rpSq/MOOma2RlZTW5vtoFJcPraW+P8t1Q9PHoI0k4+xAPGmE/Qp+AntiOeIbwgxf5vj9XXS1ZEB8nf2w1g9leD8GSLLGaV8XcOK7YJgvHLYBW5o3YwjiQZPR20GA+z08aWRZgoVsnw6JyK9xhdUKJTqLU8ASlEq4kKC2Rav8QxMDSPATlfAoGLdPUtPpKnDrypYaFJslPaVnrdQwKVK9Wi2QIDYF7xtwJB/btcz777LOLjh49+seHHnoILl26pEx+zZ07982YmJgqXK/MbaDdTkEqLi7udOTIkQ9RX5yhe7h2TR0s0BX9VfR5/IBF+zNT39lWHtzL6MtVNmL7mBswV1s4Jo6Ddi/6GOrn8PoAVuLEbpt4JA7nXKy1f7CwG3bFac8rcjkgUe/vX+t2qWmAAnKel8+gn1YySoN+0PN2aOX+VLvGvR6yLGaJMkTTl+U6CaLqnfB8VT3Mjw2ECKf7nNTQc/Cga3gE0uinuQaedWwCAkEzNC9lcH837k/bbMXF0CexT/ylk0eOOUpK1296Z8P29PT0tV27dr2OwnDhyZMnjdu2bVszfvz49zMyMvpFR0dPx1PMPXHiRLcNGzZ8jToho66urkxziWT03RwE4HZqAedLGunPsM9j6tPar7kfDyzAqplZHuR2bCLTr2h0Lq3QLWYh7eDv8wXGyGDG0lo33m7Q32ydUIDruLkXyEA6zvsP9YGpxPcRE/h5lPL5bxP7DoBkFI5lprGNQl2mqWqiaxqJlNvbeEG2GTMowOFjdIFBUHTjelHmrt394uO6/WnFihXF2dnZKzE97F68ePFdZ8+eHbFx48asAwcObEIgnCssLFz53HPPycOHD390/fr1AxEIlCuLhNPfyZMqAfzAKXB3cO/jLvQu6P/H+1IufFpzv6MFIEzh893P1P53pv3dmmPSBSDQyJ/I1+/CVOwQnzPbEC4Ptaa+3Omkg0qRGUCSnULwwQPovDUC59dCCtzU2s4WSWqzaSMTzSujGwNKo7sNb3W+WRcZARZzjWnejx8PSZ4y5WelpaX+EyZMSMvJyTENHDiwywcffJCcmppqQtA9tX37dhg0aNAiZIQ4nizx1Bbfx8u/R/+xByou5vz6ipAyegrb5/LnG9yHF4NEoKB24CjO/WST0Jfy8gwG1wFOC1oz8OcGtcnYVvSO1FuUqXscPq9p5oTWtBMQPxOWiekWetwLUWBGdqCUoW8FEbKaEtrRJm5uyCzhwWFKi3H/3r2/vv3222fm5ubaEhMTY5KSkp45ePDgbHpDCtmhYsaMGckoJH/bynUWMCC+FoLdkhFYdvLyGk0jBrgO11q9kK/jBDAB9/G3t3FN9bGu5u7eSA89giaWUYcZyuUkmjnNDKQazQX9oh1g2MuVgWq/QU/V7mRHEIyoc8BtNhd84ycrUwhSC63s7wYIjWlDYURDl+7dYdKkSR/m5eUVYHoAk8lkRSCU01R4ZmbmYcJLG6dSFffrXt7bEv6cyrQJgs5wtnBMLH/mcPMljptA6T48k29YoAIL2RYtx2GFQ9ZqCNQZCEnLuL5XbQX6/7YDEFQdHBW+b+RmUqNV6yXob3XAnmtmGIpi8rRRh2mjYRawmYD01jCVSF4AQtke27UrpKSk0FyGfOXKFWphO7FKcFO/wWg0tgXCCKZuGn1/8/L2LrKAiuZy6QQrcyWDedg/lasUtcM6j5druTsX7OEYK+d4t6bE2yFQNWmL6y3dZFp1CXwWEKY8eEToY/xb7xPSGfUd3vMRECSET6EP5O9/YbY6zD0HKENGiLc54ZMCM7weFQDvhBuhAFNHD7sL/FEi0A/S+/JOIu8rtYEEZXuNuRrOnz9PPQOZmlb0NjW9R4mikV6mbQuEPYTcXu3DQ8ljMHTSULmBBV4Eq/uxQjWwmD/V3sOAFqoS1dZrmIYqhipOFz9F/63Aas0syWBUbsvdtFo6xPcEPIl0lFvQvsxPjWSGSxBSSE8eIAogShEQUQ43LDfVwuRaG7wXaoT9QQa4rpeVoOl9BYKXf46naE2qUMorKiQ3v1pPYKDeAYKhLQSaNTTvrUUKekC0AH7A2t+7hkcj92gUO8QjXW6BGVoSWSsYDCnMLLXacwTgM1kd2hkc+DycTUfVeAZyb6GzeJ+Pv93K1VMB92IC+Z5ebBT4GLoK1A+yTgcjLQ7FTwXq4ayfDqx4b3rw3bxhBpUgoKK8XHlz2kcwXGZGCOWy7bQX9xUs1NfnNdtsPGIH8CiiDlwmNLwHqNq3Aij+4NO0w00Ab+EO4HIuaZuMnEVB0RCMzFBhr8OnI2nF6Ay4+ebXRGYxX//usIK7kKr4ncYM6BaDR1/KDQ1CcihqiaEWx79HQGrnNiqQGegvrggMNH1NaQLB0dZ53EJZ+YqXl0zl+7um6VWoTLGExeXDPIIPavbZKdD24HaWeguFTxpo/1Q3hEoyLAiOALfL3huL+LV8/VXCsSc15W+fNq51B5e1R7gaUW2H0H8gTRTfUiAJxRU6GSoMDd4eMHjFDKYSFEqffUZVhERzEfQOBL0/SfMTXjCDqMyf5HZwa9ZVoPvX2gniMqZnYJXfnnf4Sfx9xMvPi53NYARDALrb7YqVGsTqOA9Nsgof7pnE4hxomOmcqdlW054B/J3/Fax65QoM+sGDB6EEQUHvTNJEFaULBIfy6YV9LnTV/sHU6VGTQcOLN6QLvtDU3b7aKzxXkcDqfEg7zvFToSQepz7nMrcTTE4nPnDdcW5Hq6Ut5fQY9EeFiSey/Daus09Y/hGnhBhOC6MEcF7x9sa9riaEDmSzA+jP53RMGhLwPgYDzXRKqBNkTBVK25pAQG61Wr1F69P8wKZwX2I30/ll/uFE+0/xvudYiLUrrQl6gVrW2ZwqCBBfMdioVKvkasLdyrnzudU9Fm5OL0M9Cu9chxXi/fwdyM+/Exjsba5ExJc3MjRzD55+D5WvW7kzS+t3sYj0F/bZ0IrgBQ9xlMAH99PcUE+jJEshOkNP0GGK1Bmgh07fiVGh9CUwNXQlZnA4HBEIgk6UMvCzuw8BelBoPBH6ac7+UwaFCoQ/QcMkT53mWLU17csf6hQxBf+KzzeCR9sq7jGobNpLmBfQ2gsagCkzo7vqzGpEf865Hjycg5pYz3hoewOXzJJmsFwQvotAOORrV1Pv6Z9xtGKlGNS/8M3Tj7xQUGO2pdrOv653OvsGYM1S6LSblZHjcJA+cGN6WO/EbagTvkAQnMPvMUznvthSHpEPcYOlG+fXT1l0tTR9PZ8f4Ekfr0cVx88ZhIM58FH8m9WRNofXeZoCp2qGZmQf4b6BAtLLTpsyqSc3XOBebrk/xt3PatYbqzSl8Q2hJ0L51SFso/MO4jmKaVyBlDKzvOlziu/4Nz4dptq/BBgAVFK7gSJLO+UAAAAASUVORK5CYII=';
        this.tenantLogoIcon = 'iVBORw0KGgoAAAANSUhEUgAAACYAAAAkCAYAAADl9UilAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA2IDc5LmRhYmFjYmIsIDIwMjEvMDQvMTQtMDA6Mzk6NDQgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCAyMi40IChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpEQzEyN0QxM0JENjExMUVCOURCNERCQjFDRjY5NEY1MiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpEQzEyN0QxNEJENjExMUVCOURCNERCQjFDRjY5NEY1MiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkRDMTI3RDExQkQ2MTExRUI5REI0REJCMUNGNjk0RjUyIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkRDMTI3RDEyQkQ2MTExRUI5REI0REJCMUNGNjk0RjUyIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+qZhNWgAACFFJREFUeNrMWHtQVOcVP3d3WZbXsossL3n4QASBCLb10SmOGLMqqSTGQqdYOrGJQ9vEP5qkmWkHnQx0RpvWjrWdxqYNaYyZtBCTSRiJU5AZprWNVMeKRhmrjQioLOyD97LL7tff+dxlFmRlcXQmd+Zw73K/+32/+zvn+51zriKEoC/joWRnZ5PJZKLBwUEaGxuj4eFhmpycpL1791J+fj7ZbLZ7HhoZGaHIyMhvpaWlVej1+nV45ouWlpaP8cwv7rdY664fUPFjheS09pNKG07afhtV1R2hN0ft08YxWZrZJmBgarWawsPDSaO5O0RRFHmemJig5OTkPwLU81qtVv4Pv5PWrl27bvXq1Tt37NixCcAts83rcruJVKqQGLtnVFhYmGSPbcmSJRQfHy8ZTUhIoNjYWDIajVUZGRnPq7CAw+Gg0dFRunXrFl27do3MZnN+TU3N34ItttgYB3QTIQG7hzFekJlqbGyUYHhhZpAN7GmKiop+6fV6JXN88DWz63Q6qaOjg0pKSlYePnzYfOPGjWkAn8nJpaycPJq80/tgwNi/CxYsoLNnz8rfq1atksxw7IGpZaWlpTFuuIQBc6y5XC7JMhsfOTk5VFBQsD0QmAph8Jvt30YcOGnSKx7Mlf4DLqOrV69SZ2enZIuBAZAqOjpagtDpdDLuhoaGyGq1yo3Dvz0eD7MYHTjXsfKdlJqZRW7rwFSszgmMXaeaEZDMGruT/3/hwgU6deoUtbe30/Hjx/8L9sZSU1Ol+zjmDAaDvGbmeDMwyPPnz7f759q70UzfeeJJmuztJi/G+XbS3U2AjRUWBKgKb2fExIVgQM8sMBv+N+eF+JpdNj4+zou69u/fXwOpkO7mHRsTEyOfYVbT09M5Nj3d3d3v8OTVj2+hmp3fJ7INABQI0McQxRlJB29o9YY4UmkKvEJEzapjmDQpIiLiRZxLwVACwJzDuRGAWnH/Kgc1M8LA2G0c7LW1tZ9WV1dvYfB37tyZirXmlhZ6+aWXnsJznxwpq6Cq7eVE46PkGsZzjsFC3YDdTBbrZuq3rDxp7bPU3b75QfNA30GH8DpmeiyQx6/CfgTbxUCYLdgFsHgCzLyLwZ0MjEHwsWHDhlfKy8urFi5cmNnb2zv+/kcftv29ueW19OiYM00/e41yHysg0dHx9ZHLnd8Lv95l1g7YFgMQHXXcot+R661/E72Bac7NxlawbMSB+1O+zwbmBMAJbIZT0LMyjqmZ8gRL5Isff/Np8h6t14jXf//iUHHpOWtqrhCRaUJok0RDWKyrgJRXMSxqrsCfK03yYn/2A2QDgwIp6D+IsafUvkDmv8+u/QZ1/fZNEof+9ILY9EyPJTJZDKrjhYhbJv4Xv1hsIdVbGJYQap4MNX9zzAzMBIhdW4/ryFrzkyQ+bl4kKn/YbotIEn2KUbhNWUKkrhTvxCT0Ycw2nmT9pk1UWVlJSUlJsy4CYaa8vLx5ASPf234WCM5n7+5avU4RW8o/H6JY0W/IEO7UPCEW5omXdfp/4b5Jm2Ai7GTq6ekxnDlzRs87euaBzSTBsB06dIgepOJpngHs80W6CJ09McvhMS0Toyk5wpWcI76rjfyUB2eBgdbWVvX169ePQqiH+/r6Bg8ePPjGzEmPHTs2Bcxv86uRFCUKUuIKAPbPLH1shH1J4Y3JBHZfvmgypFh5bGrmUrp06RIhNb138eJFwXbz5k3Bx549e94OnLepqWkKEMsOn4OmJL9kcAZg4+uoqCgvpMMZGKfIgyIwzYzcjUfSod5qa2vTIpVVsPh2dXURwBHYo+Li4mcxRG7vNWvW0NatW6eeZ22cNVcyIM6HnG5Y1fkagOQZQhw9M/FL2sUUpRShUslsfu3yZYIIewB6dMWKFZxn6fbt2zKT+IpPwWucPHly2vqcfaYB47zIi3Py5gANzJ88mc+YmmnJTaYtjdoHUNC4c0wJQ+p5fPNmstvtnt27d/+Ex2zbto3Wr18vC4OqqqpfQxMHuYLx6WI27AVkkZr6+vr8qcnBhCwIeStzUcjXs1liYiKnrPGAGDu9whinc2R+RcbYhMYkzuV+TXRPjLd/0dP93L59+2J9Fe7TBw4c+AcyBQSfKjdu3Ej9/f05eJlqWDcACoC9CBzVuJ8iX5IZYkBcFAYDFAAsEcCcgcCyYw06x9JVEtikfpFojE/tPfKX94fF3WMcvUCtn4Dc3Fyqq6sz4f9v801IiACjXDnuuCc8sJZkKRTDCyTdD5hYVCj+Gm44z5M/UVLyKliR6FA6WdDYJKPCNfNvxJtoaGgQcXFxrwRTfi575t1ZBb2D3WeIjpXS3tzU9Do6sHKAcS1fvtwEVX8OmlbJlS9Ys5eVlZmxCX4Vcmn9wKB8h9frmeSeJjktzV1cVNSAJmU/5GKpxWJxApSNy6cTJ060+cR6/qV1EIqVEMDJ+wkpKVRRUcFNiwoiy8LpQckkWM+gi3Ouqwm1Bg/oLZU5UMn7IygOr1y5wtWtigWauyruG1C7cSMzp6c08wUVYh6TksdaaLPbFeFr9xgYdiIDUx4asFDjzMeYnziyQ+W5g3rUwEL2uz/XQv0V7pwYGJfm7EoAfSTAQmLM0t9Pp0+f5ryo8OcGrhq4X+B8+ahcGRKldgCAbhGaFelKTuJ8Zrng80PblcGSuP8TgNpHpkK+Meg1URQoiCsV3CnbPgbEhpZQedjAtDOAZYQrKiVGHZZBapCvDqN0tSbRh1DqHtyXwt8+ULEYASiRSx7UXGlzApvtw9x9jgGo+Hs4h8PcsM7ukWHXLteVn2s8nswIlVrd63EPyzyK9IR44rz4BwDJRFx9BmCX8dvk6x/uT8SX9VPn/wUYABI/R81wALykAAAAAElFTkSuQmCC';
        this.tenantName = this.defaultValuesService.getTenantName();
        this.navigationService.menuItems.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["takeUntil"])(this.destroySubject$)).subscribe((res) => {
            if (res) {
                this.items = this.navigationService.items;
            }
        });
        // translateService.use("en");
    }
    ngOnInit() {
        this.userName = this.defaultValuesService.getFullUserName();
        this.defaultValuesService.newSubject.subscribe(data => {
            this.userName = data;
        });
        this.membershipName = this.defaultValuesService.getuserMembershipName();
        this.getUserPhoto();
    }
    expandSidebar() {
        this.layoutService.expandSidenav();
    }
    getUserPhoto() {
        let photo = this.defaultValuesService.getuserPhoto();
        if (photo) {
            this.userPhoto = 'data:image/png;base64,' + photo;
        }
        else {
            this.userPhoto = '../../../assets/img/profilePic.jpg';
        }
        this.defaultValuesService.photoChanged.subscribe(data => {
            this.userPhoto = 'data:image/png;base64,' + data;
        });
    }
    onMouseEnter() {
        this.layoutService.collapseOpenSidenav();
    }
    onMouseLeave() {
        this.layoutService.collapseCloseSidenav();
    }
    toggleCollapse() {
        if (this.collapsed) {
            this.defaultValuesService.setCollapseValue(false);
            this.layoutService.expandSidenav();
        }
        else {
            this.layoutService.collapseSidenav();
            this.defaultValuesService.setCollapseValue(true);
        }
    }
    logOut() {
        this.commonService.logoutUser();
    }
    showMyAccount() {
        let userId = this.defaultValuesService.getUserId();
        this.staffService.setStaffId(+userId);
        let permittedDetails = this.pageRolePermission.getPermittedSubCategories('/school/staff');
        if (permittedDetails.length) {
            this.staffService.setCategoryTitle(permittedDetails[0].title);
            this.router.navigateByUrl(permittedDetails[0].path, { state: { type: src_app_enums_school_create_enum__WEBPACK_IMPORTED_MODULE_8__["SchoolCreate"].VIEW } });
            this.staffService.setCategoryId(0);
        }
    }
    openChangePassword() {
        this.dialog.open(_change_password_change_password_component__WEBPACK_IMPORTED_MODULE_7__["ChangePasswordComponent"], {
            width: "500px",
        });
    }
    ngOnDestroy() {
        this.navigationService.changeMenuItemsStatus(false);
        this.destroySubject$.next();
        this.destroySubject$.complete();
    }
}
SidenavComponent.ɵfac = function SidenavComponent_Factory(t) { return new (t || SidenavComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_navigation_service__WEBPACK_IMPORTED_MODULE_9__["NavigationService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_layout_service__WEBPACK_IMPORTED_MODULE_10__["LayoutService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_config_service__WEBPACK_IMPORTED_MODULE_11__["ConfigService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_12__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_staff_service__WEBPACK_IMPORTED_MODULE_13__["StaffService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_14__["PageRolesPermission"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_15__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_16__["MatDialog"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_common_service__WEBPACK_IMPORTED_MODULE_17__["CommonService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_18__["DefaultValuesService"])); };
SidenavComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: SidenavComponent, selectors: [["vex-sidenav"]], inputs: { collapsed: "collapsed" }, decls: 16, vars: 19, consts: [[1, "sidenav", "flex", "flex-col", 3, "mouseenter", "mouseleave"], [1, "flex", "justify-between"], ["class", "back-to-manager bg-black text-white cursor-pointer", 3, "click", 4, "ngIf"], [1, "sidenav-toolbar", "flex-none", "flex", "items-center", "justify-between"], ["class", "select-none logo-small flex-none", 3, "src", "alt", 4, "ngIf"], ["class", "select-none logo-full flex-none", "style", "width: 131.39px !important;", 3, "src", "alt", 4, "ngIf"], ["class", "select-none logo-full flex-none", 3, "src", "alt", 4, "ngIf"], ["class", "expand-btn w-9 h-9 -mr-2 leading-none flex-none hidden lg:block text-black", "mat-icon-button", "", "type", "button", 3, "click", 4, "ngIf"], ["class", "sidebar-blur", 4, "ngIf"], [1, "flex-auto"], [1, "sidenav-items", "pb-10"], [3, "item", "level", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "collapse-btn w-8 h-8 -mr-2 leading-none flex-none hidden lg:block text-black", "mat-icon-button", "", "type", "button", 3, "click", 4, "ngIf"], [1, "back-to-manager", "bg-black", "text-white", "cursor-pointer", 3, "click"], [1, "select-none", "logo-small", "flex-none", 3, "src", "alt"], [1, "select-none", "logo-full", "flex-none", 2, "width", "131.39px !important", 3, "src", "alt"], [1, "select-none", "logo-full", "flex-none", 3, "src", "alt"], ["mat-icon-button", "", "type", "button", 1, "expand-btn", "w-9", "h-9", "-mr-2", "leading-none", "flex-none", "hidden", "lg:block", "text-black", 3, "click"], ["size", "20px", 3, "icIcon", 4, "ngIf"], ["size", "20px", 3, "icIcon"], [1, "sidebar-blur"], [1, "why-disabled"], [1, "text-amber"], [3, "item", "level"], ["mat-icon-button", "", "type", "button", 1, "collapse-btn", "w-8", "h-8", "-mr-2", "leading-none", "flex-none", "hidden", "lg:block", "text-black", 3, "click"]], template: function SidenavComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseenter", function SidenavComponent_Template_div_mouseenter_0_listener() { return ctx.onMouseEnter(); })("mouseleave", function SidenavComponent_Template_div_mouseleave_0_listener() { return ctx.onMouseLeave(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, SidenavComponent_a_3_Template, 3, 0, "a", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, SidenavComponent_img_5_Template, 1, 2, "img", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, SidenavComponent_img_6_Template, 1, 2, "img", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, SidenavComponent_img_7_Template, 1, 2, "img", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, SidenavComponent_button_8_Template, 3, 2, "button", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, SidenavComponent_div_10_Template, 5, 0, "div", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "vex-scrollbar", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "div", 10);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](13, SidenavComponent_vex_sidenav_item_13_Template, 1, 2, "vex-sidenav-item", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](14, SidenavComponent_button_14_Template, 3, 2, "button", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](15, "async");
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("collapsed", ctx.collapsed)("open", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 13, ctx.collapsed && ctx.collapsedOpen$));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.defaultValuesService.getSourceName());
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.collapsed);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.collapsed);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.collapsed);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 15, ctx.showCollapsePin$));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.defaultValuesService == null ? null : ctx.defaultValuesService.getSchoolSetupProgress());
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.items)("ngForTrackBy", ctx.trackByRoute);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](15, 17, ctx.showCollapsePin$));
    } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_19__["NgIf"], _components_scrollbar_scrollbar_component__WEBPACK_IMPORTED_MODULE_20__["ScrollbarComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_19__["NgForOf"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_21__["MatIcon"], _angular_material_button__WEBPACK_IMPORTED_MODULE_22__["MatButton"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_23__["IconDirective"], _sidenav_item_sidenav_item_component__WEBPACK_IMPORTED_MODULE_24__["SidenavItemComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_19__["AsyncPipe"]], styles: [".mat-sidenav {\n  overflow: hidden !important;\n}\n\n.sidenav[_ngcontent-%COMP%] {\n  color: var(--sidenav-color);\n  height: 100%;\n  transition: var(--trans-ease-out);\n  width: var(--sidenav-width);\n}\n\n@media (min-width: 992px) {\n  .sidenav.collapsed[_ngcontent-%COMP%] {\n    width: var(--sidenav-collapsed-width);\n  }\n}\n\n.sidenav.collapsed[_ngcontent-%COMP%]   .logo-small[_ngcontent-%COMP%] {\n  display: block;\n}\n\n.sidenav.collapsed[_ngcontent-%COMP%]   .logo-full[_ngcontent-%COMP%] {\n  display: none;\n}\n\n.sidenav.collapsed[_ngcontent-%COMP%]:not(.open)   .sidenav-toolbar[_ngcontent-%COMP%]::after {\n  content: \" \";\n  display: block;\n  background-color: rgba(158, 158, 158, 0.5);\n  width: 1px;\n  height: 34px;\n  position: absolute;\n  left: 71px;\n  top: 15px;\n}\n\n.sidenav.collapsed[_ngcontent-%COMP%]:not(.open)   .sidenav-toolbar[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%] {\n  opacity: 0;\n  -webkit-padding-start: var(--sidenav-item-padding);\n          padding-inline-start: var(--sidenav-item-padding);\n}\n\n.sidenav.collapsed[_ngcontent-%COMP%]:not(.open)     .sidenav-items .item-icon {\n  -webkit-margin-end: var(--sidenav-item-padding);\n          margin-inline-end: var(--sidenav-item-padding);\n}\n\n@media (min-width: 992px) {\n  .sidenav.collapsed[_ngcontent-%COMP%]:not(.open)     .sidenav-items .subheading, .sidenav.collapsed[_ngcontent-%COMP%]:not(.open)     .sidenav-items .item-badge, .sidenav.collapsed[_ngcontent-%COMP%]:not(.open)     .sidenav-items .item-label {\n    opacity: 0;\n  }\n}\n\n.sidenav.collapsed[_ngcontent-%COMP%]:not(.open)     .simplebar-track.simplebar-vertical {\n  visibility: hidden !important;\n}\n\n.sidenav.collapsed[_ngcontent-%COMP%]     .subheading, .sidenav.collapsed[_ngcontent-%COMP%]     .item-badge, .sidenav.collapsed[_ngcontent-%COMP%]     .item-label {\n  transition: all 200ms var(--trans-ease-out-timing-function);\n}\n\n.sidenav.collapsed.open[_ngcontent-%COMP%] {\n  width: var(--sidenav-width);\n  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);\n}\n\n.sidenav.collapsed.open[_ngcontent-%COMP%]   .sidenav-toolbar[_ngcontent-%COMP%] {\n  background: var(--sidenav-toolbar-background);\n}\n\n.sidenav.collapsed.open[_ngcontent-%COMP%]   .logo-small[_ngcontent-%COMP%] {\n  display: none;\n}\n\n.sidenav.collapsed.open[_ngcontent-%COMP%]   .logo-full[_ngcontent-%COMP%] {\n  display: block;\n}\n\n.sidenav.collapsed.open[_ngcontent-%COMP%]   .expand-btn[_ngcontent-%COMP%] {\n  display: block;\n}\n\n.sidenav.collapsed.open[_ngcontent-%COMP%]    + .collapse-btn[_ngcontent-%COMP%] {\n  display: none;\n}\n\n.back-to-manager[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 0;\n  left: -17px;\n  height: 64px;\n  color: #ffffff;\n  background: #cd2846;\n  width: 24px;\n  transition: all 0.3s ease;\n  padding-top: 23px;\n}\n\n.back-to-manager[_ngcontent-%COMP%]:hover {\n  left: 0;\n}\n\n.expand-btn[_ngcontent-%COMP%] {\n  display: none;\n}\n\n.collapse-btn[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 16px;\n  left: 227px;\n  background: var(--foreground-divider);\n}\n\n.collapse-btn[_ngcontent-%COMP%]::after {\n  content: \" \";\n  display: block;\n  background-color: rgba(158, 158, 158, 0.5);\n  width: 1px;\n  height: 34px;\n  position: absolute;\n  right: -21px;\n  top: -2px;\n}\n\n  [dir=rtl] .collapse-btn {\n  right: 234px;\n  left: auto;\n}\n\n  [dir=rtl] .collapse-btn::after {\n  right: auto;\n  left: -21px;\n}\n\n.sidenav-toolbar[_ngcontent-%COMP%] {\n  align-items: center;\n  background: #ffffff;\n  box-sizing: border-box;\n  display: flex;\n  flex-direction: row;\n  height: var(--toolbar-height);\n  padding: 0 20px 0 18px;\n  white-space: nowrap;\n  width: var(--sidenav-width);\n  transition: all 0.5s ease;\n}\n\n.sidenav-toolbar[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%] {\n  transition: padding var(--trans-ease-out-duration) var(--trans-ease-out-timing-function), opacity var(--trans-ease-out-duration) var(--trans-ease-out-timing-function);\n}\n\n\n\n.sidebar-blur[_ngcontent-%COMP%] {\n  width: 100%;\n  height: 100%;\n  position: absolute;\n  z-index: 1;\n  top: 64px;\n  -webkit-backdrop-filter: blur(0.8px);\n          backdrop-filter: blur(0.8px);\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n\n.sidebar-blur[_ngcontent-%COMP%]   .why-disabled[_ngcontent-%COMP%] {\n  padding: 30px 40px;\n  text-align: center;\n  color: var(--text-color-light);\n  font-weight: 600;\n  font-size: 16px;\n  display: none;\n}\n\n.sidebar-blur[_ngcontent-%COMP%]   .why-disabled[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] {\n  --text-opacity: 1;\n  color: #ffc107;\n  color: rgba(255, 193, 7, var(--text-opacity));\n}\n\n.sidebar-blur[_ngcontent-%COMP%]   .why-disabled[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover {\n  text-decoration: underline;\n}\n\n.sidebar-blur[_ngcontent-%COMP%]:hover {\n  -webkit-backdrop-filter: blur(4px);\n          backdrop-filter: blur(4px);\n}\n\n.sidebar-blur[_ngcontent-%COMP%]:hover   .why-disabled[_ngcontent-%COMP%] {\n  display: block;\n}\n\n  [dir=rtl] .mat-drawer-side {\n  border: 0;\n}\n\n  [dir=rtl] .sidenav-items .item-icon {\n  -webkit-margin-end: 0;\n          margin-inline-end: 0;\n  -webkit-margin-start: var(--sidenav-item-padding);\n          margin-inline-start: var(--sidenav-item-padding);\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2xheW91dC9zaWRlbmF2L3NpZGVuYXYuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSwyQkFBQTtBQUNGOztBQUVBO0VBQ0UsMkJBQUE7RUFDQSxZQUFBO0VBQ0EsaUNBQUE7RUFDQSwyQkFBQTtBQUNGOztBQUVBO0VBQ0U7SUFDRSxxQ0FBQTtFQUNGO0FBQ0Y7O0FBRUE7RUFDRSxjQUFBO0FBQUY7O0FBR0E7RUFDRSxhQUFBO0FBQUY7O0FBR0E7RUFDRSxZQUFBO0VBQ0EsY0FBQTtFQUNBLDBDQUFBO0VBQ0EsVUFBQTtFQUNBLFlBQUE7RUFDQSxrQkFBQTtFQUNBLFVBQUE7RUFDQSxTQUFBO0FBQUY7O0FBR0E7RUFDRSxVQUFBO0VBQ0Esa0RBQUE7VUFBQSxpREFBQTtBQUFGOztBQUdBO0VBQ0UsK0NBQUE7VUFBQSw4Q0FBQTtBQUFGOztBQUdBO0VBQ0U7OztJQUdFLFVBQUE7RUFBRjtBQUNGOztBQUdBO0VBQ0UsNkJBQUE7QUFERjs7QUFJQTs7O0VBR0UsMkRBQUE7QUFERjs7QUFJQTtFQUNFLDJCQUFBO0VBQ0Esc0NBQUE7QUFERjs7QUFJQTtFQUNFLDZDQUFBO0FBREY7O0FBSUE7RUFDRSxhQUFBO0FBREY7O0FBSUE7RUFDRSxjQUFBO0FBREY7O0FBSUE7RUFDRSxjQUFBO0FBREY7O0FBSUE7RUFDRSxhQUFBO0FBREY7O0FBSUE7RUFDRSxrQkFBQTtFQUNBLE1BQUE7RUFDQSxXQUFBO0VBQ0EsWUFBQTtFQUNBLGNBQUE7RUFDQSxtQkFBQTtFQUNBLFdBQUE7RUFDQSx5QkFBQTtFQUNBLGlCQUFBO0FBREY7O0FBSUE7RUFDRSxPQUFBO0FBREY7O0FBSUE7RUFDRSxhQUFBO0FBREY7O0FBSUE7RUFDRSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxXQUFBO0VBQ0EscUNBQUE7QUFERjs7QUFJQTtFQUNFLFlBQUE7RUFDQSxjQUFBO0VBQ0EsMENBQUE7RUFDQSxVQUFBO0VBQ0EsWUFBQTtFQUNBLGtCQUFBO0VBQ0EsWUFBQTtFQUNBLFNBQUE7QUFERjs7QUFJQTtFQUNFLFlBQUE7RUFDQSxVQUFBO0FBREY7O0FBSUE7RUFDRSxXQUFBO0VBQ0EsV0FBQTtBQURGOztBQUlBO0VBQ0UsbUJBQUE7RUFDQSxtQkFBQTtFQUNBLHNCQUFBO0VBQ0EsYUFBQTtFQUNBLG1CQUFBO0VBQ0EsNkJBQUE7RUFDQSxzQkFBQTtFQUNBLG1CQUFBO0VBQ0EsMkJBQUE7RUFDQSx5QkFBQTtBQURGOztBQUlBO0VBQ0Usc0tBQUE7QUFERjs7QUFJQTs7RUFBQTs7QUFJQTtFQUNFLFdBQUE7RUFDQSxZQUFBO0VBQ0Esa0JBQUE7RUFDQSxVQUFBO0VBQ0EsU0FBQTtFQUNBLG9DQUFBO1VBQUEsNEJBQUE7RUFDQSxhQUFBO0VBQ0EsbUJBQUE7RUFDQSx1QkFBQTtBQUZGOztBQUtBO0VBQ0Usa0JBQUE7RUFDQSxrQkFBQTtFQUNBLDhCQUFBO0VBQ0EsZ0JBQUE7RUFDQSxlQUFBO0VBQ0EsYUFBQTtBQUZGOztBQUtBO0VBQ0UsaUJBQUE7RUFDQSxjQUFBO0VBQ0EsNkNBQUE7QUFGRjs7QUFLQTtFQUNFLDBCQUFBO0FBRkY7O0FBS0E7RUFDRSxrQ0FBQTtVQUFBLDBCQUFBO0FBRkY7O0FBS0E7RUFDRSxjQUFBO0FBRkY7O0FBS0E7RUFDRSxTQUFBO0FBRkY7O0FBS0E7RUFDRSxxQkFBQTtVQUFBLG9CQUFBO0VBQ0EsaURBQUE7VUFBQSxnREFBQTtBQUZGIiwiZmlsZSI6InNyYy9AdmV4L2xheW91dC9zaWRlbmF2L3NpZGVuYXYuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyI6Om5nLWRlZXAgLm1hdC1zaWRlbmF2IHtcbiAgb3ZlcmZsb3c6IGhpZGRlbiAhaW1wb3J0YW50O1xufVxuXG4uc2lkZW5hdiB7XG4gIGNvbG9yOiB2YXIoLS1zaWRlbmF2LWNvbG9yKTtcbiAgaGVpZ2h0OiAxMDAlO1xuICB0cmFuc2l0aW9uOiB2YXIoLS10cmFucy1lYXNlLW91dCk7XG4gIHdpZHRoOiB2YXIoLS1zaWRlbmF2LXdpZHRoKTtcbn1cblxuQG1lZGlhIChtaW4td2lkdGg6IDk5MnB4KSB7XG4gIC5zaWRlbmF2LmNvbGxhcHNlZCB7XG4gICAgd2lkdGg6IHZhcigtLXNpZGVuYXYtY29sbGFwc2VkLXdpZHRoKTtcbiAgfVxufVxuXG4uc2lkZW5hdi5jb2xsYXBzZWQgLmxvZ28tc21hbGwge1xuICBkaXNwbGF5OiBibG9jaztcbn1cblxuLnNpZGVuYXYuY29sbGFwc2VkIC5sb2dvLWZ1bGwge1xuICBkaXNwbGF5OiBub25lO1xufVxuXG4uc2lkZW5hdi5jb2xsYXBzZWQ6bm90KC5vcGVuKSAuc2lkZW5hdi10b29sYmFyOjphZnRlciB7XG4gIGNvbnRlbnQ6IFwiIFwiO1xuICBkaXNwbGF5OiBibG9jaztcbiAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgxNTgsIDE1OCwgMTU4LCAwLjUpO1xuICB3aWR0aDogMXB4O1xuICBoZWlnaHQ6IDM0cHg7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgbGVmdDogNzFweDtcbiAgdG9wOiAxNXB4O1xufVxuXG4uc2lkZW5hdi5jb2xsYXBzZWQ6bm90KC5vcGVuKSAuc2lkZW5hdi10b29sYmFyIC50aXRsZSB7XG4gIG9wYWNpdHk6IDA7XG4gIHBhZGRpbmctaW5saW5lLXN0YXJ0OiB2YXIoLS1zaWRlbmF2LWl0ZW0tcGFkZGluZyk7XG59XG5cbi5zaWRlbmF2LmNvbGxhcHNlZDpub3QoLm9wZW4pIDo6bmctZGVlcCAuc2lkZW5hdi1pdGVtcyAuaXRlbS1pY29uIHtcbiAgbWFyZ2luLWlubGluZS1lbmQ6IHZhcigtLXNpZGVuYXYtaXRlbS1wYWRkaW5nKTtcbn1cblxuQG1lZGlhIChtaW4td2lkdGg6IDk5MnB4KSB7XG4gIC5zaWRlbmF2LmNvbGxhcHNlZDpub3QoLm9wZW4pIDo6bmctZGVlcCAuc2lkZW5hdi1pdGVtcyAuc3ViaGVhZGluZyxcbi5zaWRlbmF2LmNvbGxhcHNlZDpub3QoLm9wZW4pIDo6bmctZGVlcCAuc2lkZW5hdi1pdGVtcyAuaXRlbS1iYWRnZSxcbi5zaWRlbmF2LmNvbGxhcHNlZDpub3QoLm9wZW4pIDo6bmctZGVlcCAuc2lkZW5hdi1pdGVtcyAuaXRlbS1sYWJlbCB7XG4gICAgb3BhY2l0eTogMDtcbiAgfVxufVxuXG4uc2lkZW5hdi5jb2xsYXBzZWQ6bm90KC5vcGVuKSA6Om5nLWRlZXAgLnNpbXBsZWJhci10cmFjay5zaW1wbGViYXItdmVydGljYWwge1xuICB2aXNpYmlsaXR5OiBoaWRkZW4gIWltcG9ydGFudDtcbn1cblxuLnNpZGVuYXYuY29sbGFwc2VkIDo6bmctZGVlcCAuc3ViaGVhZGluZyxcbi5zaWRlbmF2LmNvbGxhcHNlZCA6Om5nLWRlZXAgLml0ZW0tYmFkZ2UsXG4uc2lkZW5hdi5jb2xsYXBzZWQgOjpuZy1kZWVwIC5pdGVtLWxhYmVsIHtcbiAgdHJhbnNpdGlvbjogYWxsIDIwMG1zIHZhcigtLXRyYW5zLWVhc2Utb3V0LXRpbWluZy1mdW5jdGlvbik7XG59XG5cbi5zaWRlbmF2LmNvbGxhcHNlZC5vcGVuIHtcbiAgd2lkdGg6IHZhcigtLXNpZGVuYXYtd2lkdGgpO1xuICBib3gtc2hhZG93OiAwIDAgNHB4IHJnYmEoMCwgMCwgMCwgMC41KTtcbn1cblxuLnNpZGVuYXYuY29sbGFwc2VkLm9wZW4gLnNpZGVuYXYtdG9vbGJhciB7XG4gIGJhY2tncm91bmQ6IHZhcigtLXNpZGVuYXYtdG9vbGJhci1iYWNrZ3JvdW5kKTtcbn1cblxuLnNpZGVuYXYuY29sbGFwc2VkLm9wZW4gLmxvZ28tc21hbGwge1xuICBkaXNwbGF5OiBub25lO1xufVxuXG4uc2lkZW5hdi5jb2xsYXBzZWQub3BlbiAubG9nby1mdWxsIHtcbiAgZGlzcGxheTogYmxvY2s7XG59XG5cbi5zaWRlbmF2LmNvbGxhcHNlZC5vcGVuIC5leHBhbmQtYnRuIHtcbiAgZGlzcGxheTogYmxvY2s7XG59XG5cbi5zaWRlbmF2LmNvbGxhcHNlZC5vcGVuICsgLmNvbGxhcHNlLWJ0biB7XG4gIGRpc3BsYXk6IG5vbmU7XG59XG5cbi5iYWNrLXRvLW1hbmFnZXIge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogMDtcbiAgbGVmdDogLTE3cHg7XG4gIGhlaWdodDogNjRweDtcbiAgY29sb3I6ICNmZmZmZmY7XG4gIGJhY2tncm91bmQ6ICNjZDI4NDY7XG4gIHdpZHRoOiAyNHB4O1xuICB0cmFuc2l0aW9uOiBhbGwgMC4zcyBlYXNlO1xuICBwYWRkaW5nLXRvcDogMjNweDtcbn1cblxuLmJhY2stdG8tbWFuYWdlcjpob3ZlciB7XG4gIGxlZnQ6IDA7XG59XG5cbi5leHBhbmQtYnRuIHtcbiAgZGlzcGxheTogbm9uZTtcbn1cblxuLmNvbGxhcHNlLWJ0biB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAxNnB4O1xuICBsZWZ0OiAyMjdweDtcbiAgYmFja2dyb3VuZDogdmFyKC0tZm9yZWdyb3VuZC1kaXZpZGVyKTtcbn1cblxuLmNvbGxhcHNlLWJ0bjo6YWZ0ZXIge1xuICBjb250ZW50OiBcIiBcIjtcbiAgZGlzcGxheTogYmxvY2s7XG4gIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMTU4LCAxNTgsIDE1OCwgMC41KTtcbiAgd2lkdGg6IDFweDtcbiAgaGVpZ2h0OiAzNHB4O1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHJpZ2h0OiAtMjFweDtcbiAgdG9wOiAtMnB4O1xufVxuXG46Om5nLWRlZXAgW2Rpcj1ydGxdIC5jb2xsYXBzZS1idG4ge1xuICByaWdodDogMjM0cHg7XG4gIGxlZnQ6IGF1dG87XG59XG5cbjo6bmctZGVlcCBbZGlyPXJ0bF0gLmNvbGxhcHNlLWJ0bjo6YWZ0ZXIge1xuICByaWdodDogYXV0bztcbiAgbGVmdDogLTIxcHg7XG59XG5cbi5zaWRlbmF2LXRvb2xiYXIge1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBiYWNrZ3JvdW5kOiAjZmZmZmZmO1xuICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogcm93O1xuICBoZWlnaHQ6IHZhcigtLXRvb2xiYXItaGVpZ2h0KTtcbiAgcGFkZGluZzogMCAyMHB4IDAgMThweDtcbiAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbiAgd2lkdGg6IHZhcigtLXNpZGVuYXYtd2lkdGgpO1xuICB0cmFuc2l0aW9uOiBhbGwgMC41cyBlYXNlO1xufVxuXG4uc2lkZW5hdi10b29sYmFyIC50aXRsZSB7XG4gIHRyYW5zaXRpb246IHBhZGRpbmcgdmFyKC0tdHJhbnMtZWFzZS1vdXQtZHVyYXRpb24pIHZhcigtLXRyYW5zLWVhc2Utb3V0LXRpbWluZy1mdW5jdGlvbiksIG9wYWNpdHkgdmFyKC0tdHJhbnMtZWFzZS1vdXQtZHVyYXRpb24pIHZhcigtLXRyYW5zLWVhc2Utb3V0LXRpbWluZy1mdW5jdGlvbik7XG59XG5cbi8qLnNpZGVuYXYtaXRlbXMge1xuICBwYWRkaW5nLXRvcDogdmFyKC0tcGFkZGluZyk7XG59Ki9cblxuLnNpZGViYXItYmx1ciB7XG4gIHdpZHRoOiAxMDAlO1xuICBoZWlnaHQ6IDEwMCU7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgei1pbmRleDogMTtcbiAgdG9wOiA2NHB4O1xuICBiYWNrZHJvcC1maWx0ZXI6IGJsdXIoMC44cHgpO1xuICBkaXNwbGF5OiBmbGV4O1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbn1cblxuLnNpZGViYXItYmx1ciAud2h5LWRpc2FibGVkIHtcbiAgcGFkZGluZzogMzBweCA0MHB4O1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIGNvbG9yOiB2YXIoLS10ZXh0LWNvbG9yLWxpZ2h0KTtcbiAgZm9udC13ZWlnaHQ6IDYwMDtcbiAgZm9udC1zaXplOiAxNnB4O1xuICBkaXNwbGF5OiBub25lO1xufVxuXG4uc2lkZWJhci1ibHVyIC53aHktZGlzYWJsZWQgYSB7XG4gIC0tdGV4dC1vcGFjaXR5OiAxO1xuICBjb2xvcjogcmdiKDI1NSwgMTkzLCA3KTtcbiAgY29sb3I6IHJnYmEoMjU1LCAxOTMsIDcsIHZhcigtLXRleHQtb3BhY2l0eSkpO1xufVxuXG4uc2lkZWJhci1ibHVyIC53aHktZGlzYWJsZWQgYTpob3ZlciB7XG4gIHRleHQtZGVjb3JhdGlvbjogdW5kZXJsaW5lO1xufVxuXG4uc2lkZWJhci1ibHVyOmhvdmVyIHtcbiAgYmFja2Ryb3AtZmlsdGVyOiBibHVyKDRweCk7XG59XG5cbi5zaWRlYmFyLWJsdXI6aG92ZXIgLndoeS1kaXNhYmxlZCB7XG4gIGRpc3BsYXk6IGJsb2NrO1xufVxuXG46Om5nLWRlZXAgW2Rpcj1ydGxdIC5tYXQtZHJhd2VyLXNpZGUge1xuICBib3JkZXI6IDA7XG59XG5cbjo6bmctZGVlcCBbZGlyPXJ0bF0gLnNpZGVuYXYtaXRlbXMgLml0ZW0taWNvbiB7XG4gIG1hcmdpbi1pbmxpbmUtZW5kOiAwO1xuICBtYXJnaW4taW5saW5lLXN0YXJ0OiB2YXIoLS1zaWRlbmF2LWl0ZW0tcGFkZGluZyk7XG59Il19 */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SidenavComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-sidenav',
                templateUrl: './sidenav.component.html',
                styleUrls: ['./sidenav.component.scss']
            }]
    }], function () { return [{ type: _services_navigation_service__WEBPACK_IMPORTED_MODULE_9__["NavigationService"] }, { type: _services_layout_service__WEBPACK_IMPORTED_MODULE_10__["LayoutService"] }, { type: _services_config_service__WEBPACK_IMPORTED_MODULE_11__["ConfigService"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_12__["Router"] }, { type: src_app_services_staff_service__WEBPACK_IMPORTED_MODULE_13__["StaffService"] }, { type: src_app_common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_14__["PageRolesPermission"] }, { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_15__["TranslateService"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_16__["MatDialog"] }, { type: src_app_services_common_service__WEBPACK_IMPORTED_MODULE_17__["CommonService"] }, { type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_18__["DefaultValuesService"] }]; }, { collapsed: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }] }); })();


/***/ }),

/***/ "./src/@vex/layout/sidenav/sidenav.module.ts":
/*!***************************************************!*\
  !*** ./src/@vex/layout/sidenav/sidenav.module.ts ***!
  \***************************************************/
/*! exports provided: SidenavModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SidenavModule", function() { return SidenavModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _sidenav_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./sidenav.component */ "./src/@vex/layout/sidenav/sidenav.component.ts");
/* harmony import */ var _angular_material_toolbar__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/toolbar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/toolbar.js");
/* harmony import */ var _sidenav_item_sidenav_item_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./sidenav-item/sidenav-item.module */ "./src/@vex/layout/sidenav/sidenav-item/sidenav-item.module.ts");
/* harmony import */ var _components_scrollbar_scrollbar_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../components/scrollbar/scrollbar.module */ "./src/@vex/components/scrollbar/scrollbar.module.ts");
/* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/flex-layout */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex-layout.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/material/menu */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/menu.js");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/material/input */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/input.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/material/form-field */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/form-field.js");
/* harmony import */ var _angular_material_divider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/material/divider */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/divider.js");

















class SidenavModule {
}
SidenavModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: SidenavModule });
SidenavModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function SidenavModule_Factory(t) { return new (t || SidenavModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _angular_material_toolbar__WEBPACK_IMPORTED_MODULE_3__["MatToolbarModule"],
            _sidenav_item_sidenav_item_module__WEBPACK_IMPORTED_MODULE_4__["SidenavItemModule"],
            _components_scrollbar_scrollbar_module__WEBPACK_IMPORTED_MODULE_5__["ScrollbarModule"],
            _angular_flex_layout__WEBPACK_IMPORTED_MODULE_6__["FlexLayoutModule"],
            _angular_material_button__WEBPACK_IMPORTED_MODULE_7__["MatButtonModule"],
            _angular_material_icon__WEBPACK_IMPORTED_MODULE_8__["MatIconModule"],
            _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_9__["IconModule"],
            _angular_material_menu__WEBPACK_IMPORTED_MODULE_10__["MatMenuModule"],
            _angular_material_dialog__WEBPACK_IMPORTED_MODULE_11__["MatDialogModule"],
            _angular_material_input__WEBPACK_IMPORTED_MODULE_12__["MatInputModule"],
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__["TranslateModule"],
            _angular_material_form_field__WEBPACK_IMPORTED_MODULE_14__["MatFormFieldModule"],
            _angular_material_divider__WEBPACK_IMPORTED_MODULE_15__["MatDividerModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](SidenavModule, { declarations: [_sidenav_component__WEBPACK_IMPORTED_MODULE_2__["SidenavComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _angular_material_toolbar__WEBPACK_IMPORTED_MODULE_3__["MatToolbarModule"],
        _sidenav_item_sidenav_item_module__WEBPACK_IMPORTED_MODULE_4__["SidenavItemModule"],
        _components_scrollbar_scrollbar_module__WEBPACK_IMPORTED_MODULE_5__["ScrollbarModule"],
        _angular_flex_layout__WEBPACK_IMPORTED_MODULE_6__["FlexLayoutModule"],
        _angular_material_button__WEBPACK_IMPORTED_MODULE_7__["MatButtonModule"],
        _angular_material_icon__WEBPACK_IMPORTED_MODULE_8__["MatIconModule"],
        _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_9__["IconModule"],
        _angular_material_menu__WEBPACK_IMPORTED_MODULE_10__["MatMenuModule"],
        _angular_material_dialog__WEBPACK_IMPORTED_MODULE_11__["MatDialogModule"],
        _angular_material_input__WEBPACK_IMPORTED_MODULE_12__["MatInputModule"],
        _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__["TranslateModule"],
        _angular_material_form_field__WEBPACK_IMPORTED_MODULE_14__["MatFormFieldModule"],
        _angular_material_divider__WEBPACK_IMPORTED_MODULE_15__["MatDividerModule"]], exports: [_sidenav_component__WEBPACK_IMPORTED_MODULE_2__["SidenavComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SidenavModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_sidenav_component__WEBPACK_IMPORTED_MODULE_2__["SidenavComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _angular_material_toolbar__WEBPACK_IMPORTED_MODULE_3__["MatToolbarModule"],
                    _sidenav_item_sidenav_item_module__WEBPACK_IMPORTED_MODULE_4__["SidenavItemModule"],
                    _components_scrollbar_scrollbar_module__WEBPACK_IMPORTED_MODULE_5__["ScrollbarModule"],
                    _angular_flex_layout__WEBPACK_IMPORTED_MODULE_6__["FlexLayoutModule"],
                    _angular_material_button__WEBPACK_IMPORTED_MODULE_7__["MatButtonModule"],
                    _angular_material_icon__WEBPACK_IMPORTED_MODULE_8__["MatIconModule"],
                    _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_9__["IconModule"],
                    _angular_material_menu__WEBPACK_IMPORTED_MODULE_10__["MatMenuModule"],
                    _angular_material_dialog__WEBPACK_IMPORTED_MODULE_11__["MatDialogModule"],
                    _angular_material_input__WEBPACK_IMPORTED_MODULE_12__["MatInputModule"],
                    _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__["TranslateModule"],
                    _angular_material_form_field__WEBPACK_IMPORTED_MODULE_14__["MatFormFieldModule"],
                    _angular_material_divider__WEBPACK_IMPORTED_MODULE_15__["MatDividerModule"]
                ],
                exports: [_sidenav_component__WEBPACK_IMPORTED_MODULE_2__["SidenavComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/layout/toolbar/select-bar/select-bar.component.ts":
/*!********************************************************************!*\
  !*** ./src/@vex/layout/toolbar/select-bar/select-bar.component.ts ***!
  \********************************************************************/
/*! exports provided: SelectBarComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SelectBarComponent", function() { return SelectBarComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _app_models_get_all_school_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../app/models/get-all-school.model */ "./src/app/models/get-all-school.model.ts");
/* harmony import */ var _app_models_marking_period_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../app/models/marking-period.model */ "./src/app/models/marking-period.model.ts");
/* harmony import */ var _app_models_school_master_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../app/models/school-master.model */ "./src/app/models/school-master.model.ts");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../app/enums/profiles.enum */ "./src/app/enums/profiles.enum.ts");
/* harmony import */ var _app_models_parent_info_model__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../app/models/parent-info.model */ "./src/app/models/parent-info.model.ts");
/* harmony import */ var src_app_models_common_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/app/models/common.model */ "./src/app/models/common.model.ts");
/* harmony import */ var _app_models_moodle_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../app/models/moodle.model */ "./src/app/models/moodle.model.ts");
/* harmony import */ var _app_services_school_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../app/services/school.service */ "./src/app/services/school.service.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _app_services_parent_portal_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../../app/services/parent-portal.service */ "./src/app/services/parent-portal.service.ts");
/* harmony import */ var _app_services_marking_period_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../../app/services/marking-period.service */ "./src/app/services/marking-period.service.ts");
/* harmony import */ var _app_services_dasboard_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../../../app/services/dasboard.service */ "./src/app/services/dasboard.service.ts");
/* harmony import */ var _app_common_default_values_service__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../../../app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var src_app_services_common_service__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! src/app/services/common.service */ "./src/app/services/common.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var src_app_services_impersonate_service__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! src/app/services/impersonate.service */ "./src/app/services/impersonate.service.ts");
/* harmony import */ var src_app_services_parent_info_service__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! src/app/services/parent-info.service */ "./src/app/services/parent-info.service.ts");
/* harmony import */ var _app_services_moodle_service__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../../../app/services/moodle.service */ "./src/app/services/moodle.service.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @angular/material/form-field */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/form-field.js");
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @angular/material/tooltip */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/tooltip.js");
/* harmony import */ var _angular_material_select__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @angular/material/select */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/select.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var ngx_mat_select_search__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ngx-mat-select-search */ "./node_modules/ngx-mat-select-search/__ivy_ngcc__/fesm2015/ngx-mat-select-search.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");


































function SelectBarComponent_div_0_mat_form_field_1_img_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "img", 15);
} if (rf & 2) {
    const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("src", "data:image/png;base64," + (ctx_r6.selected == null ? null : ctx_r6.selected.studentPhoto), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
} }
function SelectBarComponent_div_0_mat_form_field_1_img_7_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "img", 15);
} if (rf & 2) {
    const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("src", ctx_r7.defaultIcon, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
} }
function SelectBarComponent_div_0_mat_form_field_1_mat_option_9_img_1_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "img", 15);
} if (rf & 2) {
    const item_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("src", "data:image/png;base64," + (item_r9 == null ? null : item_r9.studentPhoto), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
} }
function SelectBarComponent_div_0_mat_form_field_1_mat_option_9_img_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "img", 15);
} if (rf & 2) {
    const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("src", ctx_r11.defaultIcon, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
} }
function SelectBarComponent_div_0_mat_form_field_1_mat_option_9_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SelectBarComponent_div_0_mat_form_field_1_mat_option_9_img_1_Template, 1, 1, "img", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, SelectBarComponent_div_0_mat_form_field_1_mat_option_9_img_2_Template, 1, 1, "img", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const item_r9 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", item_r9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (item_r9 == null ? null : item_r9.studentPhoto) !== null);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (item_r9 == null ? null : item_r9.studentPhoto) === null);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", item_r9.firstGivenName + " " + item_r9.lastFamilyName, " ");
} }
function SelectBarComponent_div_0_mat_form_field_1_Template(rf, ctx) { if (rf & 1) {
    const _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-form-field", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "label", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "mat-select", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("selectionChange", function SelectBarComponent_div_0_mat_form_field_1_Template_mat_select_selectionChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r14); const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r13.changeStudent($event); })("valueChange", function SelectBarComponent_div_0_mat_form_field_1_Template_mat_select_valueChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r14); const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r15.selected = $event; });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "mat-select-trigger");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, SelectBarComponent_div_0_mat_form_field_1_img_6_Template, 1, 1, "img", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, SelectBarComponent_div_0_mat_form_field_1_img_7_Template, 1, 1, "img", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, SelectBarComponent_div_0_mat_form_field_1_mat_option_9_Template, 4, 4, "mat-option", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 6, "student"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", ctx_r1.selected);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r1.selected == null ? null : ctx_r1.selected.studentPhoto) !== null);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r1.selected == null ? null : ctx_r1.selected.studentPhoto) === null);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r1.selected.firstGivenName + " " + ctx_r1.selected.lastFamilyName, " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r1.getStudentForView);
} }
function SelectBarComponent_div_0_mat_form_field_2_mat_option_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 21);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const school_r17 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", school_r17)("disabled", school_r17.disabled);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", school_r17.schoolName, " ");
} }
function SelectBarComponent_div_0_mat_form_field_2_Template(rf, ctx) { if (rf & 1) {
    const _r19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-form-field", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "label", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "School");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "mat-select", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("selectionChange", function SelectBarComponent_div_0_mat_form_field_2_Template_mat_select_selectionChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r19); const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r18.changeSchool($event.value); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "mat-option");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](5, "ngx-mat-select-search", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, SelectBarComponent_div_0_mat_form_field_2_mat_option_6_Template, 2, 3, "mat-option", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formControl", ctx_r2.schoolCtrl);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formControl", ctx_r2.schoolFilterCtrl);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 3, ctx_r2.filteredSchools));
} }
function SelectBarComponent_div_0_mat_form_field_3_mat_option_4_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", ctx_r20.nullValueForDropdown);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r20.nullValueForDropdown);
} }
function SelectBarComponent_div_0_mat_form_field_3_mat_option_5_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const year_r22 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", year_r22);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", year_r22.year, " ");
} }
function SelectBarComponent_div_0_mat_form_field_3_Template(rf, ctx) { if (rf & 1) {
    const _r24 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-form-field", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "label", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "School Session");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "mat-select", 23);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("selectionChange", function SelectBarComponent_div_0_mat_form_field_3_Template_mat_select_selectionChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r24); const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r23.changeYear($event); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, SelectBarComponent_div_0_mat_form_field_3_mat_option_4_Template, 2, 2, "mat-option", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, SelectBarComponent_div_0_mat_form_field_3_mat_option_5_Template, 2, 2, "mat-option", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formControl", ctx_r3.academicYearsCtrl);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r3.academicYears == null ? null : ctx_r3.academicYears.length) == 0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r3.academicYears);
} }
function SelectBarComponent_div_0_mat_option_8_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", ctx_r4.nullValueForDropdown);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r4.nullValueForDropdown);
} }
function SelectBarComponent_div_0_mat_option_9_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const period_r25 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", period_r25);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", period_r25 == null ? null : period_r25.periodTitle, " ");
} }
function SelectBarComponent_div_0_Template(rf, ctx) { if (rf & 1) {
    const _r27 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SelectBarComponent_div_0_mat_form_field_1_Template, 10, 8, "mat-form-field", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, SelectBarComponent_div_0_mat_form_field_2_Template, 8, 5, "mat-form-field", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, SelectBarComponent_div_0_mat_form_field_3_Template, 6, 3, "mat-form-field", 6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "mat-form-field", 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "label", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6, "Marking Period");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "mat-select", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("selectionChange", function SelectBarComponent_div_0_Template_mat_select_selectionChange_7_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r27); const ctx_r26 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r26.changePeriod($event); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, SelectBarComponent_div_0_mat_option_8_Template, 2, 2, "mat-option", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, SelectBarComponent_div_0_mat_option_9_Template, 2, 2, "mat-option", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", ctx_r0.schoolControl == 0 ? "" : "show-school");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.isParentLogin && ctx_r0.studentCount > 1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.schoolCount > 1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.getUserMembershipType());
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formControl", ctx_r0.periodCtrl);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx_r0.periods == null ? null : ctx_r0.periods.length) == 0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r0.periods);
} }
class SelectBarComponent {
    constructor(schoolService, router, parentPortalService, markingPeriodService, dasboardService, defaultValuesService, commonService, snackbar, impersonateServices, parentInfoService, MoodleService) {
        this.schoolService = schoolService;
        this.router = router;
        this.parentPortalService = parentPortalService;
        this.markingPeriodService = markingPeriodService;
        this.dasboardService = dasboardService;
        this.defaultValuesService = defaultValuesService;
        this.commonService = commonService;
        this.snackbar = snackbar;
        this.impersonateServices = impersonateServices;
        this.parentInfoService = parentInfoService;
        this.MoodleService = MoodleService;
        this.schoolChanged = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.getSchoolList = new _app_models_get_all_school_model__WEBPACK_IMPORTED_MODULE_4__["OnlySchoolListModel"]();
        this.schools = [];
        this.getAcademicYears = new _app_models_marking_period_model__WEBPACK_IMPORTED_MODULE_5__["GetAcademicYearListModel"]();
        this.markingPeriodTitleLists = new _app_models_marking_period_model__WEBPACK_IMPORTED_MODULE_5__["GetMarkingPeriodTitleListModel"]();
        this.academicYears = [];
        this.periods = [];
        this.addParentInfoModel = new _app_models_parent_info_model__WEBPACK_IMPORTED_MODULE_9__["AddParentInfoModel"]();
        this.profiles = _app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_8__["ProfilesTypes"];
        this.checkForAnyNewSchool = false;
        this.nullValueForDropdown = "Please Select";
        this.schoolControl = 0;
        this.studentCount = 0;
        this.schoolCount = 0;
        this.defaultIcon = "assets/img/default.jpg";
        /** control for the selected Year */
        this.academicYearsCtrl = new _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormControl"]();
        /** control for the selected Part */
        this.periodCtrl = new _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormControl"]();
        /** list of schools filtered by search keyword */
        this.filteredSchools = new rxjs__WEBPACK_IMPORTED_MODULE_2__["ReplaySubject"](1);
        /** Subject that emits when the component has been destroyed. */
        this.onDestroy = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"]();
        this.schoolAddViewModel = new _app_models_school_master_model__WEBPACK_IMPORTED_MODULE_6__["SchoolAddViewModel"]();
        this.impersonateSubjectForSelectBar = false;
        this.getAllParentInfoModel = new _app_models_parent_info_model__WEBPACK_IMPORTED_MODULE_9__["GetAllParentInfoModel"]();
        this.getSchoolDateTimeSettingsModel = new src_app_models_common_model__WEBPACK_IMPORTED_MODULE_10__["GetSchoolDateTimeSettingsModel"]();
        this.GetMoodleConfigModel = new _app_models_moodle_model__WEBPACK_IMPORTED_MODULE_11__["GetMoodleConfigModel"]();
        this.schoolService.currentMessage.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["takeUntil"])(this.onDestroy)).subscribe((res) => {
            if (res) {
                this.checkForAnyNewSchool = res;
                this.callAllSchool();
                this.callAcademicYearsOnSchoolSelect();
            }
        });
        this.impersonateServices.impersonateSubjectForSelectBar.subscribe(x => {
            if (x) {
                this.impersonateSelectBarOnInit();
                this.impersonateSubjectForSelectBar = true;
            }
        });
    }
    ngOnInit() {
        this.impersonateSelectBarOnInit();
        this.getMoodleConfigurations();
    }
    impersonateSelectBarOnInit() {
        if (this.defaultValuesService.getUserMembershipType() === this.profiles.Parent) {
            this.isParentLogin = true;
            this.callStudentListForParent();
        }
        else {
            this.isParentLogin = false;
            this.callAllSchool(); //Initial call of School list
        }
        this.markingPeriodService.currentY.subscribe((res) => {
            if (res) {
                this.callAcademicYearsOnSchoolSelect();
            }
        });
        if (this.impersonateSubjectForSelectBar) {
            this.impersonateServices.impersonateSubjectForSelectBar.next(false);
            this.impersonateSubjectForSelectBar = false;
        }
    }
    getUserMembershipType() {
        if (this.defaultValuesService.getUserMembershipType() === this.profiles.SuperAdmin || this.defaultValuesService.getUserMembershipType() === this.profiles.SchoolAdmin ||
            this.defaultValuesService.getUserMembershipType() === this.profiles.AdminAssitant || this.defaultValuesService.getUserMembershipType() === this.profiles.Teacher ||
            this.defaultValuesService.getUserMembershipType() === this.profiles.HomeroomTeacher)
            return true;
        else
            return false;
    }
    callStudentListForParent() {
        this.addParentInfoModel.parentInfo.parentId = this.defaultValuesService.getUserId();
        this.parentPortalService.getStudentListForParent(this.addParentInfoModel).subscribe((res) => {
            var _a;
            if (res) {
                if (res._failure) {
                }
                this.getStudentForView = res.getStudentForView;
                this.studentCount = (_a = res === null || res === void 0 ? void 0 : res.getStudentForView) === null || _a === void 0 ? void 0 : _a.length;
                this.selected = this.getStudentForView[0];
                if (this.selected !== null) {
                    this.defaultValuesService.setStudentId((this.selected.studentId).toString());
                    this.defaultValuesService.setStudentGuid(this.selected.studentGuid);
                    this.getSchoolList.studentGuid = this.selected.studentGuid;
                    this.getSchoolList.membershipId = this.defaultValuesService.getuserMembershipID();
                    this.getAllSchoolsByStudent();
                }
                this.parentInfoService.studentPhotoForParent(this.selected.studentPhoto);
            }
        });
    }
    checkParentCustodyOfStudentStatus() {
        this.getAllParentInfoModel.studentId = this.defaultValuesService.getStudentId();
        this.getAllParentInfoModel.schoolId = this.defaultValuesService.getSchoolID();
        this.parentInfoService.viewParentListForStudent(this.getAllParentInfoModel).subscribe((data) => {
            if (data) {
                if (data._failure) {
                }
                else {
                    data.parentInfoListForView.forEach(val => {
                        if (val.parentId == this.defaultValuesService.getUserId()) {
                            this.parentInfoService.custodianParentCheck(val.isCustodian);
                        }
                    });
                }
            }
        });
    }
    getAllSchoolsByStudent() {
        this.parentPortalService.getAllSchoolsByStudentId(this.getSchoolList).subscribe((data) => {
            var _a, _b, _c;
            if (data) {
                if (data._failure) {
                }
                this.schools = data.getSchoolForView;
                this.schoolCount = (_a = data === null || data === void 0 ? void 0 : data.getSchoolForView) === null || _a === void 0 ? void 0 : _a.length;
                this.defaultValuesService.setSchoolCount((_c = ((_b = data === null || data === void 0 ? void 0 : data.getSchoolForView) === null || _b === void 0 ? void 0 : _b.length)) === null || _c === void 0 ? void 0 : _c.toString());
                /** control for the selected School */
                this.schoolCtrl = new _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormControl"]();
                this.schoolFilterCtrl = new _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormControl"]();
                // set initial selection
                // this.schoolCtrl.setValue(+this.defaultValuesService.getSchoolID() ? +this.defaultValuesService.getSchoolID() : this.schools[0]);
                const index = this.schools.findIndex((x) => {
                    return x.schoolId === +this.defaultValuesService.getSchoolID();
                });
                this.schoolCtrl.setValue(this.schools[index === -1 ? 0 : index]);
                this.filteredSchools.next(this.schools.slice());
                /** control for the MatSelect filter keyword */
                this.schoolFilterCtrl.valueChanges
                    .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["takeUntil"])(this.onDestroy))
                    .subscribe(() => {
                    this.filterSchools();
                });
                if (this.checkForAnyNewSchool) { // If there is addition of new school then true block will be called.
                    this.selectNewSchoolOnAddSchool();
                    this.checkForAnyNewSchool = false;
                }
                else {
                    this.selectSchoolOnLoad();
                }
                // based on condition different APIs will called
                this.schoolService.changeSchoolListStatus({ schoolLoaded: true, schoolChanged: false, dataFromUserLogin: false, academicYearChanged: false, academicYearLoaded: false });
                if (this.defaultValuesService.getUserMembershipType() === this.profiles.Student || this.defaultValuesService.getUserMembershipType() === this.profiles.Parent) {
                    for (let x of this.schools) {
                        if (this.defaultValuesService.getSchoolID() == x.schoolId) {
                            this.defaultValuesService.setStudentId(x.studentId.toString());
                            this.checkParentCustodyOfStudentStatus();
                        }
                    }
                }
            }
            else {
            }
        });
    }
    changeStudent(value) {
        this.defaultValuesService.setSchoolID((value.value.schoolId).toString());
        this.defaultValuesService.setStudentId((value.value.studentId).toString());
        this.defaultValuesService.setStudentGuid(value.value.studentGuid);
        this.getSchoolList.studentGuid = value.value.studentGuid;
        this.getAllSchoolsByStudent();
        this.changeUrl();
        if (this.defaultValuesService.getUserMembershipType() === this.profiles.Parent) {
            for (let x of this.getStudentForView) {
                if (this.defaultValuesService.getStudentId() == x.studentId) {
                    this.parentInfoService.studentPhotoForParent(x.studentPhoto);
                }
            }
            this.checkParentCustodyOfStudentStatus();
        }
        this.setSchoolDateAndTimeZone();
    }
    callAllSchool() {
        this.getSchoolList.emailAddress = this.defaultValuesService.getEmailId();
        this.schoolService.GetAllSchools(this.getSchoolList).subscribe((data) => {
            var _a, _b, _c, _d, _e;
            if (data) {
                if (data._failure) {
                }
                this.schoolCount = (_a = data === null || data === void 0 ? void 0 : data.getSchoolForView) === null || _a === void 0 ? void 0 : _a.length;
                this.schools = data === null || data === void 0 ? void 0 : data.getSchoolForView;
                if (!!this.defaultValuesService.getImpersonateButton() && this.defaultValuesService.getLoggedInUserMembershipType() !== this.profiles.SuperAdmin && this.defaultValuesService.getLoggedInUserMembershipId() !== 1) {
                    (_b = this.schools) === null || _b === void 0 ? void 0 : _b.forEach(item => {
                        item.schoolId === +this.defaultValuesService.getSchoolID() ? item.disabled = false : item.disabled = true;
                    });
                }
                else {
                    (_c = this.schools) === null || _c === void 0 ? void 0 : _c.forEach(item => { item.disabled = false; });
                }
                this.defaultValuesService.setSchoolCount((_e = ((_d = data === null || data === void 0 ? void 0 : data.getSchoolForView) === null || _d === void 0 ? void 0 : _d.length)) === null || _e === void 0 ? void 0 : _e.toString());
                /** control for the selected School */
                this.schoolCtrl = new _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormControl"]();
                this.schoolFilterCtrl = new _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormControl"]();
                // set initial selection
                // this.schoolCtrl.setValue(+this.defaultValuesService.getSchoolID() ? +this.defaultValuesService.getSchoolID() : this.schools[0]);
                const index = this.schools.findIndex((x) => {
                    return x.schoolId === +this.defaultValuesService.getSchoolID();
                });
                this.schoolCtrl.setValue(this.schools[index === -1 ? 0 : index]);
                this.filteredSchools.next(this.schools.slice());
                /** control for the MatSelect filter keyword */
                this.schoolFilterCtrl.valueChanges
                    .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["takeUntil"])(this.onDestroy))
                    .subscribe(() => {
                    this.filterSchools();
                });
                if (this.checkForAnyNewSchool) { // If there is addition of new school then true block will be called.
                    this.selectNewSchoolOnAddSchool();
                    this.checkForAnyNewSchool = false;
                }
                else {
                    this.selectSchoolOnLoad();
                }
                // based on condition different APIs will called
                this.schoolService.changeSchoolListStatus({ schoolLoaded: true, schoolChanged: false, dataFromUserLogin: false, academicYearChanged: false, academicYearLoaded: false });
                if (this.defaultValuesService.getUserMembershipType() === this.profiles.Student) {
                    for (let x of this.schools) {
                        if (this.defaultValuesService.getSchoolID() == x.schoolId) {
                            this.defaultValuesService.setStudentId(x.studentId.toString());
                            this.schoolChanged.emit(true);
                        }
                    }
                }
            }
            else {
            }
        });
    }
    selectSchoolOnLoad() {
        if (!this.defaultValuesService.getSchoolID()) {
            const index = this.schools.findIndex((x) => {
                return x.schoolId === +this.defaultValuesService.getSchoolID();
            });
            // this.schoolCtrl.setValue(this.schools[index === -1 ? 0 : index]);
            this.defaultValuesService.setSchoolID(this.schools[index === -1 ? 0 : index].schoolId);
            this.defaultValuesService.setSchoolOpened(this.schools[index === -1 ? 0 : index].dateSchoolOpened);
            this.defaultValuesService.setSchoolClosed(this.schools[index === -1 ? 0 : index].dateSchoolClosed);
            this.callAcademicYearsOnSchoolSelect();
        }
        else {
            this.setSchool();
        }
    }
    selectNewSchoolOnAddSchool() {
        this.setSchool();
    }
    setSchool() {
        let id = this.defaultValuesService.getSchoolID();
        let index = this.schools.findIndex((x) => {
            return x.schoolId === id;
        });
        if (index != -1) {
            this.schoolCtrl.setValue(this.schools[index]);
            this.defaultValuesService.setSchoolOpened(this.schools[index].dateSchoolOpened);
            this.defaultValuesService.setSchoolClosed(this.schools[index].dateSchoolClosed);
        }
        else {
            const index = this.schools.findIndex((x) => {
                return x.schoolId === +this.defaultValuesService.getSchoolID();
            });
            this.schoolCtrl.setValue(this.schools[index === -1 ? 0 : index]);
            this.defaultValuesService.setSchoolID(this.schools[index === -1 ? 0 : index].schoolId);
            // this.schoolCtrl.setValue(+this.defaultValuesService.getSchoolID() ? +this.defaultValuesService.getSchoolID() : this.schools[0]);
            this.defaultValuesService.setSchoolOpened(this.schools[index === -1 ? 0 : index].dateSchoolOpened);
            this.defaultValuesService.setSchoolClosed(this.schools[index === -1 ? 0 : index].dateSchoolClosed);
            this.defaultValuesService.setSchoolName(this.schools[index === -1 ? 0 : index].schoolName);
        }
        if (!this.checkForAnyNewSchool) {
            this.callAcademicYearsOnSchoolSelect();
        }
    }
    changeSchool(details) {
        var _a;
        this.defaultValuesService.setSchoolID(details === null || details === void 0 ? void 0 : details.schoolId);
        this.defaultValuesService.setSchoolOpened(details === null || details === void 0 ? void 0 : details.dateSchoolOpened);
        this.defaultValuesService.setSchoolClosed(details === null || details === void 0 ? void 0 : details.dateSchoolClosed);
        this.defaultValuesService.setuserMembershipName(details === null || details === void 0 ? void 0 : details.membershipName);
        this.defaultValuesService.setUserMembershipType(details === null || details === void 0 ? void 0 : details.membershipType);
        this.defaultValuesService.setUserMembershipID((_a = details === null || details === void 0 ? void 0 : details.membershipId) === null || _a === void 0 ? void 0 : _a.toString());
        this.defaultValuesService.clearAcademicYear();
        this.callAcademicYearsOnSchoolSelect();
        this.changeUrl();
        this.dasboardService.sendPageLoadEvent(true);
        this.schoolService.changeSchoolListStatus({ schoolLoaded: false, schoolChanged: true, dataFromUserLogin: false, academicYearChanged: false, academicYearLoaded: false });
        this.updateLastUsedSchoolId();
        if (this.defaultValuesService.getUserMembershipType() === this.profiles.Student || this.defaultValuesService.getUserMembershipType() === this.profiles.Parent) {
            for (let x of this.schools) {
                if (this.defaultValuesService.getSchoolID() == x.schoolId) {
                    this.defaultValuesService.setStudentId(x.studentId.toString());
                }
            }
        }
        this.setSchoolDateAndTimeZone();
        this.getMoodleConfigurations();
        this.schoolChanged.emit(true);
    }
    setSchoolDateAndTimeZone() {
        this.commonService.getSchoolDateAndTimezone(this.getSchoolDateTimeSettingsModel).subscribe(res => {
            if (res) {
                if (res._failure) {
                    this.defaultValuesService.setSchoolDateFormat('MMMM d, y');
                    this.defaultValuesService.setSchoolCurrency("USD");
                }
                else {
                    this.defaultValuesService.setSchoolDateFormat(res.schoolDateTimeSettings.dateFormat);
                }
                if (res.billingCurrencyCode) {
                    this.defaultValuesService.setSchoolCurrency(res.billingCurrencyCode);
                }
                else {
                    this.defaultValuesService.setSchoolCurrency("USD");
                }
            }
            else {
                this.defaultValuesService.setSchoolDateFormat('MMMM d, y');
                this.defaultValuesService.setSchoolCurrency("USD");
            }
        });
    }
    updateLastUsedSchoolId() {
        this.schoolAddViewModel.lastUsedSchoolId = this.defaultValuesService.getSchoolID();
        for (let x of this.schools) {
            if (this.defaultValuesService.getSchoolID() == x.schoolId) {
                this.defaultValuesService.setSchoolName(x.schoolName);
            }
        }
        this.schoolService.updateLastUsedSchoolId(this.schoolAddViewModel).subscribe((res) => {
            if (res) {
                if (res._failure) {
                }
            }
            else {
                this.snackbar.open('Dashboard view failed. ' + this.defaultValuesService.getHttpError(), '', {
                    duration: 10000
                });
            }
        });
    }
    callAcademicYearsOnSchoolSelect() {
        this.getAcademicYears.schoolId = this.defaultValuesService.getSchoolID();
        this.markingPeriodService.getAcademicYearList(this.getAcademicYears).subscribe((res) => {
            var _a;
            if (res._failure) {
            }
            this.academicYears = res.academicYears;
            // set initial selection
            if (((_a = this.academicYears) === null || _a === void 0 ? void 0 : _a.length) > 0) {
                const academicIndex = this.defaultValuesService.getAcademicYear() ? this.academicYears.findIndex(item => item.academyYear === this.defaultValuesService.getAcademicYear()) : this.academicYears.findIndex(item => moment__WEBPACK_IMPORTED_MODULE_7__(new Date()).isBetween(item.startDate, item.endDate));
                if (academicIndex >= 0) {
                    this.academicYearsCtrl.setValue(this.academicYears[academicIndex]);
                }
                else {
                    this.academicYearsCtrl.setValue(this.academicYears[this.academicYears.length - 1]);
                }
                // this.academicYearsCtrl.setValue(this.academicYears[this.academicYears.length - 1]);
                this.defaultValuesService.setAcademicYear(this.academicYearsCtrl.value.academyYear);
                this.defaultValuesService.setFullAcademicYear(this.academicYearsCtrl.value.year);
                this.defaultValuesService.setFullYearStartDate(this.academicYearsCtrl.value.startDate);
                this.defaultValuesService.setFullYearEndDate(this.academicYearsCtrl.value.endDate);
                this.defaultValuesService.setSchoolOpened(this.academicYearsCtrl.value.startDate);
                this.defaultValuesService.setSchoolClosed(this.academicYearsCtrl.value.endDate);
            }
            else {
                this.academicYearsCtrl.setValue(this.nullValueForDropdown);
                this.defaultValuesService.setAcademicYear(null);
                this.defaultValuesService.setFullAcademicYear(null);
                this.defaultValuesService.setFullYearStartDate(null);
                this.defaultValuesService.setFullYearEndDate(null);
                this.defaultValuesService.setSchoolOpened(null);
                this.defaultValuesService.setSchoolClosed(null);
            }
            if (this.academicYearsCtrl.value == this.nullValueForDropdown) {
                this.defaultValuesService.setAcademicYear(null);
                this.defaultValuesService.setFullAcademicYear(null);
                this.defaultValuesService.setFullYearStartDate(null);
                this.defaultValuesService.setFullYearEndDate(null);
                this.defaultValuesService.setSchoolOpened(null);
                this.defaultValuesService.setSchoolClosed(null);
                this.periods = [];
                this.callMarkingPeriodTitleList();
            }
            else {
                this.defaultValuesService.setAcademicYear(this.academicYearsCtrl.value.academyYear);
                this.defaultValuesService.setFullAcademicYear(this.academicYearsCtrl.value.year);
                this.defaultValuesService.setFullYearStartDate(this.academicYearsCtrl.value.startDate);
                this.defaultValuesService.setFullYearEndDate(this.academicYearsCtrl.value.endDate);
                this.defaultValuesService.setSchoolOpened(this.academicYearsCtrl.value.startDate);
                this.defaultValuesService.setSchoolClosed(this.academicYearsCtrl.value.endDate);
                this.callMarkingPeriodTitleList();
            }
            this.schoolService.changeSchoolListStatus({ schoolLoaded: false, schoolChanged: false, dataFromUserLogin: false, academicYearChanged: false, academicYearLoaded: true });
            //this service will set canModify flag true/false based on rollover has happened or not
            this.markingPeriodService.setUpdatedAcademicYearsList(this.academicYears);
        });
    }
    changeYear(event) {
        if (event.value == this.nullValueForDropdown) {
            this.defaultValuesService.setAcademicYear(null);
            this.defaultValuesService.setFullAcademicYear(null);
            this.defaultValuesService.setFullYearStartDate(null);
            this.defaultValuesService.setFullYearEndDate(null);
            this.defaultValuesService.setSchoolOpened(null);
            this.defaultValuesService.setSchoolClosed(null);
            this.callMarkingPeriodTitleList();
        }
        else {
            this.defaultValuesService.setAcademicYear(event.value.academyYear);
            this.defaultValuesService.setFullAcademicYear(event.value.year);
            this.defaultValuesService.setFullYearStartDate(event.value.startDate);
            this.defaultValuesService.setFullYearEndDate(event.value.endDate);
            this.defaultValuesService.setSchoolOpened(event.value.startDate);
            this.defaultValuesService.setSchoolClosed(event.value.endDate);
            this.callMarkingPeriodTitleList();
        }
        this.changeUrl();
        this.schoolService.changeSchoolListStatus({ schoolLoaded: false, schoolChanged: false, dataFromUserLogin: false, academicYearChanged: true, academicYearLoaded: false });
    }
    callMarkingPeriodTitleList() {
        /*  If there is any marking period then particular marking period
         will be selected which is based on current date neither select the first one. */
        if (this.defaultValuesService.getAcademicYear() !== null) {
            this.markingPeriodTitleLists.schoolId = this.defaultValuesService.getSchoolID();
            this.markingPeriodTitleLists.academicYear = this.defaultValuesService.getAcademicYear();
            this.markingPeriodService.getMarkingPeriodTitleList(this.markingPeriodTitleLists).subscribe((res) => {
                var _a, _b, _c;
                if (res._failure) {
                }
                this.periods = res.period;
                if (((_a = this.periods) === null || _a === void 0 ? void 0 : _a.length) > 0) {
                    for (let i = 0; i < this.periods.length; i++) {
                        let today = new Date().setHours(0, 0, 0, 0);
                        let startDate = new Date((_b = this.periods[i]) === null || _b === void 0 ? void 0 : _b.startDate).setHours(0, 0, 0, 0);
                        let endDate = new Date((_c = this.periods[i]) === null || _c === void 0 ? void 0 : _c.endDate).setHours(0, 0, 0, 0);
                        if (today <= endDate && today >= startDate) {
                            this.periodCtrl.setValue(this.periods[i]);
                            this.defaultValuesService.setMarkingPeriodId(this.periods[i].markingPeriodId);
                            this.defaultValuesService.setMarkingPeriodStartDate(this.periods[i].startDate);
                            this.defaultValuesService.setMarkingPeriodEndDate(this.periods[i].endDate);
                            this.defaultValuesService.setMarkingPeriodTitle(this.periods[i].periodTitle);
                            break;
                        }
                        else {
                            this.periodCtrl.setValue(this.periods[0]);
                            this.defaultValuesService.setMarkingPeriodId(this.periods[0].markingPeriodId);
                            this.defaultValuesService.setMarkingPeriodStartDate(this.periods[0].startDate);
                            this.defaultValuesService.setMarkingPeriodEndDate(this.periods[0].endDate);
                            this.defaultValuesService.setMarkingPeriodTitle(this.periods[0].periodTitle);
                        }
                    }
                    this.dasboardService.changeMarkingPeriodStatus({ markingPeriodLoaded: true, markingPeriodChanged: false });
                }
                else {
                    this.periodCtrl.setValue(this.nullValueForDropdown);
                    this.defaultValuesService.setMarkingPeriodId(null);
                    this.defaultValuesService.setMarkingPeriodStartDate(null);
                    this.defaultValuesService.setMarkingPeriodEndDate(null);
                    this.defaultValuesService.setMarkingPeriodTitle(null);
                    if (this.defaultValuesService.getUserMembershipType() === this.profiles.SuperAdmin || this.defaultValuesService.getUserMembershipType() === this.profiles.SchoolAdmin || this.defaultValuesService.getUserMembershipType() === this.profiles.AdminAssitant) {
                        this.dasboardService.changeMarkingPeriodStatus({ markingPeriodLoaded: true, markingPeriodChanged: false });
                    }
                }
            });
        }
        else {
            this.periodCtrl.setValue(this.nullValueForDropdown);
            this.defaultValuesService.setMarkingPeriodId(null);
            this.defaultValuesService.setMarkingPeriodStartDate(null);
            this.defaultValuesService.setMarkingPeriodEndDate(null);
            this.defaultValuesService.setMarkingPeriodTitle(null);
        }
    }
    toggleSchoolControl() {
        if (this.schoolControl === 0) {
            this.schoolControl = 1;
        }
        else {
            this.schoolControl = 0;
        }
    }
    changePeriod(event) {
        if (event.value == this.nullValueForDropdown) {
            this.defaultValuesService.setMarkingPeriodId(null);
            this.defaultValuesService.setMarkingPeriodStartDate(null);
            this.defaultValuesService.setMarkingPeriodEndDate(null);
            this.defaultValuesService.setMarkingPeriodTitle(null);
        }
        else {
            this.defaultValuesService.setMarkingPeriodId(event.value.markingPeriodId);
            this.defaultValuesService.setMarkingPeriodStartDate(event.value.startDate);
            this.defaultValuesService.setMarkingPeriodEndDate(event.value.endDate);
            this.defaultValuesService.setMarkingPeriodTitle(event.value.periodTitle);
            this.dasboardService.changeMarkingPeriodStatus({ markingPeriodLoaded: false, markingPeriodChanged: true });
        }
        this.changeUrl();
    }
    changeUrl() {
        if (this.defaultValuesService.getUserMembershipType() === this.profiles.HomeroomTeacher || this.defaultValuesService.getUserMembershipType() === this.profiles.Teacher) {
            this.router.navigateByUrl("/school/teacher/dashboards");
        }
        else if (this.defaultValuesService.getUserMembershipType() === this.profiles.Student) {
            this.router.navigateByUrl("/school/student/dashboards");
        }
        else if (this.defaultValuesService.getUserMembershipType() === this.profiles.Parent) {
            this.router.navigateByUrl("/school/parent/dashboards");
        }
        else {
            this.defaultValuesService.clearPageSetupCount();
            this.defaultValuesService.clearSchoolSetupProgress();
            this.router.navigateByUrl("/school/dashboards");
        }
    }
    getMoodleConfigurations() {
        this.GetMoodleConfigModel.moodleConfigMast = {
            tenantId: this.defaultValuesService.getTenantID(),
            schoolId: this.defaultValuesService.getSchoolID()
        };
        this.MoodleService.getMoodleConfigurations(this.GetMoodleConfigModel).subscribe((res) => {
            if (res) {
                if (res._failure) {
                    // this.snackbar.open(res._message, '', {
                    //   duration: 1000
                    // });
                    this.defaultValuesService.setLMSClientStatus(false);
                }
                else {
                    if (res.moodleConfigMast) {
                        // let LMSModuleAccessibility = this.defaultValuesService.isModuleAccessible('permissionGroupId', 15);
                        let LMSModuleAccessibility = true;
                        if (res.moodleConfigMast.moodleSync === true && LMSModuleAccessibility === true) {
                            this.defaultValuesService.setLMSClientStatus(true);
                        }
                        else {
                            this.defaultValuesService.setLMSClientStatus(false);
                        }
                    }
                    else {
                        this.defaultValuesService.setLMSClientStatus(false);
                    }
                }
            }
            else {
                // this.snackbar.open(this.defaultValuesService.getHttpError(), '', {
                //   duration: 1000
                // });
                this.defaultValuesService.setLMSClientStatus(false);
            }
        });
    }
    filterSchools() {
        if (!this.schools) {
            return;
        }
        // get the search keyword
        let search = this.schoolFilterCtrl.value;
        if (!search) {
            this.filteredSchools.next(this.schools.slice());
            return;
        }
        else {
            search = search.toLowerCase();
        }
        // filter the school
        this.filteredSchools.next(this.schools.filter(school => school.schoolName.toLowerCase().indexOf(search) > -1));
    }
    ngOnDestroy() {
        this.onDestroy.next();
        this.onDestroy.complete();
        this.schoolService.changeMessage(false);
    }
}
SelectBarComponent.ɵfac = function SelectBarComponent_Factory(t) { return new (t || SelectBarComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_app_services_school_service__WEBPACK_IMPORTED_MODULE_12__["SchoolService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_13__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_app_services_parent_portal_service__WEBPACK_IMPORTED_MODULE_14__["ParentPortalService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_app_services_marking_period_service__WEBPACK_IMPORTED_MODULE_15__["MarkingPeriodService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_app_services_dasboard_service__WEBPACK_IMPORTED_MODULE_16__["DasboardService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_17__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_common_service__WEBPACK_IMPORTED_MODULE_18__["CommonService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_19__["MatSnackBar"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_impersonate_service__WEBPACK_IMPORTED_MODULE_20__["ImpersonateServices"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_parent_info_service__WEBPACK_IMPORTED_MODULE_21__["ParentInfoService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_app_services_moodle_service__WEBPACK_IMPORTED_MODULE_22__["MoodleService"])); };
SelectBarComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: SelectBarComponent, selectors: [["vex-select-bar"]], outputs: { schoolChanged: "schoolChanged" }, decls: 5, vars: 2, consts: [["class", "border-t border-b md:border-0 shadow-md p-4 md:p-0 md:pt-5 md:shadow-none md:text-right control-school", 3, "ngClass", 4, "ngIf"], [1, "control-school-overlay", 3, "ngClass", "click"], ["color", "primary", "mat-icon-button", "", 1, "toggle-school-control", 3, "click"], [1, "border-t", "border-b", "md:border-0", "shadow-md", "p-4", "md:p-0", "md:pt-5", "md:shadow-none", "md:text-right", "control-school", 3, "ngClass"], ["class", "w-full md:w-auto toolbar-dropdown student-selected-dropdown", 4, "ngIf"], ["class", "w-full md:w-auto toolbar-dropdown school-select-dropdown", "matTooltip", "Institution Name", 4, "ngIf"], ["class", "w-full md:w-auto toolbar-dropdown academic-year", "matTooltip", "School Year", 4, "ngIf"], ["matTooltip", "Marking Period", 1, "w-full", "md:w-auto", "toolbar-dropdown", "marking-period"], [1, "block", "md:hidden", "mb-2"], ["placeholder", "Period Title", 3, "formControl", "selectionChange"], [3, "value", 4, "ngIf"], [3, "value", 4, "ngFor", "ngForOf"], [1, "w-full", "md:w-auto", "toolbar-dropdown", "student-selected-dropdown"], [3, "value", "selectionChange", "valueChange"], ["class", "inline-block w-6 h-6 rounded-full mr-2", 3, "src", 4, "ngIf"], [1, "inline-block", "w-6", "h-6", "rounded-full", "mr-2", 3, "src"], [3, "value"], ["matTooltip", "Institution Name", 1, "w-full", "md:w-auto", "toolbar-dropdown", "school-select-dropdown"], ["placeholder", "School Name", 3, "formControl", "selectionChange"], ["ngxMatSelectSearchClear", "", "noEntriesFoundLabel", "No matching school found", "placeholderLabel", "Find School...", 3, "formControl"], [3, "value", "disabled", 4, "ngFor", "ngForOf"], [3, "value", "disabled"], ["matTooltip", "School Year", 1, "w-full", "md:w-auto", "toolbar-dropdown", "academic-year"], ["placeholder", "Year", 3, "formControl", "selectionChange"]], template: function SelectBarComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, SelectBarComponent_div_0_Template, 10, 7, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SelectBarComponent_Template_div_click_1_listener() { return ctx.toggleSchoolControl(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "button", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SelectBarComponent_Template_button_click_2_listener() { return ctx.toggleSchoolControl(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "mat-icon");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "tune");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.schoolCtrl);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", ctx.schoolControl == 0 ? "hidden" : "block");
    } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_23__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_23__["NgClass"], _angular_material_button__WEBPACK_IMPORTED_MODULE_24__["MatButton"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_25__["MatIcon"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_26__["MatFormField"], _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_27__["MatTooltip"], _angular_material_select__WEBPACK_IMPORTED_MODULE_28__["MatSelect"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormControlDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_23__["NgForOf"], _angular_material_select__WEBPACK_IMPORTED_MODULE_28__["MatSelectTrigger"], _angular_material_core__WEBPACK_IMPORTED_MODULE_29__["MatOption"], ngx_mat_select_search__WEBPACK_IMPORTED_MODULE_30__["MatSelectSearchComponent"], ngx_mat_select_search__WEBPACK_IMPORTED_MODULE_30__["ɵa"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_31__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_23__["AsyncPipe"]], styles: ["@import url(\"https://fonts.googleapis.com/icon?family=Material+Icons\");\n  .mat-form-field-underline {\n  display: none;\n}\n  .mat-form-field-appearance-fill .mat-form-field-flex {\n  background-color: white !important;\n}\n.toggle-school-control[_ngcontent-%COMP%] {\n  display: none;\n}\n@media (max-width: 767.98px) {\n    .mat-form-field-appearance-fill .mat-form-field-flex {\n    padding: 0 !important;\n  }\n\n    .mat-form-field-appearance-fill .mat-form-field-flex .mat-form-field-infix {\n    padding: 0 !important;\n  }\n\n    .control-school {\n    display: none;\n  }\n\n    .control-school .mat-form-field {\n    display: block;\n  }\n\n    .control-school .mat-form-field .mat-select {\n    border: 1px solid rgba(0, 0, 0, 0.1);\n    border-radius: 4px;\n  }\n\n    .control-school .mat-form-field .mat-select .mat-select-trigger {\n    display: flex;\n    width: 100%;\n    justify-content: space-between;\n    padding: 0 12px;\n    height: 45px;\n    align-items: center;\n  }\n\n    .control-school.show-school {\n    display: block;\n    position: absolute;\n    top: 64px;\n    left: 0;\n    width: 100%;\n    background: var(--background-card);\n    z-index: 8;\n  }\n\n  .toggle-school-control[_ngcontent-%COMP%] {\n    display: block;\n  }\n}\n.control-school-overlay[_ngcontent-%COMP%] {\n  position: fixed;\n  width: 100%;\n  height: 100vh;\n  background: rgba(0, 0, 0, 0.5);\n  z-index: 7;\n  top: 64px;\n  left: 0;\n}\n@media (min-width: 768px) {\n    .mat-form-field {\n    min-height: auto;\n  }\n\n    .mat-form-field.toolbar-dropdown {\n    border-width: 1px;\n    border-style: solid;\n    border-color: rgba(158, 158, 158, 0.5);\n    border-radius: 50px;\n    margin-right: 6px;\n    overflow: hidden;\n  }\n\n    .mat-form-field.toolbar-dropdown.school-select-dropdown {\n    background: #4b5b6c url('icon-school.svg') no-repeat 13px center;\n    padding-left: 30px;\n    background-size: 16px;\n    border-color: #4b5b6c;\n  }\n\n    .mat-form-field.toolbar-dropdown.school-select-dropdown .mat-form-field-wrapper .mat-form-field-flex {\n    background: #4b5b6c !important;\n  }\n\n    .mat-form-field.toolbar-dropdown.school-select-dropdown .mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix .mat-select-value {\n    color: #fff;\n  }\n\n    .mat-form-field.toolbar-dropdown.school-select-dropdown .mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix .mat-select-value-text > span {\n    max-width: 200px;\n    overflow: hidden;\n    white-space: nowrap;\n    text-overflow: ellipsis;\n    display: block;\n  }\n\n    .mat-form-field.toolbar-dropdown.academic-year {\n    background: url('icon-calendar.svg') no-repeat 13px center;\n    padding-left: 30px;\n    background-size: 16px;\n  }\n\n    .mat-form-field.toolbar-dropdown.marking-period {\n    background: url('icon-marking-period.svg') no-repeat 13px center;\n    padding-left: 30px;\n    background-size: 16px;\n  }\n\n    .mat-form-field.toolbar-dropdown .mat-form-field-wrapper .mat-form-field-flex {\n    padding: 0.3em 0.75em 0 0.75em;\n  }\n\n    .mat-form-field.toolbar-dropdown .mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix {\n    border-top: 0 !important;\n    padding: 0.25em 0 0.4em 0;\n  }\n\n    .mat-form-field.toolbar-dropdown .mat-form-field-wrapper .mat-form-field-flex .mat-select-arrow {\n    border-top: 5px solid #8695a3;\n  }\n\n    .mat-form-field.toolbar-dropdown.student-selected-dropdown {\n    border-color: #4b5b6c;\n  }\n\n    .mat-form-field.toolbar-dropdown.student-selected-dropdown .mat-form-field-wrapper .mat-form-field-flex {\n    background: #4b5b6c !important;\n  }\n\n    .mat-form-field.toolbar-dropdown.student-selected-dropdown .mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix .mat-select-value {\n    color: #fff;\n  }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2xheW91dC90b29sYmFyL3NlbGVjdC1iYXIvc2VsZWN0LWJhci5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBUSxzRUFBQTtBQUVSO0VBQ0UsYUFBQTtBQUFGO0FBR0E7RUFDRSxrQ0FBQTtBQUFGO0FBR0E7RUFDRSxhQUFBO0FBQUY7QUFHQTtFQUNFO0lBQ0UscUJBQUE7RUFBRjs7RUFHQTtJQUNFLHFCQUFBO0VBQUY7O0VBR0E7SUFDRSxhQUFBO0VBQUY7O0VBR0E7SUFDRSxjQUFBO0VBQUY7O0VBR0E7SUFDRSxvQ0FBQTtJQUNBLGtCQUFBO0VBQUY7O0VBR0E7SUFDRSxhQUFBO0lBQ0EsV0FBQTtJQUNBLDhCQUFBO0lBQ0EsZUFBQTtJQUNBLFlBQUE7SUFDQSxtQkFBQTtFQUFGOztFQUdBO0lBQ0UsY0FBQTtJQUNBLGtCQUFBO0lBQ0EsU0FBQTtJQUNBLE9BQUE7SUFDQSxXQUFBO0lBQ0Esa0NBQUE7SUFDQSxVQUFBO0VBQUY7O0VBR0E7SUFDRSxjQUFBO0VBQUY7QUFDRjtBQUdBO0VBQ0UsZUFBQTtFQUNBLFdBQUE7RUFDQSxhQUFBO0VBQ0EsOEJBQUE7RUFDQSxVQUFBO0VBQ0EsU0FBQTtFQUNBLE9BQUE7QUFERjtBQUlBO0VBQ0U7SUFDRSxnQkFBQTtFQURGOztFQUlBO0lBQ0UsaUJBQUE7SUFDQSxtQkFBQTtJQUNBLHNDQUFBO0lBQ0EsbUJBQUE7SUFDQSxpQkFBQTtJQUNBLGdCQUFBO0VBREY7O0VBSUE7SUFDRSxnRUFBQTtJQUNBLGtCQUFBO0lBQ0EscUJBQUE7SUFDQSxxQkFBQTtFQURGOztFQUlBO0lBQ0UsOEJBQUE7RUFERjs7RUFJQTtJQUNFLFdBQUE7RUFERjs7RUFJQTtJQUNFLGdCQUFBO0lBQ0EsZ0JBQUE7SUFDQSxtQkFBQTtJQUNBLHVCQUFBO0lBQ0EsY0FBQTtFQURGOztFQUlBO0lBQ0UsMERBQUE7SUFDQSxrQkFBQTtJQUNBLHFCQUFBO0VBREY7O0VBSUE7SUFDRSxnRUFBQTtJQUNBLGtCQUFBO0lBQ0EscUJBQUE7RUFERjs7RUFJQTtJQUNFLDhCQUFBO0VBREY7O0VBSUE7SUFDRSx3QkFBQTtJQUNBLHlCQUFBO0VBREY7O0VBSUE7SUFDRSw2QkFBQTtFQURGOztFQUlBO0lBQ0UscUJBQUE7RUFERjs7RUFJQTtJQUNFLDhCQUFBO0VBREY7O0VBSUE7SUFDRSxXQUFBO0VBREY7QUFDRiIsImZpbGUiOiJzcmMvQHZleC9sYXlvdXQvdG9vbGJhci9zZWxlY3QtYmFyL3NlbGVjdC1iYXIuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJAaW1wb3J0IHVybChcImh0dHBzOi8vZm9udHMuZ29vZ2xlYXBpcy5jb20vaWNvbj9mYW1pbHk9TWF0ZXJpYWwrSWNvbnNcIik7XG5cbjo6bmctZGVlcCAubWF0LWZvcm0tZmllbGQtdW5kZXJsaW5lIHtcbiAgZGlzcGxheTogbm9uZTtcbn1cblxuOjpuZy1kZWVwIC5tYXQtZm9ybS1maWVsZC1hcHBlYXJhbmNlLWZpbGwgLm1hdC1mb3JtLWZpZWxkLWZsZXgge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZSAhaW1wb3J0YW50O1xufVxuXG4udG9nZ2xlLXNjaG9vbC1jb250cm9sIHtcbiAgZGlzcGxheTogbm9uZTtcbn1cblxuQG1lZGlhIChtYXgtd2lkdGg6IDc2Ny45OHB4KSB7XG4gIDo6bmctZGVlcCAubWF0LWZvcm0tZmllbGQtYXBwZWFyYW5jZS1maWxsIC5tYXQtZm9ybS1maWVsZC1mbGV4IHtcbiAgICBwYWRkaW5nOiAwICFpbXBvcnRhbnQ7XG4gIH1cblxuICA6Om5nLWRlZXAgLm1hdC1mb3JtLWZpZWxkLWFwcGVhcmFuY2UtZmlsbCAubWF0LWZvcm0tZmllbGQtZmxleCAubWF0LWZvcm0tZmllbGQtaW5maXgge1xuICAgIHBhZGRpbmc6IDAgIWltcG9ydGFudDtcbiAgfVxuXG4gIDo6bmctZGVlcCAuY29udHJvbC1zY2hvb2wge1xuICAgIGRpc3BsYXk6IG5vbmU7XG4gIH1cblxuICA6Om5nLWRlZXAgLmNvbnRyb2wtc2Nob29sIC5tYXQtZm9ybS1maWVsZCB7XG4gICAgZGlzcGxheTogYmxvY2s7XG4gIH1cblxuICA6Om5nLWRlZXAgLmNvbnRyb2wtc2Nob29sIC5tYXQtZm9ybS1maWVsZCAubWF0LXNlbGVjdCB7XG4gICAgYm9yZGVyOiAxcHggc29saWQgcmdiYSgwLCAwLCAwLCAwLjEpO1xuICAgIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgfVxuXG4gIDo6bmctZGVlcCAuY29udHJvbC1zY2hvb2wgLm1hdC1mb3JtLWZpZWxkIC5tYXQtc2VsZWN0IC5tYXQtc2VsZWN0LXRyaWdnZXIge1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgd2lkdGg6IDEwMCU7XG4gICAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuICAgIHBhZGRpbmc6IDAgMTJweDtcbiAgICBoZWlnaHQ6IDQ1cHg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgfVxuXG4gIDo6bmctZGVlcCAuY29udHJvbC1zY2hvb2wuc2hvdy1zY2hvb2wge1xuICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICB0b3A6IDY0cHg7XG4gICAgbGVmdDogMDtcbiAgICB3aWR0aDogMTAwJTtcbiAgICBiYWNrZ3JvdW5kOiB2YXIoLS1iYWNrZ3JvdW5kLWNhcmQpO1xuICAgIHotaW5kZXg6IDg7XG4gIH1cblxuICAudG9nZ2xlLXNjaG9vbC1jb250cm9sIHtcbiAgICBkaXNwbGF5OiBibG9jaztcbiAgfVxufVxuXG4uY29udHJvbC1zY2hvb2wtb3ZlcmxheSB7XG4gIHBvc2l0aW9uOiBmaXhlZDtcbiAgd2lkdGg6IDEwMCU7XG4gIGhlaWdodDogMTAwdmg7XG4gIGJhY2tncm91bmQ6IHJnYmEoMCwgMCwgMCwgMC41KTtcbiAgei1pbmRleDogNztcbiAgdG9wOiA2NHB4O1xuICBsZWZ0OiAwO1xufVxuXG5AbWVkaWEgKG1pbi13aWR0aDogNzY4cHgpIHtcbiAgOjpuZy1kZWVwIC5tYXQtZm9ybS1maWVsZCB7XG4gICAgbWluLWhlaWdodDogYXV0bztcbiAgfVxuXG4gIDo6bmctZGVlcCAubWF0LWZvcm0tZmllbGQudG9vbGJhci1kcm9wZG93biB7XG4gICAgYm9yZGVyLXdpZHRoOiAxcHg7XG4gICAgYm9yZGVyLXN0eWxlOiBzb2xpZDtcbiAgICBib3JkZXItY29sb3I6IHJnYmEoMTU4LCAxNTgsIDE1OCwgMC41KTtcbiAgICBib3JkZXItcmFkaXVzOiA1MHB4O1xuICAgIG1hcmdpbi1yaWdodDogNnB4O1xuICAgIG92ZXJmbG93OiBoaWRkZW47XG4gIH1cblxuICA6Om5nLWRlZXAgLm1hdC1mb3JtLWZpZWxkLnRvb2xiYXItZHJvcGRvd24uc2Nob29sLXNlbGVjdC1kcm9wZG93biB7XG4gICAgYmFja2dyb3VuZDogIzRiNWI2YyB1cmwoLi4vLi4vLi4vLi4vYXNzZXRzL2ltZy9pY29ucy9pY29uLXNjaG9vbC5zdmcpIG5vLXJlcGVhdCAxM3B4IGNlbnRlcjtcbiAgICBwYWRkaW5nLWxlZnQ6IDMwcHg7XG4gICAgYmFja2dyb3VuZC1zaXplOiAxNnB4O1xuICAgIGJvcmRlci1jb2xvcjogIzRiNWI2YztcbiAgfVxuXG4gIDo6bmctZGVlcCAubWF0LWZvcm0tZmllbGQudG9vbGJhci1kcm9wZG93bi5zY2hvb2wtc2VsZWN0LWRyb3Bkb3duIC5tYXQtZm9ybS1maWVsZC13cmFwcGVyIC5tYXQtZm9ybS1maWVsZC1mbGV4IHtcbiAgICBiYWNrZ3JvdW5kOiAjNGI1YjZjICFpbXBvcnRhbnQ7XG4gIH1cblxuICA6Om5nLWRlZXAgLm1hdC1mb3JtLWZpZWxkLnRvb2xiYXItZHJvcGRvd24uc2Nob29sLXNlbGVjdC1kcm9wZG93biAubWF0LWZvcm0tZmllbGQtd3JhcHBlciAubWF0LWZvcm0tZmllbGQtZmxleCAubWF0LWZvcm0tZmllbGQtaW5maXggLm1hdC1zZWxlY3QtdmFsdWUge1xuICAgIGNvbG9yOiAjZmZmO1xuICB9XG5cbiAgOjpuZy1kZWVwIC5tYXQtZm9ybS1maWVsZC50b29sYmFyLWRyb3Bkb3duLnNjaG9vbC1zZWxlY3QtZHJvcGRvd24gLm1hdC1mb3JtLWZpZWxkLXdyYXBwZXIgLm1hdC1mb3JtLWZpZWxkLWZsZXggLm1hdC1mb3JtLWZpZWxkLWluZml4IC5tYXQtc2VsZWN0LXZhbHVlLXRleHQgPiBzcGFuIHtcbiAgICBtYXgtd2lkdGg6IDIwMHB4O1xuICAgIG92ZXJmbG93OiBoaWRkZW47XG4gICAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbiAgICBkaXNwbGF5OiBibG9jaztcbiAgfVxuXG4gIDo6bmctZGVlcCAubWF0LWZvcm0tZmllbGQudG9vbGJhci1kcm9wZG93bi5hY2FkZW1pYy15ZWFyIHtcbiAgICBiYWNrZ3JvdW5kOiB1cmwoLi4vLi4vLi4vLi4vYXNzZXRzL2ltZy9pY29ucy9pY29uLWNhbGVuZGFyLnN2Zykgbm8tcmVwZWF0IDEzcHggY2VudGVyO1xuICAgIHBhZGRpbmctbGVmdDogMzBweDtcbiAgICBiYWNrZ3JvdW5kLXNpemU6IDE2cHg7XG4gIH1cblxuICA6Om5nLWRlZXAgLm1hdC1mb3JtLWZpZWxkLnRvb2xiYXItZHJvcGRvd24ubWFya2luZy1wZXJpb2Qge1xuICAgIGJhY2tncm91bmQ6IHVybCguLi8uLi8uLi8uLi9hc3NldHMvaW1nL2ljb25zL2ljb24tbWFya2luZy1wZXJpb2Quc3ZnKSBuby1yZXBlYXQgMTNweCBjZW50ZXI7XG4gICAgcGFkZGluZy1sZWZ0OiAzMHB4O1xuICAgIGJhY2tncm91bmQtc2l6ZTogMTZweDtcbiAgfVxuXG4gIDo6bmctZGVlcCAubWF0LWZvcm0tZmllbGQudG9vbGJhci1kcm9wZG93biAubWF0LWZvcm0tZmllbGQtd3JhcHBlciAubWF0LWZvcm0tZmllbGQtZmxleCB7XG4gICAgcGFkZGluZzogMC4zZW0gMC43NWVtIDAgMC43NWVtO1xuICB9XG5cbiAgOjpuZy1kZWVwIC5tYXQtZm9ybS1maWVsZC50b29sYmFyLWRyb3Bkb3duIC5tYXQtZm9ybS1maWVsZC13cmFwcGVyIC5tYXQtZm9ybS1maWVsZC1mbGV4IC5tYXQtZm9ybS1maWVsZC1pbmZpeCB7XG4gICAgYm9yZGVyLXRvcDogMCAhaW1wb3J0YW50O1xuICAgIHBhZGRpbmc6IDAuMjVlbSAwIDAuNGVtIDA7XG4gIH1cblxuICA6Om5nLWRlZXAgLm1hdC1mb3JtLWZpZWxkLnRvb2xiYXItZHJvcGRvd24gLm1hdC1mb3JtLWZpZWxkLXdyYXBwZXIgLm1hdC1mb3JtLWZpZWxkLWZsZXggLm1hdC1zZWxlY3QtYXJyb3cge1xuICAgIGJvcmRlci10b3A6IDVweCBzb2xpZCAjODY5NWEzO1xuICB9XG5cbiAgOjpuZy1kZWVwIC5tYXQtZm9ybS1maWVsZC50b29sYmFyLWRyb3Bkb3duLnN0dWRlbnQtc2VsZWN0ZWQtZHJvcGRvd24ge1xuICAgIGJvcmRlci1jb2xvcjogIzRiNWI2YztcbiAgfVxuXG4gIDo6bmctZGVlcCAubWF0LWZvcm0tZmllbGQudG9vbGJhci1kcm9wZG93bi5zdHVkZW50LXNlbGVjdGVkLWRyb3Bkb3duIC5tYXQtZm9ybS1maWVsZC13cmFwcGVyIC5tYXQtZm9ybS1maWVsZC1mbGV4IHtcbiAgICBiYWNrZ3JvdW5kOiAjNGI1YjZjICFpbXBvcnRhbnQ7XG4gIH1cblxuICA6Om5nLWRlZXAgLm1hdC1mb3JtLWZpZWxkLnRvb2xiYXItZHJvcGRvd24uc3R1ZGVudC1zZWxlY3RlZC1kcm9wZG93biAubWF0LWZvcm0tZmllbGQtd3JhcHBlciAubWF0LWZvcm0tZmllbGQtZmxleCAubWF0LWZvcm0tZmllbGQtaW5maXggLm1hdC1zZWxlY3QtdmFsdWUge1xuICAgIGNvbG9yOiAjZmZmO1xuICB9XG59Il19 */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SelectBarComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-select-bar',
                templateUrl: './select-bar.component.html',
                styleUrls: ['./select-bar.component.scss']
            }]
    }], function () { return [{ type: _app_services_school_service__WEBPACK_IMPORTED_MODULE_12__["SchoolService"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_13__["Router"] }, { type: _app_services_parent_portal_service__WEBPACK_IMPORTED_MODULE_14__["ParentPortalService"] }, { type: _app_services_marking_period_service__WEBPACK_IMPORTED_MODULE_15__["MarkingPeriodService"] }, { type: _app_services_dasboard_service__WEBPACK_IMPORTED_MODULE_16__["DasboardService"] }, { type: _app_common_default_values_service__WEBPACK_IMPORTED_MODULE_17__["DefaultValuesService"] }, { type: src_app_services_common_service__WEBPACK_IMPORTED_MODULE_18__["CommonService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_19__["MatSnackBar"] }, { type: src_app_services_impersonate_service__WEBPACK_IMPORTED_MODULE_20__["ImpersonateServices"] }, { type: src_app_services_parent_info_service__WEBPACK_IMPORTED_MODULE_21__["ParentInfoService"] }, { type: _app_services_moodle_service__WEBPACK_IMPORTED_MODULE_22__["MoodleService"] }]; }, { schoolChanged: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }] }); })();


/***/ }),

/***/ "./src/@vex/layout/toolbar/select-bar/select-bar.module.ts":
/*!*****************************************************************!*\
  !*** ./src/@vex/layout/toolbar/select-bar/select-bar.module.ts ***!
  \*****************************************************************/
/*! exports provided: SelectBarModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SelectBarModule", function() { return SelectBarModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _select_bar_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./select-bar.component */ "./src/@vex/layout/toolbar/select-bar/select-bar.component.ts");
/* harmony import */ var ngx_mat_select_search__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ngx-mat-select-search */ "./node_modules/ngx-mat-select-search/__ivy_ngcc__/fesm2015/ngx-mat-select-search.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/menu */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/menu.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_material_select__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/select */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/select.js");
/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/form-field */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/form-field.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
/* harmony import */ var _angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/autocomplete */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/autocomplete.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/material/input */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/input.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/material/tooltip */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/tooltip.js");


















class SelectBarModule {
}
SelectBarModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: SelectBarModule });
SelectBarModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function SelectBarModule_Factory(t) { return new (t || SelectBarModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            ngx_mat_select_search__WEBPACK_IMPORTED_MODULE_3__["NgxMatSelectSearchModule"],
            _angular_material_input__WEBPACK_IMPORTED_MODULE_13__["MatInputModule"],
            _angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"],
            _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__["MatIconModule"],
            _angular_material_menu__WEBPACK_IMPORTED_MODULE_6__["MatMenuModule"],
            _angular_material_core__WEBPACK_IMPORTED_MODULE_7__["MatRippleModule"],
            _angular_material_select__WEBPACK_IMPORTED_MODULE_8__["MatSelectModule"],
            _angular_material_form_field__WEBPACK_IMPORTED_MODULE_9__["MatFormFieldModule"],
            _angular_forms__WEBPACK_IMPORTED_MODULE_10__["ReactiveFormsModule"],
            _angular_forms__WEBPACK_IMPORTED_MODULE_10__["FormsModule"],
            _angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_11__["MatAutocompleteModule"],
            _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_12__["IconModule"],
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_14__["TranslateModule"],
            _angular_router__WEBPACK_IMPORTED_MODULE_15__["RouterModule"],
            _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_16__["MatTooltipModule"]
        ], _angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](SelectBarModule, { declarations: [_select_bar_component__WEBPACK_IMPORTED_MODULE_2__["SelectBarComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        ngx_mat_select_search__WEBPACK_IMPORTED_MODULE_3__["NgxMatSelectSearchModule"],
        _angular_material_input__WEBPACK_IMPORTED_MODULE_13__["MatInputModule"],
        _angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"],
        _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__["MatIconModule"],
        _angular_material_menu__WEBPACK_IMPORTED_MODULE_6__["MatMenuModule"],
        _angular_material_core__WEBPACK_IMPORTED_MODULE_7__["MatRippleModule"],
        _angular_material_select__WEBPACK_IMPORTED_MODULE_8__["MatSelectModule"],
        _angular_material_form_field__WEBPACK_IMPORTED_MODULE_9__["MatFormFieldModule"],
        _angular_forms__WEBPACK_IMPORTED_MODULE_10__["ReactiveFormsModule"],
        _angular_forms__WEBPACK_IMPORTED_MODULE_10__["FormsModule"],
        _angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_11__["MatAutocompleteModule"],
        _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_12__["IconModule"],
        _ngx_translate_core__WEBPACK_IMPORTED_MODULE_14__["TranslateModule"],
        _angular_router__WEBPACK_IMPORTED_MODULE_15__["RouterModule"],
        _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_16__["MatTooltipModule"]], exports: [_angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"],
        _select_bar_component__WEBPACK_IMPORTED_MODULE_2__["SelectBarComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SelectBarModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_select_bar_component__WEBPACK_IMPORTED_MODULE_2__["SelectBarComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    ngx_mat_select_search__WEBPACK_IMPORTED_MODULE_3__["NgxMatSelectSearchModule"],
                    _angular_material_input__WEBPACK_IMPORTED_MODULE_13__["MatInputModule"],
                    _angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"],
                    _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__["MatIconModule"],
                    _angular_material_menu__WEBPACK_IMPORTED_MODULE_6__["MatMenuModule"],
                    _angular_material_core__WEBPACK_IMPORTED_MODULE_7__["MatRippleModule"],
                    _angular_material_select__WEBPACK_IMPORTED_MODULE_8__["MatSelectModule"],
                    _angular_material_form_field__WEBPACK_IMPORTED_MODULE_9__["MatFormFieldModule"],
                    _angular_forms__WEBPACK_IMPORTED_MODULE_10__["ReactiveFormsModule"],
                    _angular_forms__WEBPACK_IMPORTED_MODULE_10__["FormsModule"],
                    _angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_11__["MatAutocompleteModule"],
                    _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_12__["IconModule"],
                    _ngx_translate_core__WEBPACK_IMPORTED_MODULE_14__["TranslateModule"],
                    _angular_router__WEBPACK_IMPORTED_MODULE_15__["RouterModule"],
                    _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_16__["MatTooltipModule"]
                ],
                exports: [
                    _angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"],
                    _select_bar_component__WEBPACK_IMPORTED_MODULE_2__["SelectBarComponent"]
                ]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/layout/toolbar/toolbar-notifications/toolbar-notifications-dropdown/toolbar-notifications-dropdown.component.ts":
/*!**********************************************************************************************************************************!*\
  !*** ./src/@vex/layout/toolbar/toolbar-notifications/toolbar-notifications-dropdown/toolbar-notifications-dropdown.component.ts ***!
  \**********************************************************************************************************************************/
/*! exports provided: ToolbarNotificationsDropdownComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ToolbarNotificationsDropdownComponent", function() { return ToolbarNotificationsDropdownComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var luxon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! luxon */ "./node_modules/luxon/build/cjs-browser/luxon.js");
/* harmony import */ var luxon__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(luxon__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _utils_track_by__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../utils/track-by */ "./src/@vex/utils/track-by.ts");
/* harmony import */ var _iconify_icons_ic_twotone_settings__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @iconify/icons-ic/twotone-settings */ "./node_modules/@iconify/icons-ic/twotone-settings.js");
/* harmony import */ var _iconify_icons_ic_twotone_settings__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_settings__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _iconify_icons_ic_twotone_chevron_right__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @iconify/icons-ic/twotone-chevron-right */ "./node_modules/@iconify/icons-ic/twotone-chevron-right.js");
/* harmony import */ var _iconify_icons_ic_twotone_chevron_right__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_chevron_right__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _iconify_icons_ic_twotone_notifications_off__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @iconify/icons-ic/twotone-notifications-off */ "./node_modules/@iconify/icons-ic/twotone-notifications-off.js");
/* harmony import */ var _iconify_icons_ic_twotone_notifications_off__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_notifications_off__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _iconify_icons_ic_twotone_clear_all__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @iconify/icons-ic/twotone-clear-all */ "./node_modules/@iconify/icons-ic/twotone-clear-all.js");
/* harmony import */ var _iconify_icons_ic_twotone_clear_all__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_clear_all__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _iconify_icons_ic_twotone_shopping_basket__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @iconify/icons-ic/twotone-shopping-basket */ "./node_modules/@iconify/icons-ic/twotone-shopping-basket.js");
/* harmony import */ var _iconify_icons_ic_twotone_shopping_basket__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_shopping_basket__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _iconify_icons_ic_twotone_account_circle__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @iconify/icons-ic/twotone-account-circle */ "./node_modules/@iconify/icons-ic/twotone-account-circle.js");
/* harmony import */ var _iconify_icons_ic_twotone_account_circle__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_account_circle__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var _iconify_icons_ic_twotone_insert_chart__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @iconify/icons-ic/twotone-insert-chart */ "./node_modules/@iconify/icons-ic/twotone-insert-chart.js");
/* harmony import */ var _iconify_icons_ic_twotone_insert_chart__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_insert_chart__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var _iconify_icons_ic_twotone_check_circle__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @iconify/icons-ic/twotone-check-circle */ "./node_modules/@iconify/icons-ic/twotone-check-circle.js");
/* harmony import */ var _iconify_icons_ic_twotone_check_circle__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_check_circle__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var _iconify_icons_ic_twotone_description__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @iconify/icons-ic/twotone-description */ "./node_modules/@iconify/icons-ic/twotone-description.js");
/* harmony import */ var _iconify_icons_ic_twotone_description__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_description__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var _iconify_icons_ic_twotone_feedback__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @iconify/icons-ic/twotone-feedback */ "./node_modules/@iconify/icons-ic/twotone-feedback.js");
/* harmony import */ var _iconify_icons_ic_twotone_feedback__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_feedback__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var _iconify_icons_ic_twotone_verified_user__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @iconify/icons-ic/twotone-verified-user */ "./node_modules/@iconify/icons-ic/twotone-verified-user.js");
/* harmony import */ var _iconify_icons_ic_twotone_verified_user__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_verified_user__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var _iconify_icons_ic_twotone_file_copy__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @iconify/icons-ic/twotone-file-copy */ "./node_modules/@iconify/icons-ic/twotone-file-copy.js");
/* harmony import */ var _iconify_icons_ic_twotone_file_copy__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_file_copy__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/flex-layout/flex */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/material/menu */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/menu.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @angular/flex-layout/extended */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/extended.js");
/* harmony import */ var _pipes_relative_date_time_relative_date_time_pipe__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../../../pipes/relative-date-time/relative-date-time.pipe */ "./src/@vex/pipes/relative-date-time/relative-date-time.pipe.ts");


























const _c0 = function () { return []; };
function ToolbarNotificationsDropdownComponent_a_10_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ic-icon", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "relativeDateTime");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "mat-icon", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const notification_r2 = ctx.$implicit;
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("read", notification_r2.read);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](10, _c0));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icon", notification_r2.icon)("ngClass", notification_r2.colorClass);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](notification_r2.label);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 8, notification_r2.datetime));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r0.icChevronRight);
} }
class ToolbarNotificationsDropdownComponent {
    constructor() {
        this.notifications = [
            {
                id: '1',
                label: 'New Order Received',
                icon: _iconify_icons_ic_twotone_shopping_basket__WEBPACK_IMPORTED_MODULE_7___default.a,
                colorClass: 'text-primary',
                datetime: luxon__WEBPACK_IMPORTED_MODULE_1__["DateTime"].local().minus({ hour: 1 })
            },
            {
                id: '2',
                label: 'New customer has registered',
                icon: _iconify_icons_ic_twotone_account_circle__WEBPACK_IMPORTED_MODULE_8___default.a,
                colorClass: 'text-orange',
                datetime: luxon__WEBPACK_IMPORTED_MODULE_1__["DateTime"].local().minus({ hour: 2 })
            },
            {
                id: '3',
                label: 'Campaign statistics are available',
                icon: _iconify_icons_ic_twotone_insert_chart__WEBPACK_IMPORTED_MODULE_9___default.a,
                colorClass: 'text-purple',
                datetime: luxon__WEBPACK_IMPORTED_MODULE_1__["DateTime"].local().minus({ hour: 5 })
            },
            {
                id: '4',
                label: 'Project has been approved',
                icon: _iconify_icons_ic_twotone_check_circle__WEBPACK_IMPORTED_MODULE_10___default.a,
                colorClass: 'text-green',
                datetime: luxon__WEBPACK_IMPORTED_MODULE_1__["DateTime"].local().minus({ hour: 9 })
            },
            {
                id: '5',
                label: 'Client reports are available',
                icon: _iconify_icons_ic_twotone_description__WEBPACK_IMPORTED_MODULE_11___default.a,
                colorClass: 'text-primary',
                datetime: luxon__WEBPACK_IMPORTED_MODULE_1__["DateTime"].local().minus({ hour: 30 })
            },
            {
                id: '6',
                label: 'New review received',
                icon: _iconify_icons_ic_twotone_feedback__WEBPACK_IMPORTED_MODULE_12___default.a,
                colorClass: 'text-orange',
                datetime: luxon__WEBPACK_IMPORTED_MODULE_1__["DateTime"].local().minus({ hour: 40 }),
                read: true
            },
            {
                id: '7',
                label: '22 verified registrations',
                icon: _iconify_icons_ic_twotone_verified_user__WEBPACK_IMPORTED_MODULE_13___default.a,
                colorClass: 'text-green',
                datetime: luxon__WEBPACK_IMPORTED_MODULE_1__["DateTime"].local().minus({ hour: 60 })
            },
            {
                id: '8',
                label: 'New files available',
                icon: _iconify_icons_ic_twotone_file_copy__WEBPACK_IMPORTED_MODULE_14___default.a,
                colorClass: 'text-amber',
                datetime: luxon__WEBPACK_IMPORTED_MODULE_1__["DateTime"].local().minus({ hour: 90 })
            }
        ];
        this.icSettings = _iconify_icons_ic_twotone_settings__WEBPACK_IMPORTED_MODULE_3___default.a;
        this.icChevronRight = _iconify_icons_ic_twotone_chevron_right__WEBPACK_IMPORTED_MODULE_4___default.a;
        this.icClearAll = _iconify_icons_ic_twotone_clear_all__WEBPACK_IMPORTED_MODULE_6___default.a;
        this.icNotificationsOff = _iconify_icons_ic_twotone_notifications_off__WEBPACK_IMPORTED_MODULE_5___default.a;
        this.trackById = _utils_track_by__WEBPACK_IMPORTED_MODULE_2__["trackById"];
    }
    ngOnInit() {
    }
}
ToolbarNotificationsDropdownComponent.ɵfac = function ToolbarNotificationsDropdownComponent_Factory(t) { return new (t || ToolbarNotificationsDropdownComponent)(); };
ToolbarNotificationsDropdownComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ToolbarNotificationsDropdownComponent, selectors: [["vex-toolbar-notifications-dropdown"]], decls: 24, vars: 7, consts: [[1, "dropdown", "absolute", "left-0", "top-6"], ["fxLayout", "row", "fxLayoutAlign", "space-between center", 1, "dropdown-header"], [1, "dropdown-heading"], [1, "dropdown-subheading"], ["mat-icon-button", "", "type", "button", 3, "matMenuTriggerFor"], [1, "notifications-header-icon", 3, "icIcon"], [1, "dropdown-content"], ["class", "notification", "fxLayout", "row", "fxLayoutAlign", "start center", "matRipple", "", 3, "read", "routerLink", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["fxLayout", "row", "fxLayoutAlign", "center center", 1, "dropdown-footer"], ["color", "primary", "mat-button", "", "type", "button"], ["xPosition", "before", "yPosition", "below"], ["settingsMenu", "matMenu"], ["mat-menu-item", ""], [3, "icIcon"], ["fxLayout", "row", "fxLayoutAlign", "start center", "matRipple", "", 1, "notification", 3, "routerLink"], ["fxFlex", "none", "size", "24px", 1, "notification-icon", 3, "icon", "ngClass"], ["fxFlex", "auto"], [1, "notification-label"], [1, "notification-description"], ["fxFlex", "none", 1, "notification-chevron", 3, "icIcon"]], template: function ToolbarNotificationsDropdownComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "Notifications");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "button", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "mat-icon", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "div", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, ToolbarNotificationsDropdownComponent_a_10_Template, 9, 11, "a", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "div", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "button", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13, "MARK ALL AS READ");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "mat-menu", 10, 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "button", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](17, "mat-icon", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "span");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](19, "Mark all as read");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "button", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](21, "mat-icon", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "span");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](23, "Disable Notifications");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("You have ", ctx.notifications.length, " new notifications.");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matMenuTriggerFor", _r1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icSettings);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.notifications)("ngForTrackBy", ctx.trackById);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icClearAll);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icNotificationsOff);
    } }, directives: [_angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_15__["DefaultLayoutDirective"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_15__["DefaultLayoutAlignDirective"], _angular_material_button__WEBPACK_IMPORTED_MODULE_16__["MatButton"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_17__["MatMenuTrigger"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_18__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_19__["IconDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_20__["NgForOf"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_17__["_MatMenu"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_17__["MatMenuItem"], _angular_router__WEBPACK_IMPORTED_MODULE_21__["RouterLinkWithHref"], _angular_material_core__WEBPACK_IMPORTED_MODULE_22__["MatRipple"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_15__["DefaultFlexDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_20__["NgClass"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_23__["DefaultClassDirective"]], pipes: [_pipes_relative_date_time_relative_date_time_pipe__WEBPACK_IMPORTED_MODULE_24__["RelativeDateTimePipe"]], styles: [".dropdown[_ngcontent-%COMP%] {\n  background: var(--background-card);\n  border-bottom-left-radius: var(--border-radius);\n  border-bottom-right-radius: var(--border-radius);\n  box-shadow: var(--elevation-z4);\n  max-width: 100vw;\n  overflow: hidden;\n  width: 350px;\n  border-radius: 0.25rem;\n}\n\n.dropdown-header[_ngcontent-%COMP%] {\n  background-color: rgb(var(--color-primary));\n  box-shadow: var(--elevation-z6);\n  color: rgb(var(--color-primary-contrast));\n  padding-top: 1rem;\n  padding-bottom: 1rem;\n  padding-left: 1.5rem;\n  padding-right: 1.5rem;\n}\n\n.dropdown-heading[_ngcontent-%COMP%] {\n  font: var(--font-title);\n}\n\n.dropdown-content[_ngcontent-%COMP%] {\n  max-height: 291px;\n  overflow-x: hidden;\n  overflow-y: auto;\n}\n\n.dropdown-footer[_ngcontent-%COMP%] {\n  background: var(--background-app-bar);\n  border-top: 1px solid var(--foreground-divider);\n  padding: var(--padding-8) var(--padding);\n}\n\n.notification[_ngcontent-%COMP%] {\n  color: var(--text-color);\n  padding: var(--padding-16) var(--padding);\n  position: relative;\n  text-decoration: none;\n  transition: var(--trans-ease-out);\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n\n.notification[_ngcontent-%COMP%]:hover {\n  background: var(--background-hover);\n}\n\n.notification[_ngcontent-%COMP%]:hover   .notification-label[_ngcontent-%COMP%] {\n  color: rgb(var(--color-primary));\n}\n\n.notification.read[_ngcontent-%COMP%] {\n  opacity: 0.5;\n}\n\n.notification-icon[_ngcontent-%COMP%] {\n  -webkit-margin-end: var(--padding);\n          margin-inline-end: var(--padding);\n}\n\n.notification-label[_ngcontent-%COMP%] {\n  transition: inherit;\n}\n\n.notification-description[_ngcontent-%COMP%] {\n  color: var(--text-secondary);\n  font: var(--font-caption);\n}\n\n.notification-chevron[_ngcontent-%COMP%] {\n  color: var(--text-hint);\n  font-size: 18px;\n  height: 18px;\n  width: 18px;\n}\n\n.notification[_ngcontent-%COMP%]    + .notification[_ngcontent-%COMP%] {\n  border-top: 1px solid var(--foreground-divider);\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2xheW91dC90b29sYmFyL3Rvb2xiYXItbm90aWZpY2F0aW9ucy90b29sYmFyLW5vdGlmaWNhdGlvbnMtZHJvcGRvd24vdG9vbGJhci1ub3RpZmljYXRpb25zLWRyb3Bkb3duLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0Usa0NBQUE7RUFDQSwrQ0FBQTtFQUNBLGdEQUFBO0VBQ0EsK0JBQUE7RUFDQSxnQkFBQTtFQUNBLGdCQUFBO0VBQ0EsWUFBQTtFQUNBLHNCQUFBO0FBQ0Y7O0FBRUE7RUFDRSwyQ0FBQTtFQUNBLCtCQUFBO0VBQ0EseUNBQUE7RUFDQSxpQkFBQTtFQUNBLG9CQUFBO0VBQ0Esb0JBQUE7RUFDQSxxQkFBQTtBQUNGOztBQUVBO0VBQ0UsdUJBQUE7QUFDRjs7QUFFQTtFQUNFLGlCQUFBO0VBQ0Esa0JBQUE7RUFDQSxnQkFBQTtBQUNGOztBQUVBO0VBQ0UscUNBQUE7RUFDQSwrQ0FBQTtFQUNBLHdDQUFBO0FBQ0Y7O0FBRUE7RUFDRSx3QkFBQTtFQUNBLHlDQUFBO0VBQ0Esa0JBQUE7RUFDQSxxQkFBQTtFQUNBLGlDQUFBO0VBQ0EseUJBQUE7S0FBQSxzQkFBQTtNQUFBLHFCQUFBO1VBQUEsaUJBQUE7QUFDRjs7QUFFQTtFQUNFLG1DQUFBO0FBQ0Y7O0FBRUE7RUFDRSxnQ0FBQTtBQUNGOztBQUVBO0VBQ0UsWUFBQTtBQUNGOztBQUVBO0VBQ0Usa0NBQUE7VUFBQSxpQ0FBQTtBQUNGOztBQUVBO0VBQ0UsbUJBQUE7QUFDRjs7QUFFQTtFQUNFLDRCQUFBO0VBQ0EseUJBQUE7QUFDRjs7QUFFQTtFQUNFLHVCQUFBO0VBQ0EsZUFBQTtFQUNBLFlBQUE7RUFDQSxXQUFBO0FBQ0Y7O0FBRUE7RUFDRSwrQ0FBQTtBQUNGIiwiZmlsZSI6InNyYy9AdmV4L2xheW91dC90b29sYmFyL3Rvb2xiYXItbm90aWZpY2F0aW9ucy90b29sYmFyLW5vdGlmaWNhdGlvbnMtZHJvcGRvd24vdG9vbGJhci1ub3RpZmljYXRpb25zLWRyb3Bkb3duLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmRyb3Bkb3duIHtcbiAgYmFja2dyb3VuZDogdmFyKC0tYmFja2dyb3VuZC1jYXJkKTtcbiAgYm9yZGVyLWJvdHRvbS1sZWZ0LXJhZGl1czogdmFyKC0tYm9yZGVyLXJhZGl1cyk7XG4gIGJvcmRlci1ib3R0b20tcmlnaHQtcmFkaXVzOiB2YXIoLS1ib3JkZXItcmFkaXVzKTtcbiAgYm94LXNoYWRvdzogdmFyKC0tZWxldmF0aW9uLXo0KTtcbiAgbWF4LXdpZHRoOiAxMDB2dztcbiAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgd2lkdGg6IDM1MHB4O1xuICBib3JkZXItcmFkaXVzOiAwLjI1cmVtO1xufVxuXG4uZHJvcGRvd24taGVhZGVyIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogcmdiKHZhcigtLWNvbG9yLXByaW1hcnkpKTtcbiAgYm94LXNoYWRvdzogdmFyKC0tZWxldmF0aW9uLXo2KTtcbiAgY29sb3I6IHJnYih2YXIoLS1jb2xvci1wcmltYXJ5LWNvbnRyYXN0KSk7XG4gIHBhZGRpbmctdG9wOiAxcmVtO1xuICBwYWRkaW5nLWJvdHRvbTogMXJlbTtcbiAgcGFkZGluZy1sZWZ0OiAxLjVyZW07XG4gIHBhZGRpbmctcmlnaHQ6IDEuNXJlbTtcbn1cblxuLmRyb3Bkb3duLWhlYWRpbmcge1xuICBmb250OiB2YXIoLS1mb250LXRpdGxlKTtcbn1cblxuLmRyb3Bkb3duLWNvbnRlbnQge1xuICBtYXgtaGVpZ2h0OiAyOTFweDtcbiAgb3ZlcmZsb3cteDogaGlkZGVuO1xuICBvdmVyZmxvdy15OiBhdXRvO1xufVxuXG4uZHJvcGRvd24tZm9vdGVyIHtcbiAgYmFja2dyb3VuZDogdmFyKC0tYmFja2dyb3VuZC1hcHAtYmFyKTtcbiAgYm9yZGVyLXRvcDogMXB4IHNvbGlkIHZhcigtLWZvcmVncm91bmQtZGl2aWRlcik7XG4gIHBhZGRpbmc6IHZhcigtLXBhZGRpbmctOCkgdmFyKC0tcGFkZGluZyk7XG59XG5cbi5ub3RpZmljYXRpb24ge1xuICBjb2xvcjogdmFyKC0tdGV4dC1jb2xvcik7XG4gIHBhZGRpbmc6IHZhcigtLXBhZGRpbmctMTYpIHZhcigtLXBhZGRpbmcpO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbiAgdHJhbnNpdGlvbjogdmFyKC0tdHJhbnMtZWFzZS1vdXQpO1xuICB1c2VyLXNlbGVjdDogbm9uZTtcbn1cblxuLm5vdGlmaWNhdGlvbjpob3ZlciB7XG4gIGJhY2tncm91bmQ6IHZhcigtLWJhY2tncm91bmQtaG92ZXIpO1xufVxuXG4ubm90aWZpY2F0aW9uOmhvdmVyIC5ub3RpZmljYXRpb24tbGFiZWwge1xuICBjb2xvcjogcmdiKHZhcigtLWNvbG9yLXByaW1hcnkpKTtcbn1cblxuLm5vdGlmaWNhdGlvbi5yZWFkIHtcbiAgb3BhY2l0eTogMC41O1xufVxuXG4ubm90aWZpY2F0aW9uLWljb24ge1xuICBtYXJnaW4taW5saW5lLWVuZDogdmFyKC0tcGFkZGluZyk7XG59XG5cbi5ub3RpZmljYXRpb24tbGFiZWwge1xuICB0cmFuc2l0aW9uOiBpbmhlcml0O1xufVxuXG4ubm90aWZpY2F0aW9uLWRlc2NyaXB0aW9uIHtcbiAgY29sb3I6IHZhcigtLXRleHQtc2Vjb25kYXJ5KTtcbiAgZm9udDogdmFyKC0tZm9udC1jYXB0aW9uKTtcbn1cblxuLm5vdGlmaWNhdGlvbi1jaGV2cm9uIHtcbiAgY29sb3I6IHZhcigtLXRleHQtaGludCk7XG4gIGZvbnQtc2l6ZTogMThweDtcbiAgaGVpZ2h0OiAxOHB4O1xuICB3aWR0aDogMThweDtcbn1cblxuLm5vdGlmaWNhdGlvbiArIC5ub3RpZmljYXRpb24ge1xuICBib3JkZXItdG9wOiAxcHggc29saWQgdmFyKC0tZm9yZWdyb3VuZC1kaXZpZGVyKTtcbn0iXX0= */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ToolbarNotificationsDropdownComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-toolbar-notifications-dropdown',
                templateUrl: './toolbar-notifications-dropdown.component.html',
                styleUrls: ['./toolbar-notifications-dropdown.component.scss']
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/@vex/layout/toolbar/toolbar-notifications/toolbar-notifications.component.ts":
/*!******************************************************************************************!*\
  !*** ./src/@vex/layout/toolbar/toolbar-notifications/toolbar-notifications.component.ts ***!
  \******************************************************************************************/
/*! exports provided: ToolbarNotificationsComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ToolbarNotificationsComponent", function() { return ToolbarNotificationsComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _toolbar_notifications_dropdown_toolbar_notifications_dropdown_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toolbar-notifications-dropdown/toolbar-notifications-dropdown.component */ "./src/@vex/layout/toolbar/toolbar-notifications/toolbar-notifications-dropdown/toolbar-notifications-dropdown.component.ts");
/* harmony import */ var _iconify_icons_ic_twotone_notifications_active__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @iconify/icons-ic/twotone-notifications-active */ "./node_modules/@iconify/icons-ic/twotone-notifications-active.js");
/* harmony import */ var _iconify_icons_ic_twotone_notifications_active__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_notifications_active__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _components_popover_popover_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../components/popover/popover.service */ "./src/@vex/components/popover/popover.service.ts");





const _c0 = ["originRef"];
class ToolbarNotificationsComponent {
    constructor(popover, cd) {
        this.popover = popover;
        this.cd = cd;
        this.icNotificationsActive = _iconify_icons_ic_twotone_notifications_active__WEBPACK_IMPORTED_MODULE_2___default.a;
    }
    ngOnInit() { }
    showPopover() {
        this.dropdownOpen = true;
        this.cd.markForCheck();
        const popoverRef = this.popover.open({
            content: _toolbar_notifications_dropdown_toolbar_notifications_dropdown_component__WEBPACK_IMPORTED_MODULE_1__["ToolbarNotificationsDropdownComponent"],
            origin: this.originRef,
            offsetY: 12,
            position: [
                {
                    originX: 'center',
                    originY: 'top',
                    overlayX: 'center',
                    overlayY: 'bottom'
                },
                {
                    originX: 'end',
                    originY: 'bottom',
                    overlayX: 'end',
                    overlayY: 'top',
                },
            ]
        });
        popoverRef.afterClosed$.subscribe(() => {
            this.dropdownOpen = false;
            this.cd.markForCheck();
        });
    }
}
ToolbarNotificationsComponent.ɵfac = function ToolbarNotificationsComponent_Factory(t) { return new (t || ToolbarNotificationsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_components_popover_popover_service__WEBPACK_IMPORTED_MODULE_3__["PopoverService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"])); };
ToolbarNotificationsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ToolbarNotificationsComponent, selectors: [["vex-toolbar-notifications"]], viewQuery: function ToolbarNotificationsComponent_Query(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstaticViewQuery"](_c0, true, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]);
    } if (rf & 2) {
        var _t;
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.originRef = _t.first);
    } }, decls: 0, vars: 0, template: function ToolbarNotificationsComponent_Template(rf, ctx) { }, styles: [".button.active[_ngcontent-%COMP%] {\n  background: var(--background-hover);\n}\n\n.button[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%] {\n  color: var(--toolbar-icon-color);\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2xheW91dC90b29sYmFyL3Rvb2xiYXItbm90aWZpY2F0aW9ucy90b29sYmFyLW5vdGlmaWNhdGlvbnMuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxtQ0FBQTtBQUNGOztBQUVBO0VBQ0UsZ0NBQUE7QUFDRiIsImZpbGUiOiJzcmMvQHZleC9sYXlvdXQvdG9vbGJhci90b29sYmFyLW5vdGlmaWNhdGlvbnMvdG9vbGJhci1ub3RpZmljYXRpb25zLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmJ1dHRvbi5hY3RpdmUge1xuICBiYWNrZ3JvdW5kOiB2YXIoLS1iYWNrZ3JvdW5kLWhvdmVyKTtcbn1cblxuLmJ1dHRvbiAubWF0LWljb24ge1xuICBjb2xvcjogdmFyKC0tdG9vbGJhci1pY29uLWNvbG9yKTtcbn0iXX0= */"], changeDetection: 0 });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ToolbarNotificationsComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-toolbar-notifications',
                templateUrl: './toolbar-notifications.component.html',
                styleUrls: ['./toolbar-notifications.component.scss'],
                changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
            }]
    }], function () { return [{ type: _components_popover_popover_service__WEBPACK_IMPORTED_MODULE_3__["PopoverService"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"] }]; }, { originRef: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['originRef', { static: true, read: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"] }]
        }] }); })();


/***/ }),

/***/ "./src/@vex/layout/toolbar/toolbar-notifications/toolbar-notifications.module.ts":
/*!***************************************************************************************!*\
  !*** ./src/@vex/layout/toolbar/toolbar-notifications/toolbar-notifications.module.ts ***!
  \***************************************************************************************/
/*! exports provided: ToolbarNotificationsModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ToolbarNotificationsModule", function() { return ToolbarNotificationsModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _toolbar_notifications_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./toolbar-notifications.component */ "./src/@vex/layout/toolbar/toolbar-notifications/toolbar-notifications.component.ts");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _components_popover_popover_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../components/popover/popover.module */ "./src/@vex/components/popover/popover.module.ts");
/* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/flex-layout */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex-layout.js");
/* harmony import */ var _angular_material_tabs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/tabs */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/tabs.js");
/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/menu */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/menu.js");
/* harmony import */ var _pipes_relative_date_time_relative_date_time_module__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../pipes/relative-date-time/relative-date-time.module */ "./src/@vex/pipes/relative-date-time/relative-date-time.module.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _toolbar_notifications_dropdown_toolbar_notifications_dropdown_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./toolbar-notifications-dropdown/toolbar-notifications-dropdown.component */ "./src/@vex/layout/toolbar/toolbar-notifications/toolbar-notifications-dropdown/toolbar-notifications-dropdown.component.ts");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");















class ToolbarNotificationsModule {
}
ToolbarNotificationsModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: ToolbarNotificationsModule });
ToolbarNotificationsModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function ToolbarNotificationsModule_Factory(t) { return new (t || ToolbarNotificationsModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _angular_material_button__WEBPACK_IMPORTED_MODULE_3__["MatButtonModule"],
            _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__["MatIconModule"],
            _components_popover_popover_module__WEBPACK_IMPORTED_MODULE_5__["PopoverModule"],
            _angular_flex_layout__WEBPACK_IMPORTED_MODULE_6__["FlexLayoutModule"],
            _angular_material_tabs__WEBPACK_IMPORTED_MODULE_7__["MatTabsModule"],
            _angular_material_menu__WEBPACK_IMPORTED_MODULE_8__["MatMenuModule"],
            _pipes_relative_date_time_relative_date_time_module__WEBPACK_IMPORTED_MODULE_9__["RelativeDateTimeModule"],
            _angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterModule"],
            _angular_material_core__WEBPACK_IMPORTED_MODULE_11__["MatRippleModule"],
            _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_13__["IconModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](ToolbarNotificationsModule, { declarations: [_toolbar_notifications_component__WEBPACK_IMPORTED_MODULE_2__["ToolbarNotificationsComponent"], _toolbar_notifications_dropdown_toolbar_notifications_dropdown_component__WEBPACK_IMPORTED_MODULE_12__["ToolbarNotificationsDropdownComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _angular_material_button__WEBPACK_IMPORTED_MODULE_3__["MatButtonModule"],
        _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__["MatIconModule"],
        _components_popover_popover_module__WEBPACK_IMPORTED_MODULE_5__["PopoverModule"],
        _angular_flex_layout__WEBPACK_IMPORTED_MODULE_6__["FlexLayoutModule"],
        _angular_material_tabs__WEBPACK_IMPORTED_MODULE_7__["MatTabsModule"],
        _angular_material_menu__WEBPACK_IMPORTED_MODULE_8__["MatMenuModule"],
        _pipes_relative_date_time_relative_date_time_module__WEBPACK_IMPORTED_MODULE_9__["RelativeDateTimeModule"],
        _angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterModule"],
        _angular_material_core__WEBPACK_IMPORTED_MODULE_11__["MatRippleModule"],
        _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_13__["IconModule"]], exports: [_toolbar_notifications_component__WEBPACK_IMPORTED_MODULE_2__["ToolbarNotificationsComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ToolbarNotificationsModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_toolbar_notifications_component__WEBPACK_IMPORTED_MODULE_2__["ToolbarNotificationsComponent"], _toolbar_notifications_dropdown_toolbar_notifications_dropdown_component__WEBPACK_IMPORTED_MODULE_12__["ToolbarNotificationsDropdownComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _angular_material_button__WEBPACK_IMPORTED_MODULE_3__["MatButtonModule"],
                    _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__["MatIconModule"],
                    _components_popover_popover_module__WEBPACK_IMPORTED_MODULE_5__["PopoverModule"],
                    _angular_flex_layout__WEBPACK_IMPORTED_MODULE_6__["FlexLayoutModule"],
                    _angular_material_tabs__WEBPACK_IMPORTED_MODULE_7__["MatTabsModule"],
                    _angular_material_menu__WEBPACK_IMPORTED_MODULE_8__["MatMenuModule"],
                    _pipes_relative_date_time_relative_date_time_module__WEBPACK_IMPORTED_MODULE_9__["RelativeDateTimeModule"],
                    _angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterModule"],
                    _angular_material_core__WEBPACK_IMPORTED_MODULE_11__["MatRippleModule"],
                    _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_13__["IconModule"]
                ],
                exports: [_toolbar_notifications_component__WEBPACK_IMPORTED_MODULE_2__["ToolbarNotificationsComponent"]],
                entryComponents: [_toolbar_notifications_dropdown_toolbar_notifications_dropdown_component__WEBPACK_IMPORTED_MODULE_12__["ToolbarNotificationsDropdownComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/layout/toolbar/toolbar-search/toolbar-search.component.ts":
/*!****************************************************************************!*\
  !*** ./src/@vex/layout/toolbar/toolbar-search/toolbar-search.component.ts ***!
  \****************************************************************************/
/*! exports provided: ToolbarSearchComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ToolbarSearchComponent", function() { return ToolbarSearchComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _iconify_icons_ic_twotone_search__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @iconify/icons-ic/twotone-search */ "./node_modules/@iconify/icons-ic/twotone-search.js");
/* harmony import */ var _iconify_icons_ic_twotone_search__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_search__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/flex-layout/flex */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/form-field */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/form-field.js");
/* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/input */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/input.js");









const _c0 = ["input"];
class ToolbarSearchComponent {
    constructor(cd) {
        this.cd = cd;
        this.icSearch = _iconify_icons_ic_twotone_search__WEBPACK_IMPORTED_MODULE_1___default.a;
    }
    ngOnInit() {
    }
    open() {
        this.isOpen = true;
        this.cd.markForCheck();
        setTimeout(() => {
            this.input.nativeElement.focus();
        }, 100);
    }
    close() {
        this.isOpen = false;
        this.cd.markForCheck();
    }
}
ToolbarSearchComponent.ɵfac = function ToolbarSearchComponent_Factory(t) { return new (t || ToolbarSearchComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"])); };
ToolbarSearchComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ToolbarSearchComponent, selectors: [["vex-toolbar-search"]], viewQuery: function ToolbarSearchComponent_Query(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstaticViewQuery"](_c0, true, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]);
    } if (rf & 2) {
        var _t;
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.input = _t.first);
    } }, decls: 8, vars: 3, consts: [["fxLayout", "row", "fxLayoutAlign", "start center"], ["mat-icon-button", "", 3, "click"], [3, "icIcon"], ["appearance", "outline", "fxFlex", "auto", 1, "search"], ["matInput", "", 3, "blur"], ["input", ""]], template: function ToolbarSearchComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "button", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarSearchComponent_Template_button_click_1_listener() { return ctx.open(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "mat-icon", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "mat-form-field", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "mat-label");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "Search\u2026");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "input", 4, 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("blur", function ToolbarSearchComponent_Template_input_blur_6_listener() { return ctx.close(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icSearch);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("search-open", ctx.isOpen);
    } }, directives: [_angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__["DefaultLayoutDirective"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__["DefaultLayoutAlignDirective"], _angular_material_button__WEBPACK_IMPORTED_MODULE_3__["MatButton"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_5__["IconDirective"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_6__["MatFormField"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__["DefaultFlexDirective"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_6__["MatLabel"], _angular_material_input__WEBPACK_IMPORTED_MODULE_7__["MatInput"]], styles: [".mat-icon[_ngcontent-%COMP%] {\n  color: rgb(var(--color-primary));\n}\n\n.search[_ngcontent-%COMP%] {\n  margin-top: 22px;\n  opacity: 0;\n  overflow: hidden;\n  transition: var(--trans-ease-in-out);\n  visibility: hidden;\n  width: 0;\n}\n\n.search.search-open[_ngcontent-%COMP%] {\n  margin-left: var(--padding-8);\n  margin-right: var(--padding-8);\n  opacity: 1;\n  visibility: visible;\n  width: 250px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2xheW91dC90b29sYmFyL3Rvb2xiYXItc2VhcmNoL3Rvb2xiYXItc2VhcmNoLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsZ0NBQUE7QUFDRjs7QUFFQTtFQUNFLGdCQUFBO0VBQ0EsVUFBQTtFQUNBLGdCQUFBO0VBQ0Esb0NBQUE7RUFDQSxrQkFBQTtFQUNBLFFBQUE7QUFDRjs7QUFFQTtFQUNFLDZCQUFBO0VBQ0EsOEJBQUE7RUFDQSxVQUFBO0VBQ0EsbUJBQUE7RUFDQSxZQUFBO0FBQ0YiLCJmaWxlIjoic3JjL0B2ZXgvbGF5b3V0L3Rvb2xiYXIvdG9vbGJhci1zZWFyY2gvdG9vbGJhci1zZWFyY2guY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIubWF0LWljb24ge1xuICBjb2xvcjogcmdiKHZhcigtLWNvbG9yLXByaW1hcnkpKTtcbn1cblxuLnNlYXJjaCB7XG4gIG1hcmdpbi10b3A6IDIycHg7XG4gIG9wYWNpdHk6IDA7XG4gIG92ZXJmbG93OiBoaWRkZW47XG4gIHRyYW5zaXRpb246IHZhcigtLXRyYW5zLWVhc2UtaW4tb3V0KTtcbiAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICB3aWR0aDogMDtcbn1cblxuLnNlYXJjaC5zZWFyY2gtb3BlbiB7XG4gIG1hcmdpbi1sZWZ0OiB2YXIoLS1wYWRkaW5nLTgpO1xuICBtYXJnaW4tcmlnaHQ6IHZhcigtLXBhZGRpbmctOCk7XG4gIG9wYWNpdHk6IDE7XG4gIHZpc2liaWxpdHk6IHZpc2libGU7XG4gIHdpZHRoOiAyNTBweDtcbn0iXX0= */"], changeDetection: 0 });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ToolbarSearchComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-toolbar-search',
                templateUrl: './toolbar-search.component.html',
                styleUrls: ['./toolbar-search.component.scss'],
                changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
            }]
    }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"] }]; }, { input: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['input', { read: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], static: true }]
        }] }); })();


/***/ }),

/***/ "./src/@vex/layout/toolbar/toolbar-search/toolbar-search.module.ts":
/*!*************************************************************************!*\
  !*** ./src/@vex/layout/toolbar/toolbar-search/toolbar-search.module.ts ***!
  \*************************************************************************/
/*! exports provided: ToolbarSearchModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ToolbarSearchModule", function() { return ToolbarSearchModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _toolbar_search_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./toolbar-search.component */ "./src/@vex/layout/toolbar/toolbar-search/toolbar-search.component.ts");
/* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/input */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/input.js");
/* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/flex-layout */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex-layout.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");









class ToolbarSearchModule {
}
ToolbarSearchModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: ToolbarSearchModule });
ToolbarSearchModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function ToolbarSearchModule_Factory(t) { return new (t || ToolbarSearchModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _angular_material_input__WEBPACK_IMPORTED_MODULE_3__["MatInputModule"],
            _angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__["FlexLayoutModule"],
            _angular_material_button__WEBPACK_IMPORTED_MODULE_5__["MatButtonModule"],
            _angular_material_icon__WEBPACK_IMPORTED_MODULE_6__["MatIconModule"],
            _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_7__["IconModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](ToolbarSearchModule, { declarations: [_toolbar_search_component__WEBPACK_IMPORTED_MODULE_2__["ToolbarSearchComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _angular_material_input__WEBPACK_IMPORTED_MODULE_3__["MatInputModule"],
        _angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__["FlexLayoutModule"],
        _angular_material_button__WEBPACK_IMPORTED_MODULE_5__["MatButtonModule"],
        _angular_material_icon__WEBPACK_IMPORTED_MODULE_6__["MatIconModule"],
        _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_7__["IconModule"]], exports: [_toolbar_search_component__WEBPACK_IMPORTED_MODULE_2__["ToolbarSearchComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ToolbarSearchModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_toolbar_search_component__WEBPACK_IMPORTED_MODULE_2__["ToolbarSearchComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _angular_material_input__WEBPACK_IMPORTED_MODULE_3__["MatInputModule"],
                    _angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__["FlexLayoutModule"],
                    _angular_material_button__WEBPACK_IMPORTED_MODULE_5__["MatButtonModule"],
                    _angular_material_icon__WEBPACK_IMPORTED_MODULE_6__["MatIconModule"],
                    _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_7__["IconModule"]
                ],
                exports: [_toolbar_search_component__WEBPACK_IMPORTED_MODULE_2__["ToolbarSearchComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/layout/toolbar/toolbar-user/toolbar-user-dropdown/toolbar-user-dropdown.component.ts":
/*!*******************************************************************************************************!*\
  !*** ./src/@vex/layout/toolbar/toolbar-user/toolbar-user-dropdown/toolbar-user-dropdown.component.ts ***!
  \*******************************************************************************************************/
/*! exports provided: ToolbarUserDropdownComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ToolbarUserDropdownComponent", function() { return ToolbarUserDropdownComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _utils_track_by__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../utils/track-by */ "./src/@vex/utils/track-by.ts");
/* harmony import */ var _iconify_icons_ic_twotone_person__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @iconify/icons-ic/twotone-person */ "./node_modules/@iconify/icons-ic/twotone-person.js");
/* harmony import */ var _iconify_icons_ic_twotone_person__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_person__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _iconify_icons_ic_twotone_settings__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @iconify/icons-ic/twotone-settings */ "./node_modules/@iconify/icons-ic/twotone-settings.js");
/* harmony import */ var _iconify_icons_ic_twotone_settings__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_settings__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _iconify_icons_ic_twotone_account_circle__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @iconify/icons-ic/twotone-account-circle */ "./node_modules/@iconify/icons-ic/twotone-account-circle.js");
/* harmony import */ var _iconify_icons_ic_twotone_account_circle__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_account_circle__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _iconify_icons_ic_twotone_move_to_inbox__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @iconify/icons-ic/twotone-move-to-inbox */ "./node_modules/@iconify/icons-ic/twotone-move-to-inbox.js");
/* harmony import */ var _iconify_icons_ic_twotone_move_to_inbox__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_move_to_inbox__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _iconify_icons_ic_twotone_list_alt__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @iconify/icons-ic/twotone-list-alt */ "./node_modules/@iconify/icons-ic/twotone-list-alt.js");
/* harmony import */ var _iconify_icons_ic_twotone_list_alt__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_list_alt__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _iconify_icons_ic_twotone_table_chart__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @iconify/icons-ic/twotone-table-chart */ "./node_modules/@iconify/icons-ic/twotone-table-chart.js");
/* harmony import */ var _iconify_icons_ic_twotone_table_chart__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_table_chart__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _iconify_icons_ic_twotone_check_circle__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @iconify/icons-ic/twotone-check-circle */ "./node_modules/@iconify/icons-ic/twotone-check-circle.js");
/* harmony import */ var _iconify_icons_ic_twotone_check_circle__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_check_circle__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var _iconify_icons_ic_twotone_access_time__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @iconify/icons-ic/twotone-access-time */ "./node_modules/@iconify/icons-ic/twotone-access-time.js");
/* harmony import */ var _iconify_icons_ic_twotone_access_time__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_access_time__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var _iconify_icons_ic_twotone_do_not_disturb__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @iconify/icons-ic/twotone-do-not-disturb */ "./node_modules/@iconify/icons-ic/twotone-do-not-disturb.js");
/* harmony import */ var _iconify_icons_ic_twotone_do_not_disturb__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_do_not_disturb__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var _iconify_icons_ic_twotone_offline_bolt__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @iconify/icons-ic/twotone-offline-bolt */ "./node_modules/@iconify/icons-ic/twotone-offline-bolt.js");
/* harmony import */ var _iconify_icons_ic_twotone_offline_bolt__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_offline_bolt__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var _iconify_icons_ic_twotone_chevron_right__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @iconify/icons-ic/twotone-chevron-right */ "./node_modules/@iconify/icons-ic/twotone-chevron-right.js");
/* harmony import */ var _iconify_icons_ic_twotone_chevron_right__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_chevron_right__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var _iconify_icons_ic_twotone_arrow_drop_down__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @iconify/icons-ic/twotone-arrow-drop-down */ "./node_modules/@iconify/icons-ic/twotone-arrow-drop-down.js");
/* harmony import */ var _iconify_icons_ic_twotone_arrow_drop_down__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_arrow_drop_down__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var _iconify_icons_ic_twotone_business__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @iconify/icons-ic/twotone-business */ "./node_modules/@iconify/icons-ic/twotone-business.js");
/* harmony import */ var _iconify_icons_ic_twotone_business__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_business__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var _iconify_icons_ic_twotone_verified_user__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @iconify/icons-ic/twotone-verified-user */ "./node_modules/@iconify/icons-ic/twotone-verified-user.js");
/* harmony import */ var _iconify_icons_ic_twotone_verified_user__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_verified_user__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var _iconify_icons_ic_twotone_lock__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @iconify/icons-ic/twotone-lock */ "./node_modules/@iconify/icons-ic/twotone-lock.js");
/* harmony import */ var _iconify_icons_ic_twotone_lock__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_lock__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var _iconify_icons_ic_twotone_notifications_off__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @iconify/icons-ic/twotone-notifications-off */ "./node_modules/@iconify/icons-ic/twotone-notifications-off.js");
/* harmony import */ var _iconify_icons_ic_twotone_notifications_off__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_notifications_off__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var _components_popover_popover_ref__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../../../components/popover/popover-ref */ "./src/@vex/components/popover/popover-ref.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @angular/flex-layout/flex */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @angular/material/menu */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/menu.js");
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @angular/material/tooltip */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/tooltip.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @angular/flex-layout/extended */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/extended.js");































function ToolbarUserDropdownComponent_a_11_Template(rf, ctx) { if (rf & 1) {
    const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarUserDropdownComponent_a_11_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r7); const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r6.close(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "mat-icon", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 21);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 23);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "mat-icon", 24);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const item_r5 = ctx.$implicit;
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", item_r5.route);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", item_r5.icon)("ngClass", item_r5.colorClass);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r5.label);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r5.description);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r0.icChevronRight);
} }
function ToolbarUserDropdownComponent_ng_container_14_span_1_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "mat-icon", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "mat-icon", 27);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const status_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", status_r8.icon)("ngClass", status_r8.colorClass);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](status_r8.label);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r9.icArrowDropDown);
} }
function ToolbarUserDropdownComponent_ng_container_14_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, ToolbarUserDropdownComponent_ng_container_14_span_1_Template, 5, 4, "span", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const status_r8 = ctx.$implicit;
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", status_r8 === ctx_r1.activeStatus);
} }
function ToolbarUserDropdownComponent_button_19_Template(rf, ctx) { if (rf & 1) {
    const _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 28);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarUserDropdownComponent_button_19_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13); const status_r11 = ctx.$implicit; const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r12.setStatus(status_r11); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ic-icon", 29);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const status_r11 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icon", status_r11.icon)("ngClass", status_r11.colorClass);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](status_r11.label);
} }
const _c0 = function () { return ["/"]; };
class ToolbarUserDropdownComponent {
    constructor(cd, popoverRef, translateService) {
        this.cd = cd;
        this.popoverRef = popoverRef;
        this.translateService = translateService;
        this.items = [
            {
                id: '1',
                icon: _iconify_icons_ic_twotone_account_circle__WEBPACK_IMPORTED_MODULE_4___default.a,
                label: 'My Profile',
                description: 'Personal Information',
                colorClass: 'text-teal',
                route: '/apps/social'
            },
            {
                id: '2',
                icon: _iconify_icons_ic_twotone_move_to_inbox__WEBPACK_IMPORTED_MODULE_5___default.a,
                label: 'My Inbox',
                description: 'Messages & Latest News',
                colorClass: 'text-primary',
                route: '/apps/chat'
            },
            {
                id: '3',
                icon: _iconify_icons_ic_twotone_list_alt__WEBPACK_IMPORTED_MODULE_6___default.a,
                label: 'My Projects',
                description: 'Tasks & Active Projects',
                colorClass: 'text-amber',
                route: '/apps/scrumboard'
            },
            {
                id: '4',
                icon: _iconify_icons_ic_twotone_table_chart__WEBPACK_IMPORTED_MODULE_7___default.a,
                label: 'Billing Information',
                description: 'Pricing & Current Plan',
                colorClass: 'text-purple',
                route: '/pages/pricing'
            }
        ];
        this.statuses = [
            {
                id: 'online',
                label: 'Online',
                icon: _iconify_icons_ic_twotone_check_circle__WEBPACK_IMPORTED_MODULE_8___default.a,
                colorClass: 'text-green'
            },
            {
                id: 'away',
                label: 'Away',
                icon: _iconify_icons_ic_twotone_access_time__WEBPACK_IMPORTED_MODULE_9___default.a,
                colorClass: 'text-orange'
            },
            {
                id: 'dnd',
                label: 'Do not disturb',
                icon: _iconify_icons_ic_twotone_do_not_disturb__WEBPACK_IMPORTED_MODULE_10___default.a,
                colorClass: 'text-red'
            },
            {
                id: 'offline',
                label: 'Offline',
                icon: _iconify_icons_ic_twotone_offline_bolt__WEBPACK_IMPORTED_MODULE_11___default.a,
                colorClass: 'text-gray'
            }
        ];
        this.activeStatus = this.statuses[0];
        this.trackById = _utils_track_by__WEBPACK_IMPORTED_MODULE_1__["trackById"];
        this.icPerson = _iconify_icons_ic_twotone_person__WEBPACK_IMPORTED_MODULE_2___default.a;
        this.icSettings = _iconify_icons_ic_twotone_settings__WEBPACK_IMPORTED_MODULE_3___default.a;
        this.icChevronRight = _iconify_icons_ic_twotone_chevron_right__WEBPACK_IMPORTED_MODULE_12___default.a;
        this.icArrowDropDown = _iconify_icons_ic_twotone_arrow_drop_down__WEBPACK_IMPORTED_MODULE_13___default.a;
        this.icBusiness = _iconify_icons_ic_twotone_business__WEBPACK_IMPORTED_MODULE_14___default.a;
        this.icVerifiedUser = _iconify_icons_ic_twotone_verified_user__WEBPACK_IMPORTED_MODULE_15___default.a;
        this.icLock = _iconify_icons_ic_twotone_lock__WEBPACK_IMPORTED_MODULE_16___default.a;
        this.icNotificationsOff = _iconify_icons_ic_twotone_notifications_off__WEBPACK_IMPORTED_MODULE_17___default.a;
    }
    ngOnInit() {
    }
    setStatus(status) {
        this.activeStatus = status;
        this.cd.markForCheck();
    }
    close() {
        this.popoverRef.close();
    }
}
ToolbarUserDropdownComponent.ɵfac = function ToolbarUserDropdownComponent_Factory(t) { return new (t || ToolbarUserDropdownComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_components_popover_popover_ref__WEBPACK_IMPORTED_MODULE_18__["PopoverRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_19__["TranslateService"])); };
ToolbarUserDropdownComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ToolbarUserDropdownComponent, selectors: [["vex-toolbar-user-dropdown"]], decls: 42, vars: 31, consts: [[1, "dropdown"], ["fxLayout", "row", "fxLayoutAlign", "space-between center", 1, "dropdown-header"], ["fxLayout", "row", "fxLayoutAlign", "start center"], ["fxLayout", "row", "fxLayoutAlign", "center center", 1, "dropdown-heading-icon"], [3, "icIcon"], [1, "dropdown-heading"], ["mat-icon-button", "", "matTooltipPosition", "before", "type", "button", 3, "matMenuTriggerFor", "matTooltip"], [1, "notifications-header-icon", 3, "icIcon"], [1, "dropdown-content"], ["class", "notification", "fxLayout", "row", "fxLayoutAlign", "start center", "matRipple", "", 3, "routerLink", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["fxLayout", "row", "fxLayoutAlign", "space-between center", 1, "dropdown-footer"], ["mat-button", "", "type", "button", 1, "dropdown-footer-select", 3, "matMenuTriggerFor"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["color", "primary", "mat-button", "", 3, "routerLink", "click"], ["xPosition", "before", "yPosition", "below"], ["statusMenu", "matMenu"], ["mat-menu-item", "", 3, "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["settingsMenu", "matMenu"], ["mat-menu-item", ""], ["fxLayout", "row", "fxLayoutAlign", "start center", "matRipple", "", 1, "notification", 3, "routerLink", "click"], ["fxFlex", "none", 1, "notification-icon", 3, "icIcon", "ngClass"], ["fxFlex", "auto"], [1, "notification-label"], [1, "notification-description"], ["fxFlex", "none", 1, "notification-chevron", 3, "icIcon"], [4, "ngIf"], [3, "icIcon", "ngClass"], [1, "dropdown-footer-select-caret", 3, "icIcon"], ["mat-menu-item", "", 3, "click"], ["inline", "true", "size", "24px", 3, "icon", "ngClass"]], template: function ToolbarUserDropdownComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "mat-icon", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6, "David Smith");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "button", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](9, "mat-icon", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "div", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](11, ToolbarUserDropdownComponent_a_11_Template, 8, 6, "a", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "div", 10);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "button", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](14, ToolbarUserDropdownComponent_ng_container_14_Template, 2, 1, "ng-container", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "a", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarUserDropdownComponent_Template_a_click_15_listener() { return ctx.close(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16, "LOGOUT");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "mat-menu", 14, 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](19, ToolbarUserDropdownComponent_button_19_Template, 4, 3, "button", 16);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "mat-menu", 14, 17);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "button", 18);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](23, "mat-icon", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "span");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](25);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](26, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](27, "button", 18);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](28, "mat-icon", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "span");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](30);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](31, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](32, "button", 18);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](33, "mat-icon", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](34, "span");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](35);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](36, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](37, "button", 18);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](38, "mat-icon", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](39, "span");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](40);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](41, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](18);
        const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](21);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icPerson);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("matTooltip", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 20, "settings"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matMenuTriggerFor", _r4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icSettings);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.items)("ngForTrackBy", ctx.trackById);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matMenuTriggerFor", _r2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.statuses)("ngForTrackBy", ctx.trackById);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](30, _c0));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.statuses)("ngForTrackBy", ctx.trackById);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icBusiness);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](26, 22, "changeAddress"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icVerifiedUser);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](31, 24, "changeUsername"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icLock);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](36, 26, "changePassword"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icNotificationsOff);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](41, 28, "disableNotifications"));
    } }, directives: [_angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_20__["DefaultLayoutDirective"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_20__["DefaultLayoutAlignDirective"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_21__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_22__["IconDirective"], _angular_material_button__WEBPACK_IMPORTED_MODULE_23__["MatButton"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_24__["MatMenuTrigger"], _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_25__["MatTooltip"], _angular_common__WEBPACK_IMPORTED_MODULE_26__["NgForOf"], _angular_material_button__WEBPACK_IMPORTED_MODULE_23__["MatAnchor"], _angular_router__WEBPACK_IMPORTED_MODULE_27__["RouterLinkWithHref"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_24__["_MatMenu"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_24__["MatMenuItem"], _angular_material_core__WEBPACK_IMPORTED_MODULE_28__["MatRipple"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_20__["DefaultFlexDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_26__["NgClass"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_29__["DefaultClassDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_26__["NgIf"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_19__["TranslatePipe"]], styles: [".dropdown[_ngcontent-%COMP%] {\n  background: var(--background-card);\n  border-bottom-left-radius: var(--border-radius);\n  border-bottom-right-radius: var(--border-radius);\n  box-shadow: var(--elevation-z4);\n  max-width: 100vw;\n  overflow: hidden;\n  width: 350px;\n  border-radius: 0.25rem;\n}\n\n.dropdown-header[_ngcontent-%COMP%] {\n  background-color: rgb(var(--color-primary));\n  color: rgb(var(--color-primary-contrast));\n  padding-top: 1rem;\n  padding-bottom: 1rem;\n  padding-right: 1rem;\n  padding-left: 0.75rem;\n  box-shadow: var(--elevation-z6);\n}\n\n.dropdown-heading-icon[_ngcontent-%COMP%] {\n  background: rgba(255, 255, 255, 0.2);\n  border-radius: 999999px;\n  margin-right: var(--padding-12);\n  padding: var(--padding-8);\n}\n\n.dropdown-heading-icon[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%] {\n  font-size: 32px;\n  height: 32px;\n  width: 32px;\n}\n\n.dropdown-heading[_ngcontent-%COMP%] {\n  font: var(--font-title);\n}\n\n.dropdown-content[_ngcontent-%COMP%] {\n  max-height: 300px;\n  overflow-x: hidden;\n  overflow-y: auto;\n}\n\n.dropdown-footer[_ngcontent-%COMP%] {\n  background: var(--background-app-bar);\n  border-top: 1px solid var(--foreground-divider);\n  padding: var(--padding-8) var(--padding-12);\n}\n\n.dropdown-footer-select[_ngcontent-%COMP%] {\n  padding-left: var(--padding-12);\n}\n\n.dropdown-footer-select[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]:not(.dropdown-footer-select-caret) {\n  margin-right: var(--padding-8);\n  vertical-align: -7px !important;\n}\n\n.dropdown-footer-select-caret[_ngcontent-%COMP%] {\n  color: var(--text-hint);\n  font-size: 18px;\n  height: 18px;\n  vertical-align: -4px !important;\n  width: 18px;\n}\n\n.notification[_ngcontent-%COMP%] {\n  color: var(--text-color);\n  padding: var(--padding-16) var(--padding);\n  position: relative;\n  text-decoration: none;\n  transition: var(--trans-ease-out);\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n\n.notification[_ngcontent-%COMP%]:hover {\n  background: var(--background-hover);\n}\n\n.notification[_ngcontent-%COMP%]:hover   .notification-label[_ngcontent-%COMP%] {\n  color: rgb(var(--color-primary));\n}\n\n.notification.read[_ngcontent-%COMP%] {\n  opacity: 0.5;\n}\n\n.notification-icon[_ngcontent-%COMP%] {\n  margin-right: var(--padding);\n}\n\n.notification-label[_ngcontent-%COMP%] {\n  transition: inherit;\n}\n\n.notification-description[_ngcontent-%COMP%] {\n  color: var(--text-secondary);\n  font: var(--font-caption);\n}\n\n.notification-chevron[_ngcontent-%COMP%] {\n  color: var(--text-hint);\n  font-size: 18px;\n  height: 18px;\n  width: 18px;\n}\n\n.notification[_ngcontent-%COMP%]    + .notification[_ngcontent-%COMP%] {\n  border-top: 1px solid var(--foreground-divider);\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2xheW91dC90b29sYmFyL3Rvb2xiYXItdXNlci90b29sYmFyLXVzZXItZHJvcGRvd24vdG9vbGJhci11c2VyLWRyb3Bkb3duLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0Usa0NBQUE7RUFDQSwrQ0FBQTtFQUNBLGdEQUFBO0VBQ0EsK0JBQUE7RUFDQSxnQkFBQTtFQUNBLGdCQUFBO0VBQ0EsWUFBQTtFQUNBLHNCQUFBO0FBQ0Y7O0FBRUE7RUFDRSwyQ0FBQTtFQUNBLHlDQUFBO0VBQ0EsaUJBQUE7RUFDQSxvQkFBQTtFQUNBLG1CQUFBO0VBQ0EscUJBQUE7RUFDQSwrQkFBQTtBQUNGOztBQUVBO0VBQ0Usb0NBQUE7RUFDQSx1QkFBQTtFQUNBLCtCQUFBO0VBQ0EseUJBQUE7QUFDRjs7QUFFQTtFQUNFLGVBQUE7RUFDQSxZQUFBO0VBQ0EsV0FBQTtBQUNGOztBQUVBO0VBQ0UsdUJBQUE7QUFDRjs7QUFFQTtFQUNFLGlCQUFBO0VBQ0Esa0JBQUE7RUFDQSxnQkFBQTtBQUNGOztBQUVBO0VBQ0UscUNBQUE7RUFDQSwrQ0FBQTtFQUNBLDJDQUFBO0FBQ0Y7O0FBRUE7RUFDRSwrQkFBQTtBQUNGOztBQUVBO0VBQ0UsOEJBQUE7RUFDQSwrQkFBQTtBQUNGOztBQUVBO0VBQ0UsdUJBQUE7RUFDQSxlQUFBO0VBQ0EsWUFBQTtFQUNBLCtCQUFBO0VBQ0EsV0FBQTtBQUNGOztBQUVBO0VBQ0Usd0JBQUE7RUFDQSx5Q0FBQTtFQUNBLGtCQUFBO0VBQ0EscUJBQUE7RUFDQSxpQ0FBQTtFQUNBLHlCQUFBO0tBQUEsc0JBQUE7TUFBQSxxQkFBQTtVQUFBLGlCQUFBO0FBQ0Y7O0FBRUE7RUFDRSxtQ0FBQTtBQUNGOztBQUVBO0VBQ0UsZ0NBQUE7QUFDRjs7QUFFQTtFQUNFLFlBQUE7QUFDRjs7QUFFQTtFQUNFLDRCQUFBO0FBQ0Y7O0FBRUE7RUFDRSxtQkFBQTtBQUNGOztBQUVBO0VBQ0UsNEJBQUE7RUFDQSx5QkFBQTtBQUNGOztBQUVBO0VBQ0UsdUJBQUE7RUFDQSxlQUFBO0VBQ0EsWUFBQTtFQUNBLFdBQUE7QUFDRjs7QUFFQTtFQUNFLCtDQUFBO0FBQ0YiLCJmaWxlIjoic3JjL0B2ZXgvbGF5b3V0L3Rvb2xiYXIvdG9vbGJhci11c2VyL3Rvb2xiYXItdXNlci1kcm9wZG93bi90b29sYmFyLXVzZXItZHJvcGRvd24uY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuZHJvcGRvd24ge1xuICBiYWNrZ3JvdW5kOiB2YXIoLS1iYWNrZ3JvdW5kLWNhcmQpO1xuICBib3JkZXItYm90dG9tLWxlZnQtcmFkaXVzOiB2YXIoLS1ib3JkZXItcmFkaXVzKTtcbiAgYm9yZGVyLWJvdHRvbS1yaWdodC1yYWRpdXM6IHZhcigtLWJvcmRlci1yYWRpdXMpO1xuICBib3gtc2hhZG93OiB2YXIoLS1lbGV2YXRpb24tejQpO1xuICBtYXgtd2lkdGg6IDEwMHZ3O1xuICBvdmVyZmxvdzogaGlkZGVuO1xuICB3aWR0aDogMzUwcHg7XG4gIGJvcmRlci1yYWRpdXM6IDAuMjVyZW07XG59XG5cbi5kcm9wZG93bi1oZWFkZXIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiByZ2IodmFyKC0tY29sb3ItcHJpbWFyeSkpO1xuICBjb2xvcjogcmdiKHZhcigtLWNvbG9yLXByaW1hcnktY29udHJhc3QpKTtcbiAgcGFkZGluZy10b3A6IDFyZW07XG4gIHBhZGRpbmctYm90dG9tOiAxcmVtO1xuICBwYWRkaW5nLXJpZ2h0OiAxcmVtO1xuICBwYWRkaW5nLWxlZnQ6IDAuNzVyZW07XG4gIGJveC1zaGFkb3c6IHZhcigtLWVsZXZhdGlvbi16Nik7XG59XG5cbi5kcm9wZG93bi1oZWFkaW5nLWljb24ge1xuICBiYWNrZ3JvdW5kOiByZ2JhKDI1NSwgMjU1LCAyNTUsIDAuMik7XG4gIGJvcmRlci1yYWRpdXM6IDk5OTk5OXB4O1xuICBtYXJnaW4tcmlnaHQ6IHZhcigtLXBhZGRpbmctMTIpO1xuICBwYWRkaW5nOiB2YXIoLS1wYWRkaW5nLTgpO1xufVxuXG4uZHJvcGRvd24taGVhZGluZy1pY29uIC5tYXQtaWNvbiB7XG4gIGZvbnQtc2l6ZTogMzJweDtcbiAgaGVpZ2h0OiAzMnB4O1xuICB3aWR0aDogMzJweDtcbn1cblxuLmRyb3Bkb3duLWhlYWRpbmcge1xuICBmb250OiB2YXIoLS1mb250LXRpdGxlKTtcbn1cblxuLmRyb3Bkb3duLWNvbnRlbnQge1xuICBtYXgtaGVpZ2h0OiAzMDBweDtcbiAgb3ZlcmZsb3cteDogaGlkZGVuO1xuICBvdmVyZmxvdy15OiBhdXRvO1xufVxuXG4uZHJvcGRvd24tZm9vdGVyIHtcbiAgYmFja2dyb3VuZDogdmFyKC0tYmFja2dyb3VuZC1hcHAtYmFyKTtcbiAgYm9yZGVyLXRvcDogMXB4IHNvbGlkIHZhcigtLWZvcmVncm91bmQtZGl2aWRlcik7XG4gIHBhZGRpbmc6IHZhcigtLXBhZGRpbmctOCkgdmFyKC0tcGFkZGluZy0xMik7XG59XG5cbi5kcm9wZG93bi1mb290ZXItc2VsZWN0IHtcbiAgcGFkZGluZy1sZWZ0OiB2YXIoLS1wYWRkaW5nLTEyKTtcbn1cblxuLmRyb3Bkb3duLWZvb3Rlci1zZWxlY3QgLm1hdC1pY29uOm5vdCguZHJvcGRvd24tZm9vdGVyLXNlbGVjdC1jYXJldCkge1xuICBtYXJnaW4tcmlnaHQ6IHZhcigtLXBhZGRpbmctOCk7XG4gIHZlcnRpY2FsLWFsaWduOiAtN3B4ICFpbXBvcnRhbnQ7XG59XG5cbi5kcm9wZG93bi1mb290ZXItc2VsZWN0LWNhcmV0IHtcbiAgY29sb3I6IHZhcigtLXRleHQtaGludCk7XG4gIGZvbnQtc2l6ZTogMThweDtcbiAgaGVpZ2h0OiAxOHB4O1xuICB2ZXJ0aWNhbC1hbGlnbjogLTRweCAhaW1wb3J0YW50O1xuICB3aWR0aDogMThweDtcbn1cblxuLm5vdGlmaWNhdGlvbiB7XG4gIGNvbG9yOiB2YXIoLS10ZXh0LWNvbG9yKTtcbiAgcGFkZGluZzogdmFyKC0tcGFkZGluZy0xNikgdmFyKC0tcGFkZGluZyk7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICB0cmFuc2l0aW9uOiB2YXIoLS10cmFucy1lYXNlLW91dCk7XG4gIHVzZXItc2VsZWN0OiBub25lO1xufVxuXG4ubm90aWZpY2F0aW9uOmhvdmVyIHtcbiAgYmFja2dyb3VuZDogdmFyKC0tYmFja2dyb3VuZC1ob3Zlcik7XG59XG5cbi5ub3RpZmljYXRpb246aG92ZXIgLm5vdGlmaWNhdGlvbi1sYWJlbCB7XG4gIGNvbG9yOiByZ2IodmFyKC0tY29sb3ItcHJpbWFyeSkpO1xufVxuXG4ubm90aWZpY2F0aW9uLnJlYWQge1xuICBvcGFjaXR5OiAwLjU7XG59XG5cbi5ub3RpZmljYXRpb24taWNvbiB7XG4gIG1hcmdpbi1yaWdodDogdmFyKC0tcGFkZGluZyk7XG59XG5cbi5ub3RpZmljYXRpb24tbGFiZWwge1xuICB0cmFuc2l0aW9uOiBpbmhlcml0O1xufVxuXG4ubm90aWZpY2F0aW9uLWRlc2NyaXB0aW9uIHtcbiAgY29sb3I6IHZhcigtLXRleHQtc2Vjb25kYXJ5KTtcbiAgZm9udDogdmFyKC0tZm9udC1jYXB0aW9uKTtcbn1cblxuLm5vdGlmaWNhdGlvbi1jaGV2cm9uIHtcbiAgY29sb3I6IHZhcigtLXRleHQtaGludCk7XG4gIGZvbnQtc2l6ZTogMThweDtcbiAgaGVpZ2h0OiAxOHB4O1xuICB3aWR0aDogMThweDtcbn1cblxuLm5vdGlmaWNhdGlvbiArIC5ub3RpZmljYXRpb24ge1xuICBib3JkZXItdG9wOiAxcHggc29saWQgdmFyKC0tZm9yZWdyb3VuZC1kaXZpZGVyKTtcbn0iXX0= */"], changeDetection: 0 });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ToolbarUserDropdownComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-toolbar-user-dropdown',
                templateUrl: './toolbar-user-dropdown.component.html',
                styleUrls: ['./toolbar-user-dropdown.component.scss'],
                changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
            }]
    }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"] }, { type: _components_popover_popover_ref__WEBPACK_IMPORTED_MODULE_18__["PopoverRef"] }, { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_19__["TranslateService"] }]; }, null); })();


/***/ }),

/***/ "./src/@vex/layout/toolbar/toolbar-user/toolbar-user.component.ts":
/*!************************************************************************!*\
  !*** ./src/@vex/layout/toolbar/toolbar-user/toolbar-user.component.ts ***!
  \************************************************************************/
/*! exports provided: ToolbarUserComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ToolbarUserComponent", function() { return ToolbarUserComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _toolbar_user_dropdown_toolbar_user_dropdown_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toolbar-user-dropdown/toolbar-user-dropdown.component */ "./src/@vex/layout/toolbar/toolbar-user/toolbar-user-dropdown/toolbar-user-dropdown.component.ts");
/* harmony import */ var _iconify_icons_ic_twotone_person__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @iconify/icons-ic/twotone-person */ "./node_modules/@iconify/icons-ic/twotone-person.js");
/* harmony import */ var _iconify_icons_ic_twotone_person__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_person__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _components_popover_popover_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../components/popover/popover.service */ "./src/@vex/components/popover/popover.service.ts");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/flex-layout/extended */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/extended.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");









class ToolbarUserComponent {
    constructor(popover, cd) {
        this.popover = popover;
        this.cd = cd;
        this.icPerson = _iconify_icons_ic_twotone_person__WEBPACK_IMPORTED_MODULE_2___default.a;
    }
    ngOnInit() {
    }
    showPopover(originRef) {
        this.dropdownOpen = true;
        this.cd.markForCheck();
        const popoverRef = this.popover.open({
            content: _toolbar_user_dropdown_toolbar_user_dropdown_component__WEBPACK_IMPORTED_MODULE_1__["ToolbarUserDropdownComponent"],
            origin: originRef,
            offsetY: 12,
            position: [
                {
                    originX: 'center',
                    originY: 'top',
                    overlayX: 'center',
                    overlayY: 'bottom'
                },
                {
                    originX: 'end',
                    originY: 'bottom',
                    overlayX: 'end',
                    overlayY: 'top',
                },
            ]
        });
        popoverRef.afterClosed$.subscribe(() => {
            this.dropdownOpen = false;
            this.cd.markForCheck();
        });
    }
}
ToolbarUserComponent.ɵfac = function ToolbarUserComponent_Factory(t) { return new (t || ToolbarUserComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_components_popover_popover_service__WEBPACK_IMPORTED_MODULE_3__["PopoverService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"])); };
ToolbarUserComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ToolbarUserComponent, selectors: [["vex-toolbar-user"]], decls: 6, vars: 3, consts: [["matRipple", "", 1, "flex", "items-center", "rounded", "cursor-pointer", "relative", "trans-ease-out", "select-none", "py-1", "pr-1", "pl-3", "hover:bg-hover", 3, "click"], ["originRef", ""], ["fxHide.xs", "", 1, "body-1", "font-medium", "leading-snug", "ltr:mr-3", "rtl:ml-3"], [1, "rounded-full", "h-9", "w-9", "flex", "items-center", "justify-center", "text-primary", "bg-primary-light"], [3, "icIcon"]], template: function ToolbarUserComponent_Template(rf, ctx) { if (rf & 1) {
        const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0, 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarUserComponent_Template_div_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r1); const _r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](1); return ctx.showPopover(_r0); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3, "David Smith");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](5, "mat-icon", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("bg-hover", ctx.dropdownOpen);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icPerson);
    } }, directives: [_angular_material_core__WEBPACK_IMPORTED_MODULE_4__["MatRipple"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_5__["DefaultShowHideDirective"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_6__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_7__["IconDirective"]], encapsulation: 2, changeDetection: 0 });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ToolbarUserComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-toolbar-user',
                templateUrl: './toolbar-user.component.html',
                changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
            }]
    }], function () { return [{ type: _components_popover_popover_service__WEBPACK_IMPORTED_MODULE_3__["PopoverService"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"] }]; }, null); })();


/***/ }),

/***/ "./src/@vex/layout/toolbar/toolbar-user/toolbar-user.module.ts":
/*!*********************************************************************!*\
  !*** ./src/@vex/layout/toolbar/toolbar-user/toolbar-user.module.ts ***!
  \*********************************************************************/
/*! exports provided: ToolbarUserModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ToolbarUserModule", function() { return ToolbarUserModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _toolbar_user_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./toolbar-user.component */ "./src/@vex/layout/toolbar/toolbar-user/toolbar-user.component.ts");
/* harmony import */ var _toolbar_user_dropdown_toolbar_user_dropdown_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./toolbar-user-dropdown/toolbar-user-dropdown.component */ "./src/@vex/layout/toolbar/toolbar-user/toolbar-user-dropdown/toolbar-user-dropdown.component.ts");
/* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/flex-layout */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex-layout.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/menu */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/menu.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _pipes_relative_date_time_relative_date_time_module__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../pipes/relative-date-time/relative-date-time.module */ "./src/@vex/pipes/relative-date-time/relative-date-time.module.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/tooltip */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/tooltip.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");















class ToolbarUserModule {
}
ToolbarUserModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: ToolbarUserModule });
ToolbarUserModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function ToolbarUserModule_Factory(t) { return new (t || ToolbarUserModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__["FlexLayoutModule"],
            _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__["MatIconModule"],
            _angular_material_core__WEBPACK_IMPORTED_MODULE_6__["MatRippleModule"],
            _angular_material_menu__WEBPACK_IMPORTED_MODULE_7__["MatMenuModule"],
            _angular_material_button__WEBPACK_IMPORTED_MODULE_8__["MatButtonModule"],
            _pipes_relative_date_time_relative_date_time_module__WEBPACK_IMPORTED_MODULE_9__["RelativeDateTimeModule"],
            _angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterModule"],
            _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_11__["MatTooltipModule"],
            _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_12__["IconModule"],
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__["TranslateModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](ToolbarUserModule, { declarations: [_toolbar_user_component__WEBPACK_IMPORTED_MODULE_2__["ToolbarUserComponent"], _toolbar_user_dropdown_toolbar_user_dropdown_component__WEBPACK_IMPORTED_MODULE_3__["ToolbarUserDropdownComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__["FlexLayoutModule"],
        _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__["MatIconModule"],
        _angular_material_core__WEBPACK_IMPORTED_MODULE_6__["MatRippleModule"],
        _angular_material_menu__WEBPACK_IMPORTED_MODULE_7__["MatMenuModule"],
        _angular_material_button__WEBPACK_IMPORTED_MODULE_8__["MatButtonModule"],
        _pipes_relative_date_time_relative_date_time_module__WEBPACK_IMPORTED_MODULE_9__["RelativeDateTimeModule"],
        _angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterModule"],
        _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_11__["MatTooltipModule"],
        _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_12__["IconModule"],
        _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__["TranslateModule"]], exports: [_toolbar_user_component__WEBPACK_IMPORTED_MODULE_2__["ToolbarUserComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ToolbarUserModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_toolbar_user_component__WEBPACK_IMPORTED_MODULE_2__["ToolbarUserComponent"], _toolbar_user_dropdown_toolbar_user_dropdown_component__WEBPACK_IMPORTED_MODULE_3__["ToolbarUserDropdownComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__["FlexLayoutModule"],
                    _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__["MatIconModule"],
                    _angular_material_core__WEBPACK_IMPORTED_MODULE_6__["MatRippleModule"],
                    _angular_material_menu__WEBPACK_IMPORTED_MODULE_7__["MatMenuModule"],
                    _angular_material_button__WEBPACK_IMPORTED_MODULE_8__["MatButtonModule"],
                    _pipes_relative_date_time_relative_date_time_module__WEBPACK_IMPORTED_MODULE_9__["RelativeDateTimeModule"],
                    _angular_router__WEBPACK_IMPORTED_MODULE_10__["RouterModule"],
                    _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_11__["MatTooltipModule"],
                    _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_12__["IconModule"],
                    _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__["TranslateModule"]
                ],
                exports: [_toolbar_user_component__WEBPACK_IMPORTED_MODULE_2__["ToolbarUserComponent"]],
                entryComponents: [_toolbar_user_dropdown_toolbar_user_dropdown_component__WEBPACK_IMPORTED_MODULE_3__["ToolbarUserDropdownComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/layout/toolbar/toolbar.component.ts":
/*!******************************************************!*\
  !*** ./src/@vex/layout/toolbar/toolbar.component.ts ***!
  \******************************************************/
/*! exports provided: ToolbarComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ToolbarComponent", function() { return ToolbarComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _iconify_icons_ic_twotone_bookmarks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @iconify/icons-ic/twotone-bookmarks */ "./node_modules/@iconify/icons-ic/twotone-bookmarks.js");
/* harmony import */ var _iconify_icons_ic_twotone_bookmarks__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_bookmarks__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _iconify_icons_emojione_flag_for_flag_united_states__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @iconify/icons-emojione/flag-for-flag-united-states */ "./node_modules/@iconify/icons-emojione/flag-for-flag-united-states.js");
/* harmony import */ var _iconify_icons_emojione_flag_for_flag_united_states__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_emojione_flag_for_flag_united_states__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _iconify_icons_emojione_flag_for_flag_germany__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @iconify/icons-emojione/flag-for-flag-germany */ "./node_modules/@iconify/icons-emojione/flag-for-flag-germany.js");
/* harmony import */ var _iconify_icons_emojione_flag_for_flag_germany__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_emojione_flag_for_flag_germany__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _iconify_icons_ic_twotone_menu__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @iconify/icons-ic/twotone-menu */ "./node_modules/@iconify/icons-ic/twotone-menu.js");
/* harmony import */ var _iconify_icons_ic_twotone_menu__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_menu__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _iconify_icons_ic_twotone_person_add__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @iconify/icons-ic/twotone-person-add */ "./node_modules/@iconify/icons-ic/twotone-person-add.js");
/* harmony import */ var _iconify_icons_ic_twotone_person_add__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_person_add__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _iconify_icons_ic_twotone_assignment_turned_in__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @iconify/icons-ic/twotone-assignment-turned-in */ "./node_modules/@iconify/icons-ic/twotone-assignment-turned-in.js");
/* harmony import */ var _iconify_icons_ic_twotone_assignment_turned_in__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_assignment_turned_in__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _iconify_icons_ic_twotone_ballot__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @iconify/icons-ic/twotone-ballot */ "./node_modules/@iconify/icons-ic/twotone-ballot.js");
/* harmony import */ var _iconify_icons_ic_twotone_ballot__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_ballot__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var _iconify_icons_ic_twotone_description__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @iconify/icons-ic/twotone-description */ "./node_modules/@iconify/icons-ic/twotone-description.js");
/* harmony import */ var _iconify_icons_ic_twotone_description__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_description__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var _iconify_icons_ic_twotone_assignment__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @iconify/icons-ic/twotone-assignment */ "./node_modules/@iconify/icons-ic/twotone-assignment.js");
/* harmony import */ var _iconify_icons_ic_twotone_assignment__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_assignment__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var _iconify_icons_ic_twotone_receipt__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @iconify/icons-ic/twotone-receipt */ "./node_modules/@iconify/icons-ic/twotone-receipt.js");
/* harmony import */ var _iconify_icons_ic_twotone_receipt__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_receipt__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var _iconify_icons_ic_twotone_done_all__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @iconify/icons-ic/twotone-done-all */ "./node_modules/@iconify/icons-ic/twotone-done-all.js");
/* harmony import */ var _iconify_icons_ic_twotone_done_all__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_done_all__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var _iconify_icons_ic_twotone_arrow_drop_down__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @iconify/icons-ic/twotone-arrow-drop-down */ "./node_modules/@iconify/icons-ic/twotone-arrow-drop-down.js");
/* harmony import */ var _iconify_icons_ic_twotone_arrow_drop_down__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_arrow_drop_down__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var _iconify_icons_ic_twotone_search__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @iconify/icons-ic/twotone-search */ "./node_modules/@iconify/icons-ic/twotone-search.js");
/* harmony import */ var _iconify_icons_ic_twotone_search__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_search__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var _iconify_icons_ic_twotone_add__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @iconify/icons-ic/twotone-add */ "./node_modules/@iconify/icons-ic/twotone-add.js");
/* harmony import */ var _iconify_icons_ic_twotone_add__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_add__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var _iconify_icons_ic_twotone_notifications__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @iconify/icons-ic/twotone-notifications */ "./node_modules/@iconify/icons-ic/twotone-notifications.js");
/* harmony import */ var _iconify_icons_ic_twotone_notifications__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_notifications__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var _iconify_icons_ic_twotone_campaign__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @iconify/icons-ic/twotone-campaign */ "./node_modules/@iconify/icons-ic/twotone-campaign.js");
/* harmony import */ var _iconify_icons_ic_twotone_campaign__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_campaign__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var _components_mega_menu_mega_menu_component__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../components/mega-menu/mega-menu.component */ "./src/@vex/components/mega-menu/mega-menu.component.ts");
/* harmony import */ var _vex_animations_fade_in_up_animation__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../../@vex/animations/fade-in-up.animation */ "./src/@vex/animations/fade-in-up.animation.ts");
/* harmony import */ var _vex_animations_stagger_animation__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../../@vex/animations/stagger.animation */ "./src/@vex/animations/stagger.animation.ts");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _sidenav_change_password_change_password_component__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../sidenav/change-password/change-password.component */ "./src/@vex/layout/sidenav/change-password/change-password.component.ts");
/* harmony import */ var src_app_enums_school_create_enum__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! src/app/enums/school-create.enum */ "./src/app/enums/school-create.enum.ts");
/* harmony import */ var src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! src/app/enums/profiles.enum */ "./src/app/enums/profiles.enum.ts");
/* harmony import */ var src_vex_animations_fade_in_right_animation__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! src/@vex/animations/fade-in-right.animation */ "./src/@vex/animations/fade-in-right.animation.ts");
/* harmony import */ var src_app_models_notifications_model__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! src/app/models/notifications.model */ "./src/app/models/notifications.model.ts");
/* harmony import */ var src_app_models_signalr_connection_info_model__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! src/app/models/signalr-connection-info.model */ "./src/app/models/signalr-connection-info.model.ts");
/* harmony import */ var src_app_common_notifications_notification_details_notification_details_component__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! src/app/common/notifications/notification-details/notification-details.component */ "./src/app/common/notifications/notification-details/notification-details.component.ts");
/* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _microsoft_signalr__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! @microsoft/signalr */ "./node_modules/@microsoft/signalr/dist/esm/index.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_31___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_31__);
/* harmony import */ var _services_layout_service__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../../services/layout.service */ "./src/@vex/services/layout.service.ts");
/* harmony import */ var _services_config_service__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../../services/config.service */ "./src/@vex/services/config.service.ts");
/* harmony import */ var _services_navigation_service__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../../services/navigation.service */ "./src/@vex/services/navigation.service.ts");
/* harmony import */ var _components_popover_popover_service__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../../components/popover/popover.service */ "./src/@vex/components/popover/popover.service.ts");
/* harmony import */ var src_app_services_Crypto_service__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! src/app/services/Crypto.service */ "./src/app/services/Crypto.service.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var src_app_common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! src/app/common/page-roles-permissions.service */ "./src/app/common/page-roles-permissions.service.ts");
/* harmony import */ var src_app_services_common_service__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! src/app/services/common.service */ "./src/app/services/common.service.ts");
/* harmony import */ var src_app_services_staff_service__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! src/app/services/staff.service */ "./src/app/services/staff.service.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var src_app_services_student_service__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! src/app/services/student.service */ "./src/app/services/student.service.ts");
/* harmony import */ var src_app_services_parent_info_service__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! src/app/services/parent-info.service */ "./src/app/services/parent-info.service.ts");
/* harmony import */ var src_app_services_school_service__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! src/app/services/school.service */ "./src/app/services/school.service.ts");
/* harmony import */ var src_app_services_roll_based_access_service__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! src/app/services/roll-based-access.service */ "./src/app/services/roll-based-access.service.ts");
/* harmony import */ var _app_common_default_values_service__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../../../app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var src_app_services_impersonate_service__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! src/app/services/impersonate.service */ "./src/app/services/impersonate.service.ts");
/* harmony import */ var src_app_services_notification_service__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! src/app/services/notification.service */ "./src/app/services/notification.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var _directives_container_container_directive__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../../directives/container/container.directive */ "./src/@vex/directives/container/container.directive.ts");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! @angular/flex-layout/extended */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/extended.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _select_bar_select_bar_component__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./select-bar/select-bar.component */ "./src/@vex/layout/toolbar/select-bar/select-bar.component.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! @angular/material/menu */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/menu.js");
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! @angular/material/tooltip */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/tooltip.js");
/* harmony import */ var _angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! @angular/material/progress-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/progress-bar.js");
/* harmony import */ var _navigation_navigation_component__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ../navigation/navigation.component */ "./src/@vex/layout/navigation/navigation.component.ts");
/* harmony import */ var _app_common_notifications_notifications_component__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ../../../app/common/notifications/notifications.component */ "./src/app/common/notifications/notifications.component.ts");
































































function ToolbarComponent_button_10_Template(rf, ctx) { if (rf & 1) {
    const _r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 31);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarComponent_button_10_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r15); const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r14.backToSuperAdmin(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "mat-icon", 32);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "undo");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "span", 33);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate2"]("matTooltip", "", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 3, "backTo"), " ", ctx_r1.impersonateServices.getAdminStaffCredentials() ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 5, ctx_r1.impersonateServices.getAdminStaffCredentials().userMembershipType) : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 7, ctx_r1.impersonateServices.getSuperAdminCredentials().userMembershipType), " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 9, "back"));
} }
function ToolbarComponent_button_11_Template(rf, ctx) { if (rf & 1) {
    const _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarComponent_button_11_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r17); const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r16.openNotifications("announcements"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "mat-icon", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r2.icCampaign);
} }
function ToolbarComponent_span_14_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 34);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r3.generalNotificationUnreadCount);
} }
function ToolbarComponent_div_15_button_1_Template(rf, ctx) { if (rf & 1) {
    const _r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 36);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarComponent_div_15_button_1_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r20); const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); const _r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](8); return ctx_r19.openMegaMenu(_r0); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ic-icon", 37);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icon", ctx_r18.icAdd);
} }
function ToolbarComponent_div_15_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, ToolbarComponent_div_15_button_1_Template, 2, 1, "button", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, ctx_r4.isHorizontalLayout$));
} }
function ToolbarComponent_div_26_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 38);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "mat-progress-bar", 39);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate3"](" (", ctx_r6.defaultValuesService.getStaffCount(), " / ", ctx_r6.defaultValuesService.getTenantData().quantity, ") ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 4, "staffInUse"), " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("value", ctx_r6.percentageCalculate());
} }
function ToolbarComponent_button_28_Template(rf, ctx) { if (rf & 1) {
    const _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarComponent_button_28_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22); const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r21.showMySubscription(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "mat-icon", 40);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "manage_accounts");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 1, "myAccountAndSubscription"));
} }
function ToolbarComponent_ng_template_29_Template(rf, ctx) { if (rf & 1) {
    const _r24 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarComponent_ng_template_29_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r24); const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r23.showMyAccount(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "mat-icon");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "account_circle");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 1, "myAccount"));
} }
function ToolbarComponent_vex_navigation_43_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "vex-navigation", 41);
} if (rf & 2) {
    const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("fxHide", ctx_r10.mobileQuery);
} }
function ToolbarComponent_div_46_Template(rf, ctx) { if (rf & 1) {
    const _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 42);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 43);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "vex-notifications", 44);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("showHideNotifications", function ToolbarComponent_div_46_Template_vex_notifications_showHideNotifications_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r26); const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r25.hideNotifications($event); })("hasRecentNotification", function ToolbarComponent_div_46_Template_vex_notifications_hasRecentNotification_2_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r26); const ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r27.removeRecentNotificationFlag(); })("udpateNotificationUnreadCount", function ToolbarComponent_div_46_Template_vex_notifications_udpateNotificationUnreadCount_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r26); const ctx_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r28.udpateNotificationUnreadCount($event); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@fadeInRight", undefined);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("notificationsList", ctx_r11.notificationsList)("notificationType", ctx_r11.notificationType)("generalNotificationsList", ctx_r11.generalNotificationsList)("pageNumber", ctx_r11.pageNumber)("pageSize", ctx_r11.pageSize)("totalCount", ctx_r11.totalCount);
} }
function ToolbarComponent_div_47_Template(rf, ctx) { if (rf & 1) {
    const _r30 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 45);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "a", 46);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarComponent_div_47_Template_a_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r30); const ctx_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r29.closeNotificationPopup(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "mat-icon", 47);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3, "close");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 48);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 49);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "img", 50);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 51);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "h3", 52);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "p");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "a", 53);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarComponent_div_47_Template_a_click_13_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r30); const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); ctx_r31.openNotifications("general-notifications"); return ctx_r31.closeNotificationPopup(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](15, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 3, "newNotification"), "!");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r12.latestNotificationText);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](15, 5, "viewAll"));
} }
function ToolbarComponent_div_48_Template(rf, ctx) { if (rf & 1) {
    const _r33 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 54);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "a", 46);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarComponent_div_48_Template_a_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r33); const ctx_r32 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r32.closeReleasePopup(ctx_r32.popupNotification.releaseDate); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "mat-icon", 47);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3, "close");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 48);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 49);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "img", 55);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 51);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "h3", 52);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "p");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](13, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "a", 53);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarComponent_div_48_Template_a_click_14_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r33); const ctx_r34 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r34.openNotificationDetails(ctx_r34.popupNotification); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](16, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 3, "newUpdate"), "!");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](13, 5, "weHaveUpdatedOpensisWhileYouWereOffline"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](16, 7, "seeWhatsNew"));
} }
const _c0 = function () { return ["/school/dashboards"]; };
class ToolbarComponent {
    constructor(layoutService, configService, navigationService, popoverService, cryptoService, router, dialog, pageRolePermission, commonService, staffService, translateService, studentService, parentInfoService, schoolService, rollBasedAccessService, defaultValuesService, impersonateServices, notify, snackbar) {
        this.layoutService = layoutService;
        this.configService = configService;
        this.navigationService = navigationService;
        this.popoverService = popoverService;
        this.cryptoService = cryptoService;
        this.router = router;
        this.dialog = dialog;
        this.pageRolePermission = pageRolePermission;
        this.commonService = commonService;
        this.staffService = staffService;
        this.translateService = translateService;
        this.studentService = studentService;
        this.parentInfoService = parentInfoService;
        this.schoolService = schoolService;
        this.rollBasedAccessService = rollBasedAccessService;
        this.defaultValuesService = defaultValuesService;
        this.impersonateServices = impersonateServices;
        this.notify = notify;
        this.snackbar = snackbar;
        // percentageCalculate;
        this.navigationItems = this.navigationService.items;
        this.isHorizontalLayout$ = this.configService.config$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(config => config.layout === 'horizontal'));
        this.isVerticalLayout$ = this.configService.config$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(config => config.layout === 'vertical'));
        this.isNavbarInToolbar$ = this.configService.config$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(config => config.navbar.position === 'in-toolbar'));
        this.isNavbarBelowToolbar$ = this.configService.config$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(config => config.navbar.position === 'below-toolbar'));
        this.Notifications = new src_app_models_notifications_model__WEBPACK_IMPORTED_MODULE_26__["Notifications"]();
        this.generalNotifications = new src_app_models_notifications_model__WEBPACK_IMPORTED_MODULE_26__["GeneralNotifications"]();
        this.connectUserInSignalRModel = new src_app_models_signalr_connection_info_model__WEBPACK_IMPORTED_MODULE_27__["ConnectUserInSignalRModel"]();
        this.icSearch = _iconify_icons_ic_twotone_search__WEBPACK_IMPORTED_MODULE_14___default.a;
        this.icBookmarks = _iconify_icons_ic_twotone_bookmarks__WEBPACK_IMPORTED_MODULE_2___default.a;
        this.emojioneUS = _iconify_icons_emojione_flag_for_flag_united_states__WEBPACK_IMPORTED_MODULE_3___default.a;
        this.emojioneDE = _iconify_icons_emojione_flag_for_flag_germany__WEBPACK_IMPORTED_MODULE_4___default.a;
        this.icMenu = _iconify_icons_ic_twotone_menu__WEBPACK_IMPORTED_MODULE_5___default.a;
        this.icPersonAdd = _iconify_icons_ic_twotone_person_add__WEBPACK_IMPORTED_MODULE_6___default.a;
        this.icAssignmentTurnedIn = _iconify_icons_ic_twotone_assignment_turned_in__WEBPACK_IMPORTED_MODULE_7___default.a;
        this.icBallot = _iconify_icons_ic_twotone_ballot__WEBPACK_IMPORTED_MODULE_8___default.a;
        this.icDescription = _iconify_icons_ic_twotone_description__WEBPACK_IMPORTED_MODULE_9___default.a;
        this.icAssignment = _iconify_icons_ic_twotone_assignment__WEBPACK_IMPORTED_MODULE_10___default.a;
        this.icReceipt = _iconify_icons_ic_twotone_receipt__WEBPACK_IMPORTED_MODULE_11___default.a;
        this.icDoneAll = _iconify_icons_ic_twotone_done_all__WEBPACK_IMPORTED_MODULE_12___default.a;
        this.icArrowDropDown = _iconify_icons_ic_twotone_arrow_drop_down__WEBPACK_IMPORTED_MODULE_13___default.a;
        this.icAdd = _iconify_icons_ic_twotone_add__WEBPACK_IMPORTED_MODULE_15___default.a;
        this.icNotifications = _iconify_icons_ic_twotone_notifications__WEBPACK_IMPORTED_MODULE_16___default.a;
        this.icCampaign = _iconify_icons_ic_twotone_campaign__WEBPACK_IMPORTED_MODULE_17___default.a;
        this.profile = src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_24__["ProfilesTypes"];
        this.hasRecentNotification = false;
        this.impersonateSubjectForToolBar = false;
        this.showNotificationsPanel = false;
        this.azureAuth = false;
        this.triggerUserActivity = new rxjs__WEBPACK_IMPORTED_MODULE_21__["BehaviorSubject"](false);
        this.notificationAnimation = false;
        this.pageNumber = 1;
        this.pageSize = 10;
        this.notificationURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_29__["environment"].apiURL;
        this.isSuperAdmin = this.defaultValuesService.getUserMembershipType() === this.profile.SuperAdmin;
        this.isSchoolWorkMailId = this.defaultValuesService.getTenantData().workEmailId ? this.defaultValuesService.getTenantData().workEmailId === this.defaultValuesService.getEmailId() : false;
        // this.tenantLogoIcon = this.defaultValuesService.getTenantData().tenantLogoIcon;
        this.tenantLogoIcon = 'iVBORw0KGgoAAAANSUhEUgAAACYAAAAkCAYAAADl9UilAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA2IDc5LmRhYmFjYmIsIDIwMjEvMDQvMTQtMDA6Mzk6NDQgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCAyMi40IChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpEQzEyN0QxM0JENjExMUVCOURCNERCQjFDRjY5NEY1MiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpEQzEyN0QxNEJENjExMUVCOURCNERCQjFDRjY5NEY1MiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkRDMTI3RDExQkQ2MTExRUI5REI0REJCMUNGNjk0RjUyIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkRDMTI3RDEyQkQ2MTExRUI5REI0REJCMUNGNjk0RjUyIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+qZhNWgAACFFJREFUeNrMWHtQVOcVP3d3WZbXsossL3n4QASBCLb10SmOGLMqqSTGQqdYOrGJQ9vEP5qkmWkHnQx0RpvWjrWdxqYNaYyZtBCTSRiJU5AZprWNVMeKRhmrjQioLOyD97LL7tff+dxlFmRlcXQmd+Zw73K/+32/+zvn+51zriKEoC/joWRnZ5PJZKLBwUEaGxuj4eFhmpycpL1791J+fj7ZbLZ7HhoZGaHIyMhvpaWlVej1+nV45ouWlpaP8cwv7rdY664fUPFjheS09pNKG07afhtV1R2hN0ft08YxWZrZJmBgarWawsPDSaO5O0RRFHmemJig5OTkPwLU81qtVv4Pv5PWrl27bvXq1Tt37NixCcAts83rcruJVKqQGLtnVFhYmGSPbcmSJRQfHy8ZTUhIoNjYWDIajVUZGRnPq7CAw+Gg0dFRunXrFl27do3MZnN+TU3N34ItttgYB3QTIQG7hzFekJlqbGyUYHhhZpAN7GmKiop+6fV6JXN88DWz63Q6qaOjg0pKSlYePnzYfOPGjWkAn8nJpaycPJq80/tgwNi/CxYsoLNnz8rfq1atksxw7IGpZaWlpTFuuIQBc6y5XC7JMhsfOTk5VFBQsD0QmAph8Jvt30YcOGnSKx7Mlf4DLqOrV69SZ2enZIuBAZAqOjpagtDpdDLuhoaGyGq1yo3Dvz0eD7MYHTjXsfKdlJqZRW7rwFSszgmMXaeaEZDMGruT/3/hwgU6deoUtbe30/Hjx/8L9sZSU1Ol+zjmDAaDvGbmeDMwyPPnz7f759q70UzfeeJJmuztJi/G+XbS3U2AjRUWBKgKb2fExIVgQM8sMBv+N+eF+JpdNj4+zou69u/fXwOpkO7mHRsTEyOfYVbT09M5Nj3d3d3v8OTVj2+hmp3fJ7INABQI0McQxRlJB29o9YY4UmkKvEJEzapjmDQpIiLiRZxLwVACwJzDuRGAWnH/Kgc1M8LA2G0c7LW1tZ9WV1dvYfB37tyZirXmlhZ6+aWXnsJznxwpq6Cq7eVE46PkGsZzjsFC3YDdTBbrZuq3rDxp7bPU3b75QfNA30GH8DpmeiyQx6/CfgTbxUCYLdgFsHgCzLyLwZ0MjEHwsWHDhlfKy8urFi5cmNnb2zv+/kcftv29ueW19OiYM00/e41yHysg0dHx9ZHLnd8Lv95l1g7YFgMQHXXcot+R661/E72Bac7NxlawbMSB+1O+zwbmBMAJbIZT0LMyjqmZ8gRL5Isff/Np8h6t14jXf//iUHHpOWtqrhCRaUJok0RDWKyrgJRXMSxqrsCfK03yYn/2A2QDgwIp6D+IsafUvkDmv8+u/QZ1/fZNEof+9ILY9EyPJTJZDKrjhYhbJv4Xv1hsIdVbGJYQap4MNX9zzAzMBIhdW4/ryFrzkyQ+bl4kKn/YbotIEn2KUbhNWUKkrhTvxCT0Ycw2nmT9pk1UWVlJSUlJsy4CYaa8vLx5ASPf234WCM5n7+5avU4RW8o/H6JY0W/IEO7UPCEW5omXdfp/4b5Jm2Ai7GTq6ekxnDlzRs87euaBzSTBsB06dIgepOJpngHs80W6CJ09McvhMS0Toyk5wpWcI76rjfyUB2eBgdbWVvX169ePQqiH+/r6Bg8ePPjGzEmPHTs2Bcxv86uRFCUKUuIKAPbPLH1shH1J4Y3JBHZfvmgypFh5bGrmUrp06RIhNb138eJFwXbz5k3Bx549e94OnLepqWkKEMsOn4OmJL9kcAZg4+uoqCgvpMMZGKfIgyIwzYzcjUfSod5qa2vTIpVVsPh2dXURwBHYo+Li4mcxRG7vNWvW0NatW6eeZ22cNVcyIM6HnG5Y1fkagOQZQhw9M/FL2sUUpRShUslsfu3yZYIIewB6dMWKFZxn6fbt2zKT+IpPwWucPHly2vqcfaYB47zIi3Py5gANzJ88mc+YmmnJTaYtjdoHUNC4c0wJQ+p5fPNmstvtnt27d/+Ex2zbto3Wr18vC4OqqqpfQxMHuYLx6WI27AVkkZr6+vr8qcnBhCwIeStzUcjXs1liYiKnrPGAGDu9whinc2R+RcbYhMYkzuV+TXRPjLd/0dP93L59+2J9Fe7TBw4c+AcyBQSfKjdu3Ej9/f05eJlqWDcACoC9CBzVuJ8iX5IZYkBcFAYDFAAsEcCcgcCyYw06x9JVEtikfpFojE/tPfKX94fF3WMcvUCtn4Dc3Fyqq6sz4f9v801IiACjXDnuuCc8sJZkKRTDCyTdD5hYVCj+Gm44z5M/UVLyKliR6FA6WdDYJKPCNfNvxJtoaGgQcXFxrwRTfi575t1ZBb2D3WeIjpXS3tzU9Do6sHKAcS1fvtwEVX8OmlbJlS9Ys5eVlZmxCX4Vcmn9wKB8h9frmeSeJjktzV1cVNSAJmU/5GKpxWJxApSNy6cTJ060+cR6/qV1EIqVEMDJ+wkpKVRRUcFNiwoiy8LpQckkWM+gi3Ouqwm1Bg/oLZU5UMn7IygOr1y5wtWtigWauyruG1C7cSMzp6c08wUVYh6TksdaaLPbFeFr9xgYdiIDUx4asFDjzMeYnziyQ+W5g3rUwEL2uz/XQv0V7pwYGJfm7EoAfSTAQmLM0t9Pp0+f5ryo8OcGrhq4X+B8+ahcGRKldgCAbhGaFelKTuJ8Zrng80PblcGSuP8TgNpHpkK+Meg1URQoiCsV3CnbPgbEhpZQedjAtDOAZYQrKiVGHZZBapCvDqN0tSbRh1DqHtyXwt8+ULEYASiRSx7UXGlzApvtw9x9jgGo+Hs4h8PcsM7ukWHXLteVn2s8nswIlVrd63EPyzyK9IR44rz4BwDJRFx9BmCX8dvk6x/uT8SX9VPn/wUYABI/R81wALykAAAAAElFTkSuQmCC';
        this.tenantName = this.defaultValuesService.getTenantName();
        this.azureAuth = this.defaultValuesService.getSSOenabledonLoginBtn();
        //  this.navigationService.menuItems.pipe(takeUntil(this.destroySubject$)).subscribe((res)=>{
        //    if(res){
        //     this.renderAddNew();
        //    }
        //  })
        this.impersonateServices.impersonateSubjectForToolBar.subscribe(x => {
            if (x) {
                this.impersonateSubjectForToolBar = true;
                this.impersonateToolBar();
                this.getAllGeneralNotifications();
            }
        });
    }
    ngOnInit() {
        this.impersonateToolBar();
        this.showNotificationsPanel = false;
        this.notify.GetAllNotifications(this.Notifications).subscribe(notificationData => {
            if (notificationData === null || notificationData === void 0 ? void 0 : notificationData._failure) {
                if ((notificationData === null || notificationData === void 0 ? void 0 : notificationData._message) != 'No Record Found') {
                    this.snackbar.open(notificationData._message, '', {
                        duration: 1000
                    });
                }
            }
            else {
                this.notificationsList = notificationData.featureReleaseList.reverse();
                this.getLatestNotification();
                this.getAllGeneralNotifications();
            }
        });
        // Get SignalR notifications
        this.hubConnection = new _microsoft_signalr__WEBPACK_IMPORTED_MODULE_30__["HubConnectionBuilder"]()
            .configureLogging(_microsoft_signalr__WEBPACK_IMPORTED_MODULE_30__["LogLevel"].Information)
            .withUrl(this.notificationURL + 'notification' /*,{
          skipNegotiation: true,transport:signalR.HttpTransportType.WebSockets
        }*/)
            .build();
        this.hubConnection.start().then(function () {
            // console.log('SignalR Connected!');
        }).catch(function (err) {
            return console.error(err.toString());
        });
        this.hubConnection.on("ReceiveMessage", (data) => {
            this.latestNotificationText = data;
            this.notificationAnimation = true;
            this.hasRecentNotification = true;
            this.getAllGeneralNotifications('upcomingNotification');
        });
        this.hubConnection.on("ReceiveConnect", (data) => {
            if (data) {
                this.connectUserInSignalR(data);
            }
        });
    }
    impersonateToolBar() {
        // this.impersonateButton=this.defaultValuesService.getImpersonateButton();
        this.userName = this.defaultValuesService.getFullUserName();
        this.defaultValuesService.newSubject.subscribe(data => {
            this.userName = data;
        });
        this.membershipName = this.defaultValuesService.getuserMembershipName();
        // this.percentageCalculate = Math.round((this.defaultValuesService.getStaffCount() / this.defaultValuesService.getTenantData().quantity) * 100);
        // this.defaultValuesService.receivePercentageCount.subscribe(res => res ? this.percentageCalculate = res : '');
        this.getUserPhoto();
        // this.renderAddNew();
        if (this.impersonateSubjectForToolBar) {
            this.impersonateServices.impersonateSubjectForToolBar.next(false);
            this.impersonateSubjectForToolBar = false;
        }
    }
    percentageCalculate() {
        return Math.round((this.defaultValuesService.getStaffCount() / this.defaultValuesService.getTenantData().quantity) * 100);
    }
    // renderAddNew(){
    // let permissions = JSON.parse(this.cryptoService.dataDecrypt(localStorage.getItem('permissions')));
    // if(permissions){
    //   this.addNewMenu = permissions?.permissionList?.filter((item) => {
    //     return item.permissionGroup.permissionGroupId === 2;
    //   });
    // }
    // }
    getUserPhoto() {
        let photo = this.defaultValuesService.getuserPhoto();
        if (photo) {
            this.userPhoto = 'data:image/png;base64,' + photo;
        }
        else {
            this.userPhoto = '../../../assets/img/profilePic.jpg';
        }
        this.defaultValuesService.photoChanged.subscribe(data => {
            this.userPhoto = 'data:image/png;base64,' + data;
        });
    }
    logOut() {
        this.commonService.logoutUser();
    }
    showMyAccount() {
        var _a, _b, _c, _d, _e;
        if (this.defaultValuesService.getUserMembershipType() === this.profile.Student) {
            this.studentService.setStudentId(parseInt(this.defaultValuesService.getUserId()));
            let permittedDetails = this.pageRolePermission.getPermittedSubCategories('/school/students/student-generalinfo');
            if (permittedDetails.length) {
                this.studentService.setCategoryTitle(permittedDetails[0].title);
                this.router.navigateByUrl(permittedDetails[0].path, { state: { type: src_app_enums_school_create_enum__WEBPACK_IMPORTED_MODULE_23__["SchoolCreate"].VIEW } });
                this.studentService.setCategoryId(0);
            }
        }
        else if (this.defaultValuesService.getUserMembershipType() === this.profile.Parent) {
            this.parentInfoService.setParentId(this.defaultValuesService.getUserId());
            // this.parentInfoService.setParentDetails(parentInfo);
            let permittedTabs = this.pageRolePermission.getPermittedSubCategories('/school/parents');
            if ((_a = permittedTabs[0]) === null || _a === void 0 ? void 0 : _a.path) {
                this.router.navigateByUrl((_b = permittedTabs[0]) === null || _b === void 0 ? void 0 : _b.path);
                this.defaultValuesService.setPageData({ displayName: (_c = permittedTabs[0].displayName) === null || _c === void 0 ? void 0 : _c.toLowerCase(), pageCode: (_d = permittedTabs[0].title) === null || _d === void 0 ? void 0 : _d.toLowerCase(), path: (_e = permittedTabs[0]) === null || _e === void 0 ? void 0 : _e.path });
            }
        }
        else {
            let userId = this.defaultValuesService.getUserId();
            this.staffService.setStaffId(+userId);
            let permittedDetails = this.pageRolePermission.getPermittedSubCategories('/school/staff');
            if (permittedDetails.length) {
                this.staffService.setCategoryTitle(permittedDetails[0].title);
                this.router.navigateByUrl(permittedDetails[0].path, { state: { type: src_app_enums_school_create_enum__WEBPACK_IMPORTED_MODULE_23__["SchoolCreate"].VIEW } });
                this.staffService.setCategoryId(0);
            }
        }
    }
    openChangePassword() {
        this.dialog.open(_sidenav_change_password_change_password_component__WEBPACK_IMPORTED_MODULE_22__["ChangePasswordComponent"], {
            width: "500px",
        });
    }
    openQuickpanel() {
        this.layoutService.openQuickpanel();
    }
    openSidenav() {
        this.layoutService.openSidenav();
    }
    openMegaMenu(origin) {
        this.popoverService.open({
            content: _components_mega_menu_mega_menu_component__WEBPACK_IMPORTED_MODULE_18__["MegaMenuComponent"],
            origin,
            position: [
                {
                    originX: 'start',
                    originY: 'bottom',
                    overlayX: 'start',
                    overlayY: 'top'
                },
                {
                    originX: 'end',
                    originY: 'bottom',
                    overlayX: 'end',
                    overlayY: 'top',
                },
            ]
        });
    }
    showPreference() {
        this.defaultValuesService.setPageData({ displayName: 'Preference', pageCode: 'Preference', path: '/school/settings/school-settings/preference' });
        this.router.navigateByUrl('/school/settings/school-settings');
    }
    showMySubscription() {
        this.router.navigateByUrl('/school/my-subscription');
    }
    /*openSearch() {
      this.layoutService.openSearch();
    }*/
    backToSuperAdmin() {
        this.impersonateServices.backToSuperAdmin();
        this.impersonateServices.callRolePermissions(true);
    }
    schoolChanged(event) {
        this.getAllGeneralNotifications();
    }
    openNotifications(notificationType) {
        this.notificationType = notificationType;
        this.showNotificationsPanel = true;
        this.notificationAnimation = false;
        //this.layoutService.openNotifications();
        //this.notify.showNotificationsPanel.next(true);
    }
    hideNotifications(event) {
        this.showNotificationsPanel = false;
        //this.layoutService.hideNotificationPanel();
        // this.notify.showNotificationsPanel.next(false);
    }
    getLatestNotification() {
        let lastNotification = this.notificationsList[0];
        let lastNotificationDate = lastNotification.releaseDate;
        lastNotificationDate = moment__WEBPACK_IMPORTED_MODULE_31__(lastNotificationDate);
        let lastFeatureReleaseDate = localStorage.getItem('lastFeatureReleaseDate');
        let lastFeatureReleaseTenant = localStorage.getItem('lastFeatureReleaseTenant');
        if (lastFeatureReleaseDate && lastFeatureReleaseTenant == this.tenantName) {
            if (lastNotificationDate > lastFeatureReleaseDate) {
                this.popupNotification = lastNotification;
            }
            else {
                this.popupNotification = '';
            }
        }
        else {
            let substractedDate = moment__WEBPACK_IMPORTED_MODULE_31__().subtract(7, 'days');
            let myMoment = moment__WEBPACK_IMPORTED_MODULE_31__(substractedDate);
            if (lastNotificationDate > myMoment) {
                this.popupNotification = lastNotification;
            }
        }
        let substractedDate2 = moment__WEBPACK_IMPORTED_MODULE_31__().subtract(7, 'days');
        let myMoment = moment__WEBPACK_IMPORTED_MODULE_31__(substractedDate2);
        if (lastNotificationDate > myMoment) {
            // this.hasRecentNotification = true;
        }
    }
    getAllGeneralNotifications(upcomingNotification) {
        this.generalNotifications.profileType = this.defaultValuesService.getUserMembershipType();
        this.generalNotifications.userId = this.generalNotifications.profileType === 'Student' ? +this.defaultValuesService.getStudentId() : +this.defaultValuesService.getUserId();
        if (this.generalNotifications.userId) {
            this.generalNotifications.schoolId = +this.defaultValuesService.getSchoolID();
            this.generalNotifications.pageResult = { pageNumber: this.pageNumber, pageSize: this.pageSize };
            this.notify.getAllGeneralNotifications(this.generalNotifications).subscribe((notificationData) => {
                var _a;
                if (notificationData === null || notificationData === void 0 ? void 0 : notificationData._failure) {
                    this.generalNotificationsList = [];
                }
                else {
                    if (upcomingNotification) {
                        this.notificationAnimation = true;
                    }
                    this.totalCount = notificationData === null || notificationData === void 0 ? void 0 : notificationData.totalCount;
                    this.generalNotificationsList = notificationData === null || notificationData === void 0 ? void 0 : notificationData.notificationList;
                    this.generalNotificationUnreadCount = (_a = (this.generalNotificationsList.filter(item => item.isRead === false))) === null || _a === void 0 ? void 0 : _a.length;
                    if (this.generalNotificationUnreadCount > 0) {
                        this.hasRecentNotification = true;
                        this.notificationAnimation = true;
                    }
                }
            });
        }
    }
    connectUserInSignalR(signalrConnectionId) {
        this.connectUserInSignalRModel.tenantId = this.defaultValuesService.getTenantID();
        this.connectUserInSignalRModel.schoolId = this.defaultValuesService.getSchoolID();
        this.connectUserInSignalRModel.email = this.defaultValuesService.getEmailId();
        this.connectUserInSignalRModel.userMasterId = this.defaultValuesService.getUserMasterId();
        this.connectUserInSignalRModel.signalrConnectionId = signalrConnectionId;
        this.notify.connectUserInSignalR(this.connectUserInSignalRModel).subscribe((res) => {
            //console.log(res);
        });
    }
    openNotificationDetails(details) {
        this.Notifications.releaseDetailId = details.releaseId;
        this.notify.GetAllNotifications(this.Notifications).subscribe(notificationData => {
            if (notificationData === null || notificationData === void 0 ? void 0 : notificationData._failure) {
                this.snackbar.open(notificationData._message, '', {
                    duration: 1000
                });
            }
            else {
                this.notify.showNotificationsPanel.next(false);
                this.dialog.open(src_app_common_notifications_notification_details_notification_details_component__WEBPACK_IMPORTED_MODULE_28__["NotificationDetailsComponent"], {
                    width: '600px',
                    data: notificationData.featureReleaseList
                });
            }
        });
        this.closeReleasePopup(details.releaseDate);
    }
    closeReleasePopup(releaseDate) {
        let myMoment = moment__WEBPACK_IMPORTED_MODULE_31__(releaseDate);
        let today = myMoment.format('M/D/YYYY');
        localStorage.setItem('lastFeatureReleaseDate', today);
        localStorage.setItem('lastFeatureReleaseTenant', this.tenantName);
        this.popupNotification = '';
    }
    closeNotificationPopup() {
        this.latestNotificationText = null;
    }
    removeRecentNotificationFlag() {
        this.notificationAnimation = false;
        this.hasRecentNotification = false;
    }
    udpateNotificationUnreadCount(event) {
        this.generalNotificationUnreadCount = event;
    }
    ngOnDestroy() {
        // this.destroySubject$.next();
        // this.destroySubject$.complete();
    }
}
ToolbarComponent.ɵfac = function ToolbarComponent_Factory(t) { return new (t || ToolbarComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_layout_service__WEBPACK_IMPORTED_MODULE_32__["LayoutService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_config_service__WEBPACK_IMPORTED_MODULE_33__["ConfigService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_navigation_service__WEBPACK_IMPORTED_MODULE_34__["NavigationService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_components_popover_popover_service__WEBPACK_IMPORTED_MODULE_35__["PopoverService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_Crypto_service__WEBPACK_IMPORTED_MODULE_36__["CryptoService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_37__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_38__["MatDialog"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_39__["PageRolesPermission"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_common_service__WEBPACK_IMPORTED_MODULE_40__["CommonService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_staff_service__WEBPACK_IMPORTED_MODULE_41__["StaffService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_42__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_student_service__WEBPACK_IMPORTED_MODULE_43__["StudentService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_parent_info_service__WEBPACK_IMPORTED_MODULE_44__["ParentInfoService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_school_service__WEBPACK_IMPORTED_MODULE_45__["SchoolService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_roll_based_access_service__WEBPACK_IMPORTED_MODULE_46__["RollBasedAccessService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_47__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_impersonate_service__WEBPACK_IMPORTED_MODULE_48__["ImpersonateServices"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_notification_service__WEBPACK_IMPORTED_MODULE_49__["NotificationService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_50__["MatSnackBar"])); };
ToolbarComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ToolbarComponent, selectors: [["vex-toolbar"]], hostVars: 2, hostBindings: function ToolbarComponent_HostBindings(rf, ctx) { if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("shadow-b", ctx.hasShadow);
    } }, inputs: { mobileQuery: "mobileQuery", hasShadow: "hasShadow" }, decls: 49, vars: 36, consts: [["vexContainer", "", 1, "toolbar", "w-full", "px-gutter", "flex", "justify-between", "items-center"], ["mat-icon-button", "", "type", "button", 3, "fxHide", "click"], [3, "icIcon"], [1, "ltr:ml-2", "rtl:ml-2", "small-mobile-logo", 3, "routerLink"], [1, "w-8", "select-none", 3, "src", "alt"], [1, "items-right"], [3, "schoolChanged"], [1, "rtl:mr-2"], ["megaMenuOriginRef", ""], [1, "-mx-1", "flex", "items-center"], ["class", "border border-gray-light rounded-full h-9 px-4 leading-9 flex items-center justify-center shadow-md", "type", "button", 3, "matTooltip", "click", 4, "ngIf"], ["class", "border border-normal rounded-full h-9 w-9 leading-9 flex items-center justify-center shadow-md ml-3 relative notifications", "type", "button", 3, "click", 4, "ngIf"], ["type", "button", 1, "border", "border-normal", "rounded-full", "h-9", "w-9", "leading-9", "flex", "items-center", "justify-center", "shadow-md", "ml-3", "relative", "notifications", 3, "click"], [1, "inline-block", 3, "icIcon"], ["class", "absolute inset-auto bg-red h-4 min-w-4 px-1 text-white inline-block rounded-full text-xxs leading-normal -top-2 -right-1", 4, "ngIf"], [4, "ngIf"], [1, "cursor-pointer", 3, "matMenuTriggerFor"], ["alt", "Profile picture", 1, "h-9", "w-9", "rounded-full", "ml-3", "shadow-md", "border-2", "border-white", 3, "src"], ["xPosition", "before", "yPosition", "below", 3, "overlapTrigger"], ["addNewMenu", "matMenu"], [1, "px-4", "pt-1", "pb-3"], [1, "text-blue", "font-semibold"], [1, "text-gray"], ["class", "mt-2 mb-4 px-4", 4, "ngIf"], ["mat-menu-item", "", 3, "click", 4, "ngIf", "ngIfElse"], ["elseButton", ""], ["mat-menu-item", "", 3, "click"], [3, "fxHide", 4, "ngIf"], ["class", "fixed top-0 right-0 w-full h-full z-40", 4, "ngIf"], ["class", "general-notification-popup fixed top-12 right-5 rounded z-50 pr-6 border border-gray-light bg-white shadow px-4 py-3", 4, "ngIf"], ["class", "release-notification-popup fixed top-3 right-5 rounded z-50 pr-6 border border-gray-light bg-white px-4 py-3", 4, "ngIf"], ["type", "button", 1, "border", "border-gray-light", "rounded-full", "h-9", "px-4", "leading-9", "flex", "items-center", "justify-center", "shadow-md", 3, "matTooltip", "click"], [1, "inline-block"], [1, "hidden", "md:inline-block", "ml-2"], [1, "absolute", "inset-auto", "bg-red", "h-4", "min-w-4", "px-1", "text-white", "inline-block", "rounded-full", "text-xxs", "leading-normal", "-top-2", "-right-1"], ["class", "global-add-button shadow-md", "type", "button", 3, "click", 4, "ngIf"], ["type", "button", 1, "global-add-button", "shadow-md", 3, "click"], ["inline", "true", 1, "ic-inline", "inline-block", 3, "icon"], [1, "mt-2", "mb-4", "px-4"], [1, "w-full", 3, "value"], [1, "material-icons-two-tone"], [3, "fxHide"], [1, "fixed", "top-0", "right-0", "w-full", "h-full", "z-40"], [1, "notification-panel", "absolute", "right-0", "bg-white", "w-full", "sm:w-4/6", "md:w-3/6", "lg:w-4/12", "xl:w-3/12", "h-full", "z-20", "shadow-md"], [3, "notificationsList", "notificationType", "generalNotificationsList", "pageNumber", "pageSize", "totalCount", "showHideNotifications", "hasRecentNotification", "udpateNotificationUnreadCount"], [1, "general-notification-popup", "fixed", "top-12", "right-5", "rounded", "z-50", "pr-6", "border", "border-gray-light", "bg-white", "shadow", "px-4", "py-3"], ["href", "javascript:void(0);", 1, "absolute", "top-2", "right-0", "inline-block", "cursor-pointer", 3, "click"], [1, "text-sm"], [1, "flex", "items-center"], [1, "mr-3"], ["src", "assets/img/icons/icon-notification-bell.svg", "alt", "Upgrade Icon", 1, "w-8"], [1, "flex-1", "cursor-pointer", "whitespace-normal"], [1, "text-green"], [1, "text-blue", "cursor-pointer", "font-bold", "mt-2", 3, "click"], [1, "release-notification-popup", "fixed", "top-3", "right-5", "rounded", "z-50", "pr-6", "border", "border-gray-light", "bg-white", "px-4", "py-3"], ["src", "assets/img/icon-upgrade.svg", "alt", "Upgrade Icon"]], template: function ToolbarComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "button", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarComponent_Template_button_click_1_listener() { return ctx.openSidenav(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "mat-icon", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "a", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "img", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "vex-select-bar", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("schoolChanged", function ToolbarComponent_Template_vex_select_bar_schoolChanged_6_listener($event) { return ctx.schoolChanged($event); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 7, 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "div", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, ToolbarComponent_button_10_Template, 9, 11, "button", 10);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](11, ToolbarComponent_button_11_Template, 2, 1, "button", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "button", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarComponent_Template_button_click_12_listener() { return ctx.openNotifications("general-notifications"); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](13, "mat-icon", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](14, ToolbarComponent_span_14_Template, 2, 1, "span", 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](15, ToolbarComponent_div_15_Template, 3, 3, "div", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "div", 16);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](17, "img", 17);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "mat-menu", 18, 19);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "div", 20);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "h3", 21);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](22);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "p", 22);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](24);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](25, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](26, ToolbarComponent_div_26_Template, 4, 6, "div", 23);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](27, "hr");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](28, ToolbarComponent_button_28_Template, 6, 3, "button", 24);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](29, ToolbarComponent_ng_template_29_Template, 6, 3, "ng-template", null, 25, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](31, "button", 26);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarComponent_Template_button_click_31_listener() { return ctx.openChangePassword(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](32, "mat-icon");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](33, "lock_open");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](34, "span");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](35);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](36, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](37, "button", 26);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ToolbarComponent_Template_button_click_37_listener() { return ctx.logOut(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](38, "mat-icon");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](39, "logout");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](40, "span");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](41);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](42, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](43, ToolbarComponent_vex_navigation_43_Template, 1, 1, "vex-navigation", 27);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](44, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](45, "async");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](46, ToolbarComponent_div_46_Template, 3, 7, "div", 28);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](47, ToolbarComponent_div_47_Template, 16, 7, "div", 29);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](48, ToolbarComponent_div_48_Template, 17, 9, "div", 30);
    } if (rf & 2) {
        const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](19);
        const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](30);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("fxHide", !ctx.mobileQuery);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icMenu);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](35, _c0));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", "data:image/jpeg;base64," + ctx.tenantLogoIcon, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"])("alt", ctx.tenantName + " Logo");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@stagger", undefined);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.defaultValuesService.getImpersonateButton());
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.defaultValuesService.getUserMembershipType() != "Student" && ctx.defaultValuesService.getUserMembershipType() != "Parent");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icNotifications);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.generalNotificationUnreadCount > 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.isSuperAdmin || ctx.defaultValuesService.getUserMembershipType() === ctx.profile.SchoolAdmin || ctx.defaultValuesService.getUserMembershipType() === ctx.profile.AdminAssitant);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matMenuTriggerFor", _r5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", ctx.userPhoto, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("overlapTrigger", false);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.defaultValuesService.getFullUserName());
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](25, 25, ctx.defaultValuesService.getuserMembershipName()));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.defaultValuesService.getTenantData().workEmailId === ctx.defaultValuesService.getEmailId());
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.defaultValuesService.getTenantData().workEmailId === ctx.defaultValuesService.getEmailId())("ngIfElse", _r8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](36, 27, "changePassword"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](42, 29, "logout"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](44, 31, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](45, 33, ctx.isVerticalLayout$) && ctx.isNavbarBelowToolbar$));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showNotificationsPanel);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.latestNotificationText);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.popupNotification && ctx.defaultValuesService.getUserMembershipType() != "Student" && ctx.defaultValuesService.getUserMembershipType() != "Parent");
    } }, directives: [_directives_container_container_directive__WEBPACK_IMPORTED_MODULE_51__["ContainerDirective"], _angular_material_button__WEBPACK_IMPORTED_MODULE_52__["MatButton"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_53__["DefaultShowHideDirective"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_54__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_55__["IconDirective"], _angular_router__WEBPACK_IMPORTED_MODULE_37__["RouterLinkWithHref"], _select_bar_select_bar_component__WEBPACK_IMPORTED_MODULE_56__["SelectBarComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_57__["NgIf"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_58__["MatMenuTrigger"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_58__["_MatMenu"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_58__["MatMenuItem"], _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_59__["MatTooltip"], _angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_60__["MatProgressBar"], _navigation_navigation_component__WEBPACK_IMPORTED_MODULE_61__["NavigationComponent"], _app_common_notifications_notifications_component__WEBPACK_IMPORTED_MODULE_62__["NotificationsComponent"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_42__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_57__["AsyncPipe"]], styles: ["[_nghost-%COMP%] {\n  background: var(--toolbar-background);\n  box-sizing: border-box;\n  color: var(--toolbar-color);\n  display: block;\n  white-space: nowrap;\n  width: 100%;\n  z-index: var(--toolbar-z-index);\n}\n\n.toolbar[_ngcontent-%COMP%] {\n  height: var(--toolbar-height);\n}\n\n.toolbar[_ngcontent-%COMP%]   .notification-animation[_ngcontent-%COMP%]::after {\n  content: \"\";\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  -webkit-animation: pulseanim 1s ease infinite;\n          animation: pulseanim 1s ease infinite;\n  border-radius: 50%;\n  border-width: 1px;\n  --border-opacity: 1;\n  border-color: #d23240;\n  border-color: rgba(210, 50, 64, var(--border-opacity));\n  height: 0.75rem;\n  width: 0.75rem;\n}\n\n@-webkit-keyframes pulseanim {\n  0% {\n    transform: scale(1);\n    opacity: 1;\n  }\n  60% {\n    transform: scale(1.5);\n    opacity: 0.4;\n  }\n  100% {\n    transform: scale(2);\n    opacity: 0;\n  }\n}\n\n@keyframes pulseanim {\n  0% {\n    transform: scale(1);\n    opacity: 1;\n  }\n  60% {\n    transform: scale(1.5);\n    opacity: 0.4;\n  }\n  100% {\n    transform: scale(2);\n    opacity: 0;\n  }\n}\n\na[_ngcontent-%COMP%] {\n  color: var(--toolbar-color);\n  text-decoration: none;\n}\n\n.small-mobile-logo[_ngcontent-%COMP%] {\n  background: #eaeaea;\n  padding: 8px;\n  border-radius: 50%;\n  display: none;\n}\n\n@media (max-width: 1023.98px) {\n  .small-mobile-logo[_ngcontent-%COMP%] {\n    display: block;\n  }\n}\n\n.global-add-button[_ngcontent-%COMP%] {\n  background-color: rgb(var(--color-primary));\n  color: var(--text-color-light);\n  border-radius: 50%;\n  width: 36px;\n  height: 36px;\n  margin-left: 15px;\n  font-size: 20px;\n  line-height: 36px;\n  text-align: center;\n}\n\n.release-notification-popup[_ngcontent-%COMP%] {\n  width: 300px;\n  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);\n}\n\n.general-notification-popup[_ngcontent-%COMP%] {\n  max-width: 300px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9AdmV4L2xheW91dC90b29sYmFyL3Rvb2xiYXIuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxxQ0FBQTtFQUNBLHNCQUFBO0VBQ0EsMkJBQUE7RUFDQSxjQUFBO0VBQ0EsbUJBQUE7RUFDQSxXQUFBO0VBQ0EsK0JBQUE7QUFDRjs7QUFFQTtFQUNFLDZCQUFBO0FBQ0Y7O0FBRUE7RUFDRSxXQUFBO0VBQ0EsY0FBQTtFQUNBLGtCQUFBO0VBQ0EsTUFBQTtFQUNBLE9BQUE7RUFDQSxRQUFBO0VBQ0EsU0FBQTtFQUNBLDZDQUFBO1VBQUEscUNBQUE7RUFDQSxrQkFBQTtFQUNBLGlCQUFBO0VBQ0EsbUJBQUE7RUFDQSxxQkFBQTtFQUNBLHNEQUFBO0VBQ0EsZUFBQTtFQUNBLGNBQUE7QUFDRjs7QUFFQTtFQUNFO0lBQ0UsbUJBQUE7SUFDQSxVQUFBO0VBQ0Y7RUFFQTtJQUNFLHFCQUFBO0lBQ0EsWUFBQTtFQUFGO0VBR0E7SUFDRSxtQkFBQTtJQUNBLFVBQUE7RUFERjtBQUNGOztBQWJBO0VBQ0U7SUFDRSxtQkFBQTtJQUNBLFVBQUE7RUFDRjtFQUVBO0lBQ0UscUJBQUE7SUFDQSxZQUFBO0VBQUY7RUFHQTtJQUNFLG1CQUFBO0lBQ0EsVUFBQTtFQURGO0FBQ0Y7O0FBSUE7RUFDRSwyQkFBQTtFQUNBLHFCQUFBO0FBRkY7O0FBS0E7RUFDRSxtQkFBQTtFQUNBLFlBQUE7RUFDQSxrQkFBQTtFQUNBLGFBQUE7QUFGRjs7QUFLQTtFQUNFO0lBQ0UsY0FBQTtFQUZGO0FBQ0Y7O0FBS0E7RUFDRSwyQ0FBQTtFQUNBLDhCQUFBO0VBQ0Esa0JBQUE7RUFDQSxXQUFBO0VBQ0EsWUFBQTtFQUNBLGlCQUFBO0VBQ0EsZUFBQTtFQUNBLGlCQUFBO0VBQ0Esa0JBQUE7QUFIRjs7QUFNQTtFQUNFLFlBQUE7RUFDQSx5Q0FBQTtBQUhGOztBQU1BO0VBQ0UsZ0JBQUE7QUFIRiIsImZpbGUiOiJzcmMvQHZleC9sYXlvdXQvdG9vbGJhci90b29sYmFyLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiOmhvc3Qge1xuICBiYWNrZ3JvdW5kOiB2YXIoLS10b29sYmFyLWJhY2tncm91bmQpO1xuICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICBjb2xvcjogdmFyKC0tdG9vbGJhci1jb2xvcik7XG4gIGRpc3BsYXk6IGJsb2NrO1xuICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICB3aWR0aDogMTAwJTtcbiAgei1pbmRleDogdmFyKC0tdG9vbGJhci16LWluZGV4KTtcbn1cblxuLnRvb2xiYXIge1xuICBoZWlnaHQ6IHZhcigtLXRvb2xiYXItaGVpZ2h0KTtcbn1cblxuLnRvb2xiYXIgLm5vdGlmaWNhdGlvbi1hbmltYXRpb246OmFmdGVyIHtcbiAgY29udGVudDogXCJcIjtcbiAgZGlzcGxheTogYmxvY2s7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAwO1xuICBsZWZ0OiAwO1xuICByaWdodDogMDtcbiAgYm90dG9tOiAwO1xuICBhbmltYXRpb246IHB1bHNlYW5pbSAxcyBlYXNlIGluZmluaXRlO1xuICBib3JkZXItcmFkaXVzOiA1MCU7XG4gIGJvcmRlci13aWR0aDogMXB4O1xuICAtLWJvcmRlci1vcGFjaXR5OiAxO1xuICBib3JkZXItY29sb3I6IHJnYigyMTAsIDUwLCA2NCk7XG4gIGJvcmRlci1jb2xvcjogcmdiYSgyMTAsIDUwLCA2NCwgdmFyKC0tYm9yZGVyLW9wYWNpdHkpKTtcbiAgaGVpZ2h0OiAwLjc1cmVtO1xuICB3aWR0aDogMC43NXJlbTtcbn1cblxuQGtleWZyYW1lcyBwdWxzZWFuaW0ge1xuICAwJSB7XG4gICAgdHJhbnNmb3JtOiBzY2FsZSgxKTtcbiAgICBvcGFjaXR5OiAxO1xuICB9XG5cbiAgNjAlIHtcbiAgICB0cmFuc2Zvcm06IHNjYWxlKDEuNSk7XG4gICAgb3BhY2l0eTogMC40O1xuICB9XG5cbiAgMTAwJSB7XG4gICAgdHJhbnNmb3JtOiBzY2FsZSgyKTtcbiAgICBvcGFjaXR5OiAwO1xuICB9XG59XG5cbmEge1xuICBjb2xvcjogdmFyKC0tdG9vbGJhci1jb2xvcik7XG4gIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbn1cblxuLnNtYWxsLW1vYmlsZS1sb2dvIHtcbiAgYmFja2dyb3VuZDogI2VhZWFlYTtcbiAgcGFkZGluZzogOHB4O1xuICBib3JkZXItcmFkaXVzOiA1MCU7XG4gIGRpc3BsYXk6IG5vbmU7XG59XG5cbkBtZWRpYSAobWF4LXdpZHRoOiAxMDIzLjk4cHgpIHtcbiAgLnNtYWxsLW1vYmlsZS1sb2dvIHtcbiAgICBkaXNwbGF5OiBibG9jaztcbiAgfVxufVxuXG4uZ2xvYmFsLWFkZC1idXR0b24ge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiByZ2IodmFyKC0tY29sb3ItcHJpbWFyeSkpO1xuICBjb2xvcjogdmFyKC0tdGV4dC1jb2xvci1saWdodCk7XG4gIGJvcmRlci1yYWRpdXM6IDUwJTtcbiAgd2lkdGg6IDM2cHg7XG4gIGhlaWdodDogMzZweDtcbiAgbWFyZ2luLWxlZnQ6IDE1cHg7XG4gIGZvbnQtc2l6ZTogMjBweDtcbiAgbGluZS1oZWlnaHQ6IDM2cHg7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbn1cblxuLnJlbGVhc2Utbm90aWZpY2F0aW9uLXBvcHVwIHtcbiAgd2lkdGg6IDMwMHB4O1xuICBib3gtc2hhZG93OiAwIDNweCAxMHB4IHJnYmEoMCwgMCwgMCwgMC4yKTtcbn1cblxuLmdlbmVyYWwtbm90aWZpY2F0aW9uLXBvcHVwIHtcbiAgbWF4LXdpZHRoOiAzMDBweDtcbn0iXX0= */"], data: { animation: [
            _vex_animations_fade_in_up_animation__WEBPACK_IMPORTED_MODULE_19__["fadeInUp400ms"],
            _vex_animations_stagger_animation__WEBPACK_IMPORTED_MODULE_20__["stagger40ms"],
            src_vex_animations_fade_in_right_animation__WEBPACK_IMPORTED_MODULE_25__["fadeInRight400ms"]
        ] } });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ToolbarComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-toolbar',
                templateUrl: './toolbar.component.html',
                styleUrls: ['./toolbar.component.scss'],
                animations: [
                    _vex_animations_fade_in_up_animation__WEBPACK_IMPORTED_MODULE_19__["fadeInUp400ms"],
                    _vex_animations_stagger_animation__WEBPACK_IMPORTED_MODULE_20__["stagger40ms"],
                    src_vex_animations_fade_in_right_animation__WEBPACK_IMPORTED_MODULE_25__["fadeInRight400ms"]
                ]
            }]
    }], function () { return [{ type: _services_layout_service__WEBPACK_IMPORTED_MODULE_32__["LayoutService"] }, { type: _services_config_service__WEBPACK_IMPORTED_MODULE_33__["ConfigService"] }, { type: _services_navigation_service__WEBPACK_IMPORTED_MODULE_34__["NavigationService"] }, { type: _components_popover_popover_service__WEBPACK_IMPORTED_MODULE_35__["PopoverService"] }, { type: src_app_services_Crypto_service__WEBPACK_IMPORTED_MODULE_36__["CryptoService"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_37__["Router"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_38__["MatDialog"] }, { type: src_app_common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_39__["PageRolesPermission"] }, { type: src_app_services_common_service__WEBPACK_IMPORTED_MODULE_40__["CommonService"] }, { type: src_app_services_staff_service__WEBPACK_IMPORTED_MODULE_41__["StaffService"] }, { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_42__["TranslateService"] }, { type: src_app_services_student_service__WEBPACK_IMPORTED_MODULE_43__["StudentService"] }, { type: src_app_services_parent_info_service__WEBPACK_IMPORTED_MODULE_44__["ParentInfoService"] }, { type: src_app_services_school_service__WEBPACK_IMPORTED_MODULE_45__["SchoolService"] }, { type: src_app_services_roll_based_access_service__WEBPACK_IMPORTED_MODULE_46__["RollBasedAccessService"] }, { type: _app_common_default_values_service__WEBPACK_IMPORTED_MODULE_47__["DefaultValuesService"] }, { type: src_app_services_impersonate_service__WEBPACK_IMPORTED_MODULE_48__["ImpersonateServices"] }, { type: src_app_services_notification_service__WEBPACK_IMPORTED_MODULE_49__["NotificationService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_50__["MatSnackBar"] }]; }, { mobileQuery: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], hasShadow: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }, {
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
            args: ['class.shadow-b']
        }] }); })();


/***/ }),

/***/ "./src/@vex/layout/toolbar/toolbar.module.ts":
/*!***************************************************!*\
  !*** ./src/@vex/layout/toolbar/toolbar.module.ts ***!
  \***************************************************/
/*! exports provided: ToolbarModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ToolbarModule", function() { return ToolbarModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _toolbar_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./toolbar.component */ "./src/@vex/layout/toolbar/toolbar.component.ts");
/* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/flex-layout */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex-layout.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/menu */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/menu.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _toolbar_notifications_toolbar_notifications_module__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./toolbar-notifications/toolbar-notifications.module */ "./src/@vex/layout/toolbar/toolbar-notifications/toolbar-notifications.module.ts");
/* harmony import */ var _toolbar_user_toolbar_user_module__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./toolbar-user/toolbar-user.module */ "./src/@vex/layout/toolbar/toolbar-user/toolbar-user.module.ts");
/* harmony import */ var _toolbar_search_toolbar_search_module__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./toolbar-search/toolbar-search.module */ "./src/@vex/layout/toolbar/toolbar-search/toolbar-search.module.ts");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _navigation_navigation_module__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../navigation/navigation.module */ "./src/@vex/layout/navigation/navigation.module.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _components_navigation_item_navigation_item_module__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../components/navigation-item/navigation-item.module */ "./src/@vex/components/navigation-item/navigation-item.module.ts");
/* harmony import */ var _components_mega_menu_mega_menu_module__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../components/mega-menu/mega-menu.module */ "./src/@vex/components/mega-menu/mega-menu.module.ts");
/* harmony import */ var _directives_container_container_module__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../directives/container/container.module */ "./src/@vex/directives/container/container.module.ts");
/* harmony import */ var _select_bar_select_bar_module__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./select-bar/select-bar.module */ "./src/@vex/layout/toolbar/select-bar/select-bar.module.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @angular/material/tooltip */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/tooltip.js");
/* harmony import */ var _angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @angular/material/progress-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/progress-bar.js");
/* harmony import */ var src_app_common_notifications_notifications_module__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! src/app/common/notifications/notifications.module */ "./src/app/common/notifications/notifications.module.ts");























class ToolbarModule {
}
ToolbarModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: ToolbarModule });
ToolbarModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function ToolbarModule_Factory(t) { return new (t || ToolbarModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__["FlexLayoutModule"],
            _angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"],
            _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__["MatIconModule"],
            _angular_material_menu__WEBPACK_IMPORTED_MODULE_6__["MatMenuModule"],
            _angular_material_core__WEBPACK_IMPORTED_MODULE_7__["MatRippleModule"],
            _toolbar_notifications_toolbar_notifications_module__WEBPACK_IMPORTED_MODULE_8__["ToolbarNotificationsModule"],
            _toolbar_user_toolbar_user_module__WEBPACK_IMPORTED_MODULE_9__["ToolbarUserModule"],
            _toolbar_search_toolbar_search_module__WEBPACK_IMPORTED_MODULE_10__["ToolbarSearchModule"],
            _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_11__["IconModule"],
            _navigation_navigation_module__WEBPACK_IMPORTED_MODULE_12__["NavigationModule"],
            _angular_router__WEBPACK_IMPORTED_MODULE_13__["RouterModule"],
            _components_navigation_item_navigation_item_module__WEBPACK_IMPORTED_MODULE_14__["NavigationItemModule"],
            _components_mega_menu_mega_menu_module__WEBPACK_IMPORTED_MODULE_15__["MegaMenuModule"],
            _directives_container_container_module__WEBPACK_IMPORTED_MODULE_16__["ContainerModule"],
            _select_bar_select_bar_module__WEBPACK_IMPORTED_MODULE_17__["SelectBarModule"],
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_18__["TranslateModule"],
            _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_19__["MatTooltipModule"],
            _angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_20__["MatProgressBarModule"],
            src_app_common_notifications_notifications_module__WEBPACK_IMPORTED_MODULE_21__["NotificationsModule"],
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](ToolbarModule, { declarations: [_toolbar_component__WEBPACK_IMPORTED_MODULE_2__["ToolbarComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__["FlexLayoutModule"],
        _angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"],
        _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__["MatIconModule"],
        _angular_material_menu__WEBPACK_IMPORTED_MODULE_6__["MatMenuModule"],
        _angular_material_core__WEBPACK_IMPORTED_MODULE_7__["MatRippleModule"],
        _toolbar_notifications_toolbar_notifications_module__WEBPACK_IMPORTED_MODULE_8__["ToolbarNotificationsModule"],
        _toolbar_user_toolbar_user_module__WEBPACK_IMPORTED_MODULE_9__["ToolbarUserModule"],
        _toolbar_search_toolbar_search_module__WEBPACK_IMPORTED_MODULE_10__["ToolbarSearchModule"],
        _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_11__["IconModule"],
        _navigation_navigation_module__WEBPACK_IMPORTED_MODULE_12__["NavigationModule"],
        _angular_router__WEBPACK_IMPORTED_MODULE_13__["RouterModule"],
        _components_navigation_item_navigation_item_module__WEBPACK_IMPORTED_MODULE_14__["NavigationItemModule"],
        _components_mega_menu_mega_menu_module__WEBPACK_IMPORTED_MODULE_15__["MegaMenuModule"],
        _directives_container_container_module__WEBPACK_IMPORTED_MODULE_16__["ContainerModule"],
        _select_bar_select_bar_module__WEBPACK_IMPORTED_MODULE_17__["SelectBarModule"],
        _ngx_translate_core__WEBPACK_IMPORTED_MODULE_18__["TranslateModule"],
        _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_19__["MatTooltipModule"],
        _angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_20__["MatProgressBarModule"],
        src_app_common_notifications_notifications_module__WEBPACK_IMPORTED_MODULE_21__["NotificationsModule"]], exports: [_toolbar_component__WEBPACK_IMPORTED_MODULE_2__["ToolbarComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ToolbarModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_toolbar_component__WEBPACK_IMPORTED_MODULE_2__["ToolbarComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _angular_flex_layout__WEBPACK_IMPORTED_MODULE_3__["FlexLayoutModule"],
                    _angular_material_button__WEBPACK_IMPORTED_MODULE_4__["MatButtonModule"],
                    _angular_material_icon__WEBPACK_IMPORTED_MODULE_5__["MatIconModule"],
                    _angular_material_menu__WEBPACK_IMPORTED_MODULE_6__["MatMenuModule"],
                    _angular_material_core__WEBPACK_IMPORTED_MODULE_7__["MatRippleModule"],
                    _toolbar_notifications_toolbar_notifications_module__WEBPACK_IMPORTED_MODULE_8__["ToolbarNotificationsModule"],
                    _toolbar_user_toolbar_user_module__WEBPACK_IMPORTED_MODULE_9__["ToolbarUserModule"],
                    _toolbar_search_toolbar_search_module__WEBPACK_IMPORTED_MODULE_10__["ToolbarSearchModule"],
                    _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_11__["IconModule"],
                    _navigation_navigation_module__WEBPACK_IMPORTED_MODULE_12__["NavigationModule"],
                    _angular_router__WEBPACK_IMPORTED_MODULE_13__["RouterModule"],
                    _components_navigation_item_navigation_item_module__WEBPACK_IMPORTED_MODULE_14__["NavigationItemModule"],
                    _components_mega_menu_mega_menu_module__WEBPACK_IMPORTED_MODULE_15__["MegaMenuModule"],
                    _directives_container_container_module__WEBPACK_IMPORTED_MODULE_16__["ContainerModule"],
                    _select_bar_select_bar_module__WEBPACK_IMPORTED_MODULE_17__["SelectBarModule"],
                    _ngx_translate_core__WEBPACK_IMPORTED_MODULE_18__["TranslateModule"],
                    _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_19__["MatTooltipModule"],
                    _angular_material_progress_bar__WEBPACK_IMPORTED_MODULE_20__["MatProgressBarModule"],
                    src_app_common_notifications_notifications_module__WEBPACK_IMPORTED_MODULE_21__["NotificationsModule"],
                ],
                exports: [_toolbar_component__WEBPACK_IMPORTED_MODULE_2__["ToolbarComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/pipes/relative-date-time/relative-date-time.module.ts":
/*!************************************************************************!*\
  !*** ./src/@vex/pipes/relative-date-time/relative-date-time.module.ts ***!
  \************************************************************************/
/*! exports provided: RelativeDateTimeModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RelativeDateTimeModule", function() { return RelativeDateTimeModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _relative_date_time_pipe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./relative-date-time.pipe */ "./src/@vex/pipes/relative-date-time/relative-date-time.pipe.ts");




class RelativeDateTimeModule {
}
RelativeDateTimeModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: RelativeDateTimeModule });
RelativeDateTimeModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function RelativeDateTimeModule_Factory(t) { return new (t || RelativeDateTimeModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](RelativeDateTimeModule, { declarations: [_relative_date_time_pipe__WEBPACK_IMPORTED_MODULE_2__["RelativeDateTimePipe"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]], exports: [_relative_date_time_pipe__WEBPACK_IMPORTED_MODULE_2__["RelativeDateTimePipe"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RelativeDateTimeModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_relative_date_time_pipe__WEBPACK_IMPORTED_MODULE_2__["RelativeDateTimePipe"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]
                ],
                exports: [_relative_date_time_pipe__WEBPACK_IMPORTED_MODULE_2__["RelativeDateTimePipe"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/pipes/relative-date-time/relative-date-time.pipe.ts":
/*!**********************************************************************!*\
  !*** ./src/@vex/pipes/relative-date-time/relative-date-time.pipe.ts ***!
  \**********************************************************************/
/*! exports provided: RelativeDateTimePipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RelativeDateTimePipe", function() { return RelativeDateTimePipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var luxon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! luxon */ "./node_modules/luxon/build/cjs-browser/luxon.js");
/* harmony import */ var luxon__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(luxon__WEBPACK_IMPORTED_MODULE_1__);



class RelativeDateTimePipe {
    transform(value, ...args) {
        if (!value) {
            return;
        }
        if (!(value instanceof luxon__WEBPACK_IMPORTED_MODULE_1__["DateTime"])) {
            value = luxon__WEBPACK_IMPORTED_MODULE_1__["DateTime"].fromISO(value);
        }
        return value.toRelative();
    }
}
RelativeDateTimePipe.ɵfac = function RelativeDateTimePipe_Factory(t) { return new (t || RelativeDateTimePipe)(); };
RelativeDateTimePipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "relativeDateTime", type: RelativeDateTimePipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RelativeDateTimePipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'relativeDateTime'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/@vex/services/config.service.ts":
/*!*********************************************!*\
  !*** ./src/@vex/services/config.service.ts ***!
  \*********************************************/
/*! exports provided: ConfigService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConfigService", function() { return ConfigService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _utils_merge_deep__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/merge-deep */ "./src/@vex/utils/merge-deep.ts");
/* harmony import */ var _configs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./configs */ "./src/@vex/services/configs.ts");
/* harmony import */ var _interfaces_config_name_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../interfaces/config-name.model */ "./src/@vex/interfaces/config-name.model.ts");
/* harmony import */ var _layout_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./layout.service */ "./src/@vex/services/layout.service.ts");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");









class ConfigService {
    constructor(document, layoutService, defaultValuesService) {
        this.document = document;
        this.layoutService = layoutService;
        this.defaultValuesService = defaultValuesService;
        this.defaultConfig = _interfaces_config_name_model__WEBPACK_IMPORTED_MODULE_5__["ConfigName"].apollo;
        this.configs = _configs__WEBPACK_IMPORTED_MODULE_4__["configs"];
        this._configSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](this.configs.find(c => c.id === this.defaultConfig));
        this.config$ = this._configSubject.asObservable();
        this.config$.subscribe(config => this._updateConfig(config));
    }
    setConfig(config) {
        const settings = this.configs.find(c => c.id === config);
        if (settings) {
            this._configSubject.next(settings);
        }
    }
    updateConfig(config) {
        this._configSubject.next(Object(_utils_merge_deep__WEBPACK_IMPORTED_MODULE_3__["mergeDeep"])(Object.assign({}, this._configSubject.getValue()), config));
    }
    _updateConfig(config) {
        const body = this.document.body;
        this.configs.forEach(c => {
            if (body.classList.contains(c.id)) {
                body.classList.remove(c.id);
            }
        });
        body.classList.add(config.id);
        this.defaultValuesService.getCollapseValue() ? this.layoutService.collapseSidenav() : this.layoutService.expandSidenav();
        // config.sidenav.state === 'expanded' ? this.layoutService.expandSidenav() : this.layoutService.collapseSidenav();
        // Workaround so charts and other externals know they have to resize on Layout switch
        if (window) {
            window.dispatchEvent(new Event('resize'));
            setTimeout(() => {
                window.dispatchEvent(new Event('resize'));
            }, 200);
        }
    }
}
ConfigService.ɵfac = function ConfigService_Factory(t) { return new (t || ConfigService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_layout_service__WEBPACK_IMPORTED_MODULE_6__["LayoutService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_7__["DefaultValuesService"])); };
ConfigService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: ConfigService, factory: ConfigService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ConfigService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: Document, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
                args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"]]
            }] }, { type: _layout_service__WEBPACK_IMPORTED_MODULE_6__["LayoutService"] }, { type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_7__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/@vex/services/configs.ts":
/*!**************************************!*\
  !*** ./src/@vex/services/configs.ts ***!
  \**************************************/
/*! exports provided: configs */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "configs", function() { return configs; });
/* harmony import */ var _utils_merge_deep__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/merge-deep */ "./src/@vex/utils/merge-deep.ts");
/* harmony import */ var _interfaces_config_name_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../interfaces/config-name.model */ "./src/@vex/interfaces/config-name.model.ts");


const defaultConfig = {
    id: _interfaces_config_name_model__WEBPACK_IMPORTED_MODULE_1__["ConfigName"].apollo,
    name: 'Apollo',
    imgSrc: '//vex-landing.visurel.com/assets/img/layouts/apollo.png',
    layout: 'horizontal',
    boxed: false,
    sidenav: {
        title: 'VEX',
        imageUrl: 'assets/img/demo/logo.svg',
        showCollapsePin: true,
        state: 'expanded'
    },
    toolbar: {
        fixed: true
    },
    navbar: {
        position: 'below-toolbar'
    },
    footer: {
        visible: true,
        fixed: false
    }
};
const configs = [
    defaultConfig,
    Object(_utils_merge_deep__WEBPACK_IMPORTED_MODULE_0__["mergeDeep"])(Object.assign({}, defaultConfig), {
        id: _interfaces_config_name_model__WEBPACK_IMPORTED_MODULE_1__["ConfigName"].hermes,
        name: 'Hermes',
        imgSrc: '//vex-landing.visurel.com/assets/img/layouts/hermes.png',
        layout: 'vertical',
        boxed: true,
        toolbar: {
            fixed: false
        },
        footer: {
            fixed: false
        }
    }),
    Object(_utils_merge_deep__WEBPACK_IMPORTED_MODULE_0__["mergeDeep"])(Object.assign({}, defaultConfig), {
        id: _interfaces_config_name_model__WEBPACK_IMPORTED_MODULE_1__["ConfigName"].ares,
        name: 'Ares',
        imgSrc: '//vex-landing.visurel.com/assets/img/layouts/ares.png',
        toolbar: {
            fixed: false
        },
        navbar: {
            position: 'in-toolbar'
        },
        footer: {
            fixed: false
        }
    }),
    Object(_utils_merge_deep__WEBPACK_IMPORTED_MODULE_0__["mergeDeep"])(Object.assign({}, defaultConfig), {
        id: _interfaces_config_name_model__WEBPACK_IMPORTED_MODULE_1__["ConfigName"].zeus,
        name: 'Zeus',
        imgSrc: '//vex-landing.visurel.com/assets/img/layouts/zeus.png',
        sidenav: {
            state: 'collapsed'
        },
    }),
    Object(_utils_merge_deep__WEBPACK_IMPORTED_MODULE_0__["mergeDeep"])(Object.assign({}, defaultConfig), {
        id: _interfaces_config_name_model__WEBPACK_IMPORTED_MODULE_1__["ConfigName"].ikaros,
        name: 'Ikaros',
        imgSrc: '//vex-landing.visurel.com/assets/img/layouts/ikaros.png',
        layout: 'vertical',
        boxed: true,
        toolbar: {
            fixed: false
        },
        navbar: {
            position: 'in-toolbar'
        },
        footer: {
            fixed: false
        }
    })
];


/***/ }),

/***/ "./src/@vex/services/layout.service.ts":
/*!*********************************************!*\
  !*** ./src/@vex/services/layout.service.ts ***!
  \*********************************************/
/*! exports provided: LayoutService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LayoutService", function() { return LayoutService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _angular_cdk_layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/cdk/layout */ "./node_modules/@angular/cdk/__ivy_ngcc__/fesm2015/layout.js");






class LayoutService {
    constructor(router, breakpointObserver) {
        this.router = router;
        this.breakpointObserver = breakpointObserver;
        this._quickpanelOpenSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](false);
        this.quickpanelOpen$ = this._quickpanelOpenSubject.asObservable();
        this._sidenavOpenSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](false);
        this.sidenavOpen$ = this._sidenavOpenSubject.asObservable();
        this._sidenavCollapsedSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](false);
        this.sidenavCollapsed$ = this._sidenavCollapsedSubject.asObservable();
        this._sidenavCollapsedOpenSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](false);
        this.sidenavCollapsedOpen$ = this._sidenavCollapsedOpenSubject.asObservable();
        this._configpanelOpenSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](false);
        this.configpanelOpen$ = this._configpanelOpenSubject.asObservable();
        this._searchOpen = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](false);
        this.searchOpen$ = this._searchOpen.asObservable();
        this.isDesktop$ = this.breakpointObserver.observe(`(min-width: 1024px)`).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(state => state.matches));
        this.ltLg$ = this.breakpointObserver.observe(`(max-width: 1023px)`).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(state => state.matches));
        this.gtMd$ = this.breakpointObserver.observe(`(min-width: 960px)`).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(state => state.matches));
        this.ltMd$ = this.breakpointObserver.observe(`(max-width: 959px)`).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(state => state.matches));
        this.gtSm$ = this.breakpointObserver.observe(`(min-width: 600px)`).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(state => state.matches));
        this.isMobile$ = this.breakpointObserver.observe(`(max-width: 599px)`).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(state => state.matches));
        this.isLtLg = () => this.breakpointObserver.isMatched(`(max-width: 1023px)`);
        this.isMobile = () => this.breakpointObserver.isMatched(`(max-width: 599px)`);
    }
    openQuickpanel() {
        this._quickpanelOpenSubject.next(true);
    }
    closeQuickpanel() {
        this._quickpanelOpenSubject.next(false);
    }
    openSidenav() {
        this._sidenavOpenSubject.next(true);
    }
    closeSidenav() {
        this._sidenavOpenSubject.next(false);
    }
    collapseSidenav() {
        this._sidenavCollapsedSubject.next(true);
    }
    expandSidenav() {
        this._sidenavCollapsedSubject.next(false);
    }
    collapseOpenSidenav() {
        this._sidenavCollapsedOpenSubject.next(true);
    }
    collapseCloseSidenav() {
        this._sidenavCollapsedOpenSubject.next(false);
    }
    openConfigpanel() {
        this._configpanelOpenSubject.next(true);
    }
    closeConfigpanel() {
        this._configpanelOpenSubject.next(false);
    }
    openSearch() {
        this._searchOpen.next(true);
    }
    closeSearch() {
        this._searchOpen.next(false);
    }
    enableRTL() {
        this.router.navigate([], {
            queryParams: {
                rtl: 'true'
            }
        });
    }
    disableRTL() {
        this.router.navigate([], {
            queryParams: {
                rtl: 'false'
            }
        });
    }
}
LayoutService.ɵfac = function LayoutService_Factory(t) { return new (t || LayoutService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_layout__WEBPACK_IMPORTED_MODULE_4__["BreakpointObserver"])); };
LayoutService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: LayoutService, factory: LayoutService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LayoutService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"] }, { type: _angular_cdk_layout__WEBPACK_IMPORTED_MODULE_4__["BreakpointObserver"] }]; }, null); })();


/***/ }),

/***/ "./src/@vex/services/navigation.service.ts":
/*!*************************************************!*\
  !*** ./src/@vex/services/navigation.service.ts ***!
  \*************************************************/
/*! exports provided: NavigationService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NavigationService", function() { return NavigationService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");



class NavigationService {
    // private menuItems = new BehaviorSubject(null);
    // menuStorage = this.menuItems.asObservable();
    // menuListStorage(list) {
    //   this.menuItems.next(list);
    // }
    constructor() {
        this.items = [];
        this._openChangeSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
        this.openChange$ = this._openChangeSubject.asObservable();
        this.changeMenuStatusTo = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](false);
        this.menuItems = this.changeMenuStatusTo.asObservable();
    }
    changeMenuItemsStatus(message) {
        this.changeMenuStatusTo.next(message);
    }
    triggerOpenChange(item) {
        this._openChangeSubject.next(item);
    }
    isLink(item) {
        return item.type === 'link';
    }
    isDropdown(item) {
        return item.type === 'dropdown';
    }
    isSubheading(item) {
        return item.type === 'subheading';
    }
}
NavigationService.ɵfac = function NavigationService_Factory(t) { return new (t || NavigationService)(); };
NavigationService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: NavigationService, factory: NavigationService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NavigationService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/@vex/services/search.service.ts":
/*!*********************************************!*\
  !*** ./src/@vex/services/search.service.ts ***!
  \*********************************************/
/*! exports provided: SearchService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SearchService", function() { return SearchService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");



class SearchService {
    constructor() {
        this.valueChangesSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
        this.valueChanges$ = this.valueChangesSubject.asObservable();
        this.submitSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
        this.submit$ = this.submitSubject.asObservable();
        this.isOpenSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](false);
        this.isOpen$ = this.isOpenSubject.asObservable();
    }
}
SearchService.ɵfac = function SearchService_Factory(t) { return new (t || SearchService)(); };
SearchService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: SearchService, factory: SearchService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SearchService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/@vex/services/session.service.ts":
/*!**********************************************!*\
  !*** ./src/@vex/services/session.service.ts ***!
  \**********************************************/
/*! exports provided: SessionService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SessionService", function() { return SessionService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var _app_common_default_values_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../app/common/default-values.service */ "./src/app/common/default-values.service.ts");






class SessionService {
    constructor(http, defaultValuesService) {
        this.http = http;
        this.defaultValuesService = defaultValuesService;
        this.apiUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].apiURL;
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
    }
    RefreshToken(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.email = this.defaultValuesService.getEmailId();
        let apiurl = this.apiUrl + obj._tenantName + "/User/RefreshToken";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
}
SessionService.ɵfac = function SessionService_Factory(t) { return new (t || SessionService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_3__["DefaultValuesService"])); };
SessionService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: SessionService, factory: SessionService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SessionService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"] }, { type: _app_common_default_values_service__WEBPACK_IMPORTED_MODULE_3__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/@vex/services/splash-screen.service.ts":
/*!****************************************************!*\
  !*** ./src/@vex/services/splash-screen.service.ts ***!
  \****************************************************/
/*! exports provided: SplashScreenService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SplashScreenService", function() { return SplashScreenService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/animations */ "./node_modules/@angular/animations/__ivy_ngcc__/fesm2015/animations.js");








class SplashScreenService {
    constructor(router, document, animationBuilder) {
        this.router = router;
        this.document = document;
        this.animationBuilder = animationBuilder;
        this.splashScreenElem = this.document.body.querySelector('#vex-splash-screen');
        if (this.splashScreenElem) {
            this.router.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["filter"])(event => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__["NavigationEnd"]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["take"])(1)).subscribe(() => this.hide());
        }
    }
    hide() {
        const player = this.animationBuilder.build([
            Object(_angular_animations__WEBPACK_IMPORTED_MODULE_4__["style"])({
                opacity: 1
            }),
            Object(_angular_animations__WEBPACK_IMPORTED_MODULE_4__["animate"])('400ms cubic-bezier(0.25, 0.8, 0.25, 1)', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_4__["style"])({
                opacity: 0
            }))
        ]).create(this.splashScreenElem);
        player.onDone(() => this.splashScreenElem.remove());
        player.play();
    }
}
SplashScreenService.ɵfac = function SplashScreenService_Factory(t) { return new (t || SplashScreenService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_animations__WEBPACK_IMPORTED_MODULE_4__["AnimationBuilder"])); };
SplashScreenService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: SplashScreenService, factory: SplashScreenService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SplashScreenService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] }, { type: Document, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
                args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"]]
            }] }, { type: _angular_animations__WEBPACK_IMPORTED_MODULE_4__["AnimationBuilder"] }]; }, null); })();


/***/ }),

/***/ "./src/@vex/services/style.service.ts":
/*!********************************************!*\
  !*** ./src/@vex/services/style.service.ts ***!
  \********************************************/
/*! exports provided: Style, StyleService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Style", function() { return Style; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StyleService", function() { return StyleService; });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ngneat/until-destroy */ "./node_modules/@ngneat/until-destroy/__ivy_ngcc__/fesm2015/ngneat-until-destroy.js");






var Style;
(function (Style) {
    Style["light"] = "vex-style-light";
    Style["default"] = "vex-style-default";
    Style["dark"] = "vex-style-dark";
})(Style || (Style = {}));
let StyleService = class StyleService {
    constructor(document) {
        this.document = document;
        this.defaultStyle = Style.default;
        this._styleSubject = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](this.defaultStyle);
        this.style$ = this._styleSubject.asObservable();
        this.style$.pipe(Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_4__["untilDestroyed"])(this)).subscribe(style => this._updateStyle(style));
    }
    setStyle(style) {
        this._styleSubject.next(style);
    }
    _updateStyle(style) {
        const body = this.document.body;
        Object.values(Style).filter(s => s !== style).forEach(value => {
            if (body.classList.contains(value)) {
                body.classList.remove(value);
            }
        });
        body.classList.add(style);
    }
};
StyleService.ɵfac = function StyleService_Factory(t) { return new (t || StyleService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"])); };
StyleService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: StyleService, factory: StyleService.ɵfac, providedIn: 'root' });
StyleService = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_4__["UntilDestroy"])()
], StyleService);

/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](StyleService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: Document, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Inject"],
                args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"]]
            }] }]; }, null); })();


/***/ }),

/***/ "./src/@vex/utils/check-router-childs-data.ts":
/*!****************************************************!*\
  !*** ./src/@vex/utils/check-router-childs-data.ts ***!
  \****************************************************/
/*! exports provided: checkRouterChildsData, getAllParams */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "checkRouterChildsData", function() { return checkRouterChildsData; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getAllParams", function() { return getAllParams; });
function checkRouterChildsData(route, compareWith) {
    if (compareWith(route.data)) {
        return true;
    }
    if (!route.firstChild) {
        return false;
    }
    return checkRouterChildsData(route.firstChild, compareWith);
}
/**
 * Used to get params from children in their parent
 */
function getAllParams(route, result = new Map()) {
    if (route.params) {
        for (const key of Object.keys(route.params)) {
            result.set(key, route.params[key]);
        }
    }
    if (!route.firstChild) {
        return result;
    }
    return getAllParams(route.firstChild, result);
}


/***/ }),

/***/ "./src/@vex/utils/merge-deep.ts":
/*!**************************************!*\
  !*** ./src/@vex/utils/merge-deep.ts ***!
  \**************************************/
/*! exports provided: mergeDeep */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mergeDeep", function() { return mergeDeep; });
/**
 * Performs a deep merge of `source` into `target`.
 * Mutates `target` only but not its objects and arrays.
 *
 * @author inspired by [jhildenbiddle](https://stackoverflow.com/a/48218209).
 */
function mergeDeep(target, source) {
    const isObject = (obj) => obj && typeof obj === 'object';
    if (!isObject(target) || !isObject(source)) {
        return source;
    }
    Object.keys(source).forEach(key => {
        const targetValue = target[key];
        const sourceValue = source[key];
        if (Array.isArray(targetValue) && Array.isArray(sourceValue)) {
            target[key] = targetValue.concat(sourceValue);
        }
        else if (isObject(targetValue) && isObject(sourceValue)) {
            target[key] = mergeDeep(Object.assign({}, targetValue), sourceValue);
        }
        else {
            target[key] = sourceValue;
        }
    });
    return target;
}


/***/ }),

/***/ "./src/@vex/utils/track-by.ts":
/*!************************************!*\
  !*** ./src/@vex/utils/track-by.ts ***!
  \************************************/
/*! exports provided: trackByRoute, trackById, trackByKey, trackByValue, trackByLabel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "trackByRoute", function() { return trackByRoute; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "trackById", function() { return trackById; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "trackByKey", function() { return trackByKey; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "trackByValue", function() { return trackByValue; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "trackByLabel", function() { return trackByLabel; });
function trackByRoute(index, item) {
    return item.route;
}
function trackById(index, item) {
    return item.id;
}
function trackByKey(index, item) {
    return item.key;
}
function trackByValue(index, value) {
    return value;
}
function trackByLabel(index, value) {
    return value.label;
}


/***/ }),

/***/ "./src/@vex/vex.module.ts":
/*!********************************!*\
  !*** ./src/@vex/vex.module.ts ***!
  \********************************/
/*! exports provided: VexModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VexModule", function() { return VexModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _layout_layout_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./layout/layout.module */ "./src/@vex/layout/layout.module.ts");
/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/form-field */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/form-field.js");





class VexModule {
}
VexModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: VexModule });
VexModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function VexModule_Factory(t) { return new (t || VexModule)(); }, providers: [
        {
            provide: _angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__["MAT_FORM_FIELD_DEFAULT_OPTIONS"],
            useValue: {
                appearance: 'fill'
            }
        }
    ], imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _layout_layout_module__WEBPACK_IMPORTED_MODULE_2__["LayoutModule"]
        ], _layout_layout_module__WEBPACK_IMPORTED_MODULE_2__["LayoutModule"]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](VexModule, { imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _layout_layout_module__WEBPACK_IMPORTED_MODULE_2__["LayoutModule"]], exports: [_layout_layout_module__WEBPACK_IMPORTED_MODULE_2__["LayoutModule"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](VexModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _layout_layout_module__WEBPACK_IMPORTED_MODULE_2__["LayoutModule"]
                ],
                exports: [
                    _layout_layout_module__WEBPACK_IMPORTED_MODULE_2__["LayoutModule"]
                ],
                providers: [
                    {
                        provide: _angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__["MAT_FORM_FIELD_DEFAULT_OPTIONS"],
                        useValue: {
                            appearance: 'fill'
                        }
                    }
                ]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/app-routing.module.ts":
/*!***************************************!*\
  !*** ./src/app/app-routing.module.ts ***!
  \***************************************/
/*! exports provided: AppRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppRoutingModule", function() { return AppRoutingModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _custom_layout_custom_layout_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./custom-layout/custom-layout.component */ "./src/app/custom-layout/custom-layout.component.ts");
/* harmony import */ var _app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../app/common/auth.guard */ "./src/app/common/auth.guard.ts");
/* harmony import */ var _common_role_permission_guard__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./common/role-permission.guard */ "./src/app/common/role-permission.guard.ts");
/* harmony import */ var _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./common/school-setup.guard */ "./src/app/common/school-setup.guard.ts");
/* harmony import */ var _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./common/subcription.guard */ "./src/app/common/subcription.guard.ts");
/* harmony import */ var _pages_static_page_static_page_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./pages/static-page/static-page.component */ "./src/app/pages/static-page/static-page.component.ts");










const routes = [
    // { path: '', redirectTo: '/login', pathMatch: 'full' },
    {
        path: '',
        loadChildren: () => Promise.all(/*! import() | pages-auth-login-login-module */[__webpack_require__.e("common"), __webpack_require__.e("pages-auth-login-login-module")]).then(__webpack_require__.bind(null, /*! ./pages/auth/login/login.module */ "./src/app/pages/auth/login/login.module.ts")).then(m => m.LoginModule),
    },
    {
        path: 'logout',
        loadChildren: () => __webpack_require__.e(/*! import() | pages-auth-logout-logout-module */ "pages-auth-logout-logout-module").then(__webpack_require__.bind(null, /*! ./pages/auth/logout/logout.module */ "./src/app/pages/auth/logout/logout.module.ts")).then(m => m.LogoutModule),
    },
    {
        path: 'admsn',
        loadChildren: () => Promise.all(/*! import() | pages-admission-form-admission-form-module */[__webpack_require__.e("default~pages-admission-form-admission-form-module~pages-admissions-applicants-applicants-module~pag~fc9b2eed"), __webpack_require__.e("pages-admission-form-admission-form-module")]).then(__webpack_require__.bind(null, /*! ./pages/admission-form/admission-form.module */ "./src/app/pages/admission-form/admission-form.module.ts")).then(m => m.AdmissionFormModule),
    },
    {
        path: 'payments',
        loadChildren: () => Promise.all(/*! import() | pages-billing-and-fees-get-payment-get-payment-module */[__webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~billing-and-fees-repor~da47c222"), __webpack_require__.e("pages-billing-and-fees-get-payment-get-payment-module")]).then(__webpack_require__.bind(null, /*! ./pages/billing-and-fees/get-payment/get-payment.module */ "./src/app/pages/billing-and-fees/get-payment/get-payment.module.ts")).then(m => m.GetPaymentModule),
    },
    {
        path: 'cancel-subscription',
        component: _pages_static_page_static_page_component__WEBPACK_IMPORTED_MODULE_7__["StaticPageComponent"],
        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"]]
    },
    {
        path: 'error',
        loadChildren: () => Promise.all(/*! import() | errors-errors-module */[__webpack_require__.e("default~errors-errors-module~pages-auth-impersonate-impersonate-module"), __webpack_require__.e("common"), __webpack_require__.e("errors-errors-module")]).then(__webpack_require__.bind(null, /*! ./errors/errors.module */ "./src/app/errors/errors.module.ts")).then(m => m.ErrorsModule),
    },
    {
        path: 'forgot-password',
        loadChildren: () => __webpack_require__.e(/*! import() | pages-auth-forgot-password-forgot-password-module */ "pages-auth-forgot-password-forgot-password-module").then(__webpack_require__.bind(null, /*! ./pages/auth/forgot-password/forgot-password.module */ "./src/app/pages/auth/forgot-password/forgot-password.module.ts")).then(m => m.ForgotPasswordModule),
    },
    {
        path: 'impersonate',
        loadChildren: () => Promise.all(/*! import() | pages-auth-impersonate-impersonate-module */[__webpack_require__.e("default~errors-errors-module~pages-auth-impersonate-impersonate-module"), __webpack_require__.e("common"), __webpack_require__.e("pages-auth-impersonate-impersonate-module")]).then(__webpack_require__.bind(null, /*! ./pages/auth/impersonate/impersonate.module */ "./src/app/pages/auth/impersonate/impersonate.module.ts")).then(m => m.ImpersonateModule),
    },
    {
        path: 'manager-login',
        loadChildren: () => __webpack_require__.e(/*! import() | pages-super-admin-login-login-module */ "pages-super-admin-login-login-module").then(__webpack_require__.bind(null, /*! ./pages/super-admin/login/login.module */ "./src/app/pages/super-admin/login/login.module.ts")).then(m => m.LoginModule),
    },
    {
        path: 'school',
        component: _custom_layout_custom_layout_component__WEBPACK_IMPORTED_MODULE_2__["CustomLayoutComponent"],
        children: [
            {
                path: 'dashboards',
                loadChildren: () => Promise.all(/*! import() | pages-dashboards-dashboard-analytics-dashboard-analytics-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-class-class-modu~d7b894dd"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-behaviour-behavi~41c72e9a"), __webpack_require__.e("default~behavior-report-behavior-report-module~grades-report-grades-report-module~pages-admissions-a~896138ee"), __webpack_require__.e("default~pages-class-class-module~pages-dashboards-dashboard-analytics-dashboard-analytics-module~pag~55008157"), __webpack_require__.e("default~pages-dashboards-dashboard-analytics-dashboard-analytics-module~pages-dashboards-parent-dash~cab03540"), __webpack_require__.e("common"), __webpack_require__.e("pages-dashboards-dashboard-analytics-dashboard-analytics-module")]).then(__webpack_require__.bind(null, /*! ./pages/dashboards/dashboard-analytics/dashboard-analytics.module */ "./src/app/pages/dashboards/dashboard-analytics/dashboard-analytics.module.ts")).then(m => m.DashboardAnalyticsModule),
                canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_role_permission_guard__WEBPACK_IMPORTED_MODULE_4__["RolePermissionGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
            },
            {
                path: 'error',
                loadChildren: () => Promise.all(/*! import() | errors-errors-module */[__webpack_require__.e("default~errors-errors-module~pages-auth-impersonate-impersonate-module"), __webpack_require__.e("common"), __webpack_require__.e("errors-errors-module")]).then(__webpack_require__.bind(null, /*! ./errors/errors.module */ "./src/app/errors/errors.module.ts")).then(m => m.ErrorsModule),
            },
            {
                path: 'teacher',
                children: [
                    {
                        path: 'dashboards',
                        loadChildren: () => Promise.all(/*! import() | pages-dashboards-teacher-dashboard-teacher-dashboard-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-behaviour-behavi~41c72e9a"), __webpack_require__.e("default~pages-class-class-module~pages-dashboards-dashboard-analytics-dashboard-analytics-module~pag~55008157"), __webpack_require__.e("default~pages-dashboards-dashboard-analytics-dashboard-analytics-module~pages-dashboards-parent-dash~cab03540"), __webpack_require__.e("common"), __webpack_require__.e("pages-dashboards-teacher-dashboard-teacher-dashboard-module")]).then(__webpack_require__.bind(null, /*! ./pages/dashboards/teacher-dashboard/teacher-dashboard.module */ "./src/app/pages/dashboards/teacher-dashboard/teacher-dashboard.module.ts")).then(m => m.TeacherDashboardModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"]]
                    }
                ]
            },
            {
                path: 'student',
                children: [
                    {
                        path: 'dashboards',
                        loadChildren: () => Promise.all(/*! import() | pages-dashboards-student-dashboard-student-dashboard-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~billing-and-fees-repor~da47c222"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-behaviour-behavi~41c72e9a"), __webpack_require__.e("default~behavior-report-behavior-report-module~grades-report-grades-report-module~pages-admissions-a~896138ee"), __webpack_require__.e("default~pages-class-class-module~pages-dashboards-dashboard-analytics-dashboard-analytics-module~pag~55008157"), __webpack_require__.e("default~behavior-report-behavior-report-module~grades-report-grades-report-module~pages-admissions-a~20e50dc4"), __webpack_require__.e("default~pages-dashboards-dashboard-analytics-dashboard-analytics-module~pages-dashboards-parent-dash~cab03540"), __webpack_require__.e("default~pages-dashboards-parent-dashboard-parent-dashboard-module~pages-dashboards-student-dashboard~7c928ae9")]).then(__webpack_require__.bind(null, /*! ./pages/dashboards/student-dashboard/student-dashboard.module */ "./src/app/pages/dashboards/student-dashboard/student-dashboard.module.ts")).then(m => m.StudentDashboardModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"]]
                    },
                    {
                        path: 'fees-and-charges',
                        loadChildren: () => Promise.all(/*! import() | pages-billing-and-fees-student-fees-and-charges-student-fees-and-charges-module */[__webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~billing-and-fees-repor~da47c222"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-billing-and-fees~736d699c"), __webpack_require__.e("common"), __webpack_require__.e("pages-billing-and-fees-student-fees-and-charges-student-fees-and-charges-module")]).then(__webpack_require__.bind(null, /*! ./pages/billing-and-fees/student-fees-and-charges/student-fees-and-charges.module */ "./src/app/pages/billing-and-fees/student-fees-and-charges/student-fees-and-charges.module.ts")).then(m => m.StudentFeesAndChargesModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    },
                    {
                        path: 'my-subscriptions',
                        loadChildren: () => Promise.all(/*! import() | pages-billing-and-fees-student-my-subscriptions-student-my-subscriptions-module */[__webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~billing-and-fees-repor~da47c222"), __webpack_require__.e("pages-billing-and-fees-student-my-subscriptions-student-my-subscriptions-module")]).then(__webpack_require__.bind(null, /*! ./pages/billing-and-fees/student-my-subscriptions/student-my-subscriptions.module */ "./src/app/pages/billing-and-fees/student-my-subscriptions/student-my-subscriptions.module.ts")).then(m => m.StudentMySubscriptionsModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: 'parent',
                children: [
                    {
                        path: 'dashboards',
                        loadChildren: () => Promise.all(/*! import() | pages-dashboards-parent-dashboard-parent-dashboard-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~billing-and-fees-repor~da47c222"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-behaviour-behavi~41c72e9a"), __webpack_require__.e("default~behavior-report-behavior-report-module~grades-report-grades-report-module~pages-admissions-a~896138ee"), __webpack_require__.e("default~pages-class-class-module~pages-dashboards-dashboard-analytics-dashboard-analytics-module~pag~55008157"), __webpack_require__.e("default~behavior-report-behavior-report-module~grades-report-grades-report-module~pages-admissions-a~20e50dc4"), __webpack_require__.e("default~pages-dashboards-dashboard-analytics-dashboard-analytics-module~pages-dashboards-parent-dash~cab03540"), __webpack_require__.e("default~pages-dashboards-parent-dashboard-parent-dashboard-module~pages-dashboards-student-dashboard~7c928ae9"), __webpack_require__.e("pages-dashboards-parent-dashboard-parent-dashboard-module")]).then(__webpack_require__.bind(null, /*! ./pages/dashboards/parent-dashboard/parent-dashboard.module */ "./src/app/pages/dashboards/parent-dashboard/parent-dashboard.module.ts")).then(m => m.ParentDashboardModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'schoolinfo',
                        loadChildren: () => Promise.all(/*! import() | pages-school-school-details-school-details-school-details-module */[__webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("common"), __webpack_require__.e("pages-school-school-details-school-details-school-details-module")]).then(__webpack_require__.bind(null, /*! ./pages/school/school-details/school-details/school-details.module */ "./src/app/pages/school/school-details/school-details/school-details.module.ts")).then(m => m.SchoolDetailsModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'inactive-module',
                        loadChildren: () => __webpack_require__.e(/*! import() | pages-inactive-module-inactive-module-module */ "pages-inactive-module-inactive-module-module").then(__webpack_require__.bind(null, /*! ./pages/inactive-module/inactive-module.module */ "./src/app/pages/inactive-module/inactive-module.module.ts")).then(m => m.InactiveModuleModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'marking-periods',
                        loadChildren: () => __webpack_require__.e(/*! import() | pages-school-marking-periods-marking-periods-module */ "pages-school-marking-periods-marking-periods-module").then(__webpack_require__.bind(null, /*! ./pages/school/marking-periods/marking-periods.module */ "./src/app/pages/school/marking-periods/marking-periods.module.ts")).then(m => m.MarkingPeriodsModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_role_permission_guard__WEBPACK_IMPORTED_MODULE_4__["RolePermissionGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'schoolcalendars',
                        loadChildren: () => Promise.all(/*! import() | pages-school-calendar-calendar-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~pages-class-class-module~pages-dashboards-dashboard-analytics-dashboard-analytics-module~pag~55008157"), __webpack_require__.e("common"), __webpack_require__.e("pages-school-calendar-calendar-module")]).then(__webpack_require__.bind(null, /*! ./pages/school/calendar/calendar.module */ "./src/app/pages/school/calendar/calendar.module.ts")).then(m => m.CalendarModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_role_permission_guard__WEBPACK_IMPORTED_MODULE_4__["RolePermissionGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'notices',
                        loadChildren: () => Promise.all(/*! import() | pages-school-notices-notices-module */[__webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("common"), __webpack_require__.e("pages-school-notices-notices-module")]).then(__webpack_require__.bind(null, /*! ./pages/school/notices/notices.module */ "./src/app/pages/school/notices/notices.module.ts")).then(m => m.NoticesModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_role_permission_guard__WEBPACK_IMPORTED_MODULE_4__["RolePermissionGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'students',
                        loadChildren: () => Promise.all(/*! import() | pages-student-student-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~012344ec"), __webpack_require__.e("default~pages-settings-settings-module~pages-student-student-module~src-app-pages-student-student-da~e16ec35d"), __webpack_require__.e("default~pages-courses-course-request-student-list-course-request-student-list-module~pages-student-g~a950b439"), __webpack_require__.e("common"), __webpack_require__.e("pages-student-student-module")]).then(__webpack_require__.bind(null, /*! ./pages/student/student.module */ "./src/app/pages/student/student.module.ts")).then(m => m.StudentModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'parents',
                        loadChildren: () => Promise.all(/*! import() | pages-parent-parentinfo-parentinfo-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("common"), __webpack_require__.e("pages-parent-parentinfo-parentinfo-module")]).then(__webpack_require__.bind(null, /*! ./pages/parent/parentinfo/parentinfo.module */ "./src/app/pages/parent/parentinfo/parentinfo.module.ts")).then(m => m.ParentinfoModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_role_permission_guard__WEBPACK_IMPORTED_MODULE_4__["RolePermissionGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'staff',
                        loadChildren: () => Promise.all(/*! import() | pages-staff-saff-module */[__webpack_require__.e("default~grades-report-grades-report-module~pages-class-class-module~pages-courses-course-catalog-cou~6c049bda"), __webpack_require__.e("default~pages-grades-input-effort-grades-input-effort-grades-module~pages-staff-saff-module"), __webpack_require__.e("pages-staff-saff-module")]).then(__webpack_require__.bind(null, /*! ./pages/staff/saff.module */ "./src/app/pages/staff/saff.module.ts")).then(m => m.StaffModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'course-manager',
                        loadChildren: () => Promise.all(/*! import() | pages-courses-course-manager-course-manager-module */[__webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-class-class-modu~d7b894dd"), __webpack_require__.e("default~attendance-attendance-module~missing-attendance-missing-attendance-module~pages-attendance-a~8473e50e"), __webpack_require__.e("default~grades-report-grades-report-module~pages-class-class-module~pages-courses-course-catalog-cou~6c049bda"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~0abef7d9"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~47e23f71"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~90c8e8d2"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~baab2dfd"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~657197a2"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~7ca07e2c"), __webpack_require__.e("common")]).then(__webpack_require__.bind(null, /*! ./pages/courses/course-manager/course-manager.module */ "./src/app/pages/courses/course-manager/course-manager.module.ts")).then(m => m.CourseManagerModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: 'billing-and-fees',
                children: [
                    {
                        path: 'coming-soon',
                        loadChildren: () => __webpack_require__.e(/*! import() | pages-billing-and-fees-billing-demo-billing-demo-module */ "pages-billing-and-fees-billing-demo-billing-demo-module").then(__webpack_require__.bind(null, /*! ./pages/billing-and-fees/billing-demo/billing-demo.module */ "./src/app/pages/billing-and-fees/billing-demo/billing-demo.module.ts")).then(m => m.BillingDemoModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    },
                    {
                        path: 'dashboard',
                        loadChildren: () => Promise.all(/*! import() | pages-billing-and-fees-billing-dashboard-billing-dashboard-module */[__webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~billing-and-fees-repor~da47c222"), __webpack_require__.e("default~behavior-report-behavior-report-module~grades-report-grades-report-module~pages-admissions-a~896138ee"), __webpack_require__.e("default~behavior-report-behavior-report-module~grades-report-grades-report-module~pages-admissions-a~20e50dc4"), __webpack_require__.e("pages-billing-and-fees-billing-dashboard-billing-dashboard-module")]).then(__webpack_require__.bind(null, /*! ./pages/billing-and-fees/billing-dashboard/billing-dashboard.module */ "./src/app/pages/billing-and-fees/billing-dashboard/billing-dashboard.module.ts")).then(m => m.BillingDashboardModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    },
                    {
                        path: 'assign-fee-and-request-money',
                        loadChildren: () => Promise.all(/*! import() | pages-billing-and-fees-transactions-assign-fee-and-request-money-assign-fee-and-request-money-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~012344ec"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~billing-and-fees-repor~da47c222"), __webpack_require__.e("default~add-staff-add-staff-module~add-student-add-student-module~api-keys-api-keys-module~behavior-~2214fe21"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-billing-and-fees~736d699c"), __webpack_require__.e("default~billing-and-fees-report-billing-and-fees-report-module~pages-billing-and-fees-transactions-a~46f23f10"), __webpack_require__.e("common"), __webpack_require__.e("pages-billing-and-fees-transactions-assign-fee-and-request-money-assign-fee-and-request-money-module")]).then(__webpack_require__.bind(null, /*! ./pages/billing-and-fees/transactions/assign-fee-and-request-money/assign-fee-and-request-money.module */ "./src/app/pages/billing-and-fees/transactions/assign-fee-and-request-money/assign-fee-and-request-money.module.ts")).then(m => m.AssignFeeAndRequestMoneyModule),
                    },
                    {
                        path: 'assign-subscriptions',
                        loadChildren: () => Promise.all(/*! import() | pages-billing-and-fees-subscriptions-associate-subscriptions-associate-routing-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~012344ec"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~billing-and-fees-repor~da47c222"), __webpack_require__.e("pages-billing-and-fees-subscriptions-associate-subscriptions-associate-routing-module")]).then(__webpack_require__.bind(null, /*! ./pages/billing-and-fees/subscriptions-associate/subscriptions-associate-routing.module */ "./src/app/pages/billing-and-fees/subscriptions-associate/subscriptions-associate-routing.module.ts")).then(m => m.SubscriptionsAssociateRoutingModule),
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'schedule-teacher',
                        loadChildren: () => Promise.all(/*! import() | pages-scheduling-schedule-teacher-schedule-teacher-module */[__webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-class-class-modu~d7b894dd"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-scheduling-sched~b08e558d"), __webpack_require__.e("pages-scheduling-schedule-teacher-schedule-teacher-module")]).then(__webpack_require__.bind(null, /*! ./pages/scheduling/schedule-teacher/schedule-teacher.module */ "./src/app/pages/scheduling/schedule-teacher/schedule-teacher.module.ts")).then(m => m.ScheduleTeacherModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_role_permission_guard__WEBPACK_IMPORTED_MODULE_4__["RolePermissionGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'settings',
                        loadChildren: () => Promise.all(/*! import() | pages-settings-settings-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~billing-and-fees-repor~da47c222"), __webpack_require__.e("default~attendance-attendance-module~missing-attendance-missing-attendance-module~pages-attendance-a~8473e50e"), __webpack_require__.e("default~grades-report-grades-report-module~pages-class-class-module~pages-courses-course-catalog-cou~6c049bda"), __webpack_require__.e("default~gradebook-grades-gradebook-grades-module~input-effort-grades-input-effort-grades-module~inpu~70de12fb"), __webpack_require__.e("default~pages-admissions-application-forms-application-forms-module~pages-behaviour-behaviour-fields~d60418f3"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-scheduling-sched~b08e558d"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~0abef7d9"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~657197a2"), __webpack_require__.e("default~pages-settings-settings-module~pages-student-student-module~src-app-pages-student-student-da~e16ec35d"), __webpack_require__.e("default~pages-settings-billing-and-fees-settings-billing-and-fees-settings-module~pages-settings-set~739fe96b"), __webpack_require__.e("common"), __webpack_require__.e("pages-settings-settings-module")]).then(__webpack_require__.bind(null, /*! ./pages/settings/settings.module */ "./src/app/pages/settings/settings.module.ts")).then(m => m.SettingsModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_role_permission_guard__WEBPACK_IMPORTED_MODULE_4__["RolePermissionGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'schedule-student',
                        loadChildren: () => Promise.all(/*! import() | pages-scheduling-schedule-student-schedule-student-module */[__webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-class-class-modu~d7b894dd"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~baab2dfd"), __webpack_require__.e("pages-scheduling-schedule-student-schedule-student-module")]).then(__webpack_require__.bind(null, /*! ./pages/scheduling/schedule-student/schedule-student.module */ "./src/app/pages/scheduling/schedule-student/schedule-student.module.ts")).then(m => m.ScheduleStudentModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_role_permission_guard__WEBPACK_IMPORTED_MODULE_4__["RolePermissionGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'group-drop',
                        loadChildren: () => Promise.all(/*! import() | pages-scheduling-group-drop-group-drop-module */[__webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-class-class-modu~d7b894dd"), __webpack_require__.e("pages-scheduling-group-drop-group-drop-module")]).then(__webpack_require__.bind(null, /*! ./pages/scheduling/group-drop/group-drop.module */ "./src/app/pages/scheduling/group-drop/group-drop.module.ts")).then(m => m.GroupDropModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_role_permission_guard__WEBPACK_IMPORTED_MODULE_4__["RolePermissionGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'teacher-reassignment',
                        loadChildren: () => Promise.all(/*! import() | pages-scheduling-teacher-reassignment-teacher-reassignment-module */[__webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-class-class-modu~d7b894dd"), __webpack_require__.e("pages-scheduling-teacher-reassignment-teacher-reassignment-module")]).then(__webpack_require__.bind(null, /*! ./pages/scheduling/teacher-reassignment/teacher-reassignment.module */ "./src/app/pages/scheduling/teacher-reassignment/teacher-reassignment.module.ts")).then(m => m.TeacherReassignmentModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_role_permission_guard__WEBPACK_IMPORTED_MODULE_4__["RolePermissionGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                // {
                //   path: 'take-attendance',
                //   loadChildren: () => import('./pages/attendance/teacher-function/take-attendance/take-attendance.module').then(m => m.TakeAttendanceModule),
                //   // canActivate: [AuthGuard]            
                // }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'student/student-re-enroll',
                        loadChildren: () => Promise.all(/*! import() | pages-student-student-re-enroll-student-re-enroll-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~012344ec"), __webpack_require__.e("pages-student-student-re-enroll-student-re-enroll-module")]).then(__webpack_require__.bind(null, /*! ./pages/student/student-re-enroll/student-re-enroll.module */ "./src/app/pages/student/student-re-enroll/student-re-enroll.module.ts")).then(m => m.StudentReEnrollModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                // {
                //   path: 'staff/teacher-functions',
                //   loadChildren: () => import('./pages/attendance/teacher-function/teacher-function.module').then(m => m.TeacherFunctionModule),
                // canActivate: [AuthGuard]         
                // }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'student-course-schedule',
                        loadChildren: () => Promise.all(/*! import() | pages-scheduling-student-my-schedule-student-my-schedule-module */[__webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-class-class-modu~d7b894dd"), __webpack_require__.e("default~add-staff-add-staff-module~add-student-add-student-module~attendance-attendance-module~behav~09ebc188"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-scheduling-sched~b08e558d"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-scheduling-stude~cb40f007"), __webpack_require__.e("pages-scheduling-student-my-schedule-student-my-schedule-module")]).then(__webpack_require__.bind(null, /*! ./pages/scheduling/student-my-schedule/student-my-schedule.module */ "./src/app/pages/scheduling/student-my-schedule/student-my-schedule.module.ts")).then(m => m.StudentMyScheduleModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: 'attendance',
                children: [
                    {
                        path: 'administration',
                        loadChildren: () => Promise.all(/*! import() | pages-attendance-administration-administration-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~012344ec"), __webpack_require__.e("default~attendance-attendance-module~missing-attendance-missing-attendance-module~pages-attendance-a~8473e50e"), __webpack_require__.e("pages-attendance-administration-administration-module")]).then(__webpack_require__.bind(null, /*! ./pages/attendance/administration/administration.module */ "./src/app/pages/attendance/administration/administration.module.ts")).then(m => m.AdministrationModule),
                    },
                    {
                        path: 'add-absences',
                        loadChildren: () => Promise.all(/*! import() | pages-attendance-add-absences-add-absences-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~012344ec"), __webpack_require__.e("default~attendance-attendance-module~missing-attendance-missing-attendance-module~pages-attendance-a~8473e50e"), __webpack_require__.e("common"), __webpack_require__.e("pages-attendance-add-absences-add-absences-module")]).then(__webpack_require__.bind(null, /*! ./pages/attendance/add-absences/add-absences.module */ "./src/app/pages/attendance/add-absences/add-absences.module.ts")).then(m => m.AddAbsencesModule),
                    },
                    {
                        path: 'recalculate-daily-attendance',
                        loadChildren: () => Promise.all(/*! import() | pages-attendance-recalculate-daily-attendance-recalculate-daily-attendance-module */[__webpack_require__.e("common"), __webpack_require__.e("pages-attendance-recalculate-daily-attendance-recalculate-daily-attendance-module")]).then(__webpack_require__.bind(null, /*! ./pages/attendance/recalculate-daily-attendance/recalculate-daily-attendance.module */ "./src/app/pages/attendance/recalculate-daily-attendance/recalculate-daily-attendance.module.ts")).then(m => m.RecalculateDailyAttendanceModule),
                    },
                    {
                        path: 'missing-attendance',
                        loadChildren: () => Promise.all(/*! import() | pages-attendance-missing-attendance-missing-attendance-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~attendance-attendance-module~missing-attendance-missing-attendance-module~pages-attendance-a~8473e50e"), __webpack_require__.e("default~gradebook-grades-gradebook-grades-module~input-effort-grades-input-effort-grades-module~inpu~70de12fb"), __webpack_require__.e("default~gradebook-grades-gradebook-grades-module~input-effort-grades-input-effort-grades-module~inpu~083968b6"), __webpack_require__.e("default~pages-attendance-missing-attendance-missing-attendance-module~staff-report-staff-report-modu~8885ae78"), __webpack_require__.e("pages-attendance-missing-attendance-missing-attendance-module")]).then(__webpack_require__.bind(null, /*! ./pages/attendance/missing-attendance/missing-attendance.module */ "./src/app/pages/attendance/missing-attendance/missing-attendance.module.ts")).then(m => m.MissingAttendanceModule),
                    },
                    {
                        path: 'daily-attendance',
                        loadChildren: () => Promise.all(/*! import() | pages-attendance-daily-attendance-student-daily-attendance-student-module */[__webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-attendance-daily~94a9b2d8"), __webpack_require__.e("pages-attendance-daily-attendance-student-daily-attendance-student-module")]).then(__webpack_require__.bind(null, /*! ./pages/attendance/daily-attendance-student/daily-attendance-student.module */ "./src/app/pages/attendance/daily-attendance-student/daily-attendance-student.module.ts")).then(m => m.DailyAttendanceStudentModule),
                    }
                ],
                canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
            },
            {
                path: '',
                children: [
                    {
                        path: 'teacher-dashboard',
                        loadChildren: () => Promise.all(/*! import() | pages-dashboards-teacher-dashboard-teacher-dashboard-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-behaviour-behavi~41c72e9a"), __webpack_require__.e("default~pages-class-class-module~pages-dashboards-dashboard-analytics-dashboard-analytics-module~pag~55008157"), __webpack_require__.e("default~pages-dashboards-dashboard-analytics-dashboard-analytics-module~pages-dashboards-parent-dash~cab03540"), __webpack_require__.e("common"), __webpack_require__.e("pages-dashboards-teacher-dashboard-teacher-dashboard-module")]).then(__webpack_require__.bind(null, /*! ./pages/dashboards/teacher-dashboard/teacher-dashboard.module */ "./src/app/pages/dashboards/teacher-dashboard/teacher-dashboard.module.ts")).then(m => m.TeacherDashboardModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'class',
                        loadChildren: () => Promise.all(/*! import() | pages-class-class-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-class-class-modu~d7b894dd"), __webpack_require__.e("default~attendance-attendance-module~missing-attendance-missing-attendance-module~pages-attendance-a~8473e50e"), __webpack_require__.e("default~grades-report-grades-report-module~pages-class-class-module~pages-courses-course-catalog-cou~6c049bda"), __webpack_require__.e("default~add-staff-add-staff-module~add-student-add-student-module~api-keys-api-keys-module~behavior-~2214fe21"), __webpack_require__.e("default~pages-class-class-module~pages-dashboards-dashboard-analytics-dashboard-analytics-module~pag~55008157"), __webpack_require__.e("default~pages-class-class-module~pages-lesson-plan-lesson-plan-module"), __webpack_require__.e("default~gradebook-grades-gradebook-grades-module~pages-class-class-module"), __webpack_require__.e("common"), __webpack_require__.e("pages-class-class-module")]).then(__webpack_require__.bind(null, /*! ./pages/class/class.module */ "./src/app/pages/class/class.module.ts")).then(m => m.ClassModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"]]
                    }
                ]
            },
            {
                path: 'grades',
                children: [
                    {
                        path: 'report-cards',
                        loadChildren: () => Promise.all(/*! import() | pages-grades-report-cards-report-cards-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~012344ec"), __webpack_require__.e("default~pages-admissions-application-forms-application-forms-module~pages-behaviour-behaviour-fields~d60418f3"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-grades-certifica~16c4e471"), __webpack_require__.e("default~pages-grades-report-cards-report-cards-module~pages-grades-transcripts-transcripts-module")]).then(__webpack_require__.bind(null, /*! ./pages/grades/report-cards/report-cards.module */ "./src/app/pages/grades/report-cards/report-cards.module.ts")).then(m => m.ReportCardsModule),
                    },
                    {
                        path: 'student-report-card',
                        loadChildren: () => Promise.all(/*! import() | pages-grades-report-cards-student-report-cards-student-module */[__webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-grades-report-ca~22706846"), __webpack_require__.e("pages-grades-report-cards-student-report-cards-student-module")]).then(__webpack_require__.bind(null, /*! ./pages/grades/report-cards-student/report-cards-student.module */ "./src/app/pages/grades/report-cards-student/report-cards-student.module.ts")).then(m => m.ReportCardsStudentModule),
                    },
                    {
                        path: 'student-transcript',
                        loadChildren: () => Promise.all(/*! import() | pages-grades-transcripts-student-transcripts-student-module */[__webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-grades-transcrip~825170b8"), __webpack_require__.e("pages-grades-transcripts-student-transcripts-student-module")]).then(__webpack_require__.bind(null, /*! ./pages/grades/transcripts-student/transcripts-student.module */ "./src/app/pages/grades/transcripts-student/transcripts-student.module.ts")).then(m => m.TranscriptsStudentModule),
                    },
                    {
                        path: 'certificates',
                        loadChildren: () => Promise.all(/*! import() | pages-grades-certificates-certificates-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~012344ec"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-class-class-modu~d7b894dd"), __webpack_require__.e("default~pages-admissions-application-forms-application-forms-module~pages-behaviour-behaviour-fields~d60418f3"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-grades-certifica~16c4e471"), __webpack_require__.e("pages-grades-certificates-certificates-module")]).then(__webpack_require__.bind(null, /*! ./pages/grades/certificates/certificates.module */ "./src/app/pages/grades/certificates/certificates.module.ts")).then(m => m.CertificatesModule),
                    },
                    {
                        path: 'transcripts',
                        loadChildren: () => Promise.all(/*! import() | pages-grades-transcripts-transcripts-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~012344ec"), __webpack_require__.e("default~pages-admissions-application-forms-application-forms-module~pages-behaviour-behaviour-fields~d60418f3"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-grades-certifica~16c4e471"), __webpack_require__.e("default~pages-grades-report-cards-report-cards-module~pages-grades-transcripts-transcripts-module"), __webpack_require__.e("pages-grades-transcripts-transcripts-module")]).then(__webpack_require__.bind(null, /*! ./pages/grades/transcripts/transcripts.module */ "./src/app/pages/grades/transcripts/transcripts.module.ts")).then(m => m.TranscriptsModule),
                    },
                    {
                        path: 'input-effort-grades',
                        loadChildren: () => Promise.all(/*! import() | pages-grades-input-effort-grades-input-effort-grades-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~grades-report-grades-report-module~pages-class-class-module~pages-courses-course-catalog-cou~6c049bda"), __webpack_require__.e("default~pages-grades-input-effort-grades-input-effort-grades-module~pages-staff-saff-module"), __webpack_require__.e("pages-grades-input-effort-grades-input-effort-grades-module")]).then(__webpack_require__.bind(null, /*! ./pages/grades/input-effort-grades/input-effort-grades.module */ "./src/app/pages/grades/input-effort-grades/input-effort-grades.module.ts")).then(m => m.InputEffortGradesModule),
                    },
                    {
                        path: 'administration',
                        loadChildren: () => Promise.all(/*! import() | pages-grades-administration-administration-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~012344ec"), __webpack_require__.e("default~grades-report-grades-report-module~pages-class-class-module~pages-courses-course-catalog-cou~6c049bda"), __webpack_require__.e("common"), __webpack_require__.e("pages-grades-administration-administration-module")]).then(__webpack_require__.bind(null, /*! ./pages/grades/administration/administration.module */ "./src/app/pages/grades/administration/administration.module.ts")).then(m => m.AdministrationModule),
                    },
                    {
                        path: 'progress-reports',
                        loadChildren: () => Promise.all(/*! import() | pages-grades-progress-reports-progress-reports-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~add-staff-add-staff-module~add-student-add-student-module~attendance-attendance-module~behav~09ebc188"), __webpack_require__.e("default~pages-grades-progress-reports-progress-reports-module~student-progress-report-student-progre~a45aa8b9"), __webpack_require__.e("pages-grades-progress-reports-progress-reports-module")]).then(__webpack_require__.bind(null, /*! ./pages/grades/progress-reports/progress-reports.module */ "./src/app/pages/grades/progress-reports/progress-reports.module.ts")).then(m => m.ProgressReportsModule),
                    },
                    {
                        path: 'anomalous-grades',
                        loadChildren: () => Promise.all(/*! import() | pages-grades-anomalous-grades-anomalous-grades-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("common"), __webpack_require__.e("pages-grades-anomalous-grades-anomalous-grades-module")]).then(__webpack_require__.bind(null, /*! ./pages/grades/anomalous-grades/anomalous-grades.module */ "./src/app/pages/grades/anomalous-grades/anomalous-grades.module.ts")).then(m => m.AnomalousGradesModule),
                    },
                    {
                        path: 'gradebook-grades',
                        loadChildren: () => __webpack_require__.e(/*! import() | pages-grades-gradebook-grades-gradebook-grades-module */ "pages-grades-gradebook-grades-gradebook-grades-module").then(__webpack_require__.bind(null, /*! ./pages/grades/gradebook-grades/gradebook-grades.module */ "./src/app/pages/grades/gradebook-grades/gradebook-grades.module.ts")).then(m => m.GradebookGradesModule),
                    }
                ],
                canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
            },
            {
                path: '',
                children: [
                    {
                        path: 'teacher/schedule',
                        loadChildren: () => Promise.all(/*! import() | pages-scheduling-teacher-view-schedule-teacher-view-schedule-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~add-staff-add-staff-module~add-student-add-student-module~attendance-attendance-module~behav~09ebc188"), __webpack_require__.e("common"), __webpack_require__.e("pages-scheduling-teacher-view-schedule-teacher-view-schedule-module")]).then(__webpack_require__.bind(null, /*! ./pages/scheduling/teacher-view-schedule/teacher-view-schedule.module */ "./src/app/pages/scheduling/teacher-view-schedule/teacher-view-schedule.module.ts")).then(m => m.TeacherViewScheduleModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'reports',
                        loadChildren: () => Promise.all(/*! import() | pages-reports-reports-module */[__webpack_require__.e("common"), __webpack_require__.e("pages-reports-reports-module")]).then(__webpack_require__.bind(null, /*! ./pages/reports/reports.module */ "./src/app/pages/reports/reports.module.ts")).then(m => m.ReportsModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: 'tools',
                loadChildren: () => __webpack_require__.e(/*! import() | pages-tools-tools-module */ "pages-tools-tools-module").then(__webpack_require__.bind(null, /*! ./pages/tools/tools.module */ "./src/app/pages/tools/tools.module.ts")).then(m => m.ToolsModule),
                canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
            },
            {
                path: '',
                children: [
                    {
                        path: 'student/group-assign-student-info',
                        loadChildren: () => Promise.all(/*! import() | pages-student-group-assign-student-info-group-assign-student-info-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~012344ec"), __webpack_require__.e("default~pages-courses-course-request-student-list-course-request-student-list-module~pages-student-g~a950b439"), __webpack_require__.e("pages-student-group-assign-student-info-group-assign-student-info-module")]).then(__webpack_require__.bind(null, /*! ./pages/student/group-assign-student-info/group-assign-student-info.module */ "./src/app/pages/student/group-assign-student-info/group-assign-student-info.module.ts")).then(m => m.GroupAssignStudentInfoModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'attendance/teacher-missing-attendance',
                        loadChildren: () => Promise.all(/*! import() | pages-attendance-teacher-missing-attendance-teacher-missing-attendance-module */[__webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~attendance-attendance-module~missing-attendance-missing-attendance-module~pages-attendance-a~8473e50e"), __webpack_require__.e("common"), __webpack_require__.e("pages-attendance-teacher-missing-attendance-teacher-missing-attendance-module")]).then(__webpack_require__.bind(null, /*! ./pages/attendance/teacher-missing-attendance/teacher-missing-attendance.module */ "./src/app/pages/attendance/teacher-missing-attendance/teacher-missing-attendance.module.ts")).then(m => m.TeacherMissingAttendanceModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'courses/course-catalog',
                        loadChildren: () => Promise.all(/*! import() | pages-courses-course-catalog-course-catalog-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~grades-report-grades-report-module~pages-class-class-module~pages-courses-course-catalog-cou~6c049bda"), __webpack_require__.e("common"), __webpack_require__.e("pages-courses-course-catalog-course-catalog-module")]).then(__webpack_require__.bind(null, /*! ./pages/courses/course-catalog/course-catalog.module */ "./src/app/pages/courses/course-catalog/course-catalog.module.ts")).then(m => m.CourseCatalogModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'courses/my-classes',
                        loadChildren: () => Promise.all(/*! import() | pages-courses-my-classes-my-classes-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-class-class-modu~d7b894dd"), __webpack_require__.e("default~attendance-attendance-module~missing-attendance-missing-attendance-module~pages-attendance-a~8473e50e"), __webpack_require__.e("default~grades-report-grades-report-module~pages-class-class-module~pages-courses-course-catalog-cou~6c049bda"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~0abef7d9"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~47e23f71"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~90c8e8d2"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~baab2dfd"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~657197a2"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~7ca07e2c"), __webpack_require__.e("pages-courses-my-classes-my-classes-module")]).then(__webpack_require__.bind(null, /*! ./pages/courses/my-classes/my-classes.module */ "./src/app/pages/courses/my-classes/my-classes.module.ts")).then(m => m.MyClassesModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'coming-soon',
                        loadChildren: () => __webpack_require__.e(/*! import() | pages-coming-soon-coming-soon-module */ "pages-coming-soon-coming-soon-module").then(__webpack_require__.bind(null, /*! ./pages/coming-soon/coming-soon.module */ "./src/app/pages/coming-soon/coming-soon.module.ts")).then(m => m.ComingSoonModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'attendance/absence-summary',
                        loadChildren: () => Promise.all(/*! import() | pages-attendance-absence-summary-absence-summary-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("common"), __webpack_require__.e("pages-attendance-absence-summary-absence-summary-module")]).then(__webpack_require__.bind(null, /*! ./pages/attendance/absence-summary/absence-summary.module */ "./src/app/pages/attendance/absence-summary/absence-summary.module.ts")).then(m => m.AbsenceSummaryModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'attendance/daily-attendance',
                        loadChildren: () => Promise.all(/*! import() | pages-attendance-daily-attendance-daily-attendance-module */[__webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("common"), __webpack_require__.e("pages-attendance-daily-attendance-daily-attendance-module")]).then(__webpack_require__.bind(null, /*! ./pages/attendance/daily-attendance/daily-attendance.module */ "./src/app/pages/attendance/daily-attendance/daily-attendance.module.ts")).then(m => m.DailyAttendanceModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: 'scheduling',
                children: [
                    {
                        path: 'group-delete',
                        loadChildren: () => Promise.all(/*! import() | pages-scheduling-group-delete-group-delete-module */[__webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-class-class-modu~d7b894dd"), __webpack_require__.e("common"), __webpack_require__.e("pages-scheduling-group-delete-group-delete-module")]).then(__webpack_require__.bind(null, /*! ./pages/scheduling/group-delete/group-delete.module */ "./src/app/pages/scheduling/group-delete/group-delete.module.ts")).then(m => m.GroupDeleteModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    },
                    {
                        path: 'student-reassignment',
                        loadChildren: () => Promise.all(/*! import() | pages-scheduling-student-reassignment-student-reassignment-module */[__webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-class-class-modu~d7b894dd"), __webpack_require__.e("common"), __webpack_require__.e("pages-scheduling-student-reassignment-student-reassignment-module")]).then(__webpack_require__.bind(null, /*! ./pages/scheduling/student-reassignment/student-reassignment.module */ "./src/app/pages/scheduling/student-reassignment/student-reassignment.module.ts")).then(m => m.StudentReassignmentModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'communication',
                        loadChildren: () => Promise.all(/*! import() | pages-communication-messaging-box-messaging-box-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("common"), __webpack_require__.e("pages-communication-messaging-box-messaging-box-module")]).then(__webpack_require__.bind(null, /*! ./pages/communication/messaging-box/messaging-box.module */ "./src/app/pages/communication/messaging-box/messaging-box.module.ts")).then(m => m.MessagingBoxModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'district-enterprise/system-hierarchy',
                        loadChildren: () => Promise.all(/*! import() | pages-district-enterprise-system-hierarchy-system-hierarchy-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("pages-district-enterprise-system-hierarchy-system-hierarchy-module")]).then(__webpack_require__.bind(null, /*! ./pages/district-enterprise/system-hierarchy/system-hierarchy.module */ "./src/app/pages/district-enterprise/system-hierarchy/system-hierarchy.module.ts")).then(m => m.SystemHierarchyModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'clients',
                        loadChildren: () => Promise.all(/*! import() | pages-super-admin-clients-clients-module */[__webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("pages-super-admin-clients-clients-module")]).then(__webpack_require__.bind(null, /*! ./pages/super-admin/clients/clients.module */ "./src/app/pages/super-admin/clients/clients.module.ts")).then(m => m.ClientsModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'site-managers',
                        loadChildren: () => Promise.all(/*! import() | pages-super-admin-site-managers-site-managers-module */[__webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("pages-super-admin-site-managers-site-managers-module")]).then(__webpack_require__.bind(null, /*! ./pages/super-admin/site-managers/site-managers.module */ "./src/app/pages/super-admin/site-managers/site-managers.module.ts")).then(m => m.SiteManagersModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'sendGrid-settings',
                        loadChildren: () => Promise.all(/*! import() | pages-super-admin-sendgrid-settings-sendgrid-settings-module */[__webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("pages-super-admin-sendgrid-settings-sendgrid-settings-module")]).then(__webpack_require__.bind(null, /*! ./pages/super-admin/sendgrid-settings/sendgrid-settings.module */ "./src/app/pages/super-admin/sendgrid-settings/sendgrid-settings.module.ts")).then(m => m.SendgridSettingsModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'my-subscription',
                        loadChildren: () => Promise.all(/*! import() | pages-my-subscription-my-subscription-module */[__webpack_require__.e("common"), __webpack_require__.e("pages-my-subscription-my-subscription-module")]).then(__webpack_require__.bind(null, /*! ./pages/my-subscription/my-subscription.module */ "./src/app/pages/my-subscription/my-subscription.module.ts")).then(m => m.MySubscriptionModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'mental-health-info',
                        loadChildren: () => __webpack_require__.e(/*! import() | pages-school-mental-health-info-mental-health-info-module */ "pages-school-mental-health-info-mental-health-info-module").then(__webpack_require__.bind(null, /*! ./pages/school/mental-health-info/mental-health-info.module */ "./src/app/pages/school/mental-health-info/mental-health-info.module.ts")).then(m => m.MentalHealthInfoModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'behaviour/behaviour-fields',
                        loadChildren: () => Promise.all(/*! import() | pages-behaviour-behaviour-fields-behaviour-fields-module */[__webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-behaviour-behavi~41c72e9a"), __webpack_require__.e("default~pages-admissions-application-forms-application-forms-module~pages-behaviour-behaviour-fields~d60418f3"), __webpack_require__.e("common"), __webpack_require__.e("pages-behaviour-behaviour-fields-behaviour-fields-module")]).then(__webpack_require__.bind(null, /*! ./pages/behaviour/behaviour-fields/behaviour-fields.module */ "./src/app/pages/behaviour/behaviour-fields/behaviour-fields.module.ts")).then(m => m.BehaviourFieldsModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'behavior/referrals',
                        loadChildren: () => Promise.all(/*! import() | pages-behaviour-referrals-referrals-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~012344ec"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-behaviour-behavi~41c72e9a"), __webpack_require__.e("default~add-school-add-school-module~add-staff-add-staff-module~add-student-add-student-module~behav~d6555203"), __webpack_require__.e("default~behavior-report-behavior-report-module~pages-behaviour-referrals-referrals-module"), __webpack_require__.e("pages-behaviour-referrals-referrals-module")]).then(__webpack_require__.bind(null, /*! ./pages/behaviour/referrals/referrals.module */ "./src/app/pages/behaviour/referrals/referrals.module.ts")).then(m => m.ReferralsModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'student-behavior',
                        loadChildren: () => Promise.all(/*! import() | pages-behaviour-behaviour-student-behaviour-student-module */[__webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-behaviour-behavi~41c72e9a"), __webpack_require__.e("pages-behaviour-behaviour-student-behaviour-student-module")]).then(__webpack_require__.bind(null, /*! ./pages/behaviour/behaviour-student/behaviour-student.module */ "./src/app/pages/behaviour/behaviour-student/behaviour-student.module.ts")).then(m => m.BehaviourStudentModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'courses/course-request-list',
                        loadChildren: () => Promise.all(/*! import() | pages-courses-course-request-student-list-course-request-student-list-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~012344ec"), __webpack_require__.e("default~pages-courses-course-request-student-list-course-request-student-list-module~pages-student-g~a950b439"), __webpack_require__.e("pages-courses-course-request-student-list-course-request-student-list-module")]).then(__webpack_require__.bind(null, /*! ./pages/courses/course-request-student-list/course-request-student-list.module */ "./src/app/pages/courses/course-request-student-list/course-request-student-list.module.ts")).then(m => m.CourseRequestStudentListModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ],
            },
            {
                path: '',
                children: [
                    {
                        path: 'courses/course-request',
                        loadChildren: () => Promise.all(/*! import() | pages-courses-course-request-course-request-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-class-class-modu~d7b894dd"), __webpack_require__.e("default~attendance-attendance-module~missing-attendance-missing-attendance-module~pages-attendance-a~8473e50e"), __webpack_require__.e("default~grades-report-grades-report-module~pages-class-class-module~pages-courses-course-catalog-cou~6c049bda"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~0abef7d9"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~47e23f71"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~90c8e8d2"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~baab2dfd"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~657197a2"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~7ca07e2c"), __webpack_require__.e("common"), __webpack_require__.e("pages-courses-course-request-course-request-module")]).then(__webpack_require__.bind(null, /*! ./pages/courses/course-request/course-request.module */ "./src/app/pages/courses/course-request/course-request.module.ts")).then(m => m.CourseRequestModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'courses/course-enrollment-status',
                        loadChildren: () => Promise.all(/*! import() | pages-courses-course-enrollment-status-course-enrollment-status-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-class-class-modu~d7b894dd"), __webpack_require__.e("common"), __webpack_require__.e("pages-courses-course-enrollment-status-course-enrollment-status-module")]).then(__webpack_require__.bind(null, /*! ./pages/courses/course-enrollment-status/course-enrollment-status.module */ "./src/app/pages/courses/course-enrollment-status/course-enrollment-status.module.ts")).then(m => m.CourseEnrollmentStatusModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'courses/student-course-requests',
                        loadChildren: () => Promise.all(/*! import() | pages-courses-student-course-requests-student-course-requests-module */[__webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-class-class-modu~d7b894dd"), __webpack_require__.e("default~attendance-attendance-module~missing-attendance-missing-attendance-module~pages-attendance-a~8473e50e"), __webpack_require__.e("default~grades-report-grades-report-module~pages-class-class-module~pages-courses-course-catalog-cou~6c049bda"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~0abef7d9"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~47e23f71"), __webpack_require__.e("common"), __webpack_require__.e("pages-courses-student-course-requests-student-course-requests-module")]).then(__webpack_require__.bind(null, /*! ./pages/courses/student-course-requests/student-course-requests.module */ "./src/app/pages/courses/student-course-requests/student-course-requests.module.ts")).then(m => m.StudentCourseRequestsModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'lesson-plan',
                        loadChildren: () => Promise.all(/*! import() | pages-lesson-plan-lesson-plan-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~grades-report-grades-report-module~pages-class-class-module~pages-courses-course-catalog-cou~6c049bda"), __webpack_require__.e("default~pages-courses-course-manager-course-manager-module~pages-courses-course-request-course-reque~90c8e8d2"), __webpack_require__.e("default~pages-class-class-module~pages-lesson-plan-lesson-plan-module"), __webpack_require__.e("pages-lesson-plan-lesson-plan-module")]).then(__webpack_require__.bind(null, /*! ./pages/lesson-plan/lesson-plan.module */ "./src/app/pages/lesson-plan/lesson-plan.module.ts")).then(m => m.LessonPlanModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'billing-and-fees',
                        loadChildren: () => Promise.all(/*! import() | pages-settings-billing-and-fees-settings-billing-and-fees-settings-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~attendance-attendance-module~behavior-report-behavior-report-module~billing-and-fees-report-~fde4536c"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~billing-and-fees-repor~da47c222"), __webpack_require__.e("default~pages-settings-billing-and-fees-settings-billing-and-fees-settings-module~pages-settings-set~739fe96b"), __webpack_require__.e("pages-settings-billing-and-fees-settings-billing-and-fees-settings-module")]).then(__webpack_require__.bind(null, /*! ./pages/settings/billing-and-fees-settings/billing-and-fees-settings.module */ "./src/app/pages/settings/billing-and-fees-settings/billing-and-fees-settings.module.ts")).then(m => m.BillingAndFeesSettingsModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'lms',
                        loadChildren: () => Promise.all(/*! import() | pages-lms-lms-module */[__webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("common"), __webpack_require__.e("pages-lms-lms-module")]).then(__webpack_require__.bind(null, /*! ./pages/lms/lms.module */ "./src/app/pages/lms/lms.module.ts")).then(m => m.LmsModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'settings/lms-settings',
                        loadChildren: () => Promise.all(/*! import() | pages-settings-learning-management-system-settings-learning-management-system-settings-module */[__webpack_require__.e("common"), __webpack_require__.e("pages-settings-learning-management-system-settings-learning-management-system-settings-module")]).then(__webpack_require__.bind(null, /*! ./pages/settings/learning-management-system-settings/learning-management-system-settings.module */ "./src/app/pages/settings/learning-management-system-settings/learning-management-system-settings.module.ts")).then(m => m.LearningManagementSystemSettingsModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: '',
                children: [
                    {
                        path: 'settings/admissions-settings',
                        loadChildren: () => Promise.all(/*! import() | pages-settings-admissions-settings-admissions-settings-module */[__webpack_require__.e("default~pages-admissions-application-forms-application-forms-module~pages-behaviour-behaviour-fields~d60418f3"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-admissions-admis~e575e648"), __webpack_require__.e("common"), __webpack_require__.e("pages-settings-admissions-settings-admissions-settings-module")]).then(__webpack_require__.bind(null, /*! ./pages/settings/admissions-settings/admissions-settings.module */ "./src/app/pages/settings/admissions-settings/admissions-settings.module.ts")).then(m => m.AdmissionsSettingsModule),
                        canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
                    }
                ]
            },
            {
                path: 'admissions',
                children: [
                    {
                        path: 'admissions-dashboard',
                        loadChildren: () => Promise.all(/*! import() | pages-admissions-admissions-dashboard-admissions-dashboard-module */[__webpack_require__.e("default~behavior-report-behavior-report-module~grades-report-grades-report-module~pages-admissions-a~896138ee"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-admissions-admis~e575e648"), __webpack_require__.e("default~behavior-report-behavior-report-module~grades-report-grades-report-module~pages-admissions-a~20e50dc4"), __webpack_require__.e("pages-admissions-admissions-dashboard-admissions-dashboard-module")]).then(__webpack_require__.bind(null, /*! ./pages/admissions/admissions-dashboard/admissions-dashboard.module */ "./src/app/pages/admissions/admissions-dashboard/admissions-dashboard.module.ts")).then(m => m.AdmissionsDashboardModule),
                    },
                    {
                        path: 'applicants',
                        loadChildren: () => Promise.all(/*! import() | pages-admissions-applicants-applicants-module */[__webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~add-staff-add-staff-module~add-student-add-student-module~api-keys-api-keys-module~behavior-~2214fe21"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-admissions-admis~e575e648"), __webpack_require__.e("default~pages-admission-form-admission-form-module~pages-admissions-applicants-applicants-module~pag~fc9b2eed"), __webpack_require__.e("pages-admissions-applicants-applicants-module")]).then(__webpack_require__.bind(null, /*! ./pages/admissions/applicants/applicants.module */ "./src/app/pages/admissions/applicants/applicants.module.ts")).then(m => m.ApplicantsModule),
                    },
                    {
                        path: 'email-templates',
                        loadChildren: () => Promise.all(/*! import() | pages-admissions-email-templates-email-templates-module */[__webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-admissions-admis~e575e648"), __webpack_require__.e("pages-admissions-email-templates-email-templates-module")]).then(__webpack_require__.bind(null, /*! ./pages/admissions/email-templates/email-templates.module */ "./src/app/pages/admissions/email-templates/email-templates.module.ts")).then(m => m.EmailTemplatesModule),
                    },
                    {
                        path: 'application-forms',
                        loadChildren: () => Promise.all(/*! import() | pages-admissions-application-forms-application-forms-module */[__webpack_require__.e("default~api-keys-api-keys-module~attendance-attendance-module~behavior-report-behavior-report-module~dd87585f"), __webpack_require__.e("default~access-log-access-log-module~attendance-attendance-module~audit-trail-audit-trail-routing-mo~711025cc"), __webpack_require__.e("default~add-staff-add-staff-module~add-student-add-student-module~api-keys-api-keys-module~behavior-~2214fe21"), __webpack_require__.e("default~pages-admissions-application-forms-application-forms-module~pages-behaviour-behaviour-fields~d60418f3"), __webpack_require__.e("default~add-student-add-student-module~behavior-report-behavior-report-module~pages-admissions-admis~e575e648"), __webpack_require__.e("default~pages-admission-form-admission-form-module~pages-admissions-applicants-applicants-module~pag~fc9b2eed"), __webpack_require__.e("common"), __webpack_require__.e("pages-admissions-application-forms-application-forms-module")]).then(__webpack_require__.bind(null, /*! ./pages/admissions/application-forms/application-forms.module */ "./src/app/pages/admissions/application-forms/application-forms.module.ts")).then(m => m.ApplicationFormsModule),
                    }
                ],
                canActivate: [_app_common_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"], _common_school_setup_guard__WEBPACK_IMPORTED_MODULE_5__["SchoolSetupGuard"], _common_subcription_guard__WEBPACK_IMPORTED_MODULE_6__["SubscriptionGuard"]]
            },
        ]
    },
    { path: '**', redirectTo: '/error' }
];
class AppRoutingModule {
}
AppRoutingModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: AppRoutingModule });
AppRoutingModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function AppRoutingModule_Factory(t) { return new (t || AppRoutingModule)(); }, imports: [[_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forRoot(routes, {
                // preloadingStrategy: PreloadAllModules,
                scrollPositionRestoration: 'enabled',
                relativeLinkResolution: 'corrected',
                anchorScrolling: 'enabled'
            })], _angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](AppRoutingModule, { imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]], exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AppRoutingModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forRoot(routes, {
                        // preloadingStrategy: PreloadAllModules,
                        scrollPositionRestoration: 'enabled',
                        relativeLinkResolution: 'corrected',
                        anchorScrolling: 'enabled'
                    })],
                exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/app.component.ts":
/*!**********************************!*\
  !*** ./src/app/app.component.ts ***!
  \**********************************/
/*! exports provided: AppComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppComponent", function() { return AppComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var luxon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! luxon */ "./node_modules/luxon/build/cjs-browser/luxon.js");
/* harmony import */ var luxon__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(luxon__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _iconify_icons_ic_twotone_layers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @iconify/icons-ic/twotone-layers */ "./node_modules/@iconify/icons-ic/twotone-layers.js");
/* harmony import */ var _iconify_icons_ic_twotone_layers__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_layers__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _iconify_icons_ic_baseline_account_balance__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @iconify/icons-ic/baseline-account-balance */ "./node_modules/@iconify/icons-ic/baseline-account-balance.js");
/* harmony import */ var _iconify_icons_ic_baseline_account_balance__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_baseline_account_balance__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _iconify_icons_ic_info__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @iconify/icons-ic/info */ "./node_modules/@iconify/icons-ic/info.js");
/* harmony import */ var _iconify_icons_ic_info__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_info__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _iconify_icons_ic_mail__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @iconify/icons-ic/mail */ "./node_modules/@iconify/icons-ic/mail.js");
/* harmony import */ var _iconify_icons_ic_mail__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_mail__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _iconify_icons_ic_star__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @iconify/icons-ic/star */ "./node_modules/@iconify/icons-ic/star.js");
/* harmony import */ var _iconify_icons_ic_star__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_star__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _iconify_icons_ic_outline_receipt_long__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @iconify/icons-ic/outline-receipt-long */ "./node_modules/@iconify/icons-ic/outline-receipt-long.js");
/* harmony import */ var _iconify_icons_ic_outline_receipt_long__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_outline_receipt_long__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var _iconify_icons_ic_outline_menu_book__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @iconify/icons-ic/outline-menu-book */ "./node_modules/@iconify/icons-ic/outline-menu-book.js");
/* harmony import */ var _iconify_icons_ic_outline_menu_book__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_outline_menu_book__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var _iconify_icons_ic_outline_local_library__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @iconify/icons-ic/outline-local-library */ "./node_modules/@iconify/icons-ic/outline-local-library.js");
/* harmony import */ var _iconify_icons_ic_outline_local_library__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_outline_local_library__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var _iconify_icons_fa_solid_handshake__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @iconify/icons-fa-solid/handshake */ "./node_modules/@iconify/icons-fa-solid/handshake.js");
/* harmony import */ var _iconify_icons_fa_solid_handshake__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_fa_solid_handshake__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var _iconify_icons_ic_outline_shopping_cart__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @iconify/icons-ic/outline-shopping-cart */ "./node_modules/@iconify/icons-ic/outline-shopping-cart.js");
/* harmony import */ var _iconify_icons_ic_outline_shopping_cart__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_outline_shopping_cart__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var _iconify_icons_ic_school__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @iconify/icons-ic/school */ "./node_modules/@iconify/icons-ic/school.js");
/* harmony import */ var _iconify_icons_ic_school__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_school__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var _iconify_icons_ic_outline_insights__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @iconify/icons-ic/outline-insights */ "./node_modules/@iconify/icons-ic/outline-insights.js");
/* harmony import */ var _iconify_icons_ic_outline_insights__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_outline_insights__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var _iconify_icons_ic_settings__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @iconify/icons-ic/settings */ "./node_modules/@iconify/icons-ic/settings.js");
/* harmony import */ var _iconify_icons_ic_settings__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_settings__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var _iconify_icons_ic_people__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @iconify/icons-ic/people */ "./node_modules/@iconify/icons-ic/people.js");
/* harmony import */ var _iconify_icons_ic_people__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_people__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var _iconify_icons_ic_date_range__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @iconify/icons-ic/date-range */ "./node_modules/@iconify/icons-ic/date-range.js");
/* harmony import */ var _iconify_icons_ic_date_range__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_date_range__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var _iconify_icons_ic_baseline_insert_chart__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @iconify/icons-ic/baseline-insert-chart */ "./node_modules/@iconify/icons-ic/baseline-insert-chart.js");
/* harmony import */ var _iconify_icons_ic_baseline_insert_chart__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_baseline_insert_chart__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var _iconify_icons_ic_baseline_access_alarm__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @iconify/icons-ic/baseline-access-alarm */ "./node_modules/@iconify/icons-ic/baseline-access-alarm.js");
/* harmony import */ var _iconify_icons_ic_baseline_access_alarm__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_baseline_access_alarm__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var _iconify_icons_ic_baseline_mark_email_unread__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @iconify/icons-ic/baseline-mark-email-unread */ "./node_modules/@iconify/icons-ic/baseline-mark-email-unread.js");
/* harmony import */ var _iconify_icons_ic_baseline_mark_email_unread__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_baseline_mark_email_unread__WEBPACK_IMPORTED_MODULE_20__);
/* harmony import */ var _iconify_icons_ic_baseline_bubble_chart__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @iconify/icons-ic/baseline-bubble-chart */ "./node_modules/@iconify/icons-ic/baseline-bubble-chart.js");
/* harmony import */ var _iconify_icons_ic_baseline_bubble_chart__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_baseline_bubble_chart__WEBPACK_IMPORTED_MODULE_21__);
/* harmony import */ var _iconify_icons_ic_baseline_construction__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @iconify/icons-ic/baseline-construction */ "./node_modules/@iconify/icons-ic/baseline-construction.js");
/* harmony import */ var _iconify_icons_ic_baseline_construction__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_baseline_construction__WEBPACK_IMPORTED_MODULE_22__);
/* harmony import */ var _iconify_icons_ic_baseline_escalator_warning__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @iconify/icons-ic/baseline-escalator-warning */ "./node_modules/@iconify/icons-ic/baseline-escalator-warning.js");
/* harmony import */ var _iconify_icons_ic_baseline_escalator_warning__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_baseline_escalator_warning__WEBPACK_IMPORTED_MODULE_23__);
/* harmony import */ var _iconify_icons_ic_baseline_book__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @iconify/icons-ic/baseline-book */ "./node_modules/@iconify/icons-ic/baseline-book.js");
/* harmony import */ var _iconify_icons_ic_baseline_book__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_baseline_book__WEBPACK_IMPORTED_MODULE_24__);
/* harmony import */ var _iconify_icons_ic_outline_corporate_fare__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @iconify/icons-ic/outline-corporate-fare */ "./node_modules/@iconify/icons-ic/outline-corporate-fare.js");
/* harmony import */ var _iconify_icons_ic_outline_corporate_fare__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_outline_corporate_fare__WEBPACK_IMPORTED_MODULE_25__);
/* harmony import */ var _iconify_icons_ic_outline_description__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @iconify/icons-ic/outline-description */ "./node_modules/@iconify/icons-ic/outline-description.js");
/* harmony import */ var _iconify_icons_ic_outline_description__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_outline_description__WEBPACK_IMPORTED_MODULE_26__);
/* harmony import */ var _iconify_icons_ic_outline_fact_check__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @iconify/icons-ic/outline-fact-check */ "./node_modules/@iconify/icons-ic/outline-fact-check.js");
/* harmony import */ var _iconify_icons_ic_outline_fact_check__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_outline_fact_check__WEBPACK_IMPORTED_MODULE_27__);
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @angular/cdk/coercion */ "./node_modules/@angular/cdk/fesm2015/coercion.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _models_roll_based_access_model__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./models/roll-based-access.model */ "./src/app/models/roll-based-access.model.ts");
/* harmony import */ var src_vex_layout_session_expire_session_expire_alert_session_expire_alert_component__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! src/@vex/layout/session-expire/session-expire-alert/session-expire-alert.component */ "./src/@vex/layout/session-expire/session-expire-alert/session-expire-alert.component.ts");
/* harmony import */ var _models_user_model__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./models/user.model */ "./src/app/models/user.model.ts");
/* harmony import */ var jwt_decode__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! jwt-decode */ "./node_modules/jwt-decode/build/jwt-decode.esm.js");
/* harmony import */ var _enums_profiles_enum__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./enums/profiles.enum */ "./src/app/enums/profiles.enum.ts");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _enums_currency_enum__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./enums/currency.enum */ "./src/app/enums/currency.enum.ts");
/* harmony import */ var _vex_services_config_service__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../@vex/services/config.service */ "./src/@vex/services/config.service.ts");
/* harmony import */ var _vex_services_style_service__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../@vex/services/style.service */ "./src/@vex/services/style.service.ts");
/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! @angular/cdk/platform */ "./node_modules/@angular/cdk/__ivy_ngcc__/fesm2015/platform.js");
/* harmony import */ var _vex_services_layout_service__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../@vex/services/layout.service */ "./src/@vex/services/layout.service.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _vex_services_navigation_service__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../@vex/services/navigation.service */ "./src/@vex/services/navigation.service.ts");
/* harmony import */ var _services_school_service__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./services/school.service */ "./src/app/services/school.service.ts");
/* harmony import */ var _vex_services_splash_screen_service__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../@vex/services/splash-screen.service */ "./src/@vex/services/splash-screen.service.ts");
/* harmony import */ var _services_roll_based_access_service__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./services/roll-based-access.service */ "./src/app/services/roll-based-access.service.ts");
/* harmony import */ var _services_Crypto_service__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./services/Crypto.service */ "./src/app/services/Crypto.service.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _services_common_service__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./services/common.service */ "./src/app/services/common.service.ts");
/* harmony import */ var angular_user_idle__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! angular-user-idle */ "./node_modules/angular-user-idle/__ivy_ngcc__/fesm2015/angular-user-idle.js");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var src_vex_services_session_service__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! src/@vex/services/session.service */ "./src/@vex/services/session.service.ts");
/* harmony import */ var _services_login_service__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./services/login.service */ "./src/app/services/login.service.ts");
/***********************************************************************************
openSIS is a free student information system for public and non-public
schools from Open Solutions for Education, Inc.Website: www.os4ed.com.

Visit the openSIS product website at https://opensis.com to learn more.
If you have question regarding this software or the license, please contact
via the website.

The software is released under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, version 3 of the License.
See https://www.gnu.org/licenses/agpl-3.0.en.html.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Copyright (c) Open Solutions for Education, Inc.

All rights reserved.
***********************************************************************************/


























































class AppComponent {
    constructor(configService, styleService, renderer, platform, document, localeId, layoutService, route, navigationService, schoolService, splashScreenService, rollBasedAccessService, cryptoService, translateService, defaultValuesService, commonService, userIdle, router, dialog, defaultValueService, sessionService, loginService, zone, _document) {
        var _a, _b;
        this.configService = configService;
        this.styleService = styleService;
        this.renderer = renderer;
        this.platform = platform;
        this.document = document;
        this.localeId = localeId;
        this.layoutService = layoutService;
        this.route = route;
        this.navigationService = navigationService;
        this.schoolService = schoolService;
        this.splashScreenService = splashScreenService;
        this.rollBasedAccessService = rollBasedAccessService;
        this.cryptoService = cryptoService;
        this.translateService = translateService;
        this.defaultValuesService = defaultValuesService;
        this.commonService = commonService;
        this.userIdle = userIdle;
        this.router = router;
        this.dialog = dialog;
        this.defaultValueService = defaultValueService;
        this.sessionService = sessionService;
        this.loginService = loginService;
        this.zone = zone;
        this._document = _document;
        this.title = 'vex';
        this.newItems = _environments_environment__WEBPACK_IMPORTED_MODULE_36__["environment"].newItems ? _environments_environment__WEBPACK_IMPORTED_MODULE_36__["environment"].newItems : [];
        this.starredItems = _environments_environment__WEBPACK_IMPORTED_MODULE_36__["environment"].starredItems ? _environments_environment__WEBPACK_IMPORTED_MODULE_36__["environment"].starredItems : [];
        this.destroySubject$ = new rxjs__WEBPACK_IMPORTED_MODULE_30__["Subject"]();
        this.menuList = [];
        this.count = 0;
        this.refreshTokenTimer = 0;
        this.profile = _enums_profiles_enum__WEBPACK_IMPORTED_MODULE_35__["ProfilesTypes"];
        this.currencyEnum = _enums_currency_enum__WEBPACK_IMPORTED_MODULE_37__["currencyEnum"];
        this._document.getElementById('appFavicon').setAttribute('href', this.defaultValueService.getTenantData() ? 'data:image/jpeg;base64,' + 'AAABAAEAKiYAAAEAIABIGgAAFgAAACgAAAAqAAAATAAAAAEAIAAAAAAA8BgAACAcAAAgHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgYGfgICAvIAAADyAAAA8gAAAPIAAAAAHhaPei0c+/IlF+fyKxv88hsQtOMAAAAQAAAAAAAAAAARERFoDQwM8gICAvIEBARZERERggYGBvIEBATyAAAAOgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgIjgICAv8AAAD/AAAA/wAAAP8AAAAAIxuVizIf//8oGfL/Lh3//x0RuP8AAAASAAAAAAAAAAAZGRl2Gxsb/w4ODv8HBwdlGxsblBMTE/8ODg7/AQEBQQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgIgwICAv8AAAD/AAAA/wAAAP8AAAAAIRmTgTAe//8nGO7/LRz//xwRtu0AAAAQAAAAAAAAAAAdHR1tKioq/xwcHP8JCQleICAgiSMjI/8bGxv/AQEBPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgIggICAv8AAAD/AAAA/wAAAP8AAAAAIRmTgTAe//8nGO7/LRz//xsRte0AAAAPAAAAAAAAAAAjIyNsOzs7/ywsLP8LCwteKCgoiTU1Nf8nJyf/AgICOwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgIgQMDA/8AAAD/AAAA/wAAAP8AAAAAIRmTgTAe//8nGO7/LRz//xsRtewAAAAPAAAAAAAAAAAnJyZrTk5O/z09Pf8ODg5eMDAwiUlJSf81NTX/AgICOgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgIgAMDA/8AAAD/AAAA/wAAAP8AAAAAIRmTgTAe//8nGO7/LRz//xsRtOwAAAAOAAAAAAICAgAxMTFqYWFh/1BQUP8QEBBeODg4iV5eXv9FRUX/AgICOQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgIgAMDA/8AAAD/AAAA/wAAAP8AAAAAIRmTgTAe//8nGO7/LRz//xsRs+sAAAANCAkDAEtLSwBkZGRpaGho/2NjY/8TExNeQkJCiXR0dP9VVVX/AgICOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgIfwMDA/8AAAD/AAAA/wAAAP8AAAAAIRmTgTAe//8nGO7/LRz//xsQs+oAAAANCAgCADk5OQBlZWVof39//3d3d/8WFhZeS0tLiYuLi/9kZGT/AwMDOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgIfwMDA/8AAAD/AAAA/wAAAP8AAAAAIRmTgTAe//8nGO7/LRz//xsQs+kAAAAMAAEAAAAAAABCQkJnoKCg/4yMjP8ZGRleVVVViaOjov91dXX/AwMDNwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgIfQMDA/8AAAD/AAAA/wAAAP8AAAAAIRmTgTAe//8nGO7/LRz//xsQsukAAAALAAAAAAAAAABBQUFnt7e3/6CgoP8cHBxeXl5eibq6uv+FhYX/AwMDNgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgIfQMDA/8AAAD/AAAA/wAAAP8AAAAAIRmTgTAe//8nGO7/LRz//xsQsegAAAALAAAAAAAAAABKSkphy8vL/7S0tP8fHx9eZ2dnidHR0f+Tk5P/AQEBLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgIfAMDA/8AAAD/AAAA/wAAAP8AAAAAIRmTgTAe//8nGO7/LRz//xoQsegAAAALAAAAAAAAAAA+Pj5X5OTk/8jIyP8fHx9hbW1tiurq6v+dnZ3/AAAAJwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgIewMDA/8AAAD/AAAA/wAAAP8AAAAAIRmTgTAe//8nGO7/LRz//xsRseoAAAAEAAAAAAAAABaYmJjM5OTk//Hx8f8yMjJldnZ2nO7u7v/V1dX/Ozs7vAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACQkJegMDA/8AAAD/AAAA/wAAAP8AAAAAIRmTgTAe//8nGO7/MB///xYMq9oAAAAAFhYTPK+vr+r//////////8LCwuUnJycX4eHhTf/////r6+v/7Ozs/2BgYNoAAAA7AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgIeQMDA/8AAAD/AAAA/wAAAP8AAAAAIRmTgTAe//8nGO7/KRj//wsFndpeYFCr///////////t7e3zkpKSjAAAAAAAAAAAQkJCAL29vRb///+x//////////+qqqr/JiYmmQAAABkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgIeAMDA/8AAAD/AAAA/wAAAP8AAAAAHhaQgTEf//8nGO7/EwL6/zkvy/////n/6Ojn0nd3d3EaGhoTAAAAAAAAABw8PDyCExMTjAAAAChKSkoA6+vrLf///5P////r/Pz8/5CQkP8lJSWwAAAAQgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACQkJdwMDA/8AAAD/AAAA/wAAAP8GBgMAKSGbgS0b//8nGO7/JhX9/ywivu0xMS4sAAAAAAAAAAAAAAAAOTk5aNbW1v/s7Oz/0tLS/5WVlf8AAACPDQ0NALy8vAD///8A////PP///4f+/v7Sr6+vzVxcXIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgIdwMDA/8AAAD/AAAA/wAAAP8FBQIAJx+ZgS4c//8nGO7/MCD//xMJpd8AAAAAAAAAAAAAAAAiIiIs7+/v//39/f/Gxsb/rKys/9LS0v+wsLD/AAAATgAAAACysrIA////AP7+/gD///8A////BP///yMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgIACAgIAAgICAAICAgACAgIAAgICAAICAgACwsLdwICAv8AAAD/AAAA/wAAAP8AAAAAHxeRgTEf//8nGO7/LRz//xoQq+IAAAAFAAAAAAAAAABdXV2D/////8TExP+srKz/oKCg/7Kysv/k5OT/QUFBlQAAAAAAAAAA3NzcAP///wD9/f0A////AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwMDAAMDAwADAwMAAwMDAAMDAwADAwMACgoKaAMDA/8AAAD/AAAA/wAAAP8AAAAAIRmTgTAe//8nGO7/LRz//xgPoNwAAAAACAkHAF5eXgCYmJh46enp/8XFxf+6urr/v7+//8PDw//o6Oj/Pz8/fAAAAAAAAAAAICAgAPj4+AD///8A////AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwMDhQEBAf8AAAD/AAAA/wAAAP8AAAAAIRmSgTAe//8nGO7/LRz//xkPs/MAAAAOAwQAAJiYmAD39/cZzMzM/dra2v/S0tL/3Nzc//////+8vLz4CQkJGQAAAAAAAAAAAAAAAJ2dnQD///8A////AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABMAAAA9gAAAP8AAAD/AAAA/wAAAP8AAAAAEwuHiS4c//8oGe7/KRn1/ykZ/P8LB2LEAAAACAEBAACCgoIA2traOM/Pz8/V1dX/5ubm/7y8vMgfHx8wAAAAAAAAAAAAAAAAAAAAAIKCggD///8A////AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGUAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8LCxEAQjm5gCMR+/8dDu3/KBns/ysa+/8rG///Dghz0QAAACAAAAAAWlpaALOzswD39/cvqampLAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJeXlwD///8A////AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkwAAAP8AAAD/AAAA/wAAAP8BAQH/BwcH+AAAAEYgHj0Asab/FG1h/8IXCO3/EgLs/yMV6/8sHPv/LRz//xUMnPAAAABPAAAAACQkIACOjo4AcHBwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgoKACvr68A////AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAADSAAAA/wAAAP8AAAD/AQEB/wkJCf8MDAywBgYGIwAAAAAKCRYAXFalAK2k/wCaj/+ARDb79BYG7P8TA+r/JBTz/zAe//8fE9P/BAI+lQAAABEAAAAAAAAAAAEBAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUlJSANXV1QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfAAAAnQAAAP8AAAD/AAAA/wQEBP8LCwv/Dw8PtQsLC0ACAgIAAAAAAAAAAAAAAAAAAAAAABIRJQB1b6gAr6b/F4p//4xBNPLtHxDs/xMC6/8iD///Jxf//xUNl+kAABZmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHQAAAIwAAAD/AAAA/wICAv8KCgr/Dg4O5hAQEJMLCwstAwMDAAAAAAAAAAAAAAAAAAAAACQXFxdVFBQSXQAAADUAAAAAIB01AJCJ1AC7sv8PhHr/blNH8ssxI+3/Hg74/xwI//8XCO3/CwR91AAAE1oAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAAC9AQEB/wgICP8MDAz/EBAQ5xEREaEODg5OCQkJBwAAAAAAAAAAAAAAAAAAAAAAAAAWcHBwrL6+vv/Q0ND/x8fH/6Ghof9QUE3KAAAAPQAAAABZVJIAsqn/AK6m/wCMhPczc2n2gVNH8tE8LP//LBr//xcJ6P8CAIf8AAAeigAAACMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGBgY4Dw8PqxUVFegXFxfxFRUVsRAQEGwODg45CgoKBgICAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAYGBhq4uLjp//////Hx8f/a2tr/zc3N/8nJyf/R0dH/hISE/wAAAEYAAAAAMC5UAJiO/gCmnP8Al5D6AJyU+wCOh/klfHP3Wm5i/5JgUv/ZSz/2+zApo9gRDkd4BAIiBAYEIgAGBCIABgQiAAYEIgAxMTEjPj4+NC8vLw0cHBwADAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJ2dncz/////1tbW/83Nzf/Gxsb/tbW1/6enp/+rq6v/4uLi/25ubvYAAAAQAAAAABkXMACQiPAAoZf/AId++ACNhfkAkov6AJWO+QCWj/kAloz/AJmO/yBsYf8xMCLuAzUm7wA3KPAANyjwADco8AA0NDQAOTk5ACQkJAATExMACgoKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAODg4Rf/////f39//0NDQ/8vLy/+8vLz/q6ur/6enp/+tra3/xMTE/83Nzf8dHR10AAAAAAAAAAARECQAkonzAJ2T/wCGfvgAiID5AIZ++ACFffgAhHv3AIuD+ABuZPgANCb2ADgq9wA6LPcAOiz3ADos9wAxMTEAODg4ACUlJQAUFBQACgoKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAenp6jv/////S0tL/zs7O/8PDw/+xsbH/p6en/6qqqv+1tbX/u7u7/+Pj4/9WVlavAAAAAAAAAAAAAAAAGhgzAJ6U/wCUjP8Ahn/4AIZ++ACFffgAg3r3AImA+ABpX/IAMSPqADUn6wA3KesANynrADcp6wAxMTEAODg4ACUlJQAUFBQACgoKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhYWFn//////Pz8//xcXF/7S0tP+mpqb/paWl/62trf+2trb/vb29/+bm5v9oaGi4AAAAAAAAAAAAAAAAAAAAADYyZwClm/8AiYH7AIZ++ACFffgAg3r3AImA+ABpX/IAMSPqADUn6wA3KesANynrADcp6wAxMTEAODg4ACUlJQAUFBQACgoKAAAAAAAAAAAAAAAAACgoKAAsLCwAKSkpACkpKQAnJycAf39/h/Ly8v/Kysr/xsbG/8HBwf+/v7//wsLC/8fHx//Dw8P/vb29/+rq6v9XV1eaAAAAAAAAAAAAAAAAAAAAAAAAAABlX7kAopj/AIR8+ACFffgAg3r3AImA+ABpX/IAMSPqADUn6wA3KesANynrADcp6wAxMTEAODg4ACUlJQAUFBQACgoKAAAAAAAAAAAASkpKAJWVlQB9fX0Afn5+AH5+fgB7e3sAkJCQNdTU1P/S0tL/09PT/8/Pz//Pz8//09PT/9fX1//Y2Nj/2dnZ/9XV1f8cHBw+AAAAAAAAAAAAAAAAAAAAAAAAAAATEyQAlo3/AIqC/gCFffgAg3r3AImA+ABpX/IAMSPqADUn6wA3KesANynrADcp6wAxMTEAODg4ACUlJQAUFBQACgoKAAAAAAAMDAwAs7OzAM3NzQC+vr4Avr6+AL6+vgC9vb0AtLS0ALq6uqrZ2dn/1dXV/8vLy//Q0ND/1NTU/9TU1P/i4uL//////21tba0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZV69AJqR/wCFffgAg3r3AImA+ABpX/IAMSPqADUn6wA3KesANynrADcp6wAxMTEAODg4ACUlJQAUFBQACgoKAAAAAAAnJycAyMjIAL29vQC4uLgAuLi4ALi4uAC4uLgAuLi4AK2trQC7u7u72dnZ/9vb2//Z2dn/3Nzc//z8/P//////lZWVuAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUUuUAJ+U/wCFffgAg3r3AImA+ABpX/IAMSPqADUn6wA3KesANynrADcp6wAxMTEAODg4ACUlJQAUFBQACgoKAAAAAAAkJCQAwcHBAL29vQC2trYAtra2ALa2tgC2trYAubm5ALKysgCcnJwArKysbMnJycjV1dXv2dnZ7rm5ucVZWVloAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVE6ZAJ2T/wCFffgAg3r3AImA+ABpX/IAMSPqADUn6wA3KesANynrADcp6wD/+CBgH8AAAP/4IGAfwAAA//ggYB/AAAD/+CBgH8AAAP/4IGAfwAAA//ggYB/AAAD/+CBgH8AAAP/4IGAfwAAA//ggYB/AAAD/+CBgH8AAAP/4IGAfwAAA//ggYB/AAAD/+CBAD8AAAP/4IIAHwAAA//ggBwHAAAD/+CAIQEAAAP/4IHA4AAAA//gg4B8AAAD/+CBgH8AAAP/4IOAfwAAA//ggYB/AAAD/8CAwP8AAAP/gIBz/wAAA/8AgD//AAAD/AHgD/8AAAPwB/AH/wAAA8AeHAH/AAADAHgHgD8AAAAD8APwDwAAAH/wAf+PAAAD/+AB//8AAAP/4AH//wAAA//gAf//AAAD/+AB//8AAAP/4AH//wAAA//wA///AAAD//gH//8AAAP//A///wAAA' : '');
        luxon__WEBPACK_IMPORTED_MODULE_1__["Settings"].defaultLocale = this.localeId;
        if (this.platform.BLINK) {
            this.renderer.addClass(this.document.body, 'is-blink');
        }
        /**
         * Customize the template to your needs with the ConfigService
         * Example:
         *  this.configService.updateConfig({
         *    sidenav: {
         *      title: 'Custom App',
         *      imageUrl: '//placehold.it/100x100',
         *      showCollapsePin: false
         *    },
         *    showConfigButton: false,
         *    footer: {
         *      visible: false
         *    }
         *  });
         */
        /**
         * Config Related Subscriptions
         * You can remove this if you don't need the functionality of being able to enable specific configs with queryParams
         * Example: example.com/?layout=apollo&style=default
         */
        this.route.queryParamMap.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_28__["map"])(queryParamMap => queryParamMap.has('rtl') && Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_29__["coerceBooleanProperty"])(queryParamMap.get('rtl')))).subscribe(isRtl => {
            this.document.body.dir = isRtl ? 'rtl' : 'ltr';
            this.configService.updateConfig({
                rtl: isRtl
            });
        });
        this.route.queryParamMap.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_28__["filter"])(queryParamMap => queryParamMap.has('layout'))).subscribe(queryParamMap => this.configService.setConfig(queryParamMap.get('layout')));
        this.route.queryParamMap.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_28__["filter"])(queryParamMap => queryParamMap.has('style'))).subscribe(queryParamMap => this.styleService.setStyle(queryParamMap.get('style')));
        this.schoolService.schoolListCalled.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_28__["takeUntil"])(this.destroySubject$)).subscribe((res) => {
            if (res.dataFromUserLogin) {
                this.renderMenuFromLocalStorage();
            }
            else if (res.schoolChanged) {
                this.callRolePermissions();
            }
            else if (res.schoolLoaded) {
                if (this.defaultValuesService.getPermissionList()) {
                    this.renderMenuFromLocalStorage();
                }
                else {
                    this.callRolePermissions();
                }
            }
        });
        let lang = this.defaultValueService.getLanguage();
        (_a = document.querySelector('html')) === null || _a === void 0 ? void 0 : _a.setAttribute('lang', lang);
        if (lang === 'ar') {
            (_b = document.querySelector('body')) === null || _b === void 0 ? void 0 : _b.setAttribute('dir', 'rtl');
        }
    }
    renderMenuFromLocalStorage() {
        let permissions = this.defaultValuesService.getPermissionList();
        this.generateMenuBasedOnSchoolId(permissions);
    }
    callRolePermissions() {
        let rolePermissionListView = new _models_roll_based_access_model__WEBPACK_IMPORTED_MODULE_31__["RolePermissionListViewModel"]();
        this.rollBasedAccessService.getAllRolePermission(rolePermissionListView).subscribe((res) => {
            if (res._failure) {
            }
            else {
                res.permissionList = this.commonService.checkAndModifyPermissionData(res.permissionList);
                this.generateMenuBasedOnSchoolId(res);
            }
        });
    }
    ngOnInit() {
        this.commonService.triggeredUserActivity.subscribe((res) => {
            this.tokenDetails();
            if (this.loginService.isAuthenticated()) {
                this.onStartWatching();
            }
            else {
                this.onStopWatching();
            }
        });
        this.commonService.changedLanguage.subscribe((res) => {
            this.defaultValueService.getLanguage() ? this.translateService.use(this.defaultValueService.getLanguage()) : this.translateService.use('en');
        });
        this.rollBasedAccessService.permissionsChanged.subscribe((res) => {
            if (res) {
                let permissions = this.defaultValuesService.getPermissionList();
                this.generateMenuBasedOnSchoolId(permissions);
            }
        });
    }
    onStartWatching() {
        this.setCOnfigAndStartTimer();
        this.zone.runOutsideAngular(() => {
            this.timerStartSubscription = this.userIdle.onTimerStart()
                .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_28__["tap"])(() => this.timer = true))
                .subscribe(count => {
                if (count) {
                    this.count += 1;
                    if (this.count === 1) {
                        this.openDialog();
                    }
                }
            });
        });
        this.pingSubscription = this.userIdle.ping$.subscribe(() => {
            this.tokenDetails();
            if (this.defaultValueService.getToken()) {
                this.getRefreshToken();
            }
            else {
                this.commonService.clearStorage();
            }
        });
    }
    setCOnfigAndStartTimer() {
        this.userIdle.setConfigValues({
            idle: 20 * 60,
            timeout: 0,
            ping: this.tokenEndTime
        });
        this.userIdle.startWatching();
    }
    tokenDetails() {
        if (this.defaultValueService.getToken()) {
            let decoded = JSON.parse(JSON.stringify(jwt_decode__WEBPACK_IMPORTED_MODULE_34__["default"](this.defaultValueService.getToken())));
            let date1 = new Date(decoded.exp * 1000);
            let date2 = new Date();
            let res = Math.abs(date1 - date2) / 1000;
            this.minutes = Math.floor(res / 60) % 60;
            this.tokenEndTime = (this.minutes - 2) * 60;
            this.tokenExpired = Date.now() > (decoded.exp * 1000 - 120000);
            if (this.tokenExpired) {
                this.logout();
            }
            else {
            }
        }
    }
    getRefreshToken() {
        const loginViewModel = new _models_user_model__WEBPACK_IMPORTED_MODULE_33__["UserViewModel"]();
        this.sessionService.RefreshToken(loginViewModel).subscribe(res => {
            if (res) {
                if (res._failure) {
                    this.openDialog();
                }
                else {
                    if (this.defaultValueService.getToken()) {
                        // this.onStartWatching();
                        this.defaultValueService.setToken(res._token).then(() => {
                            this.count = 0;
                            this.tokenDetails();
                            this.onStopWatching();
                            this.onStartWatching();
                        });
                    }
                }
            }
        });
    }
    onStopWatching() {
        this.userIdle.resetTimer();
        this.userIdle.stopWatching();
        if (this.timerStartSubscription && this.pingSubscription) {
            this.timerStartSubscription.unsubscribe();
            this.pingSubscription.unsubscribe();
        }
        this.dialog.closeAll();
    }
    logout() {
        this.onStopWatching();
        this.dialog.closeAll();
        this.commonService.logoutUser();
    }
    openDialog() {
        if (this.router.url != '/' && this.defaultValueService.getToken()) {
            this.dialog.open(src_vex_layout_session_expire_session_expire_alert_session_expire_alert_component__WEBPACK_IMPORTED_MODULE_32__["SessionExpireAlertComponent"], {
                maxWidth: '600px',
                disableClose: true
            }).afterClosed().subscribe(token => {
                this.userIdle.resetTimer();
                this.userIdle.stopWatching();
                this.count = 0;
                if (token) {
                    this.defaultValueService.setToken(token).then(() => {
                        this.tokenDetails();
                        this.setCOnfigAndStartTimer();
                    });
                    return;
                }
                this.logout();
                this.router.navigateByUrl('/');
            });
        }
    }
    clearStorage() {
        localStorage.clear();
        let schoolId = this.defaultValueService.getSchoolID();
        sessionStorage.clear();
        if (schoolId) {
            this.defaultValueService.setSchoolID(JSON.stringify(schoolId));
        }
    }
    generateMenuBasedOnSchoolId(permissions) {
        var _a;
        this.tenantInfo = this.defaultValuesService.getTenantData();
        this.menuList = [];
        (_a = permissions.permissionList) === null || _a === void 0 ? void 0 : _a.map((item) => {
            var _a, _b, _c, _d;
            if (item.permissionGroup.permissionGroupName === 'Add New') {
                // If permissionGroupName === 'Add New'
            }
            else {
                let newItem = false;
                let starredItem = false;
                if (this.newItems.find(x => x === item.permissionGroup.title)) {
                    newItem = true;
                }
                if (this.starredItems.find(x => x === item.permissionGroup.title)) {
                    starredItem = true;
                }
                if (item.permissionGroup.type === 'link') {
                    if ((_b = (_a = item.permissionGroup) === null || _a === void 0 ? void 0 : _a.rolePermission[0]) === null || _b === void 0 ? void 0 : _b.canView) {
                        if (item.permissionGroup.active === true) {
                            this.menuList.push({
                                type: 'link',
                                label: item.permissionGroup.title,
                                icon: this.convertStringToIcon(item.permissionGroup.icon),
                                route: item.permissionGroup.path,
                                badge: newItem ? { bgClass: 'bg-red', textClass: 'text-white', value: 'NEW' } : null,
                                starred: starredItem
                            });
                        }
                        else {
                            this.menuList.push({
                                type: 'link',
                                label: item.permissionGroup.title,
                                icon: this.convertStringToIcon(item.permissionGroup.icon),
                                route: item.permissionGroup.path,
                                upgrade: true,
                                badge: newItem ? { bgClass: 'bg-red', textClass: 'text-white', value: 'NEW' } : null,
                                starred: starredItem
                            });
                        }
                    }
                }
                else if (item.permissionGroup.type === 'sub') {
                    const children = [];
                    let membershipType = this.defaultValueService.getUserMembershipType();
                    if (membershipType !== this.profile.Teacher && membershipType !== this.profile.HomeroomTeacher && membershipType !== this.profile.Parent) {
                        (_c = item.permissionGroup.permissionCategory) === null || _c === void 0 ? void 0 : _c.map((child) => {
                            var _a;
                            let childNewItem = false;
                            let childStarredItem = false;
                            if (this.newItems.find(x => x === child.title)) {
                                childNewItem = true;
                            }
                            if (this.starredItems.find(x => x === child.title)) {
                                childStarredItem = true;
                            }
                            if ((_a = child.rolePermission[0]) === null || _a === void 0 ? void 0 : _a.canView) {
                                if (child.type !== '' && item.permissionGroup.active === true) {
                                    children.push({
                                        type: 'link',
                                        label: child.title,
                                        route: child.path,
                                        badge: childNewItem ? { bgClass: 'bg-red', textClass: 'text-white', value: 'NEW' } : null,
                                        starred: childStarredItem
                                    });
                                }
                                else {
                                    children.push({
                                        type: 'link',
                                        label: child.title,
                                        route: child.path,
                                        upgrade: true,
                                        badge: childNewItem ? { bgClass: 'bg-red', textClass: 'text-white', value: 'NEW' } : null,
                                        starred: childStarredItem
                                    });
                                }
                            }
                        });
                        if (item.permissionGroup.rolePermission[0].canView) {
                            if (children.length > 0 && item.permissionGroup.active === true) {
                                this.menuList.push({
                                    type: 'dropdown',
                                    label: item.permissionGroup.title,
                                    icon: this.convertStringToIcon(item.permissionGroup.icon),
                                    children,
                                    badge: newItem ? { bgClass: 'bg-red', textClass: 'text-white', value: 'NEW' } : null,
                                    starred: starredItem
                                });
                            }
                            else {
                                this.menuList.push({
                                    type: 'link',
                                    label: item.permissionGroup.title,
                                    icon: this.convertStringToIcon(item.permissionGroup.icon),
                                    route: '/school/inactive-module',
                                    upgrade: true,
                                    badge: newItem ? { bgClass: 'bg-red', textClass: 'text-white', value: 'NEW' } : null,
                                    starred: starredItem
                                });
                            }
                        }
                    }
                    else {
                        if (item.permissionGroup.title !== 'Staff' && item.permissionGroup.title !== 'Parent') {
                            (_d = item.permissionGroup.permissionCategory) === null || _d === void 0 ? void 0 : _d.map((child) => {
                                var _a;
                                let childNewItem = false;
                                let childStarredItem = false;
                                if (this.newItems.find(x => x === child.title)) {
                                    childNewItem = true;
                                }
                                if (this.starredItems.find(x => x === child.title)) {
                                    childStarredItem = true;
                                }
                                if (child.type !== '') {
                                    if ((_a = child.rolePermission[0]) === null || _a === void 0 ? void 0 : _a.canView) {
                                        children.push({
                                            type: 'link',
                                            label: child.title,
                                            route: child.isAccess ? child.path : '/school/inactive-module',
                                            badge: childNewItem ? { bgClass: 'bg-red', textClass: 'text-white', value: 'NEW' } : null,
                                            starred: childStarredItem
                                        });
                                    }
                                }
                            });
                            if (children.length > 0) {
                                this.menuList.push({
                                    type: 'dropdown',
                                    label: item.permissionGroup.title,
                                    icon: this.convertStringToIcon(item.permissionGroup.icon),
                                    children,
                                    badge: newItem ? { bgClass: 'bg-red', textClass: 'text-white', value: 'NEW' } : null,
                                    starred: starredItem
                                });
                            }
                        }
                    }
                }
            }
        });
        this.navigationService.items = this.menuList;
        this.defaultValuesService.setPermissionList(permissions);
        // this.rollBasedAccessService.setPermission();
        this.navigationService.changeMenuItemsStatus(true);
    }
    convertStringToIcon(icon) {
        switch (icon) {
            case 'icLayers': {
                return _iconify_icons_ic_twotone_layers__WEBPACK_IMPORTED_MODULE_3___default.a;
            }
            case 'icschool': {
                return _iconify_icons_ic_baseline_account_balance__WEBPACK_IMPORTED_MODULE_4___default.a;
            }
            case 'icstudents': {
                return _iconify_icons_ic_school__WEBPACK_IMPORTED_MODULE_13___default.a;
            }
            case 'icparents': {
                return _iconify_icons_ic_baseline_escalator_warning__WEBPACK_IMPORTED_MODULE_23___default.a;
            }
            case 'icusers': {
                return _iconify_icons_ic_people__WEBPACK_IMPORTED_MODULE_16___default.a;
            }
            case 'icbook': {
                return _iconify_icons_ic_baseline_book__WEBPACK_IMPORTED_MODULE_24___default.a;
            }
            case 'icschedule': {
                return _iconify_icons_ic_date_range__WEBPACK_IMPORTED_MODULE_17___default.a;
            }
            case 'icgrade': {
                return _iconify_icons_ic_baseline_insert_chart__WEBPACK_IMPORTED_MODULE_18___default.a;
            }
            case 'icattendance': {
                return _iconify_icons_ic_baseline_access_alarm__WEBPACK_IMPORTED_MODULE_19___default.a;
            }
            case 'icmessage': {
                return _iconify_icons_ic_baseline_mark_email_unread__WEBPACK_IMPORTED_MODULE_20___default.a;
            }
            case 'icreports': {
                return _iconify_icons_ic_baseline_bubble_chart__WEBPACK_IMPORTED_MODULE_21___default.a;
            }
            case 'icsettings': {
                return _iconify_icons_ic_settings__WEBPACK_IMPORTED_MODULE_15___default.a;
            }
            case 'ictools': {
                return _iconify_icons_ic_baseline_construction__WEBPACK_IMPORTED_MODULE_22___default.a;
            }
            case 'icCommunication': {
                return _iconify_icons_ic_mail__WEBPACK_IMPORTED_MODULE_6___default.a;
            }
            case 'icBehavior': {
                return _iconify_icons_ic_star__WEBPACK_IMPORTED_MODULE_7___default.a;
            }
            case 'icBillingFees': {
                return _iconify_icons_ic_outline_receipt_long__WEBPACK_IMPORTED_MODULE_8___default.a;
            }
            case 'icLibrary': {
                return _iconify_icons_ic_outline_menu_book__WEBPACK_IMPORTED_MODULE_9___default.a;
            }
            case 'icLms': {
                return _iconify_icons_ic_outline_local_library__WEBPACK_IMPORTED_MODULE_10___default.a;
            }
            case 'icCrm': {
                return _iconify_icons_fa_solid_handshake__WEBPACK_IMPORTED_MODULE_11___default.a;
            }
            case 'icEcommerce': {
                return _iconify_icons_ic_outline_shopping_cart__WEBPACK_IMPORTED_MODULE_12___default.a;
            }
            case 'icMyInfo': {
                return _iconify_icons_ic_school__WEBPACK_IMPORTED_MODULE_13___default.a;
            }
            case 'icGraduationProgress': {
                return _iconify_icons_ic_outline_insights__WEBPACK_IMPORTED_MODULE_14___default.a;
            }
            case 'icDistrictEnterprise': {
                return _iconify_icons_ic_outline_corporate_fare__WEBPACK_IMPORTED_MODULE_25___default.a;
            }
            case 'icAdmissionsEnrollment': {
                return _iconify_icons_ic_outline_description__WEBPACK_IMPORTED_MODULE_26___default.a;
            }
            case 'icLessonPlanLibrary': {
                return _iconify_icons_ic_outline_fact_check__WEBPACK_IMPORTED_MODULE_27___default.a;
            }
            default: {
                return _iconify_icons_ic_info__WEBPACK_IMPORTED_MODULE_5___default.a;
            }
        }
    }
    ngOnDestroy() {
        this.schoolService.changeSchoolListStatus({ schoolChanged: false, schoolLoaded: false, dataFromUserLogin: false, academicYearChanged: false, academicYearLoaded: false });
        this.destroySubject$.next();
        this.destroySubject$.complete();
    }
}
AppComponent.ɵfac = function AppComponent_Factory(t) { return new (t || AppComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_vex_services_config_service__WEBPACK_IMPORTED_MODULE_38__["ConfigService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_vex_services_style_service__WEBPACK_IMPORTED_MODULE_39__["StyleService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_40__["Platform"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_vex_services_layout_service__WEBPACK_IMPORTED_MODULE_41__["LayoutService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_42__["ActivatedRoute"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_vex_services_navigation_service__WEBPACK_IMPORTED_MODULE_43__["NavigationService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_school_service__WEBPACK_IMPORTED_MODULE_44__["SchoolService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_vex_services_splash_screen_service__WEBPACK_IMPORTED_MODULE_45__["SplashScreenService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_roll_based_access_service__WEBPACK_IMPORTED_MODULE_46__["RollBasedAccessService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_Crypto_service__WEBPACK_IMPORTED_MODULE_47__["CryptoService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_48__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_49__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_common_service__WEBPACK_IMPORTED_MODULE_50__["CommonService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](angular_user_idle__WEBPACK_IMPORTED_MODULE_51__["UserIdleService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_42__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_52__["MatDialog"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_49__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_vex_services_session_service__WEBPACK_IMPORTED_MODULE_53__["SessionService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_login_service__WEBPACK_IMPORTED_MODULE_54__["LoginService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"])); };
AppComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: AppComponent, selectors: [["vex-root"]], features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([_angular_common__WEBPACK_IMPORTED_MODULE_2__["CurrencyPipe"]])], decls: 1, vars: 0, template: function AppComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "router-outlet");
    } }, directives: [_angular_router__WEBPACK_IMPORTED_MODULE_42__["RouterOutlet"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2FwcC5jb21wb25lbnQuc2NzcyJ9 */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AppComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-root',
                templateUrl: './app.component.html',
                styleUrls: ['./app.component.scss'],
                providers: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["CurrencyPipe"]]
            }]
    }], function () { return [{ type: _vex_services_config_service__WEBPACK_IMPORTED_MODULE_38__["ConfigService"] }, { type: _vex_services_style_service__WEBPACK_IMPORTED_MODULE_39__["StyleService"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"] }, { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_40__["Platform"] }, { type: Document, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
                args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"]]
            }] }, { type: undefined, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
                args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]
            }] }, { type: _vex_services_layout_service__WEBPACK_IMPORTED_MODULE_41__["LayoutService"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_42__["ActivatedRoute"] }, { type: _vex_services_navigation_service__WEBPACK_IMPORTED_MODULE_43__["NavigationService"] }, { type: _services_school_service__WEBPACK_IMPORTED_MODULE_44__["SchoolService"] }, { type: _vex_services_splash_screen_service__WEBPACK_IMPORTED_MODULE_45__["SplashScreenService"] }, { type: _services_roll_based_access_service__WEBPACK_IMPORTED_MODULE_46__["RollBasedAccessService"] }, { type: _services_Crypto_service__WEBPACK_IMPORTED_MODULE_47__["CryptoService"] }, { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_48__["TranslateService"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_49__["DefaultValuesService"] }, { type: _services_common_service__WEBPACK_IMPORTED_MODULE_50__["CommonService"] }, { type: angular_user_idle__WEBPACK_IMPORTED_MODULE_51__["UserIdleService"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_42__["Router"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_52__["MatDialog"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_49__["DefaultValuesService"] }, { type: src_vex_services_session_service__WEBPACK_IMPORTED_MODULE_53__["SessionService"] }, { type: _services_login_service__WEBPACK_IMPORTED_MODULE_54__["LoginService"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"] }, { type: HTMLDocument, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
                args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"]]
            }] }]; }, null); })();


/***/ }),

/***/ "./src/app/app.module.ts":
/*!*******************************!*\
  !*** ./src/app/app.module.ts ***!
  \*******************************/
/*! exports provided: createTranslateLoader, AppModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createTranslateLoader", function() { return createTranslateLoader; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppModule", function() { return AppModule; });
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/__ivy_ngcc__/fesm2015/platform-browser.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _app_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./app-routing.module */ "./src/app/app-routing.module.ts");
/* harmony import */ var _app_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./app.component */ "./src/app/app.component.ts");
/* harmony import */ var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/platform-browser/animations */ "./node_modules/@angular/platform-browser/__ivy_ngcc__/fesm2015/animations.js");
/* harmony import */ var _vex_vex_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../@vex/vex.module */ "./src/@vex/vex.module.ts");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var _custom_layout_custom_layout_module__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./custom-layout/custom-layout.module */ "./src/app/custom-layout/custom-layout.module.ts");
/* harmony import */ var _services_error_interceptor__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./services/error.interceptor */ "./src/app/services/error.interceptor.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _ngx_translate_http_loader__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ngx-translate/http-loader */ "./node_modules/@ngx-translate/http-loader/__ivy_ngcc__/fesm2015/ngx-translate-http-loader.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/material/input */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/input.js");
/* harmony import */ var _angular_material_select__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/material/select */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/select.js");
/* harmony import */ var _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/material/datepicker */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/datepicker.js");
/* harmony import */ var _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/material/checkbox */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/checkbox.js");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var ngx_quill__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ngx-quill */ "./node_modules/ngx-quill/__ivy_ngcc__/fesm2015/ngx-quill.js");
/* harmony import */ var _auth0_angular_jwt__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @auth0/angular-jwt */ "./node_modules/@auth0/angular-jwt/__ivy_ngcc__/fesm2015/auth0-angular-jwt.js");
/* harmony import */ var _services_loader_interceptor__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./services/loader.interceptor */ "./src/app/services/loader.interceptor.ts");
/* harmony import */ var _services_loader_service__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./services/loader.service */ "./src/app/services/loader.service.ts");
/* harmony import */ var _services_response_message_service__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./services/response-message.service */ "./src/app/services/response-message.service.ts");
/* harmony import */ var _pages_shared_module_confirm_dialog_confirm_dialog_component__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./pages/shared-module/confirm-dialog/confirm-dialog.component */ "./src/app/pages/shared-module/confirm-dialog/confirm-dialog.component.ts");
/* harmony import */ var ng_pick_datetime__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ng-pick-datetime */ "./node_modules/ng-pick-datetime/__ivy_ngcc__/picker.js");
/* harmony import */ var angular_calendar__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! angular-calendar */ "./node_modules/angular-calendar/__ivy_ngcc__/fesm2015/angular-calendar.js");
/* harmony import */ var angular_calendar_date_adapters_date_fns__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! angular-calendar/date-adapters/date-fns */ "./node_modules/angular-calendar/date-adapters/date-fns/index.js");
/* harmony import */ var angular_calendar_date_adapters_date_fns__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(angular_calendar_date_adapters_date_fns__WEBPACK_IMPORTED_MODULE_25__);
/* harmony import */ var angular_user_idle__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! angular-user-idle */ "./node_modules/angular-user-idle/__ivy_ngcc__/fesm2015/angular-user-idle.js");
/* harmony import */ var ngx_mask__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ngx-mask */ "./node_modules/ngx-mask/__ivy_ngcc__/fesm2015/ngx-mask.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _pages_static_page_static_page_component__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./pages/static-page/static-page.component */ "./src/app/pages/static-page/static-page.component.ts");





































function createTranslateLoader(http) {
    return new _ngx_translate_http_loader__WEBPACK_IMPORTED_MODULE_10__["TranslateHttpLoader"](http, './assets/i18n/', '.json');
}
Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["enableProdMode"])();
class AppModule {
}
AppModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: AppModule, bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_3__["AppComponent"]] });
AppModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ factory: function AppModule_Factory(t) { return new (t || AppModule)(); }, providers: [{
            provide: _angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HTTP_INTERCEPTORS"],
            useClass: _services_error_interceptor__WEBPACK_IMPORTED_MODULE_8__["ErrorIntercept"],
            multi: true
        },
        { provide: _auth0_angular_jwt__WEBPACK_IMPORTED_MODULE_18__["JWT_OPTIONS"], useValue: _auth0_angular_jwt__WEBPACK_IMPORTED_MODULE_18__["JWT_OPTIONS"] },
        { provide: _angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HTTP_INTERCEPTORS"], useClass: _services_loader_interceptor__WEBPACK_IMPORTED_MODULE_19__["LoaderInterceptor"], multi: true },
        _services_loader_service__WEBPACK_IMPORTED_MODULE_20__["LoaderService"],
        _auth0_angular_jwt__WEBPACK_IMPORTED_MODULE_18__["JwtHelperService"],
        _services_response_message_service__WEBPACK_IMPORTED_MODULE_21__["ResponseMessageService"], _angular_common__WEBPACK_IMPORTED_MODULE_28__["DatePipe"]
    ], imports: [[
            _angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"],
            ngx_mask__WEBPACK_IMPORTED_MODULE_27__["NgxMaskModule"].forRoot(),
            angular_calendar__WEBPACK_IMPORTED_MODULE_24__["CalendarModule"].forRoot({
                provide: angular_calendar__WEBPACK_IMPORTED_MODULE_24__["DateAdapter"],
                useFactory: angular_calendar_date_adapters_date_fns__WEBPACK_IMPORTED_MODULE_25__["adapterFactory"]
            }),
            _app_routing_module__WEBPACK_IMPORTED_MODULE_2__["AppRoutingModule"],
            _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_4__["BrowserAnimationsModule"],
            _angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HttpClientModule"],
            _angular_material_input__WEBPACK_IMPORTED_MODULE_12__["MatInputModule"],
            _angular_material_select__WEBPACK_IMPORTED_MODULE_13__["MatSelectModule"],
            _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_14__["MatDatepickerModule"],
            _angular_material_core__WEBPACK_IMPORTED_MODULE_11__["MatNativeDateModule"],
            _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_15__["MatCheckboxModule"],
            _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_16__["MatSnackBarModule"],
            ng_pick_datetime__WEBPACK_IMPORTED_MODULE_23__["OwlDateTimeModule"],
            ng_pick_datetime__WEBPACK_IMPORTED_MODULE_23__["OwlNativeDateTimeModule"],
            angular_user_idle__WEBPACK_IMPORTED_MODULE_26__["UserIdleModule"],
            // Vex
            _vex_vex_module__WEBPACK_IMPORTED_MODULE_5__["VexModule"],
            _custom_layout_custom_layout_module__WEBPACK_IMPORTED_MODULE_7__["CustomLayoutModule"],
            _angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HttpClientModule"],
            ngx_quill__WEBPACK_IMPORTED_MODULE_17__["QuillModule"].forRoot({
                modules: {
                    toolbar: [
                        ['bold', 'italic', 'underline', 'strike'],
                        ['blockquote', 'code-block'],
                        [{ header: 1 }, { header: 2 }],
                        [{ list: 'ordered' }, { list: 'bullet' }],
                        [{ script: 'sub' }, { script: 'super' }],
                        [{ indent: '-1' }, { indent: '+1' }],
                        [{ direction: 'rtl' }],
                        [{ size: ['small', false, 'large', 'huge'] }],
                        [{ header: [1, 2, 3, 4, 5, 6, false] }],
                        [{ color: [] }, { background: [] }],
                        [{ align: [] }],
                        ['clean'],
                        ['link', 'image', 'video'] // link and image, video
                    ]
                }
            }),
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__["TranslateModule"].forRoot({
                loader: {
                    provide: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__["TranslateLoader"],
                    useFactory: (createTranslateLoader),
                    deps: [_angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HttpClient"]]
                }
            })
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](AppModule, { declarations: [_app_component__WEBPACK_IMPORTED_MODULE_3__["AppComponent"], _pages_static_page_static_page_component__WEBPACK_IMPORTED_MODULE_29__["StaticPageComponent"]], imports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"], ngx_mask__WEBPACK_IMPORTED_MODULE_27__["NgxMaskModule"], angular_calendar__WEBPACK_IMPORTED_MODULE_24__["CalendarModule"], _app_routing_module__WEBPACK_IMPORTED_MODULE_2__["AppRoutingModule"],
        _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_4__["BrowserAnimationsModule"],
        _angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HttpClientModule"],
        _angular_material_input__WEBPACK_IMPORTED_MODULE_12__["MatInputModule"],
        _angular_material_select__WEBPACK_IMPORTED_MODULE_13__["MatSelectModule"],
        _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_14__["MatDatepickerModule"],
        _angular_material_core__WEBPACK_IMPORTED_MODULE_11__["MatNativeDateModule"],
        _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_15__["MatCheckboxModule"],
        _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_16__["MatSnackBarModule"],
        ng_pick_datetime__WEBPACK_IMPORTED_MODULE_23__["OwlDateTimeModule"],
        ng_pick_datetime__WEBPACK_IMPORTED_MODULE_23__["OwlNativeDateTimeModule"],
        angular_user_idle__WEBPACK_IMPORTED_MODULE_26__["UserIdleModule"],
        // Vex
        _vex_vex_module__WEBPACK_IMPORTED_MODULE_5__["VexModule"],
        _custom_layout_custom_layout_module__WEBPACK_IMPORTED_MODULE_7__["CustomLayoutModule"],
        _angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HttpClientModule"], ngx_quill__WEBPACK_IMPORTED_MODULE_17__["QuillModule"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__["TranslateModule"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](AppModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"],
        args: [{
                declarations: [_app_component__WEBPACK_IMPORTED_MODULE_3__["AppComponent"], _pages_static_page_static_page_component__WEBPACK_IMPORTED_MODULE_29__["StaticPageComponent"]],
                imports: [
                    _angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"],
                    ngx_mask__WEBPACK_IMPORTED_MODULE_27__["NgxMaskModule"].forRoot(),
                    angular_calendar__WEBPACK_IMPORTED_MODULE_24__["CalendarModule"].forRoot({
                        provide: angular_calendar__WEBPACK_IMPORTED_MODULE_24__["DateAdapter"],
                        useFactory: angular_calendar_date_adapters_date_fns__WEBPACK_IMPORTED_MODULE_25__["adapterFactory"]
                    }),
                    _app_routing_module__WEBPACK_IMPORTED_MODULE_2__["AppRoutingModule"],
                    _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_4__["BrowserAnimationsModule"],
                    _angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HttpClientModule"],
                    _angular_material_input__WEBPACK_IMPORTED_MODULE_12__["MatInputModule"],
                    _angular_material_select__WEBPACK_IMPORTED_MODULE_13__["MatSelectModule"],
                    _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_14__["MatDatepickerModule"],
                    _angular_material_core__WEBPACK_IMPORTED_MODULE_11__["MatNativeDateModule"],
                    _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_15__["MatCheckboxModule"],
                    _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_16__["MatSnackBarModule"],
                    ng_pick_datetime__WEBPACK_IMPORTED_MODULE_23__["OwlDateTimeModule"],
                    ng_pick_datetime__WEBPACK_IMPORTED_MODULE_23__["OwlNativeDateTimeModule"],
                    angular_user_idle__WEBPACK_IMPORTED_MODULE_26__["UserIdleModule"],
                    // Vex
                    _vex_vex_module__WEBPACK_IMPORTED_MODULE_5__["VexModule"],
                    _custom_layout_custom_layout_module__WEBPACK_IMPORTED_MODULE_7__["CustomLayoutModule"],
                    _angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HttpClientModule"],
                    ngx_quill__WEBPACK_IMPORTED_MODULE_17__["QuillModule"].forRoot({
                        modules: {
                            toolbar: [
                                ['bold', 'italic', 'underline', 'strike'],
                                ['blockquote', 'code-block'],
                                [{ header: 1 }, { header: 2 }],
                                [{ list: 'ordered' }, { list: 'bullet' }],
                                [{ script: 'sub' }, { script: 'super' }],
                                [{ indent: '-1' }, { indent: '+1' }],
                                [{ direction: 'rtl' }],
                                [{ size: ['small', false, 'large', 'huge'] }],
                                [{ header: [1, 2, 3, 4, 5, 6, false] }],
                                [{ color: [] }, { background: [] }],
                                [{ align: [] }],
                                ['clean'],
                                ['link', 'image', 'video'] // link and image, video
                            ]
                        }
                    }),
                    _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__["TranslateModule"].forRoot({
                        loader: {
                            provide: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__["TranslateLoader"],
                            useFactory: (createTranslateLoader),
                            deps: [_angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HttpClient"]]
                        }
                    })
                ],
                providers: [{
                        provide: _angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HTTP_INTERCEPTORS"],
                        useClass: _services_error_interceptor__WEBPACK_IMPORTED_MODULE_8__["ErrorIntercept"],
                        multi: true
                    },
                    { provide: _auth0_angular_jwt__WEBPACK_IMPORTED_MODULE_18__["JWT_OPTIONS"], useValue: _auth0_angular_jwt__WEBPACK_IMPORTED_MODULE_18__["JWT_OPTIONS"] },
                    { provide: _angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HTTP_INTERCEPTORS"], useClass: _services_loader_interceptor__WEBPACK_IMPORTED_MODULE_19__["LoaderInterceptor"], multi: true },
                    _services_loader_service__WEBPACK_IMPORTED_MODULE_20__["LoaderService"],
                    _auth0_angular_jwt__WEBPACK_IMPORTED_MODULE_18__["JwtHelperService"],
                    _services_response_message_service__WEBPACK_IMPORTED_MODULE_21__["ResponseMessageService"], _angular_common__WEBPACK_IMPORTED_MODULE_28__["DatePipe"]
                ],
                entryComponents: [_pages_shared_module_confirm_dialog_confirm_dialog_component__WEBPACK_IMPORTED_MODULE_22__["ConfirmDialogComponent"]],
                bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_3__["AppComponent"]],
                exports: [],
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/common/auth.guard.ts":
/*!**************************************!*\
  !*** ./src/app/common/auth.guard.ts ***!
  \**************************************/
/*! exports provided: AuthGuard */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AuthGuard", function() { return AuthGuard; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _services_login_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../services/login.service */ "./src/app/services/login.service.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");





class AuthGuard {
    constructor(router, loginService, locationStrategy) {
        this.router = router;
        this.loginService = loginService;
        this.locationStrategy = locationStrategy;
    }
    canActivate() {
        if (!this.loginService.isAuthenticated()) {
            this.router.navigate(['/']);
            return false;
        }
        return true;
    }
}
AuthGuard.ɵfac = function AuthGuard_Factory(t) { return new (t || AuthGuard)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_services_login_service__WEBPACK_IMPORTED_MODULE_2__["LoginService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_3__["LocationStrategy"])); };
AuthGuard.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: AuthGuard, factory: AuthGuard.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AuthGuard, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{ providedIn: 'root' }]
    }], function () { return [{ type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] }, { type: _services_login_service__WEBPACK_IMPORTED_MODULE_2__["LoginService"] }, { type: _angular_common__WEBPACK_IMPORTED_MODULE_3__["LocationStrategy"] }]; }, null); })();


/***/ }),

/***/ "./src/app/common/default-values.service.ts":
/*!**************************************************!*\
  !*** ./src/app/common/default-values.service.ts ***!
  \**************************************************/
/*! exports provided: DefaultValuesService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DefaultValuesService", function() { return DefaultValuesService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _models_common_field_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../models/common-field.model */ "./src/app/models/common-field.model.ts");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _enums_module_enum__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../enums/module.enum */ "./src/app/enums/module.enum.ts");
/* harmony import */ var _plan_upgrade_plan_upgrade_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./plan-upgrade/plan-upgrade.component */ "./src/app/common/plan-upgrade/plan-upgrade.component.ts");
/* harmony import */ var _enums_profiles_enum__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../enums/profiles.enum */ "./src/app/enums/profiles.enum.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _services_Crypto_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../services/Crypto.service */ "./src/app/services/Crypto.service.ts");
/* harmony import */ var _pages_shared_shared_function__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../pages/shared/shared-function */ "./src/app/pages/shared/shared-function.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");














class DefaultValuesService {
    constructor(translateService, cryptoService, commonFunction, router, snackbar, dialog) {
        this.translateService = translateService;
        this.cryptoService = cryptoService;
        this.commonFunction = commonFunction;
        this.router = router;
        this.snackbar = snackbar;
        this.dialog = dialog;
        this.commonModel = new _models_common_field_model__WEBPACK_IMPORTED_MODULE_1__["CommonField"]();
        this.newSubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"]();
        this.photoChange = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"]();
        this.photoChanged = this.photoChange.asObservable();
        this.sendPercentageCount = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"]();
        this.receivePercentageCount = this.sendPercentageCount.asObservable();
        this.customFieldsCheckParentComp = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](false);
        this.customFieldsCheckParentCompObs = this.customFieldsCheckParentComp.asObservable();
        this.TenantId = '';
        this.sendAllSchoolFlagSubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"]();
        this.sendIncludeFlagSubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"]();
        this.setReportCompoentTitle = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"]();
        this.setCommunicationPageTitle = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"]('inbox');
        this.communicationPageTitle$ = this.setCommunicationPageTitle.asObservable();
        this.superAdminData = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"]();
        this.profiles = _enums_profiles_enum__WEBPACK_IMPORTED_MODULE_6__["ProfilesTypes"];
    }
    // For staging server deploy
    setDefaultTenant() {
        return new Promise((resolve, reject) => {
            const url = window.location.href;
            if (url.includes('localhost')) {
                sessionStorage.setItem('tenant', JSON.stringify('110'));
                // "opensisv2_ef6"
            }
            else {
                let startIndex = url.indexOf('//');
                let endIndex = url.indexOf('.');
                let tenantName = url.substr(startIndex + 2, endIndex - (startIndex + 2));
                sessionStorage.setItem('tenant', JSON.stringify(tenantName));
            }
            resolve('');
        });
    }
    // For ML server deploy
    // setDefaultTenant() {
    //   return new Promise((resolve, reject)=>{
    //   let tenant = '';
    //     sessionStorage.setItem('tenant', JSON.stringify('o30'));
    // //     tenant = 'o30';
    // // this.commonModel._tenantName = tenant;
    //   resolve('');
    //   })
    // }
    setPlanId(planId) {
        sessionStorage.setItem("planId", JSON.stringify(planId));
    }
    getDefaultTenant() {
        return JSON.parse(sessionStorage.getItem('tenant'));
    }
    getUserName() {
        let user = JSON.parse(sessionStorage.getItem('user'));
        this.commonModel._userName = user ? user : "";
        return this.commonModel._userName;
    }
    getEmailId() {
        let email = JSON.parse(sessionStorage.getItem('email'));
        return email;
    }
    getUserGuidId() {
        return JSON.parse(sessionStorage.getItem('UserGuidId'));
    }
    setOnlinePaymentService(onlinePaymentService) {
        sessionStorage.setItem("onlinePaymentService", JSON.stringify(onlinePaymentService));
    }
    getOnlinePaymentService() {
        return JSON.parse(sessionStorage.getItem("onlinePaymentService"));
    }
    setTempExternalPaymentInfo(externalPaymentInfo) {
        sessionStorage.setItem("tempExternalPaymentInfo", JSON.stringify(externalPaymentInfo));
    }
    getTempExternalPaymentInfo() {
        return JSON.parse(sessionStorage.getItem("tempExternalPaymentInfo"));
    }
    setTempExternalSubscriptionInfo(externalSubscriptionInfo) {
        sessionStorage.setItem("tempExternalSubscriptionInfo", JSON.stringify(externalSubscriptionInfo));
    }
    getTempExternalSubscriptionInfo() {
        return JSON.parse(sessionStorage.getItem("tempExternalSubscriptionInfo"));
    }
    setToken(token) {
        return new Promise((resolve, reject) => {
            sessionStorage.setItem('token', JSON.stringify(token));
            resolve('');
        });
    }
    getToken() {
        this.commonModel._token = JSON.parse(sessionStorage.getItem('token'));
        return JSON.parse(sessionStorage.getItem('token'));
    }
    setTenantID() {
        var _a;
        if (((_a = this.TenantId) === null || _a === void 0 ? void 0 : _a.trim().length) > 0) {
            this.TenantId = JSON.parse(sessionStorage.getItem('tenantId'));
        }
    }
    getTenantID() {
        if (sessionStorage.tenantData) {
            return JSON.parse(sessionStorage.tenantData).tenantId;
        }
        else {
            return JSON.parse(sessionStorage.getItem('tenantId'));
        }
    }
    setSchoolID(schoolId, setScholIdForStudent) {
        if (schoolId && !setScholIdForStudent) {
            sessionStorage.setItem("selectedSchoolId", JSON.stringify(schoolId)); //JSON.Stringify
            this.schoolID = JSON.parse(sessionStorage.getItem("selectedSchoolId"));
            return;
        }
        if (setScholIdForStudent) {
            this.schoolID = +schoolId;
            return;
        }
        if (this.schoolID === null || typeof (schoolId) === "undefined") {
            this.schoolID = JSON.parse(sessionStorage.getItem("selectedSchoolId"));
        }
    }
    setFullAcademicYear(fulltAcademicYear) {
        sessionStorage.setItem("fullAcademicYear", JSON.stringify(fulltAcademicYear));
    }
    getFullAcademicYear() {
        return JSON.parse(sessionStorage.getItem("fullAcademicYear"));
    }
    setCourseSectionName(selectedCourseSectionName) {
        sessionStorage.setItem("selectedCourseSectionName", JSON.stringify(selectedCourseSectionName));
    }
    getCourseSectionName() {
        return JSON.parse(sessionStorage.getItem("selectedCourseSectionName"));
    }
    setAcademicYear(academicYear, setScholIdForStudent) {
        if (setScholIdForStudent) {
            this.academicYear = academicYear;
        }
        else {
            sessionStorage.setItem("academicyear", JSON.stringify(academicYear));
        }
    }
    getAcademicYear() {
        if (this.academicYear) {
            return this.academicYear;
        }
        else {
            return JSON.parse(sessionStorage.getItem("academicyear"));
        }
    }
    clearAcademicYear() {
        sessionStorage.removeItem("academicyear");
        this.academicYear = undefined;
    }
    setSessionCalendarStartDate(startDate) {
        if (startDate) {
            sessionStorage.setItem("sessionCalendarStartDate", JSON.stringify(startDate));
        }
    }
    getSessionCalendarStartDate() {
        return JSON.parse(sessionStorage.getItem("sessionCalendarStartDate"));
    }
    setSessionCalendarEndDate(endDate) {
        if (endDate) {
            this.sessionCalendarEndDate = endDate;
            sessionStorage.setItem("sessionCalendarEndDate", JSON.stringify(endDate));
        }
    }
    getSessionCalendarEndDate() {
        return JSON.parse(sessionStorage.getItem("sessionCalendarEndDate"));
    }
    getSchoolID() {
        if (!this.schoolID) {
            this.setSchoolID();
        }
        return this.schoolID;
    }
    // setFinYear(finYear?: string) {
    //   this.commonModel.finYear = sessionStorage.getItem('FinancialYear');
    // }
    // getFinYear() {
    //   this.commonModel.finYear = sessionStorage.getItem('FinancialYear');
    //   return this.commonModel.finYear;
    // }
    getAllMandatoryVariable(obj) {
        obj._tenantName = this.getDefaultTenant();
        obj._userName = this.getUserName();
        obj._token = this.getToken();
        obj._academicYear = this.getAcademicYear();
        obj.tenantId = this.getTenantID();
        obj.schoolId = this.getSchoolID();
        return obj;
    }
    getTenent() {
        return JSON.parse(sessionStorage.getItem('tenant'));
    }
    getuserMembershipID() {
        return JSON.parse(sessionStorage.getItem('userMembershipID'));
    }
    getuserMembershipName() {
        return JSON.parse(sessionStorage.getItem('membershipName'));
    }
    getUserMembershipType() {
        return JSON.parse(sessionStorage.getItem('membershipType'));
    }
    setUserMembershipType(membershipType) {
        if (membershipType) {
            sessionStorage.setItem("membershipType", JSON.stringify(membershipType));
        }
    }
    translateKey(key) {
        let trnaslateKey;
        this.translateService.get(key).subscribe((res) => {
            trnaslateKey = res;
        });
        return trnaslateKey;
    }
    setPageSize(data) {
        sessionStorage.setItem('pageSize', JSON.stringify(data));
    }
    getPageSize() {
        return JSON.parse(sessionStorage.getItem('pageSize'));
    }
    setMarkingPeriodStartDate(mpStartDate) {
        sessionStorage.setItem("markingPeriodStartDate", JSON.stringify(mpStartDate));
    }
    getMarkingPeriodStartDate() {
        return JSON.parse(sessionStorage.getItem("markingPeriodStartDate"));
    }
    setMarkingPeriodEndDate(mpEndDate) {
        sessionStorage.setItem("markingPeriodEndDate", JSON.stringify(mpEndDate));
    }
    getMarkingPeriodEndDate() {
        return JSON.parse(sessionStorage.getItem("markingPeriodEndDate"));
    }
    createPermissionKeyName() {
        let membershipId = this.getuserMembershipID();
        this.permissionListKeyName = `permissions${membershipId}`;
        return membershipId;
    }
    decryptJson(value) {
        return this.cryptoService.jsonDecrypt(value);
    }
    encryptJson(value) {
        return this.cryptoService.jsonEncrypt(value);
    }
    setPermissionList(permissionList) {
        let membershipId = this.createPermissionKeyName();
        localStorage.setItem(`permissions${membershipId}`, this.cryptoService.dataEncrypt(JSON.stringify(permissionList)));
    }
    getPermissionList() {
        this.createPermissionKeyName();
        if (localStorage.getItem(this.permissionListKeyName)) {
            let permissionList = JSON.parse(this.cryptoService.dataDecrypt(localStorage.getItem(this.permissionListKeyName)));
            return permissionList;
        }
        return null;
    }
    setMarkingPeriodId(id) {
        sessionStorage.setItem("markingPeriodId", JSON.stringify(id));
    }
    setMarkingPeriodTitle(title) {
        sessionStorage.setItem("markingPeriodTitle", JSON.stringify(title));
    }
    getMarkingPeriodTitle() {
        return JSON.parse(sessionStorage.getItem("markingPeriodTitle"));
    }
    getMarkingPeriodId() {
        return JSON.parse(sessionStorage.getItem("markingPeriodId"));
    }
    //new changes for get------------------------------------------------
    getUserId() {
        return JSON.parse(sessionStorage.getItem('userId'));
    }
    getUserMasterId() {
        return JSON.parse(sessionStorage.getItem('userMasterId'));
    }
    getHttpError() {
        return JSON.parse(sessionStorage.getItem("httpError"));
    }
    getTenantName() {
        return JSON.parse(sessionStorage.getItem('tenant'));
    }
    getuserPhoto() {
        return JSON.parse(sessionStorage.getItem('userPhoto'));
    }
    getLanguage() {
        return JSON.parse(sessionStorage.getItem("language"));
    }
    getBuildVersion() {
        return JSON.parse(sessionStorage.getItem('buildVersion'));
    }
    getCourseSectionForAttendance() {
        return JSON.parse(sessionStorage.getItem("courseSectionForAttendance"));
    }
    getFullYearStartDate() {
        return JSON.parse(sessionStorage.getItem("schoolYearStartDate"));
    }
    getFullYearEndDate() {
        return JSON.parse(sessionStorage.getItem("schoolYearEndDate"));
    }
    getSchoolOpened() {
        return JSON.parse(sessionStorage.getItem('schoolOpened'));
    }
    getSchoolClosed() {
        return JSON.parse(sessionStorage.getItem('schoolClosed'));
    }
    getFullUserName() {
        return JSON.parse(sessionStorage.getItem('fullUserName'));
    }
    getSourceName() {
        return JSON.parse(sessionStorage.getItem('sourceName'));
    }
    getIsForImpersonate() {
        return JSON.parse(sessionStorage.getItem('isForImpersonate'));
    }
    getTempACHPaymentData() {
        return JSON.parse(sessionStorage.getItem('tempACHPaymentData'));
    }
    getSelectedCourseSection() {
        return JSON.parse(sessionStorage.getItem('selectedCourseSection'));
    }
    //new changes for set---------------------------------
    setFullUserName(fullUserName) {
        sessionStorage.setItem("fullUserName", JSON.stringify(fullUserName));
    }
    setSourceName(sourceName) {
        sessionStorage.setItem("sourceName", JSON.stringify(sourceName));
    }
    setIsForImpersonate(isForImpersonate) {
        sessionStorage.setItem("isForImpersonate", JSON.stringify(isForImpersonate));
    }
    setTempACHPaymentData(tempACHPaymentData) {
        sessionStorage.setItem("tempACHPaymentData", JSON.stringify(tempACHPaymentData));
    }
    setErrorMessage(errorMessage) {
        sessionStorage.setItem("httpError", JSON.stringify(errorMessage));
    }
    setSchoolOpened(schoolOpened) {
        sessionStorage.setItem("schoolOpened", JSON.stringify(schoolOpened));
    }
    setSchoolClosed(schoolClosed) {
        sessionStorage.setItem("schoolClosed", JSON.stringify(schoolClosed));
    }
    setFullYearStartDate(fullYearStartDate) {
        sessionStorage.setItem("schoolYearStartDate", JSON.stringify(fullYearStartDate));
    }
    setFullYearEndDate(fullYearEndDate) {
        sessionStorage.setItem("schoolYearEndDate", JSON.stringify(fullYearEndDate));
    }
    setTenantIdVal(tenantId) {
        sessionStorage.setItem("tenantId", JSON.stringify(tenantId));
    }
    setEmailId(email) {
        sessionStorage.setItem("email", JSON.stringify(email));
    }
    setUserGuidId(email) {
        sessionStorage.setItem("UserGuidId", JSON.stringify(email));
    }
    setUserName(user) {
        sessionStorage.setItem("user", JSON.stringify(user));
    }
    setUserId(userId) {
        sessionStorage.setItem("userId", JSON.stringify(userId));
    }
    setUserPhoto(userPhoto) {
        sessionStorage.setItem("userPhoto", JSON.stringify(userPhoto));
    }
    setUserMembershipID(userMembershipID) {
        sessionStorage.setItem("userMembershipID", JSON.stringify(userMembershipID));
    }
    setuserMembershipName(membershipName) {
        sessionStorage.setItem("membershipName", JSON.stringify(membershipName));
    }
    setLanguage(language) {
        sessionStorage.setItem("language", JSON.stringify(language));
    }
    setSelectedCourseSection(selectedCourseSection) {
        sessionStorage.setItem("selectedCourseSection", JSON.stringify(selectedCourseSection));
    }
    setUserMasterId(userMasterId) {
        sessionStorage.setItem("userMasterId", JSON.stringify(userMasterId));
    }
    //new changes foe localStorage get
    getPageData() {
        return JSON.parse(localStorage.getItem("pageData"));
    }
    getCourseSectionId() {
        return JSON.parse(localStorage.getItem('courseSectionId'));
    }
    getCollapseValue() {
        return JSON.parse(localStorage.getItem("collapseValue"));
    }
    getSchoolCount() {
        return JSON.parse(localStorage.getItem("schoolCount"));
    }
    //new changes foe localStorage set
    setPageData(pageData) {
        localStorage.setItem("pageData", JSON.stringify(pageData));
    }
    setCollapseValue(collapseValue) {
        localStorage.setItem("collapseValue", JSON.stringify(collapseValue));
    }
    setCourseSectionId(courseSectionId) {
        localStorage.setItem("courseSectionId", JSON.parse(courseSectionId));
    }
    setSchoolCount(schoolCount) {
        localStorage.setItem("schoolCount", JSON.stringify(schoolCount));
    }
    setTenantData(data) {
        sessionStorage.setItem('tenantData', JSON.stringify(data));
    }
    getTenantData() {
        return JSON.parse(sessionStorage.getItem('tenantData'));
    }
    setTenantAddonData(data) {
        sessionStorage.setItem('tenantAddonData', JSON.stringify(data));
    }
    getTenantAddonData() {
        return JSON.parse(sessionStorage.getItem('tenantAddonData'));
    }
    isEnterPriseClient() {
        let tenantInfo = this.getTenantData();
        let zohoPlanId = tenantInfo.zohoPlanId;
        return zohoPlanId.includes('ent-');
    }
    isModuleAccessible(key, value, childPermissionValue) {
        var _a, _b, _c, _d, _e, _f;
        let permissions = this.getPermissionList().permissionList;
        let finalPermissionCategoryNameList;
        let finalPermissionSubCategoryNameList;
        // Fetch permission group
        let finalList = permissions.filter(function (item) {
            return item.permissionGroup[key] === value;
        });
        if (!!childPermissionValue) {
            finalPermissionCategoryNameList = (_c = (_b = (_a = finalList[0]) === null || _a === void 0 ? void 0 : _a.permissionGroup) === null || _b === void 0 ? void 0 : _b.permissionCategory) === null || _c === void 0 ? void 0 : _c.filter((item) => (item.permissionCategoryName.toLowerCase().trim()) === (childPermissionValue.toLowerCase().trim()));
            if (finalPermissionCategoryNameList.length > 0) {
                return true;
            }
            else {
                let permission = [];
                finalPermissionSubCategoryNameList = (_f = (_e = (_d = finalList[0]) === null || _d === void 0 ? void 0 : _d.permissionGroup) === null || _e === void 0 ? void 0 : _e.permissionCategory) === null || _f === void 0 ? void 0 : _f.forEach((item) => {
                    permission.push(item === null || item === void 0 ? void 0 : item.permissionSubcategory.filter((subItem) => subItem.permissionSubcategoryName === childPermissionValue)[0]);
                });
                permission = permission.filter(p => p !== undefined);
                if (permission.length > 0) {
                    return true;
                }
                return false;
            }
        }
        else {
            if (finalList.length > 0) {
                if (finalList[0].permissionGroup.active) {
                    if (finalList[0].permissionGroup.rolePermission[0].canView) {
                        return true;
                    }
                }
            }
            return false;
        }
    }
    setOfflinePaymentDetail(data) {
        sessionStorage.setItem('setOfflinePaymentDetail', JSON.stringify(data));
    }
    getOfflinePaymentDetail() {
        return JSON.parse(sessionStorage.getItem('setOfflinePaymentDetail'));
    }
    setSubsctionInfoBeforePayment(data) {
        sessionStorage.setItem('setSubscriptionDetails', JSON.stringify(data));
    }
    getSubsctionInfoBeforePayment() {
        return JSON.parse(sessionStorage.getItem('setSubscriptionDetails'));
    }
    //useing of RxJs
    sendName(data) {
        this.newSubject.next(data);
    }
    sendAllSchoolFlag(data) {
        this.sendAllSchoolFlagSubject.next(data);
    }
    sendIncludeInactiveFlag(data) {
        this.sendIncludeFlagSubject.next(data);
    }
    sendPhoto(data) {
        this.photoChange.next(data);
    }
    setStudentId(id) {
        sessionStorage.setItem("studentId", JSON.stringify(id));
    }
    getStudentId() {
        return JSON.parse(sessionStorage.getItem('studentId'));
    }
    setStudentGuid(id) {
        sessionStorage.setItem("studentGuid", JSON.stringify(id));
    }
    getStudentGuid() {
        return JSON.parse(sessionStorage.getItem('studentGuid'));
    }
    checkAcademicYear() {
        return moment__WEBPACK_IMPORTED_MODULE_3__(this.commonFunction.formatDateSaveWithoutTime(new Date())).isSameOrBefore(this.getFullYearEndDate());
    }
    setSchoolName(schoolName) {
        sessionStorage.setItem("schoolName", JSON.stringify(schoolName));
    }
    getSchoolName() {
        return JSON.parse(sessionStorage.getItem("schoolName"));
    }
    setPageSetupCount(pageSetupCount) {
        sessionStorage.setItem("pageSetupCount", JSON.stringify(pageSetupCount));
    }
    getPageSetupCount() {
        return JSON.parse(sessionStorage.getItem("pageSetupCount"));
    }
    getSchoolDateFormat() {
        return JSON.parse(sessionStorage.getItem("schoolDateFormat"));
    }
    clearSchoolDateFormat() {
        return sessionStorage.removeItem("schoolDateFormat");
    }
    clearPageSetupCount() {
        return sessionStorage.removeItem("pageSetupCount");
    }
    setSchoolSetupProgress(schoolSetupProgress) {
        sessionStorage.setItem("schoolSetupProgress", JSON.stringify(schoolSetupProgress));
    }
    getSchoolSetupProgress() {
        return JSON.parse(sessionStorage.getItem("schoolSetupProgress"));
    }
    clearSchoolSetupProgress() {
        sessionStorage.removeItem("schoolSetupProgress");
    }
    setStudentCount(studentCount) {
        sessionStorage.setItem("studentCount", JSON.stringify(studentCount));
    }
    getStudentCount() {
        return JSON.parse(sessionStorage.getItem("studentCount"));
    }
    clearStudentCount() {
        sessionStorage.removeItem("studentCount");
    }
    setStaffCount(staffCount) {
        sessionStorage.setItem("staffCount", JSON.stringify(staffCount));
    }
    getStaffCount() {
        return JSON.parse(sessionStorage.getItem("staffCount"));
    }
    clearStaffCount() {
        sessionStorage.removeItem("staffCount");
    }
    setIsSetupGuard(isSetupGuard) {
        sessionStorage.setItem("isSetupGuard", JSON.stringify(isSetupGuard));
    }
    getIsSetupGuard() {
        return JSON.parse(sessionStorage.getItem("isSetupGuard"));
    }
    setSchoolDateFormat(schoolDateFormat) {
        sessionStorage.setItem("schoolDateFormat", JSON.stringify(schoolDateFormat));
    }
    setSchoolCurrency(schoolCurrency) {
        sessionStorage.setItem("schoolCurrency", JSON.stringify(schoolCurrency));
    }
    getSchoolCurrency() {
        return JSON.parse(sessionStorage.getItem("schoolCurrency"));
    }
    checkSubscriptionExpiredOrNot() {
        if (this.getTenantData().zohoPlanId === 'core01') {
            return false;
        }
        else if (this.getTenantData().zohoPlanStatus === 'trial_expired') {
            return true;
        }
        else if (this.getTenantData().zohoPlanStatus === 'expired') {
            return true;
        }
        else if (this.getTenantData().zohoPlanStatus === 'cancelled') {
            return true;
        }
        else if (this.getTenantData().zohoPlanStatus === 'unpaid') {
            return true;
        }
    }
    checkAndRestrictAddFunction(module) {
        let status = true;
        if (this.getTenantData().zohoPlanId !== null) {
            if (module === _enums_module_enum__WEBPACK_IMPORTED_MODULE_4__["Module"].SCHOOL) {
                if (this.getTenantData().zohoPlanId === 'core01' || this.getTenantData().zohoPlanId === 'corestartup-yearly' || this.getTenantData().zohoPlanId === 'corestartup-monthly' || (this.isEnterPriseClient() === false && this.getTenantData().zohoPlanStatus === 'trial')) {
                    this.snackbar.open('The limit for adding a school was exceeded. Please subscribe.', '', {
                        duration: 10000
                    });
                    // this.router.navigate(['/school', 'my-subscription', 'subscription-plan']);
                    this.checkProfileAndRedirectToDashboard();
                    this.dialog.open(_plan_upgrade_plan_upgrade_component__WEBPACK_IMPORTED_MODULE_5__["PlanUpgradeComponent"], {
                        width: '500px',
                        disableClose: true
                    });
                    status = false;
                }
            }
            else if (module === _enums_module_enum__WEBPACK_IMPORTED_MODULE_4__["Module"].STUDENT) {
                if (this.getTenantData().zohoPlanId === 'core01' || this.getTenantData().zohoPlanId === 'corestartup-yearly' || this.getTenantData().zohoPlanId === 'corestartup-monthly' || (this.isEnterPriseClient() === false && this.getTenantData().zohoPlanStatus === 'trial')) {
                    if (this.getStudentCount() >= this.getTenantData().maxFreeStudentSignup) {
                        this.snackbar.open('The limit for adding a student was exceeded. Please subscribe.', '', {
                            duration: 10000
                        });
                        // this.router.navigate(['/school', 'my-subscription', 'subscription-plan']);
                        this.checkProfileAndRedirectToDashboard();
                        this.dialog.open(_plan_upgrade_plan_upgrade_component__WEBPACK_IMPORTED_MODULE_5__["PlanUpgradeComponent"], {
                            width: '500px',
                            disableClose: true
                        });
                        status = false;
                    }
                }
            }
            else if (module === _enums_module_enum__WEBPACK_IMPORTED_MODULE_4__["Module"].STAFF) {
                if (this.getTenantData().zohoPlanId === 'core01' || this.getTenantData().zohoPlanId === 'corestartup-yearly' || this.getTenantData().zohoPlanId === 'corestartup-monthly' || (this.isEnterPriseClient() === false && this.getTenantData().zohoPlanStatus === 'trial')) {
                    if (this.getStaffCount() >= 5) {
                        this.snackbar.open('The limit for adding a staff was exceeded. Please subscribe.', '', {
                            duration: 10000
                        });
                        // this.router.navigate(['/school', 'my-subscription', 'subscription-plan']);
                        this.checkProfileAndRedirectToDashboard();
                        this.dialog.open(_plan_upgrade_plan_upgrade_component__WEBPACK_IMPORTED_MODULE_5__["PlanUpgradeComponent"], {
                            width: '500px',
                            disableClose: true
                        });
                        status = false;
                    }
                }
                else {
                    if (this.getTenantData().quantity && (this.getStaffCount() >= this.getTenantData().quantity)) {
                        this.snackbar.open('The limit for adding a staff was exceeded. Please subscribe.', '', {
                            duration: 10000
                        });
                        // this.router.navigate(['/school', 'my-subscription', 'subscription-plan']);
                        this.checkProfileAndRedirectToDashboard();
                        this.dialog.open(_plan_upgrade_plan_upgrade_component__WEBPACK_IMPORTED_MODULE_5__["PlanUpgradeComponent"], {
                            width: '500px',
                            disableClose: true
                        });
                        status = false;
                    }
                }
            }
        }
        return status;
    }
    checkExpiryDate() {
        const browserTime = moment__WEBPACK_IMPORTED_MODULE_3__["utc"](new Date());
        const zohoExpiryTime = moment__WEBPACK_IMPORTED_MODULE_3__["utc"](this.getTenantData().planExpiryDate);
        ;
        return Math.ceil((zohoExpiryTime.diff(browserTime, 'hours', true) + 4) / 24);
    }
    checkCoreStartUpPlan() {
        if (this.getTenantData().zohoPlanId === 'core01') {
            return false;
        }
        return true;
    }
    setImpersonateButton(impersonateButton) {
        sessionStorage.setItem("impersonateButton", JSON.stringify(impersonateButton));
    }
    getImpersonateButton() {
        return JSON.parse(sessionStorage.getItem("impersonateButton"));
    }
    checkProfileAndRedirectToDashboard(enableSubscriptionRouteOnly) {
        return new Promise((resolve, reject) => {
            if (enableSubscriptionRouteOnly) {
                this.router.navigate(['/school', 'my-subscription', 'subscription-plan']);
            }
            else {
                if (this.getUserMembershipType() === this.profiles.HomeroomTeacher || this.getUserMembershipType() === this.profiles.Teacher) {
                    this.router.navigateByUrl("/school/teacher/dashboards").then(() => {
                        resolve('');
                    });
                }
                else if (this.getUserMembershipType() === this.profiles.Student) {
                    this.router.navigateByUrl("/school/student/dashboards").then(() => {
                        resolve('');
                    });
                }
                else if (this.getUserMembershipType() === this.profiles.Parent) {
                    this.router.navigateByUrl("/school/parent/dashboards").then(() => {
                        resolve('');
                    });
                }
                else {
                    this.router.navigateByUrl("/school/dashboards", { state: { state: true } }).then(() => {
                        resolve('');
                    });
                }
            }
        });
    }
    maxLengthValidationErrMsg(requiredLength, currentLength) {
        return `${this.translateKey('theTextMayNotBeLongerThan')} ${requiredLength} ${this.translateKey('characters')}. ${this.translateKey('itIsCurrently')} ${currentLength} ${this.translateKey('charactersLong')}.`;
    }
    setSSOenabled(ssoEnabled) {
        sessionStorage.setItem('ssoEnabled', JSON.parse(ssoEnabled));
    }
    getSSOenabled() {
        return JSON.parse(sessionStorage.getItem('ssoEnabled'));
    }
    setSSOenabledonLoginBtn(ssoEnabled) {
        sessionStorage.setItem('ssoEnabledLoginBtn', JSON.parse(ssoEnabled));
    }
    getSSOenabledonLoginBtn() {
        return JSON.parse(sessionStorage.getItem('ssoEnabledLoginBtn'));
    }
    setClientLMSType(LMSType) {
        sessionStorage.setItem('clientLMS', LMSType);
    }
    getClientLMSType() {
        return sessionStorage.getItem('clientLMS');
    }
    setLMSClientStatus(LMSStatus) {
        sessionStorage.setItem('LMSClientStatus', LMSStatus);
    }
    getLMSClientStatus() {
        return JSON.parse(sessionStorage.getItem('LMSClientStatus'));
    }
    replaceLMSName(strToReplace) {
        let presentLMSName = this.getClientLMSType();
        if (presentLMSName === null || presentLMSName === undefined) {
            presentLMSName = 'LMS';
        }
        var replaceThis = new RegExp('LMS', 'g');
        if (!!this.translateKey(strToReplace)) {
            return this.translateKey(strToReplace).replace(replaceThis, presentLMSName);
        }
        else {
            if (strToReplace != '') {
                return strToReplace;
            }
            else {
                return '';
            }
        }
    }
    getLMSIconPath() {
        let lmsicon = '';
        if (this.getClientLMSType()) {
            lmsicon = this.getClientLMSType().toLowerCase();
        }
        return `assets/img/lms-icons/lms-${lmsicon.replace(" ", "-")}-icon.png`;
    }
    setSelectedCourseSectionForStaff(courseSection) {
        sessionStorage.setItem('selectedCourseSectionForStaff', JSON.stringify(courseSection));
    }
    getSelectedCourseSectionForStaff() {
        return JSON.parse(sessionStorage.getItem('selectedCourseSectionForStaff'));
    }
    setStaffMoodleId(staffMoodleId) {
        sessionStorage.setItem('staffMoodleId', staffMoodleId);
    }
    getStaffMoodleId() {
        return JSON.parse(sessionStorage.getItem('staffMoodleId'));
    }
    setStudentMoodleId(studentMoodleId) {
        sessionStorage.setItem('studentMoodleId', studentMoodleId);
    }
    getStudentMoodleId() {
        return JSON.parse(sessionStorage.getItem('studentMoodleId'));
    }
    setSubscriptionUserSSOenabled(ssoEnabled) {
        sessionStorage.setItem('subscriptionSsoEnabled', JSON.parse(ssoEnabled));
    }
    getSubscriptionUserSSOenabled() {
        return JSON.parse(sessionStorage.getItem('subscriptionSsoEnabled'));
    }
    setLoggedInUserMembershipType(membershipType) {
        sessionStorage.setItem('loggedInUserMembershipType', JSON.stringify(membershipType));
    }
    getLoggedInUserMembershipType() {
        return JSON.parse(sessionStorage.getItem('loggedInUserMembershipType'));
    }
    setLoggedInUserMembershipId(membershipId) {
        sessionStorage.setItem('loggedInUserMembershipId', JSON.stringify(membershipId));
    }
    getLoggedInUserMembershipId() {
        return JSON.parse(sessionStorage.getItem('loggedInUserMembershipId'));
    }
    // To check the current date belongs to the ongoing school year, returns boolean
    checkTodayInCurrentSession() {
        return (new Date(this.getFullYearEndDate()) >= new Date() && new Date(this.getFullYearStartDate()) <= new Date());
    }
}
DefaultValuesService.ɵfac = function DefaultValuesService_Factory(t) { return new (t || DefaultValuesService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_services_Crypto_service__WEBPACK_IMPORTED_MODULE_8__["CryptoService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_pages_shared_shared_function__WEBPACK_IMPORTED_MODULE_9__["SharedFunction"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_10__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__["MatSnackBar"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_12__["MatDialog"])); };
DefaultValuesService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: DefaultValuesService, factory: DefaultValuesService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](DefaultValuesService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root',
            }]
    }], function () { return [{ type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateService"] }, { type: _services_Crypto_service__WEBPACK_IMPORTED_MODULE_8__["CryptoService"] }, { type: _pages_shared_shared_function__WEBPACK_IMPORTED_MODULE_9__["SharedFunction"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_10__["Router"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__["MatSnackBar"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_12__["MatDialog"] }]; }, null); })();


/***/ }),

/***/ "./src/app/common/notifications/notification-details/notification-details.component.ts":
/*!*********************************************************************************************!*\
  !*** ./src/app/common/notifications/notification-details/notification-details.component.ts ***!
  \*********************************************************************************************/
/*! exports provided: NotificationDetailsComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotificationDetailsComponent", function() { return NotificationDetailsComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @iconify/icons-ic/close */ "./node_modules/@iconify/icons-ic/close.js");
/* harmony import */ var _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");











class NotificationDetailsComponent {
    constructor(translateService, dialogRef, data, defaultValuesService) {
        this.translateService = translateService;
        this.dialogRef = dialogRef;
        this.data = data;
        this.defaultValuesService = defaultValuesService;
        this.icClose = _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_1___default.a;
    }
    ngOnInit() {
    }
}
NotificationDetailsComponent.ɵfac = function NotificationDetailsComponent_Factory(t) { return new (t || NotificationDetailsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MatDialogRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MAT_DIALOG_DATA"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"])); };
NotificationDetailsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: NotificationDetailsComponent, selectors: [["vex-notification-details"]], decls: 11, vars: 7, consts: [["mat-dialog-title", "", 1, "flex", "justify-between", "items-start", "mb-4"], [1, "headline", "text-xl", "font-medium", "mb-2"], ["mat-dialog-close", "", "mat-icon-button", "", "type", "button", 1, "text-secondary"], [3, "icIcon"], [1, "pt-4"], [1, "mb-6", "whitespace-pre-wrap", 3, "innerHTML"]], template: function NotificationDetailsComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "h2", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "p");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "date");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "button", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "mat-icon", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "mat-dialog-content", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](10, "div", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.data[0].releaseTitle);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](6, 4, ctx.data[0].releaseDate, ctx.defaultValuesService.getSchoolDateFormat()));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icClose);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("innerHTML", ctx.data[0].releaseDetail, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeHtml"]);
    } }, directives: [_angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MatDialogTitle"], _angular_material_button__WEBPACK_IMPORTED_MODULE_5__["MatButton"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MatDialogClose"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_6__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_7__["IconDirective"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MatDialogContent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["DatePipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbW1vbi9ub3RpZmljYXRpb25zL25vdGlmaWNhdGlvbi1kZXRhaWxzL25vdGlmaWNhdGlvbi1kZXRhaWxzLmNvbXBvbmVudC5zY3NzIn0= */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NotificationDetailsComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-notification-details',
                templateUrl: './notification-details.component.html',
                styleUrls: ['./notification-details.component.scss']
            }]
    }], function () { return [{ type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__["TranslateService"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MatDialogRef"] }, { type: undefined, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
                args: [_angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MAT_DIALOG_DATA"]]
            }] }, { type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/common/notifications/notifications-routing.module.ts":
/*!**********************************************************************!*\
  !*** ./src/app/common/notifications/notifications-routing.module.ts ***!
  \**********************************************************************/
/*! exports provided: NotificationsRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotificationsRoutingModule", function() { return NotificationsRoutingModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");




const routes = [];
class NotificationsRoutingModule {
}
NotificationsRoutingModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: NotificationsRoutingModule });
NotificationsRoutingModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function NotificationsRoutingModule_Factory(t) { return new (t || NotificationsRoutingModule)(); }, imports: [[_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forChild(routes)], _angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](NotificationsRoutingModule, { imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]], exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NotificationsRoutingModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forChild(routes)],
                exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/common/notifications/notifications.component.ts":
/*!*****************************************************************!*\
  !*** ./src/app/common/notifications/notifications.component.ts ***!
  \*****************************************************************/
/*! exports provided: NotificationsComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotificationsComponent", function() { return NotificationsComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _notification_details_notification_details_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./notification-details/notification-details.component */ "./src/app/common/notifications/notification-details/notification-details.component.ts");
/* harmony import */ var src_app_models_notifications_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/models/notifications.model */ "./src/app/models/notifications.model.ts");
/* harmony import */ var src_app_pages_shared_module_confirm_dialog_confirm_dialog_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/pages/shared-module/confirm-dialog/confirm-dialog.component */ "./src/app/pages/shared-module/confirm-dialog/confirm-dialog.component.ts");
/* harmony import */ var _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/cdk/scrolling */ "./node_modules/@angular/cdk/__ivy_ngcc__/fesm2015/scrolling.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var src_app_services_notification_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! src/app/services/notification.service */ "./src/app/services/notification.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _angular_material_divider__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/material/divider */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/divider.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/material/menu */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/menu.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/material/tooltip */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/tooltip.js");




















function NotificationsComponent_div_9_li_4_ng_container_5_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "img", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} }
function NotificationsComponent_div_9_li_4_ng_template_6_span_1_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "img", 27);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matTooltip", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 1, "thisNotificationIsPinned"));
} }
function NotificationsComponent_div_9_li_4_ng_template_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 23);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, NotificationsComponent_div_9_li_4_ng_template_6_span_1_Template, 3, 3, "span", 24);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "button", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "mat-icon");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "more_vert");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const item_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", item_r5.isPinned);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matMenuTriggerFor", _r10);
} }
function NotificationsComponent_div_9_li_4_button_10_Template(rf, ctx) { if (rf & 1) {
    const _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function NotificationsComponent_div_9_li_4_button_10_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r17); const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); const item_r5 = ctx_r16.$implicit; const i_r6 = ctx_r16.index; const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r15.pinUnpinNotification(item_r5, i_r6); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 1, "pinNotification"));
} }
function NotificationsComponent_div_9_li_4_button_11_Template(rf, ctx) { if (rf & 1) {
    const _r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function NotificationsComponent_div_9_li_4_button_11_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r20); const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); const item_r5 = ctx_r19.$implicit; const i_r6 = ctx_r19.index; const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r18.pinUnpinNotification(item_r5, i_r6); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 1, "unpinNotification"));
} }
function NotificationsComponent_div_9_li_4_Template(rf, ctx) { if (rf & 1) {
    const _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "li", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, NotificationsComponent_div_9_li_4_ng_container_5_Template, 2, 0, "ng-container", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, NotificationsComponent_div_9_li_4_ng_template_6_Template, 5, 2, "ng-template", null, 15, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "mat-menu", 16, 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, NotificationsComponent_div_9_li_4_button_10_Template, 4, 3, "button", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](11, NotificationsComponent_div_9_li_4_button_11_Template, 4, 3, "button", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "button", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function NotificationsComponent_div_9_li_4_Template_button_click_12_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22); const item_r5 = ctx.$implicit; const i_r6 = ctx.index; const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r21.deleteNotification(item_r5, i_r6); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "span", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](15, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "h5", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](18);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](19, "p", 21);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](20);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](21, "date");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const item_r5 = ctx.$implicit;
    const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](7);
    const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", item_r5.isPinned ? "bg-skyblue-light pinned" : item_r5.isRead ? "bg-white" : "bg-gray-verylight");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", ctx_r3.getClassName(item_r5 == null ? null : item_r5.notificationMaster == null ? null : item_r5.notificationMaster.module));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r5 == null ? null : item_r5.notificationMaster == null ? null : item_r5.notificationMaster.module);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", item_r5.loading)("ngIfElse", _r8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !item_r5.isPinned);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", item_r5.isPinned);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](15, 11, "delete"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", item_r5.isRead ? "" : "font-semibold");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r5 == null ? null : item_r5.notificationMaster == null ? null : item_r5.notificationMaster.message);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](21, 13, item_r5 == null ? null : item_r5.notificationMaster == null ? null : item_r5.notificationMaster.timestamp, ctx_r3.defaultValuesService.getSchoolDateFormat()), " ");
} }
function NotificationsComponent_div_9_div_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 28);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 29);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "img", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 1, "loading"));
} }
function NotificationsComponent_div_9_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "cdk-virtual-scroll-viewport", 6, 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "ul");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, NotificationsComponent_div_9_li_4_Template, 22, 16, "li", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, NotificationsComponent_div_9_div_6_Template, 5, 3, "div", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("itemSize", 10)("ngClass", ctx_r0.defaultValuesService.getUserMembershipType() === "Student" || ctx_r0.defaultValuesService.getUserMembershipType() === "Parent" ? "student-portal" : "");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r0.generalNotificationsList);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.totalCount > ctx_r0.pageSize && ctx_r0.generalNotificationsList.length < ctx_r0.totalCount);
} }
function NotificationsComponent_div_10_ng_container_2_Template(rf, ctx) { if (rf & 1) {
    const _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 23);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 34);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "img", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function NotificationsComponent_div_10_ng_container_2_Template_div_click_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r26); const list_r24 = ctx.$implicit; const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r25.openNotificationDetails(list_r24); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "h5", 36);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "p", 21);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "date");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](10, "mat-divider", 37);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const list_r24 = ctx.$implicit;
    const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](list_r24.releaseTitle);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](9, 2, list_r24.releaseDate, ctx_r23.defaultValuesService.getSchoolDateFormat()), " ");
} }
function NotificationsComponent_div_10_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 31);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 32);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, NotificationsComponent_div_10_ng_container_2_Template, 11, 5, "ng-container", 33);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r1.notificationsList);
} }
class NotificationsComponent {
    constructor(translateService, dialog, notify, snackbar, defaultValuesService) {
        this.translateService = translateService;
        this.dialog = dialog;
        this.notify = notify;
        this.snackbar = snackbar;
        this.defaultValuesService = defaultValuesService;
        this.notificationsList = [];
        this.generalNotificationsList = [];
        this.showHideNotifications = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.hasRecentNotification = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.udpateNotificationUnreadCount = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.updateNotificationModel = new src_app_models_notifications_model__WEBPACK_IMPORTED_MODULE_2__["UpdateNotificationModel"]();
        this.generalNotifications = new src_app_models_notifications_model__WEBPACK_IMPORTED_MODULE_2__["GeneralNotifications"]();
        this.Notifications = new src_app_models_notifications_model__WEBPACK_IMPORTED_MODULE_2__["Notifications"]();
        this.currentTab = 'systemNotifications';
        this.loadMoreNotification = false;
        this.modules = [
            {
                module: "Marking Period",
                class: "bg-orange"
            },
            {
                module: "Grade Scale",
                class: "bg-teal"
            },
            {
                module: "Behavior",
                class: "bg-green"
            },
            {
                module: "Attendance",
                class: "bg-red"
            },
            {
                module: "Scheduling",
                class: "bg-accent"
            },
            {
                module: "Attendance Code",
                class: "bg-deep-orange"
            },
            {
                module: "Course Registration",
                class: "bg-amber"
            },
            {
                module: "Student",
                class: "bg-red"
            },
            {
                module: "Admission",
                class: "bg-green"
            },
            {
                module: "Billing",
                class: "bg-purple"
            },
            {
                module: "Custom Field",
                class: "bg-cyan"
            },
            {
                module: "Enrollment Code",
                class: "bg-deep-purple"
            }
        ];
    }
    ngOnInit() {
        var _a;
        if (this.generalNotificationsList.length > 0) {
            this.generalNotificationUnreadCount = (_a = (this.generalNotificationsList.filter(item => item.isRead === false))) === null || _a === void 0 ? void 0 : _a.length;
        }
        if (this.generalNotificationsList) {
            if (this.notificationType === 'general-notifications') {
                this.readAllNotifications();
            }
            this.arrangeNotifications();
        }
    }
    ngAfterViewInit() {
        if (this.notificationType === 'general-notifications') {
            this.scroller.elementScrolled().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["map"])(() => this.scroller.measureScrollOffset("bottom")), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["pairwise"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["filter"])(([y1, y2]) => (y2 < y1) && (y2 < 140)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["throttleTime"])(500)).subscribe(() => {
                this.onScroll();
            });
        }
    }
    readAllNotifications() {
        this.updateNotificationModel.schoolId = +this.defaultValuesService.getSchoolID();
        this.updateNotificationModel.profileType = this.defaultValuesService.getUserMembershipType();
        this.updateNotificationModel.userId = +this.defaultValuesService.getUserId();
        this.notify.updateNotification(this.updateNotificationModel).subscribe((res) => {
            if (res._failure) {
                // do nothing
            }
            else {
                this.generalNotificationUnreadCount = null;
                this.hasRecentNotification.emit();
                this.udpateNotificationUnreadCount.emit(this.generalNotificationUnreadCount);
            }
        });
    }
    hideNotifications() {
        this.showHideNotifications.emit();
    }
    openNotificationDetails(details) {
        this.Notifications.releaseDetailId = details.releaseId;
        this.notify.GetAllNotifications(this.Notifications).subscribe(notificationData => {
            if (notificationData === null || notificationData === void 0 ? void 0 : notificationData._failure) {
                this.snackbar.open(notificationData._message, '', {
                    duration: 1000
                });
            }
            else {
                this.notify.showNotificationsPanel.next(false);
                this.dialog.open(_notification_details_notification_details_component__WEBPACK_IMPORTED_MODULE_1__["NotificationDetailsComponent"], {
                    width: '600px',
                    data: notificationData.featureReleaseList
                });
            }
        });
    }
    getClassName(module) {
        const detail = this.modules.find(x => x.module === module);
        if (detail) {
            return detail.class;
        }
    }
    changeTab(tab) {
        this.currentTab = tab;
    }
    pinUnpinNotification(item, index) {
        this.generalNotificationsList[index].loading = true;
        this.updateNotificationModel = new src_app_models_notifications_model__WEBPACK_IMPORTED_MODULE_2__["UpdateNotificationModel"]();
        this.updateNotificationModel.schoolId = +this.defaultValuesService.getSchoolID();
        this.updateNotificationModel.profileType = this.defaultValuesService.getUserMembershipType();
        this.updateNotificationModel.userId = +this.defaultValuesService.getUserId();
        this.updateNotificationModel.notificationId = item.notificationId;
        if (item.isPinned) {
            this.updateNotificationModel.notificationList = [{ isPinned: false, isDeleted: false }];
        }
        else {
            this.updateNotificationModel.notificationList = [{ isPinned: true, isDeleted: false }];
        }
        this.notify.updateNotification(this.updateNotificationModel).subscribe((res) => {
            if (res._failure) {
                // do nothing
            }
            else {
                // do nothing
                this.getAllGeneralNotifications();
            }
        });
    }
    deleteNotification(item, index) {
        const dialogRef = this.dialog.open(src_app_pages_shared_module_confirm_dialog_confirm_dialog_component__WEBPACK_IMPORTED_MODULE_3__["ConfirmDialogComponent"], {
            maxWidth: '400px',
            data: {
                title: this.defaultValuesService.translateKey('areYouSure'),
                message: this.defaultValuesService.translateKey('youWantToDeleteThisNotification')
            }
        });
        dialogRef.afterClosed().subscribe(dialogResult => {
            if (dialogResult) {
                this.generalNotificationsList[index].loading = true;
                this.updateNotificationModel = new src_app_models_notifications_model__WEBPACK_IMPORTED_MODULE_2__["UpdateNotificationModel"]();
                this.updateNotificationModel.schoolId = +this.defaultValuesService.getSchoolID();
                this.updateNotificationModel.profileType = this.defaultValuesService.getUserMembershipType();
                this.updateNotificationModel.userId = +this.defaultValuesService.getUserId();
                this.updateNotificationModel.notificationId = item.notificationId;
                this.updateNotificationModel.notificationList = [{ isPinned: false, isDeleted: true }];
                this.notify.updateNotification(this.updateNotificationModel).subscribe((res) => {
                    if (res._failure) {
                        // do nothing
                    }
                    else {
                        // do nothing
                        this.getAllGeneralNotifications();
                    }
                });
            }
        });
    }
    arrangeNotifications() {
        if (this.generalNotificationsList) {
            this.generalNotificationsList = this.generalNotificationsList.filter(n => n.isDeleted === false);
            let pinnedNotifications = [];
            let unpinnedNotifications = [];
            this.generalNotificationsList.forEach((item) => {
                if (item.isPinned) {
                    pinnedNotifications.push(Object.assign(Object.assign({}, item), { loading: false }));
                }
                else {
                    unpinnedNotifications.push(Object.assign(Object.assign({}, item), { loading: false }));
                }
            });
            this.generalNotificationsList = [];
            this.generalNotificationsList.push(...pinnedNotifications, ...unpinnedNotifications);
        }
    }
    getAllGeneralNotifications(append) {
        this.generalNotifications.profileType = this.defaultValuesService.getUserMembershipType();
        this.generalNotifications.userId = this.generalNotifications.profileType === 'Student' ? +this.defaultValuesService.getStudentId() : +this.defaultValuesService.getUserId();
        if (this.generalNotifications.userId) {
            this.generalNotifications.schoolId = +this.defaultValuesService.getSchoolID();
            this.generalNotifications.pageResult = { pageNumber: this.pageNumber, pageSize: this.pageSize };
            this.notify.getAllGeneralNotifications(this.generalNotifications).subscribe((notificationData) => {
                if (notificationData === null || notificationData === void 0 ? void 0 : notificationData._failure) {
                    // this.generalNotificationsList = [];
                }
                else {
                    if (append) {
                        this.generalNotificationsList = [...this.generalNotificationsList, ...notificationData === null || notificationData === void 0 ? void 0 : notificationData.notificationList];
                    }
                    else {
                        this.generalNotificationsList = notificationData === null || notificationData === void 0 ? void 0 : notificationData.notificationList;
                        this.arrangeNotifications();
                    }
                    this.loadMoreNotification = false;
                }
            });
        }
    }
    onScroll() {
        if (this.generalNotificationsList.length < this.totalCount) {
            this.loadMoreNotification = true;
            this.pageNumber = this.pageNumber + 1;
            this.getAllGeneralNotifications(true);
        }
    }
}
NotificationsComponent.ɵfac = function NotificationsComponent_Factory(t) { return new (t || NotificationsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_7__["MatDialog"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_notification_service__WEBPACK_IMPORTED_MODULE_8__["NotificationService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__["MatSnackBar"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_10__["DefaultValuesService"])); };
NotificationsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: NotificationsComponent, selectors: [["vex-notifications"]], viewQuery: function NotificationsComponent_Query(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_4__["CdkVirtualScrollViewport"], true);
    } if (rf & 2) {
        var _t;
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.scroller = _t.first);
    } }, inputs: { notificationsList: "notificationsList", notificationType: "notificationType", generalNotificationsList: "generalNotificationsList", pageNumber: "pageNumber", pageSize: "pageSize", totalCount: "totalCount" }, outputs: { showHideNotifications: "showHideNotifications", hasRecentNotification: "hasRecentNotification", udpateNotificationUnreadCount: "udpateNotificationUnreadCount" }, decls: 11, vars: 6, consts: [[1, "flex", "justify-between", "px-6", "py-4"], [1, "font-medium", "text-lg"], [1, "cursor-pointer", 3, "click"], [1, "notification-body", 3, "ngClass"], [4, "ngIf"], ["class", "system-updates px-6 flex flex-col h-full", 4, "ngIf"], [1, "general-notifications", "flex", "flex-col", "h-full", 3, "itemSize", "ngClass"], ["scroller", ""], [3, "ngClass", 4, "ngFor", "ngForOf"], ["class", "flex items-center justify-center py-4", 4, "ngIf"], [3, "ngClass"], [1, "notification-item"], [1, "flex", "justify-between", "items-center"], [1, "module-badge", "text-white", 3, "ngClass"], [4, "ngIf", "ngIfElse"], ["showIcon", ""], ["xPosition", "before"], ["menu", "matMenu"], ["mat-menu-item", "", "class", "flex items-center", 3, "click", 4, "ngIf"], ["mat-menu-item", "", 1, "flex", "items-center", 3, "click"], [1, "ml-2"], [1, "text-xs", "opacity-50"], ["src", "assets/img/icons/loading-process.svg", 1, "animate-spin", "w-5", "mr-2", "mt-1"], [1, "flex", "items-center"], ["class", "inline-block mr-1", 3, "matTooltip", 4, "ngIf"], ["mat-icon-button", "", 1, "-mr-3", 3, "matMenuTriggerFor"], [1, "inline-block", "mr-1", 3, "matTooltip"], ["src", "assets/img/icons/notification-pushpin.svg"], [1, "flex", "items-center", "justify-center", "py-4"], [1, "flex", "items-center", "bg-skyblue-light", "rounded", "px-4", "py-2"], ["src", "assets/img/icons/loading-process.svg", "alt", "Loading icon", 1, "animate-spin", "w-5", "mr-2"], [1, "system-updates", "px-6", "flex", "flex-col", "h-full"], [1, "pt-4"], [4, "ngFor", "ngForOf"], [1, "flex-shrink-0", "mr-6"], ["src", "assets/img/icon-upgrade.svg", "alt", "Upgrade Icon"], [1, "whitespace-normal"], [1, "my-2", "-mx-6"]], template: function NotificationsComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h4", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "a", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function NotificationsComponent_Template_a_click_4_listener() { return ctx.hideNotifications(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "mat-icon");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6, "close");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "mat-divider");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "div", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, NotificationsComponent_div_9_Template, 7, 4, "div", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, NotificationsComponent_div_10_Template, 3, 1, "div", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 4, ctx.notificationType === "general-notifications" ? "notifications" : "announcements"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", ctx.defaultValuesService.getUserMembershipType() === "Student" || ctx.defaultValuesService.getUserMembershipType() === "Parent" ? "student-portal" : "");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.notificationType === "general-notifications");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.notificationType === "announcements" && ctx.defaultValuesService.getUserMembershipType() != "Student" && ctx.defaultValuesService.getUserMembershipType() != "Parent");
    } }, directives: [_angular_material_icon__WEBPACK_IMPORTED_MODULE_11__["MatIcon"], _angular_material_divider__WEBPACK_IMPORTED_MODULE_12__["MatDivider"], _angular_common__WEBPACK_IMPORTED_MODULE_13__["NgClass"], _angular_common__WEBPACK_IMPORTED_MODULE_13__["NgIf"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_4__["CdkVirtualScrollViewport"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_4__["CdkFixedSizeVirtualScroll"], _angular_common__WEBPACK_IMPORTED_MODULE_13__["NgForOf"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_14__["_MatMenu"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_14__["MatMenuItem"], _angular_material_button__WEBPACK_IMPORTED_MODULE_15__["MatButton"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_14__["MatMenuTrigger"], _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_16__["MatTooltip"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_13__["DatePipe"]], styles: [".notification-body[_ngcontent-%COMP%] {\n  height: calc(100vh - 63px);\n  position: relative;\n}\n\n.notification-body.student-portal[_ngcontent-%COMP%] {\n  height: calc(100vh - 63px);\n}\n\n.system-updates[_ngcontent-%COMP%] {\n  height: calc(100vh - 111px);\n  overflow: auto;\n}\n\n.bg-gray-verylight[_ngcontent-%COMP%] {\n  background: rgba(0, 0, 0, 0.03);\n}\n\n.general-notifications[_ngcontent-%COMP%] {\n  height: calc(100vh - 63px);\n  overflow: auto;\n}\n\n.general-notifications.student-portal[_ngcontent-%COMP%] {\n  height: calc(100vh - 63px);\n}\n\n.general-notifications[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] {\n  margin-left: 0;\n  display: flex;\n  flex-direction: column;\n  height: 100%;\n}\n\n.general-notifications[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] {\n  position: relative;\n  padding-left: 44px;\n  white-space: normal;\n  border-bottom: 1px solid rgba(0, 0, 0, 0.1);\n}\n\n.general-notifications[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .notification-item[_ngcontent-%COMP%] {\n  padding: 0.6rem 1rem;\n  position: relative;\n}\n\n.general-notifications[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .notification-item[_ngcontent-%COMP%]::before {\n  background-color: rgba(0, 0, 0, 0.2);\n  position: absolute;\n  top: 0;\n  left: -21px;\n  display: block;\n  width: 2px;\n  height: 100%;\n  pointer-events: none;\n  content: \" \";\n}\n\n.general-notifications[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .notification-item.bg-skyblue-light[_ngcontent-%COMP%]::after {\n  background-color: rgba(230, 242, 248, 0.5);\n}\n\n.general-notifications[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .notification-item[_ngcontent-%COMP%]   .pin-button[_ngcontent-%COMP%] {\n  display: inline-block;\n  background-color: var(--text-color-light);\n  border-width: 1px;\n  cursor: pointer;\n  transform: scale(0.7);\n  background: #f3f3f3;\n  padding: 4px;\n  border-radius: 50%;\n  border: 1px solid #e5e5e5;\n}\n\n.general-notifications[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child   .notification-item[_ngcontent-%COMP%]::before {\n  top: 16px;\n  height: calc(100% - 16px);\n}\n\n.general-notifications[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child   .notification-item[_ngcontent-%COMP%]::before {\n  height: 16px;\n}\n\n.general-notifications[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]::after {\n  content: \"\";\n  width: 30px;\n  height: 30px;\n  border-radius: 50%;\n  border: 1px solid rgba(0, 0, 0, 0.1);\n  display: inline-block;\n  top: 16px;\n  left: 10px;\n  position: absolute;\n  background: #fff url('icon-chat-bubble.svg') no-repeat center;\n  background-size: 55%;\n  z-index: 3;\n}\n\n.general-notifications[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.pinned[_ngcontent-%COMP%]::after {\n  content: \"\";\n  width: 30px;\n  height: 30px;\n  border-radius: 50%;\n  border: 1px solid rgba(0, 0, 0, 0.1);\n  display: inline-block;\n  top: 16px;\n  left: 10px;\n  position: absolute;\n  background: #fff url('icon-chat-bubble.svg') no-repeat center;\n  background-size: 55%;\n  z-index: 3;\n}\n\n.general-notifications[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.pinned[_ngcontent-%COMP%]   .notification-item[_ngcontent-%COMP%]   .pin-button[_ngcontent-%COMP%] {\n  border-color: #1763b3;\n  background: #1763b314;\n}\n\n.general-notifications[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.pinned[_ngcontent-%COMP%]   .notification-item[_ngcontent-%COMP%]   .pin-button[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%] {\n  fill: #1763b3;\n}\n\n.general-notifications[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .module-badge[_ngcontent-%COMP%] {\n  border-radius: 25px;\n  padding: 2px 10px;\n  font-size: 12px;\n  display: inline-block;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL25vdGlmaWNhdGlvbnMvbm90aWZpY2F0aW9ucy5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLDBCQUFBO0VBQ0Esa0JBQUE7QUFDRjs7QUFFQTtFQUNFLDBCQUFBO0FBQ0Y7O0FBRUE7RUFDRSwyQkFBQTtFQUNBLGNBQUE7QUFDRjs7QUFFQTtFQUNFLCtCQUFBO0FBQ0Y7O0FBRUE7RUFDRSwwQkFBQTtFQUNBLGNBQUE7QUFDRjs7QUFFQTtFQUNFLDBCQUFBO0FBQ0Y7O0FBRUE7RUFDRSxjQUFBO0VBQ0EsYUFBQTtFQUNBLHNCQUFBO0VBQ0EsWUFBQTtBQUNGOztBQUVBO0VBQ0Usa0JBQUE7RUFDQSxrQkFBQTtFQUNBLG1CQUFBO0VBQ0EsMkNBQUE7QUFDRjs7QUFFQTtFQUNFLG9CQUFBO0VBQ0Esa0JBQUE7QUFDRjs7QUFFQTtFQUNFLG9DQUFBO0VBQ0Esa0JBQUE7RUFDQSxNQUFBO0VBQ0EsV0FBQTtFQUNBLGNBQUE7RUFDQSxVQUFBO0VBQ0EsWUFBQTtFQUNBLG9CQUFBO0VBQ0EsWUFBQTtBQUNGOztBQUVBO0VBQ0UsMENBQUE7QUFDRjs7QUFFQTtFQUNFLHFCQUFBO0VBQ0EseUNBQUE7RUFDQSxpQkFBQTtFQUNBLGVBQUE7RUFDQSxxQkFBQTtFQUNBLG1CQUFBO0VBQ0EsWUFBQTtFQUNBLGtCQUFBO0VBQ0EseUJBQUE7QUFDRjs7QUFFQTtFQUNFLFNBQUE7RUFDQSx5QkFBQTtBQUNGOztBQUVBO0VBQ0UsWUFBQTtBQUNGOztBQUVBO0VBQ0UsV0FBQTtFQUNBLFdBQUE7RUFDQSxZQUFBO0VBQ0Esa0JBQUE7RUFDQSxvQ0FBQTtFQUNBLHFCQUFBO0VBQ0EsU0FBQTtFQUNBLFVBQUE7RUFDQSxrQkFBQTtFQUNBLDZEQUFBO0VBQ0Esb0JBQUE7RUFDQSxVQUFBO0FBQ0Y7O0FBRUE7RUFDRSxXQUFBO0VBQ0EsV0FBQTtFQUNBLFlBQUE7RUFDQSxrQkFBQTtFQUNBLG9DQUFBO0VBQ0EscUJBQUE7RUFDQSxTQUFBO0VBQ0EsVUFBQTtFQUNBLGtCQUFBO0VBQ0EsNkRBQUE7RUFDQSxvQkFBQTtFQUNBLFVBQUE7QUFDRjs7QUFFQTtFQUNFLHFCQUFBO0VBQ0EscUJBQUE7QUFDRjs7QUFFQTtFQUNFLGFBQUE7QUFDRjs7QUFFQTtFQUNFLG1CQUFBO0VBQ0EsaUJBQUE7RUFDQSxlQUFBO0VBQ0EscUJBQUE7QUFDRiIsImZpbGUiOiJzcmMvYXBwL2NvbW1vbi9ub3RpZmljYXRpb25zL25vdGlmaWNhdGlvbnMuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIubm90aWZpY2F0aW9uLWJvZHkge1xuICBoZWlnaHQ6IGNhbGMoMTAwdmggLSA2M3B4KTtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xufVxuXG4ubm90aWZpY2F0aW9uLWJvZHkuc3R1ZGVudC1wb3J0YWwge1xuICBoZWlnaHQ6IGNhbGMoMTAwdmggLSA2M3B4KTtcbn1cblxuLnN5c3RlbS11cGRhdGVzIHtcbiAgaGVpZ2h0OiBjYWxjKDEwMHZoIC0gMTExcHgpO1xuICBvdmVyZmxvdzogYXV0bztcbn1cblxuLmJnLWdyYXktdmVyeWxpZ2h0IHtcbiAgYmFja2dyb3VuZDogcmdiYSgwLCAwLCAwLCAwLjAzKTtcbn1cblxuLmdlbmVyYWwtbm90aWZpY2F0aW9ucyB7XG4gIGhlaWdodDogY2FsYygxMDB2aCAtIDYzcHgpO1xuICBvdmVyZmxvdzogYXV0bztcbn1cblxuLmdlbmVyYWwtbm90aWZpY2F0aW9ucy5zdHVkZW50LXBvcnRhbCB7XG4gIGhlaWdodDogY2FsYygxMDB2aCAtIDYzcHgpO1xufVxuXG4uZ2VuZXJhbC1ub3RpZmljYXRpb25zIHVsIHtcbiAgbWFyZ2luLWxlZnQ6IDA7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gIGhlaWdodDogMTAwJTtcbn1cblxuLmdlbmVyYWwtbm90aWZpY2F0aW9ucyB1bCBsaSB7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgcGFkZGluZy1sZWZ0OiA0NHB4O1xuICB3aGl0ZS1zcGFjZTogbm9ybWFsO1xuICBib3JkZXItYm90dG9tOiAxcHggc29saWQgcmdiYSgwLCAwLCAwLCAwLjEpO1xufVxuXG4uZ2VuZXJhbC1ub3RpZmljYXRpb25zIHVsIGxpIC5ub3RpZmljYXRpb24taXRlbSB7XG4gIHBhZGRpbmc6IDAuNnJlbSAxcmVtO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG59XG5cbi5nZW5lcmFsLW5vdGlmaWNhdGlvbnMgdWwgbGkgLm5vdGlmaWNhdGlvbi1pdGVtOjpiZWZvcmUge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiByZ2JhKDAsIDAsIDAsIDAuMik7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAwO1xuICBsZWZ0OiAtMjFweDtcbiAgZGlzcGxheTogYmxvY2s7XG4gIHdpZHRoOiAycHg7XG4gIGhlaWdodDogMTAwJTtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gIGNvbnRlbnQ6IFwiIFwiO1xufVxuXG4uZ2VuZXJhbC1ub3RpZmljYXRpb25zIHVsIGxpIC5ub3RpZmljYXRpb24taXRlbS5iZy1za3libHVlLWxpZ2h0OjphZnRlciB7XG4gIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMjMwLCAyNDIsIDI0OCwgLjUpO1xufVxuXG4uZ2VuZXJhbC1ub3RpZmljYXRpb25zIHVsIGxpIC5ub3RpZmljYXRpb24taXRlbSAucGluLWJ1dHRvbiB7XG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbiAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tdGV4dC1jb2xvci1saWdodCk7XG4gIGJvcmRlci13aWR0aDogMXB4O1xuICBjdXJzb3I6IHBvaW50ZXI7XG4gIHRyYW5zZm9ybTogc2NhbGUoMC43KTtcbiAgYmFja2dyb3VuZDogI2YzZjNmMztcbiAgcGFkZGluZzogNHB4O1xuICBib3JkZXItcmFkaXVzOiA1MCU7XG4gIGJvcmRlcjogMXB4IHNvbGlkICNlNWU1ZTU7XG59XG5cbi5nZW5lcmFsLW5vdGlmaWNhdGlvbnMgdWwgbGk6Zmlyc3QtY2hpbGQgLm5vdGlmaWNhdGlvbi1pdGVtOjpiZWZvcmUge1xuICB0b3A6IDE2cHg7XG4gIGhlaWdodDogY2FsYygxMDAlIC0gMTZweCk7XG59XG5cbi5nZW5lcmFsLW5vdGlmaWNhdGlvbnMgdWwgbGk6bGFzdC1jaGlsZCAubm90aWZpY2F0aW9uLWl0ZW06OmJlZm9yZSB7XG4gIGhlaWdodDogMTZweDtcbn1cblxuLmdlbmVyYWwtbm90aWZpY2F0aW9ucyB1bCBsaTo6YWZ0ZXIge1xuICBjb250ZW50OiBcIlwiO1xuICB3aWR0aDogMzBweDtcbiAgaGVpZ2h0OiAzMHB4O1xuICBib3JkZXItcmFkaXVzOiA1MCU7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHJnYmEoMCwgMCwgMCwgMC4xKTtcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICB0b3A6IDE2cHg7XG4gIGxlZnQ6IDEwcHg7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgYmFja2dyb3VuZDogI2ZmZiB1cmwoLi4vLi4vLi4vYXNzZXRzL2ltZy9pY29ucy9pY29uLWNoYXQtYnViYmxlLnN2Zykgbm8tcmVwZWF0IGNlbnRlcjtcbiAgYmFja2dyb3VuZC1zaXplOiA1NSU7XG4gIHotaW5kZXg6IDM7XG59XG5cbi5nZW5lcmFsLW5vdGlmaWNhdGlvbnMgdWwgbGkucGlubmVkOjphZnRlciB7XG4gIGNvbnRlbnQ6IFwiXCI7XG4gIHdpZHRoOiAzMHB4O1xuICBoZWlnaHQ6IDMwcHg7XG4gIGJvcmRlci1yYWRpdXM6IDUwJTtcbiAgYm9yZGVyOiAxcHggc29saWQgcmdiYSgwLCAwLCAwLCAwLjEpO1xuICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gIHRvcDogMTZweDtcbiAgbGVmdDogMTBweDtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICBiYWNrZ3JvdW5kOiAjZmZmIHVybCguLi8uLi8uLi9hc3NldHMvaW1nL2ljb25zL2ljb24tY2hhdC1idWJibGUuc3ZnKSBuby1yZXBlYXQgY2VudGVyO1xuICBiYWNrZ3JvdW5kLXNpemU6IDU1JTtcbiAgei1pbmRleDogMztcbn1cblxuLmdlbmVyYWwtbm90aWZpY2F0aW9ucyB1bCBsaS5waW5uZWQgLm5vdGlmaWNhdGlvbi1pdGVtIC5waW4tYnV0dG9uIHtcbiAgYm9yZGVyLWNvbG9yOiAjMTc2M2IzO1xuICBiYWNrZ3JvdW5kOiAjMTc2M2IzMTQ7XG59XG5cbi5nZW5lcmFsLW5vdGlmaWNhdGlvbnMgdWwgbGkucGlubmVkIC5ub3RpZmljYXRpb24taXRlbSAucGluLWJ1dHRvbiBzdmcge1xuICBmaWxsOiAjMTc2M2IzO1xufVxuXG4uZ2VuZXJhbC1ub3RpZmljYXRpb25zIHVsIGxpIC5tb2R1bGUtYmFkZ2Uge1xuICBib3JkZXItcmFkaXVzOiAyNXB4O1xuICBwYWRkaW5nOiAycHggMTBweDtcbiAgZm9udC1zaXplOiAxMnB4O1xuICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG59Il19 */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NotificationsComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-notifications',
                templateUrl: './notifications.component.html',
                styleUrls: ['./notifications.component.scss']
            }]
    }], function () { return [{ type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__["TranslateService"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_7__["MatDialog"] }, { type: src_app_services_notification_service__WEBPACK_IMPORTED_MODULE_8__["NotificationService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__["MatSnackBar"] }, { type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_10__["DefaultValuesService"] }]; }, { notificationsList: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], notificationType: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], generalNotificationsList: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], pageNumber: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], pageSize: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], totalCount: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], showHideNotifications: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }], hasRecentNotification: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }], udpateNotificationUnreadCount: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }], scroller: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: [_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_4__["CdkVirtualScrollViewport"]]
        }] }); })();


/***/ }),

/***/ "./src/app/common/notifications/notifications.module.ts":
/*!**************************************************************!*\
  !*** ./src/app/common/notifications/notifications.module.ts ***!
  \**************************************************************/
/*! exports provided: NotificationsModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotificationsModule", function() { return NotificationsModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _notifications_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./notifications-routing.module */ "./src/app/common/notifications/notifications-routing.module.ts");
/* harmony import */ var _notifications_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./notifications.component */ "./src/app/common/notifications/notifications.component.ts");
/* harmony import */ var src_vex_components_secondary_toolbar_secondary_toolbar_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/@vex/components/secondary-toolbar/secondary-toolbar.module */ "./src/@vex/components/secondary-toolbar/secondary-toolbar.module.ts");
/* harmony import */ var src_vex_components_breadcrumbs_breadcrumbs_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/@vex/components/breadcrumbs/breadcrumbs.module */ "./src/@vex/components/breadcrumbs/breadcrumbs.module.ts");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var src_vex_components_page_layout_page_layout_module__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! src/@vex/components/page-layout/page-layout.module */ "./src/@vex/components/page-layout/page-layout.module.ts");
/* harmony import */ var src_vex_directives_container_container_module__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/@vex/directives/container/container.module */ "./src/@vex/directives/container/container.module.ts");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_material_card__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/card */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/card.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
/* harmony import */ var src_app_pages_shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! src/app/pages/shared-module/shared-module.module */ "./src/app/pages/shared-module/shared-module.module.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _angular_material_divider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/material/divider */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/divider.js");
/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/material/form-field */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/form-field.js");
/* harmony import */ var _notification_details_notification_details_component__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./notification-details/notification-details.component */ "./src/app/common/notifications/notification-details/notification-details.component.ts");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @angular/material/menu */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/menu.js");
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @angular/material/tooltip */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/tooltip.js");
/* harmony import */ var _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @angular/cdk/scrolling */ "./node_modules/@angular/cdk/__ivy_ngcc__/fesm2015/scrolling.js");
/* harmony import */ var _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @angular/material/progress-spinner */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/progress-spinner.js");
























class NotificationsModule {
}
NotificationsModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: NotificationsModule });
NotificationsModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function NotificationsModule_Factory(t) { return new (t || NotificationsModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _notifications_routing_module__WEBPACK_IMPORTED_MODULE_2__["NotificationsRoutingModule"],
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            src_vex_components_secondary_toolbar_secondary_toolbar_module__WEBPACK_IMPORTED_MODULE_4__["SecondaryToolbarModule"],
            src_vex_components_breadcrumbs_breadcrumbs_module__WEBPACK_IMPORTED_MODULE_5__["BreadcrumbsModule"],
            _angular_material_icon__WEBPACK_IMPORTED_MODULE_6__["MatIconModule"],
            _angular_material_button__WEBPACK_IMPORTED_MODULE_7__["MatButtonModule"],
            src_vex_components_page_layout_page_layout_module__WEBPACK_IMPORTED_MODULE_8__["PageLayoutModule"],
            src_vex_directives_container_container_module__WEBPACK_IMPORTED_MODULE_9__["ContainerModule"],
            _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_10__["IconModule"],
            _angular_material_card__WEBPACK_IMPORTED_MODULE_11__["MatCardModule"],
            _angular_forms__WEBPACK_IMPORTED_MODULE_12__["FormsModule"],
            _angular_forms__WEBPACK_IMPORTED_MODULE_12__["ReactiveFormsModule"],
            src_app_pages_shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_13__["SharedModuleModule"],
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_14__["TranslateModule"],
            _angular_material_divider__WEBPACK_IMPORTED_MODULE_15__["MatDividerModule"],
            _angular_material_form_field__WEBPACK_IMPORTED_MODULE_16__["MatFormFieldModule"],
            _angular_material_dialog__WEBPACK_IMPORTED_MODULE_18__["MatDialogModule"],
            _angular_material_menu__WEBPACK_IMPORTED_MODULE_19__["MatMenuModule"],
            _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_20__["MatTooltipModule"],
            _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_21__["ScrollingModule"],
            _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_22__["MatProgressSpinnerModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](NotificationsModule, { declarations: [_notifications_component__WEBPACK_IMPORTED_MODULE_3__["NotificationsComponent"], _notification_details_notification_details_component__WEBPACK_IMPORTED_MODULE_17__["NotificationDetailsComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _notifications_routing_module__WEBPACK_IMPORTED_MODULE_2__["NotificationsRoutingModule"],
        _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        src_vex_components_secondary_toolbar_secondary_toolbar_module__WEBPACK_IMPORTED_MODULE_4__["SecondaryToolbarModule"],
        src_vex_components_breadcrumbs_breadcrumbs_module__WEBPACK_IMPORTED_MODULE_5__["BreadcrumbsModule"],
        _angular_material_icon__WEBPACK_IMPORTED_MODULE_6__["MatIconModule"],
        _angular_material_button__WEBPACK_IMPORTED_MODULE_7__["MatButtonModule"],
        src_vex_components_page_layout_page_layout_module__WEBPACK_IMPORTED_MODULE_8__["PageLayoutModule"],
        src_vex_directives_container_container_module__WEBPACK_IMPORTED_MODULE_9__["ContainerModule"],
        _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_10__["IconModule"],
        _angular_material_card__WEBPACK_IMPORTED_MODULE_11__["MatCardModule"],
        _angular_forms__WEBPACK_IMPORTED_MODULE_12__["FormsModule"],
        _angular_forms__WEBPACK_IMPORTED_MODULE_12__["ReactiveFormsModule"],
        src_app_pages_shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_13__["SharedModuleModule"],
        _ngx_translate_core__WEBPACK_IMPORTED_MODULE_14__["TranslateModule"],
        _angular_material_divider__WEBPACK_IMPORTED_MODULE_15__["MatDividerModule"],
        _angular_material_form_field__WEBPACK_IMPORTED_MODULE_16__["MatFormFieldModule"],
        _angular_material_dialog__WEBPACK_IMPORTED_MODULE_18__["MatDialogModule"],
        _angular_material_menu__WEBPACK_IMPORTED_MODULE_19__["MatMenuModule"],
        _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_20__["MatTooltipModule"],
        _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_21__["ScrollingModule"],
        _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_22__["MatProgressSpinnerModule"]], exports: [_notifications_component__WEBPACK_IMPORTED_MODULE_3__["NotificationsComponent"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NotificationsModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_notifications_component__WEBPACK_IMPORTED_MODULE_3__["NotificationsComponent"], _notification_details_notification_details_component__WEBPACK_IMPORTED_MODULE_17__["NotificationDetailsComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _notifications_routing_module__WEBPACK_IMPORTED_MODULE_2__["NotificationsRoutingModule"],
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    src_vex_components_secondary_toolbar_secondary_toolbar_module__WEBPACK_IMPORTED_MODULE_4__["SecondaryToolbarModule"],
                    src_vex_components_breadcrumbs_breadcrumbs_module__WEBPACK_IMPORTED_MODULE_5__["BreadcrumbsModule"],
                    _angular_material_icon__WEBPACK_IMPORTED_MODULE_6__["MatIconModule"],
                    _angular_material_button__WEBPACK_IMPORTED_MODULE_7__["MatButtonModule"],
                    src_vex_components_page_layout_page_layout_module__WEBPACK_IMPORTED_MODULE_8__["PageLayoutModule"],
                    src_vex_directives_container_container_module__WEBPACK_IMPORTED_MODULE_9__["ContainerModule"],
                    _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_10__["IconModule"],
                    _angular_material_card__WEBPACK_IMPORTED_MODULE_11__["MatCardModule"],
                    _angular_forms__WEBPACK_IMPORTED_MODULE_12__["FormsModule"],
                    _angular_forms__WEBPACK_IMPORTED_MODULE_12__["ReactiveFormsModule"],
                    src_app_pages_shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_13__["SharedModuleModule"],
                    _ngx_translate_core__WEBPACK_IMPORTED_MODULE_14__["TranslateModule"],
                    _angular_material_divider__WEBPACK_IMPORTED_MODULE_15__["MatDividerModule"],
                    _angular_material_form_field__WEBPACK_IMPORTED_MODULE_16__["MatFormFieldModule"],
                    _angular_material_dialog__WEBPACK_IMPORTED_MODULE_18__["MatDialogModule"],
                    _angular_material_menu__WEBPACK_IMPORTED_MODULE_19__["MatMenuModule"],
                    _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_20__["MatTooltipModule"],
                    _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_21__["ScrollingModule"],
                    _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_22__["MatProgressSpinnerModule"]
                ],
                exports: [_notifications_component__WEBPACK_IMPORTED_MODULE_3__["NotificationsComponent"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/common/page-roles-permissions.service.ts":
/*!**********************************************************!*\
  !*** ./src/app/common/page-roles-permissions.service.ts ***!
  \**********************************************************/
/*! exports provided: PageRolesPermission */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PageRolesPermission", function() { return PageRolesPermission; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _enums_profiles_enum__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums/profiles.enum */ "./src/app/enums/profiles.enum.ts");
/* harmony import */ var _models_roll_based_access_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../models/roll-based-access.model */ "./src/app/models/roll-based-access.model.ts");
/* harmony import */ var _default_values_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");






class PageRolesPermission {
    constructor(defaultValueService, router) {
        this.defaultValueService = defaultValueService;
        this.router = router;
        this.PROFILES = _enums_profiles_enum__WEBPACK_IMPORTED_MODULE_1__["Profiles"];
        this.invalidPermission = new _models_roll_based_access_model__WEBPACK_IMPORTED_MODULE_2__["Permissions"]();
    }
    getPermissionList() {
        return this.defaultValueService.getPermissionList();
    }
    checkPageRolePermission(path, customPermission, skipCategoryPath) {
        let membershipId = +this.defaultValueService.getuserMembershipID();
        if (!membershipId) {
            return this.invalidPermission;
        }
        let pathToFind = path ? path : this.router.url;
        let permission = customPermission ? customPermission : this.getPermissionList();
        for (let item of permission.permissionList) {
            if (item.permissionGroup.path === pathToFind) {
                return this.generateRolePermission(item.permissionGroup);
            }
            else {
                if (item.permissionGroup.permissionCategory.length > 0) {
                    for (let cat of item.permissionGroup.permissionCategory) {
                        if (cat.path === pathToFind && !skipCategoryPath) {
                            return this.generateRolePermission(cat);
                        }
                        else {
                            if (cat.permissionSubcategory.length > 0) {
                                for (let subCat of cat.permissionSubcategory) {
                                    if (subCat.path === pathToFind) {
                                        return this.generateRolePermission(subCat);
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        return this.invalidPermission;
    }
    getPermittedCategories(path) {
        let permission = this.getPermissionList();
        let pathToFind = path;
        for (let item of permission.permissionList) {
            if (item.permissionGroup.path === pathToFind) {
                item.permissionGroup.permissionCategory = item.permissionGroup.permissionCategory.filter((item) => {
                    return item.rolePermission[0].canView;
                });
                return item.permissionGroup.permissionCategory;
            }
        }
        return [];
    }
    getPermittedSubCategories(path, customPermission) {
        var _a, _b;
        let permittedTabDetails = [];
        let permission = customPermission ? customPermission : this.getPermissionList();
        let pathToFind = path;
        loop1: for (let item of permission.permissionList) {
            if (item.permissionGroup.type === 'link' && item.permissionGroup.path === pathToFind) {
                (_b = (_a = item.permissionGroup) === null || _a === void 0 ? void 0 : _a.permissionCategory) === null || _b === void 0 ? void 0 : _b.map((cat) => {
                    if (cat.rolePermission[0].canView) {
                        permittedTabDetails.push({
                            title: cat.permissionCategoryName,
                            path: cat.path,
                            displayName: cat.title
                        });
                    }
                });
                return permittedTabDetails;
            }
            else if (item.permissionGroup.permissionCategory.length > 0) {
                for (let cat of item.permissionGroup.permissionCategory) {
                    if (pathToFind === "/school/staff" && (this.defaultValueService.getUserMembershipType() === "Teacher" || this.defaultValueService.getUserMembershipType() === "Homeroom Teacher")) {
                        if (cat.path.includes(pathToFind) && (this.defaultValueService.getUserMembershipType() === "Teacher" || this.defaultValueService.getUserMembershipType() === "Homeroom Teacher")) {
                            if (cat.rolePermission[0].canView) {
                                permittedTabDetails.push({
                                    title: cat.permissionCategoryName,
                                    path: cat.path,
                                    displayName: cat.title
                                });
                            }
                        }
                    }
                    else if (pathToFind === "/school/parents" && (this.defaultValueService.getUserMembershipType() === "Parent")) {
                        if (cat.path.includes(pathToFind) && (this.defaultValueService.getUserMembershipType() === "Parent")) {
                            if (cat.rolePermission[0].canView) {
                                permittedTabDetails.push({
                                    title: cat.permissionCategoryName,
                                    path: cat.path,
                                    displayName: cat.title
                                });
                            }
                        }
                    }
                    else if (cat.path === pathToFind) {
                        if (cat.permissionSubcategory.length > 0) {
                            for (let subCat of cat.permissionSubcategory) {
                                if (subCat.rolePermission[0].canView) {
                                    permittedTabDetails.push({
                                        title: subCat.permissionSubcategoryName,
                                        path: subCat.path,
                                        displayName: subCat.title
                                    });
                                }
                            }
                        }
                        return permittedTabDetails;
                    }
                }
            }
        }
        return permittedTabDetails;
    }
    generateRolePermission(item) {
        let rolePermission = {
            add: item.rolePermission[0].canAdd ? item.rolePermission[0].canAdd : false,
            view: item.rolePermission[0].canView ? item.rolePermission[0].canView : false,
            edit: item.rolePermission[0].canEdit ? item.rolePermission[0].canEdit : false,
            delete: item.rolePermission[0].canDelete ? item.rolePermission[0].canDelete : false,
        };
        return rolePermission;
    }
}
PageRolesPermission.ɵfac = function PageRolesPermission_Factory(t) { return new (t || PageRolesPermission)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_default_values_service__WEBPACK_IMPORTED_MODULE_3__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_4__["Router"])); };
PageRolesPermission.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: PageRolesPermission, factory: PageRolesPermission.ɵfac, providedIn: "root" });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PageRolesPermission, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: "root",
            }]
    }], function () { return [{ type: _default_values_service__WEBPACK_IMPORTED_MODULE_3__["DefaultValuesService"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_4__["Router"] }]; }, null); })();


/***/ }),

/***/ "./src/app/common/plan-upgrade/plan-upgrade.component.ts":
/*!***************************************************************!*\
  !*** ./src/app/common/plan-upgrade/plan-upgrade.component.ts ***!
  \***************************************************************/
/*! exports provided: PlanUpgradeComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PlanUpgradeComponent", function() { return PlanUpgradeComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _iconify_icons_ic_twotone_check_circle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @iconify/icons-ic/twotone-check-circle */ "./node_modules/@iconify/icons-ic/twotone-check-circle.js");
/* harmony import */ var _iconify_icons_ic_twotone_check_circle__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_check_circle__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/enums/profiles.enum */ "./src/app/enums/profiles.enum.ts");
/* harmony import */ var _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @iconify/icons-ic/twotone-close */ "./node_modules/@iconify/icons-ic/twotone-close.js");
/* harmony import */ var _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _default_values_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");













function PlanUpgradeComponent_ng_container_8_Template(rf, ctx) { if (rf & 1) {
    const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h5", 3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "button", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function PlanUpgradeComponent_ng_container_8_Template_button_click_5_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r2); const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r1.upgradeNow(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "yourCurrentSubscriptionDoesNotSupportThisFeature"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 4, "upgradeNow"));
} }
class PlanUpgradeComponent {
    constructor(translateService, dialogRef, router, defaultValuesService) {
        this.translateService = translateService;
        this.dialogRef = dialogRef;
        this.router = router;
        this.defaultValuesService = defaultValuesService;
        this.icCheckCircle = _iconify_icons_ic_twotone_check_circle__WEBPACK_IMPORTED_MODULE_1___default.a;
        this.icClose = _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_3___default.a;
        this.profiles = src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_2__["ProfilesTypes"];
    }
    ngOnInit() {
        this.membership = this.defaultValuesService.getUserMembershipType();
    }
    upgradeNow() {
        this.onClose();
        this.router.navigate(['/school/my-subscription']);
    }
    onClose() {
        this.dialogRef.close();
    }
}
PlanUpgradeComponent.ɵfac = function PlanUpgradeComponent_Factory(t) { return new (t || PlanUpgradeComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_5__["MatDialogRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_6__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_default_values_service__WEBPACK_IMPORTED_MODULE_7__["DefaultValuesService"])); };
PlanUpgradeComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: PlanUpgradeComponent, selectors: [["vex-plan-upgrade"]], decls: 9, vars: 5, consts: [[1, "relative"], ["mat-icon-button", "", "mat-dialog-close", "", "type", "button", 1, "text-secondary", "absolute", "-right-3", "-top-3"], [3, "icIcon"], [1, "text-center"], ["src", "assets/lottie/lock.gif", 1, "inline-block", "mb-4", "w-24"], ["fxFlex", "auto", 1, "headline", "m-0"], [4, "ngIf"], [1, "text-center", "mt-5"], ["color", "primary", "mat-raised-button", "", "type", "button", 3, "click"]], template: function PlanUpgradeComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "button", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "mat-icon", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "img", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "h1", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, PlanUpgradeComponent_ng_container_8_Template, 8, 6, "ng-container", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icClose);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 3, "accessDenied"), " ");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.membership === ctx.profiles.SuperAdmin || ctx.membership === ctx.profiles.SchoolAdmin || ctx.membership === ctx.profiles.AdminAssitant);
    } }, directives: [_angular_material_button__WEBPACK_IMPORTED_MODULE_8__["MatButton"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_5__["MatDialogClose"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_9__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_10__["IconDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_11__["NgIf"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslatePipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbW1vbi9wbGFuLXVwZ3JhZGUvcGxhbi11cGdyYWRlLmNvbXBvbmVudC5zY3NzIn0= */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PlanUpgradeComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-plan-upgrade',
                templateUrl: './plan-upgrade.component.html',
                styleUrls: ['./plan-upgrade.component.scss']
            }]
    }], function () { return [{ type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslateService"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_5__["MatDialogRef"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_6__["Router"] }, { type: _default_values_service__WEBPACK_IMPORTED_MODULE_7__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/common/role-permission.guard.ts":
/*!*************************************************!*\
  !*** ./src/app/common/role-permission.guard.ts ***!
  \*************************************************/
/*! exports provided: RolePermissionGuard */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RolePermissionGuard", function() { return RolePermissionGuard; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _default_values_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");




class RolePermissionGuard {
    constructor(defaultValueService, router) {
        this.defaultValueService = defaultValueService;
        this.router = router;
    }
    canActivate(route, state) {
        let permissions = this.defaultValueService.getPermissionList();
        if (!permissions) {
            this.router.navigate(['/']);
            return false;
        }
        let isValidRole = false;
        for (let [i, item] of permissions.permissionList.entries()) {
            if (item.permissionGroup.path == state.url && item.permissionGroup.rolePermission[0].canView) {
                isValidRole = true;
                break;
            }
            else {
                if (item.permissionGroup.permissionCategory.length > 0) {
                    item.permissionGroup.permissionCategory.map((cat) => {
                        if (cat.path == state.url && cat.rolePermission[0].canView) {
                            isValidRole = true;
                        }
                    });
                }
            }
            if (isValidRole) {
                break;
            }
        }
        if (!isValidRole) {
            this.router.navigate(['/']);
            return isValidRole;
        }
        return isValidRole;
    }
}
RolePermissionGuard.ɵfac = function RolePermissionGuard_Factory(t) { return new (t || RolePermissionGuard)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_default_values_service__WEBPACK_IMPORTED_MODULE_1__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"])); };
RolePermissionGuard.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: RolePermissionGuard, factory: RolePermissionGuard.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RolePermissionGuard, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _default_values_service__WEBPACK_IMPORTED_MODULE_1__["DefaultValuesService"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"] }]; }, null); })();


/***/ }),

/***/ "./src/app/common/school-setup.guard.ts":
/*!**********************************************!*\
  !*** ./src/app/common/school-setup.guard.ts ***!
  \**********************************************/
/*! exports provided: SchoolSetupGuard */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SchoolSetupGuard", function() { return SchoolSetupGuard; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _default_values_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");





class SchoolSetupGuard {
    constructor(router, defaultValueService, locationStrategy) {
        this.router = router;
        this.defaultValueService = defaultValueService;
        this.locationStrategy = locationStrategy;
    }
    canActivate() {
        if (this.defaultValueService.getSchoolSetupProgress()) {
            this.router.navigate(['/school', 'error', '404']);
            return false;
        }
        return true;
    }
}
SchoolSetupGuard.ɵfac = function SchoolSetupGuard_Factory(t) { return new (t || SchoolSetupGuard)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_default_values_service__WEBPACK_IMPORTED_MODULE_2__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_3__["LocationStrategy"])); };
SchoolSetupGuard.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: SchoolSetupGuard, factory: SchoolSetupGuard.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SchoolSetupGuard, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{ providedIn: 'root' }]
    }], function () { return [{ type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] }, { type: _default_values_service__WEBPACK_IMPORTED_MODULE_2__["DefaultValuesService"] }, { type: _angular_common__WEBPACK_IMPORTED_MODULE_3__["LocationStrategy"] }]; }, null); })();


/***/ }),

/***/ "./src/app/common/static-data.ts":
/*!***************************************!*\
  !*** ./src/app/common/static-data.ts ***!
  \***************************************/
/*! exports provided: weeks, days, color, reportCardType, uniqueColors, classColor, permissions */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "weeks", function() { return weeks; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "days", function() { return days; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "color", function() { return color; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "reportCardType", function() { return reportCardType; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "uniqueColors", function() { return uniqueColors; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "classColor", function() { return classColor; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "permissions", function() { return permissions; });
const weeks = [
    { name: 'Sunday', id: 0 },
    { name: 'Monday', id: 1 },
    { name: 'Tuesday', id: 2 },
    { name: 'Wednesday', id: 3 },
    { name: 'Thursday', id: 4 },
    { name: 'Friday', id: 5 },
    { name: 'Saturday', id: 6 }
];
const days = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
const color = [
    {
        label: 'label-pink',
        backgroundColor: 'bg-pink'
    },
    {
        label: 'label-cyan',
        backgroundColor: 'bg-cyan'
    },
    {
        label: 'label-teal',
        backgroundColor: 'bg-teal'
    },
    {
        label: 'label-teal',
        backgroundColor: 'bg-teal'
    },
    {
        label: 'label-cyan',
        backgroundColor: 'bg-cyan'
    },
    {
        label: 'label-teal',
        backgroundColor: 'bg-teal'
    },
    {
        label: 'label-teal',
        backgroundColor: 'bg-teal'
    }
];
const reportCardType = [
    {
        reportCardType: 'default',
        reportCardTypeName: 'Default'
    },
    {
        reportCardType: 'chuuk',
        reportCardTypeName: 'Chuuk'
    },
    {
        reportCardType: 'kosrae',
        reportCardTypeName: 'Kosrae'
    },
    {
        reportCardType: 'pohnpei',
        reportCardTypeName: 'Pohnpei'
    },
    {
        reportCardType: 'yap',
        reportCardTypeName: 'Yap'
    },
];
const uniqueColors = [
    {
        id: null,
        backgroundColor: 'bg-red',
        textColorInHex: '#f44336',
        textColor: 'text-red',
        used: false
    },
    {
        id: null,
        backgroundColor: 'bg-green',
        textColorInHex: '#4caf50',
        textColor: 'text-green',
        used: false
    },
    {
        id: null,
        backgroundColor: 'bg-amber',
        textColor: 'text-amber',
        textColorInHex: '#ffc107',
        used: false
    },
    {
        id: null,
        backgroundColor: 'bg-pink',
        textColor: 'text-pink',
        textColorInHex: '#e91e63',
        used: false
    },
    {
        id: null,
        backgroundColor: 'bg-deep-orange',
        textColor: 'text-orange',
        textColorInHex: '#ff5722',
        used: false
    },
    {
        id: null,
        backgroundColor: 'bg-purple',
        textColor: 'text-purple',
        textColorInHex: '#9c27b0',
        used: false
    },
    {
        id: null,
        backgroundColor: 'bg-teal',
        textColor: 'text-teal',
        textColorInHex: '#009688',
        used: false
    },
    {
        id: null,
        backgroundColor: 'bg-deep-purple',
        textColor: 'text-purple',
        textColorInHex: '#673ab7',
        used: false
    },
    {
        id: null,
        backgroundColor: 'bg-cyan',
        textColor: 'text-cyan',
        textColorInHex: '#00bcd4',
        used: false
    },
    {
        id: null,
        backgroundColor: 'bg-gray',
        textColor: 'text-gray',
        textColorInHex: '#9e9e9e',
        used: false
    }
];
const classColor = [
    {
        text: 'text-gray',
        borderColor: 'border-gray'
    },
    {
        text: 'text-cyan',
        borderColor: 'border-cyan'
    },
    {
        text: 'text-teal',
        borderColor: 'border-teal'
    },
    {
        text: 'text-green',
        borderColor: 'border-green'
    },
    {
        text: 'text-red',
        borderColor: 'border-red'
    },
    {
        text: 'text-orange',
        borderColor: 'border-orange'
    },
    {
        text: 'text-purple',
        borderColor: 'border-purple'
    },
    {
        text: 'text-deep-purple',
        borderColor: 'border-deep-purple'
    },
    {
        text: 'text-pink',
        borderColor: 'border-pink'
    },
    {
        text: 'text-primary',
        borderColor: 'border-primary'
    },
    {
        text: 'text-warn',
        borderColor: 'border-warn'
    }
];
const permissions = {
    "permissionList": [
        {
            "permissionGroup": {
                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                "schoolId": 1,
                "permissionGroupId": 1,
                "permissionGroupName": "Dashboard",
                "shortName": "db",
                "isActive": true,
                "isSystem": true,
                "title": "Dashboard",
                "icon": "icLayers",
                "iconType": "class",
                "sortOrder": 1,
                "type": "link",
                "path": "/school/dashboards",
                "badgeType": "",
                "badgeValue": "",
                "active": true,
                "schoolMaster": null,
                "permissionCategory": [],
                "rolePermission": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "rolePermissionId": 1,
                        "membershipId": 1,
                        "permissionGroupId": 1,
                        "permissionCategoryId": null,
                        "permissionSubcategoryId": null,
                        "canView": true,
                        "canAdd": true,
                        "canEdit": true,
                        "canDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "membership": null,
                        "permissionGroup": null,
                        "permissionCategory": null,
                        "permissionSubcategory": null
                    }
                ]
            },
            "_userName": null,
            "_tenantName": null,
            "_token": null,
            "_tokenExpiry": "0001-01-01T00:00:00+00:00",
            "_failure": false,
            "_message": null
        },
        {
            "permissionGroup": {
                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                "schoolId": 1,
                "permissionGroupId": 2,
                "permissionGroupName": "School",
                "shortName": "schl",
                "isActive": true,
                "isSystem": true,
                "title": "School",
                "icon": "icschool",
                "iconType": "class",
                "sortOrder": 2,
                "type": "sub",
                "path": "",
                "badgeType": "",
                "badgeValue": "",
                "active": true,
                "schoolMaster": null,
                "permissionCategory": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 1,
                        "permissionGroupId": 2,
                        "permissionCategoryName": "School Information",
                        "shortCode": "si",
                        "path": "/school/schoolinfo",
                        "title": "School Information",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 1,
                                "permissionSubcategoryId": 1,
                                "permissionGroupId": 2,
                                "permissionSubcategoryName": "General Information",
                                "shortCode": "gi",
                                "path": "/school/schoolinfo/generalinfo",
                                "title": "General Information",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 4,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 1,
                                        "canView": false,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 1,
                                "permissionSubcategoryId": 2,
                                "permissionGroupId": 2,
                                "permissionSubcategoryName": "WASH Information",
                                "shortCode": "wi",
                                "path": "/school/schoolinfo/washinfo",
                                "title": "WASH Information",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 5,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 2,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 1,
                                "permissionSubcategoryId": 57,
                                "permissionGroupId": 2,
                                "permissionSubcategoryName": "Custom Category",
                                "shortCode": null,
                                "path": "/school/schoolinfo/custom/custom-category",
                                "title": "Custom Category",
                                "type": null,
                                "isActive": null,
                                "enableView": false,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 468,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 57,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            }
                        ],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 3,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 1,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 2,
                        "permissionGroupId": 2,
                        "permissionCategoryName": "Marking Periods",
                        "shortCode": "mp",
                        "path": "/school/marking-periods",
                        "title": "Marking Periods",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 6,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 2,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 3,
                        "permissionGroupId": 2,
                        "permissionCategoryName": "Calendars",
                        "shortCode": "cal",
                        "path": "/school/schoolcalendars",
                        "title": "Calendars",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 7,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 3,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 4,
                        "permissionGroupId": 2,
                        "permissionCategoryName": "Notices",
                        "shortCode": "not",
                        "path": "/school/notices",
                        "title": "Notices",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 8,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 4,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    }
                ],
                "rolePermission": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "rolePermissionId": 2,
                        "membershipId": 1,
                        "permissionGroupId": 2,
                        "permissionCategoryId": null,
                        "permissionSubcategoryId": null,
                        "canView": true,
                        "canAdd": true,
                        "canEdit": true,
                        "canDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "membership": null,
                        "permissionGroup": null,
                        "permissionCategory": null,
                        "permissionSubcategory": null
                    }
                ]
            },
            "_userName": null,
            "_tenantName": null,
            "_token": null,
            "_tokenExpiry": "0001-01-01T00:00:00+00:00",
            "_failure": false,
            "_message": null
        },
        {
            "permissionGroup": {
                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                "schoolId": 1,
                "permissionGroupId": 3,
                "permissionGroupName": "Students",
                "shortName": "stud",
                "isActive": true,
                "isSystem": true,
                "title": "Students",
                "icon": "icstudents",
                "iconType": "class",
                "sortOrder": 3,
                "type": "sub",
                "path": "",
                "badgeType": "",
                "badgeValue": "",
                "active": true,
                "schoolMaster": null,
                "permissionCategory": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 5,
                        "permissionGroupId": 3,
                        "permissionCategoryName": "Student Information",
                        "shortCode": "si",
                        "path": "/school/students",
                        "title": "Student Information",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 5,
                                "permissionSubcategoryId": 3,
                                "permissionGroupId": 3,
                                "permissionSubcategoryName": "General Info",
                                "shortCode": "gi",
                                "path": "/school/students/student-generalinfo",
                                "title": "General Info",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 11,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 3,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 5,
                                "permissionSubcategoryId": 4,
                                "permissionGroupId": 3,
                                "permissionSubcategoryName": "Enrollment Info",
                                "shortCode": "ei",
                                "path": "/school/students/student-enrollmentinfo",
                                "title": "School & Enrollment Info",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 12,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 4,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 5,
                                "permissionSubcategoryId": 5,
                                "permissionGroupId": 3,
                                "permissionSubcategoryName": "Address & Contact",
                                "shortCode": "ac",
                                "path": "/school/students/student-address-contact",
                                "title": "Address & Contact",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 13,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 5,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 5,
                                "permissionSubcategoryId": 6,
                                "permissionGroupId": 3,
                                "permissionSubcategoryName": "Family Info",
                                "shortCode": "fi",
                                "path": "/school/students/student-familyinfo",
                                "title": "Family Info",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 14,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 6,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 5,
                                "permissionSubcategoryId": 7,
                                "permissionGroupId": 3,
                                "permissionSubcategoryName": "Medical Info",
                                "shortCode": "mi",
                                "path": "/school/students/student-medicalinfo",
                                "title": "Medical Info",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 15,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 7,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 5,
                                "permissionSubcategoryId": 8,
                                "permissionGroupId": 3,
                                "permissionSubcategoryName": "Comments",
                                "shortCode": "cmnts",
                                "path": "/school/students/student-comments",
                                "title": "Comments",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 16,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 8,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 5,
                                "permissionSubcategoryId": 9,
                                "permissionGroupId": 3,
                                "permissionSubcategoryName": "Documents",
                                "shortCode": "doc",
                                "path": "/school/students/student-documents",
                                "title": "Documents",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 17,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 9,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 5,
                                "permissionSubcategoryId": 10,
                                "permissionGroupId": 3,
                                "permissionSubcategoryName": "Course Schedule",
                                "shortCode": "cs",
                                "path": "/school/students/student-course-schedule",
                                "title": "Course Schedule",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 18,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 10,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 5,
                                "permissionSubcategoryId": 11,
                                "permissionGroupId": 3,
                                "permissionSubcategoryName": "Attendance",
                                "shortCode": "att",
                                "path": "/school/students/student-attendance",
                                "title": "Attendance",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 19,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 11,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 5,
                                "permissionSubcategoryId": 12,
                                "permissionGroupId": 3,
                                "permissionSubcategoryName": "Grades",
                                "shortCode": "grd",
                                "path": "",
                                "title": "Grades",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 20,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 12,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 5,
                                "permissionSubcategoryId": 56,
                                "permissionGroupId": 3,
                                "permissionSubcategoryName": "Test Category",
                                "shortCode": null,
                                "path": null,
                                "title": "Test Category",
                                "type": null,
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 467,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 56,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            }
                        ],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 10,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 5,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 6,
                        "permissionGroupId": 3,
                        "permissionCategoryName": "Group Assign Student Info",
                        "shortCode": "gasi",
                        "path": "disabled",
                        "title": "Group Assign Student Info",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 21,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 6,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 7,
                        "permissionGroupId": 3,
                        "permissionCategoryName": "Student Re Enroll",
                        "shortCode": "sre",
                        "path": "/school/student/student-re-enroll",
                        "title": "Student Re Enroll",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 22,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 7,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    }
                ],
                "rolePermission": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "rolePermissionId": 9,
                        "membershipId": 1,
                        "permissionGroupId": 3,
                        "permissionCategoryId": null,
                        "permissionSubcategoryId": null,
                        "canView": true,
                        "canAdd": true,
                        "canEdit": true,
                        "canDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "membership": null,
                        "permissionGroup": null,
                        "permissionCategory": null,
                        "permissionSubcategory": null
                    }
                ]
            },
            "_userName": null,
            "_tenantName": null,
            "_token": null,
            "_tokenExpiry": "0001-01-01T00:00:00+00:00",
            "_failure": false,
            "_message": null
        },
        {
            "permissionGroup": {
                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                "schoolId": 1,
                "permissionGroupId": 4,
                "permissionGroupName": "Parents",
                "shortName": "prnt",
                "isActive": true,
                "isSystem": true,
                "title": "Parents",
                "icon": "icparents",
                "iconType": "class",
                "sortOrder": 4,
                "type": "link",
                "path": "/school/parents",
                "badgeType": "",
                "badgeValue": "",
                "active": true,
                "schoolMaster": null,
                "permissionCategory": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 8,
                        "permissionGroupId": 4,
                        "permissionCategoryName": "General Info",
                        "shortCode": "gi",
                        "path": "/school/parents/parent-generalinfo",
                        "title": "General Info",
                        "type": "",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 24,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 8,
                                "permissionSubcategoryId": null,
                                "canView": false,
                                "canAdd": false,
                                "canEdit": false,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 9,
                        "permissionGroupId": 4,
                        "permissionCategoryName": "Address info",
                        "shortCode": "ai",
                        "path": "/school/parents/parent-addressinfo",
                        "title": "Address info",
                        "type": "",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 25,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 9,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    }
                ],
                "rolePermission": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "rolePermissionId": 23,
                        "membershipId": 1,
                        "permissionGroupId": 4,
                        "permissionCategoryId": null,
                        "permissionSubcategoryId": null,
                        "canView": true,
                        "canAdd": true,
                        "canEdit": true,
                        "canDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "membership": null,
                        "permissionGroup": null,
                        "permissionCategory": null,
                        "permissionSubcategory": null
                    }
                ]
            },
            "_userName": null,
            "_tenantName": null,
            "_token": null,
            "_tokenExpiry": "0001-01-01T00:00:00+00:00",
            "_failure": false,
            "_message": null
        },
        {
            "permissionGroup": {
                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                "schoolId": 1,
                "permissionGroupId": 5,
                "permissionGroupName": "Staff",
                "shortName": "stf",
                "isActive": true,
                "isSystem": true,
                "title": "Staff",
                "icon": "icusers",
                "iconType": "class",
                "sortOrder": 5,
                "type": "sub",
                "path": "",
                "badgeType": "",
                "badgeValue": "",
                "active": true,
                "schoolMaster": null,
                "permissionCategory": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 10,
                        "permissionGroupId": 5,
                        "permissionCategoryName": "Staff Info",
                        "shortCode": "si",
                        "path": "/school/staff",
                        "title": "Staff Info",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 10,
                                "permissionSubcategoryId": 13,
                                "permissionGroupId": 5,
                                "permissionSubcategoryName": "General Info",
                                "shortCode": "gi",
                                "path": "/school/staff/staff-generalinfo",
                                "title": "General Info",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 28,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 13,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 10,
                                "permissionSubcategoryId": 14,
                                "permissionGroupId": 5,
                                "permissionSubcategoryName": "School Info",
                                "shortCode": "si",
                                "path": "/school/staff/staff-schoolinfo",
                                "title": "School Info",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 29,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 14,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 10,
                                "permissionSubcategoryId": 15,
                                "permissionGroupId": 5,
                                "permissionSubcategoryName": "Address & Contact",
                                "shortCode": "a&c",
                                "path": "/school/staff/staff-addressinfo",
                                "title": "Address & Contact",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 30,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 15,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 10,
                                "permissionSubcategoryId": 16,
                                "permissionGroupId": 5,
                                "permissionSubcategoryName": "Certification Info",
                                "shortCode": "ci",
                                "path": "/school/staff/staff-certificationinfo",
                                "title": "Certification Info",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 31,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 16,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            }
                        ],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 27,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 10,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 11,
                        "permissionGroupId": 5,
                        "permissionCategoryName": "Teacher Functions",
                        "shortCode": "tf",
                        "path": "/school/staff/teacher-functions/input-final-grade",
                        "title": "Teacher Functions",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 11,
                                "permissionSubcategoryId": 50,
                                "permissionGroupId": 5,
                                "permissionSubcategoryName": "Input Final Grade",
                                "shortCode": "ifg",
                                "path": "",
                                "title": "Input Final Grade",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 424,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 50,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 11,
                                "permissionSubcategoryId": 51,
                                "permissionGroupId": 5,
                                "permissionSubcategoryName": "Input Effort Grade",
                                "shortCode": "ieg",
                                "path": "",
                                "title": "Input Effort Grade",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 425,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 51,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 11,
                                "permissionSubcategoryId": 52,
                                "permissionGroupId": 5,
                                "permissionSubcategoryName": "Gradebook Grades",
                                "shortCode": "gg",
                                "path": "",
                                "title": "Gradebook Grades",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 426,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 52,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 11,
                                "permissionSubcategoryId": 53,
                                "permissionGroupId": 5,
                                "permissionSubcategoryName": "Progress Reports",
                                "shortCode": "pr",
                                "path": "",
                                "title": "Progress Reports",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 427,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 53,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 11,
                                "permissionSubcategoryId": 54,
                                "permissionGroupId": 5,
                                "permissionSubcategoryName": "Take Attendance",
                                "shortCode": "ta",
                                "path": "",
                                "title": "Take Attendance",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 428,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 54,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 11,
                                "permissionSubcategoryId": 55,
                                "permissionGroupId": 5,
                                "permissionSubcategoryName": "Missing Attendance",
                                "shortCode": "ma",
                                "path": "",
                                "title": "Missing Attendance",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 429,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 55,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            }
                        ],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 32,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 11,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    }
                ],
                "rolePermission": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "rolePermissionId": 26,
                        "membershipId": 1,
                        "permissionGroupId": 5,
                        "permissionCategoryId": null,
                        "permissionSubcategoryId": null,
                        "canView": true,
                        "canAdd": true,
                        "canEdit": true,
                        "canDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "membership": null,
                        "permissionGroup": null,
                        "permissionCategory": null,
                        "permissionSubcategory": null
                    }
                ]
            },
            "_userName": null,
            "_tenantName": null,
            "_token": null,
            "_tokenExpiry": "0001-01-01T00:00:00+00:00",
            "_failure": false,
            "_message": null
        },
        {
            "permissionGroup": {
                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                "schoolId": 1,
                "permissionGroupId": 6,
                "permissionGroupName": "Courses",
                "shortName": "cou",
                "isActive": true,
                "isSystem": true,
                "title": "Courses",
                "icon": "icbook",
                "iconType": "class",
                "sortOrder": 6,
                "type": "sub",
                "path": "",
                "badgeType": "",
                "badgeValue": "",
                "active": true,
                "schoolMaster": null,
                "permissionCategory": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 12,
                        "permissionGroupId": 6,
                        "permissionCategoryName": "Course Manager",
                        "shortCode": "cm",
                        "path": "/school/course-manager",
                        "title": "Course Manager",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 34,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 12,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 13,
                        "permissionGroupId": 6,
                        "permissionCategoryName": "Course Catalog",
                        "shortCode": "cc",
                        "path": "disabled",
                        "title": "Course Catalog",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 35,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 13,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    }
                ],
                "rolePermission": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "rolePermissionId": 33,
                        "membershipId": 1,
                        "permissionGroupId": 6,
                        "permissionCategoryId": null,
                        "permissionSubcategoryId": null,
                        "canView": true,
                        "canAdd": true,
                        "canEdit": true,
                        "canDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "membership": null,
                        "permissionGroup": null,
                        "permissionCategory": null,
                        "permissionSubcategory": null
                    }
                ]
            },
            "_userName": null,
            "_tenantName": null,
            "_token": null,
            "_tokenExpiry": "0001-01-01T00:00:00+00:00",
            "_failure": false,
            "_message": null
        },
        {
            "permissionGroup": {
                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                "schoolId": 1,
                "permissionGroupId": 7,
                "permissionGroupName": "Scheduling",
                "shortName": "sch",
                "isActive": true,
                "isSystem": true,
                "title": "Scheduling",
                "icon": "icschedule",
                "iconType": "class",
                "sortOrder": 7,
                "type": "sub",
                "path": "",
                "badgeType": "",
                "badgeValue": "",
                "active": true,
                "schoolMaster": null,
                "permissionCategory": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 14,
                        "permissionGroupId": 7,
                        "permissionCategoryName": "Teacher Reassignment",
                        "shortCode": "tr",
                        "path": "/school/teacher-reassignment",
                        "title": "Teacher Reassignment",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 36,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 14,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 15,
                        "permissionGroupId": 7,
                        "permissionCategoryName": "Schedule Students",
                        "shortCode": "ss",
                        "path": "/school/schedule-student",
                        "title": "Schedule Students",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 38,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 15,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 16,
                        "permissionGroupId": 7,
                        "permissionCategoryName": "Schedule Teacher",
                        "shortCode": "st",
                        "path": "/school/schedule-teacher",
                        "title": "Schedule Teacher",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 39,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 16,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 17,
                        "permissionGroupId": 7,
                        "permissionCategoryName": "Run Scheduler",
                        "shortCode": "rs",
                        "path": "disabled",
                        "title": "Run Scheduler",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 40,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 17,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 18,
                        "permissionGroupId": 7,
                        "permissionCategoryName": "Group Drop",
                        "shortCode": "gd",
                        "path": "/school/group-drop",
                        "title": "Group Drop",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 41,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 18,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    }
                ],
                "rolePermission": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "rolePermissionId": 37,
                        "membershipId": 1,
                        "permissionGroupId": 7,
                        "permissionCategoryId": null,
                        "permissionSubcategoryId": null,
                        "canView": true,
                        "canAdd": true,
                        "canEdit": true,
                        "canDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "membership": null,
                        "permissionGroup": null,
                        "permissionCategory": null,
                        "permissionSubcategory": null
                    }
                ]
            },
            "_userName": null,
            "_tenantName": null,
            "_token": null,
            "_tokenExpiry": "0001-01-01T00:00:00+00:00",
            "_failure": false,
            "_message": null
        },
        {
            "permissionGroup": {
                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                "schoolId": 1,
                "permissionGroupId": 8,
                "permissionGroupName": "Grades",
                "shortName": "grd",
                "isActive": true,
                "isSystem": true,
                "title": "Grades",
                "icon": "icgrade",
                "iconType": "class",
                "sortOrder": 8,
                "type": "sub",
                "path": "",
                "badgeType": "",
                "badgeValue": "",
                "active": true,
                "schoolMaster": null,
                "permissionCategory": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 19,
                        "permissionGroupId": 8,
                        "permissionCategoryName": "Progress Reports",
                        "shortCode": "pr",
                        "path": "disabled",
                        "title": "Progress Reports",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 43,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 19,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 33,
                        "permissionGroupId": 8,
                        "permissionCategoryName": "Report Cards",
                        "shortCode": "rc",
                        "path": "/school/grades/report-cards",
                        "title": "Report Cards",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 455,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 33,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 34,
                        "permissionGroupId": 8,
                        "permissionCategoryName": "Transcripts",
                        "shortCode": "trns",
                        "path": "/school/grades/transcripts",
                        "title": "Transcripts",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 456,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 34,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    }
                ],
                "rolePermission": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "rolePermissionId": 42,
                        "membershipId": 1,
                        "permissionGroupId": 8,
                        "permissionCategoryId": null,
                        "permissionSubcategoryId": null,
                        "canView": true,
                        "canAdd": true,
                        "canEdit": true,
                        "canDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "membership": null,
                        "permissionGroup": null,
                        "permissionCategory": null,
                        "permissionSubcategory": null
                    }
                ]
            },
            "_userName": null,
            "_tenantName": null,
            "_token": null,
            "_tokenExpiry": "0001-01-01T00:00:00+00:00",
            "_failure": false,
            "_message": null
        },
        {
            "permissionGroup": {
                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                "schoolId": 1,
                "permissionGroupId": 9,
                "permissionGroupName": "Attendance",
                "shortName": "atdns",
                "isActive": true,
                "isSystem": true,
                "title": "Attendance",
                "icon": "icattendance",
                "iconType": "class",
                "sortOrder": 9,
                "type": "sub",
                "path": "",
                "badgeType": "",
                "badgeValue": "",
                "active": true,
                "schoolMaster": null,
                "permissionCategory": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 20,
                        "permissionGroupId": 9,
                        "permissionCategoryName": "Administration",
                        "shortCode": "adms",
                        "path": "/school/attendance/administration",
                        "title": "Administration",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 45,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 20,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 30,
                        "permissionGroupId": 9,
                        "permissionCategoryName": "Add Absences",
                        "shortCode": "adabs",
                        "path": "/school/attendance/add-absences",
                        "title": "Add Absences",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 442,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 30,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 31,
                        "permissionGroupId": 9,
                        "permissionCategoryName": "Recalculate Daily Attendance",
                        "shortCode": "rda",
                        "path": "/school/attendance/recalculate-daily-attendance",
                        "title": "Recalculate Daily Attendance",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 449,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 31,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 32,
                        "permissionGroupId": 9,
                        "permissionCategoryName": "Missing Attendance",
                        "shortCode": "ma",
                        "path": "/school/attendance/missing-attendance",
                        "title": "Missing Attendance",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 450,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 32,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    }
                ],
                "rolePermission": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "rolePermissionId": 44,
                        "membershipId": 1,
                        "permissionGroupId": 9,
                        "permissionCategoryId": null,
                        "permissionSubcategoryId": null,
                        "canView": true,
                        "canAdd": true,
                        "canEdit": true,
                        "canDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "membership": null,
                        "permissionGroup": null,
                        "permissionCategory": null,
                        "permissionSubcategory": null
                    }
                ]
            },
            "_userName": null,
            "_tenantName": null,
            "_token": null,
            "_tokenExpiry": "0001-01-01T00:00:00+00:00",
            "_failure": false,
            "_message": null
        },
        {
            "permissionGroup": {
                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                "schoolId": 1,
                "permissionGroupId": 11,
                "permissionGroupName": "Reports",
                "shortName": "rpt",
                "isActive": true,
                "isSystem": true,
                "title": "Reports",
                "icon": "icreports",
                "iconType": "class",
                "sortOrder": 11,
                "type": "link",
                "path": "disabled",
                "badgeType": "",
                "badgeValue": "",
                "active": true,
                "schoolMaster": null,
                "permissionCategory": [],
                "rolePermission": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "rolePermissionId": 48,
                        "membershipId": 1,
                        "permissionGroupId": 11,
                        "permissionCategoryId": null,
                        "permissionSubcategoryId": null,
                        "canView": true,
                        "canAdd": true,
                        "canEdit": true,
                        "canDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "membership": null,
                        "permissionGroup": null,
                        "permissionCategory": null,
                        "permissionSubcategory": null
                    }
                ]
            },
            "_userName": null,
            "_tenantName": null,
            "_token": null,
            "_tokenExpiry": "0001-01-01T00:00:00+00:00",
            "_failure": false,
            "_message": null
        },
        {
            "permissionGroup": {
                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                "schoolId": 1,
                "permissionGroupId": 12,
                "permissionGroupName": "Settings",
                "shortName": "stng",
                "isActive": true,
                "isSystem": true,
                "title": "Settings",
                "icon": "icsettings",
                "iconType": "class",
                "sortOrder": 12,
                "type": "link",
                "path": "/school/settings",
                "badgeType": "",
                "badgeValue": "",
                "active": true,
                "schoolMaster": null,
                "permissionCategory": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 22,
                        "permissionGroupId": 12,
                        "permissionCategoryName": "School",
                        "shortCode": "schl",
                        "path": "/school/settings/school-settings",
                        "title": "School",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 22,
                                "permissionSubcategoryId": 17,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Periods",
                                "shortCode": "prd",
                                "path": "",
                                "title": "Periods",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 51,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 17,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 22,
                                "permissionSubcategoryId": 18,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Grade Levels",
                                "shortCode": "gl",
                                "path": "",
                                "title": "Grade Levels",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 52,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 18,
                                        "canView": false,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 22,
                                "permissionSubcategoryId": 19,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Sections",
                                "shortCode": "sec",
                                "path": "",
                                "title": "Sections",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 53,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 19,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 22,
                                "permissionSubcategoryId": 20,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Rooms",
                                "shortCode": "rms",
                                "path": "",
                                "title": "Rooms",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 54,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 20,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 22,
                                "permissionSubcategoryId": 21,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "School Fields",
                                "shortCode": "sf",
                                "path": "",
                                "title": "School Fields",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 55,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 21,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 22,
                                "permissionSubcategoryId": 22,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Hierarchy",
                                "shortCode": "hrcy",
                                "path": "",
                                "title": "Hierarchy",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 56,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 22,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 22,
                                "permissionSubcategoryId": 23,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Preference",
                                "shortCode": "prfns",
                                "path": "",
                                "title": "Preference",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 57,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 23,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            }
                        ],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 50,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 22,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 23,
                        "permissionGroupId": 12,
                        "permissionCategoryName": "Student",
                        "shortCode": "stud",
                        "path": "/school/settings/student-settings",
                        "title": "Student",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 23,
                                "permissionSubcategoryId": 24,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Student Fields",
                                "shortCode": "sf",
                                "path": "",
                                "title": "Student Fields",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 59,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 24,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 23,
                                "permissionSubcategoryId": 25,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Enrollment Codes",
                                "shortCode": "ec",
                                "path": "",
                                "title": "Enrollment Codes",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 60,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 25,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 23,
                                "permissionSubcategoryId": 45,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Student Bulk Data Import",
                                "shortCode": "stubdi",
                                "path": "",
                                "title": "Student Bulk Data Import",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 409,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 45,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            }
                        ],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 58,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 23,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 24,
                        "permissionGroupId": 12,
                        "permissionCategoryName": "Staff",
                        "shortCode": "stf",
                        "path": "/school/settings/staff-settings",
                        "title": "Staff",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 24,
                                "permissionSubcategoryId": 26,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Staff Fields",
                                "shortCode": "sf",
                                "path": "",
                                "title": "Staff Fields",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 62,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 26,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 24,
                                "permissionSubcategoryId": 46,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Staff Bulk Data Import",
                                "shortCode": "stabdi",
                                "path": "",
                                "title": "Staff Bulk Data Import",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 410,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 46,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            }
                        ],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 61,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 24,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 25,
                        "permissionGroupId": 12,
                        "permissionCategoryName": "Attendance",
                        "shortCode": "atten",
                        "path": "/school/settings/attendance-settings",
                        "title": "Attendance",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 25,
                                "permissionSubcategoryId": 27,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Attendance Codes",
                                "shortCode": "ac",
                                "path": "",
                                "title": "Attendance Codes",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 64,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 27,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            }
                        ],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 63,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 25,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 26,
                        "permissionGroupId": 12,
                        "permissionCategoryName": "Grades",
                        "shortCode": "grds",
                        "path": "/school/settings/grade-settings",
                        "title": "Grades",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 26,
                                "permissionSubcategoryId": 28,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Standard Grade Setup",
                                "shortCode": "sgs",
                                "path": "",
                                "title": "Standard Grade Setup",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 66,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 28,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 26,
                                "permissionSubcategoryId": 29,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Effort Grade Setup",
                                "shortCode": "egs",
                                "path": "",
                                "title": "Effort Grade Setup",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 67,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 29,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 26,
                                "permissionSubcategoryId": 30,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Report Card Grades",
                                "shortCode": "rcg",
                                "path": "",
                                "title": "Report Card Grades",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 68,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 30,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 26,
                                "permissionSubcategoryId": 31,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Honor Roll Setup",
                                "shortCode": "hrs",
                                "path": "",
                                "title": "Honor Roll Setup",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 69,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 31,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 26,
                                "permissionSubcategoryId": 47,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Report Card Comments",
                                "shortCode": "rcc",
                                "path": "",
                                "title": "Report Card Comments",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 411,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 47,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            }
                        ],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 65,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 26,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 27,
                        "permissionGroupId": 12,
                        "permissionCategoryName": "Administration",
                        "shortCode": "adms",
                        "path": "/school/settings/administration-settings",
                        "title": "Administration",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 27,
                                "permissionSubcategoryId": 32,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Profiles & Permissions",
                                "shortCode": "p&p",
                                "path": "",
                                "title": "Profiles & Permissions",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 71,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 32,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            }
                        ],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 70,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 27,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    },
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 28,
                        "permissionGroupId": 12,
                        "permissionCategoryName": "List of Values",
                        "shortCode": "lov",
                        "path": "/school/settings/lov-settings",
                        "title": "List of Values",
                        "type": "link",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 28,
                                "permissionSubcategoryId": 33,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "School Level",
                                "shortCode": "sl",
                                "path": "",
                                "title": "School Level",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 73,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 33,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 28,
                                "permissionSubcategoryId": 34,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "School Classification",
                                "shortCode": "scl",
                                "path": "",
                                "title": "School Classification",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 74,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 34,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 28,
                                "permissionSubcategoryId": 35,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Countries",
                                "shortCode": "cntry",
                                "path": "",
                                "title": "Countries",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 75,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 35,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 28,
                                "permissionSubcategoryId": 36,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Female Toilet Type",
                                "shortCode": "fty",
                                "path": "",
                                "title": "Female Toilet Type",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 76,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 36,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 28,
                                "permissionSubcategoryId": 37,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Female Toilet Accessibility",
                                "shortCode": "fta",
                                "path": "",
                                "title": "Female Toilet Accessibility",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 77,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 37,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 28,
                                "permissionSubcategoryId": 38,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Male Toilet Type",
                                "shortCode": "mtt",
                                "path": "",
                                "title": "Male Toilet Type",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 78,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 38,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 28,
                                "permissionSubcategoryId": 39,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Male Toilet Accessibility",
                                "shortCode": "mta",
                                "path": "",
                                "title": "Male Toilet Accessibility",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 79,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 39,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 28,
                                "permissionSubcategoryId": 40,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Common Toilet Type",
                                "shortCode": "ctt",
                                "path": "",
                                "title": "Common Toilet Type",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 80,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 40,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 28,
                                "permissionSubcategoryId": 41,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Common Toilet Accessibility",
                                "shortCode": "cta",
                                "path": "",
                                "title": "Common Toilet Accessibility",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 81,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 41,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 28,
                                "permissionSubcategoryId": 42,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Race",
                                "shortCode": "rce",
                                "path": "",
                                "title": "Race",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 82,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 42,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 28,
                                "permissionSubcategoryId": 43,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Ethnicity",
                                "shortCode": "ecty",
                                "path": "",
                                "title": "Ethnicity",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 83,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 43,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            },
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "permissionCategoryId": 28,
                                "permissionSubcategoryId": 44,
                                "permissionGroupId": 12,
                                "permissionSubcategoryName": "Language",
                                "shortCode": "lng",
                                "path": "",
                                "title": "Language",
                                "type": "",
                                "isActive": null,
                                "enableView": true,
                                "enableAdd": true,
                                "enableEdit": true,
                                "enableDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "permissionCategory": null,
                                "rolePermission": [
                                    {
                                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                        "schoolId": 1,
                                        "rolePermissionId": 84,
                                        "membershipId": 1,
                                        "permissionGroupId": null,
                                        "permissionCategoryId": null,
                                        "permissionSubcategoryId": 44,
                                        "canView": true,
                                        "canAdd": true,
                                        "canEdit": true,
                                        "canDelete": true,
                                        "createdBy": null,
                                        "createdOn": null,
                                        "updatedBy": null,
                                        "updatedOn": null,
                                        "membership": null,
                                        "permissionGroup": null,
                                        "permissionCategory": null,
                                        "permissionSubcategory": null
                                    }
                                ]
                            }
                        ],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 72,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 28,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    }
                ],
                "rolePermission": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "rolePermissionId": 49,
                        "membershipId": 1,
                        "permissionGroupId": 12,
                        "permissionCategoryId": null,
                        "permissionSubcategoryId": null,
                        "canView": true,
                        "canAdd": true,
                        "canEdit": true,
                        "canDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "membership": null,
                        "permissionGroup": null,
                        "permissionCategory": null,
                        "permissionSubcategory": null
                    }
                ]
            },
            "_userName": null,
            "_tenantName": null,
            "_token": null,
            "_tokenExpiry": "0001-01-01T00:00:00+00:00",
            "_failure": false,
            "_message": null
        },
        {
            "permissionGroup": {
                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                "schoolId": 1,
                "permissionGroupId": 13,
                "permissionGroupName": "Tools",
                "shortName": "tls",
                "isActive": true,
                "isSystem": true,
                "title": "Tools",
                "icon": "ictools",
                "iconType": "class",
                "sortOrder": 13,
                "type": "sub",
                "path": "",
                "badgeType": "",
                "badgeValue": "",
                "active": true,
                "schoolMaster": null,
                "permissionCategory": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "permissionCategoryId": 29,
                        "permissionGroupId": 13,
                        "permissionCategoryName": "Access Log",
                        "shortCode": "acs lg",
                        "path": "",
                        "title": "Access Log",
                        "type": "",
                        "isActive": null,
                        "enableView": true,
                        "enableAdd": true,
                        "enableEdit": true,
                        "enableDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "permissionGroup": null,
                        "permissionSubcategory": [],
                        "rolePermission": [
                            {
                                "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                                "schoolId": 1,
                                "rolePermissionId": 86,
                                "membershipId": 1,
                                "permissionGroupId": null,
                                "permissionCategoryId": 29,
                                "permissionSubcategoryId": null,
                                "canView": true,
                                "canAdd": true,
                                "canEdit": true,
                                "canDelete": true,
                                "createdBy": null,
                                "createdOn": null,
                                "updatedBy": null,
                                "updatedOn": null,
                                "membership": null,
                                "permissionGroup": null,
                                "permissionCategory": null,
                                "permissionSubcategory": null
                            }
                        ]
                    }
                ],
                "rolePermission": [
                    {
                        "tenantId": "1e93c7bf-0fae-42bb-9e09-a1cedc8c0355",
                        "schoolId": 1,
                        "rolePermissionId": 85,
                        "membershipId": 1,
                        "permissionGroupId": 13,
                        "permissionCategoryId": null,
                        "permissionSubcategoryId": null,
                        "canView": true,
                        "canAdd": true,
                        "canEdit": true,
                        "canDelete": true,
                        "createdBy": null,
                        "createdOn": null,
                        "updatedBy": null,
                        "updatedOn": null,
                        "membership": null,
                        "permissionGroup": null,
                        "permissionCategory": null,
                        "permissionSubcategory": null
                    }
                ]
            },
            "_userName": null,
            "_tenantName": null,
            "_token": null,
            "_tokenExpiry": "0001-01-01T00:00:00+00:00",
            "_failure": false,
            "_message": null
        }
    ]
};


/***/ }),

/***/ "./src/app/common/subcription.guard.ts":
/*!*********************************************!*\
  !*** ./src/app/common/subcription.guard.ts ***!
  \*********************************************/
/*! exports provided: SubscriptionGuard */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SubscriptionGuard", function() { return SubscriptionGuard; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _plan_upgrade_plan_upgrade_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./plan-upgrade/plan-upgrade.component */ "./src/app/common/plan-upgrade/plan-upgrade.component.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _default_values_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");







class SubscriptionGuard {
    constructor(router, defaultValuesService, locationStrategy, dialog) {
        this.router = router;
        this.defaultValuesService = defaultValuesService;
        this.locationStrategy = locationStrategy;
        this.dialog = dialog;
    }
    canActivate(route, state) {
        let permissions = this.defaultValuesService.getPermissionList().permissionList;
        let finalList = [];
        if (state.url === '/school/inactive-module') {
            this.dialog.open(_plan_upgrade_plan_upgrade_component__WEBPACK_IMPORTED_MODULE_1__["PlanUpgradeComponent"], {
                width: '500px',
                disableClose: true
            });
            return false;
        }
        else {
            finalList = permissions.filter(function (item) {
                return item.permissionGroup.path == state.url;
            });
            if (finalList.length > 0 && finalList[0].permissionGroup.active === false) {
                this.dialog.open(_plan_upgrade_plan_upgrade_component__WEBPACK_IMPORTED_MODULE_1__["PlanUpgradeComponent"], {
                    width: '500px',
                    disableClose: true
                });
                return false;
            }
            else {
                permissions.forEach(element => {
                    element.permissionGroup.permissionCategory.forEach((item, index) => {
                        if (item.path === state.url && item.isAccess === false) {
                            this.dialog.open(_plan_upgrade_plan_upgrade_component__WEBPACK_IMPORTED_MODULE_1__["PlanUpgradeComponent"], {
                                width: '500px',
                                disableClose: true
                            });
                            return false;
                        }
                        else {
                            item.permissionSubcategory.forEach((i, index) => {
                                if (i.path === state.url && i.isAccess === false) {
                                    this.dialog.open(_plan_upgrade_plan_upgrade_component__WEBPACK_IMPORTED_MODULE_1__["PlanUpgradeComponent"], {
                                        width: '500px',
                                        disableClose: true
                                    });
                                    return false;
                                }
                            });
                        }
                    });
                });
            }
        }
        if (this.defaultValuesService.checkSubscriptionExpiredOrNot()) {
            // this.router.navigate(['/school', 'my-subscription', 'subscription-plan']);
            this.defaultValuesService.checkProfileAndRedirectToDashboard(true).then(() => {
                this.dialog.open(_plan_upgrade_plan_upgrade_component__WEBPACK_IMPORTED_MODULE_1__["PlanUpgradeComponent"], {
                    width: '500px',
                    disableClose: true
                });
            });
            return false;
        }
        return true;
    }
}
SubscriptionGuard.ɵfac = function SubscriptionGuard_Factory(t) { return new (t || SubscriptionGuard)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_default_values_service__WEBPACK_IMPORTED_MODULE_3__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_4__["LocationStrategy"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_5__["MatDialog"])); };
SubscriptionGuard.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: SubscriptionGuard, factory: SubscriptionGuard.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SubscriptionGuard, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{ providedIn: 'root' }]
    }], function () { return [{ type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"] }, { type: _default_values_service__WEBPACK_IMPORTED_MODULE_3__["DefaultValuesService"] }, { type: _angular_common__WEBPACK_IMPORTED_MODULE_4__["LocationStrategy"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_5__["MatDialog"] }]; }, null); })();


/***/ }),

/***/ "./src/app/custom-layout/custom-layout.component.ts":
/*!**********************************************************!*\
  !*** ./src/app/custom-layout/custom-layout.component.ts ***!
  \**********************************************************/
/*! exports provided: CustomLayoutComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomLayoutComponent", function() { return CustomLayoutComponent; });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _vex_utils_check_router_childs_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../@vex/utils/check-router-childs-data */ "./src/@vex/utils/check-router-childs-data.ts");
/* harmony import */ var _ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ngneat/until-destroy */ "./node_modules/@ngneat/until-destroy/__ivy_ngcc__/fesm2015/ngneat-until-destroy.js");
/* harmony import */ var _vex_services_layout_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../@vex/services/layout.service */ "./src/@vex/services/layout.service.ts");
/* harmony import */ var _vex_services_config_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../@vex/services/config.service */ "./src/@vex/services/config.service.ts");
/* harmony import */ var _angular_cdk_layout__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/cdk/layout */ "./node_modules/@angular/cdk/__ivy_ngcc__/fesm2015/layout.js");
/* harmony import */ var _vex_layout_layout_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../@vex/layout/layout.component */ "./src/@vex/layout/layout.component.ts");
/* harmony import */ var _vex_components_sidebar_sidebar_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../@vex/components/sidebar/sidebar.component */ "./src/@vex/components/sidebar/sidebar.component.ts");
/* harmony import */ var _vex_components_config_panel_config_panel_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../@vex/components/config-panel/config-panel.component */ "./src/@vex/components/config-panel/config-panel.component.ts");
/* harmony import */ var _vex_layout_sidenav_sidenav_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../@vex/layout/sidenav/sidenav.component */ "./src/@vex/layout/sidenav/sidenav.component.ts");
/* harmony import */ var _vex_layout_toolbar_toolbar_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../@vex/layout/toolbar/toolbar.component */ "./src/@vex/layout/toolbar/toolbar.component.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _vex_layout_footer_footer_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../@vex/layout/footer/footer.component */ "./src/@vex/layout/footer/footer.component.ts");
/* harmony import */ var _vex_layout_quickpanel_quickpanel_component__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../@vex/layout/quickpanel/quickpanel.component */ "./src/@vex/layout/quickpanel/quickpanel.component.ts");

/***********************************************************************************
openSIS is a free student information system for public and non-public
schools from Open Solutions for Education, Inc.Website: www.os4ed.com.

Visit the openSIS product website at https://opensis.com to learn more.
If you have question regarding this software or the license, please contact
via the website.

The software is released under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, version 3 of the License.
See https://www.gnu.org/licenses/agpl-3.0.en.html.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Copyright (c) Open Solutions for Education, Inc.

All rights reserved.
***********************************************************************************/


















const _c0 = ["configpanel"];
function CustomLayoutComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "vex-sidenav", 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
} if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("collapsed", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 1, ctx_r1.sidenavCollapsed$));
} }
function CustomLayoutComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "vex-toolbar", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
} if (rf & 2) {
    const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("hasShadow", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 2, ctx_r3.toolbarShadowEnabled$))("mobileQuery", !_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 4, ctx_r3.isDesktop$));
} }
function CustomLayoutComponent_ng_template_4_vex_footer_0_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "vex-footer", 10);
} }
function CustomLayoutComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, CustomLayoutComponent_ng_template_4_vex_footer_0_Template, 1, 0, "vex-footer", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
} if (rf & 2) {
    const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 1, ctx_r5.isFooterVisible$));
} }
function CustomLayoutComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "vex-quickpanel");
} }
let CustomLayoutComponent = class CustomLayoutComponent {
    constructor(layoutService, configService, breakpointObserver, router) {
        this.layoutService = layoutService;
        this.configService = configService;
        this.breakpointObserver = breakpointObserver;
        this.router = router;
        this.sidenavCollapsed$ = this.layoutService.sidenavCollapsed$;
        this.isFooterVisible$ = this.configService.config$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(config => config.footer.visible));
        this.isDesktop$ = this.layoutService.isDesktop$;
        this.toolbarShadowEnabled$ = this.router.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(event => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_3__["NavigationEnd"]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["startWith"])(null), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(() => Object(_vex_utils_check_router_childs_data__WEBPACK_IMPORTED_MODULE_4__["checkRouterChildsData"])(this.router.routerState.root.snapshot, data => data.toolbarShadowEnabled)));
    }
    ngOnInit() {
        this.router.url === '/school' ? this.router.navigate(['/school', 'dashboards']) : null;
        this.layoutService.configpanelOpen$.pipe(Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_5__["untilDestroyed"])(this)).subscribe(open => open ? this.configpanel.open() : this.configpanel.close());
    }
};
CustomLayoutComponent.ɵfac = function CustomLayoutComponent_Factory(t) { return new (t || CustomLayoutComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_vex_services_layout_service__WEBPACK_IMPORTED_MODULE_6__["LayoutService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_vex_services_config_service__WEBPACK_IMPORTED_MODULE_7__["ConfigService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_cdk_layout__WEBPACK_IMPORTED_MODULE_8__["BreakpointObserver"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"])); };
CustomLayoutComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: CustomLayoutComponent, selectors: [["vex-custom-layout"]], viewQuery: function CustomLayoutComponent_Query(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵstaticViewQuery"](_c0, true);
    } if (rf & 2) {
        var _t;
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵloadQuery"]()) && (ctx.configpanel = _t.first);
    } }, decls: 12, vars: 5, consts: [["sidenavRef", ""], ["toolbarRef", ""], ["footerRef", ""], ["quickpanelRef", ""], [3, "footerRef", "quickpanelRef", "sidenavRef", "toolbarRef"], ["position", "right", 3, "invisibleBackdrop"], ["configpanel", ""], [3, "collapsed"], [1, "vex-toolbar", 3, "hasShadow", "mobileQuery"], ["class", "vex-footer", 4, "ngIf"], [1, "vex-footer"]], template: function CustomLayoutComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, CustomLayoutComponent_ng_template_0_Template, 2, 3, "ng-template", null, 0, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, CustomLayoutComponent_ng_template_2_Template, 3, 6, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, CustomLayoutComponent_ng_template_4_Template, 2, 3, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, CustomLayoutComponent_ng_template_6_Template, 1, 0, "ng-template", null, 3, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](8, "vex-layout", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](9, "vex-sidebar", 5, 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](11, "vex-config-panel");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
    } if (rf & 2) {
        const _r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](1);
        const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](3);
        const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](5);
        const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](7);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](8);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("footerRef", _r4)("quickpanelRef", _r6)("sidenavRef", _r0)("toolbarRef", _r2);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("invisibleBackdrop", true);
    } }, directives: [_vex_layout_layout_component__WEBPACK_IMPORTED_MODULE_9__["LayoutComponent"], _vex_components_sidebar_sidebar_component__WEBPACK_IMPORTED_MODULE_10__["SidebarComponent"], _vex_components_config_panel_config_panel_component__WEBPACK_IMPORTED_MODULE_11__["ConfigPanelComponent"], _vex_layout_sidenav_sidenav_component__WEBPACK_IMPORTED_MODULE_12__["SidenavComponent"], _vex_layout_toolbar_toolbar_component__WEBPACK_IMPORTED_MODULE_13__["ToolbarComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_14__["NgIf"], _vex_layout_footer_footer_component__WEBPACK_IMPORTED_MODULE_15__["FooterComponent"], _vex_layout_quickpanel_quickpanel_component__WEBPACK_IMPORTED_MODULE_16__["QuickpanelComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_14__["AsyncPipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2N1c3RvbS1sYXlvdXQvY3VzdG9tLWxheW91dC5jb21wb25lbnQuc2NzcyJ9 */"] });
CustomLayoutComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_5__["UntilDestroy"])()
], CustomLayoutComponent);

/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](CustomLayoutComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
        args: [{
                selector: 'vex-custom-layout',
                templateUrl: './custom-layout.component.html',
                styleUrls: ['./custom-layout.component.scss']
            }]
    }], function () { return [{ type: _vex_services_layout_service__WEBPACK_IMPORTED_MODULE_6__["LayoutService"] }, { type: _vex_services_config_service__WEBPACK_IMPORTED_MODULE_7__["ConfigService"] }, { type: _angular_cdk_layout__WEBPACK_IMPORTED_MODULE_8__["BreakpointObserver"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"] }]; }, { configpanel: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"],
            args: ['configpanel', { static: true }]
        }] }); })();


/***/ }),

/***/ "./src/app/custom-layout/custom-layout.module.ts":
/*!*******************************************************!*\
  !*** ./src/app/custom-layout/custom-layout.module.ts ***!
  \*******************************************************/
/*! exports provided: CustomLayoutModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomLayoutModule", function() { return CustomLayoutModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _vex_layout_layout_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../@vex/layout/layout.module */ "./src/@vex/layout/layout.module.ts");
/* harmony import */ var _custom_layout_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./custom-layout.component */ "./src/app/custom-layout/custom-layout.component.ts");
/* harmony import */ var _vex_layout_sidenav_sidenav_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../@vex/layout/sidenav/sidenav.module */ "./src/@vex/layout/sidenav/sidenav.module.ts");
/* harmony import */ var _vex_layout_toolbar_toolbar_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../@vex/layout/toolbar/toolbar.module */ "./src/@vex/layout/toolbar/toolbar.module.ts");
/* harmony import */ var _vex_layout_footer_footer_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../@vex/layout/footer/footer.module */ "./src/@vex/layout/footer/footer.module.ts");
/* harmony import */ var _vex_components_config_panel_config_panel_module__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../@vex/components/config-panel/config-panel.module */ "./src/@vex/components/config-panel/config-panel.module.ts");
/* harmony import */ var _vex_components_sidebar_sidebar_module__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../@vex/components/sidebar/sidebar.module */ "./src/@vex/components/sidebar/sidebar.module.ts");
/* harmony import */ var _vex_layout_quickpanel_quickpanel_module__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../@vex/layout/quickpanel/quickpanel.module */ "./src/@vex/layout/quickpanel/quickpanel.module.ts");











class CustomLayoutModule {
}
CustomLayoutModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: CustomLayoutModule });
CustomLayoutModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function CustomLayoutModule_Factory(t) { return new (t || CustomLayoutModule)(); }, imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _vex_layout_layout_module__WEBPACK_IMPORTED_MODULE_2__["LayoutModule"],
            _vex_layout_sidenav_sidenav_module__WEBPACK_IMPORTED_MODULE_4__["SidenavModule"],
            _vex_layout_toolbar_toolbar_module__WEBPACK_IMPORTED_MODULE_5__["ToolbarModule"],
            _vex_layout_footer_footer_module__WEBPACK_IMPORTED_MODULE_6__["FooterModule"],
            _vex_components_config_panel_config_panel_module__WEBPACK_IMPORTED_MODULE_7__["ConfigPanelModule"],
            _vex_components_sidebar_sidebar_module__WEBPACK_IMPORTED_MODULE_8__["SidebarModule"],
            _vex_layout_quickpanel_quickpanel_module__WEBPACK_IMPORTED_MODULE_9__["QuickpanelModule"]
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](CustomLayoutModule, { declarations: [_custom_layout_component__WEBPACK_IMPORTED_MODULE_3__["CustomLayoutComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _vex_layout_layout_module__WEBPACK_IMPORTED_MODULE_2__["LayoutModule"],
        _vex_layout_sidenav_sidenav_module__WEBPACK_IMPORTED_MODULE_4__["SidenavModule"],
        _vex_layout_toolbar_toolbar_module__WEBPACK_IMPORTED_MODULE_5__["ToolbarModule"],
        _vex_layout_footer_footer_module__WEBPACK_IMPORTED_MODULE_6__["FooterModule"],
        _vex_components_config_panel_config_panel_module__WEBPACK_IMPORTED_MODULE_7__["ConfigPanelModule"],
        _vex_components_sidebar_sidebar_module__WEBPACK_IMPORTED_MODULE_8__["SidebarModule"],
        _vex_layout_quickpanel_quickpanel_module__WEBPACK_IMPORTED_MODULE_9__["QuickpanelModule"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CustomLayoutModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_custom_layout_component__WEBPACK_IMPORTED_MODULE_3__["CustomLayoutComponent"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _vex_layout_layout_module__WEBPACK_IMPORTED_MODULE_2__["LayoutModule"],
                    _vex_layout_sidenav_sidenav_module__WEBPACK_IMPORTED_MODULE_4__["SidenavModule"],
                    _vex_layout_toolbar_toolbar_module__WEBPACK_IMPORTED_MODULE_5__["ToolbarModule"],
                    _vex_layout_footer_footer_module__WEBPACK_IMPORTED_MODULE_6__["FooterModule"],
                    _vex_components_config_panel_config_panel_module__WEBPACK_IMPORTED_MODULE_7__["ConfigPanelModule"],
                    _vex_components_sidebar_sidebar_module__WEBPACK_IMPORTED_MODULE_8__["SidebarModule"],
                    _vex_layout_quickpanel_quickpanel_module__WEBPACK_IMPORTED_MODULE_9__["QuickpanelModule"]
                ]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/enums/currency.enum.ts":
/*!****************************************!*\
  !*** ./src/app/enums/currency.enum.ts ***!
  \****************************************/
/*! exports provided: currencyEnum, currencySymbol */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "currencyEnum", function() { return currencyEnum; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "currencySymbol", function() { return currencySymbol; });
var currencyEnum;
(function (currencyEnum) {
    currencyEnum["USD"] = "United States Dollar";
    currencyEnum["EUR"] = "Euro";
    currencyEnum["GBP"] = "British Pound";
    currencyEnum["AUD"] = "Australian Dollar";
    currencyEnum["BRL"] = "Brazilian Real";
    currencyEnum["CAD"] = "Canadian Dollar";
    currencyEnum["CNY"] = "Chinese Yuan";
    currencyEnum["EGP"] = "Egyptian Pound";
    currencyEnum["HKD"] = "Hong Kong Dollar";
    currencyEnum["INR"] = "Indian Rupee";
    currencyEnum["IDR"] = "Indonesian Rupiah";
    currencyEnum["JPY"] = "Japanese Yen";
    currencyEnum["MYR"] = "Malaysian Ringgit";
    currencyEnum["MXN"] = "Mexican Peso";
    currencyEnum["NZD"] = "New Zealand Dollar";
    currencyEnum["NOK"] = "Norwegian Krone";
    currencyEnum["PHP"] = "Philippine Peso";
    currencyEnum["SGD"] = "Singapore Dollar";
    currencyEnum["SEK"] = "Swedish Krona";
    currencyEnum["CHF"] = "Swiss Franc";
    currencyEnum["THB"] = "Thai Baht";
    currencyEnum["AED"] = "UAE Dirham";
    currencyEnum["VND"] = "Vietnamese Dong";
    currencyEnum["NGN"] = "Nigerian Naira";
    currencyEnum["KES"] = "Kenyan Shilling";
    currencyEnum["AFN"] = "Afghan Afghani";
    currencyEnum["ALL"] = "Albanian Lek";
    currencyEnum["AMD"] = "Armenian Dram";
    currencyEnum["ANG"] = "Netherlands Antillean Guilder";
    currencyEnum["ARS"] = "Argentine Peso";
    currencyEnum["AWG"] = "Aruban Florin";
    currencyEnum["AZN"] = "Azerbaijani Manat";
    currencyEnum["BAM"] = "Bosnia-Herzegovina Convertible Mark";
    currencyEnum["BDT"] = "Bangladeshi Taka";
    currencyEnum["BGN"] = "Bulgarian Lev";
    currencyEnum["BND"] = "Brunei Dollar";
    currencyEnum["BOB"] = "Bolivian Boliviano";
    currencyEnum["BWP"] = "Botswanan Pula";
    currencyEnum["BYN"] = "Belarusian Ruble";
    currencyEnum["BZD"] = "Belize Dollar";
    currencyEnum["CLP"] = "Chilean Peso";
    currencyEnum["COP"] = "Colombian Peso";
    currencyEnum["CRC"] = "Costa Rican Col\u00F3n";
    currencyEnum["CZK"] = "Czech Koruna";
    currencyEnum["CVE"] = "Cape Verdean Escudo";
    currencyEnum["DKK"] = "Danish Krone";
    currencyEnum["DOP"] = "Dominican Peso";
    currencyEnum["DZD"] = "Algerian Dinar";
    currencyEnum["FJD"] = "Fijian Dollar";
    currencyEnum["GEL"] = "Georgian Lari";
    currencyEnum["HNL"] = "Honduran Lempira";
    currencyEnum["HUF"] = "Hungarian Forint";
    currencyEnum["ILS"] = "Israeli New Sheqel";
    currencyEnum["ISK"] = "Icelandic Kr\u00F3na";
    currencyEnum["JMD"] = "Jamaican Dollar";
    currencyEnum["KGS"] = "Kyrgystani Som";
    currencyEnum["KRW"] = "South Korean Won";
    currencyEnum["KYD"] = "Cayman Islands Dollar";
    currencyEnum["KZT"] = "Kazakhstani Tenge";
    currencyEnum["TZS"] = "Tanzanian Shilling";
    currencyEnum["LAK"] = "Laotian Kip";
    currencyEnum["LBP"] = "Lebanese Pound";
    currencyEnum["LKR"] = "Sri Lankan Rupee";
    currencyEnum["MAD"] = "Moroccan Dirham";
    currencyEnum["MDL"] = "Moldovan Leu";
    currencyEnum["MKD"] = "Macedonian Denar";
    currencyEnum["MMK"] = "Myanma Kyat";
    currencyEnum["MOP"] = "Macanese Pataca";
    currencyEnum["MUR"] = "Mauritian Rupee";
    currencyEnum["MVR"] = "Maldivian Rufiyaa";
    currencyEnum["NAD"] = "Namibian Dollar";
    currencyEnum["NIO"] = "Nicaraguan C\u00F3rdoba";
    currencyEnum["NPR"] = "Nepalese Rupee";
    currencyEnum["PAB"] = "Panamanian Balboa";
    currencyEnum["PEN"] = "Peruvian Nuevo Sol";
    currencyEnum["PKR"] = "Pakistani Rupee";
    currencyEnum["PLN"] = "Polish Zloty";
    currencyEnum["PYG"] = "Paraguayan Guarani";
    currencyEnum["QAR"] = "Qatari Rial";
    currencyEnum["RON"] = "Romanian Leu";
    currencyEnum["RSD"] = "Serbian Dinar";
    currencyEnum["RUB"] = "Russian Ruble";
    currencyEnum["SAR"] = "Saudi Riyal";
    currencyEnum["SCR"] = "Seychellois Rupee";
    currencyEnum["TTD"] = "Trinidad and Tobago Dollar";
    currencyEnum["TWD"] = "New Taiwan Dollar";
    currencyEnum["UAH"] = "Ukrainian Hryvnia";
    currencyEnum["UGX"] = "Ugandan Shilling";
    currencyEnum["UYU"] = "Uruguayan Peso";
    currencyEnum["UZS"] = "Uzbekistan Som";
    currencyEnum["WST"] = "Samoan Tala";
    currencyEnum["XCD"] = "East Caribbean Dollar";
    currencyEnum["XOF"] = "CFA Franc BCEAO";
    currencyEnum["XPF"] = "CFP Franc";
    currencyEnum["YER"] = "Yemeni Rial";
    currencyEnum["ZAR"] = "South African Rand";
})(currencyEnum || (currencyEnum = {}));
var currencySymbol;
(function (currencySymbol) {
    currencySymbol["USD"] = "$";
    currencySymbol["AUD"] = "A$";
    currencySymbol["BRL"] = "R$";
    currencySymbol["GBP"] = "\u00A3";
    currencySymbol["CAD"] = "CA$";
    currencySymbol["CNY"] = "CN\u00A5";
    currencySymbol["EGP"] = "EGP";
    currencySymbol["EUR"] = "\u20AC";
    currencySymbol["HKD"] = "HK$";
    currencySymbol["INR"] = "\u20B9";
    currencySymbol["IDR"] = "Rp";
    currencySymbol["JPY"] = "\u00A5";
    currencySymbol["MYR"] = "MYR";
    currencySymbol["MXN"] = "MX$";
    currencySymbol["NZD"] = "NZ$";
    currencySymbol["NOK"] = "NOK";
    currencySymbol["PHP"] = "\u20B1";
    currencySymbol["SGD"] = "SGD";
    currencySymbol["SEK"] = "SEK";
    currencySymbol["CHF"] = "CHF";
    currencySymbol["THB"] = "THB";
    currencySymbol["AED"] = "AED";
    currencySymbol["VND"] = "\u20AB";
    currencySymbol["NGN"] = "NGN";
    currencySymbol["KES"] = "KES";
    currencySymbol["AFN"] = "\u060B;";
    currencySymbol["ALL"] = "ALL";
    currencySymbol["AMD"] = "\u0534";
    currencySymbol["ANG"] = "ANG";
    currencySymbol["ARS"] = "ARS";
    currencySymbol["AWG"] = "AWG";
    currencySymbol["AZN"] = "\u20BC";
    currencySymbol["BAM"] = "KM";
    currencySymbol["BDT"] = "\u09F3";
    currencySymbol["BGN"] = "\u043B\u0432";
    currencySymbol["BND"] = "B$";
    currencySymbol["BOB"] = "Bs.";
    currencySymbol["BWP"] = "BWP";
    currencySymbol["BYN"] = "BYN";
    currencySymbol["BZD"] = "BZ$";
    currencySymbol["CLP"] = "CLP";
    currencySymbol["COP"] = "COL$";
    currencySymbol["CRC"] = "\u20A1";
    currencySymbol["CZK"] = "K\u010D";
    currencySymbol["CVE"] = "CVE";
    currencySymbol["DKK"] = "kr.";
    currencySymbol["DOP"] = "RD$";
    currencySymbol["DZD"] = "\u062F\u062C";
    currencySymbol["FJD"] = "FJ$";
    currencySymbol["GEL"] = "GEL";
    currencySymbol["HNL"] = "L";
    currencySymbol["HUF"] = "Ft";
    currencySymbol["ILS"] = "\u20AA";
    currencySymbol["ISK"] = "\u00CDkr";
    currencySymbol["JMD"] = "JA$";
    currencySymbol["KGS"] = "\u043B\u0432";
    currencySymbol["KRW"] = "\u20A9";
    currencySymbol["KYD"] = "CI$";
    currencySymbol["KZT"] = "\u20B8";
    currencySymbol["TZS"] = "TZS";
    currencySymbol["LAK"] = "\u20AD";
    currencySymbol["LBP"] = "L\u00A3";
    currencySymbol["LKR"] = "LKR";
    currencySymbol["MAD"] = "\u062F.\u0645.";
    currencySymbol["MDL"] = "MDL";
    currencySymbol["MKD"] = "\u0434\u0435\u043D";
    currencySymbol["MMK"] = "MMK";
    currencySymbol["MOP"] = "MOP";
    currencySymbol["MUR"] = "MUR";
    currencySymbol["MVR"] = "MVR";
    currencySymbol["NAD"] = "N$";
    currencySymbol["NIO"] = "C$";
    currencySymbol["NPR"] = "NPR";
    currencySymbol["PAB"] = "\u0E3F";
    currencySymbol["PEN"] = "S/.";
    currencySymbol["PKR"] = "PKR";
    currencySymbol["PLN"] = "z\u0142";
    currencySymbol["PYG"] = "\u20B2";
    currencySymbol["QAR"] = "QAR";
    currencySymbol["RON"] = "RON";
    currencySymbol["RSD"] = "\u0420\u0421\u0414";
    currencySymbol["RUB"] = "\u20BD";
    currencySymbol["SAR"] = "SAR";
    currencySymbol["SCR"] = "SCR";
    currencySymbol["TTD"] = "TT$";
    currencySymbol["TWD"] = "NT$";
    currencySymbol["UAH"] = "\u20B4";
    currencySymbol["UGX"] = "UGX";
    currencySymbol["UYU"] = "$U";
    currencySymbol["UZS"] = "\u043B\u0432";
    currencySymbol["WST"] = "WS$";
    currencySymbol["XCD"] = "EC$";
    currencySymbol["XOF"] = "CFA";
    currencySymbol["XPF"] = "F";
    currencySymbol["YER"] = "YER";
    currencySymbol["ZAR"] = "R";
})(currencySymbol || (currencySymbol = {}));


/***/ }),

/***/ "./src/app/enums/module-identifier.enum.ts":
/*!*************************************************!*\
  !*** ./src/app/enums/module-identifier.enum.ts ***!
  \*************************************************/
/*! exports provided: ModuleIdentifier */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ModuleIdentifier", function() { return ModuleIdentifier; });
var ModuleIdentifier;
(function (ModuleIdentifier) {
    ModuleIdentifier[ModuleIdentifier["SCHOOL"] = 0] = "SCHOOL";
    ModuleIdentifier[ModuleIdentifier["STUDENT"] = 1] = "STUDENT";
    ModuleIdentifier[ModuleIdentifier["STAFF"] = 2] = "STAFF";
    ModuleIdentifier[ModuleIdentifier["PARENT"] = 3] = "PARENT";
    ModuleIdentifier[ModuleIdentifier["APPLICANT"] = 4] = "APPLICANT";
})(ModuleIdentifier || (ModuleIdentifier = {}));


/***/ }),

/***/ "./src/app/enums/module.enum.ts":
/*!**************************************!*\
  !*** ./src/app/enums/module.enum.ts ***!
  \**************************************/
/*! exports provided: Module */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Module", function() { return Module; });
var Module;
(function (Module) {
    Module["SCHOOL"] = "School";
    Module["STUDENT"] = "Student";
    Module["STAFF"] = "Staff";
    Module["PARENT"] = "Parent";
})(Module || (Module = {}));


/***/ }),

/***/ "./src/app/enums/profiles.enum.ts":
/*!****************************************!*\
  !*** ./src/app/enums/profiles.enum.ts ***!
  \****************************************/
/*! exports provided: Profiles, ProfilesTypes, ProfilesName */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Profiles", function() { return Profiles; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProfilesTypes", function() { return ProfilesTypes; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProfilesName", function() { return ProfilesName; });
var Profiles;
(function (Profiles) {
    Profiles[Profiles["SuperAdmin"] = 1] = "SuperAdmin";
    Profiles[Profiles["SchoolAdmin"] = 2] = "SchoolAdmin";
    Profiles[Profiles["AdminAssitant"] = 3] = "AdminAssitant";
    Profiles[Profiles["Teacher"] = 4] = "Teacher";
    Profiles[Profiles["HomeroomTeacher"] = 5] = "HomeroomTeacher";
    Profiles[Profiles["Parent"] = 6] = "Parent";
    Profiles[Profiles["Student"] = 7] = "Student";
})(Profiles || (Profiles = {}));
var ProfilesTypes;
(function (ProfilesTypes) {
    ProfilesTypes["SuperAdmin"] = "Super Administrator";
    ProfilesTypes["SchoolAdmin"] = "School Administrator";
    ProfilesTypes["AdminAssitant"] = "Admin Assistant";
    ProfilesTypes["Teacher"] = "Teacher";
    ProfilesTypes["HomeroomTeacher"] = "Homeroom Teacher";
    ProfilesTypes["Parent"] = "Parent";
    ProfilesTypes["Student"] = "Student";
})(ProfilesTypes || (ProfilesTypes = {}));
var ProfilesName;
(function (ProfilesName) {
    ProfilesName["Student"] = "Student";
    ProfilesName["Parent"] = "Parent";
    ProfilesName["Staff"] = "Staff";
})(ProfilesName || (ProfilesName = {}));


/***/ }),

/***/ "./src/app/enums/school-create.enum.ts":
/*!*********************************************!*\
  !*** ./src/app/enums/school-create.enum.ts ***!
  \*********************************************/
/*! exports provided: SchoolCreate */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SchoolCreate", function() { return SchoolCreate; });
var SchoolCreate;
(function (SchoolCreate) {
    SchoolCreate[SchoolCreate["ADD"] = 0] = "ADD";
    SchoolCreate[SchoolCreate["EDIT"] = 1] = "EDIT";
    SchoolCreate[SchoolCreate["VIEW"] = 2] = "VIEW";
})(SchoolCreate || (SchoolCreate = {}));


/***/ }),

/***/ "./src/app/enums/security.enum.ts":
/*!****************************************!*\
  !*** ./src/app/enums/security.enum.ts ***!
  \****************************************/
/*! exports provided: EncryptionTokens */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EncryptionTokens", function() { return EncryptionTokens; });
var EncryptionTokens;
(function (EncryptionTokens) {
    EncryptionTokens["encryptionKey"] = "oPen$!$.b14Ca5898a4e4133b!";
    EncryptionTokens["dataEncryptionKey"] = "oPen$!$.b14Ca58!";
    EncryptionTokens["jsonEncryptionKey"] = "oPen$!$b14Ca5898a4e4133b!456k42g";
})(EncryptionTokens || (EncryptionTokens = {}));


/***/ }),

/***/ "./src/app/models/certificate.model.ts":
/*!*********************************************!*\
  !*** ./src/app/models/certificate.model.ts ***!
  \*********************************************/
/*! exports provided: CertificateModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CertificateModel", function() { return CertificateModel; });
class CertificateModel {
    constructor() {
        this.id = 0;
        this.staffId = 0;
    }
}


/***/ }),

/***/ "./src/app/models/common-field.model.ts":
/*!**********************************************!*\
  !*** ./src/app/models/common-field.model.ts ***!
  \**********************************************/
/*! exports provided: CommonField */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommonField", function() { return CommonField; });
class CommonField {
    constructor() {
    }
}


/***/ }),

/***/ "./src/app/models/common.model.ts":
/*!****************************************!*\
  !*** ./src/app/models/common.model.ts ***!
  \****************************************/
/*! exports provided: AgeRangeList, EducationalStage, UserMasterModel, ResetPasswordModel, ChangePasswordViewModel, FilterParamsForAdvancedSearch, FilterParamsForAdvancedSearchModel, AdvancedSearchExpansionModel, ActiveDeactiveUserModel, BulkDataImportExcelHeader, DatabaseBackupModel, PageDataModel, GetSchoolDateTimeSettingsModel, AddUpdateSchoolDateTimeSettingsModel, GetAuditHistoryModel, PageResultModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AgeRangeList", function() { return AgeRangeList; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EducationalStage", function() { return EducationalStage; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UserMasterModel", function() { return UserMasterModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ResetPasswordModel", function() { return ResetPasswordModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ChangePasswordViewModel", function() { return ChangePasswordViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FilterParamsForAdvancedSearch", function() { return FilterParamsForAdvancedSearch; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FilterParamsForAdvancedSearchModel", function() { return FilterParamsForAdvancedSearchModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AdvancedSearchExpansionModel", function() { return AdvancedSearchExpansionModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ActiveDeactiveUserModel", function() { return ActiveDeactiveUserModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BulkDataImportExcelHeader", function() { return BulkDataImportExcelHeader; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DatabaseBackupModel", function() { return DatabaseBackupModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PageDataModel", function() { return PageDataModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetSchoolDateTimeSettingsModel", function() { return GetSchoolDateTimeSettingsModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddUpdateSchoolDateTimeSettingsModel", function() { return AddUpdateSchoolDateTimeSettingsModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetAuditHistoryModel", function() { return GetAuditHistoryModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PageResultModel", function() { return PageResultModel; });
/* harmony import */ var _common_field_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common-field.model */ "./src/app/models/common-field.model.ts");

class AgeRangeList extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this._tenantName = JSON.parse(sessionStorage.getItem('tenant'));
        this._userName = JSON.parse(sessionStorage.getItem("user"));
    }
}
class GradeRange {
}
class EducationalStage extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this._tenantName = JSON.parse(sessionStorage.getItem('tenant'));
        this._userName = JSON.parse(sessionStorage.getItem("user"));
    }
}
class UserMasterModel {
    constructor() {
    }
}
class ResetPasswordModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.userMaster = new UserMasterModel();
    }
}
class ChangePasswordViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class EducationalStageList {
}
class FilterParamsForAdvancedSearch {
    constructor() {
        this.filterOption = 1;
    }
}
class FilterParamsForAdvancedSearchModel {
    constructor() {
        this.filterParams = [];
    }
}
class AdvancedSearchExpansionModel {
    constructor() {
        this.identificationInformation = true;
        this.accessInformation = true;
        this.searchBirthdays = true;
        this.demographicInformation = true;
        this.enrollmentInformation = true;
        this.reEnrollmentInformation = false;
        this.addressInformation = true;
        this.personalContactInformation = true;
        this.alertInformation = true;
        this.medicalNotes = true;
        this.immunizationRecord = true;
        this.nurseVisitRecord = true;
        this.searchAllSchools = true;
        this.includeInactiveStudents = true;
        this.course = false;
    }
}
class ActiveDeactiveUserModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class BulkDataImportExcelHeader extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}
class DatabaseBackupModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}
class PageDataModel {
}
class GetSchoolDateTimeSettingsModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.schoolDateTimeSettings = {};
    }
}
class AddUpdateSchoolDateTimeSettingsModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.schoolDateTimeSettings = {};
    }
}
class GetAuditHistoryModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.pageResult = new PageResultModel();
    }
}
class PageResultModel {
    constructor() {
        this.sortingModel = new sortingModel();
        this.filterParams = [];
    }
}
class sortingModel {
    constructor() {
        this.sortColumn = 'lastFamilyName';
        this.sortDirection = 'asc';
    }
}


/***/ }),

/***/ "./src/app/models/communication.model.ts":
/*!***********************************************!*\
  !*** ./src/app/models/communication.model.ts ***!
  \***********************************************/
/*! exports provided: AddCommGroupModel, UpdateCommGroupModel, DeleteCommGroupModel, CommGroupMasterModel, AddUserInGroupModel, GetCommMenuModel, AllUsersFromGroupModel, RemoveUserFromGroupModel, AllUsersFromSchoolModel, filterParams, AddComposeMessageModel, CommMessageModel, CommAttachmentsModel, ComposeMessageViewModel, RecipientInfoViewModel, GetMessagingInboxModel, MessageingInboxViewModels, ViewInboxMessageModel, GetSentMessagingModel, AddCommunicationSettingsModel, ViewCommunicationSettingsModel, EditCommunicationSettingsModel, AddCommActivityModel, AllActivityListModel, EditCommActivityModel, DeleteCommActivityModel, UnreadMessageCountModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddCommGroupModel", function() { return AddCommGroupModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UpdateCommGroupModel", function() { return UpdateCommGroupModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DeleteCommGroupModel", function() { return DeleteCommGroupModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommGroupMasterModel", function() { return CommGroupMasterModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddUserInGroupModel", function() { return AddUserInGroupModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetCommMenuModel", function() { return GetCommMenuModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AllUsersFromGroupModel", function() { return AllUsersFromGroupModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RemoveUserFromGroupModel", function() { return RemoveUserFromGroupModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AllUsersFromSchoolModel", function() { return AllUsersFromSchoolModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "filterParams", function() { return filterParams; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddComposeMessageModel", function() { return AddComposeMessageModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommMessageModel", function() { return CommMessageModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommAttachmentsModel", function() { return CommAttachmentsModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ComposeMessageViewModel", function() { return ComposeMessageViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RecipientInfoViewModel", function() { return RecipientInfoViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetMessagingInboxModel", function() { return GetMessagingInboxModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MessageingInboxViewModels", function() { return MessageingInboxViewModels; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ViewInboxMessageModel", function() { return ViewInboxMessageModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetSentMessagingModel", function() { return GetSentMessagingModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddCommunicationSettingsModel", function() { return AddCommunicationSettingsModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ViewCommunicationSettingsModel", function() { return ViewCommunicationSettingsModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditCommunicationSettingsModel", function() { return EditCommunicationSettingsModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddCommActivityModel", function() { return AddCommActivityModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AllActivityListModel", function() { return AllActivityListModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditCommActivityModel", function() { return EditCommActivityModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DeleteCommActivityModel", function() { return DeleteCommActivityModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UnreadMessageCountModel", function() { return UnreadMessageCountModel; });
/* harmony import */ var _common_field_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common-field.model */ "./src/app/models/common-field.model.ts");

class AddCommGroupModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.commGroupMaster = new CommGroupMasterModel();
    }
}
class UpdateCommGroupModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.commGroupMaster = new CommGroupMasterModel();
    }
}
class DeleteCommGroupModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.commGroupMaster = new CommGroupMasterModel();
    }
}
class CommGroupMasterModel {
}
class AddUserInGroupModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.commUserGroups = [];
    }
}
class GetCommMenuModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}
class AllUsersFromGroupModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.pageNumber = 1;
        this.pageSize = 10;
    }
}
class RemoveUserFromGroupModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.commUserGroups = [];
    }
}
class AllUsersFromSchoolModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.filterParams = [];
    }
}
class filterParams {
    constructor() {
        this.columnName = "FirstGivenName";
        this.filterOption = 1;
        this.filterValue = null;
    }
}
class AddComposeMessageModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.commMessage = new CommMessageModel();
        this.composeMessageViewModel = [];
    }
}
class CommMessageModel {
    constructor() {
        this.commAttachments = [];
    }
}
class CommAttachmentsModel {
}
class ComposeMessageViewModel {
    constructor() {
        this.recipientInfoViewModel = [];
    }
}
class RecipientInfoViewModel {
}
class GetMessagingInboxModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}
class MessageingInboxViewModels {
}
class ViewInboxMessageModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}
class GetSentMessagingModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}
//=====================================>
class AddCommunicationSettingsModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.commSchoolSettingEmail = new AddCommSchoolSettingEmail();
    }
}
class ViewCommunicationSettingsModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.commSchoolSettingEmail = new ViewCommSchoolSettingEmail();
    }
}
class EditCommunicationSettingsModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.commSchoolSettingEmail = new EditCommSchoolSettingEmail();
    }
}
class AddCommSchoolSettingEmail {
    constructor() {
        this.apiEndpoint = null;
        this.apiKey = null;
        this.apiKeyId = null;
        this.apiProviderName = null;
        this.apiPassword = null;
        this.apiUsername = null;
        this.authType = null;
        this.notificationSender = null;
        this.notificationSenderName = null;
        this.enableEmailNotification = null;
        this.errorNotificationRecipients = null;
        this.adminNotificationRecipients = null;
        this.supportNotificationRecipients = null;
        this.isSecureConnection = true;
        this.isSmtp = true;
        this.port = null;
        this.smtpHost = null;
        this.username = null;
        this.password = null;
        this.schoolId = null;
        this.staffId = null;
    }
}
class ViewCommSchoolSettingEmail {
}
class EditCommSchoolSettingEmail {
}
// Activity
class AddCommActivityModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.commActivity = new CommActivity();
    }
}
class AllActivityListModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class EditCommActivityModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.commActivity = new CommActivity();
    }
}
class DeleteCommActivityModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.commActivity = new CommActivity();
    }
}
class CommActivity {
}
class CommActivityParticipants {
}
class UnreadMessageCountModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}


/***/ }),

/***/ "./src/app/models/course-manager.model.ts":
/*!************************************************!*\
  !*** ./src/app/models/course-manager.model.ts ***!
  \************************************************/
/*! exports provided: GetAllSubjectModel, SubjectModel, AddSubjectModel, UpdateSubjectModel, MassUpdateSubjectModel, DeleteSubjectModel, ProgramsModel, GetAllProgramModel, AddProgramModel, UpdateProgramModel, MassUpdateProgramModel, DeleteProgramModel, GetAllCourseListModel, CourseStandardModel, CourseStandardForCourseViewModel, CourseModel, AddCourseModel, CourseListFilterModel, SearchCourseSectionViewModel, SearchCourseSectionViewModelForGroupDelete, AllCourseSectionView, SearchCourseForScheduleModel, CourseWithCourseSectionDetailsViewModel, CourseCatelogViewModel, PeriodListByCourseSectionModel, CourseSectionByStaffModel, GetCourseSectionAssignmentByStaffModel, ViewCourseSectionModel, SearchCourseAndCourseSectionModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetAllSubjectModel", function() { return GetAllSubjectModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SubjectModel", function() { return SubjectModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddSubjectModel", function() { return AddSubjectModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UpdateSubjectModel", function() { return UpdateSubjectModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MassUpdateSubjectModel", function() { return MassUpdateSubjectModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DeleteSubjectModel", function() { return DeleteSubjectModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProgramsModel", function() { return ProgramsModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetAllProgramModel", function() { return GetAllProgramModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddProgramModel", function() { return AddProgramModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UpdateProgramModel", function() { return UpdateProgramModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MassUpdateProgramModel", function() { return MassUpdateProgramModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DeleteProgramModel", function() { return DeleteProgramModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetAllCourseListModel", function() { return GetAllCourseListModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CourseStandardModel", function() { return CourseStandardModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CourseStandardForCourseViewModel", function() { return CourseStandardForCourseViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CourseModel", function() { return CourseModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddCourseModel", function() { return AddCourseModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CourseListFilterModel", function() { return CourseListFilterModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SearchCourseSectionViewModel", function() { return SearchCourseSectionViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SearchCourseSectionViewModelForGroupDelete", function() { return SearchCourseSectionViewModelForGroupDelete; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AllCourseSectionView", function() { return AllCourseSectionView; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SearchCourseForScheduleModel", function() { return SearchCourseForScheduleModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CourseWithCourseSectionDetailsViewModel", function() { return CourseWithCourseSectionDetailsViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CourseCatelogViewModel", function() { return CourseCatelogViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PeriodListByCourseSectionModel", function() { return PeriodListByCourseSectionModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CourseSectionByStaffModel", function() { return CourseSectionByStaffModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetCourseSectionAssignmentByStaffModel", function() { return GetCourseSectionAssignmentByStaffModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ViewCourseSectionModel", function() { return ViewCourseSectionModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SearchCourseAndCourseSectionModel", function() { return SearchCourseAndCourseSectionModel; });
/* harmony import */ var _common_field_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common-field.model */ "./src/app/models/common-field.model.ts");

class GetAllSubjectModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class SubjectModel {
    constructor() {
        this.subjectId = 0;
    }
}
class AddSubjectModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.subjectList = [new SubjectModel()];
    }
}
class UpdateSubjectModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.subjectList = [new SubjectModel()];
    }
}
class MassUpdateSubjectModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.subjectList = [{}];
    }
}
class DeleteSubjectModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.subject = new SubjectModel();
    }
}
class ProgramsModel {
    constructor() {
        this.programId = 0;
    }
}
class GetAllProgramModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class AddProgramModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.programList = [new ProgramsModel()];
    }
}
class UpdateProgramModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.programList = [new ProgramsModel()];
    }
}
class MassUpdateProgramModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.programList = [{}];
    }
}
class DeleteProgramModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.programs = new ProgramsModel();
    }
}
class GetAllCourseListModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class CourseStandardModel {
    constructor() {
    }
}
class CourseStandardForCourseViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class CourseModel {
    constructor() {
        this.courseStandard = [new CourseStandardModel()];
    }
}
class AddCourseModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.course = new CourseModel();
    }
}
class CourseListFilterModel {
    constructor() {
        this.subject = '',
            this.program = '',
            this.gradeLevel = '';
    }
}
class SearchCourseSectionViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class SearchCourseSectionViewModelForGroupDelete extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.courseId = '';
        this.courseSubject = '';
        this.courseProgram = '';
        this.markingPeriodId = '';
    }
}
class AllCourseSectionView {
}
class SearchCourseForScheduleModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class CourseWithCourseSectionDetailsViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class CourseCatelogViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.markingPeriodId = '';
        this.courseSubject = '';
        this.courseId = '';
        this.gradeLevel = '';
        this.studentId = null;
    }
}
class PeriodListByCourseSectionModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.attendanceTakenForFixedSchedule = false;
    }
}
class CourseSectionByStaffModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}
class GetCourseSectionAssignmentByStaffModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class ViewCourseSectionModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}
class SearchCourseAndCourseSectionModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}


/***/ }),

/***/ "./src/app/models/fields-category.model.ts":
/*!*************************************************!*\
  !*** ./src/app/models/fields-category.model.ts ***!
  \*************************************************/
/*! exports provided: FieldsCategoryModel, FieldsCategoryAddView, FieldsCategoryListView */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FieldsCategoryModel", function() { return FieldsCategoryModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FieldsCategoryAddView", function() { return FieldsCategoryAddView; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FieldsCategoryListView", function() { return FieldsCategoryListView; });
/* harmony import */ var _common_field_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common-field.model */ "./src/app/models/common-field.model.ts");

class FieldsCategoryModel {
    constructor() {
        this.categoryId = 0;
        this.isSystemCategory = false;
        this.search = false;
        this.title = "";
        this.module = "";
        this.sortOrder = 0;
        this.required = false;
        this.hide = false;
        this.updatedOn = null;
        this.updatedBy = null;
        this.customFields = [];
    }
}
class FieldsCategoryAddView extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.fieldsCategory = new FieldsCategoryModel();
    }
}
class FieldsCategoryListView extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        // this.module = ModuleIdentifier;
    }
}


/***/ }),

/***/ "./src/app/models/get-all-school.model.ts":
/*!************************************************!*\
  !*** ./src/app/models/get-all-school.model.ts ***!
  \************************************************/
/*! exports provided: GetAllSchoolModel, AllSchoolListModel, OnlySchoolListModel, filterParams */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetAllSchoolModel", function() { return GetAllSchoolModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AllSchoolListModel", function() { return AllSchoolListModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OnlySchoolListModel", function() { return OnlySchoolListModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "filterParams", function() { return filterParams; });
class GetAllSchoolModel {
    constructor() {
        this.pageNumber = 1;
        this.pageSize = 10;
        this.sortingModel = new sorting();
        this.filterParams = null;
        this.includeInactive = false;
        this._failure = false;
        this._message = "";
    }
}
class AllSchoolListModel {
}
class OnlySchoolList {
}
class OnlySchoolListModel {
}
class sorting {
    constructor() {
        this.sortColumn = "";
        this.sortDirection = "";
    }
}
class filterParams {
    constructor() {
        this.columnName = null;
        this.filterOption = 3;
        this.filterValue = null;
    }
}


/***/ }),

/***/ "./src/app/models/grade-level.model.ts":
/*!*********************************************!*\
  !*** ./src/app/models/grade-level.model.ts ***!
  \*********************************************/
/*! exports provided: GetAllGradeLevelsModel, AddGradeLevelModel, GelAllGradeEquivalencyModel, GetCreditCategoryForStudentModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetAllGradeLevelsModel", function() { return GetAllGradeLevelsModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddGradeLevelModel", function() { return AddGradeLevelModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GelAllGradeEquivalencyModel", function() { return GelAllGradeEquivalencyModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetCreditCategoryForStudentModel", function() { return GetCreditCategoryForStudentModel; });
/* harmony import */ var _common_field_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common-field.model */ "./src/app/models/common-field.model.ts");

class GetAllGradeLevelsModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class tblGradelevel {
    constructor() {
    }
}
class AddGradeLevelModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.tblGradelevel = new tblGradelevel();
    }
}
class gradeEquivalencyList {
}
class GelAllGradeEquivalencyModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class GetCreditCategoryForStudentModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}


/***/ }),

/***/ "./src/app/models/image-cropper.model.ts":
/*!***********************************************!*\
  !*** ./src/app/models/image-cropper.model.ts ***!
  \***********************************************/
/*! exports provided: ImageModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImageModel", function() { return ImageModel; });
class ImageModel {
    constructor() {
        this.module = null;
        this.upload = false;
        this.mode = null;
    }
}


/***/ }),

/***/ "./src/app/models/marking-period.model.ts":
/*!************************************************!*\
  !*** ./src/app/models/marking-period.model.ts ***!
  \************************************************/
/*! exports provided: MarkingPeriodListModel, TableSchoolYear, MarkingPeriodAddModel, TableSchoolSemester, SemesterAddModel, TableQuarter, QuarterAddModel, TableProgressPeriod, ProgressPeriodAddModel, GetAcademicYearListModel, GetMarkingPeriodTitleListModel, GetMarkingPeriodByCourseSectionModel, MarkingPeriodTitleList, GetAllMarkingPeriodTitle */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MarkingPeriodListModel", function() { return MarkingPeriodListModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TableSchoolYear", function() { return TableSchoolYear; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MarkingPeriodAddModel", function() { return MarkingPeriodAddModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TableSchoolSemester", function() { return TableSchoolSemester; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SemesterAddModel", function() { return SemesterAddModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TableQuarter", function() { return TableQuarter; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuarterAddModel", function() { return QuarterAddModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TableProgressPeriod", function() { return TableProgressPeriod; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProgressPeriodAddModel", function() { return ProgressPeriodAddModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetAcademicYearListModel", function() { return GetAcademicYearListModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetMarkingPeriodTitleListModel", function() { return GetMarkingPeriodTitleListModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetMarkingPeriodByCourseSectionModel", function() { return GetMarkingPeriodByCourseSectionModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MarkingPeriodTitleList", function() { return MarkingPeriodTitleList; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetAllMarkingPeriodTitle", function() { return GetAllMarkingPeriodTitle; });
/* harmony import */ var _common_field_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common-field.model */ "./src/app/models/common-field.model.ts");

class MarkingPeriodListModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.schoolYearsView = [new TableSchoolYear];
        this.academicYear = JSON.parse(sessionStorage.getItem("academicyear"));
    }
}
class TableSchoolYear extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}
class MarkingPeriodAddModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.tableSchoolYears = new TableSchoolYear();
        this.schoolMaster = null;
        this.semesters = null;
    }
}
class TableSchoolSemester {
}
class SemesterAddModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.tableSemesters = new TableSchoolSemester();
        this.schoolMaster = null;
        this.schoolYears = null;
        this.quarters = null;
    }
}
class TableQuarter {
}
class QuarterAddModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.tableQuarter = new TableQuarter();
        this.schoolMaster = null;
        this.semesters = null;
        this.progressPeriods = null;
    }
}
class TableProgressPeriod {
}
class ProgressPeriodAddModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.tableProgressPeriods = new TableProgressPeriod();
    }
}
class GetAcademicYearListModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}
class GetMarkingPeriodTitleListModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}
class GetMarkingPeriodByCourseSectionModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}
class MarkingPeriodTitleList {
}
class GetAllMarkingPeriodTitle extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}


/***/ }),

/***/ "./src/app/models/moodle.model.ts":
/*!****************************************!*\
  !*** ./src/app/models/moodle.model.ts ***!
  \****************************************/
/*! exports provided: GetMoodleVersionInfoModel, MoodleSSOModel, GetMoodleConfigModel, ModifyMoodleConfigModel, AddUserInMoodle, AddCoursesInMoodle, GetUsersMoodleCourses, GetEnrolledUsersMoodleCourses, GetMoodleFinalGrades, AddMoodleAssignments, GetMoodlUserGradeReport, GetMoodleUsersRoleModel, GetMoodleUsersInfoModel, GetMoodleCourseInfoModel, GetMoodleUserSchedulingModel, GetUserCategoriesAndFieldsModel, CustomFieldModel, MoodleCategoryAndFieldsListModel, MoodleFieldsListModel, EditCustomFieldMoodleMappingModel, GetMoodlePageUrlModel, MoodleResultViewModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetMoodleVersionInfoModel", function() { return GetMoodleVersionInfoModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MoodleSSOModel", function() { return MoodleSSOModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetMoodleConfigModel", function() { return GetMoodleConfigModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ModifyMoodleConfigModel", function() { return ModifyMoodleConfigModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddUserInMoodle", function() { return AddUserInMoodle; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddCoursesInMoodle", function() { return AddCoursesInMoodle; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetUsersMoodleCourses", function() { return GetUsersMoodleCourses; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetEnrolledUsersMoodleCourses", function() { return GetEnrolledUsersMoodleCourses; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetMoodleFinalGrades", function() { return GetMoodleFinalGrades; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddMoodleAssignments", function() { return AddMoodleAssignments; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetMoodlUserGradeReport", function() { return GetMoodlUserGradeReport; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetMoodleUsersRoleModel", function() { return GetMoodleUsersRoleModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetMoodleUsersInfoModel", function() { return GetMoodleUsersInfoModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetMoodleCourseInfoModel", function() { return GetMoodleCourseInfoModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetMoodleUserSchedulingModel", function() { return GetMoodleUserSchedulingModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetUserCategoriesAndFieldsModel", function() { return GetUserCategoriesAndFieldsModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomFieldModel", function() { return CustomFieldModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MoodleCategoryAndFieldsListModel", function() { return MoodleCategoryAndFieldsListModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MoodleFieldsListModel", function() { return MoodleFieldsListModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditCustomFieldMoodleMappingModel", function() { return EditCustomFieldMoodleMappingModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetMoodlePageUrlModel", function() { return GetMoodlePageUrlModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MoodleResultViewModel", function() { return MoodleResultViewModel; });
/* harmony import */ var _common_field_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common-field.model */ "./src/app/models/common-field.model.ts");

class GetMoodleVersionInfoModel {
    constructor() {
        this.moodlewsrestformat = 'json';
        this.wsfunction = 'core_webservice_get_site_info';
    }
}
class MoodleSSOModel {
    constructor() {
        this.moodlewsrestformat = 'json';
        this.wsfunction = 'auth_userkey_request_login_url';
    }
}
class GetMoodleConfigModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class ModifyMoodleConfigModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class AddUserInMoodle extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class AddCoursesInMoodle extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class GetUsersMoodleCourses extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class GetEnrolledUsersMoodleCourses extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class GetMoodleFinalGrades extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class AddMoodleAssignments extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class GetMoodlUserGradeReport extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class GetMoodleUsersRoleModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.archeType = "";
    }
}
class GetMoodleUsersInfoModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class GetMoodleCourseInfoModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class GetMoodleUserSchedulingModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class GetUserCategoriesAndFieldsModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class CustomFieldModel {
}
class MoodleCategoryAndFieldsListModel {
}
class MoodleFieldsListModel {
}
class EditCustomFieldMoodleMappingModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class GetMoodlePageUrlModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class MoodleResultViewModel {
}


/***/ }),

/***/ "./src/app/models/notifications.model.ts":
/*!***********************************************!*\
  !*** ./src/app/models/notifications.model.ts ***!
  \***********************************************/
/*! exports provided: Notifications, GeneralNotifications, PageResultModel, UpdateNotificationModel, NotificationListModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Notifications", function() { return Notifications; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GeneralNotifications", function() { return GeneralNotifications; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PageResultModel", function() { return PageResultModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UpdateNotificationModel", function() { return UpdateNotificationModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotificationListModel", function() { return NotificationListModel; });
/* harmony import */ var _common_field_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common-field.model */ "./src/app/models/common-field.model.ts");

class Notifications {
    constructor() {
    }
}
class GeneralNotifications extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.pageResult = new PageResultModel();
    }
}
class PageResultModel {
}
class UpdateNotificationModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.notificationList = [new NotificationListModel];
    }
}
class NotificationListModel {
}


/***/ }),

/***/ "./src/app/models/parent-info.model.ts":
/*!*********************************************!*\
  !*** ./src/app/models/parent-info.model.ts ***!
  \*********************************************/
/*! exports provided: ParentInfoModel, ParentAssociationshipModel, parentAddressModel, AddParentInfoModel, ParentInfoList, ViewParentInfoModel, GetAllParentModel, GetAllParentResponseModel, ParentList, GetAllParentInfoModel, AssociateStudent, RemoveAssociateParent, ParentAdvanceSearchModel, filterParams */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParentInfoModel", function() { return ParentInfoModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParentAssociationshipModel", function() { return ParentAssociationshipModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parentAddressModel", function() { return parentAddressModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddParentInfoModel", function() { return AddParentInfoModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParentInfoList", function() { return ParentInfoList; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ViewParentInfoModel", function() { return ViewParentInfoModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetAllParentModel", function() { return GetAllParentModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetAllParentResponseModel", function() { return GetAllParentResponseModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParentList", function() { return ParentList; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetAllParentInfoModel", function() { return GetAllParentInfoModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AssociateStudent", function() { return AssociateStudent; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RemoveAssociateParent", function() { return RemoveAssociateParent; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParentAdvanceSearchModel", function() { return ParentAdvanceSearchModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "filterParams", function() { return filterParams; });
/* harmony import */ var _common_field_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common-field.model */ "./src/app/models/common-field.model.ts");
/* harmony import */ var _student_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./student.model */ "./src/app/models/student.model.ts");


class ParentInfoModel {
    constructor() {
        this.parentAddress = [new parentAddressModel];
    }
}
class ParentAssociationshipModel {
    constructor() {
    }
}
class parentAddressModel {
    constructor() {
    }
}
class AddParentInfoModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.parentInfo = new ParentInfoModel();
        this.parentAssociationship = new ParentAssociationshipModel();
        this.getStudentForView = [new _student_model__WEBPACK_IMPORTED_MODULE_1__["StudentMasterModel"]()];
    }
}
class ParentInfoList extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.firstname = null;
        this.lastname = null;
        this.mobile = null;
        this.email = null;
        this.streetAddress = null;
        this.city = null;
        this.state = null;
        this.zip = null;
    }
}
class ViewParentInfoModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class GetAllParentModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.pageNumber = 1;
        this.pageSize = 10;
        this.sortingModel = new sorting();
        this.filterParams = [];
        this.includeInactive = false;
        this._failure = false;
    }
}
class GetAllParentResponseModel {
}
class ParentList {
}
class GetAllParentInfoModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class AssociateStudent {
}
class RemoveAssociateParent extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.parentInfo = new ParentInfoModel();
    }
}
class ParentAdvanceSearchModel {
    constructor() {
        this.firstname = '';
        this.middlename = '';
        this.lastname = '';
        this.userProfile = '';
        this.firstLanguage = '';
        this.personalEmail = '';
        this.workEmail = '';
        this.homePhone = '';
        this.mobile = '';
        this.workPhone = '';
        this.firstGivenName = '';
        this.studentMiddleName = '';
        this.lastFamilyName = '';
        this.addressLineOne = '';
        this.addressLineTwo = '';
        this.country = '';
        this.state = '';
        this.city = '';
        this.zip = '';
    }
}
class filterParams {
    constructor() {
        this.columnName = null;
        this.filterOption = 3;
        this.filterValue = null;
    }
}
class sorting {
    constructor() {
        this.sortColumn = "";
        this.sortDirection = "";
    }
}


/***/ }),

/***/ "./src/app/models/release-number-model.ts":
/*!************************************************!*\
  !*** ./src/app/models/release-number-model.ts ***!
  \************************************************/
/*! exports provided: ReleaseNumber, ReleaseNumberAddViewModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReleaseNumber", function() { return ReleaseNumber; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReleaseNumberAddViewModel", function() { return ReleaseNumberAddViewModel; });
/* harmony import */ var _common_field_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common-field.model */ "./src/app/models/common-field.model.ts");

class ReleaseNumber {
    constructor() {
        this.releaseNumber1 = '';
    }
}
class ReleaseNumberAddViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.releaseNumber = new ReleaseNumber();
    }
}


/***/ }),

/***/ "./src/app/models/roll-based-access.model.ts":
/*!***************************************************!*\
  !*** ./src/app/models/roll-based-access.model.ts ***!
  \***************************************************/
/*! exports provided: RolePermission, PermissionCategory, PermissionSubCategory, PermissionGroup, PermissionGroupListViewModel, RolePermissionListViewModel, RolePermissionViewModel, PermissionGroupAddViewModel, Permissions, PermittedTabs */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RolePermission", function() { return RolePermission; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PermissionCategory", function() { return PermissionCategory; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PermissionSubCategory", function() { return PermissionSubCategory; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PermissionGroup", function() { return PermissionGroup; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PermissionGroupListViewModel", function() { return PermissionGroupListViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RolePermissionListViewModel", function() { return RolePermissionListViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RolePermissionViewModel", function() { return RolePermissionViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PermissionGroupAddViewModel", function() { return PermissionGroupAddViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Permissions", function() { return Permissions; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PermittedTabs", function() { return PermittedTabs; });
/* harmony import */ var _common_field_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common-field.model */ "./src/app/models/common-field.model.ts");

class RolePermission {
}
class PermissionCategory {
    constructor() {
        this.rolePermission = [new RolePermission];
        this.permissionSubcategory = [new PermissionSubCategory];
    }
}
class PermissionSubCategory {
    constructor() {
        this.rolePermission = [new RolePermission];
    }
}
class PermissionGroup {
    constructor() {
        this.permissionCategory = [new PermissionCategory];
        this.rolePermission = [new RolePermission];
    }
}
class PermissionGroupListViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.permissionGroupList = [new PermissionGroup];
    }
}
class RolePermissionListViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.membershipId = 1;
        this.permissionList = [new RolePermissionViewModel];
        this.membershipId = JSON.parse(sessionStorage.getItem("userMembershipID"));
    }
}
class RolePermissionViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.permissionGroup = new PermissionGroup;
    }
}
class PermissionGroupAddViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class Permissions {
    constructor() {
        this.add = false;
        this.view = false;
        this.edit = false;
        this.delete = false;
    }
}
class PermittedTabs {
}


/***/ }),

/***/ "./src/app/models/school-details.model.ts":
/*!************************************************!*\
  !*** ./src/app/models/school-details.model.ts ***!
  \************************************************/
/*! exports provided: schoolDetailsModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "schoolDetailsModel", function() { return schoolDetailsModel; });
class schoolDetailsModel {
    constructor() {
        this.id = 0;
        this.status = true;
        this.tenantId = JSON.parse(sessionStorage.getItem("tenantId"));
    }
}


/***/ }),

/***/ "./src/app/models/school-master.model.ts":
/*!***********************************************!*\
  !*** ./src/app/models/school-master.model.ts ***!
  \***********************************************/
/*! exports provided: SchoolMasterModel, SchoolAddViewModel, CopySchoolModel, CheckSchoolInternalIdViewModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SchoolMasterModel", function() { return SchoolMasterModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SchoolAddViewModel", function() { return SchoolAddViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CopySchoolModel", function() { return CopySchoolModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CheckSchoolInternalIdViewModel", function() { return CheckSchoolInternalIdViewModel; });
/* harmony import */ var _school_details_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./school-details.model */ "./src/app/models/school-details.model.ts");
/* harmony import */ var _common_field_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./common-field.model */ "./src/app/models/common-field.model.ts");


class SchoolMasterModel {
    constructor() {
        this.schoolDetail = [new _school_details_model__WEBPACK_IMPORTED_MODULE_0__["schoolDetailsModel"]];
    }
}
class SchoolAddViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_1__["CommonField"] {
    constructor() {
        super();
        this.schoolMaster = new SchoolMasterModel();
        this.schoolMaster.latitude = null;
        this.schoolMaster.longitude = null;
        this.selectedCategoryId = 0;
    }
}
class CopySchoolModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_1__["CommonField"] {
    constructor() {
        super();
        this.schoolMaster = new SchoolMasterModel();
        this.periods = true;
        this.markingPeriods = true;
        this.calendar = true;
        this.sections = true;
        this.rooms = true;
        this.gradeLevels = true;
        this.schoolFields = true;
        this.studentFields = true;
        this.enrollmentCodes = true;
        this.staffFields = true;
        this.subjets = true;
        this.programs = true;
        this.course = true;
        this.attendanceCode = true;
        this.reportCardGrades = true;
        this.reportCardComments = true;
        this.standardGrades = true;
        this.honorRollSetup = true;
        this.effortGrades = true;
        this.profilePermission = true;
        this.schoolLevel = true;
        this.schoolClassification = true;
        this.femaleToiletType = true;
        this.femaleToiletAccessibility = true;
        this.maleToiletType = true;
        this.maleToiletAccessibility = true;
        this.commonToiletType = true;
        this.commonToiletAccessibility = true;
        this.race = true;
        this.ethnicity = true;
        this.gender = true;
    }
}
class CheckSchoolInternalIdViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_1__["CommonField"] {
}


/***/ }),

/***/ "./src/app/models/signalr-connection-info.model.ts":
/*!*********************************************************!*\
  !*** ./src/app/models/signalr-connection-info.model.ts ***!
  \*********************************************************/
/*! exports provided: SignalRConnectionInfo, ConnectUserInSignalRModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SignalRConnectionInfo", function() { return SignalRConnectionInfo; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConnectUserInSignalRModel", function() { return ConnectUserInSignalRModel; });
/* harmony import */ var _common_field_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common-field.model */ "./src/app/models/common-field.model.ts");

class SignalRConnectionInfo {
}
class ConnectUserInSignalRModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}


/***/ }),

/***/ "./src/app/models/staff.model.ts":
/*!***************************************!*\
  !*** ./src/app/models/staff.model.ts ***!
  \***************************************/
/*! exports provided: StaffMasterModel, StaffAddModel, DeleteStaffModel, CheckStaffInternalIdViewModel, StaffListModel, staffMasterCloneModel, GetAllStaffModel, customFieldFilter, GetAllStaffReportModel, filterParams, StaffCertificateModel, StaffCertificateListModel, StaffSchoolInfoListModel, StaffSchoolInfoModel, StaffMasterSearchModel, StaffImportModel, StaffMasterImportModel, AfterImportStatus, ScheduledCourseSectionsForStaffModel, CourseSectionViewModel, ScheduledCourseSectionTableModel, ScheduleDetailsModel, GetStaffModel, GetStaffJobTitleModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StaffMasterModel", function() { return StaffMasterModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StaffAddModel", function() { return StaffAddModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DeleteStaffModel", function() { return DeleteStaffModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CheckStaffInternalIdViewModel", function() { return CheckStaffInternalIdViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StaffListModel", function() { return StaffListModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staffMasterCloneModel", function() { return staffMasterCloneModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetAllStaffModel", function() { return GetAllStaffModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "customFieldFilter", function() { return customFieldFilter; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetAllStaffReportModel", function() { return GetAllStaffReportModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "filterParams", function() { return filterParams; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StaffCertificateModel", function() { return StaffCertificateModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StaffCertificateListModel", function() { return StaffCertificateListModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StaffSchoolInfoListModel", function() { return StaffSchoolInfoListModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StaffSchoolInfoModel", function() { return StaffSchoolInfoModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StaffMasterSearchModel", function() { return StaffMasterSearchModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StaffImportModel", function() { return StaffImportModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StaffMasterImportModel", function() { return StaffMasterImportModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AfterImportStatus", function() { return AfterImportStatus; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ScheduledCourseSectionsForStaffModel", function() { return ScheduledCourseSectionsForStaffModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CourseSectionViewModel", function() { return CourseSectionViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ScheduledCourseSectionTableModel", function() { return ScheduledCourseSectionTableModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ScheduleDetailsModel", function() { return ScheduleDetailsModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetStaffModel", function() { return GetStaffModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetStaffJobTitleModel", function() { return GetStaffJobTitleModel; });
/* harmony import */ var _certificate_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./certificate.model */ "./src/app/models/certificate.model.ts");
/* harmony import */ var _common_field_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./common-field.model */ "./src/app/models/common-field.model.ts");
/* harmony import */ var _fields_category_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fields-category.model */ "./src/app/models/fields-category.model.ts");



class StaffMasterModel {
    constructor() {
    }
}
class StaffAddModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_1__["CommonField"] {
    constructor() {
        super();
        this.staffMaster = new StaffMasterModel();
    }
}
class DeleteStaffModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_1__["CommonField"] {
    constructor() {
        super();
    }
}
class CheckStaffInternalIdViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_1__["CommonField"] {
    constructor() {
        super();
    }
}
class StaffListModel {
}
class staffMasterCloneModel extends StaffMasterModel {
}
class GetAllStaffModel {
    constructor() {
        this.missingAttendanceDateList = []; // for getting first mising attendance data
        this.pageNumber = 1;
        this.pageSize = 10;
        this.isStaffList = false;
        this.sortingModel = new sorting();
        this.filterParams = [];
        this._failure = false;
        this._message = "";
    }
}
class customFieldFilter {
    constructor() {
        this.customFieldTitle = null;
        this.customFieldValue = null;
    }
}
class GetAllStaffReportModel {
    constructor() {
        this.missingAttendanceDateList = []; // for getting first mising attendance data
        this.pageNumber = 1;
        this.pageSize = 10;
        this.isStaffList = false;
        this.sortingModel = new sorting();
        this.filterParams = [];
        this._failure = false;
        this._message = "";
    }
}
class sorting {
    constructor() {
        this.sortColumn = "";
        this.sortDirection = "";
    }
}
class filterParams {
    constructor() {
        this.columnName = null;
        this.filterOption = 3;
        this.filterValue = null;
    }
}
//Staff Certificate Models 
class StaffCertificateModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_1__["CommonField"] {
    constructor() {
        super();
        this.staffCertificateInfo = new _certificate_model__WEBPACK_IMPORTED_MODULE_0__["CertificateModel"]();
    }
}
class StaffCertificateListModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_1__["CommonField"] {
    constructor() {
        super();
        this.pageNumber = 1;
        this.pageSize = 10;
        this.filterParams = null;
    }
}
class StaffSchoolInfoListModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_1__["CommonField"] {
    constructor() {
        super();
        this._failure = false;
    }
}
class StaffSchoolInfoModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_1__["CommonField"] {
    constructor() {
        super();
        this.homeroomTeacher = false;
        this.staffSchoolInfoList = [new StaffSchoolInfoListModel];
        this._failure = false;
    }
}
class StaffMasterSearchModel {
}
class StaffImportModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_1__["CommonField"] {
    constructor() {
        super();
        this.staffAddViewModelList = [];
    }
}
class StaffMasterImportModel {
    constructor() {
        this.staffMaster = null;
        this.fieldsCategoryList = [new _fields_category_model__WEBPACK_IMPORTED_MODULE_2__["FieldsCategoryModel"]];
        this.loginEmail = null;
        this.passwordHash = null;
    }
}
class AfterImportStatus {
}
class ScheduledCourseSectionsForStaffModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_1__["CommonField"] {
    constructor() {
        super();
    }
}
class CourseSectionViewModel {
}
class ScheduledCourseSectionTableModel {
}
class ScheduleDetailsModel {
}
class GetStaffModel {
    constructor() {
        this._failure = false;
        this._message = "";
        this.pageNumber = 1;
        this._pageSize = 10;
        this.pageSize = 10;
    }
}
class GetStaffJobTitleModel {
}


/***/ }),

/***/ "./src/app/models/student-comments.model.ts":
/*!**************************************************!*\
  !*** ./src/app/models/student-comments.model.ts ***!
  \**************************************************/
/*! exports provided: StudentCommentsModel, StudentCommentsAddView, StudentCommentsAddForGroupAssign, StudentCommentsListViewModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentCommentsModel", function() { return StudentCommentsModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentCommentsAddView", function() { return StudentCommentsAddView; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentCommentsAddForGroupAssign", function() { return StudentCommentsAddForGroupAssign; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentCommentsListViewModel", function() { return StudentCommentsListViewModel; });
/* harmony import */ var _common_field_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common-field.model */ "./src/app/models/common-field.model.ts");

class StudentCommentsModel {
    constructor() {
        this.studentId = 0;
        this.commentId = 0;
        this.comment = null;
    }
}
class StudentCommentsAddView extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}
class StudentCommentsAddForGroupAssign {
    constructor() {
        this.studentComments = new StudentCommentsModel();
    }
}
class StudentCommentsListViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.studentId = 0;
    }
}


/***/ }),

/***/ "./src/app/models/student.model.ts":
/*!*****************************************!*\
  !*** ./src/app/models/student.model.ts ***!
  \*****************************************/
/*! exports provided: StudentMasterModel, StudentAddModel, StudentAddForGroupAssignModel, StudentEnrollmentDetailsForGroupAssignModel, AddEditStudentMedicalProviderForGroupAssignModel, CheckStudentInternalIdViewModel, DeleteStudentModel, StudentResponseListModel, StudentListModel, StudentListByDateRangeModel, StudentListView, ModuleFieldList, CustomfieldTitle, filterParams, customFieldFilter, StudentDocumentListModel, GetAllStudentDocumentsList, StudentDocumentAddModel, StudentDocumentViewModel, StudentDocumentAddForGroupAssignModel, StudentSiblingSearch, StudentViewSibling, StudentSiblingAssociation, StudentEnrollmentSchoolListModel, StudentEnrollmentDetails, StudentEnrollmentModel, StudentMasterSearchModel, StudentImportModel, StudentMasterImportModel, AfterImportStatus, StudentName, StudentMedicalModel, AddEditStudentMedicalAlertModel, AddEditStudentMedicalNoteModel, AddEditStudentMedicalImmunizationModel, AddEditStudentMedicalNurseVisitModel, AddEditStudentMedicalProviderModel, StudentMedicalInfoListModel, OtherStudentTabs */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentMasterModel", function() { return StudentMasterModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentAddModel", function() { return StudentAddModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentAddForGroupAssignModel", function() { return StudentAddForGroupAssignModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentEnrollmentDetailsForGroupAssignModel", function() { return StudentEnrollmentDetailsForGroupAssignModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddEditStudentMedicalProviderForGroupAssignModel", function() { return AddEditStudentMedicalProviderForGroupAssignModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CheckStudentInternalIdViewModel", function() { return CheckStudentInternalIdViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DeleteStudentModel", function() { return DeleteStudentModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentResponseListModel", function() { return StudentResponseListModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentListModel", function() { return StudentListModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentListByDateRangeModel", function() { return StudentListByDateRangeModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentListView", function() { return StudentListView; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ModuleFieldList", function() { return ModuleFieldList; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomfieldTitle", function() { return CustomfieldTitle; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "filterParams", function() { return filterParams; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "customFieldFilter", function() { return customFieldFilter; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentDocumentListModel", function() { return StudentDocumentListModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetAllStudentDocumentsList", function() { return GetAllStudentDocumentsList; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentDocumentAddModel", function() { return StudentDocumentAddModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentDocumentViewModel", function() { return StudentDocumentViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentDocumentAddForGroupAssignModel", function() { return StudentDocumentAddForGroupAssignModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentSiblingSearch", function() { return StudentSiblingSearch; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentViewSibling", function() { return StudentViewSibling; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentSiblingAssociation", function() { return StudentSiblingAssociation; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentEnrollmentSchoolListModel", function() { return StudentEnrollmentSchoolListModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentEnrollmentDetails", function() { return StudentEnrollmentDetails; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentEnrollmentModel", function() { return StudentEnrollmentModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentMasterSearchModel", function() { return StudentMasterSearchModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentImportModel", function() { return StudentImportModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentMasterImportModel", function() { return StudentMasterImportModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AfterImportStatus", function() { return AfterImportStatus; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentName", function() { return StudentName; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentMedicalModel", function() { return StudentMedicalModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddEditStudentMedicalAlertModel", function() { return AddEditStudentMedicalAlertModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddEditStudentMedicalNoteModel", function() { return AddEditStudentMedicalNoteModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddEditStudentMedicalImmunizationModel", function() { return AddEditStudentMedicalImmunizationModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddEditStudentMedicalNurseVisitModel", function() { return AddEditStudentMedicalNurseVisitModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddEditStudentMedicalProviderModel", function() { return AddEditStudentMedicalProviderModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentMedicalInfoListModel", function() { return StudentMedicalInfoListModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OtherStudentTabs", function() { return OtherStudentTabs; });
/* harmony import */ var _common_field_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common-field.model */ "./src/app/models/common-field.model.ts");
/* harmony import */ var _fields_category_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fields-category.model */ "./src/app/models/fields-category.model.ts");
/* harmony import */ var _school_master_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./school-master.model */ "./src/app/models/school-master.model.ts");
/* harmony import */ var _student_comments_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./student-comments.model */ "./src/app/models/student-comments.model.ts");




class StudentMasterModel {
    constructor() {
        this.academicYear = JSON.parse(sessionStorage.getItem("academicyear"));
        this.tenantId = JSON.parse(sessionStorage.getItem("tenantId"));
        // this.schoolId = JSON.parse(sessionStorage.getItem("selectedSchoolId"));
    }
}
class StudentAddModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.studentMaster = new StudentMasterModel();
        this.schoolMaster = null;
        this.studentEnrollment = null;
    }
}
class StudentAddForGroupAssignModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.studentIds = [];
        this.studentMaster = new StudentMasterModel();
        this.selectedCategoryId = 3;
        this.studentEnrollments = new StudentEnrollmentDetailsForGroupAssignModel();
        this.studentMedicalProvider = new StudentMedicalModel();
        this.studentMedicalProvider.id = 0;
        this.studentComments = new _student_comments_model__WEBPACK_IMPORTED_MODULE_3__["StudentCommentsModel"]();
    }
}
class StudentEnrollmentDetailsForGroupAssignModel {
}
class AddEditStudentMedicalProviderForGroupAssignModel {
    constructor() {
        this.studentMedicalProvider = new StudentMedicalModel();
        this.studentMedicalProvider.id = 0;
        this.selectedCategoryId = 7;
    }
}
class CheckStudentInternalIdViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class DeleteStudentModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}
class studentList {
}
class StudentResponseListModel {
}
class StudentListModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.pageNumber = 1;
        this.pageSize = 10;
        this.dobStartDate = null;
        this.dobEndDate = null;
        this.sortingModel = new sorting();
        this.filterParams = [];
    }
}
class StudentListByDateRangeModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.pageNumber = 1;
        this.pageSize = 10;
        this.sortingModel = new sorting();
        this.filterParams = [];
    }
}
class StudentListView {
}
class ModuleFieldList {
}
class CustomfieldTitle {
}
class sorting {
    constructor() {
        this.sortColumn = '';
        this.sortDirection = '';
    }
}
class filterParams {
    constructor() {
        this.columnName = null;
        this.filterOption = 3;
        this.filterValue = null;
    }
}
class customFieldFilter {
    constructor() {
        this.customFieldTitle = null;
        this.customFieldValue = null;
    }
}
class StudentDocumentListModel {
}
class GetAllStudentDocumentsList extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class StudentDocumentAddModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class StudentDocumentViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.studentDocument = new StudentDocumentModel();
    }
}
class StudentDocumentModel {
}
class StudentDocumentAddForGroupAssignModel {
    constructor() {
    }
}
class StudentSiblingSearch extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class StudentViewSibling extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class StudentSiblingAssociation extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.studentMaster = new StudentMasterModel();
        this.studentMaster.tenantId = JSON.parse(sessionStorage.getItem("tenantId"));
    }
}
class StudentEnrollmentSchoolListModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.schoolMaster = [new _school_master_model__WEBPACK_IMPORTED_MODULE_2__["SchoolMasterModel"]];
    }
}
class StudentEnrollmentDetails {
}
class StudentEnrollmentModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.studentEnrollments = [new StudentEnrollmentDetails];
        this.studentEnrollmentListForView = [new StudentEnrollmentDetails];
    }
}
class StudentMasterSearchModel {
}
class StudentImportModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.studentAddViewModelList = [];
    }
}
class StudentMasterImportModel {
    constructor() {
        this.studentMaster = null;
        this.fieldsCategoryList = [new _fields_category_model__WEBPACK_IMPORTED_MODULE_1__["FieldsCategoryModel"]];
        this.loginEmail = null;
        this.passwordHash = null;
    }
}
class AfterImportStatus {
}
class StudentName {
}
class StudentMedicalModel {
    constructor() {
        this.id = 0;
        this.primaryCarePhysician = null;
        this.primaryCarePhysicianPhone = null;
        this.preferredMedicalFacility = null;
        this.preferredMedicalFacilityPhone = null;
        this.insuranceCompany = null;
        this.insuranceCompanyPhone = null;
        this.policyHolderName = null;
        this.policyNumber = null;
        this.dentistName = null;
        this.dentistPhone = null;
        this.visionName = null;
        this.visionProviderPhone = null;
    }
}
class AddEditStudentMedicalAlertModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.studentMedicalAlert = new StudentMedicalModel();
    }
}
class AddEditStudentMedicalNoteModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.studentMedicalNote = new StudentMedicalModel();
    }
}
class AddEditStudentMedicalImmunizationModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.studentMedicalImmunization = new StudentMedicalModel();
    }
}
class AddEditStudentMedicalNurseVisitModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.studentMedicalNurseVisit = new StudentMedicalModel();
    }
}
class AddEditStudentMedicalProviderModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.studentMedicalProvider = new StudentMedicalModel();
        this.studentMedicalProvider.id = 0;
    }
}
class StudentMedicalInfoListModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}
class OtherStudentTabs {
    constructor() {
        this.courseSchedule = false;
        this.attendance = false;
        this.reportCard = false;
        this.transcript = false;
        this.progressReport = false;
        this.behavior = false;
        this.fees = false;
    }
}


/***/ }),

/***/ "./src/app/models/user.model.ts":
/*!**************************************!*\
  !*** ./src/app/models/user.model.ts ***!
  \**************************************/
/*! exports provided: SendMailForResetPassword, UserViewModel, CheckUserEmailAddressViewModel, DataAvailablity, MarkingPeriodAvailability, UserLogoutModel, UserImpersonationModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SendMailForResetPassword", function() { return SendMailForResetPassword; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UserViewModel", function() { return UserViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CheckUserEmailAddressViewModel", function() { return CheckUserEmailAddressViewModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DataAvailablity", function() { return DataAvailablity; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MarkingPeriodAvailability", function() { return MarkingPeriodAvailability; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UserLogoutModel", function() { return UserLogoutModel; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UserImpersonationModel", function() { return UserImpersonationModel; });
/* harmony import */ var _common_field_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common-field.model */ "./src/app/models/common-field.model.ts");

class SendMailForResetPassword {
}
class UserViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        // this.tenantId ="1E93C7BF-0FAE-42BB-9E09-A1CEDC8C0355";
        this.userId = 0;
        this.userAccessLog = new UserAccessLogModel();
    }
}
class UserAccessLogModel {
}
class CheckUserEmailAddressViewModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
}
class DataAvailablity {
}
class MarkingPeriodAvailability {
}
class UserLogoutModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
    }
}
class UserImpersonationModel extends _common_field_model__WEBPACK_IMPORTED_MODULE_0__["CommonField"] {
    constructor() {
        super();
        this.password = null;
        this.userAccessLog = null;
        this.userId = 0;
    }
}


/***/ }),

/***/ "./src/app/pages/shared-module/activity-details/activity-details.component.ts":
/*!************************************************************************************!*\
  !*** ./src/app/pages/shared-module/activity-details/activity-details.component.ts ***!
  \************************************************************************************/
/*! exports provided: ActivityDetailsComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ActivityDetailsComponent", function() { return ActivityDetailsComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @iconify/icons-ic/close */ "./node_modules/@iconify/icons-ic/close.js");
/* harmony import */ var _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/models/communication.model */ "./src/app/models/communication.model.ts");
/* harmony import */ var src_app_pages_shared_module_confirm_dialog_confirm_dialog_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/pages/shared-module/confirm-dialog/confirm-dialog.component */ "./src/app/pages/shared-module/confirm-dialog/confirm-dialog.component.ts");
/* harmony import */ var src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/enums/profiles.enum */ "./src/app/enums/profiles.enum.ts");
/* harmony import */ var _student_add_activity_add_activity_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../student/add-activity/add-activity.component */ "./src/app/pages/student/add-activity/add-activity.component.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var src_app_services_communication_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! src/app/services/communication.service */ "./src/app/services/communication.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/material/menu */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/menu.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_material_divider__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/material/divider */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/divider.js");
/* harmony import */ var _user_define_pipe_emty_value_check_pipe__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../user-define-pipe/emty-value-check.pipe */ "./src/app/pages/shared-module/user-define-pipe/emty-value-check.pipe.ts");
/***********************************************************************************
openSIS is a free student information system for public and non-public
schools from Open Solutions for Education, Inc.Website: www.os4ed.com.

Visit the openSIS product website at https://opensis.com to learn more.
If you have question regarding this software or the license, please contact
via the website.

The software is released under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, version 3 of the License.
See https://www.gnu.org/licenses/agpl-3.0.en.html.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Copyright (c) Open Solutions for Education, Inc.

All rights reserved.
***********************************************************************************/




















function ActivityDetailsComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "slice");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"]((ctx_r0.studentActivityData == null ? null : ctx_r0.studentActivityData.notes == null ? null : ctx_r0.studentActivityData.notes.length) > 40 ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](2, 1, ctx_r0.studentActivityData == null ? null : ctx_r0.studentActivityData.notes, 0, 40) + "..." : ctx_r0.studentActivityData == null ? null : ctx_r0.studentActivityData.notes);
} }
function ActivityDetailsComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "slice");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "slice");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r1.studentActivityData.callNature ? (ctx_r1.studentActivityData == null ? null : ctx_r1.studentActivityData.callNature == null ? null : ctx_r1.studentActivityData.callNature.length) > 40 ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](2, 1, ctx_r1.studentActivityData == null ? null : ctx_r1.studentActivityData.callNature, 0, 40) + "..." : ctx_r1.studentActivityData.callNature : (ctx_r1.studentActivityData == null ? null : ctx_r1.studentActivityData.notes == null ? null : ctx_r1.studentActivityData.notes.length) > 40 ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](3, 5, ctx_r1.studentActivityData == null ? null : ctx_r1.studentActivityData.notes, 0, 40) + "..." : ctx_r1.studentActivityData == null ? null : ctx_r1.studentActivityData.notes);
} }
function ActivityDetailsComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "slice");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "slice");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r2.studentActivityData.meetingPurpose ? (ctx_r2.studentActivityData == null ? null : ctx_r2.studentActivityData.meetingPurpose == null ? null : ctx_r2.studentActivityData.meetingPurpose.length) > 40 ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](2, 1, ctx_r2.studentActivityData == null ? null : ctx_r2.studentActivityData.meetingPurpose, 0, 40) + "..." : ctx_r2.studentActivityData.meetingPurpose : (ctx_r2.studentActivityData == null ? null : ctx_r2.studentActivityData.notes == null ? null : ctx_r2.studentActivityData.notes.length) > 40 ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](3, 5, ctx_r2.studentActivityData == null ? null : ctx_r2.studentActivityData.notes, 0, 40) + "..." : ctx_r2.studentActivityData == null ? null : ctx_r2.studentActivityData.notes);
} }
function ActivityDetailsComponent_div_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "mat-icon", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "more_vert");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matMenuTriggerFor", _r4);
} }
function ActivityDetailsComponent_div_33_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "label", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "p", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "natureOfCall"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r5.studentActivityData == null ? null : ctx_r5.studentActivityData.callNature);
} }
function ActivityDetailsComponent_div_34_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "label", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "p", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "purpose"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r6.studentActivityData == null ? null : ctx_r6.studentActivityData.meetingPurpose);
} }
class ActivityDetailsComponent {
    constructor(translateService, dialogReference, dialog, communicationService, snackbar, data, defaultValuesService) {
        this.translateService = translateService;
        this.dialogReference = dialogReference;
        this.dialog = dialog;
        this.communicationService = communicationService;
        this.snackbar = snackbar;
        this.data = data;
        this.defaultValuesService = defaultValuesService;
        this.icClose = _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_2___default.a;
        this.editCommActivityModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_3__["EditCommActivityModel"]();
        this.deleteCommActivityModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_3__["DeleteCommActivityModel"]();
        this.profiles = src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_5__["ProfilesTypes"];
    }
    ngOnInit() {
        var _a;
        this.source = this.data.source;
        this.studentActivityData = this.data.activityData;
        this.participantStr = '';
        this.associatedParents = '';
        (_a = this.studentActivityData) === null || _a === void 0 ? void 0 : _a.commActivityParticipants.map(item => {
            if (item.participantStudentId) {
                this.participantStr += item.participantName + ', ';
            }
            else if (item.participantParentId) {
                this.associatedParents += item.participantName + ', ';
            }
        });
        this.participantStr = this.participantStr.substring(0, this.participantStr.length - 2);
        this.associatedParents = this.associatedParents.substring(0, this.associatedParents.length - 2);
        this.currentUserId = this.defaultValuesService.getUserId();
    }
    editItem() {
        this.dialog.open(_student_add_activity_add_activity_component__WEBPACK_IMPORTED_MODULE_6__["AddActivityComponent"], {
            width: "600px",
            data: { selectedStudents: this.studentActivityData, action: 'edit' }
        }).afterClosed().subscribe(data => {
            if (data) {
                this.dialogReference.close('edited');
            }
        });
    }
    confirmDeleteActivity(activityData) {
        const dialogRef = this.dialog.open(src_app_pages_shared_module_confirm_dialog_confirm_dialog_component__WEBPACK_IMPORTED_MODULE_4__["ConfirmDialogComponent"], {
            maxWidth: "400px",
            data: {
                title: this.defaultValuesService.translateKey('areYouSure?'),
                message: this.defaultValuesService.translateKey('youAreAboutToDelete') + activityData.activityType + "."
            }
        });
        dialogRef.afterClosed().subscribe(dialogResult => {
            if (dialogResult) {
                this.deleteItem();
            }
        });
    }
    deleteItem() {
        this.deleteCommActivityModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_3__["DeleteCommActivityModel"]();
        this.deleteCommActivityModel.commActivity = this.studentActivityData;
        this.communicationService.deleteCommActivity(this.deleteCommActivityModel).subscribe(res => {
            if (res) {
                if (res._failure) {
                    this.snackbar.open(res._message, '', {
                        duration: 5000
                    });
                }
                else {
                    this.snackbar.open(res._message, '', {
                        duration: 5000
                    });
                    this.dialogReference.close('deleted');
                }
            }
            else {
                this.snackbar.open(res._message, '', {
                    duration: 5000
                });
            }
        });
    }
}
ActivityDetailsComponent.ɵfac = function ActivityDetailsComponent_Factory(t) { return new (t || ActivityDetailsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialog"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_communication_service__WEBPACK_IMPORTED_MODULE_8__["CommunicationService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__["MatSnackBar"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MAT_DIALOG_DATA"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_10__["DefaultValuesService"])); };
ActivityDetailsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ActivityDetailsComponent, selectors: [["vex-activity-details"]], decls: 68, vars: 49, consts: [["mat-dialog-title", "", 1, "flex", "justify-between", "items-center", "mb-3"], [1, "flex", "justify-between", "items-start", "flex-auto"], [1, "font-medium", "m-0", "w-full"], [4, "ngIf"], ["class", "cursor-pointer", 3, "matMenuTriggerFor", 4, "ngIf"], ["xPosition", "before"], ["dropdownActivity", "matMenu"], ["mat-menu-item", "", 3, "click"], ["mat-dialog-close", "", "mat-icon-button", "", "type", "button", 1, "text-secondary"], [3, "icIcon"], [1, "-mx-6"], [1, "pt-6"], [1, "md:grid", "grid-cols-2", "col-gap-8", "row-gap-10"], [1, "mb-8"], [1, "text-sm", "leading-5", "text-gray"], [1, "mt-1", "text-base", "leading-5", "sm:mt-0", "sm:col-span-2"], ["class", "mb-8", 4, "ngIf"], [1, "grid", "grid-cols-2", "col-gap-8", "row-gap-10"], [1, "cursor-pointer", 3, "matMenuTriggerFor"], [1, "align-middle"]], template: function ActivityDetailsComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "h4", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, ActivityDetailsComponent_ng_container_3_Template, 3, 5, "ng-container", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, ActivityDetailsComponent_ng_container_4_Template, 4, 9, "ng-container", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, ActivityDetailsComponent_ng_container_5_Template, 4, 9, "ng-container", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, ActivityDetailsComponent_div_6_Template, 3, 1, "div", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "mat-menu", 5, 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "button", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ActivityDetailsComponent_Template_button_click_9_listener() { return ctx.editItem(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](10);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](11, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "button", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ActivityDetailsComponent_Template_button_click_12_listener() { return ctx.confirmDeleteActivity(ctx.studentActivityData); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](14, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "button", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](16, "mat-icon", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](17, "mat-divider", 10);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "mat-dialog-content", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](19, "div", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "div", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "label", 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](22);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](23, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "p", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](25);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](26, "date");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](27, "div", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](28, "label", 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](29);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](30, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](31, "p", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](32);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](33, ActivityDetailsComponent_div_33_Template, 6, 4, "div", 16);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](34, ActivityDetailsComponent_div_34_Template, 6, 4, "div", 16);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](35, "div", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](36, "label", 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](37);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](38, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](39, "p", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](40);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](41, "div", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](42, "label", 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](43);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](44, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](45, "p", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](46);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](47, "div", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](48, "label", 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](49);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](50, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](51, "p", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](52);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](53, "div", 17);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](54, "div", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](55, "label", 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](56);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](57, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](58, "p", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](59);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](60, "EmtyValueCheckPipe");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](61, "div", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](62, "label", 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](63);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](64, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](65, "p", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](66);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](67, "date");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx.studentActivityData == null ? null : ctx.studentActivityData.activityType) == "Notes");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx.studentActivityData == null ? null : ctx.studentActivityData.activityType) == "Phone");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx.studentActivityData == null ? null : ctx.studentActivityData.activityType) == "Meeting");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.defaultValuesService.getUserMembershipType() !== ctx.profiles.Student && ctx.defaultValuesService.getUserMembershipType() !== ctx.profiles.Parent && ctx.source === "studentActivity" && (ctx.studentActivityData == null ? null : ctx.studentActivityData.initiatorId) == ctx.currentUserId);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](11, 23, "editItem"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](14, 25, "deleteItem"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icClose);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](23, 27, "date"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](26, 29, ctx.studentActivityData == null ? null : ctx.studentActivityData.activityDate, ctx.defaultValuesService.getSchoolDateFormat()));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](30, 32, "time"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.studentActivityData == null ? null : ctx.studentActivityData.activityTime);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx.studentActivityData == null ? null : ctx.studentActivityData.activityType) == "Phone");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx.studentActivityData == null ? null : ctx.studentActivityData.activityType) == "Meeting");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](38, 34, "notes"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.studentActivityData == null ? null : ctx.studentActivityData.notes);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](44, 36, "students"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.participantStr);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](50, 38, "parents"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.associatedParents ? ctx.associatedParents : "-");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](57, 40, "createdBy"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](60, 42, ctx.studentActivityData == null ? null : ctx.studentActivityData.createdBy));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](64, 44, "createdOn"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](67, 46, ctx.studentActivityData == null ? null : ctx.studentActivityData.createdOn, ctx.defaultValuesService.getSchoolDateFormat()));
    } }, directives: [_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogTitle"], _angular_common__WEBPACK_IMPORTED_MODULE_11__["NgIf"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_12__["_MatMenu"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_12__["MatMenuItem"], _angular_material_button__WEBPACK_IMPORTED_MODULE_13__["MatButton"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogClose"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_14__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_15__["IconDirective"], _angular_material_divider__WEBPACK_IMPORTED_MODULE_16__["MatDivider"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogContent"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_12__["MatMenuTrigger"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_11__["DatePipe"], _user_define_pipe_emty_value_check_pipe__WEBPACK_IMPORTED_MODULE_17__["EmtyValueCheckPipe"], _angular_common__WEBPACK_IMPORTED_MODULE_11__["SlicePipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL3NoYXJlZC1tb2R1bGUvYWN0aXZpdHktZGV0YWlscy9hY3Rpdml0eS1kZXRhaWxzLmNvbXBvbmVudC5zY3NzIn0= */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ActivityDetailsComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-activity-details',
                templateUrl: './activity-details.component.html',
                styleUrls: ['./activity-details.component.scss']
            }]
    }], function () { return [{ type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateService"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogRef"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialog"] }, { type: src_app_services_communication_service__WEBPACK_IMPORTED_MODULE_8__["CommunicationService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__["MatSnackBar"] }, { type: undefined, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
                args: [_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MAT_DIALOG_DATA"]]
            }] }, { type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_10__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/compose-message-student-parent/compose-message-student-parent.component.ts":
/*!****************************************************************************************************************!*\
  !*** ./src/app/pages/shared-module/compose-message-student-parent/compose-message-student-parent.component.ts ***!
  \****************************************************************************************************************/
/*! exports provided: ComposeMessageStudentParentComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ComposeMessageStudentParentComponent", function() { return ComposeMessageStudentParentComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @iconify/icons-ic/close */ "./node_modules/@iconify/icons-ic/close.js");
/* harmony import */ var _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _iconify_icons_ic_twotone_cancel__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @iconify/icons-ic/twotone-cancel */ "./node_modules/@iconify/icons-ic/twotone-cancel.js");
/* harmony import */ var _iconify_icons_ic_twotone_cancel__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_cancel__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @iconify/icons-ic/twotone-school */ "./node_modules/@iconify/icons-ic/twotone-school.js");
/* harmony import */ var _iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _iconify_icons_ic_twotone_group__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @iconify/icons-ic/twotone-group */ "./node_modules/@iconify/icons-ic/twotone-group.js");
/* harmony import */ var _iconify_icons_ic_twotone_group__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_group__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _iconify_icons_ic_twotone_person_outline__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @iconify/icons-ic/twotone-person-outline */ "./node_modules/@iconify/icons-ic/twotone-person-outline.js");
/* harmony import */ var _iconify_icons_ic_twotone_person_outline__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_person_outline__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _iconify_icons_ic_twotone_escalator_warning__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @iconify/icons-ic/twotone-escalator-warning */ "./node_modules/@iconify/icons-ic/twotone-escalator-warning.js");
/* harmony import */ var _iconify_icons_ic_twotone_escalator_warning__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_escalator_warning__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
/* harmony import */ var src_app_models_grade_level_model__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/app/models/grade-level.model */ "./src/app/models/grade-level.model.ts");
/* harmony import */ var src_app_models_course_manager_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/app/models/course-manager.model */ "./src/app/models/course-manager.model.ts");
/* harmony import */ var src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! src/app/models/communication.model */ "./src/app/models/communication.model.ts");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! src/app/enums/profiles.enum */ "./src/app/enums/profiles.enum.ts");
/* harmony import */ var _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/cdk/keycodes */ "./node_modules/@angular/cdk/__ivy_ngcc__/fesm2015/keycodes.js");
/* harmony import */ var src_app_common_static_data__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! src/app/common/static-data */ "./src/app/common/static-data.ts");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var src_app_services_grade_level_service__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! src/app/services/grade-level.service */ "./src/app/services/grade-level.service.ts");
/* harmony import */ var src_app_services_course_manager_service__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! src/app/services/course-manager.service */ "./src/app/services/course-manager.service.ts");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var src_app_services_communication_service__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! src/app/services/communication.service */ "./src/app/services/communication.service.ts");
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/__ivy_ngcc__/fesm2015/platform-browser.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @angular/material/form-field */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/form-field.js");
/* harmony import */ var _angular_material_chips__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @angular/material/chips */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/chips.js");
/* harmony import */ var _angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! @angular/material/autocomplete */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/autocomplete.js");
/* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! @angular/material/input */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/input.js");
/* harmony import */ var ngx_quill__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ngx-quill */ "./node_modules/ngx-quill/__ivy_ngcc__/fesm2015/ngx-quill.js");
/* harmony import */ var ngx_dropzone__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ngx-dropzone */ "./node_modules/ngx-dropzone/__ivy_ngcc__/fesm2015/ngx-dropzone.js");
/* harmony import */ var _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! @angular/material/slide-toggle */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/slide-toggle.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/***********************************************************************************
openSIS is a free student information system for public and non-public
schools from Open Solutions for Education, Inc.Website: www.os4ed.com.

Visit the openSIS product website at https://opensis.com to learn more.
If you have question regarding this software or the license, please contact
via the website.

The software is released under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, version 3 of the License.
See https://www.gnu.org/licenses/agpl-3.0.en.html.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Copyright (c) Open Solutions for Education, Inc.

All rights reserved.
***********************************************************************************/







































const _c0 = ["toChipListInput"];
const _c1 = ["ccChipListInput"];
const _c2 = ["bccChipListInput"];
function ComposeMessageStudentParentComponent_div_6_Template(rf, ctx) { if (rf & 1) {
    const _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 36);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "mat-slide-toggle", 37);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function ComposeMessageStudentParentComponent_div_6_Template_mat_slide_toggle_change_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r12); const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r11.sendEmailToggleChange(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 1, "sendThisAsEmailAlso"));
} }
function ComposeMessageStudentParentComponent_mat_chip_26_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-icon", 40);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "cancel");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} }
function ComposeMessageStudentParentComponent_mat_chip_26_Template(rf, ctx) { if (rf & 1) {
    const _r16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-chip", 38);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("removed", function ComposeMessageStudentParentComponent_mat_chip_26_Template_mat_chip_removed_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r16); const toRecipient_r13 = ctx.$implicit; const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r15.removeRecipientData(toRecipient_r13, "isTo"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ComposeMessageStudentParentComponent_mat_chip_26_mat_icon_2_Template, 2, 0, "mat-icon", 39);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const toRecipient_r13 = ctx.$implicit;
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("selectable", ctx_r2.selectable)("removable", ctx_r2.removable);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", toRecipient_r13.title, " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r2.removable);
} }
function ComposeMessageStudentParentComponent_mat_option_32_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 41);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const user_r17 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", user_r17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate3"](" ", user_r17.firstGivenName, " ", user_r17.middleName ? " " + user_r17.middleName + " " : " ", " ", user_r17.lastFamilyName, " ");
} }
function ComposeMessageStudentParentComponent_div_33_mat_chip_7_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-icon", 40);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "cancel");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} }
function ComposeMessageStudentParentComponent_div_33_mat_chip_7_Template(rf, ctx) { if (rf & 1) {
    const _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-chip", 38);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("removed", function ComposeMessageStudentParentComponent_div_33_mat_chip_7_Template_mat_chip_removed_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r26); const ccRecipient_r23 = ctx.$implicit; const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r25.removeRecipientData(ccRecipient_r23, "isCC"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ComposeMessageStudentParentComponent_div_33_mat_chip_7_mat_icon_2_Template, 2, 0, "mat-icon", 39);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ccRecipient_r23 = ctx.$implicit;
    const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("selectable", ctx_r19.selectable)("removable", ctx_r19.removable);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ccRecipient_r23.title, " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r19.removable);
} }
function ComposeMessageStudentParentComponent_div_33_mat_option_13_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 41);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const user_r27 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", user_r27);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate3"](" ", user_r27.firstGivenName, " ", user_r27.middleName ? " " + user_r27.middleName + " " : " ", " ", user_r27.lastFamilyName, " ");
} }
function ComposeMessageStudentParentComponent_div_33_Template(rf, ctx) { if (rf & 1) {
    const _r29 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "mat-form-field", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "mat-chip-list", null, 42);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, ComposeMessageStudentParentComponent_div_33_mat_chip_7_Template, 3, 4, "mat-chip", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "input", 15, 43);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "mat-autocomplete", 17, 44);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("optionSelected", function ComposeMessageStudentParentComponent_div_33_Template_mat_autocomplete_optionSelected_11_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r29); const ctx_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r28.addCCUserValue($event); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](13, ComposeMessageStudentParentComponent_div_33_mat_option_13_Template, 2, 4, "mat-option", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](6);
    const _r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](12);
    const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 8, "cc"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r6.composeMessageDefaultData[1].recipientInfoViewModels);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 10, "searchRecipients"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formControl", ctx_r6.ccSearchCtrl)("matChipInputFor", _r18)("matAutocomplete", _r21)("matChipInputSeparatorKeyCodes", ctx_r6.separatorKeysCodes);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r6.ccUserList);
} }
function ComposeMessageStudentParentComponent_div_34_mat_chip_7_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-icon", 40);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "cancel");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} }
function ComposeMessageStudentParentComponent_div_34_mat_chip_7_Template(rf, ctx) { if (rf & 1) {
    const _r38 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-chip", 38);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("removed", function ComposeMessageStudentParentComponent_div_34_mat_chip_7_Template_mat_chip_removed_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r38); const bccRecipient_r35 = ctx.$implicit; const ctx_r37 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r37.removeRecipientData(bccRecipient_r35, "isBcc"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ComposeMessageStudentParentComponent_div_34_mat_chip_7_mat_icon_2_Template, 2, 0, "mat-icon", 39);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const bccRecipient_r35 = ctx.$implicit;
    const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("selectable", ctx_r31.selectable)("removable", ctx_r31.removable);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", bccRecipient_r35.title, " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r31.removable);
} }
function ComposeMessageStudentParentComponent_div_34_mat_option_13_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 41);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const user_r39 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", user_r39);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate3"](" ", user_r39.firstGivenName, " ", user_r39.middleName ? " " + user_r39.middleName + " " : " ", " ", user_r39.lastFamilyName, " ");
} }
function ComposeMessageStudentParentComponent_div_34_Template(rf, ctx) { if (rf & 1) {
    const _r41 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "mat-form-field", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "mat-chip-list", null, 45);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, ComposeMessageStudentParentComponent_div_34_mat_chip_7_Template, 3, 4, "mat-chip", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "input", 15, 46);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "mat-autocomplete", 17, 47);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("optionSelected", function ComposeMessageStudentParentComponent_div_34_Template_mat_autocomplete_optionSelected_11_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r41); const ctx_r40 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r40.addBccUserValue($event); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](13, ComposeMessageStudentParentComponent_div_34_mat_option_13_Template, 2, 4, "mat-option", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const _r30 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](6);
    const _r33 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](12);
    const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 8, "bcc"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r7.composeMessageDefaultData[2].recipientInfoViewModels);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 10, "searchRecipients"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formControl", ctx_r7.bccSearchCtrl)("matChipInputFor", _r30)("matAutocomplete", _r33)("matChipInputSeparatorKeyCodes", ctx_r7.separatorKeysCodes);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r7.bccUserList);
} }
function ComposeMessageStudentParentComponent_mat_error_40_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r8.defaultValuesService.maxLengthValidationErrMsg(ctx_r8.form.controls.subject.errors == null ? null : ctx_r8.form.controls.subject.errors.maxlength.requiredLength, ctx_r8.form.controls.subject.errors == null ? null : ctx_r8.form.controls.subject.errors.maxlength.actualLength));
} }
function ComposeMessageStudentParentComponent_ngx_dropzone_label_52_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-dropzone-label", 48);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "img", 49);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "p", 50);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span", 51);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "a", 52);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "uploadFileFromYourLocalDrive"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 4, "clickHereToSelectaFileOrDropTheFileHere"));
} }
function ComposeMessageStudentParentComponent_div_53_Template(rf, ctx) { if (rf & 1) {
    const _r44 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 53);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "a", 54);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ComposeMessageStudentParentComponent_div_53_Template_a_click_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r44); return $event.stopPropagation(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 55);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "img", 56);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "span", 57);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 58);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ComposeMessageStudentParentComponent_div_53_Template_div_click_7_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r44); const f_r42 = ctx.$implicit; const ctx_r45 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); ctx_r45.onRemove(f_r42); $event.preventDefault(); return $event.stopPropagation(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "mat-icon", 59);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const f_r42 = ctx.$implicit;
    const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", "assets/img/file-" + f_r42.extensionName + ".svg", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](f_r42.title);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r10.icCancel);
} }
const _c3 = function () { return { height: "200px" }; };
class ComposeMessageStudentParentComponent {
    constructor(dialogRef, translateService, data, gradeLevelService, courseManagerService, defaultValuesService, snackbar, communicationService, sanitizer) {
        this.dialogRef = dialogRef;
        this.translateService = translateService;
        this.data = data;
        this.gradeLevelService = gradeLevelService;
        this.courseManagerService = courseManagerService;
        this.defaultValuesService = defaultValuesService;
        this.snackbar = snackbar;
        this.communicationService = communicationService;
        this.sanitizer = sanitizer;
        this.icClose = _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_2___default.a;
        this.icCancel = _iconify_icons_ic_twotone_cancel__WEBPACK_IMPORTED_MODULE_3___default.a;
        this.icSchool = _iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_4___default.a;
        this.icGroup = _iconify_icons_ic_twotone_group__WEBPACK_IMPORTED_MODULE_5___default.a;
        this.icPersonOutline = _iconify_icons_ic_twotone_person_outline__WEBPACK_IMPORTED_MODULE_6___default.a;
        this.icEscalatorWarning = _iconify_icons_ic_twotone_escalator_warning__WEBPACK_IMPORTED_MODULE_7___default.a;
        this.allUsersFromSchoolModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_11__["AllUsersFromSchoolModel"]();
        this.getAllGradeLevelsModel = new src_app_models_grade_level_model__WEBPACK_IMPORTED_MODULE_9__["GetAllGradeLevelsModel"]();
        this.getAllCourseListModel = new src_app_models_course_manager_model__WEBPACK_IMPORTED_MODULE_10__["GetAllCourseListModel"]();
        this.addComposeMessageModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_11__["AddComposeMessageModel"]();
        this.viewCommunicationSettingsModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_11__["ViewCommunicationSettingsModel"]();
        this.showCc = false;
        this.showBcc = false;
        this.selectable = true;
        this.removable = true;
        this.groupList = [];
        this.gradeLevelList = [];
        this.courseList = [];
        this.toRecipientList = [];
        this.ccRecipientList = [];
        this.bccRecipientList = [];
        this.profiles = src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_13__["ProfilesTypes"];
        this.separatorKeysCodes = [_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_14__["ENTER"], _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_14__["COMMA"]];
        this.toUserList = [];
        this.ccUserList = [];
        this.bccUserList = [];
        this.files = [];
        this.acceptedFileTypes = ".xlsx,.xls,.csv,image/*,.doc, .docx,.ppt, .pptx,.txt,.pdf,.zip";
        this.composeMessageDefaultData = [
            {
                recipientInfoViewModels: this.toRecipientList,
                isTo: true
            },
            {
                recipientInfoViewModels: this.ccRecipientList,
                isCC: true
            },
            {
                recipientInfoViewModels: this.bccRecipientList,
                isBcc: true
            }
        ];
        this.allUsersFromSchoolSubject$ = new rxjs__WEBPACK_IMPORTED_MODULE_16__["Subject"]();
        this.membershipType = this.defaultValuesService.getUserMembershipType();
        this.userId = +this.defaultValuesService.getUserId();
    }
    ngOnInit() {
        this.toSearchCtrl = new _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormControl"]();
        this.ccSearchCtrl = new _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormControl"]();
        this.bccSearchCtrl = new _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormControl"]();
        this.formInit();
        this.modifyGroupListData();
        this.insertStudentList();
        this.insertReplyDataList();
        this.viewCommSettings();
        // this.getAllGradeLevelList();
        // this.getAllCourse();
    }
    ngAfterViewInit() {
        // For searching
        this.toSearchCtrl.valueChanges.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_12__["debounceTime"])(500), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_12__["distinctUntilChanged"])()).subscribe((term) => {
            if ((term === null || term === void 0 ? void 0 : term.trim().length) > 0) {
                if ((term === null || term === void 0 ? void 0 : term.trim().length) >= 3) {
                    this.toUserList = [];
                    let filterParams = [
                        {
                            columnName: "FirstGivenName",
                            filterOption: 1,
                            filterValue: term,
                            joinCondition: "and"
                        },
                        {
                            columnName: "UserProfile",
                            filterOption: 12,
                            filterValue: this.profiles.Student,
                            joinCondition: "and"
                        },
                        {
                            columnName: "UserProfile",
                            filterOption: 12,
                            filterValue: this.profiles.Parent,
                            joinCondition: "and"
                        },
                    ];
                    Object.assign(this.allUsersFromSchoolModel, { filterParams: filterParams });
                    this.source = 'isTo';
                    this.allUsersFromSchoolSubject$.next();
                }
                else {
                    this.toUserList = [];
                }
            }
            else {
                this.toUserList = [];
            }
        });
        this.ccSearchCtrl.valueChanges.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_12__["debounceTime"])(500), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_12__["distinctUntilChanged"])()).subscribe((term) => {
            if ((term === null || term === void 0 ? void 0 : term.trim().length) > 0) {
                if ((term === null || term === void 0 ? void 0 : term.trim().length) >= 3) {
                    this.ccUserList = [];
                    let filterParams = [
                        {
                            columnName: "FirstGivenName",
                            filterOption: 1,
                            filterValue: term,
                            joinCondition: "and"
                        },
                        {
                            columnName: "UserProfile",
                            filterOption: 12,
                            filterValue: this.profiles.Student,
                            joinCondition: "and"
                        },
                        {
                            columnName: "UserProfile",
                            filterOption: 12,
                            filterValue: this.profiles.Parent,
                            joinCondition: "and"
                        },
                    ];
                    Object.assign(this.allUsersFromSchoolModel, { filterParams: filterParams });
                    this.source = 'isCC';
                    this.allUsersFromSchoolSubject$.next();
                }
                else {
                    this.ccUserList = [];
                }
            }
            else {
                this.ccUserList = [];
            }
        });
        this.bccSearchCtrl.valueChanges.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_12__["debounceTime"])(500), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_12__["distinctUntilChanged"])()).subscribe((term) => {
            if ((term === null || term === void 0 ? void 0 : term.trim().length) > 0) {
                if ((term === null || term === void 0 ? void 0 : term.trim().length) >= 3) {
                    this.bccUserList = [];
                    let filterParams = [
                        {
                            columnName: "FirstGivenName",
                            filterOption: 1,
                            filterValue: term,
                            joinCondition: "and"
                        },
                        {
                            columnName: "UserProfile",
                            filterOption: 12,
                            filterValue: this.profiles.Student,
                            joinCondition: "and"
                        },
                        {
                            columnName: "UserProfile",
                            filterOption: 12,
                            filterValue: this.profiles.Parent,
                            joinCondition: "and"
                        },
                    ];
                    Object.assign(this.allUsersFromSchoolModel, { filterParams: filterParams });
                    this.source = 'isBcc';
                    this.allUsersFromSchoolSubject$.next();
                }
                else {
                    this.bccUserList = [];
                }
            }
            else {
                this.bccUserList = [];
            }
        });
        this.allUsersFromSchool();
    }
    formInit() {
        this.form = new _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormGroup"]({
            'sendAsEmail': new _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormControl"](false),
            'subject': new _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormControl"]('', [_angular_forms__WEBPACK_IMPORTED_MODULE_8__["Validators"].maxLength(150)]),
            'body': new _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormControl"]('', [_angular_forms__WEBPACK_IMPORTED_MODULE_8__["Validators"].required])
        });
    }
    viewCommSettings() {
        this.viewCommunicationSettingsModel.commSchoolSettingEmail.id = 1;
        this.communicationService.viewCommunicationSettings(this.viewCommunicationSettingsModel).subscribe((data) => {
            if (data) {
                if (data._failure) {
                    this.isEmailServerSet = false;
                }
                else {
                    this.isEmailServerSet = true;
                }
            }
        });
    }
    sendEmailToggleChange() {
        if (!this.isEmailServerSet) {
            this.form.controls.sendAsEmail.patchValue(false);
            this.snackbar.open(this.defaultValuesService.translateKey('theEmailServerIsNotSet'), '', {
                duration: 10000
            });
        }
    }
    modifyGroupListData() {
        var _a, _b;
        this.groupList = ((_a = this.data) === null || _a === void 0 ? void 0 : _a.groupList) ? (_b = this.data) === null || _b === void 0 ? void 0 : _b.groupList : [];
        if (this.groupList.length) {
            const lastIndex = this.groupList.length - 1;
            this.groupList.map((group, index) => {
                group.formattedName = index === lastIndex ? group.groupName : `${group.groupName},`;
                group.id = group.groupId;
                group.title = group.groupName;
                group.type = 'groupId';
            });
        }
    }
    insertStudentList() {
        var _a, _b, _c;
        if (((_a = this.data) === null || _a === void 0 ? void 0 : _a.selectedStudents) && ((_b = this.data) === null || _b === void 0 ? void 0 : _b.selectedStudents.length)) {
            (_c = this.data) === null || _c === void 0 ? void 0 : _c.selectedStudents.map(item => {
                const middleName = item.middleName ? ' ' + item.middleName + ' ' : ' ';
                item.title = item.firstGivenName + middleName + item.lastFamilyName;
                this.composeMessageDefaultData[0].recipientInfoViewModels.push({ type: 'studentId', id: item.studentId, title: item.title });
            });
        }
    }
    insertReplyDataList() {
        var _a, _b, _c, _d, _e;
        const replyData = ((_a = this.data) === null || _a === void 0 ? void 0 : _a.replyData) ? JSON.parse(JSON.stringify((_b = this.data) === null || _b === void 0 ? void 0 : _b.replyData)) : null;
        if (replyData) {
            this.addComposeMessageModel.commMessage.parentMessageId = replyData.messageId;
            if (((_c = this.data) === null || _c === void 0 ? void 0 : _c.source) === 'reply') {
                this.form.controls.subject.setValue(`Re: ${replyData.subject ? replyData.subject : ''}`);
                if (replyData.profileType === this.defaultValuesService.getUserMembershipType() && replyData.creatorId === this.userId) {
                    replyData.composeMessageViewModels.map(item => {
                        if (item.isTo) {
                            item.recipientInfoViewModels.map(subItem => {
                                if (subItem.type === "studentId" && this.membershipType === this.profiles.Student && subItem.id === this.userId) {
                                }
                                else if (subItem.type === "parentId" && this.membershipType === this.profiles.Parent && subItem.id === this.userId) {
                                }
                                else if (subItem.type === "teacherId" && (this.membershipType === this.profiles.SuperAdmin || this.membershipType === this.profiles.SchoolAdmin || this.membershipType === this.profiles.AdminAssitant || this.membershipType === this.profiles.Teacher || this.membershipType === this.profiles.HomeroomTeacher) && subItem.id === this.userId) {
                                }
                                else {
                                    this.composeMessageDefaultData[0].recipientInfoViewModels.push(subItem);
                                }
                            });
                        }
                    });
                }
                else {
                    const middleName = replyData.senderMiddleName ? ' ' + replyData.senderMiddleName + ' ' : ' ';
                    const title = replyData.senderFirstName + middleName + replyData.senderLastName;
                    const type = replyData.profileType === 'Student' ? 'studentId' : replyData.profileType === 'Parent' ? 'parentId' : 'teacherId';
                    this.composeMessageDefaultData[0].recipientInfoViewModels.push({ type: type, id: replyData.creatorId, title: title });
                }
            }
            else if (((_d = this.data) === null || _d === void 0 ? void 0 : _d.source) === 'replyToAll') {
                this.form.controls.subject.setValue(`Re: ${replyData.subject ? replyData.subject : ''}`);
                if (replyData.profileType === this.defaultValuesService.getUserMembershipType() && replyData.creatorId === this.userId) {
                    replyData.composeMessageViewModels.map(item => {
                        item.recipientInfoViewModels.map(subItem => {
                            if (subItem.type === "studentId" && this.membershipType === this.profiles.Student && subItem.id === this.userId) {
                            }
                            else if (subItem.type === "parentId" && this.membershipType === this.profiles.Parent && subItem.id === this.userId) {
                            }
                            else if (subItem.type === "teacherId" && (this.membershipType === this.profiles.SuperAdmin || this.membershipType === this.profiles.SchoolAdmin || this.membershipType === this.profiles.AdminAssitant || this.membershipType === this.profiles.Teacher || this.membershipType === this.profiles.HomeroomTeacher) && subItem.id === this.userId) {
                            }
                            else {
                                if (item.isTo) {
                                    this.composeMessageDefaultData[0].recipientInfoViewModels.push(subItem);
                                }
                                else if (item.isCC) {
                                    this.composeMessageDefaultData[1].recipientInfoViewModels.push(subItem);
                                }
                            }
                        });
                    });
                }
                else {
                    const middleName = replyData.senderMiddleName ? ' ' + replyData.senderMiddleName + ' ' : ' ';
                    const title = replyData.senderFirstName + middleName + replyData.senderLastName;
                    const type = replyData.profileType === 'Student' ? 'studentId' : replyData.profileType === 'Parent' ? 'parentId' : 'teacherId';
                    this.composeMessageDefaultData[0].recipientInfoViewModels.push({ type: type, id: replyData.creatorId, title: title });
                    replyData.composeMessageViewModels.map(item => {
                        item.recipientInfoViewModels.map(subItem => {
                            if (subItem.type === "studentId" && this.membershipType === this.profiles.Student && subItem.id === this.userId) {
                            }
                            else if (subItem.type === "parentId" && this.membershipType === this.profiles.Parent && subItem.id === this.userId) {
                            }
                            else if (subItem.type === "teacherId" && (this.membershipType === this.profiles.SuperAdmin || this.membershipType === this.profiles.SchoolAdmin || this.membershipType === this.profiles.AdminAssitant || this.membershipType === this.profiles.Teacher || this.membershipType === this.profiles.HomeroomTeacher) && subItem.id === this.userId) {
                            }
                            else {
                                if (item.isTo) {
                                    this.composeMessageDefaultData[1].recipientInfoViewModels.push(subItem);
                                }
                                else if (item.isCC) {
                                    this.composeMessageDefaultData[1].recipientInfoViewModels.push(subItem);
                                }
                            }
                        });
                    });
                }
            }
            else if (((_e = this.data) === null || _e === void 0 ? void 0 : _e.source) === 'forward') {
                this.form.controls.subject.setValue(`Fwd: ${replyData.subject ? replyData.subject : ''}`);
                this.form.controls.body.setValue(replyData.messageBody);
                if (replyData.commAttachments.length) {
                    replyData.commAttachments.map(item => {
                        this.files.push({ attachment: item.attachment, attachmentName: item.attachmentName, attachmentType: item.attachmentType, extensionName: item.extensionName, title: item.title });
                    });
                }
            }
        }
    }
    // Editor
    changedEditor(event) {
        if (event.source === 'user') {
            this.body = document.querySelector('.ql-editor').innerHTML;
        }
    }
    toggleCcDropdown() {
        this.showCc = !this.showCc;
    }
    toggleBccDropdown() {
        this.showBcc = !this.showBcc;
    }
    addRecipientData(data, source, sourceType) {
        const sourceTypeIndex = this.composeMessageDefaultData.findIndex(item => item[sourceType]);
        if (this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => (item.id === data.id && item.type === data.type)) === -1) {
            this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.push({ type: data.type, id: data.id, title: data.title });
            sourceTypeIndex === 0 ? this.toSearchCtrl.setValue('') : sourceTypeIndex === 1 ? this.ccSearchCtrl.setValue('') : sourceTypeIndex === 2 ? this.bccSearchCtrl.setValue('') : '';
        }
    }
    removeRecipientData(data, sourceType) {
        const sourceTypeIndex = this.composeMessageDefaultData.findIndex(item => item[sourceType]);
        const index = this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => (item.id === data.id && item.type === data.type));
        if (index !== -1) {
            this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.splice(index, 1);
        }
        sourceTypeIndex === 0 ? this.toChipListInput.nativeElement.value = '' : sourceTypeIndex === 1 ? this.ccChipListInput.nativeElement.value = '' : sourceTypeIndex === 2 ? this.bccChipListInput.nativeElement.value = '' : '';
        sourceTypeIndex === 0 ? this.toSearchCtrl.setValue('') : sourceTypeIndex === 1 ? this.ccSearchCtrl.setValue('') : sourceTypeIndex === 2 ? this.bccSearchCtrl.setValue('') : '';
        sourceTypeIndex === 0 ? this.toUserList = [] : sourceTypeIndex === 1 ? this.ccUserList = [] : sourceTypeIndex === 2 ? this.bccUserList = [] : '';
    }
    allUsersFromSchool() {
        this.allUsersFromSchoolSubject$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_12__["switchMap"])(() => this.communicationService.allUsersFromSchool(this.allUsersFromSchoolModel))).subscribe(res => {
            if (res) {
                if (res._failure) {
                    this.source === 'isTo' ? this.toUserList = [] : this.source === 'isCC' ? this.ccUserList = [] : this.source === 'isBcc' ? this.bccUserList = [] : '';
                    if (res.allUserViewList === null) {
                        this.snackbar.open(res._message, '', {
                            duration: 10000
                        });
                    }
                }
                else {
                    res.allUserViewList.map((item) => {
                        item.firstNameChar = item.firstGivenName.trim().charAt(0).toUpperCase();
                        item.bgColor = src_app_common_static_data__WEBPACK_IMPORTED_MODULE_15__["uniqueColors"][Math.floor(Math.random() * 9)].backgroundColor;
                        item.id = item.userId;
                        const middleName = item.middleName ? ' ' + item.middleName + ' ' : ' ';
                        item.title = item.firstGivenName + middleName + item.lastFamilyName;
                        item.type = item.userProfile === 'Student' ? 'studentId' : item.userProfile === 'Parent' ? 'parentId' : 'teacherId';
                    });
                    this.source === 'isTo' ? this.toUserList = res.allUserViewList : this.source === 'isCC' ? this.ccUserList = res.allUserViewList : this.source === 'isBcc' ? this.bccUserList = res.allUserViewList : '';
                }
            }
            else {
                this.snackbar.open(this.defaultValuesService.getHttpError(), '', {
                    duration: 10000
                });
            }
        });
    }
    addToUserValue(event) {
        this.addRecipientData(event.option.value, 'userList', 'isTo');
        this.toChipListInput.nativeElement.value = '';
        this.toSearchCtrl.setValue(null);
        this.toUserList = [];
    }
    addCCUserValue(event) {
        this.addRecipientData(event.option.value, 'userList', 'isCC');
        this.ccChipListInput.nativeElement.value = '';
        this.ccSearchCtrl.setValue(null);
        this.ccUserList = [];
    }
    addBccUserValue(event) {
        this.addRecipientData(event.option.value, 'userList', 'isBcc');
        this.bccChipListInput.nativeElement.value = '';
        this.bccSearchCtrl.setValue(null);
        this.bccUserList = [];
    }
    // For get all grade level list
    getAllGradeLevelList() {
        this.gradeLevelService.getAllGradeLevels(this.getAllGradeLevelsModel).subscribe(data => {
            if (data) {
                if (data._failure) {
                    this.gradeLevelList = [];
                    if (!data.tableGradelevelList) {
                        this.snackbar.open(data._message, '', {
                            duration: 10000
                        });
                    }
                }
                else {
                    this.gradeLevelList = data.tableGradelevelList;
                }
            }
            else {
                this.snackbar.open(this.defaultValuesService.getHttpError(), '', {
                    duration: 10000
                });
            }
        });
    }
    // For get all course list
    getAllCourse() {
        this.courseManagerService.GetAllCourseList(this.getAllCourseListModel).subscribe(data => {
            if (data) {
                if (data._failure) {
                    this.courseList = [];
                    if (!data.courseViewModelList) {
                        this.snackbar.open(data._message, '', {
                            duration: 10000
                        });
                    }
                }
                else {
                    this.courseList = data.courseViewModelList;
                }
            }
            else {
                this.snackbar.open(this.defaultValuesService.getHttpError(), '', {
                    duration: 10000
                });
            }
        });
    }
    // For file upload
    onUpload(event) {
        if (event.addedFiles.length > 0) {
            event.addedFiles.map(item => {
                let fileDataSet = {};
                const splitData = item.name.split('.');
                fileDataSet.extensionName = splitData[splitData.length - 1];
                fileDataSet.attachmentName = item.name;
                fileDataSet.attachmentType = item.type;
                if (splitData[0].length > 10) {
                    fileDataSet.title = splitData[0].slice(0, 10) + '...' + splitData[0].slice(splitData[0].length - 3, splitData[0].length) + '.' + splitData[splitData.length - 1];
                }
                else {
                    fileDataSet.title = item.name;
                }
                const reader = new FileReader();
                const file = item;
                reader.onload = (event) => {
                    // fileDataSet.attachmentType = reader.result.toString().split(',')[0];
                    fileDataSet.attachment = reader.result.toString().split(',')[1];
                };
                reader.readAsDataURL(file);
                this.files.push(fileDataSet);
            });
        }
    }
    // For file remove
    onRemove(event) {
        this.files.splice(this.files.indexOf(event), 1);
    }
    // For file view
    // openFile(data) {
    //   const url: any = this.sanitizer.bypassSecurityTrustUrl(data.attachmentType + ',' + data.attachment);
    //   window.open(url.changingThisBreaksApplicationSecurity, "_blank");
    // }
    // For send new message
    addComposeMessage() {
        this.form.markAllAsTouched();
        if (!this.composeMessageDefaultData[0].recipientInfoViewModels.length) {
            this.snackbar.open('Please specify at least one recipient.', '', {
                duration: 5000
            });
            return;
        }
        if (this.form.controls.body.invalid) {
            this.snackbar.open('Message body is required.', '', {
                duration: 5000
            });
            return;
        }
        if (this.form.valid) {
            this.addComposeMessageModel.sendAsEmail = this.form.controls.sendAsEmail.value;
            this.addComposeMessageModel.commMessage.subject = this.form.controls.subject.value;
            this.addComposeMessageModel.commMessage.messageBody = this.form.controls.body.value;
            this.addComposeMessageModel.commMessage.commAttachments = JSON.parse(JSON.stringify(this.files));
            if (this.addComposeMessageModel.commMessage.commAttachments.length) {
                this.addComposeMessageModel.commMessage.commAttachments.map(item => {
                    delete item.title;
                    delete item.extensionName;
                });
            }
            this.addComposeMessageModel.composeMessageViewModel = this.composeMessageDefaultData;
            this.communicationService.addComposeMessage(this.addComposeMessageModel).subscribe(res => {
                if (res) {
                    if (res._failure) {
                        this.snackbar.open(res._message, '', {
                            duration: 10000
                        });
                    }
                    else {
                        this.snackbar.open(res._message, '', {
                            duration: 10000
                        });
                        this.dialogRef.close(true);
                    }
                }
                else {
                    this.snackbar.open(this.defaultValuesService.getHttpError(), '', {
                        duration: 10000
                    });
                }
            });
        }
    }
    ngOnDestroy() {
        this.allUsersFromSchoolSubject$.unsubscribe();
    }
}
ComposeMessageStudentParentComponent.ɵfac = function ComposeMessageStudentParentComponent_Factory(t) { return new (t || ComposeMessageStudentParentComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_17__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MAT_DIALOG_DATA"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_grade_level_service__WEBPACK_IMPORTED_MODULE_18__["GradeLevelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_course_manager_service__WEBPACK_IMPORTED_MODULE_19__["CourseManagerService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_20__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_21__["MatSnackBar"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_communication_service__WEBPACK_IMPORTED_MODULE_22__["CommunicationService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_23__["DomSanitizer"])); };
ComposeMessageStudentParentComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ComposeMessageStudentParentComponent, selectors: [["vex-compose-message-student-parent"]], viewQuery: function ComposeMessageStudentParentComponent_Query(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, true);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c1, true);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c2, true);
    } if (rf & 2) {
        var _t;
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.toChipListInput = _t.first);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.ccChipListInput = _t.first);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.bccChipListInput = _t.first);
    } }, decls: 61, vars: 47, consts: [[3, "formGroup"], ["mat-dialog-title", "", 1, "flex", "justify-between", "items-center"], [1, "md:flex", "justify-between", "items-start", "flex-auto"], [1, "font-normal", "text-xl", "m-0"], ["class", "mr-4 text-sm font-normal", 4, "ngIf"], ["mat-dialog-close", "", "mat-icon-button", "", "type", "button", 1, "text-secondary"], [3, "icIcon"], [1, "mb-1"], [1, "relative"], [1, "text-primary", "font-semibold", "absolute", "z-10", "right-4", "top-4"], [1, "cursor-pointer", 3, "click"], [1, "mx-1"], ["appearance", "outline", 1, "w-full"], ["toChipList", ""], [3, "selectable", "removable", "removed", 4, "ngFor", "ngForOf"], ["type", "text", 3, "formControl", "placeholder", "matChipInputFor", "matAutocomplete", "matChipInputSeparatorKeyCodes"], ["toChipListInput", ""], [3, "optionSelected"], ["toAuto", "matAutocomplete"], [3, "value", 4, "ngFor", "ngForOf"], ["class", "relative", 4, "ngIf"], ["appearance", "outline", "color", "primary", 1, "w-full"], ["formControlName", "subject", "matInput", ""], [4, "ngIf"], [1, "mb-4", "border", "border-normal", "rounded"], ["formControlName", "body", 3, "placeholder", "styles", "onEditorChanged"], [1, "px-4", "py-2", "border-dashed", "border-gray", "border", "rounded"], [1, "mb-2"], [1, "flex", "items-center"], [1, "align-middel", "mr-2"], ["multiple", "true", 1, "flex", "flex-wrap", "border-0", "h-auto", "overflow-hidden", "pb-2", 3, "accept", "change"], ["class", "sm:flex", 4, "ngIf"], ["class", "inline-block border border-gray-light rounded px-2 py-1 mr-2 mb-2", 4, "ngFor", "ngForOf"], [1, "py-4", "flex", "justify-end"], ["mat-dialog-close", "", "mat-flat-button", ""], ["color", "primary", "mat-flat-button", "", "type", "button", 1, "text-white", "ml-2", 3, "click"], [1, "mr-4", "text-sm", "font-normal"], ["color", "primary", "formControlName", "sendAsEmail", 1, "align-middle", 3, "change"], [3, "selectable", "removable", "removed"], ["matChipRemove", "", 4, "ngIf"], ["matChipRemove", ""], [3, "value"], ["ccChipList", ""], ["ccChipListInput", ""], ["ccAuto", "matAutocomplete"], ["bccChipList", ""], ["bccChipListInput", ""], ["bccAuto", "matAutocomplete"], [1, "sm:flex"], ["src", "assets/img/icons/upload.svg", "alt", "Upload file icon", "width", "40px", 1, "m-auto", "flex-shrink-0", "cursor-pointer"], [1, "ml-4", "align-middle", "sm:text-left", "mt-4", "sm:mt-0"], [1, "text-base", "font-medium", "mb-0", "inline-block", "text-black"], [1, "text-gray", "text-sm"], [1, "inline-block", "border", "border-gray-light", "rounded", "px-2", "py-1", "mr-2", "mb-2"], [3, "click"], [1, "flex", "items-center", "truncate"], ["onError", "this.src='assets/img/file-others.svg'", "alt", "Excel Icon", "width", "20", 1, "inline-block", "mr-2", "disabled", 3, "src"], [1, "w-20", "text-sm", "truncate"], [1, "cursor-pointer", "pl-1", 3, "click"], [1, "align-middle", "w-auto", "h-auto", "pl-2", "text-lg", 3, "icIcon"]], template: function ComposeMessageStudentParentComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "form", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "h4", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, ComposeMessageStudentParentComponent_div_6_Template, 4, 3, "div", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "button", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "mat-icon", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "mat-dialog-content", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "div", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "div", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "span", 10);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ComposeMessageStudentParentComponent_Template_span_click_12_listener() { return ctx.toggleCcDropdown(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](14, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "span", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16, "/");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "span", 10);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ComposeMessageStudentParentComponent_Template_span_click_17_listener() { return ctx.toggleBccDropdown(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](18);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](19, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "mat-form-field", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "mat-label");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](22);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](23, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "mat-chip-list", null, 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](26, ComposeMessageStudentParentComponent_mat_chip_26_Template, 3, 4, "mat-chip", 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](27, "input", 15, 16);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](29, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](30, "mat-autocomplete", 17, 18);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("optionSelected", function ComposeMessageStudentParentComponent_Template_mat_autocomplete_optionSelected_30_listener($event) { return ctx.addToUserValue($event); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](32, ComposeMessageStudentParentComponent_mat_option_32_Template, 2, 4, "mat-option", 19);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](33, ComposeMessageStudentParentComponent_div_33_Template, 14, 12, "div", 20);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](34, ComposeMessageStudentParentComponent_div_34_Template, 14, 12, "div", 20);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](35, "mat-form-field", 21);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](36, "mat-label");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](37);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](38, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](39, "input", 22);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](40, ComposeMessageStudentParentComponent_mat_error_40_Template, 2, 1, "mat-error", 23);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](41, "div", 24);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](42, "quill-editor", 25);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("onEditorChanged", function ComposeMessageStudentParentComponent_Template_quill_editor_onEditorChanged_42_listener($event) { return ctx.changedEditor($event); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](43, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](44, "div", 26);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](45, "div", 27);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](46, "p", 28);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](47, "mat-icon", 29);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](48, "attachment");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](49);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](50, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](51, "ngx-dropzone", 30);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function ComposeMessageStudentParentComponent_Template_ngx_dropzone_change_51_listener($event) { return ctx.onUpload($event); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](52, ComposeMessageStudentParentComponent_ngx_dropzone_label_52_Template, 10, 6, "ngx-dropzone-label", 31);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](53, ComposeMessageStudentParentComponent_div_53_Template, 9, 3, "div", 32);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](54, "mat-dialog-actions", 33);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](55, "button", 34);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](56);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](57, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](58, "button", 35);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ComposeMessageStudentParentComponent_Template_button_click_58_listener() { return ctx.addComposeMessage(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](59);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](60, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](25);
        const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](31);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formGroup", ctx.form);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 26, "composeMessage"), " ");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.membershipType !== ctx.profiles.Student && ctx.membershipType !== ctx.profiles.Parent);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icClose);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](14, 28, "cc"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](19, 30, "bcc"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](23, 32, "to"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.composeMessageDefaultData[0].recipientInfoViewModels);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](29, 34, "searchRecipients"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formControl", ctx.toSearchCtrl)("matChipInputFor", _r1)("matAutocomplete", _r4)("matChipInputSeparatorKeyCodes", ctx.separatorKeysCodes);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.toUserList);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showCc);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showBcc);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](38, 36, "subject"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.form.get("subject").hasError("maxlength"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](43, 38, "insertTextHere"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("styles", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](46, _c3));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](50, 40, "attachments"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("accept", ctx.acceptedFileTypes);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx.files == null ? null : ctx.files.length) === 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.files);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](57, 42, "cancel"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](60, 44, "submit"));
    } }, directives: [_angular_forms__WEBPACK_IMPORTED_MODULE_8__["ɵangular_packages_forms_forms_y"], _angular_forms__WEBPACK_IMPORTED_MODULE_8__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormGroupDirective"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogTitle"], _angular_common__WEBPACK_IMPORTED_MODULE_24__["NgIf"], _angular_material_button__WEBPACK_IMPORTED_MODULE_25__["MatButton"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogClose"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_26__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_27__["IconDirective"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogContent"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_28__["MatFormField"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_28__["MatLabel"], _angular_material_chips__WEBPACK_IMPORTED_MODULE_29__["MatChipList"], _angular_common__WEBPACK_IMPORTED_MODULE_24__["NgForOf"], _angular_forms__WEBPACK_IMPORTED_MODULE_8__["DefaultValueAccessor"], _angular_material_chips__WEBPACK_IMPORTED_MODULE_29__["MatChipInput"], _angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_30__["MatAutocompleteTrigger"], _angular_forms__WEBPACK_IMPORTED_MODULE_8__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormControlDirective"], _angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_30__["MatAutocomplete"], _angular_material_input__WEBPACK_IMPORTED_MODULE_31__["MatInput"], _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormControlName"], ngx_quill__WEBPACK_IMPORTED_MODULE_32__["QuillEditorComponent"], ngx_dropzone__WEBPACK_IMPORTED_MODULE_33__["NgxDropzoneComponent"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogActions"], _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_34__["MatSlideToggle"], _angular_material_chips__WEBPACK_IMPORTED_MODULE_29__["MatChip"], _angular_material_chips__WEBPACK_IMPORTED_MODULE_29__["MatChipRemove"], _angular_material_core__WEBPACK_IMPORTED_MODULE_35__["MatOption"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_28__["MatError"], ngx_dropzone__WEBPACK_IMPORTED_MODULE_33__["ɵb"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_17__["TranslatePipe"]], styles: [".search-wrapper[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] {\n  width: 150px;\n  flex: 1 0 150px;\n}\n\n.search-wrapper[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus {\n  outline: none;\n}\n\n.disabled[_ngcontent-%COMP%] {\n  pointer-events: none;\n  cursor: not-allowed;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvc2hhcmVkLW1vZHVsZS9jb21wb3NlLW1lc3NhZ2Utc3R1ZGVudC1wYXJlbnQvY29tcG9zZS1tZXNzYWdlLXN0dWRlbnQtcGFyZW50LmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsWUFBQTtFQUNBLGVBQUE7QUFDRjs7QUFFQTtFQUNFLGFBQUE7QUFDRjs7QUFFQTtFQUNFLG9CQUFBO0VBQ0EsbUJBQUE7QUFDRiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL3NoYXJlZC1tb2R1bGUvY29tcG9zZS1tZXNzYWdlLXN0dWRlbnQtcGFyZW50L2NvbXBvc2UtbWVzc2FnZS1zdHVkZW50LXBhcmVudC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5zZWFyY2gtd3JhcHBlciBpbnB1dCB7XG4gIHdpZHRoOiAxNTBweDtcbiAgZmxleDogMSAwIDE1MHB4O1xufVxuXG4uc2VhcmNoLXdyYXBwZXIgaW5wdXQ6Zm9jdXMge1xuICBvdXRsaW5lOiBub25lO1xufVxuXG4uZGlzYWJsZWQge1xuICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgY3Vyc29yOiBub3QtYWxsb3dlZDtcbn0iXX0= */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ComposeMessageStudentParentComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-compose-message-student-parent',
                templateUrl: './compose-message-student-parent.component.html',
                styleUrls: ['./compose-message-student-parent.component.scss']
            }]
    }], function () { return [{ type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogRef"] }, { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_17__["TranslateService"] }, { type: undefined, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
                args: [_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MAT_DIALOG_DATA"]]
            }] }, { type: src_app_services_grade_level_service__WEBPACK_IMPORTED_MODULE_18__["GradeLevelService"] }, { type: src_app_services_course_manager_service__WEBPACK_IMPORTED_MODULE_19__["CourseManagerService"] }, { type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_20__["DefaultValuesService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_21__["MatSnackBar"] }, { type: src_app_services_communication_service__WEBPACK_IMPORTED_MODULE_22__["CommunicationService"] }, { type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_23__["DomSanitizer"] }]; }, { toChipListInput: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['toChipListInput']
        }], ccChipListInput: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['ccChipListInput']
        }], bccChipListInput: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['bccChipListInput']
        }] }); })();


/***/ }),

/***/ "./src/app/pages/shared-module/compose-message/compose-message.component.ts":
/*!**********************************************************************************!*\
  !*** ./src/app/pages/shared-module/compose-message/compose-message.component.ts ***!
  \**********************************************************************************/
/*! exports provided: ComposeMessageComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ComposeMessageComponent", function() { return ComposeMessageComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @iconify/icons-ic/close */ "./node_modules/@iconify/icons-ic/close.js");
/* harmony import */ var _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _iconify_icons_ic_twotone_cancel__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @iconify/icons-ic/twotone-cancel */ "./node_modules/@iconify/icons-ic/twotone-cancel.js");
/* harmony import */ var _iconify_icons_ic_twotone_cancel__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_cancel__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @iconify/icons-ic/twotone-school */ "./node_modules/@iconify/icons-ic/twotone-school.js");
/* harmony import */ var _iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _iconify_icons_ic_twotone_group__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @iconify/icons-ic/twotone-group */ "./node_modules/@iconify/icons-ic/twotone-group.js");
/* harmony import */ var _iconify_icons_ic_twotone_group__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_group__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _iconify_icons_ic_twotone_person_outline__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @iconify/icons-ic/twotone-person-outline */ "./node_modules/@iconify/icons-ic/twotone-person-outline.js");
/* harmony import */ var _iconify_icons_ic_twotone_person_outline__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_person_outline__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _iconify_icons_ic_twotone_escalator_warning__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @iconify/icons-ic/twotone-escalator-warning */ "./node_modules/@iconify/icons-ic/twotone-escalator-warning.js");
/* harmony import */ var _iconify_icons_ic_twotone_escalator_warning__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_escalator_warning__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
/* harmony import */ var src_app_models_grade_level_model__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/app/models/grade-level.model */ "./src/app/models/grade-level.model.ts");
/* harmony import */ var src_app_models_course_manager_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/app/models/course-manager.model */ "./src/app/models/course-manager.model.ts");
/* harmony import */ var _shared_module_confirm_dialog_confirm_dialog_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../shared-module/confirm-dialog/confirm-dialog.component */ "./src/app/pages/shared-module/confirm-dialog/confirm-dialog.component.ts");
/* harmony import */ var src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! src/app/models/communication.model */ "./src/app/models/communication.model.ts");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! src/app/enums/profiles.enum */ "./src/app/enums/profiles.enum.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var src_app_services_grade_level_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! src/app/services/grade-level.service */ "./src/app/services/grade-level.service.ts");
/* harmony import */ var src_app_services_course_manager_service__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! src/app/services/course-manager.service */ "./src/app/services/course-manager.service.ts");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var src_app_services_communication_service__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! src/app/services/communication.service */ "./src/app/services/communication.service.ts");
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/__ivy_ngcc__/fesm2015/platform-browser.js");
/* harmony import */ var _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @angular/material/slide-toggle */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/slide-toggle.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @angular/material/form-field */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/form-field.js");
/* harmony import */ var _angular_material_chips__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @angular/material/chips */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/chips.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @angular/material/input */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/input.js");
/* harmony import */ var ngx_quill__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ngx-quill */ "./node_modules/ngx-quill/__ivy_ngcc__/fesm2015/ngx-quill.js");
/* harmony import */ var ngx_dropzone__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ngx-dropzone */ "./node_modules/ngx-dropzone/__ivy_ngcc__/fesm2015/ngx-dropzone.js");
/* harmony import */ var _search_details_search_details_component__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./search-details/search-details.component */ "./src/app/pages/shared-module/compose-message/search-details/search-details.component.ts");
/* harmony import */ var _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! @angular/material/progress-spinner */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/progress-spinner.js");
/***********************************************************************************
openSIS is a free student information system for public and non-public
schools from Open Solutions for Education, Inc.Website: www.os4ed.com.

Visit the openSIS product website at https://opensis.com to learn more.
If you have question regarding this software or the license, please contact
via the website.

The software is released under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, version 3 of the License.
See https://www.gnu.org/licenses/agpl-3.0.en.html.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Copyright (c) Open Solutions for Education, Inc.

All rights reserved.
***********************************************************************************/





































function ComposeMessageComponent_mat_chip_29_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-icon", 37);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "cancel");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} }
function ComposeMessageComponent_mat_chip_29_Template(rf, ctx) { if (rf & 1) {
    const _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-chip", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("removed", function ComposeMessageComponent_mat_chip_29_Template_mat_chip_removed_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13); const toRecipient_r10 = ctx.$implicit; const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r12.removeRecipientData(toRecipient_r10, "isTo"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ComposeMessageComponent_mat_chip_29_mat_icon_2_Template, 2, 0, "mat-icon", 36);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const toRecipient_r10 = ctx.$implicit;
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("selectable", ctx_r1.selectable)("removable", ctx_r1.removable);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", toRecipient_r10.title, " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r1.removable);
} }
function ComposeMessageComponent_ng_container_32_Template(rf, ctx) { if (rf & 1) {
    const _r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "vex-search-details", 38);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("cancelView", function ComposeMessageComponent_ng_container_32_Template_vex_search_details_cancelView_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r15); const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r14.onSearchRecipient(); })("sendUserData", function ComposeMessageComponent_ng_container_32_Template_vex_search_details_sendUserData_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r15); const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r16.addRecipientData($event, "userList", "isTo"); })("sendGradeLevelData", function ComposeMessageComponent_ng_container_32_Template_vex_search_details_sendGradeLevelData_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r15); const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r17.addRecipientData($event, "gradeLevelList", "isTo"); })("sendAllInThisSchoolData", function ComposeMessageComponent_ng_container_32_Template_vex_search_details_sendAllInThisSchoolData_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r15); const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r18.addRecipientData($event, "groupList", "isTo"); })("sendCourseSectionData", function ComposeMessageComponent_ng_container_32_Template_vex_search_details_sendCourseSectionData_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r15); const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r19.addRecipientData($event, "courseSectionList", "isTo"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("gradeLevelList", ctx_r2.gradeLevelList)("courseList", ctx_r2.courseList)("searchInput", ctx_r2.searchToInput)("parentData", ctx_r2.composeMessageDefaultData[0].recipientInfoViewModels);
} }
function ComposeMessageComponent_div_33_div_4_Template(rf, ctx) { if (rf & 1) {
    const _r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 42);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "p", 43);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ComposeMessageComponent_div_33_div_4_Template_p_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r23); const group_r21 = ctx.$implicit; const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r22.addRecipientData(group_r21, "groupList", "isTo"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const group_r21 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](group_r21.formattedName);
} }
function ComposeMessageComponent_div_33_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 39);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "p", 40);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, ComposeMessageComponent_div_33_div_4_Template, 3, 1, "div", 41);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "groups"), ":");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r3.groupList);
} }
function ComposeMessageComponent_div_34_mat_chip_7_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-icon", 37);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "cancel");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} }
function ComposeMessageComponent_div_34_mat_chip_7_Template(rf, ctx) { if (rf & 1) {
    const _r30 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-chip", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("removed", function ComposeMessageComponent_div_34_mat_chip_7_Template_mat_chip_removed_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r30); const ccRecipient_r27 = ctx.$implicit; const ctx_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r29.removeRecipientData(ccRecipient_r27, "isCC"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ComposeMessageComponent_div_34_mat_chip_7_mat_icon_2_Template, 2, 0, "mat-icon", 36);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ccRecipient_r27 = ctx.$implicit;
    const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("selectable", ctx_r25.selectable)("removable", ctx_r25.removable);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ccRecipient_r27.title, " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r25.removable);
} }
function ComposeMessageComponent_div_34_ng_container_10_Template(rf, ctx) { if (rf & 1) {
    const _r32 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "vex-search-details", 38);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("cancelView", function ComposeMessageComponent_div_34_ng_container_10_Template_vex_search_details_cancelView_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r31.onSearchCcRecipient(); })("sendUserData", function ComposeMessageComponent_div_34_ng_container_10_Template_vex_search_details_sendUserData_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r33 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r33.addRecipientData($event, "userList", "isCC"); })("sendGradeLevelData", function ComposeMessageComponent_div_34_ng_container_10_Template_vex_search_details_sendGradeLevelData_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r34 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r34.addRecipientData($event, "gradeLevelList", "isCC"); })("sendAllInThisSchoolData", function ComposeMessageComponent_div_34_ng_container_10_Template_vex_search_details_sendAllInThisSchoolData_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r35 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r35.addRecipientData($event, "groupList", "isCC"); })("sendCourseSectionData", function ComposeMessageComponent_div_34_ng_container_10_Template_vex_search_details_sendCourseSectionData_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r36.addRecipientData($event, "courseSectionList", "isCC"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const ctx_r26 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("gradeLevelList", ctx_r26.gradeLevelList)("courseList", ctx_r26.courseList)("searchInput", ctx_r26.searchCcInput)("parentData", ctx_r26.composeMessageDefaultData[1].recipientInfoViewModels);
} }
function ComposeMessageComponent_div_34_Template(rf, ctx) { if (rf & 1) {
    const _r38 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "mat-form-field", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "mat-chip-list", null, 44);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, ComposeMessageComponent_div_34_mat_chip_7_Template, 3, 4, "mat-chip", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "input", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ComposeMessageComponent_div_34_Template_input_click_8_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r38); const ctx_r37 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r37.onSearchCcRecipient(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, ComposeMessageComponent_div_34_ng_container_10_Template, 2, 4, "ng-container", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const _r24 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](6);
    const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 6, "cc"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r4.composeMessageDefaultData[1].recipientInfoViewModels);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 8, "searchRecipients"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formControl", ctx_r4.ccSearchCtrl)("matChipInputFor", _r24);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r4.serchCcDetails);
} }
function ComposeMessageComponent_div_35_mat_chip_7_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-icon", 37);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "cancel");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} }
function ComposeMessageComponent_div_35_mat_chip_7_Template(rf, ctx) { if (rf & 1) {
    const _r45 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-chip", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("removed", function ComposeMessageComponent_div_35_mat_chip_7_Template_mat_chip_removed_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r45); const bccRecipient_r42 = ctx.$implicit; const ctx_r44 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r44.removeRecipientData(bccRecipient_r42, "isBcc"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ComposeMessageComponent_div_35_mat_chip_7_mat_icon_2_Template, 2, 0, "mat-icon", 36);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const bccRecipient_r42 = ctx.$implicit;
    const ctx_r40 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("selectable", ctx_r40.selectable)("removable", ctx_r40.removable);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", bccRecipient_r42.title, " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r40.removable);
} }
function ComposeMessageComponent_div_35_ng_container_10_Template(rf, ctx) { if (rf & 1) {
    const _r47 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "vex-search-details", 38);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("cancelView", function ComposeMessageComponent_div_35_ng_container_10_Template_vex_search_details_cancelView_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r47); const ctx_r46 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r46.onSearchBccRecipient(); })("sendUserData", function ComposeMessageComponent_div_35_ng_container_10_Template_vex_search_details_sendUserData_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r47); const ctx_r48 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r48.addRecipientData($event, "userList", "isBcc"); })("sendGradeLevelData", function ComposeMessageComponent_div_35_ng_container_10_Template_vex_search_details_sendGradeLevelData_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r47); const ctx_r49 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r49.addRecipientData($event, "gradeLevelList", "isBcc"); })("sendAllInThisSchoolData", function ComposeMessageComponent_div_35_ng_container_10_Template_vex_search_details_sendAllInThisSchoolData_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r47); const ctx_r50 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r50.addRecipientData($event, "groupList", "isBcc"); })("sendCourseSectionData", function ComposeMessageComponent_div_35_ng_container_10_Template_vex_search_details_sendCourseSectionData_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r47); const ctx_r51 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r51.addRecipientData($event, "courseSectionList", "isBcc"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const ctx_r41 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("gradeLevelList", ctx_r41.gradeLevelList)("courseList", ctx_r41.courseList)("searchInput", ctx_r41.searchBccInput)("parentData", ctx_r41.composeMessageDefaultData[2].recipientInfoViewModels);
} }
function ComposeMessageComponent_div_35_Template(rf, ctx) { if (rf & 1) {
    const _r53 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "mat-form-field", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "mat-chip-list", null, 45);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, ComposeMessageComponent_div_35_mat_chip_7_Template, 3, 4, "mat-chip", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "input", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ComposeMessageComponent_div_35_Template_input_click_8_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r53); const ctx_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r52.onSearchBccRecipient(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, ComposeMessageComponent_div_35_ng_container_10_Template, 2, 4, "ng-container", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const _r39 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](6);
    const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 6, "bcc"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r5.composeMessageDefaultData[2].recipientInfoViewModels);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 8, "searchRecipients"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formControl", ctx_r5.bccSearchCtrl)("matChipInputFor", _r39);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r5.serchBccDetails);
} }
function ComposeMessageComponent_mat_error_41_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r6.defaultValuesService.maxLengthValidationErrMsg(ctx_r6.form.controls.subject.errors == null ? null : ctx_r6.form.controls.subject.errors.maxlength.requiredLength, ctx_r6.form.controls.subject.errors == null ? null : ctx_r6.form.controls.subject.errors.maxlength.actualLength));
} }
function ComposeMessageComponent_ngx_dropzone_label_53_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-dropzone-label", 46);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "img", 47);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "p", 48);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span", 49);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "a", 50);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "uploadFileFromYourLocalDrive"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 4, "clickHereToSelectaFileOrDropTheFileHere"));
} }
function ComposeMessageComponent_div_54_Template(rf, ctx) { if (rf & 1) {
    const _r56 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 51);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "a", 52);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ComposeMessageComponent_div_54_Template_a_click_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r56); return $event.stopPropagation(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 53);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "img", 54);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "span", 55);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 56);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ComposeMessageComponent_div_54_Template_div_click_7_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r56); const f_r54 = ctx.$implicit; const ctx_r57 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); ctx_r57.onRemove(f_r54); $event.preventDefault(); return $event.stopPropagation(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "mat-icon", 57);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const f_r54 = ctx.$implicit;
    const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", "assets/img/file-" + f_r54.extensionName + ".svg", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](f_r54.title);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r8.icCancel);
} }
function ComposeMessageComponent_mat_icon_60_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-icon", 58);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "mat-spinner", 59);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} }
const _c0 = function () { return { height: "200px" }; };
class ComposeMessageComponent {
    constructor(dialogRef, translateService, data, gradeLevelService, courseManagerService, defaultValuesService, snackbar, communicationService, dialog, sanitizer) {
        this.dialogRef = dialogRef;
        this.translateService = translateService;
        this.data = data;
        this.gradeLevelService = gradeLevelService;
        this.courseManagerService = courseManagerService;
        this.defaultValuesService = defaultValuesService;
        this.snackbar = snackbar;
        this.communicationService = communicationService;
        this.dialog = dialog;
        this.sanitizer = sanitizer;
        this.loading = false;
        this.icClose = _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_2___default.a;
        this.icCancel = _iconify_icons_ic_twotone_cancel__WEBPACK_IMPORTED_MODULE_3___default.a;
        this.icSchool = _iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_4___default.a;
        this.icGroup = _iconify_icons_ic_twotone_group__WEBPACK_IMPORTED_MODULE_5___default.a;
        this.icPersonOutline = _iconify_icons_ic_twotone_person_outline__WEBPACK_IMPORTED_MODULE_6___default.a;
        this.icEscalatorWarning = _iconify_icons_ic_twotone_escalator_warning__WEBPACK_IMPORTED_MODULE_7___default.a;
        this.getAllGradeLevelsModel = new src_app_models_grade_level_model__WEBPACK_IMPORTED_MODULE_9__["GetAllGradeLevelsModel"]();
        this.getAllCourseListModel = new src_app_models_course_manager_model__WEBPACK_IMPORTED_MODULE_10__["GetAllCourseListModel"]();
        this.addComposeMessageModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_12__["AddComposeMessageModel"]();
        this.viewCommunicationSettingsModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_12__["ViewCommunicationSettingsModel"]();
        this.serchDetails = false;
        this.serchCcDetails = false;
        this.serchBccDetails = false;
        this.showCc = false;
        this.showBcc = false;
        this.selectable = true;
        this.removable = true;
        this.groupList = [];
        this.gradeLevelList = [];
        this.courseList = [];
        this.toRecipientList = [];
        this.ccRecipientList = [];
        this.bccRecipientList = [];
        this.profiles = src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_14__["ProfilesTypes"];
        this.files = [];
        this.acceptedFileTypes = ".xlsx,.xls,.csv,image/*,.doc, .docx,.ppt, .pptx,.txt,.pdf,.zip";
        this.composeMessageDefaultData = [
            {
                recipientInfoViewModels: this.toRecipientList,
                isTo: true
            },
            {
                recipientInfoViewModels: this.ccRecipientList,
                isCC: true
            },
            {
                recipientInfoViewModels: this.bccRecipientList,
                isBcc: true
            }
        ];
        this.membershipType = this.defaultValuesService.getUserMembershipType();
        this.userId = +this.defaultValuesService.getUserId();
    }
    ngOnInit() {
        this.toSearchCtrl = new _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormControl"]();
        this.ccSearchCtrl = new _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormControl"]();
        this.bccSearchCtrl = new _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormControl"]();
        this.formInit();
        this.modifyGroupListData();
        this.insertStudentList();
        this.insertReplyDataList();
        this.getAllGradeLevelList();
        this.getAllCourse();
        this.viewCommSettings();
    }
    ngAfterViewInit() {
        // For searching
        this.toSearchCtrl.valueChanges.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_13__["debounceTime"])(500), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_13__["distinctUntilChanged"])()).subscribe((term) => {
            if ((term === null || term === void 0 ? void 0 : term.trim().length) > 0)
                this.serchDetails = true;
            this.searchToInput = term;
        });
        this.ccSearchCtrl.valueChanges.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_13__["debounceTime"])(500), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_13__["distinctUntilChanged"])()).subscribe((term) => {
            if ((term === null || term === void 0 ? void 0 : term.trim().length) > 0)
                this.serchCcDetails = true;
            this.searchCcInput = term;
        });
        this.bccSearchCtrl.valueChanges.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_13__["debounceTime"])(500), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_13__["distinctUntilChanged"])()).subscribe((term) => {
            if ((term === null || term === void 0 ? void 0 : term.trim().length) > 0)
                this.serchBccDetails = true;
            this.searchBccInput = term;
        });
    }
    formInit() {
        this.form = new _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormGroup"]({
            'sendAsEmail': new _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormControl"](false),
            'subject': new _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormControl"]('', [_angular_forms__WEBPACK_IMPORTED_MODULE_8__["Validators"].maxLength(150)]),
            'body': new _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormControl"]('', [_angular_forms__WEBPACK_IMPORTED_MODULE_8__["Validators"].required])
        });
    }
    viewCommSettings() {
        this.viewCommunicationSettingsModel.commSchoolSettingEmail.id = 1;
        this.communicationService.viewCommunicationSettings(this.viewCommunicationSettingsModel).subscribe((data) => {
            if (data) {
                if (data._failure) {
                    this.isEmailServerSet = false;
                }
                else {
                    this.isEmailServerSet = true;
                }
            }
        });
    }
    sendEmailToggleChange() {
        if (!this.isEmailServerSet) {
            this.form.controls.sendAsEmail.patchValue(false);
            this.snackbar.open(this.defaultValuesService.translateKey('theEmailServerIsNotSet'), '', {
                duration: 10000
            });
        }
    }
    modifyGroupListData() {
        var _a, _b;
        this.groupList = ((_a = this.data) === null || _a === void 0 ? void 0 : _a.groupList) ? (_b = this.data) === null || _b === void 0 ? void 0 : _b.groupList : [];
        if (this.groupList.length) {
            const lastIndex = this.groupList.length - 1;
            this.groupList.map((group, index) => {
                group.formattedName = index === lastIndex ? group.groupName : `${group.groupName},`;
                group.id = group.groupId;
                group.title = group.groupName;
                group.type = 'groupId';
            });
        }
    }
    insertStudentList() {
        var _a, _b, _c;
        if (((_a = this.data) === null || _a === void 0 ? void 0 : _a.selectedStudents) && ((_b = this.data) === null || _b === void 0 ? void 0 : _b.selectedStudents.length)) {
            (_c = this.data) === null || _c === void 0 ? void 0 : _c.selectedStudents.map(item => {
                const middleName = item.middleName ? ' ' + item.middleName + ' ' : ' ';
                item.title = item.firstGivenName + middleName + item.lastFamilyName;
                this.composeMessageDefaultData[0].recipientInfoViewModels.push({ type: 'studentId', id: item.studentId, title: item.title });
            });
        }
    }
    insertReplyDataList() {
        var _a, _b, _c, _d, _e;
        const replyData = ((_a = this.data) === null || _a === void 0 ? void 0 : _a.replyData) ? JSON.parse(JSON.stringify((_b = this.data) === null || _b === void 0 ? void 0 : _b.replyData)) : null;
        if (replyData) {
            this.addComposeMessageModel.commMessage.parentMessageId = replyData.messageId;
            if (((_c = this.data) === null || _c === void 0 ? void 0 : _c.source) === 'reply') {
                this.form.controls.subject.setValue(`Re: ${replyData.subject ? replyData.subject : ''}`);
                if (replyData.profileType === this.defaultValuesService.getUserMembershipType() && replyData.creatorId === this.userId) {
                    replyData.composeMessageViewModels.map(item => {
                        if (item.isTo) {
                            item.recipientInfoViewModels.map(subItem => {
                                if (subItem.type === "studentId" && this.membershipType === this.profiles.Student && subItem.id === this.userId) {
                                }
                                else if (subItem.type === "parentId" && this.membershipType === this.profiles.Parent && subItem.id === this.userId) {
                                }
                                else if (subItem.type === "teacherId" && (this.membershipType === this.profiles.SuperAdmin || this.membershipType === this.profiles.SchoolAdmin || this.membershipType === this.profiles.AdminAssitant || this.membershipType === this.profiles.Teacher || this.membershipType === this.profiles.HomeroomTeacher) && subItem.id === this.userId) {
                                }
                                else {
                                    this.composeMessageDefaultData[0].recipientInfoViewModels.push(subItem);
                                }
                            });
                        }
                    });
                }
                else {
                    const middleName = replyData.senderMiddleName ? ' ' + replyData.senderMiddleName + ' ' : ' ';
                    const title = replyData.senderFirstName + middleName + replyData.senderLastName;
                    const type = replyData.profileType === 'Student' ? 'studentId' : replyData.profileType === 'Parent' ? 'parentId' : 'teacherId';
                    this.composeMessageDefaultData[0].recipientInfoViewModels.push({ type: type, id: replyData.creatorId, title: title });
                }
            }
            else if (((_d = this.data) === null || _d === void 0 ? void 0 : _d.source) === 'replyToAll') {
                this.form.controls.subject.setValue(`Re: ${replyData.subject ? replyData.subject : ''}`);
                if (replyData.profileType === this.defaultValuesService.getUserMembershipType() && replyData.creatorId === this.userId) {
                    replyData.composeMessageViewModels.map(item => {
                        item.recipientInfoViewModels.map(subItem => {
                            if (subItem.type === "studentId" && this.membershipType === this.profiles.Student && subItem.id === this.userId) {
                            }
                            else if (subItem.type === "parentId" && this.membershipType === this.profiles.Parent && subItem.id === this.userId) {
                            }
                            else if (subItem.type === "teacherId" && (this.membershipType === this.profiles.SuperAdmin || this.membershipType === this.profiles.SchoolAdmin || this.membershipType === this.profiles.AdminAssitant || this.membershipType === this.profiles.Teacher || this.membershipType === this.profiles.HomeroomTeacher) && subItem.id === this.userId) {
                            }
                            else {
                                if (item.isTo) {
                                    this.composeMessageDefaultData[0].recipientInfoViewModels.push(subItem);
                                }
                                else if (item.isCC) {
                                    this.composeMessageDefaultData[1].recipientInfoViewModels.push(subItem);
                                }
                            }
                        });
                    });
                }
                else {
                    const middleName = replyData.senderMiddleName ? ' ' + replyData.senderMiddleName + ' ' : ' ';
                    const title = replyData.senderFirstName + middleName + replyData.senderLastName;
                    const type = replyData.profileType === 'Student' ? 'studentId' : replyData.profileType === 'Parent' ? 'parentId' : 'teacherId';
                    this.composeMessageDefaultData[0].recipientInfoViewModels.push({ type: type, id: replyData.creatorId, title: title });
                    replyData.composeMessageViewModels.map(item => {
                        item.recipientInfoViewModels.map(subItem => {
                            if (subItem.type === "studentId" && this.membershipType === this.profiles.Student && subItem.id === this.userId) {
                            }
                            else if (subItem.type === "parentId" && this.membershipType === this.profiles.Parent && subItem.id === this.userId) {
                            }
                            else if (subItem.type === "teacherId" && (this.membershipType === this.profiles.SuperAdmin || this.membershipType === this.profiles.SchoolAdmin || this.membershipType === this.profiles.AdminAssitant || this.membershipType === this.profiles.Teacher || this.membershipType === this.profiles.HomeroomTeacher) && subItem.id === this.userId) {
                            }
                            else {
                                if (item.isTo) {
                                    this.composeMessageDefaultData[1].recipientInfoViewModels.push(subItem);
                                }
                                else if (item.isCC) {
                                    this.composeMessageDefaultData[1].recipientInfoViewModels.push(subItem);
                                }
                            }
                        });
                    });
                }
            }
            else if (((_e = this.data) === null || _e === void 0 ? void 0 : _e.source) === 'forward') {
                this.form.controls.subject.setValue(`Fwd: ${replyData.subject ? replyData.subject : ''}`);
                this.form.controls.body.setValue(replyData.messageBody);
                if (replyData.commAttachments.length) {
                    replyData.commAttachments.map(item => {
                        this.files.push({ attachment: item.attachment, attachmentName: item.attachmentName, attachmentType: item.attachmentType, extensionName: item.extensionName, title: item.title });
                    });
                }
            }
        }
    }
    // Editor
    changedEditor(event) {
        if (event.source === 'user') {
            this.body = document.querySelector('.ql-editor').innerHTML;
        }
    }
    onSearchRecipient() {
        this.serchDetails = !this.serchDetails;
    }
    onSearchCcRecipient() {
        this.serchCcDetails = !this.serchCcDetails;
    }
    onSearchBccRecipient() {
        this.serchBccDetails = !this.serchBccDetails;
    }
    toggleCcDropdown() {
        this.showCc = !this.showCc;
    }
    toggleBccDropdown() {
        this.showBcc = !this.showBcc;
    }
    addRecipientData(data, source, sourceType) {
        const sourceTypeIndex = this.composeMessageDefaultData.findIndex(item => item[sourceType]);
        if (source === 'gradeLevelList') {
            if (this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => (item.id === data.id && item.type === data.type)) === -1) {
                if (data.allStudents) {
                    this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.push({ type: data.type, id: data.id, title: `${data.title} Students`, isStudent: true });
                }
                if (data.allParents) {
                    this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.push({ type: data.type, id: data.id, title: `${data.title} Parents`, isParent: true });
                }
                sourceTypeIndex === 0 ? this.toSearchCtrl.setValue('') : sourceTypeIndex === 1 ? this.ccSearchCtrl.setValue('') : sourceTypeIndex === 2 ? this.bccSearchCtrl.setValue('') : '';
                sourceTypeIndex === 0 ? this.serchDetails = false : sourceTypeIndex === 1 ? this.serchCcDetails = false : sourceTypeIndex === 2 ? this.serchBccDetails = false : '';
            }
            else {
                if (data.allStudents) {
                    if (this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => (item.id === data.id && item.type === data.type && item.isStudent)) === -1) {
                        this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.push({ type: data.type, id: data.id, title: `${data.title} Students`, isStudent: true });
                        sourceTypeIndex === 0 ? this.toSearchCtrl.setValue('') : sourceTypeIndex === 1 ? this.ccSearchCtrl.setValue('') : sourceTypeIndex === 2 ? this.bccSearchCtrl.setValue('') : '';
                        sourceTypeIndex === 0 ? this.serchDetails = false : sourceTypeIndex === 1 ? this.serchCcDetails = false : sourceTypeIndex === 2 ? this.serchBccDetails = false : '';
                    }
                }
                if (data.allParents) {
                    if (this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => (item.id === data.id && item.type === data.type && item.isParent)) === -1) {
                        this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.push({ type: data.type, id: data.id, title: `${data.title} Parents`, isParent: true });
                        sourceTypeIndex === 0 ? this.toSearchCtrl.setValue('') : sourceTypeIndex === 1 ? this.ccSearchCtrl.setValue('') : sourceTypeIndex === 2 ? this.bccSearchCtrl.setValue('') : '';
                        sourceTypeIndex === 0 ? this.serchDetails = false : sourceTypeIndex === 1 ? this.serchCcDetails = false : sourceTypeIndex === 2 ? this.serchBccDetails = false : '';
                    }
                }
            }
        }
        else if (source === 'courseSectionList') {
            if (this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => { var _a, _b; return (+((_a = item.courseSectionId) === null || _a === void 0 ? void 0 : _a.split("|")[0]) === data.courseId && +((_b = item.courseSectionId) === null || _b === void 0 ? void 0 : _b.split("|")[1]) === data.courseSectionId && item.type === data.type); }) === -1) {
                if (data.allStudents) {
                    this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.push({ type: data.type, courseSectionId: `${data.courseId}|${data.courseSectionId}`, title: `${data.title} Students`, isStudent: true });
                }
                if (data.allParents) {
                    this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.push({ type: data.type, courseSectionId: `${data.courseId}|${data.courseSectionId}`, title: `${data.title} Parents`, isParent: true });
                }
                if (data.allTeacher) {
                    this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.push({ type: data.type, courseSectionId: `${data.courseId}|${data.courseSectionId}`, title: `${data.title} Teachers`, isTeacher: true });
                }
                sourceTypeIndex === 0 ? this.toSearchCtrl.setValue('') : sourceTypeIndex === 1 ? this.ccSearchCtrl.setValue('') : sourceTypeIndex === 2 ? this.bccSearchCtrl.setValue('') : '';
                sourceTypeIndex === 0 ? this.serchDetails = false : sourceTypeIndex === 1 ? this.serchCcDetails = false : sourceTypeIndex === 2 ? this.serchBccDetails = false : '';
            }
            else {
                if (data.allStudents) {
                    if (this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => { var _a, _b; return (+((_a = item.courseSectionId) === null || _a === void 0 ? void 0 : _a.split("|")[0]) === data.courseId && +((_b = item.courseSectionId) === null || _b === void 0 ? void 0 : _b.split("|")[1]) === data.courseSectionId && item.type === data.type && item.isStudent); }) === -1) {
                        this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.push({ type: data.type, courseSectionId: `${data.courseId}|${data.courseSectionId}`, title: `${data.title} Students`, isStudent: true });
                        sourceTypeIndex === 0 ? this.toSearchCtrl.setValue('') : sourceTypeIndex === 1 ? this.ccSearchCtrl.setValue('') : sourceTypeIndex === 2 ? this.bccSearchCtrl.setValue('') : '';
                        sourceTypeIndex === 0 ? this.serchDetails = false : sourceTypeIndex === 1 ? this.serchCcDetails = false : sourceTypeIndex === 2 ? this.serchBccDetails = false : '';
                    }
                }
                if (data.allParents) {
                    if (this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => { var _a, _b; return (+((_a = item.courseSectionId) === null || _a === void 0 ? void 0 : _a.split("|")[0]) === data.courseId && +((_b = item.courseSectionId) === null || _b === void 0 ? void 0 : _b.split("|")[1]) === data.courseSectionId && item.type === data.type && item.isParent); }) === -1) {
                        this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.push({ type: data.type, courseSectionId: `${data.courseId}|${data.courseSectionId}`, title: `${data.title} Parents`, isParent: true });
                        sourceTypeIndex === 0 ? this.toSearchCtrl.setValue('') : sourceTypeIndex === 1 ? this.ccSearchCtrl.setValue('') : sourceTypeIndex === 2 ? this.bccSearchCtrl.setValue('') : '';
                        sourceTypeIndex === 0 ? this.serchDetails = false : sourceTypeIndex === 1 ? this.serchCcDetails = false : sourceTypeIndex === 2 ? this.serchBccDetails = false : '';
                    }
                }
                if (data.allTeacher) {
                    if (this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => { var _a, _b; return (+((_a = item.courseSectionId) === null || _a === void 0 ? void 0 : _a.split("|")[0]) === data.courseId && +((_b = item.courseSectionId) === null || _b === void 0 ? void 0 : _b.split("|")[1]) === data.courseSectionId && item.type === data.type && item.isTeacher); }) === -1) {
                        this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.push({ type: data.type, courseSectionId: `${data.courseId}|${data.courseSectionId}`, title: `${data.title} Teachers`, isTeacher: true });
                        sourceTypeIndex === 0 ? this.toSearchCtrl.setValue('') : sourceTypeIndex === 1 ? this.ccSearchCtrl.setValue('') : sourceTypeIndex === 2 ? this.bccSearchCtrl.setValue('') : '';
                        sourceTypeIndex === 0 ? this.serchDetails = false : sourceTypeIndex === 1 ? this.serchCcDetails = false : sourceTypeIndex === 2 ? this.serchBccDetails = false : '';
                    }
                }
            }
        }
        else {
            if (this.membershipType === this.profiles.SuperAdmin || this.membershipType === this.profiles.SchoolAdmin || this.membershipType === this.profiles.AdminAssitant) {
                if (data.type === 'groupId' && data.id === 1) {
                    this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels = this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.filter(item => !item.isStudent);
                    this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels = this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.filter(item => item.type !== 'studentId');
                }
                if (data.type === 'groupId' && data.id === 3) {
                    this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels = this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.filter(item => !item.isTeacher);
                    this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels = this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.filter(item => item.type !== 'teacherId');
                }
                if (data.type === 'groupId' && data.id === 4) {
                    this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels = this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.filter(item => !item.isParent);
                    this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels = this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.filter(item => item.type !== 'parentId');
                }
            }
            if (this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => (item.id === data.id && item.type === data.type)) === -1) {
                this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.push({ type: data.type, id: data.id, title: data.title });
                sourceTypeIndex === 0 ? this.toSearchCtrl.setValue('') : sourceTypeIndex === 1 ? this.ccSearchCtrl.setValue('') : sourceTypeIndex === 2 ? this.bccSearchCtrl.setValue('') : '';
                sourceTypeIndex === 0 ? this.serchDetails = false : sourceTypeIndex === 1 ? this.serchCcDetails = false : sourceTypeIndex === 2 ? this.serchBccDetails = false : '';
            }
        }
    }
    removeRecipientData(data, sourceType) {
        const sourceTypeIndex = this.composeMessageDefaultData.findIndex(item => item[sourceType]);
        if (data.type === 'searchByGradeLevel') {
            if (data.isStudent) {
                const index = this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => (item.id === data.id && item.type === data.type && item.isStudent));
                if (index !== -1) {
                    this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.splice(index, 1);
                }
            }
            else if (data.isParent) {
                const index = this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => (item.id === data.id && item.type === data.type && item.isParent));
                if (index !== -1) {
                    this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.splice(index, 1);
                }
            }
        }
        else if (data.type === 'searchByCourseSection') {
            if (data.isStudent) {
                const index = this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => { var _a, _b, _c, _d; return (+((_a = item.courseSectionId) === null || _a === void 0 ? void 0 : _a.split("|")[0]) === +((_b = data.courseSectionId) === null || _b === void 0 ? void 0 : _b.split("|")[0]) && +((_c = item.courseSectionId) === null || _c === void 0 ? void 0 : _c.split("|")[1]) === +((_d = data.courseSectionId) === null || _d === void 0 ? void 0 : _d.split("|")[1]) && item.type === data.type && item.isStudent); });
                if (index !== -1) {
                    this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.splice(index, 1);
                }
            }
            else if (data.isParent) {
                const index = this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => { var _a, _b, _c, _d; return (+((_a = item.courseSectionId) === null || _a === void 0 ? void 0 : _a.split("|")[0]) === +((_b = data.courseSectionId) === null || _b === void 0 ? void 0 : _b.split("|")[0]) && +((_c = item.courseSectionId) === null || _c === void 0 ? void 0 : _c.split("|")[1]) === +((_d = data.courseSectionId) === null || _d === void 0 ? void 0 : _d.split("|")[1]) && item.type === data.type && item.isParent); });
                if (index !== -1) {
                    this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.splice(index, 1);
                }
            }
            else if (data.isTeacher) {
                const index = this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => { var _a, _b, _c, _d; return (+((_a = item.courseSectionId) === null || _a === void 0 ? void 0 : _a.split("|")[0]) === +((_b = data.courseSectionId) === null || _b === void 0 ? void 0 : _b.split("|")[0]) && +((_c = item.courseSectionId) === null || _c === void 0 ? void 0 : _c.split("|")[1]) === +((_d = data.courseSectionId) === null || _d === void 0 ? void 0 : _d.split("|")[1]) && item.type === data.type && item.isTeacher); });
                if (index !== -1) {
                    this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.splice(index, 1);
                }
            }
        }
        else {
            const index = this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => (item.id === data.id && item.type === data.type));
            if (index !== -1) {
                this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.splice(index, 1);
            }
        }
    }
    // For get all grade level list
    getAllGradeLevelList() {
        this.gradeLevelService.getAllGradeLevels(this.getAllGradeLevelsModel).subscribe(data => {
            if (data) {
                if (data._failure) {
                    this.gradeLevelList = [];
                    if (!data.tableGradelevelList) {
                        this.snackbar.open(data._message, '', {
                            duration: 10000
                        });
                    }
                }
                else {
                    this.gradeLevelList = data.tableGradelevelList;
                }
            }
            else {
                this.snackbar.open(this.defaultValuesService.getHttpError(), '', {
                    duration: 10000
                });
            }
        });
    }
    // For get all course list
    getAllCourse() {
        this.courseManagerService.GetAllCourseList(this.getAllCourseListModel).subscribe(data => {
            if (data) {
                if (data._failure) {
                    this.courseList = [];
                    if (!data.courseViewModelList) {
                        this.snackbar.open(data._message, '', {
                            duration: 10000
                        });
                    }
                }
                else {
                    this.courseList = data.courseViewModelList;
                }
            }
            else {
                this.snackbar.open(this.defaultValuesService.getHttpError(), '', {
                    duration: 10000
                });
            }
        });
    }
    // For file upload
    onUpload(event) {
        if (event.addedFiles.length > 0) {
            event.addedFiles.map(item => {
                let fileDataSet = {};
                const splitData = item.name.split('.');
                fileDataSet.extensionName = splitData[splitData.length - 1];
                fileDataSet.attachmentName = item.name;
                fileDataSet.attachmentType = item.type;
                if (splitData[0].length > 10) {
                    fileDataSet.title = splitData[0].slice(0, 10) + '...' + splitData[0].slice(splitData[0].length - 3, splitData[0].length) + '.' + splitData[splitData.length - 1];
                }
                else {
                    fileDataSet.title = item.name;
                }
                const reader = new FileReader();
                const file = item;
                reader.onload = (event) => {
                    // fileDataSet.attachmentType = reader.result.toString().split(',')[0];
                    fileDataSet.attachment = reader.result.toString().split(',')[1];
                };
                reader.readAsDataURL(file);
                this.files.push(fileDataSet);
            });
        }
    }
    // For file remove
    onRemove(event) {
        this.files.splice(this.files.indexOf(event), 1);
    }
    // For file view
    // openFile(data) {
    //   const url: any = this.sanitizer.bypassSecurityTrustUrl(data.attachmentType + ',' + data.attachment);
    //   window.open(url.changingThisBreaksApplicationSecurity, "_blank");
    // }
    // For send new message
    addComposeMessage() {
        this.form.markAllAsTouched();
        if (!this.composeMessageDefaultData[0].recipientInfoViewModels.length) {
            this.snackbar.open('Please specify at least one recipient.', '', {
                duration: 5000
            });
            return;
        }
        if (this.form.controls.body.invalid) {
            this.snackbar.open('Message body is required.', '', {
                duration: 5000
            });
            return;
        }
        if (this.form.valid) {
            this.loading = true;
            this.addComposeMessageModel.sendAsEmail = this.form.controls.sendAsEmail.value;
            this.addComposeMessageModel.commMessage.subject = this.form.controls.subject.value;
            this.addComposeMessageModel.commMessage.messageBody = this.form.controls.body.value;
            this.addComposeMessageModel.commMessage.commAttachments = JSON.parse(JSON.stringify(this.files));
            if (this.addComposeMessageModel.commMessage.commAttachments.length) {
                this.addComposeMessageModel.commMessage.commAttachments.map(item => {
                    delete item.title;
                    delete item.extensionName;
                });
            }
            this.addComposeMessageModel.composeMessageViewModel = this.composeMessageDefaultData;
            this.communicationService.addComposeMessage(this.addComposeMessageModel).subscribe(res => {
                if (res) {
                    if (res._failure) {
                        this.snackbar.open(res._message, '', {
                            duration: 10000
                        });
                    }
                    else {
                        this.snackbar.open(res._message, '', {
                            duration: 10000
                        });
                        this.dialogRef.close(true);
                    }
                }
                else {
                    this.snackbar.open(this.defaultValuesService.getHttpError(), '', {
                        duration: 10000
                    });
                }
                this.loading = false;
            });
        }
    }
    closeDialog() {
        if (this.form.controls.body.value !== "") {
            const confirmDialogRef = this.dialog.open(_shared_module_confirm_dialog_confirm_dialog_component__WEBPACK_IMPORTED_MODULE_11__["ConfirmDialogComponent"], {
                maxWidth: "400px",
                data: {
                    title: this.defaultValuesService.translateKey('areYouSure?'),
                    message: this.defaultValuesService.translateKey('youWantToCancelTheUnsentMessage')
                }
            });
            confirmDialogRef.afterClosed().subscribe(dialogResult => {
                if (dialogResult) {
                    this.dialogRef.close(true);
                }
            });
        }
        else {
            this.dialogRef.close(true);
        }
    }
}
ComposeMessageComponent.ɵfac = function ComposeMessageComponent_Factory(t) { return new (t || ComposeMessageComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_15__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MAT_DIALOG_DATA"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_grade_level_service__WEBPACK_IMPORTED_MODULE_16__["GradeLevelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_course_manager_service__WEBPACK_IMPORTED_MODULE_17__["CourseManagerService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_18__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_19__["MatSnackBar"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_communication_service__WEBPACK_IMPORTED_MODULE_20__["CommunicationService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialog"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_21__["DomSanitizer"])); };
ComposeMessageComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ComposeMessageComponent, selectors: [["vex-compose-message"]], decls: 63, vars: 50, consts: [[3, "formGroup"], ["mat-dialog-title", "", 1, "flex", "justify-between", "items-center"], [1, "md:flex", "justify-between", "items-start", "flex-auto"], [1, "font-normal", "text-xl", "m-0"], [1, "mr-4", "text-sm", "font-normal"], ["color", "primary", "formControlName", "sendAsEmail", 1, "align-middle", 3, "change"], ["mat-icon-button", "", "type", "button", 1, "text-secondary", 3, "click"], [3, "icIcon"], [1, "mb-1"], [1, "relative"], [1, "text-primary", "font-semibold", "absolute", "z-10", "right-4", "top-4"], [1, "cursor-pointer", 3, "click"], [1, "mx-1"], ["appearance", "outline", 1, "w-full"], ["toChipList", ""], [3, "selectable", "removable", "removed", 4, "ngFor", "ngForOf"], ["type", "text", 3, "formControl", "placeholder", "matChipInputFor", "click"], [4, "ngIf"], ["class", "flex mb-4", 4, "ngIf"], ["class", "relative", 4, "ngIf"], ["appearance", "outline", "color", "primary", 1, "w-full"], ["formControlName", "subject", "matInput", ""], [1, "mb-4", "border", "border-normal", "rounded"], ["formControlName", "body", 3, "placeholder", "styles", "onEditorChanged"], [1, "px-4", "py-2", "border-dashed", "border-gray", "border", "rounded"], [1, "mb-2"], [1, "flex", "items-center"], [1, "align-middel", "mr-2"], ["multiple", "true", 1, "flex", "flex-wrap", "border-0", "h-auto", "overflow-hidden", "pb-2", 3, "accept", "change"], ["class", "sm:flex", 4, "ngIf"], ["class", "inline-block border border-gray-light rounded px-2 py-1 mr-2 mb-2", 4, "ngFor", "ngForOf"], [1, "py-4", "flex", "justify-end"], ["mat-flat-button", "", 3, "click"], ["color", "primary", "mat-flat-button", "", "type", "button", 1, "text-white", "ml-2", 3, "disabled", "click"], ["class", "text-white", 4, "ngIf"], [3, "selectable", "removable", "removed"], ["matChipRemove", "", 4, "ngIf"], ["matChipRemove", ""], [3, "gradeLevelList", "courseList", "searchInput", "parentData", "cancelView", "sendUserData", "sendGradeLevelData", "sendAllInThisSchoolData", "sendCourseSectionData"], [1, "flex", "mb-4"], [1, "font-semibold"], ["class", "flex flex-wrap ml-2", 4, "ngFor", "ngForOf"], [1, "flex", "flex-wrap", "ml-2"], [1, "text-blue", "underline", "cursor-pointer", "mr-2", 3, "click"], ["ccChipList", ""], ["bccChipList", ""], [1, "sm:flex"], ["src", "assets/img/icons/upload.svg", "alt", "Upload file icon", "width", "40px", 1, "m-auto", "flex-shrink-0", "cursor-pointer"], [1, "ml-4", "align-middle", "sm:text-left", "mt-4", "sm:mt-0"], [1, "text-base", "font-medium", "mb-0", "inline-block", "text-black"], [1, "text-gray", "text-sm"], [1, "inline-block", "border", "border-gray-light", "rounded", "px-2", "py-1", "mr-2", "mb-2"], [3, "click"], [1, "flex", "items-center", "truncate"], ["onError", "this.src='assets/img/file-others.svg'", "alt", "Excel Icon", "width", "20", 1, "inline-block", "mr-2", "disabled", 3, "src"], [1, "w-20", "text-sm", "truncate"], [1, "cursor-pointer", "pl-1", 3, "click"], [1, "align-middle", "w-auto", "h-auto", "pl-2", "text-lg", 3, "icIcon"], [1, "text-white"], ["diameter", "20", 1, "stroke-white"]], template: function ComposeMessageComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "form", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "h4", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "mat-slide-toggle", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function ComposeMessageComponent_Template_mat_slide_toggle_change_7_listener() { return ctx.sendEmailToggleChange(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "button", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ComposeMessageComponent_Template_button_click_10_listener() { return ctx.closeDialog(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](11, "mat-icon", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "mat-dialog-content", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "div", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "div", 10);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "span", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ComposeMessageComponent_Template_span_click_15_listener() { return ctx.toggleCcDropdown(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](17, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "span", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](19, "/");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "span", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ComposeMessageComponent_Template_span_click_20_listener() { return ctx.toggleBccDropdown(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](21);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](22, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "mat-form-field", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "mat-label");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](25);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](26, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](27, "mat-chip-list", null, 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](29, ComposeMessageComponent_mat_chip_29_Template, 3, 4, "mat-chip", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](30, "input", 16);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ComposeMessageComponent_Template_input_click_30_listener() { return ctx.onSearchRecipient(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](31, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](32, ComposeMessageComponent_ng_container_32_Template, 2, 4, "ng-container", 17);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](33, ComposeMessageComponent_div_33_Template, 5, 4, "div", 18);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](34, ComposeMessageComponent_div_34_Template, 11, 10, "div", 19);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](35, ComposeMessageComponent_div_35_Template, 11, 10, "div", 19);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](36, "mat-form-field", 20);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](37, "mat-label");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](38);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](39, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](40, "input", 21);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](41, ComposeMessageComponent_mat_error_41_Template, 2, 1, "mat-error", 17);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](42, "div", 22);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](43, "quill-editor", 23);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("onEditorChanged", function ComposeMessageComponent_Template_quill_editor_onEditorChanged_43_listener($event) { return ctx.changedEditor($event); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](44, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](45, "div", 24);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](46, "div", 25);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](47, "p", 26);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](48, "mat-icon", 27);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](49, "attachment");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](50);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](51, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](52, "ngx-dropzone", 28);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function ComposeMessageComponent_Template_ngx_dropzone_change_52_listener($event) { return ctx.onUpload($event); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](53, ComposeMessageComponent_ngx_dropzone_label_53_Template, 10, 6, "ngx-dropzone-label", 29);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](54, ComposeMessageComponent_div_54_Template, 9, 3, "div", 30);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](55, "mat-dialog-actions", 31);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](56, "button", 32);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ComposeMessageComponent_Template_button_click_56_listener() { return ctx.closeDialog(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](57);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](58, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](59, "button", 33);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ComposeMessageComponent_Template_button_click_59_listener() { return ctx.addComposeMessage(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](60, ComposeMessageComponent_mat_icon_60_Template, 2, 0, "mat-icon", 34);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](61);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](62, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        const _r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](28);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formGroup", ctx.form);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 27, "composeMessage"), " ");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 29, "sendThisAsEmailAlso"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icClose);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](17, 31, "cc"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](22, 33, "bcc"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](26, 35, "to"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.composeMessageDefaultData[0].recipientInfoViewModels);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](31, 37, "searchRecipients"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formControl", ctx.toSearchCtrl)("matChipInputFor", _r0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.serchDetails);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.groupList.length);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showCc);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showBcc);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](39, 39, "subject"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.form.get("subject").hasError("maxlength"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](44, 41, "insertTextHere"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("styles", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](49, _c0));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](51, 43, "attachments"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("accept", ctx.acceptedFileTypes);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (ctx.files == null ? null : ctx.files.length) === 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.files);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](58, 45, "cancel"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", ctx.loading);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.loading);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](62, 47, ctx.loading ? "sendingMessage" : "sendMessage"));
    } }, directives: [_angular_forms__WEBPACK_IMPORTED_MODULE_8__["ɵangular_packages_forms_forms_y"], _angular_forms__WEBPACK_IMPORTED_MODULE_8__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormGroupDirective"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogTitle"], _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_22__["MatSlideToggle"], _angular_forms__WEBPACK_IMPORTED_MODULE_8__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormControlName"], _angular_material_button__WEBPACK_IMPORTED_MODULE_23__["MatButton"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_24__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_25__["IconDirective"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogContent"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_26__["MatFormField"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_26__["MatLabel"], _angular_material_chips__WEBPACK_IMPORTED_MODULE_27__["MatChipList"], _angular_common__WEBPACK_IMPORTED_MODULE_28__["NgForOf"], _angular_forms__WEBPACK_IMPORTED_MODULE_8__["DefaultValueAccessor"], _angular_material_chips__WEBPACK_IMPORTED_MODULE_27__["MatChipInput"], _angular_forms__WEBPACK_IMPORTED_MODULE_8__["FormControlDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_28__["NgIf"], _angular_material_input__WEBPACK_IMPORTED_MODULE_29__["MatInput"], ngx_quill__WEBPACK_IMPORTED_MODULE_30__["QuillEditorComponent"], ngx_dropzone__WEBPACK_IMPORTED_MODULE_31__["NgxDropzoneComponent"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogActions"], _angular_material_chips__WEBPACK_IMPORTED_MODULE_27__["MatChip"], _angular_material_chips__WEBPACK_IMPORTED_MODULE_27__["MatChipRemove"], _search_details_search_details_component__WEBPACK_IMPORTED_MODULE_32__["SearchDetailsComponent"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_26__["MatError"], ngx_dropzone__WEBPACK_IMPORTED_MODULE_31__["ɵb"], _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_33__["MatSpinner"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_15__["TranslatePipe"]], styles: [".search-wrapper[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] {\n  width: 150px;\n  flex: 1 0 150px;\n}\n\n.search-wrapper[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus {\n  outline: none;\n}\n\n.disabled[_ngcontent-%COMP%] {\n  pointer-events: none;\n  cursor: not-allowed;\n}\n\n  .mat-progress-spinner.stroke-white circle {\n  stroke: #ffffff;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvc2hhcmVkLW1vZHVsZS9jb21wb3NlLW1lc3NhZ2UvY29tcG9zZS1tZXNzYWdlLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsWUFBQTtFQUNBLGVBQUE7QUFDRjs7QUFFQTtFQUNFLGFBQUE7QUFDRjs7QUFFQTtFQUNFLG9CQUFBO0VBQ0EsbUJBQUE7QUFDRjs7QUFFQTtFQUNFLGVBQUE7QUFDRiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL3NoYXJlZC1tb2R1bGUvY29tcG9zZS1tZXNzYWdlL2NvbXBvc2UtbWVzc2FnZS5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5zZWFyY2gtd3JhcHBlciBpbnB1dCB7XG4gIHdpZHRoOiAxNTBweDtcbiAgZmxleDogMSAwIDE1MHB4O1xufVxuXG4uc2VhcmNoLXdyYXBwZXIgaW5wdXQ6Zm9jdXMge1xuICBvdXRsaW5lOiBub25lO1xufVxuXG4uZGlzYWJsZWQge1xuICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgY3Vyc29yOiBub3QtYWxsb3dlZDtcbn1cblxuOjpuZy1kZWVwIC5tYXQtcHJvZ3Jlc3Mtc3Bpbm5lci5zdHJva2Utd2hpdGUgY2lyY2xlIHtcbiAgc3Ryb2tlOiAjZmZmZmZmO1xufSJdfQ== */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ComposeMessageComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-compose-message',
                templateUrl: './compose-message.component.html',
                styleUrls: ['./compose-message.component.scss']
            }]
    }], function () { return [{ type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogRef"] }, { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_15__["TranslateService"] }, { type: undefined, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
                args: [_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MAT_DIALOG_DATA"]]
            }] }, { type: src_app_services_grade_level_service__WEBPACK_IMPORTED_MODULE_16__["GradeLevelService"] }, { type: src_app_services_course_manager_service__WEBPACK_IMPORTED_MODULE_17__["CourseManagerService"] }, { type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_18__["DefaultValuesService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_19__["MatSnackBar"] }, { type: src_app_services_communication_service__WEBPACK_IMPORTED_MODULE_20__["CommunicationService"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialog"] }, { type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_21__["DomSanitizer"] }]; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/compose-message/search-details/search-details.component.ts":
/*!************************************************************************************************!*\
  !*** ./src/app/pages/shared-module/compose-message/search-details/search-details.component.ts ***!
  \************************************************************************************************/
/*! exports provided: SearchDetailsComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SearchDetailsComponent", function() { return SearchDetailsComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @iconify/icons-ic/close */ "./node_modules/@iconify/icons-ic/close.js");
/* harmony import */ var _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _iconify_icons_ic_twotone_cancel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @iconify/icons-ic/twotone-cancel */ "./node_modules/@iconify/icons-ic/twotone-cancel.js");
/* harmony import */ var _iconify_icons_ic_twotone_cancel__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_cancel__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @iconify/icons-ic/twotone-school */ "./node_modules/@iconify/icons-ic/twotone-school.js");
/* harmony import */ var _iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _iconify_icons_ic_twotone_group__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @iconify/icons-ic/twotone-group */ "./node_modules/@iconify/icons-ic/twotone-group.js");
/* harmony import */ var _iconify_icons_ic_twotone_group__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_group__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _iconify_icons_ic_twotone_person_outline__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @iconify/icons-ic/twotone-person-outline */ "./node_modules/@iconify/icons-ic/twotone-person-outline.js");
/* harmony import */ var _iconify_icons_ic_twotone_person_outline__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_person_outline__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _iconify_icons_ic_twotone_escalator_warning__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @iconify/icons-ic/twotone-escalator-warning */ "./node_modules/@iconify/icons-ic/twotone-escalator-warning.js");
/* harmony import */ var _iconify_icons_ic_twotone_escalator_warning__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_escalator_warning__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/models/communication.model */ "./src/app/models/communication.model.ts");
/* harmony import */ var src_app_common_static_data__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! src/app/common/static-data */ "./src/app/common/static-data.ts");
/* harmony import */ var src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/app/enums/profiles.enum */ "./src/app/enums/profiles.enum.ts");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var src_app_services_communication_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! src/app/services/communication.service */ "./src/app/services/communication.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_material_divider__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/material/divider */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/divider.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_radio__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @angular/material/radio */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/radio.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @angular/material/form-field */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/form-field.js");
/* harmony import */ var _angular_material_select__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @angular/material/select */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/select.js");
/* harmony import */ var _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @angular/material/checkbox */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/checkbox.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @angular/flex-layout/extended */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/extended.js");
/***********************************************************************************
openSIS is a free student information system for public and non-public
schools from Open Solutions for Education, Inc.Website: www.os4ed.com.

Visit the openSIS product website at https://opensis.com to learn more.
If you have question regarding this software or the license, please contact
via the website.

The software is released under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, version 3 of the License.
See https://www.gnu.org/licenses/agpl-3.0.en.html.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Copyright (c) Open Solutions for Education, Inc.

All rights reserved.
***********************************************************************************/





























function SearchDetailsComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
    const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SearchDetailsComponent_ng_container_2_Template_div_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5); const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r4.sendAllInThisSchoolValue("All Students in this School", 1); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "mat-icon", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SearchDetailsComponent_ng_container_2_Template_div_click_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5); const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r6.sendAllInThisSchoolValue("All Staff in this school", 2); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "mat-icon", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "div", 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SearchDetailsComponent_ng_container_2_Template_div_click_11_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5); const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r7.sendAllInThisSchoolValue("All Teachers in this School", 3); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](12, "mat-icon", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](15, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "div", 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SearchDetailsComponent_ng_container_2_Template_div_click_16_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5); const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r8.sendAllInThisSchoolValue("All Parents in this school", 4); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](17, "mat-icon", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](20, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r0.icSchool);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 8, "allStudentsInThisSchool"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r0.icGroup);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 10, "allStaffInThisSchool"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r0.icPersonOutline);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](15, 12, "allTeachersInThisSchool"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r0.icEscalatorWarning);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](20, 14, "allParentsInThisSchool"));
} }
function SearchDetailsComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
    const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SearchDetailsComponent_ng_container_3_Template_div_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10); const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r9.sendAllInThisSchoolValue("All Students associated with me", 5); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "mat-icon", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SearchDetailsComponent_ng_container_3_Template_div_click_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10); const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r11.sendAllInThisSchoolValue("All Parents associated with me", 6); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "mat-icon", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r1.icSchool);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 4, "allStudentsAssociatedWithMe"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r1.icEscalatorWarning);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 6, "allParentsAssociatedWithMe"));
} }
function SearchDetailsComponent_div_6_ng_container_1_div_9_mat_option_8_Template(rf, ctx) { if (rf & 1) {
    const _r19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 23);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SearchDetailsComponent_div_6_ng_container_1_div_9_mat_option_8_Template_mat_option_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r19); const gradeLevel_r17 = ctx.$implicit; const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4); return ctx_r18.selectGradeLevel(gradeLevel_r17); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const gradeLevel_r17 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", gradeLevel_r17.gradeId);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](gradeLevel_r17.title);
} }
function SearchDetailsComponent_div_6_ng_container_1_div_9_Template(rf, ctx) { if (rf & 1) {
    const _r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "mat-form-field", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "mat-select", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function SearchDetailsComponent_div_6_ng_container_1_div_9_Template_mat_select_ngModelChange_7_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r21); const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return ctx_r20.gradeLevelData.id = $event; });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, SearchDetailsComponent_div_6_ng_container_1_div_9_mat_option_8_Template, 2, 2, "mat-option", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "div", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "mat-checkbox", 21);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function SearchDetailsComponent_div_6_ng_container_1_div_9_Template_mat_checkbox_ngModelChange_10_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r21); const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return ctx_r22.gradeLevelData.allStudents = $event; });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](12, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "mat-checkbox", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function SearchDetailsComponent_div_6_ng_container_1_div_9_Template_mat_checkbox_ngModelChange_13_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r21); const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return ctx_r23.gradeLevelData.allParents = $event; });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](15, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 9, "gradeLevel"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", ctx_r14.gradeLevelData.id);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r14.gradeLevelList);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", ctx_r14.allStudentsDisabled)("ngModel", ctx_r14.gradeLevelData.allStudents);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](12, 11, "allStudents"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", ctx_r14.allParentsDisabled)("ngModel", ctx_r14.gradeLevelData.allParents);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](15, 13, "allParents"));
} }
function SearchDetailsComponent_div_6_ng_container_1_div_10_mat_option_9_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 29);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const course_r26 = ctx.$implicit;
    const i_r27 = ctx.index;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", i_r27);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](course_r26.course.courseTitle);
} }
function SearchDetailsComponent_div_6_ng_container_1_div_10_ng_container_16_mat_option_1_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 29);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const courseSection_r29 = ctx.$implicit;
    const i_r30 = ctx.index;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", i_r30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](courseSection_r29.courseSectionName);
} }
function SearchDetailsComponent_div_6_ng_container_1_div_10_ng_container_16_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SearchDetailsComponent_div_6_ng_container_1_div_10_ng_container_16_mat_option_1_Template, 2, 2, "mat-option", 27);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r25.courseList[ctx_r25.selectedCourse] == null ? null : ctx_r25.courseList[ctx_r25.selectedCourse].course == null ? null : ctx_r25.courseList[ctx_r25.selectedCourse].course.courseSection);
} }
function SearchDetailsComponent_div_6_ng_container_1_div_10_Template(rf, ctx) { if (rf & 1) {
    const _r32 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 24);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "mat-form-field", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "mat-select", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function SearchDetailsComponent_div_6_ng_container_1_div_10_Template_mat_select_ngModelChange_8_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return ctx_r31.selectedCourse = $event; })("selectionChange", function SearchDetailsComponent_div_6_ng_container_1_div_10_Template_mat_select_selectionChange_8_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r33 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); ctx_r33.selectedCourseSection = 0; return ctx_r33.selectedCourseAndCourseSection(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, SearchDetailsComponent_div_6_ng_container_1_div_10_mat_option_9_Template, 2, 2, "mat-option", 27);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "div", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "mat-form-field", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](14, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "mat-select", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function SearchDetailsComponent_div_6_ng_container_1_div_10_Template_mat_select_ngModelChange_15_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r34 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return ctx_r34.selectedCourseSection = $event; })("selectionChange", function SearchDetailsComponent_div_6_ng_container_1_div_10_Template_mat_select_selectionChange_15_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r35 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return ctx_r35.selectedCourseAndCourseSection(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](16, SearchDetailsComponent_div_6_ng_container_1_div_10_ng_container_16_Template, 2, 1, "ng-container", 2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "div", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "mat-checkbox", 28);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function SearchDetailsComponent_div_6_ng_container_1_div_10_Template_mat_checkbox_ngModelChange_18_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return ctx_r36.courseSectionData.allStudents = $event; });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](20, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "mat-checkbox", 28);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function SearchDetailsComponent_div_6_ng_container_1_div_10_Template_mat_checkbox_ngModelChange_21_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r37 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return ctx_r37.courseSectionData.allParents = $event; });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](22);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](23, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "mat-checkbox", 28);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function SearchDetailsComponent_div_6_ng_container_1_div_10_Template_mat_checkbox_ngModelChange_24_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const ctx_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return ctx_r38.courseSectionData.allTeacher = $event; });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](25);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](26, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 15, "course"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", ctx_r15.selectedCourse);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r15.courseList);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](14, 17, "courseSection"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", ctx_r15.selectedCourseSection);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r15.selectedCourse !== "" && ctx_r15.selectedCourse !== undefined && ctx_r15.selectedCourse !== null);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", ctx_r15.allStudentsDisabled)("ngModel", ctx_r15.courseSectionData.allStudents);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](20, 19, "allStudents"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", ctx_r15.allParentsDisabled)("ngModel", ctx_r15.courseSectionData.allParents);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](23, 21, "allParents"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", ctx_r15.allTeachersDisabled)("ngModel", ctx_r15.courseSectionData.allTeacher);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](26, 23, "allTeacher"));
} }
function SearchDetailsComponent_div_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
    const _r40 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "mat-radio-group", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function SearchDetailsComponent_div_6_ng_container_1_Template_mat_radio_group_ngModelChange_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r40); const ctx_r39 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r39.currentView = $event; });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "mat-radio-button", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "mat-radio-button", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, SearchDetailsComponent_div_6_ng_container_1_div_9_Template, 16, 15, "div", 2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, SearchDetailsComponent_div_6_ng_container_1_div_10_Template, 27, 25, "div", 2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", ctx_r12.currentView);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", "byGradeLevel");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 7, "searchByGradeLevel"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", "byCourseSection");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 9, "searchByCourseSection"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r12.currentView === "byGradeLevel");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r12.currentView === "byCourseSection");
} }
function SearchDetailsComponent_div_6_div_2_mat_option_9_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 29);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const course_r43 = ctx.$implicit;
    const i_r44 = ctx.index;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", i_r44);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](course_r43.course.courseTitle);
} }
function SearchDetailsComponent_div_6_div_2_ng_container_16_mat_option_1_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 29);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const courseSection_r46 = ctx.$implicit;
    const i_r47 = ctx.index;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", i_r47);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](courseSection_r46.courseSectionName);
} }
function SearchDetailsComponent_div_6_div_2_ng_container_16_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SearchDetailsComponent_div_6_div_2_ng_container_16_mat_option_1_Template, 2, 2, "mat-option", 27);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const ctx_r42 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r42.courseList[ctx_r42.selectedCourse] == null ? null : ctx_r42.courseList[ctx_r42.selectedCourse].course == null ? null : ctx_r42.courseList[ctx_r42.selectedCourse].course.courseSection);
} }
function SearchDetailsComponent_div_6_div_2_Template(rf, ctx) { if (rf & 1) {
    const _r49 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "mat-form-field", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "mat-select", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function SearchDetailsComponent_div_6_div_2_Template_mat_select_ngModelChange_8_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r49); const ctx_r48 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r48.selectedCourse = $event; })("selectionChange", function SearchDetailsComponent_div_6_div_2_Template_mat_select_selectionChange_8_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r49); const ctx_r50 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); ctx_r50.selectedCourseSection = 0; return ctx_r50.selectedCourseAndCourseSection(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, SearchDetailsComponent_div_6_div_2_mat_option_9_Template, 2, 2, "mat-option", 27);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "div", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "mat-form-field", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](14, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "mat-select", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function SearchDetailsComponent_div_6_div_2_Template_mat_select_ngModelChange_15_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r49); const ctx_r51 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r51.selectedCourseSection = $event; })("selectionChange", function SearchDetailsComponent_div_6_div_2_Template_mat_select_selectionChange_15_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r49); const ctx_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r52.selectedCourseAndCourseSection(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](16, SearchDetailsComponent_div_6_div_2_ng_container_16_Template, 2, 1, "ng-container", 2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "div", 31);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "mat-checkbox", 32);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function SearchDetailsComponent_div_6_div_2_Template_mat_checkbox_ngModelChange_18_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r49); const ctx_r53 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r53.courseSectionData.allStudents = $event; });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](20, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "mat-checkbox", 32);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function SearchDetailsComponent_div_6_div_2_Template_mat_checkbox_ngModelChange_21_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r49); const ctx_r54 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r54.courseSectionData.allParents = $event; });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](22);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](23, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "mat-checkbox", 32);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function SearchDetailsComponent_div_6_div_2_Template_mat_checkbox_ngModelChange_24_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r49); const ctx_r55 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r55.courseSectionData.allTeacher = $event; });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](25);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](26, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 12, "course"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", ctx_r13.selectedCourse);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r13.courseList);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](14, 14, "courseSection"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", ctx_r13.selectedCourseSection);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r13.selectedCourse !== "" && ctx_r13.selectedCourse !== undefined && ctx_r13.selectedCourse !== null);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", ctx_r13.courseSectionData.allStudents);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](20, 16, "allStudents"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", ctx_r13.courseSectionData.allParents);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](23, 18, "allParents"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", ctx_r13.courseSectionData.allTeacher);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](26, 20, "allTeacher"));
} }
function SearchDetailsComponent_div_6_Template(rf, ctx) { if (rf & 1) {
    const _r57 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SearchDetailsComponent_div_6_ng_container_1_Template, 11, 11, "ng-container", 2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, SearchDetailsComponent_div_6_div_2_Template, 27, 22, "div", 2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "button", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SearchDetailsComponent_div_6_Template_button_click_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r57); const ctx_r56 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r56.onCancel(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "button", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SearchDetailsComponent_div_6_Template_button_click_7_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r57); const ctx_r58 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r58.addData(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r2.membershipType === ctx_r2.profiles.SuperAdmin || ctx_r2.membershipType === ctx_r2.profiles.SchoolAdmin || ctx_r2.membershipType === ctx_r2.profiles.AdminAssitant);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r2.membershipType === ctx_r2.profiles.Teacher || ctx_r2.membershipType === ctx_r2.profiles.HomeroomTeacher);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 4, "cancel"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 6, "add"));
} }
function SearchDetailsComponent_div_7_div_2_img_3_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "img", 41);
} if (rf & 2) {
    const user_r60 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", "data:image/jpeg;base64," + user_r60.thumbnailPhoto, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
} }
function SearchDetailsComponent_div_7_div_2_p_4_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p", 42);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const user_r60 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", user_r60.bgColor);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](user_r60.firstNameChar);
} }
function SearchDetailsComponent_div_7_div_2_Template(rf, ctx) { if (rf & 1) {
    const _r66 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 36);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SearchDetailsComponent_div_7_div_2_Template_div_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r66); const user_r60 = ctx.$implicit; const ctx_r65 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r65.sendUserValue(user_r60); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 37);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 38);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, SearchDetailsComponent_div_7_div_2_img_3_Template, 1, 1, "img", 39);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, SearchDetailsComponent_div_7_div_2_p_4_Template, 2, 2, "p", 40);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "p");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const user_r60 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("disabled", user_r60.isDisabled)("text-gray-light", user_r60.isDisabled);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", user_r60.thumbnailPhoto);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !user_r60.thumbnailPhoto);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate3"]("", user_r60.firstGivenName, "", user_r60.middleName ? " " + user_r60.middleName + " " : " ", "", user_r60.lastFamilyName, "");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](user_r60.userProfile);
} }
function SearchDetailsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 33);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 34);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, SearchDetailsComponent_div_7_div_2_Template, 9, 10, "div", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r3.userList);
} }
class SearchDetailsComponent {
    constructor(translateService, communicationService, snackbar, defaultValuesService) {
        this.translateService = translateService;
        this.communicationService = communicationService;
        this.snackbar = snackbar;
        this.defaultValuesService = defaultValuesService;
        this.icClose = _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_1___default.a;
        this.icCancel = _iconify_icons_ic_twotone_cancel__WEBPACK_IMPORTED_MODULE_2___default.a;
        this.icSchool = _iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_3___default.a;
        this.icGroup = _iconify_icons_ic_twotone_group__WEBPACK_IMPORTED_MODULE_4___default.a;
        this.icPersonOutline = _iconify_icons_ic_twotone_person_outline__WEBPACK_IMPORTED_MODULE_5___default.a;
        this.icEscalatorWarning = _iconify_icons_ic_twotone_escalator_warning__WEBPACK_IMPORTED_MODULE_6___default.a;
        this.isAllUserSearched = false;
        this.allUsersFromSchoolModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_7__["AllUsersFromSchoolModel"]();
        this.userList = [];
        this.gradeLevelData = {
            id: null,
            allStudents: false,
            allParents: false,
            title: null,
            type: 'searchByGradeLevel'
        };
        this.courseSectionData = {
            courseId: null,
            courseSectionId: null,
            allStudents: false,
            allParents: false,
            allTeacher: false,
            title: null,
            type: 'searchByCourseSection'
        };
        this.profiles = src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_9__["ProfilesTypes"];
        this.cancelView = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.sendAllInThisSchoolData = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.sendGradeLevelData = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.sendCourseSectionData = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.sendUserData = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.allUsersFromSchoolSubject$ = new rxjs__WEBPACK_IMPORTED_MODULE_10__["Subject"]();
    }
    ngOnInit() {
        this.currentView = 'byGradeLevel';
        this.membershipType = this.defaultValuesService.getUserMembershipType();
        this.allUsersFromSchool();
    }
    ngOnChanges() {
        var _a, _b, _c, _d;
        this.isAllUserSearched = ((_a = this.searchInput) === null || _a === void 0 ? void 0 : _a.trim().length) >= 3 ? true : false;
        this.userList = [];
        if (((_b = this.searchInput) === null || _b === void 0 ? void 0 : _b.trim().length) >= 3) {
            let searchVal = (_c = this.searchInput) === null || _c === void 0 ? void 0 : _c.trim();
            let filterParams = [];
            if (this.checkIfEmail(searchVal)) {
                filterParams = [
                    {
                        columnName: "loginEmail",
                        filterOption: 1,
                        filterValue: searchVal
                    },
                    {
                        columnName: "personalEmail",
                        filterOption: 1,
                        filterValue: searchVal
                    },
                    {
                        columnName: "schoolEmail",
                        filterOption: 1,
                        filterValue: searchVal
                    }
                ];
            }
            else {
                filterParams = [
                    {
                        columnName: "FirstGivenName",
                        filterOption: 1,
                        filterValue: searchVal
                    },
                    {
                        columnName: "lastFamilyName",
                        filterOption: 1,
                        filterValue: searchVal
                    },
                    {
                        columnName: "loginEmail",
                        filterOption: 1,
                        filterValue: searchVal
                    },
                    {
                        columnName: "personalEmail",
                        filterOption: 1,
                        filterValue: searchVal
                    },
                    {
                        columnName: "schoolEmail",
                        filterOption: 1,
                        filterValue: searchVal
                    }
                ];
            }
            Object.assign(this.allUsersFromSchoolModel, { filterParams: filterParams });
            this.allUsersFromSchoolSubject$.next();
        }
        if ((_d = this.parentData) === null || _d === void 0 ? void 0 : _d.length) {
            this.allStudentsDisabled = this.parentData.some(item => item.id === 1 && item.type === 'groupId');
            this.allTeachersDisabled = this.parentData.some(item => item.id === 3 && item.type === 'groupId');
            this.allParentsDisabled = this.parentData.some(item => item.id === 4 && item.type === 'groupId');
        }
    }
    checkIfEmail(str) {
        // Regular expression to check if string is email
        const regexExp = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/gi;
        return regexExp.test(str);
    }
    sendAllInThisSchoolValue(title, id) {
        this.sendAllInThisSchoolData.emit({ type: 'groupId', id, title });
    }
    sendGradeLevelValue() {
        this.sendGradeLevelData.emit(this.gradeLevelData);
    }
    sendCourseSectionValue() {
        this.sendCourseSectionData.emit(this.courseSectionData);
    }
    sendUserValue(data) {
        this.sendUserData.emit(data);
    }
    onCancel() {
        this.cancelView.emit(false);
    }
    selectGradeLevel(gradeLevel) {
        this.gradeLevelData.title = gradeLevel.title;
    }
    selectedCourseAndCourseSection() {
        var _a, _b, _c, _d, _e, _f;
        if (this.selectedCourse !== '' && this.selectedCourse !== undefined && this.selectedCourse !== null) {
            this.courseSectionData.courseId = (_b = (_a = this.courseList[this.selectedCourse]) === null || _a === void 0 ? void 0 : _a.course) === null || _b === void 0 ? void 0 : _b.courseId;
            this.courseSectionData.courseSectionId = (_d = (_c = this.courseList[this.selectedCourse]) === null || _c === void 0 ? void 0 : _c.course) === null || _d === void 0 ? void 0 : _d.courseSection[this.selectedCourseSection].courseSectionId;
            this.courseSectionData.title = (_f = (_e = this.courseList[this.selectedCourse]) === null || _e === void 0 ? void 0 : _e.course) === null || _f === void 0 ? void 0 : _f.courseSection[this.selectedCourseSection].courseSectionName;
        }
    }
    addData() {
        if (this.membershipType === this.profiles.SuperAdmin || this.membershipType === this.profiles.SchoolAdmin || this.membershipType === this.profiles.AdminAssitant) {
            if (this.currentView === 'byGradeLevel') {
                if (this.gradeLevelData.id) {
                    if (this.gradeLevelData.allStudents || this.gradeLevelData.allParents) {
                        this.sendGradeLevelValue();
                    }
                    else {
                        this.snackbar.open('Please select all students or all parents.', '', { duration: 5000 });
                    }
                }
                else {
                    this.snackbar.open('Please select grade level.', '', { duration: 5000 });
                }
            }
            else {
                if (this.courseSectionData.courseId && this.courseSectionData.courseSectionId) {
                    if (this.courseSectionData.allStudents || this.courseSectionData.allParents || this.courseSectionData.allTeacher) {
                        this.sendCourseSectionValue();
                    }
                    else {
                        this.snackbar.open('Please select all students or all parents or all teacher.', '', { duration: 5000 });
                    }
                }
                else {
                    this.snackbar.open('Please select course and course section.', '', { duration: 5000 });
                }
            }
        }
        else {
            if (this.courseSectionData.courseId && this.courseSectionData.courseSectionId) {
                if (this.courseSectionData.allStudents || this.courseSectionData.allParents || this.courseSectionData.allTeacher) {
                    this.sendCourseSectionValue();
                }
                else {
                    this.snackbar.open('Please select all students or all parents or all teacher.', '', { duration: 5000 });
                }
            }
            else {
                this.snackbar.open('Please select course and course section.', '', { duration: 5000 });
            }
        }
    }
    allUsersFromSchool() {
        this.allUsersFromSchoolSubject$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__["switchMap"])(() => this.communicationService.allUsersFromSchool(this.allUsersFromSchoolModel))).subscribe(res => {
            if (res) {
                if (res._failure) {
                    this.userList = [];
                    if (res.allUserViewList === null) {
                        this.snackbar.open(res._message, '', {
                            duration: 10000
                        });
                    }
                }
                else {
                    res.allUserViewList.map((item) => {
                        item.firstNameChar = item.firstGivenName.trim().charAt(0).toUpperCase();
                        item.bgColor = src_app_common_static_data__WEBPACK_IMPORTED_MODULE_8__["uniqueColors"][Math.floor(Math.random() * 9)].backgroundColor;
                        item.id = item.userId;
                        const middleName = item.middleName ? ' ' + item.middleName + ' ' : ' ';
                        item.title = item.firstGivenName + middleName + item.lastFamilyName;
                        item.type = item.userProfile === 'Student' ? 'studentId' : item.userProfile === 'Parent' ? 'parentId' : 'teacherId';
                        item.isDisabled = item.userProfile === 'Student' ? this.allStudentsDisabled : item.userProfile === 'Parent' ? this.allParentsDisabled : this.allTeachersDisabled;
                    });
                    this.userList = res.allUserViewList;
                }
            }
            else {
                this.snackbar.open(this.defaultValuesService.getHttpError(), '', {
                    duration: 10000
                });
            }
        });
    }
    ngOnDestroy() {
        this.allUsersFromSchoolSubject$.unsubscribe();
    }
}
SearchDetailsComponent.ɵfac = function SearchDetailsComponent_Factory(t) { return new (t || SearchDetailsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_communication_service__WEBPACK_IMPORTED_MODULE_13__["CommunicationService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_14__["MatSnackBar"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_15__["DefaultValuesService"])); };
SearchDetailsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: SearchDetailsComponent, selectors: [["vex-search-details"]], inputs: { gradeLevelList: "gradeLevelList", courseList: "courseList", searchInput: "searchInput", parentData: "parentData" }, outputs: { cancelView: "cancelView", sendAllInThisSchoolData: "sendAllInThisSchoolData", sendGradeLevelData: "sendGradeLevelData", sendCourseSectionData: "sendCourseSectionData", sendUserData: "sendUserData" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]], decls: 8, vars: 4, consts: [[1, "md:flex", "absolute", "bg-white", "z-10", "w-full", "border", "border-normal", "shadow-md", "left-0", "rounded"], [1, "md:w-1/3", "p-4"], [4, "ngIf"], [1, "md:w-2/3", "md:border-l", "md:border-normal"], [1, "block", "md:hidden", "mx-4"], ["class", "p-4", 4, "ngIf"], ["class", "h-48 overflow-y-auto p-4", 4, "ngIf"], [1, "flex", "cursor-pointer", "mb-3", 3, "click"], [1, "align-middle", "mr-2", 3, "icIcon"], [1, "p-4"], [1, "flex", "justify-end"], ["mat-flat-button", "", 3, "click"], ["color", "primary", "mat-flat-button", "", "type", "button", 1, "text-white", "ml-2", 3, "click"], ["aria-label", "Select an option", 3, "ngModel", "ngModelChange"], ["name", "currentView", "color", "primary", 1, "mr-6", "mb-2", 3, "value"], [1, "md:flex", "my-4"], [1, "mr-2"], ["appearance", "outline", 1, "w-full"], [3, "ngModel", "ngModelChange"], [3, "value", "click", 4, "ngFor", "ngForOf"], [1, "flex", "md:flex-col", "md:ml-2"], ["color", "primary", 1, "mb-1", "mr-6", "md:mr-0", 3, "disabled", "ngModel", "ngModelChange"], ["color", "primary", 1, "mb-1", 3, "disabled", "ngModel", "ngModelChange"], [3, "value", "click"], [1, "my-4"], [1, "lg:flex", "flex-wrap"], [3, "ngModel", "ngModelChange", "selectionChange"], [3, "value", 4, "ngFor", "ngForOf"], ["color", "primary", 1, "mb-2", "mr-6", 3, "disabled", "ngModel", "ngModelChange"], [3, "value"], [1, "mb-4"], [1, "flex", "flex-wrap"], ["color", "primary", 1, "mb-2", "mr-6", 3, "ngModel", "ngModelChange"], [1, "h-48", "overflow-y-auto", "p-4"], [1, "flex", "flex-col"], ["class", "flex justify-between items-center p-1 cursor-pointer", 3, "disabled", "text-gray-light", "click", 4, "ngFor", "ngForOf"], [1, "flex", "justify-between", "items-center", "p-1", "cursor-pointer", 3, "click"], [1, "flex", "items-center"], [1, "w-8", "h-8", "overflow-hidden", "rounded-full", "mr-2"], ["alt", "Profile Photo", "class", "rounded-full", 3, "src", 4, "ngIf"], ["class", "text-white text-center p-2 leading-tight", 3, "ngClass", 4, "ngIf"], ["alt", "Profile Photo", 1, "rounded-full", 3, "src"], [1, "text-white", "text-center", "p-2", "leading-tight", 3, "ngClass"]], template: function SearchDetailsComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, SearchDetailsComponent_ng_container_2_Template, 21, 16, "ng-container", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, SearchDetailsComponent_ng_container_3_Template, 11, 8, "ng-container", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](5, "mat-divider", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, SearchDetailsComponent_div_6_Template, 10, 8, "div", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, SearchDetailsComponent_div_7_Template, 3, 1, "div", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.membershipType === ctx.profiles.SuperAdmin || ctx.membershipType === ctx.profiles.SchoolAdmin || ctx.membershipType === ctx.profiles.AdminAssitant);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.membershipType === ctx.profiles.Teacher || ctx.membershipType === ctx.profiles.HomeroomTeacher);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.isAllUserSearched);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.isAllUserSearched);
    } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_16__["NgIf"], _angular_material_divider__WEBPACK_IMPORTED_MODULE_17__["MatDivider"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_18__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_19__["IconDirective"], _angular_material_button__WEBPACK_IMPORTED_MODULE_20__["MatButton"], _angular_material_radio__WEBPACK_IMPORTED_MODULE_21__["MatRadioGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_22__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_22__["NgModel"], _angular_material_radio__WEBPACK_IMPORTED_MODULE_21__["MatRadioButton"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_23__["MatFormField"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_23__["MatLabel"], _angular_material_select__WEBPACK_IMPORTED_MODULE_24__["MatSelect"], _angular_common__WEBPACK_IMPORTED_MODULE_16__["NgForOf"], _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_25__["MatCheckbox"], _angular_material_core__WEBPACK_IMPORTED_MODULE_26__["MatOption"], _angular_common__WEBPACK_IMPORTED_MODULE_16__["NgClass"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_27__["DefaultClassDirective"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__["TranslatePipe"]], styles: [".disabled[_ngcontent-%COMP%] {\n  pointer-events: none;\n  cursor: not-allowed;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvc2hhcmVkLW1vZHVsZS9jb21wb3NlLW1lc3NhZ2Uvc2VhcmNoLWRldGFpbHMvc2VhcmNoLWRldGFpbHMuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxvQkFBQTtFQUNBLG1CQUFBO0FBQ0YiLCJmaWxlIjoic3JjL2FwcC9wYWdlcy9zaGFyZWQtbW9kdWxlL2NvbXBvc2UtbWVzc2FnZS9zZWFyY2gtZGV0YWlscy9zZWFyY2gtZGV0YWlscy5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5kaXNhYmxlZCB7XG4gIHBvaW50ZXItZXZlbnRzOiBub25lO1xuICBjdXJzb3I6IG5vdC1hbGxvd2VkO1xufSJdfQ== */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SearchDetailsComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-search-details',
                templateUrl: './search-details.component.html',
                styleUrls: ['./search-details.component.scss']
            }]
    }], function () { return [{ type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__["TranslateService"] }, { type: src_app_services_communication_service__WEBPACK_IMPORTED_MODULE_13__["CommunicationService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_14__["MatSnackBar"] }, { type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_15__["DefaultValuesService"] }]; }, { gradeLevelList: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], courseList: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], searchInput: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], parentData: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], cancelView: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }], sendAllInThisSchoolData: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }], sendGradeLevelData: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }], sendCourseSectionData: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }], sendUserData: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }] }); })();


/***/ }),

/***/ "./src/app/pages/shared-module/confirm-dialog/confirm-dialog.component.ts":
/*!********************************************************************************!*\
  !*** ./src/app/pages/shared-module/confirm-dialog/confirm-dialog.component.ts ***!
  \********************************************************************************/
/*! exports provided: ConfirmDialogComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConfirmDialogComponent", function() { return ConfirmDialogComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/***********************************************************************************
openSIS is a free student information system for public and non-public
schools from Open Solutions for Education, Inc.Website: www.os4ed.com.

Visit the openSIS product website at https://opensis.com to learn more.
If you have question regarding this software or the license, please contact
via the website.

The software is released under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, version 3 of the License.
See https://www.gnu.org/licenses/agpl-3.0.en.html.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Copyright (c) Open Solutions for Education, Inc.

All rights reserved.
***********************************************************************************/






class ConfirmDialogComponent {
    constructor(dialogRef, data, translateService) {
        this.dialogRef = dialogRef;
        this.data = data;
        this.translateService = translateService;
        //translateService.use('en');
    }
    ngOnInit() {
    }
    onConfirm() {
        // Close the dialog, return true
        this.dialogRef.close(true);
    }
    onDismiss() {
        // Close the dialog, return false
        this.dialogRef.close(false);
    }
}
ConfirmDialogComponent.ɵfac = function ConfirmDialogComponent_Factory(t) { return new (t || ConfirmDialogComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MAT_DIALOG_DATA"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateService"])); };
ConfirmDialogComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ConfirmDialogComponent, selectors: [["vex-confirm-dialog"]], decls: 13, vars: 8, consts: [["mat-dialog-title", ""], ["display-2", ""], ["mat-dialog-actions", "", "align", "end", 1, "py-4"], ["mat-button", "", 3, "click"], ["mat-raised-button", "", "color", "primary", 3, "click"]], template: function ConfirmDialogComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h2", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "mat-dialog-content");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "p", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "button", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ConfirmDialogComponent_Template_button_click_7_listener() { return ctx.onDismiss(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "button", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ConfirmDialogComponent_Template_button_click_10_listener() { return ctx.onConfirm(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](12, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.data.title);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.data.message);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 4, "no"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](12, 6, "yes"));
    } }, directives: [_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogTitle"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogContent"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogActions"], _angular_material_button__WEBPACK_IMPORTED_MODULE_3__["MatButton"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslatePipe"]], styles: ["mat-dialog-container[_ngcontent-%COMP%] {\n  padding: 0px !important;\n}\n\n.mat-card[_ngcontent-%COMP%]    > [_ngcontent-%COMP%]:last-child:not(.mat-card-footer) {\n  justify-content: flex-end !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvc2hhcmVkLW1vZHVsZS9jb25maXJtLWRpYWxvZy9jb25maXJtLWRpYWxvZy5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLHVCQUFBO0FBQ0Y7O0FBRUE7RUFDRSxvQ0FBQTtBQUNGIiwiZmlsZSI6InNyYy9hcHAvcGFnZXMvc2hhcmVkLW1vZHVsZS9jb25maXJtLWRpYWxvZy9jb25maXJtLWRpYWxvZy5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIm1hdC1kaWFsb2ctY29udGFpbmVyIHtcbiAgcGFkZGluZzogMHB4ICFpbXBvcnRhbnQ7XG59XG5cbi5tYXQtY2FyZCA+IDpsYXN0LWNoaWxkOm5vdCgubWF0LWNhcmQtZm9vdGVyKSB7XG4gIGp1c3RpZnktY29udGVudDogZmxleC1lbmQgIWltcG9ydGFudDtcbn0iXX0= */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ConfirmDialogComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-confirm-dialog',
                templateUrl: './confirm-dialog.component.html',
                styleUrls: ['./confirm-dialog.component.scss']
            }]
    }], function () { return [{ type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogRef"] }, { type: undefined, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
                args: [_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MAT_DIALOG_DATA"]]
            }] }, { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/data-edit-info/data-edit-info.component.ts":
/*!********************************************************************************!*\
  !*** ./src/app/pages/shared-module/data-edit-info/data-edit-info.component.ts ***!
  \********************************************************************************/
/*! exports provided: DataEditInfoComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DataEditInfoComponent", function() { return DataEditInfoComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @iconify/icons-ic/twotone-close */ "./node_modules/@iconify/icons-ic/twotone-close.js");
/* harmony import */ var _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/flex-layout/flex */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_material_divider__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/divider */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/divider.js");
/* harmony import */ var _user_define_pipe_emty_value_check_pipe__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../user-define-pipe/emty-value-check.pipe */ "./src/app/pages/shared-module/user-define-pipe/emty-value-check.pipe.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");














class DataEditInfoComponent {
    constructor(defaultValuesService, translateService, data) {
        var _a, _b, _c, _d;
        this.defaultValuesService = defaultValuesService;
        this.translateService = translateService;
        this.data = data;
        this.icClose = _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_1___default.a;
        this.createdBy = (_a = this.data) === null || _a === void 0 ? void 0 : _a.createdBy;
        this.createdOn = (_b = this.data) === null || _b === void 0 ? void 0 : _b.createdOn;
        this.modifiedBy = (_c = this.data) === null || _c === void 0 ? void 0 : _c.modifiedBy;
        this.modifiedOn = (_d = this.data) === null || _d === void 0 ? void 0 : _d.modifiedOn;
        // translateService.use("en");
    }
    ngOnInit() {
    }
}
DataEditInfoComponent.ɵfac = function DataEditInfoComponent_Factory(t) { return new (t || DataEditInfoComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_3__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MAT_DIALOG_DATA"])); };
DataEditInfoComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: DataEditInfoComponent, selectors: [["vex-data-edit-info"]], decls: 39, vars: 34, consts: [["fxLayout", "row", "fxLayoutAlign", "start center", "mat-dialog-title", ""], ["fxFlex", "auto", 1, "headline", "m-0"], ["mat-dialog-close", "", "mat-icon-button", "", "type", "button", 1, "text-secondary"], [3, "icIcon"], [1, "-mx-6", "text-border"], [1, "mt-3"], [1, "grid", "grid-cols-2", "col-gap-6", "row-gap-10", "mb-4"], [1, "text-sm", "leading-5", "text-gray"], [1, "mt-1", "text-base", "leading-5", "sm:mt-0", "sm:col-span-2"]], template: function DataEditInfoComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h2", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "button", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](5, "mat-icon", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "mat-divider", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "mat-dialog-content", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "ul", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "li");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "label", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](12, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "p", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](15, "EmtyValueCheckPipe");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "li");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "label", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](18);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](19, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "p", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](21);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](22, "EmtyValueCheckPipe");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](23, "date");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "li");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](25, "label", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](26);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](27, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](28, "p", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](29);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](30, "EmtyValueCheckPipe");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](31, "li");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](32, "label", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](33);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](34, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](35, "p", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](36);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](37, "EmtyValueCheckPipe");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](38, "date");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 10, "dataEditInfo"), " ");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icClose);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](12, 12, "createdBy"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](15, 14, ctx.createdBy));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](19, 16, "createdOn"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](22, 18, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](23, 20, ctx.createdOn, ctx.defaultValuesService.getSchoolDateFormat())));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](27, 23, "modifiedBy"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](30, 25, ctx.modifiedBy));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](34, 27, "modifiedOn"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](37, 29, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](38, 31, ctx.modifiedOn, ctx.defaultValuesService.getSchoolDateFormat())), " ");
    } }, directives: [_angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_5__["DefaultLayoutDirective"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_5__["DefaultLayoutAlignDirective"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MatDialogTitle"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_5__["DefaultFlexDirective"], _angular_material_button__WEBPACK_IMPORTED_MODULE_6__["MatButton"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MatDialogClose"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_7__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_8__["IconDirective"], _angular_material_divider__WEBPACK_IMPORTED_MODULE_9__["MatDivider"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MatDialogContent"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslatePipe"], _user_define_pipe_emty_value_check_pipe__WEBPACK_IMPORTED_MODULE_10__["EmtyValueCheckPipe"], _angular_common__WEBPACK_IMPORTED_MODULE_11__["DatePipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL3NoYXJlZC1tb2R1bGUvZGF0YS1lZGl0LWluZm8vZGF0YS1lZGl0LWluZm8uY29tcG9uZW50LnNjc3MifQ== */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](DataEditInfoComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-data-edit-info',
                templateUrl: './data-edit-info.component.html',
                styleUrls: ['./data-edit-info.component.scss']
            }]
    }], function () { return [{ type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_3__["DefaultValuesService"] }, { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslateService"] }, { type: undefined, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
                args: [_angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MAT_DIALOG_DATA"]]
            }] }]; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/directives/animated-checkbox.directive.ts":
/*!*******************************************************************************!*\
  !*** ./src/app/pages/shared-module/directives/animated-checkbox.directive.ts ***!
  \*******************************************************************************/
/*! exports provided: AnimatedCheckboxDirective */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnimatedCheckboxDirective", function() { return AnimatedCheckboxDirective; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class AnimatedCheckboxDirective {
    constructor(el, renderer) {
        this.el = el;
        this.renderer = renderer;
    }
    onMouseEnter() {
        let toggleImage = this.el.nativeElement.querySelector(".toggle-image-div");
        this.renderer.addClass(toggleImage, 'hidden');
        let toggleCheckbox = this.el.nativeElement.querySelector(".toggle-checkbox-div");
        this.renderer.removeClass(toggleCheckbox, 'hidden');
        this.renderer.addClass(toggleCheckbox, 'block');
    }
    onMouseLeave() {
        let toggleImage = this.el.nativeElement.querySelector(".toggle-image-div");
        this.renderer.removeClass(toggleImage, 'hidden');
        this.renderer.addClass(toggleImage, 'block');
        let toggleCheckbox = this.el.nativeElement.querySelector(".toggle-checkbox-div");
        this.renderer.removeClass(toggleCheckbox, 'block');
        this.renderer.addClass(toggleCheckbox, 'hidden');
    }
}
AnimatedCheckboxDirective.ɵfac = function AnimatedCheckboxDirective_Factory(t) { return new (t || AnimatedCheckboxDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"])); };
AnimatedCheckboxDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: AnimatedCheckboxDirective, selectors: [["", "vexAnimatedCheckbox", ""]], hostBindings: function AnimatedCheckboxDirective_HostBindings(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseenter", function AnimatedCheckboxDirective_mouseenter_HostBindingHandler() { return ctx.onMouseEnter(); })("mouseleave", function AnimatedCheckboxDirective_mouseleave_HostBindingHandler() { return ctx.onMouseLeave(); });
    } } });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AnimatedCheckboxDirective, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
        args: [{
                selector: '[vexAnimatedCheckbox]'
            }]
    }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"] }]; }, { onMouseEnter: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['mouseenter']
        }], onMouseLeave: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['mouseleave']
        }] }); })();


/***/ }),

/***/ "./src/app/pages/shared-module/directives/phone-mask.directive.ts":
/*!************************************************************************!*\
  !*** ./src/app/pages/shared-module/directives/phone-mask.directive.ts ***!
  \************************************************************************/
/*! exports provided: PhoneMaskDirective */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PhoneMaskDirective", function() { return PhoneMaskDirective; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");



class PhoneMaskDirective {
    constructor(ngControl) {
        this.ngControl = ngControl;
    }
    onModelChange(event) {
        this.onInputChange(event, false);
    }
    keydownBackspace(event) {
        this.onInputChange(event.target.value, true);
    }
    onInputChange(event, backspace) {
        if (event != null) {
            let newVal = event.replace(/\D/g, '');
            if (backspace && newVal.length <= 6) {
                newVal = newVal.substring(0, newVal.length - 1);
            }
            if (newVal.length === 0) {
                newVal = '';
            }
            else if (newVal.length <= 3) {
                newVal = newVal.replace(/^(\d{0,3})/, '$1');
            }
            else if (newVal.length <= 6) {
                newVal = newVal.replace(/^(\d{0,3})(\d{0,3})/, '$1-$2');
            }
            else if (newVal.length <= 10) {
                newVal = newVal.replace(/^(\d{0,3})(\d{0,3})(\d{0,4})/, '$1-$2-$3');
            }
            else {
                newVal = newVal.substring(0, 10);
                newVal = newVal.replace(/^(\d{0,3})(\d{0,3})(\d{0,4})/, '$1-$2-$3');
            }
            this.ngControl.valueAccessor.writeValue(newVal);
        }
    }
}
PhoneMaskDirective.ɵfac = function PhoneMaskDirective_Factory(t) { return new (t || PhoneMaskDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgControl"])); };
PhoneMaskDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: PhoneMaskDirective, selectors: [["", "appPhoneMask", ""]], hostBindings: function PhoneMaskDirective_HostBindings(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function PhoneMaskDirective_ngModelChange_HostBindingHandler($event) { return ctx.onModelChange($event); })("keydown.backspace", function PhoneMaskDirective_keydown_backspace_HostBindingHandler($event) { return ctx.keydownBackspace($event); });
    } } });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PhoneMaskDirective, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
        args: [{
                selector: '[appPhoneMask]',
            }]
    }], function () { return [{ type: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgControl"] }]; }, { onModelChange: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['ngModelChange', ['$event']]
        }], keydownBackspace: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ['keydown.backspace', ['$event']]
        }] }); })();


/***/ }),

/***/ "./src/app/pages/shared-module/mat-spinner-overlay/mat-spinner-overlay.component.ts":
/*!******************************************************************************************!*\
  !*** ./src/app/pages/shared-module/mat-spinner-overlay/mat-spinner-overlay.component.ts ***!
  \******************************************************************************************/
/*! exports provided: MatSpinnerOverlayComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MatSpinnerOverlayComponent", function() { return MatSpinnerOverlayComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/material/progress-spinner */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/progress-spinner.js");
/***********************************************************************************
openSIS is a free student information system for public and non-public
schools from Open Solutions for Education, Inc.Website: www.os4ed.com.

Visit the openSIS product website at https://opensis.com to learn more.
If you have question regarding this software or the license, please contact
via the website.

The software is released under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, version 3 of the License.
See https://www.gnu.org/licenses/agpl-3.0.en.html.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Copyright (c) Open Solutions for Education, Inc.

All rights reserved.
***********************************************************************************/



class MatSpinnerOverlayComponent {
    constructor() {
        // @Input() value : number = 100;
        this.diameter = 50;
        this.mode = "indeterminate";
        this.strokeWidth = 6;
        this.overlay = false;
        this.color = "primary";
    }
    ngOnInit() {
    }
}
MatSpinnerOverlayComponent.ɵfac = function MatSpinnerOverlayComponent_Factory(t) { return new (t || MatSpinnerOverlayComponent)(); };
MatSpinnerOverlayComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: MatSpinnerOverlayComponent, selectors: [["vex-mat-spinner-overlay"]], inputs: { diameter: "diameter", mode: "mode", strokeWidth: "strokeWidth", overlay: "overlay", color: "color" }, decls: 3, vars: 3, consts: [[1, "overlay"], [1, "center"], [1, "track", 3, "diameter", "mode", "strokeWidth"]], template: function MatSpinnerOverlayComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "mat-progress-spinner", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("diameter", ctx.diameter)("mode", ctx.mode)("strokeWidth", ctx.strokeWidth);
    } }, directives: [_angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_1__["MatProgressSpinner"]], styles: [".overlay[_ngcontent-%COMP%] {\n  height: 100vh;\n  width: 100%;\n  background-color: rgba(0, 0, 0, 0.06);\n  z-index: 10;\n  top: 0;\n  left: 0;\n  position: fixed;\n}\n\n.center[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  transform: translateX(-50%) translateY(-50%);\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvc2hhcmVkLW1vZHVsZS9tYXQtc3Bpbm5lci1vdmVybGF5L21hdC1zcGlubmVyLW92ZXJsYXkuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxhQUFBO0VBQ0EsV0FBQTtFQUNBLHFDQUFBO0VBQ0EsV0FBQTtFQUNBLE1BQUE7RUFDQSxPQUFBO0VBQ0EsZUFBQTtBQUNGOztBQUVBO0VBQ0Usa0JBQUE7RUFDQSxRQUFBO0VBQ0EsU0FBQTtFQUdBLDRDQUFBO0FBQ0YiLCJmaWxlIjoic3JjL2FwcC9wYWdlcy9zaGFyZWQtbW9kdWxlL21hdC1zcGlubmVyLW92ZXJsYXkvbWF0LXNwaW5uZXItb3ZlcmxheS5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5vdmVybGF5IHtcbiAgaGVpZ2h0OiAxMDB2aDtcbiAgd2lkdGg6IDEwMCU7XG4gIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgMC4wNik7XG4gIHotaW5kZXg6IDEwO1xuICB0b3A6IDA7XG4gIGxlZnQ6IDA7XG4gIHBvc2l0aW9uOiBmaXhlZDtcbn1cblxuLmNlbnRlciB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiA1MCU7XG4gIGxlZnQ6IDUwJTtcbiAgLW1vei10cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTUwJSkgdHJhbnNsYXRlWSgtNTAlKTtcbiAgLXdlYmtpdC10cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTUwJSkgdHJhbnNsYXRlWSgtNTAlKTtcbiAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC01MCUpIHRyYW5zbGF0ZVkoLTUwJSk7XG59Il19 */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MatSpinnerOverlayComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-mat-spinner-overlay',
                templateUrl: './mat-spinner-overlay.component.html',
                styleUrls: ['./mat-spinner-overlay.component.scss']
            }]
    }], function () { return []; }, { diameter: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], mode: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], strokeWidth: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], overlay: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], color: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }] }); })();


/***/ }),

/***/ "./src/app/pages/shared-module/profile-image/profile-image.component.ts":
/*!******************************************************************************!*\
  !*** ./src/app/pages/shared-module/profile-image/profile-image.component.ts ***!
  \******************************************************************************/
/*! exports provided: ProfileImageComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProfileImageComponent", function() { return ProfileImageComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _vex_animations_fade_in_right_animation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../@vex/animations/fade-in-right.animation */ "./src/@vex/animations/fade-in-right.animation.ts");
/* harmony import */ var _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @iconify/icons-ic/twotone-close */ "./node_modules/@iconify/icons-ic/twotone-close.js");
/* harmony import */ var _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _iconify_icons_ic_cloud_upload__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @iconify/icons-ic/cloud-upload */ "./node_modules/@iconify/icons-ic/cloud-upload.js");
/* harmony import */ var _iconify_icons_ic_cloud_upload__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_cloud_upload__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _enums_school_create_enum__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../enums/school-create.enum */ "./src/app/enums/school-create.enum.ts");
/* harmony import */ var _enums_module_identifier_enum__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../enums/module-identifier.enum */ "./src/app/enums/module-identifier.enum.ts");
/* harmony import */ var _models_staff_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../models/staff.model */ "./src/app/models/staff.model.ts");
/* harmony import */ var _models_student_model__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../models/student.model */ "./src/app/models/student.model.ts");
/* harmony import */ var _models_school_master_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../models/school-master.model */ "./src/app/models/school-master.model.ts");
/* harmony import */ var _models_parent_info_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../models/parent-info.model */ "./src/app/models/parent-info.model.ts");
/* harmony import */ var src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! src/app/enums/profiles.enum */ "./src/app/enums/profiles.enum.ts");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var _services_image_cropper_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../services/image-cropper.service */ "./src/app/services/image-cropper.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var _services_school_service__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../../services/school.service */ "./src/app/services/school.service.ts");
/* harmony import */ var _services_staff_service__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../../services/staff.service */ "./src/app/services/staff.service.ts");
/* harmony import */ var _services_parent_info_service__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../../services/parent-info.service */ "./src/app/services/parent-info.service.ts");
/* harmony import */ var _services_student_service__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../../services/student.service */ "./src/app/services/student.service.ts");
/* harmony import */ var _services_loader_service__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../../services/loader.service */ "./src/app/services/loader.service.ts");
/* harmony import */ var ngx_image_compress__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ngx-image-compress */ "./node_modules/ngx-image-compress/__ivy_ngcc__/fesm2015/ngx-image-compress.js");
/* harmony import */ var src_app_services_common_service__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! src/app/services/common.service */ "./src/app/services/common.service.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var src_app_common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! src/app/common/page-roles-permissions.service */ "./src/app/common/page-roles-permissions.service.ts");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _services_applicant_service__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../../../services/applicant.service */ "./src/app/services/applicant.service.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @angular/flex-layout/extended */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/extended.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! @angular/flex-layout/flex */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex.js");
/* harmony import */ var ngx_image_cropper__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ngx-image-cropper */ "./node_modules/ngx-image-cropper/__ivy_ngcc__/fesm2015/ngx-image-cropper.js");
/* harmony import */ var _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! @angular/material/progress-spinner */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/progress-spinner.js");
/***********************************************************************************
openSIS is a free student information system for public and non-public
schools from Open Solutions for Education, Inc.Website: www.os4ed.com.

Visit the openSIS product website at https://opensis.com to learn more.
If you have question regarding this software or the license, please contact
via the website.

The software is released under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, version 3 of the License.
See https://www.gnu.org/licenses/agpl-3.0.en.html.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Copyright (c) Open Solutions for Education, Inc.

All rights reserved.
***********************************************************************************/





































const _c0 = ["mytemplate"];
function ProfileImageComponent_div_0_ng_template_1_mat_dialog_actions_12_button_2_Template(rf, ctx) { if (rf & 1) {
    const _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 24);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ProfileImageComponent_div_0_ng_template_1_mat_dialog_actions_12_button_2_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r12); const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4); return ctx_r11.cancelPhoto(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "cancel"));
} }
function ProfileImageComponent_div_0_ng_template_1_mat_dialog_actions_12_mat_icon_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-icon", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "mat-spinner", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} }
function ProfileImageComponent_div_0_ng_template_1_mat_dialog_actions_12_Template(rf, ctx) { if (rf & 1) {
    const _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-dialog-actions", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ProfileImageComponent_div_0_ng_template_1_mat_dialog_actions_12_button_2_Template, 3, 3, "button", 21);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "button", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ProfileImageComponent_div_0_ng_template_1_mat_dialog_actions_12_Template_button_click_3_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r14); const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return ctx_r13.uploadPhotoDirectly(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, ProfileImageComponent_div_0_ng_template_1_mat_dialog_actions_12_mat_icon_6_Template, 2, 0, "mat-icon", 23);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r8.loading && ctx_r8.moduleIdentifier !== ctx_r8.modules.PARENT);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", ctx_r8.loading);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 4, "upload"), " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r8.loading);
} }
function ProfileImageComponent_div_0_ng_template_1_Template(rf, ctx) { if (rf & 1) {
    const _r16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h2", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "button", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ProfileImageComponent_div_0_ng_template_1_Template_button_click_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r16); const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r15.onClose(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](5, "mat-icon", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "mat-dialog-content", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "image-cropper", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("imageCropped", function ProfileImageComponent_div_0_ng_template_1_Template_image_cropper_imageCropped_9_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r16); const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r17.imageCropped($event); })("imageLoaded", function ProfileImageComponent_div_0_ng_template_1_Template_image_cropper_imageLoaded_9_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r16); const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r18.imageLoaded(); })("cropperReady", function ProfileImageComponent_div_0_ng_template_1_Template_image_cropper_cropperReady_9_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r16); const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r19.cropperReady(); })("loadImageFailed", function ProfileImageComponent_div_0_ng_template_1_Template_image_cropper_loadImageFailed_9_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r16); const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r20.loadImageFailed(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](11, "img", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](12, ProfileImageComponent_div_0_ng_template_1_mat_dialog_actions_12_Template, 7, 6, "mat-dialog-actions", 18);
} if (rf & 2) {
    const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 9, "cropImage"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r7.icClose);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("imageChangedEvent", ctx_r7.imageChangedEvent)("maintainAspectRatio", true)("aspectRatio", 1 / 1)("resizeToWidth", 256)("onlyScaleDown", false);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", ctx_r7.croppedImage, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r7.createMode != ctx_r7.modes.ADD && (ctx_r7.moduleIdentifier == ctx_r7.modules.STUDENT || ctx_r7.moduleIdentifier == ctx_r7.modules.STAFF || ctx_r7.moduleIdentifier == ctx_r7.modules.PARENT || ctx_r7.moduleIdentifier == ctx_r7.modules.APPLICANT));
} }
function ProfileImageComponent_div_0_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, ProfileImageComponent_div_0_ng_template_1_Template, 13, 11, "ng-template", null, 9, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} }
function ProfileImageComponent_div_5_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 27);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "img", 28);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@fadeInRight", undefined)("ngClass", ctx_r2.customCss);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", ctx_r2.sourceName && ctx_r2.sourceName === "school" ? "assets/img/upload-school-logo.svg" : "assets/img/UploadPhoto.svg", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
} }
function ProfileImageComponent_div_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 29);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "img", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@fadeInRight", undefined)("ngClass", ctx_r3.customCss);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", ctx_r3.preview, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
} }
function ProfileImageComponent_div_7_span_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 34);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r21.sourceName && ctx_r21.sourceName === "school" ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "uploadLogo") : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 3, "uploadPhoto"));
} }
function ProfileImageComponent_div_7_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 31);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "img", 32);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ProfileImageComponent_div_7_span_2_Template, 4, 5, "span", 33);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@fadeInRight", undefined)("ngClass", ctx_r4.customCss);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@fadeInRight", undefined)("src", "data:image/jpeg;base64," + ctx_r4.responseImage, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r4.inputType == "file" && ctx_r4.endEdit && ctx_r4.userMembership !== ctx_r4.profile.Student && ctx_r4.userMembership !== ctx_r4.profile.Parent);
} }
function ProfileImageComponent_div_8_span_2_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 34);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r22.sourceName && ctx_r22.sourceName === "school" ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "uploadLogo") : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 3, "uploadPhoto"));
} }
function ProfileImageComponent_div_8_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 31);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "img", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ProfileImageComponent_div_8_span_2_Template, 4, 5, "span", 33);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", ctx_r5.customCss);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@fadeInRight", undefined)("src", ctx_r5.croppedImage, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r5.endEdit);
} }
class ProfileImageComponent {
    constructor(translateService, dialog, imageCropperService, snackbar, schoolService, staffService, parentService, studentService, loaderService, imageCompressService, commonService, router, pageRolePermission, defaultValuesService, applicantService) {
        this.translateService = translateService;
        this.dialog = dialog;
        this.imageCropperService = imageCropperService;
        this.snackbar = snackbar;
        this.schoolService = schoolService;
        this.staffService = staffService;
        this.parentService = parentService;
        this.studentService = studentService;
        this.loaderService = loaderService;
        this.imageCompressService = imageCompressService;
        this.commonService = commonService;
        this.router = router;
        this.pageRolePermission = pageRolePermission;
        this.defaultValuesService = defaultValuesService;
        this.applicantService = applicantService;
        this.icUpload = _iconify_icons_ic_cloud_upload__WEBPACK_IMPORTED_MODULE_3___default.a;
        this.icClose = _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_2___default.a;
        this.modes = _enums_school_create_enum__WEBPACK_IMPORTED_MODULE_6__["SchoolCreate"];
        this.modules = _enums_module_identifier_enum__WEBPACK_IMPORTED_MODULE_7__["ModuleIdentifier"];
        this.preview = '';
        this.profile = src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_12__["ProfilesTypes"];
        this.imageChangedEvent = '';
        this.croppedImage = '';
        this.showCropTool = false;
        this.hideCropperToolButton = true;
        this.inputType = "file";
        this.destroySubject$ = new rxjs__WEBPACK_IMPORTED_MODULE_4__["Subject"]();
        this.enableCropTool = true;
        this.customCss = 'rounded-full border-2 border-gray-light';
        this.staffAddModel = new _models_staff_model__WEBPACK_IMPORTED_MODULE_8__["StaffAddModel"]();
        this.studentAddModel = new _models_student_model__WEBPACK_IMPORTED_MODULE_9__["StudentAddModel"]();
        this.schoolAddModel = new _models_school_master_model__WEBPACK_IMPORTED_MODULE_10__["SchoolAddViewModel"]();
        this.AddParentInfoModel = new _models_parent_info_model__WEBPACK_IMPORTED_MODULE_11__["AddParentInfoModel"]();
        this.userMembership = this.defaultValuesService.getuserMembershipName();
        this.loaderService.isLoading.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["takeUntil"])(this.destroySubject$)).subscribe((val) => {
            this.loading = val;
        });
        this.schoolService.schoolDetailsForViewedAndEdited.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["takeUntil"])(this.destroySubject$)).subscribe((res) => {
            var _a, _b, _c;
            if (res) {
                this.schoolAddModel = res;
                this.preview = '';
                this.responseImage = (_c = (_b = (_a = this.schoolAddModel.schoolMaster) === null || _a === void 0 ? void 0 : _a.schoolDetail) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.schoolLogo;
            }
        });
        this.imageCropperService.shareImageStatus.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["takeUntil"])(this.destroySubject$)).subscribe((message) => {
            if (message == "school") {
                this.preview = '';
                // this.responseImage = this.schoolService.getSchoolCloneImage();
            }
            if (message == "staff") {
                this.preview = '';
                this.croppedImage = '';
                this.responseImage = this.staffService.getStaffCloneImage();
            }
            if (message == "student") {
                this.preview = '';
                this.croppedImage = '';
                this.responseImage = this.studentService.getStudentCloneImage();
            }
            if (message == "applicant") {
                this.preview = '';
                this.croppedImage = '';
                this.responseImage = this.applicantService.getApplicantCloneImage();
            }
        });
    }
    ngOnInit() {
        this.checkPermission();
        this.imageCropperService.sharedMessage.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["takeUntil"])(this.destroySubject$)).subscribe((res) => {
            if (res.upload) {
                this.moduleIdentifier = res.module;
                this.createMode = res.mode;
                this.inputType = "file";
            }
            else {
                this.moduleIdentifier = res.module;
                this.createMode = res.mode;
                this.inputType = "none";
            }
        });
    }
    checkPermission() {
        if (this.pageRolePermission.checkPageRolePermission(this.customURL ? this.customURL : this.router.url).edit || this.router.url.substring(0, 10) == '/admission' || this.router.url.substring(0, 6) == '/admsn') {
            this.endEdit = true;
        }
        else {
            this.endEdit = false;
        }
    }
    checkPermissionAndExecute(fileUpload) {
        if (this.endEdit && this.userMembership !== this.profile.Student && this.userMembership !== this.profile.Parent) {
            fileUpload.click();
            this.unsetImage();
        }
        ;
    }
    imageCropped(event) {
        this.imageCompressService.compressFile(event.base64, -1, 75, 50).then(result => {
            this.croppedImage = result;
            let base64ImageSplit = this.croppedImage.split(',');
            let sendCropImage = (croppedImage) => {
                // this.imageCropperService.sendCroppedEvent(croppedImage);
                this.checkAndSetImage(croppedImage);
            };
            sendCropImage(base64ImageSplit);
        });
        this.imageCompressService.compressFile(event.base64, -1, 25, 50).then(result => {
            let base64ImageSplit = result.split(',');
            let sendCropImage = (croppedImage) => {
                // this.imageCropperService.sendCroppedEventForThumbnail(croppedImage);
                this.checkAndSetThumbnailImage(croppedImage);
            };
            sendCropImage(base64ImageSplit);
        });
    }
    checkAndSetThumbnailImage(croppedImage) {
        if (this.moduleIdentifier == this.modules.STUDENT) {
            this.studentService.setStudentThumbnailImage(croppedImage[1]);
        }
        else if (this.moduleIdentifier == this.modules.STAFF) {
            this.staffService.setStaffThumbnailImage(croppedImage[1]);
        }
        else if (this.moduleIdentifier == this.modules.PARENT) {
            this.parentService.setParentThumbnailImage(croppedImage[1]);
        }
        else if (this.moduleIdentifier == this.modules.APPLICANT) {
            this.applicantService.setApplicantThumbnailImage(croppedImage[1]);
        }
    }
    checkAndSetImage(croppedImage) {
        if (this.moduleIdentifier == this.modules.STUDENT) {
            this.studentService.setStudentImage(croppedImage[1]);
        }
        else if (this.moduleIdentifier == this.modules.STAFF) {
            this.staffService.setStaffImage(croppedImage[1]);
        }
        else if (this.moduleIdentifier == this.modules.PARENT) {
            this.parentService.setParentImage(croppedImage[1]);
        }
        else if (this.moduleIdentifier == this.modules.APPLICANT) {
            this.applicantService.setApplicantImage(croppedImage[1]);
        }
    }
    setImage() {
        this.showCropperandButton = true;
    }
    unsetImage() {
        this.hideCropperToolButton = !this.hideCropperToolButton;
    }
    imageLoaded() {
    }
    cropperReady() {
        // cropper ready
    }
    loadImageFailed() {
    }
    uploadFile(event, fileUpload) {
        var _a, _b, _c, _d;
        this.fileUploader = fileUpload;
        this.responseImage = null;
        this.hideCropperToolButton = true;
        // if (event.target.files[0]?.size > 307200) {
        //   this.snackbar.open('Warning: File must be less than 300kb', '', { duration: 10000 });
        // } else
        if ((((_a = event.target.files[0]) === null || _a === void 0 ? void 0 : _a.type) == "image/jpeg") ||
            (((_b = event.target.files[0]) === null || _b === void 0 ? void 0 : _b.type) == "image/jpg") ||
            (((_c = event.target.files[0]) === null || _c === void 0 ? void 0 : _c.type) == "image/png")) {
            this.originalFileName = event.target.files[0].name;
            this.showCropTool = false;
            let files = event.target.files;
            let _URL = window.URL || window.webkitURL;
            for (let i = 0; i < files.length; i++) {
                // let img = new Image();
                // img.onload = () => {
                if (this.enableCropTool) {
                    this.callCropper(event);
                }
                else {
                    this.callUncropper(event);
                }
                // }
                // img.src = event.target.result;
                // img.src = _URL.createObjectURL(files[i]);
            }
        }
        else {
            if (((_d = event.target.files[0]) === null || _d === void 0 ? void 0 : _d.size) > 0) {
                this.snackbar.open('Warning: only jpg/jpeg/png will support', '', { duration: 10000 });
            }
        }
    }
    callCropper(event) {
        this.imageChangedEvent = event;
        this.showCropTool = true;
        this.openModal();
        return false;
    }
    callUncropper(event) {
        const file = event.target.files[0];
        if (file) {
            const reader = new FileReader();
            reader.onload = () => {
                this.resizeImage(reader.result, 256, 256).then(compressed => {
                    this.imageCompressService.compressFile(compressed, -1, 75, 50).then(result => {
                        this.preview = result;
                        this.handleReaderLoaded(result.split(',')[1], 'schoolLogo');
                    });
                    this.imageCompressService.compressFile(compressed, -1, 25, 50).then(result => {
                        this.handleReaderLoaded(result.split(',')[1], 'schoolThumbnailLogo', true);
                    });
                });
            };
            reader.readAsDataURL(file);
        }
    }
    resizeImage(src, newX, newY) {
        return new Promise((resolve, reject) => {
            const img = new Image();
            img.src = src;
            img.onload = () => {
                const elem = document.createElement('canvas');
                elem.width = newX;
                elem.height = newY;
                const ctx = elem.getContext('2d');
                ctx.drawImage(img, 0, 0, newX, newY);
                const data = ctx.canvas.toDataURL();
                resolve(data);
            };
            img.onerror = error => reject(error);
        });
    }
    handleReaderLoaded(e, fieldname, triggerUpdate) {
        this.croppedImage = '';
        let sendImageData2 = (e) => {
            this.imageCropperService.sendUncroppedEvent(e);
            if (this.moduleIdentifier == this.modules.SCHOOL && this.createMode != this.modes.ADD) {
                this.preview = '';
                this.schoolAddModel.schoolMaster.schoolDetail[0][fieldname] = e;
                if (triggerUpdate) {
                    this.updateSchoolImage();
                }
            }
            this.fileUploader.value = null;
        };
        sendImageData2(e);
    }
    openModal() {
        let dialogRef = this.dialog.open(this.mytemplate, {
            width: '700px',
        });
        dialogRef.afterClosed().subscribe(result => {
            // Do Something after Dialog Closed
            this.fileUploader.value = null;
        });
    }
    onClose() {
        this.hideCropperToolButton = false;
        this.fileUploader.value = null;
        this.cancelPhoto();
        // this.showCropperandButton=true;
        // this.dialog.closeAll();
    }
    cancelPhoto() {
        if (this.moduleIdentifier == this.modules.STUDENT) {
            this.preview = '';
            this.croppedImage = '';
            this.responseImage = this.studentService.getStudentCloneImage();
            this.dialog.closeAll();
        }
        else if (this.moduleIdentifier == this.modules.STAFF) {
            this.preview = '';
            this.croppedImage = '';
            this.responseImage = this.staffService.getStaffCloneImage();
            this.dialog.closeAll();
        }
        else if (this.moduleIdentifier == this.modules.APPLICANT) {
            this.preview = '';
            this.croppedImage = '';
            this.responseImage = this.applicantService.getApplicantCloneImage();
            this.dialog.closeAll();
        }
    }
    uploadPhotoDirectly() {
        if (this.moduleIdentifier == this.modules.STUDENT) {
            this.updateStudentImage();
        }
        else if (this.moduleIdentifier == this.modules.STAFF) {
            this.updateStaffImage();
        }
        else if (this.moduleIdentifier == this.modules.PARENT) {
            this.updateParentImage();
        }
        else if (this.moduleIdentifier == this.modules.APPLICANT) {
            this.updateApplicantImage();
        }
    }
    updateSchoolImage() {
        // this.schoolAddModel.schoolMaster.schoolDetail[0].schoolLogo = logo;
        this.schoolService.addUpdateSchoolLogo(this.schoolAddModel).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["takeUntil"])(this.destroySubject$)).subscribe((res) => {
            if (typeof (res) == 'undefined') {
                this.snackbar.open(this.defaultValuesService.getHttpError(), '', {
                    duration: 5000
                });
            }
            else {
                if (res._failure) {
                    this.snackbar.open(res._message, '', {
                        duration: 5000
                    });
                }
                else {
                    this.snackbar.open(res._message, '', {
                        duration: 5000
                    });
                    // this.schoolService.setSchoolCloneImage(res.schoolMaster.schoolDetail[0].schoolLogo);
                    this.schoolService.setSchoolDetailsForViewAndEdit(res);
                }
            }
        });
    }
    updateStudentImage() {
        this.studentService.addUpdateStudentPhoto(this.studentAddModel).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["takeUntil"])(this.destroySubject$)).subscribe((res) => {
            if (typeof (res) == 'undefined') {
                this.snackbar.open(this.defaultValuesService.getHttpError(), '', {
                    duration: 5000
                });
            }
            else {
                if (res._failure) {
                    this.snackbar.open(res._message, '', {
                        duration: 5000
                    });
                }
                else {
                    this.snackbar.open(res._message, '', {
                        duration: 5000
                    });
                    this.studentService.setStudentCloneImage(res.studentMaster.studentPhoto);
                    this.dialog.closeAll();
                }
            }
        });
    }
    updateStaffImage() {
        this.staffService.addUpdateStaffPhoto(this.staffAddModel).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["takeUntil"])(this.destroySubject$)).subscribe((res) => {
            if (typeof (res) == 'undefined') {
                this.snackbar.open(this.defaultValuesService.getHttpError(), '', {
                    duration: 5000
                });
            }
            else {
                if (res._failure) {
                    this.snackbar.open(res._message, '', {
                        duration: 5000
                    });
                }
                else {
                    this.snackbar.open(res._message, '', {
                        duration: 5000
                    });
                    this.staffService.setStaffCloneImage(res.staffMaster.staffPhoto);
                    if (this.defaultValuesService.getUserId() === res.staffMaster.staffId.toString()) {
                        this.defaultValuesService.sendPhoto(res.staffMaster.staffPhoto);
                        this.defaultValuesService.setUserPhoto(res.staffMaster.staffPhoto);
                    }
                    this.dialog.closeAll();
                }
            }
        });
    }
    updateParentImage() {
        this.parentService.addUpdateParentPhoto(this.AddParentInfoModel).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["takeUntil"])(this.destroySubject$)).subscribe((res) => {
            if (typeof (res) == 'undefined') {
                this.snackbar.open(this.defaultValuesService.getHttpError(), '', {
                    duration: 5000
                });
            }
            else {
                if (res._failure) {
                    this.snackbar.open(res._message, '', {
                        duration: 5000
                    });
                }
                else {
                    this.snackbar.open(res._message, '', {
                        duration: 5000
                    });
                    this.dialog.closeAll();
                }
            }
        });
    }
    updateApplicantImage() {
        this.dialog.closeAll();
    }
    ngOnDestroy() {
        this.destroySubject$.next();
        this.destroySubject$.complete();
    }
}
ProfileImageComponent.ɵfac = function ProfileImageComponent_Factory(t) { return new (t || ProfileImageComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_14__["MatDialog"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_image_cropper_service__WEBPACK_IMPORTED_MODULE_15__["ImageCropperService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_16__["MatSnackBar"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_school_service__WEBPACK_IMPORTED_MODULE_17__["SchoolService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_staff_service__WEBPACK_IMPORTED_MODULE_18__["StaffService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_parent_info_service__WEBPACK_IMPORTED_MODULE_19__["ParentInfoService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_student_service__WEBPACK_IMPORTED_MODULE_20__["StudentService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_loader_service__WEBPACK_IMPORTED_MODULE_21__["LoaderService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ngx_image_compress__WEBPACK_IMPORTED_MODULE_22__["NgxImageCompressService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_common_service__WEBPACK_IMPORTED_MODULE_23__["CommonService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_24__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_25__["PageRolesPermission"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_26__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_applicant_service__WEBPACK_IMPORTED_MODULE_27__["ApplicantService"])); };
ProfileImageComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ProfileImageComponent, selectors: [["vex-profile-image"]], viewQuery: function ProfileImageComponent_Query(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, true);
    } if (rf & 2) {
        var _t;
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.mytemplate = _t.first);
    } }, inputs: { enableCropTool: "enableCropTool", customCss: "customCss", responseImage: "responseImage", sourceName: "sourceName", customURL: "customURL" }, decls: 9, vars: 8, consts: [["class", "text-center", "style", "display:none", 4, "ngIf"], [1, "input-group", 2, "display", "none"], ["accept", "image/jpg, image/jpeg, image/png", 3, "type", "change"], ["fileUpload", ""], [1, "d-flex", "justify-center", "photo-upload", 3, "ngClass", "click"], ["class", "inline-block align-top bg-white", 3, "ngClass", 4, "ngIf"], ["class", "inline-block align-top", 3, "ngClass", 4, "ngIf"], ["class", "profile-photo-wrapper inline-block align-top relative overflow-hidden", 3, "ngClass", 4, "ngIf"], [1, "text-center", 2, "display", "none"], ["mytemplate", ""], [1, "flex", "justify-between"], [1, "text-center"], ["mat-icon-button", "", "type", "button", 1, "text-secondary", 3, "click"], [3, "icIcon"], ["fxLayout", "column"], [1, "flex", "justify-around"], ["format", "png", 2, "padding", "0 !important", 3, "imageChangedEvent", "maintainAspectRatio", "aspectRatio", "resizeToWidth", "onlyScaleDown", "imageCropped", "imageLoaded", "cropperReady", "loadImageFailed"], ["alt", "Profile picture", 2, "width", "160px", 3, "src"], ["class", "py-6", 4, "ngIf"], [1, "py-6"], [1, "flex", "justify-end"], ["mat-raised-button", "", 3, "click", 4, "ngIf"], ["mat-raised-button", "", "color", "primary", 3, "disabled", "click"], ["class", "ml-2", 4, "ngIf"], ["mat-raised-button", "", 3, "click"], [1, "ml-2"], ["color", "primary", "diameter", "20"], [1, "inline-block", "align-top", "bg-white", 3, "ngClass"], ["id", "img1", "width", "160", "alt", "Upload Logo", 1, "rounded-full", 3, "src"], [1, "inline-block", "align-top", 3, "ngClass"], ["id", "img2", "width", "160", "alt", "Profile picture", 1, "", 3, "src"], [1, "profile-photo-wrapper", "inline-block", "align-top", "relative", "overflow-hidden", 3, "ngClass"], ["id", "img3", "width", "160", "alt", "Profile picture", 1, "", 3, "src"], ["href", "", "class", "absolute w-full pt-2 pb-4 upload-photo-link text-center", 4, "ngIf"], ["href", "", 1, "absolute", "w-full", "pt-2", "pb-4", "upload-photo-link", "text-center"], ["id", "img4", "width", "160", "alt", "Profile picture", 1, "", 3, "src"]], template: function ProfileImageComponent_Template(rf, ctx) { if (rf & 1) {
        const _r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, ProfileImageComponent_div_0_Template, 3, 0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "input", 2, 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function ProfileImageComponent_Template_input_change_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r23); const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](3); return ctx.uploadFile($event, _r1); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ProfileImageComponent_Template_div_click_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r23); const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](3); return ctx.checkPermissionAndExecute(_r1); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, ProfileImageComponent_div_5_Template, 2, 3, "div", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, ProfileImageComponent_div_6_Template, 2, 3, "div", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, ProfileImageComponent_div_7_Template, 3, 5, "div", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, ProfileImageComponent_div_8_Template, 3, 4, "div", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.enableCropTool);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("type", ctx.inputType);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("@fadeInRight", undefined)("ngClass", ctx.inputType == "file" ? "cursor-pointer" : "");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.croppedImage == "" && ctx.preview == "" && (ctx.responseImage == null || ctx.responseImage.length == 0));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.preview != "" && ctx.croppedImage == "");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.responseImage);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.croppedImage != "");
    } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_28__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_28__["NgClass"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_29__["DefaultClassDirective"], _angular_material_button__WEBPACK_IMPORTED_MODULE_30__["MatButton"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_31__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_32__["IconDirective"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_14__["MatDialogContent"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_33__["DefaultLayoutDirective"], ngx_image_cropper__WEBPACK_IMPORTED_MODULE_34__["ImageCropperComponent"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_14__["MatDialogActions"], _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_35__["MatSpinner"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__["TranslatePipe"]], styles: [".cropper[_ngcontent-%COMP%]   .move[_ngcontent-%COMP%] {\n  border: 2px solid #0c3e8a !important;\n}\n\n.show[_ngcontent-%COMP%] {\n  display: none;\n}\n\n.sm-button[_ngcontent-%COMP%] {\n  padding: 1px 4px;\n  margin-bottom: 2px;\n}\n\n.upload-photo-link[_ngcontent-%COMP%] {\n  position: absolute;\n  bottom: -100px;\n  background: rgba(0, 0, 0, 0.7);\n  color: #ffffff;\n  font-weight: 600;\n  left: 0;\n  transition: all 0.4s ease;\n}\n\n.profile-photo-wrapper[_ngcontent-%COMP%]:hover   .upload-photo-link[_ngcontent-%COMP%] {\n  bottom: 0;\n}\n\n.profile-photo-wrapper[_ngcontent-%COMP%]     .mat-progress-spinner circle, .profile-photo-wrapper[_ngcontent-%COMP%]   .mat-spinner[_ngcontent-%COMP%]   circle[_ngcontent-%COMP%] {\n  stroke: #ffffff;\n}\n\n.profile-photo-wrapper[_ngcontent-%COMP%]   .spinner-container[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  z-index: 1;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n\n.profile-photo-wrapper[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%] {\n  display: inline-block;\n  position: relative;\n}\n\n.mat-dialog-actions[_ngcontent-%COMP%] {\n  display: block !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvc2hhcmVkLW1vZHVsZS9wcm9maWxlLWltYWdlL3Byb2ZpbGUtaW1hZ2UuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxvQ0FBQTtBQUNGOztBQUVBO0VBQ0UsYUFBQTtBQUNGOztBQUVBO0VBQ0UsZ0JBQUE7RUFDQSxrQkFBQTtBQUNGOztBQUVBO0VBQ0Usa0JBQUE7RUFDQSxjQUFBO0VBQ0EsOEJBQUE7RUFDQSxjQUFBO0VBQ0EsZ0JBQUE7RUFDQSxPQUFBO0VBQ0EseUJBQUE7QUFDRjs7QUFFQTtFQUNFLFNBQUE7QUFDRjs7QUFFQTtFQUNFLGVBQUE7QUFDRjs7QUFFQTtFQUNFLGtCQUFBO0VBQ0EsTUFBQTtFQUNBLE9BQUE7RUFDQSxRQUFBO0VBQ0EsU0FBQTtFQUNBLFVBQUE7RUFDQSxhQUFBO0VBQ0EsbUJBQUE7RUFDQSx1QkFBQTtBQUNGOztBQUVBO0VBQ0UscUJBQUE7RUFDQSxrQkFBQTtBQUNGOztBQUVBO0VBQ0UseUJBQUE7QUFDRiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL3NoYXJlZC1tb2R1bGUvcHJvZmlsZS1pbWFnZS9wcm9maWxlLWltYWdlLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmNyb3BwZXIgLm1vdmUge1xuICBib3JkZXI6IDJweCBzb2xpZCAjMGMzZThhICFpbXBvcnRhbnQ7XG59XG5cbi5zaG93IHtcbiAgZGlzcGxheTogbm9uZTtcbn1cblxuLnNtLWJ1dHRvbiB7XG4gIHBhZGRpbmc6IDFweCA0cHg7XG4gIG1hcmdpbi1ib3R0b206IDJweDtcbn1cblxuLnVwbG9hZC1waG90by1saW5rIHtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICBib3R0b206IC0xMDBweDtcbiAgYmFja2dyb3VuZDogcmdiYSgwLCAwLCAwLCAwLjcpO1xuICBjb2xvcjogI2ZmZmZmZjtcbiAgZm9udC13ZWlnaHQ6IDYwMDtcbiAgbGVmdDogMDtcbiAgdHJhbnNpdGlvbjogYWxsIDAuNHMgZWFzZTtcbn1cblxuLnByb2ZpbGUtcGhvdG8td3JhcHBlcjpob3ZlciAudXBsb2FkLXBob3RvLWxpbmsge1xuICBib3R0b206IDA7XG59XG5cbi5wcm9maWxlLXBob3RvLXdyYXBwZXIgOjpuZy1kZWVwIC5tYXQtcHJvZ3Jlc3Mtc3Bpbm5lciBjaXJjbGUsIC5wcm9maWxlLXBob3RvLXdyYXBwZXIgLm1hdC1zcGlubmVyIGNpcmNsZSB7XG4gIHN0cm9rZTogI2ZmZmZmZjtcbn1cblxuLnByb2ZpbGUtcGhvdG8td3JhcHBlciAuc3Bpbm5lci1jb250YWluZXIge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogMDtcbiAgbGVmdDogMDtcbiAgcmlnaHQ6IDA7XG4gIGJvdHRvbTogMDtcbiAgei1pbmRleDogMTtcbiAgZGlzcGxheTogZmxleDtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG59XG5cbi5wcm9maWxlLXBob3RvLXdyYXBwZXIgLmJ1dHRvbi1jb250YWluZXIge1xuICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbn1cblxuLm1hdC1kaWFsb2ctYWN0aW9ucyB7XG4gIGRpc3BsYXk6IGJsb2NrICFpbXBvcnRhbnQ7XG59Il19 */"], data: { animation: [
            _vex_animations_fade_in_right_animation__WEBPACK_IMPORTED_MODULE_1__["fadeInRight400ms"]
        ] } });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ProfileImageComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-profile-image',
                templateUrl: './profile-image.component.html',
                styleUrls: ['./profile-image.component.scss'],
                animations: [
                    _vex_animations_fade_in_right_animation__WEBPACK_IMPORTED_MODULE_1__["fadeInRight400ms"]
                ]
            }]
    }], function () { return [{ type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__["TranslateService"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_14__["MatDialog"] }, { type: _services_image_cropper_service__WEBPACK_IMPORTED_MODULE_15__["ImageCropperService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_16__["MatSnackBar"] }, { type: _services_school_service__WEBPACK_IMPORTED_MODULE_17__["SchoolService"] }, { type: _services_staff_service__WEBPACK_IMPORTED_MODULE_18__["StaffService"] }, { type: _services_parent_info_service__WEBPACK_IMPORTED_MODULE_19__["ParentInfoService"] }, { type: _services_student_service__WEBPACK_IMPORTED_MODULE_20__["StudentService"] }, { type: _services_loader_service__WEBPACK_IMPORTED_MODULE_21__["LoaderService"] }, { type: ngx_image_compress__WEBPACK_IMPORTED_MODULE_22__["NgxImageCompressService"] }, { type: src_app_services_common_service__WEBPACK_IMPORTED_MODULE_23__["CommonService"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_24__["Router"] }, { type: src_app_common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_25__["PageRolesPermission"] }, { type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_26__["DefaultValuesService"] }, { type: _services_applicant_service__WEBPACK_IMPORTED_MODULE_27__["ApplicantService"] }]; }, { mytemplate: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['mytemplate']
        }], enableCropTool: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], customCss: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], responseImage: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], sourceName: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }], customURL: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }] }); })();


/***/ }),

/***/ "./src/app/pages/shared-module/reset-password/reset-password.component.ts":
/*!********************************************************************************!*\
  !*** ./src/app/pages/shared-module/reset-password/reset-password.component.ts ***!
  \********************************************************************************/
/*! exports provided: ResetPasswordComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ResetPasswordComponent", function() { return ResetPasswordComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @iconify/icons-ic/twotone-close */ "./node_modules/@iconify/icons-ic/twotone-close.js");
/* harmony import */ var _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _iconify_icons_ic_twotone_visibility__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @iconify/icons-ic/twotone-visibility */ "./node_modules/@iconify/icons-ic/twotone-visibility.js");
/* harmony import */ var _iconify_icons_ic_twotone_visibility__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_visibility__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _iconify_icons_ic_twotone_visibility_off__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @iconify/icons-ic/twotone-visibility-off */ "./node_modules/@iconify/icons-ic/twotone-visibility-off.js");
/* harmony import */ var _iconify_icons_ic_twotone_visibility_off__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_visibility_off__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _shared_validation_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../shared/validation.service */ "./src/app/pages/shared/validation.service.ts");
/* harmony import */ var src_app_models_common_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/models/common.model */ "./src/app/models/common.model.ts");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var src_app_services_common_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/app/services/common.service */ "./src/app/services/common.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
/* harmony import */ var src_app_services_loader_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! src/app/services/loader.service */ "./src/app/services/loader.service.ts");
/* harmony import */ var _shared_shared_function__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../shared/shared-function */ "./src/app/pages/shared/shared-function.ts");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/flex-layout/flex */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_material_divider__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @angular/material/divider */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/divider.js");
/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @angular/material/form-field */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/form-field.js");
/* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @angular/material/input */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/input.js");
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @angular/material/tooltip */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/tooltip.js");
/* harmony import */ var _mat_spinner_overlay_mat_spinner_overlay_component__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../mat-spinner-overlay/mat-spinner-overlay.component */ "./src/app/pages/shared-module/mat-spinner-overlay/mat-spinner-overlay.component.ts");
/***********************************************************************************
openSIS is a free student information system for public and non-public
schools from Open Solutions for Education, Inc.Website: www.os4ed.com.

Visit the openSIS product website at https://opensis.com to learn more.
If you have question regarding this software or the license, please contact
via the website.

The software is released under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, version 3 of the License.
See https://www.gnu.org/licenses/agpl-3.0.en.html.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Copyright (c) Open Solutions for Education, Inc.

All rights reserved.
***********************************************************************************/




























function ResetPasswordComponent_vex_mat_spinner_overlay_0_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "vex-mat-spinner-overlay");
} }
function ResetPasswordComponent_mat_error_17_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "newPasswordIsRequired"), " ");
} }
function ResetPasswordComponent_mat_icon_20_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "mat-icon", 4);
} if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r2.icVisibilityOff);
} }
function ResetPasswordComponent_mat_icon_21_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "mat-icon", 4);
} if (rf & 2) {
    const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r3.icVisibility);
} }
function ResetPasswordComponent_mat_error_32_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "confirmNewPasswordIsRequired"), " ");
} }
function ResetPasswordComponent_mat_error_33_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "passwordsMustMatch"), " ");
} }
function ResetPasswordComponent_mat_icon_36_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "mat-icon", 4);
} if (rf & 2) {
    const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r6.icVisibilityOff);
} }
function ResetPasswordComponent_mat_icon_37_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "mat-icon", 4);
} if (rf & 2) {
    const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r7.icVisibility);
} }
class ResetPasswordComponent {
    constructor(translateService, commonService, snackbar, fb, cd, loaderService, commonFunction, data, defaultValuesService, dialogRef) {
        this.translateService = translateService;
        this.commonService = commonService;
        this.snackbar = snackbar;
        this.fb = fb;
        this.cd = cd;
        this.loaderService = loaderService;
        this.commonFunction = commonFunction;
        this.data = data;
        this.defaultValuesService = defaultValuesService;
        this.dialogRef = dialogRef;
        this.icClose = _iconify_icons_ic_twotone_close__WEBPACK_IMPORTED_MODULE_1___default.a;
        this.icVisibility = _iconify_icons_ic_twotone_visibility__WEBPACK_IMPORTED_MODULE_2___default.a;
        this.icVisibilityOff = _iconify_icons_ic_twotone_visibility_off__WEBPACK_IMPORTED_MODULE_3___default.a;
        this.resetPasswordModel = new src_app_models_common_model__WEBPACK_IMPORTED_MODULE_5__["ResetPasswordModel"]();
        this.inputType = 'password';
        this.cnfInputType = 'password';
        this.destroySubject$ = new rxjs__WEBPACK_IMPORTED_MODULE_7__["Subject"]();
        //translateService.use('en');
        this.loaderService.isLoading.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_8__["takeUntil"])(this.destroySubject$)).subscribe((val) => {
            this.loading = val;
        });
    }
    ngOnInit() {
        this.form = this.fb.group({
            newPassword: ['', [_shared_validation_service__WEBPACK_IMPORTED_MODULE_4__["ValidationService"].noWhitespaceValidator]],
            confirmNewPassword: ['', [_shared_validation_service__WEBPACK_IMPORTED_MODULE_4__["ValidationService"].noWhitespaceValidator]]
        }, {
            validator: _shared_validation_service__WEBPACK_IMPORTED_MODULE_4__["ValidationService"].mustMatch('newPassword', 'confirmNewPassword')
        });
    }
    // This toggleVisibility method is used for password visibility on/off.
    toggleVisibility(key) {
        if (this[key] === "text") {
            this[key] = 'password';
            this.cd.markForCheck();
        }
        else {
            this[key] = 'text';
            this.cd.markForCheck();
        }
    }
    // This generatePassword method is used for Auto generate password by calling the method autoGeneratePassword from commonFunction.
    generatePassword() {
        this.inputType = 'text';
        this.cnfInputType = 'text';
        let password = this.commonFunction.autoGeneratePassword();
        this.form.controls.newPassword.setValue(password);
        this.form.controls.confirmNewPassword.setValue(password);
    }
    // This submit method is used for call resetPassword API.
    submit() {
        this.form.markAllAsTouched();
        if (this.form.valid) {
            this.resetPasswordModel.userMaster.userId = this.data.userId;
            this.resetPasswordModel.userMaster.emailAddress = this.data.emailAddress;
            this.resetPasswordModel.userMaster.passwordHash = this.form.controls.confirmNewPassword.value;
            this.commonService.resetPassword(this.resetPasswordModel).subscribe((res) => {
                if (res) {
                    if (res._failure) {
                        this.snackbar.open(res._message, '', {
                            duration: 10000
                        });
                    }
                    else {
                        this.snackbar.open(res._message, '', {
                            duration: 10000
                        });
                        this.dialogRef.close(true);
                    }
                }
                else {
                    this.snackbar.open(this.defaultValuesService.getHttpError(), '', {
                        duration: 10000
                    });
                }
            });
        }
    }
    ngOnDestroy() {
        this.destroySubject$.next();
        this.destroySubject$.complete();
    }
}
ResetPasswordComponent.ɵfac = function ResetPasswordComponent_Factory(t) { return new (t || ResetPasswordComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_common_service__WEBPACK_IMPORTED_MODULE_10__["CommonService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__["MatSnackBar"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_12__["FormBuilder"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_loader_service__WEBPACK_IMPORTED_MODULE_13__["LoaderService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_shared_function__WEBPACK_IMPORTED_MODULE_14__["SharedFunction"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_6__["MAT_DIALOG_DATA"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_15__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_6__["MatDialogRef"])); };
ResetPasswordComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ResetPasswordComponent, selectors: [["vex-reset-password"]], decls: 45, vars: 36, consts: [[4, "ngIf"], ["fxLayout", "row", "fxLayoutAlign", "start center", "mat-dialog-title", "", 1, "mb-2"], ["fxFlex", "auto", 1, "headline", "m-0"], ["mat-dialog-close", "", "mat-icon-button", "", "type", "button", 1, "text-secondary"], [3, "icIcon"], [1, "-mx-6"], [3, "formGroup", "ngSubmit"], [1, "mt-4"], [1, "mb-0"], ["appearance", "outline", "color", "primary", 1, "w-full", "mb-0"], ["formControlName", "newPassword", "name", "newPassword", "required", "", "matInput", "", 3, "type"], ["mat-icon-button", "", "matSuffix", "", "type", "button", 3, "matTooltip", "click"], [3, "icIcon", 4, "ngIf"], [1, "flex", "justify-end", "mb-3"], [1, "text-primary", "cursor-pointer", 3, "click"], ["appearance", "outline", "color", "primary", 1, "w-full"], ["formControlName", "confirmNewPassword", "name", "confirmNewPassword", "required", "", "matInput", "", 3, "type"], ["fxLayout", "row", "fxLayoutAlign", "end center", 1, "pb-4"], ["mat-flat-button", "", "mat-dialog-close", "", "type", "button"], ["color", "primary", "mat-raised-button", "", "type", "submit"]], template: function ResetPasswordComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, ResetPasswordComponent_vex_mat_spinner_overlay_0_Template, 1, 0, "vex-mat-spinner-overlay", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "h2", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "button", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "mat-icon", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "mat-divider", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "form", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngSubmit", function ResetPasswordComponent_Template_form_ngSubmit_8_listener() { return ctx.submit(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "mat-dialog-content");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "ul", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "li", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "mat-form-field", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "mat-label");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](15, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](16, "input", 10);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](17, ResetPasswordComponent_mat_error_17_Template, 3, 3, "mat-error", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "button", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ResetPasswordComponent_Template_button_click_18_listener() { return ctx.toggleVisibility("inputType"); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](19, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](20, ResetPasswordComponent_mat_icon_20_Template, 1, 1, "mat-icon", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](21, ResetPasswordComponent_mat_icon_21_Template, 1, 1, "mat-icon", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "p", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "a", 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ResetPasswordComponent_Template_a_click_23_listener() { return ctx.generatePassword(); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](24);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](25, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](26, "li");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](27, "mat-form-field", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](28, "mat-label");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](29);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](30, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](31, "input", 16);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](32, ResetPasswordComponent_mat_error_32_Template, 3, 3, "mat-error", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](33, ResetPasswordComponent_mat_error_33_Template, 3, 3, "mat-error", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](34, "button", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ResetPasswordComponent_Template_button_click_34_listener() { return ctx.toggleVisibility("cnfInputType"); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](35, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](36, ResetPasswordComponent_mat_icon_36_Template, 1, 1, "mat-icon", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](37, ResetPasswordComponent_mat_icon_37_Template, 1, 1, "mat-icon", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](38, "mat-dialog-actions", 17);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](39, "button", 18);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](40);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](41, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](42, "button", 19);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](43);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](44, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.loading);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 20, "resetPassword"), " ");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icClose);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formGroup", ctx.form);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](15, 22, "newPassword"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("type", ctx.inputType);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.form.get("newPassword").hasError("whitespace"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("matTooltip", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](19, 24, "toggleVisibility"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.inputType === "password");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.inputType === "text");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](25, 26, "autoGeneratePassword"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](30, 28, "confirmNewPassword"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("type", ctx.cnfInputType);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.form.get("confirmNewPassword").hasError("whitespace"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.form.get("confirmNewPassword").hasError("mustMatch"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("matTooltip", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](35, 30, "toggleVisibility"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.cnfInputType === "password");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.cnfInputType === "text");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](41, 32, "cancel"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](44, 34, "submit"));
    } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_16__["NgIf"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_17__["DefaultLayoutDirective"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_17__["DefaultLayoutAlignDirective"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_6__["MatDialogTitle"], _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_17__["DefaultFlexDirective"], _angular_material_button__WEBPACK_IMPORTED_MODULE_18__["MatButton"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_6__["MatDialogClose"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_19__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_20__["IconDirective"], _angular_material_divider__WEBPACK_IMPORTED_MODULE_21__["MatDivider"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__["ɵangular_packages_forms_forms_y"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__["FormGroupDirective"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_6__["MatDialogContent"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_22__["MatFormField"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_22__["MatLabel"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__["DefaultValueAccessor"], _angular_material_input__WEBPACK_IMPORTED_MODULE_23__["MatInput"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__["FormControlName"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__["RequiredValidator"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_22__["MatSuffix"], _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_24__["MatTooltip"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_6__["MatDialogActions"], _mat_spinner_overlay_mat_spinner_overlay_component__WEBPACK_IMPORTED_MODULE_25__["MatSpinnerOverlayComponent"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_22__["MatError"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__["TranslatePipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL3NoYXJlZC1tb2R1bGUvcmVzZXQtcGFzc3dvcmQvcmVzZXQtcGFzc3dvcmQuY29tcG9uZW50LnNjc3MifQ== */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ResetPasswordComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-reset-password',
                templateUrl: './reset-password.component.html',
                styleUrls: ['./reset-password.component.scss']
            }]
    }], function () { return [{ type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__["TranslateService"] }, { type: src_app_services_common_service__WEBPACK_IMPORTED_MODULE_10__["CommonService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__["MatSnackBar"] }, { type: _angular_forms__WEBPACK_IMPORTED_MODULE_12__["FormBuilder"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"] }, { type: src_app_services_loader_service__WEBPACK_IMPORTED_MODULE_13__["LoaderService"] }, { type: _shared_shared_function__WEBPACK_IMPORTED_MODULE_14__["SharedFunction"] }, { type: undefined, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
                args: [_angular_material_dialog__WEBPACK_IMPORTED_MODULE_6__["MAT_DIALOG_DATA"]]
            }] }, { type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_15__["DefaultValuesService"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_6__["MatDialogRef"] }]; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/shared-module.module.ts":
/*!*************************************************************!*\
  !*** ./src/app/pages/shared-module/shared-module.module.ts ***!
  \*************************************************************/
/*! exports provided: SharedModuleModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SharedModuleModule", function() { return SharedModuleModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _mat_spinner_overlay_mat_spinner_overlay_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mat-spinner-overlay/mat-spinner-overlay.component */ "./src/app/pages/shared-module/mat-spinner-overlay/mat-spinner-overlay.component.ts");
/* harmony import */ var _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/progress-spinner */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/progress-spinner.js");
/* harmony import */ var _profile_image_profile_image_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./profile-image/profile-image.component */ "./src/app/pages/shared-module/profile-image/profile-image.component.ts");
/* harmony import */ var ngx_image_cropper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ngx-image-cropper */ "./node_modules/ngx-image-cropper/__ivy_ngcc__/fesm2015/ngx-image-cropper.js");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _directives_phone_mask_directive__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./directives/phone-mask.directive */ "./src/app/pages/shared-module/directives/phone-mask.directive.ts");
/* harmony import */ var _user_define_pipe_emty_boolean_check_pipe__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./user-define-pipe/emty-boolean-check-pipe */ "./src/app/pages/shared-module/user-define-pipe/emty-boolean-check-pipe.ts");
/* harmony import */ var _user_define_pipe_emty_value_check_pipe__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./user-define-pipe/emty-value-check.pipe */ "./src/app/pages/shared-module/user-define-pipe/emty-value-check.pipe.ts");
/* harmony import */ var _user_define_pipe_emty_number_check_pipe__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./user-define-pipe/emty-number-check.pipe */ "./src/app/pages/shared-module/user-define-pipe/emty-number-check.pipe.ts");
/* harmony import */ var _confirm_dialog_confirm_dialog_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./confirm-dialog/confirm-dialog.component */ "./src/app/pages/shared-module/confirm-dialog/confirm-dialog.component.ts");
/* harmony import */ var _angular_material_card__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/material/card */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/card.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _user_defined_directives_invalid_control_scroll_directive__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./user-defined-directives/invalid-control-scroll.directive */ "./src/app/pages/shared-module/user-defined-directives/invalid-control-scroll.directive.ts");
/* harmony import */ var _user_define_pipe_emty_boolean_check_reverse_pipe__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./user-define-pipe/emty-boolean-check.reverse.pipe */ "./src/app/pages/shared-module/user-define-pipe/emty-boolean-check.reverse.pipe.ts");
/* harmony import */ var _user_define_pipe_safeHtml_pipe__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./user-define-pipe/safeHtml.pipe */ "./src/app/pages/shared-module/user-define-pipe/safeHtml.pipe.ts");
/* harmony import */ var _user_define_pipe_transform_datetime_pipe__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./user-define-pipe/transform-datetime-pipe */ "./src/app/pages/shared-module/user-define-pipe/transform-datetime-pipe.ts");
/* harmony import */ var _user_defined_directives_emailvalidator_directive__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./user-defined-directives/emailvalidator.directive */ "./src/app/pages/shared-module/user-defined-directives/emailvalidator.directive.ts");
/* harmony import */ var _user_defined_directives_phonevalidator_directive__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./user-defined-directives/phonevalidator.directive */ "./src/app/pages/shared-module/user-defined-directives/phonevalidator.directive.ts");
/* harmony import */ var _user_define_pipe_age_calculator_pipe__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./user-define-pipe/age-calculator.pipe */ "./src/app/pages/shared-module/user-define-pipe/age-calculator.pipe.ts");
/* harmony import */ var _user_define_pipe_transfrom_time_pipe__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./user-define-pipe/transfrom-time.pipe */ "./src/app/pages/shared-module/user-define-pipe/transfrom-time.pipe.ts");
/* harmony import */ var _user_define_pipe_even_odd_pipe__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./user-define-pipe/even-odd.pipe */ "./src/app/pages/shared-module/user-define-pipe/even-odd.pipe.ts");
/* harmony import */ var _user_define_pipe_number_to_week_day_pipe__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./user-define-pipe/number-to-week-day.pipe */ "./src/app/pages/shared-module/user-define-pipe/number-to-week-day.pipe.ts");
/* harmony import */ var _user_define_pipe_course_section_ngFor_div_filter_pipe__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./user-define-pipe/course-section-ngFor-div-filter.pipe */ "./src/app/pages/shared-module/user-define-pipe/course-section-ngFor-div-filter.pipe.ts");
/* harmony import */ var _user_define_pipe_transform_24to12_pipe__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./user-define-pipe/transform-24to12.pipe */ "./src/app/pages/shared-module/user-define-pipe/transform-24to12.pipe.ts");
/* harmony import */ var _user_define_pipe_course_ngFor_div_filter_pipe__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./user-define-pipe/course-ngFor-div-filter.pipe */ "./src/app/pages/shared-module/user-define-pipe/course-ngFor-div-filter.pipe.ts");
/* harmony import */ var _user_define_pipe_system_category_check_pipe__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./user-define-pipe/system-category-check.pipe */ "./src/app/pages/shared-module/user-define-pipe/system-category-check.pipe.ts");
/* harmony import */ var _reset_password_reset_password_component__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./reset-password/reset-password.component */ "./src/app/pages/shared-module/reset-password/reset-password.component.ts");
/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! @angular/material/form-field */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/form-field.js");
/* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! @angular/material/input */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/input.js");
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! @angular/material/tooltip */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/tooltip.js");
/* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! @angular/flex-layout */ "./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex-layout.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
/* harmony import */ var ngx_image_compress__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ngx-image-compress */ "./node_modules/ngx-image-compress/__ivy_ngcc__/fesm2015/ngx-image-compress.js");
/* harmony import */ var _data_edit_info_data_edit_info_component__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./data-edit-info/data-edit-info.component */ "./src/app/pages/shared-module/data-edit-info/data-edit-info.component.ts");
/* harmony import */ var _angular_material_divider__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! @angular/material/divider */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/divider.js");
/* harmony import */ var _user_defined_directives_youtube_link_validator_directive__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./user-defined-directives/youtube-link-validator.directive */ "./src/app/pages/shared-module/user-defined-directives/youtube-link-validator.directive.ts");
/* harmony import */ var _user_defined_directives_twitter_link_validator_directive__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./user-defined-directives/twitter-link-validator.directive */ "./src/app/pages/shared-module/user-defined-directives/twitter-link-validator.directive.ts");
/* harmony import */ var _user_defined_directives_website_link_validator_directive__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./user-defined-directives/website-link-validator.directive */ "./src/app/pages/shared-module/user-defined-directives/website-link-validator.directive.ts");
/* harmony import */ var _user_defined_directives_linkedin_link_validator_directive__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./user-defined-directives/linkedin-link-validator.directive */ "./src/app/pages/shared-module/user-defined-directives/linkedin-link-validator.directive.ts");
/* harmony import */ var _user_defined_directives_instagram_link_validator_directive__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./user-defined-directives/instagram-link-validator.directive */ "./src/app/pages/shared-module/user-defined-directives/instagram-link-validator.directive.ts");
/* harmony import */ var _user_defined_directives_facebook_link_validator_directive__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./user-defined-directives/facebook-link-validator.directive */ "./src/app/pages/shared-module/user-defined-directives/facebook-link-validator.directive.ts");
/* harmony import */ var _user_define_pipe_ssn_mask_pipe__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./user-define-pipe/ssn-mask.pipe */ "./src/app/pages/shared-module/user-define-pipe/ssn-mask.pipe.ts");
/* harmony import */ var _user_define_pipe_input_effort_grades_ng_for_div_filter_pipe__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./user-define-pipe/input-effort-grades-ng-for-div-filter.pipe */ "./src/app/pages/shared-module/user-define-pipe/input-effort-grades-ng-for-div-filter.pipe.ts");
/* harmony import */ var _user_defined_directives_custom_min_directive__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./user-defined-directives/custom-min.directive */ "./src/app/pages/shared-module/user-defined-directives/custom-min.directive.ts");
/* harmony import */ var _user_define_pipe_password_mask_pipe__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./user-define-pipe/password-mask.pipe */ "./src/app/pages/shared-module/user-define-pipe/password-mask.pipe.ts");
/* harmony import */ var _directives_animated_checkbox_directive__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./directives/animated-checkbox.directive */ "./src/app/pages/shared-module/directives/animated-checkbox.directive.ts");
/* harmony import */ var _user_define_pipe_mental_health_filter_pipe__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./user-define-pipe/mental-health-filter.pipe */ "./src/app/pages/shared-module/user-define-pipe/mental-health-filter.pipe.ts");
/* harmony import */ var _compose_message_compose_message_component__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./compose-message/compose-message.component */ "./src/app/pages/shared-module/compose-message/compose-message.component.ts");
/* harmony import */ var _compose_message_search_details_search_details_component__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./compose-message/search-details/search-details.component */ "./src/app/pages/shared-module/compose-message/search-details/search-details.component.ts");
/* harmony import */ var _angular_material_radio__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! @angular/material/radio */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/radio.js");
/* harmony import */ var _angular_material_select__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! @angular/material/select */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/select.js");
/* harmony import */ var _angular_material_chips__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! @angular/material/chips */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/chips.js");
/* harmony import */ var ngx_dropzone__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ngx-dropzone */ "./node_modules/ngx-dropzone/__ivy_ngcc__/fesm2015/ngx-dropzone.js");
/* harmony import */ var ngx_quill__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ngx-quill */ "./node_modules/ngx-quill/__ivy_ngcc__/fesm2015/ngx-quill.js");
/* harmony import */ var _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! @angular/material/slide-toggle */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/slide-toggle.js");
/* harmony import */ var _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! @angular/material/checkbox */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/checkbox.js");
/* harmony import */ var _compose_message_student_parent_compose_message_student_parent_component__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./compose-message-student-parent/compose-message-student-parent.component */ "./src/app/pages/shared-module/compose-message-student-parent/compose-message-student-parent.component.ts");
/* harmony import */ var _angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! @angular/material/autocomplete */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/autocomplete.js");
/* harmony import */ var _student_identification_student_identification_component__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./student-identification/student-identification.component */ "./src/app/pages/shared-module/student-identification/student-identification.component.ts");
/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! @angular/material/menu */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/menu.js");
/* harmony import */ var _user_defined_directives_custom_max_length_directive__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./user-defined-directives/custom-max-length.directive */ "./src/app/pages/shared-module/user-defined-directives/custom-max-length.directive.ts");
/* harmony import */ var _activity_details_activity_details_component__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./activity-details/activity-details.component */ "./src/app/pages/shared-module/activity-details/activity-details.component.ts");
/* harmony import */ var _user_define_pipe_empty_html_value_check_pipe__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./user-define-pipe/empty-html-value-check.pipe */ "./src/app/pages/shared-module/user-define-pipe/empty-html-value-check.pipe.ts");
/* harmony import */ var _user_define_pipe_user_name_format_pipe__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./user-define-pipe/user-name-format.pipe */ "./src/app/pages/shared-module/user-define-pipe/user-name-format.pipe.ts");
/* harmony import */ var _user_define_pipe_user_preferred_name_format_pipe__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./user-define-pipe/user-preferred-name-format.pipe */ "./src/app/pages/shared-module/user-define-pipe/user-preferred-name-format.pipe.ts");
/* harmony import */ var _user_define_pipe_course_request_filter_pipe__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./user-define-pipe/course-request-filter.pipe */ "./src/app/pages/shared-module/user-define-pipe/course-request-filter.pipe.ts");
/* harmony import */ var _user_define_pipe_course_catalog_filter_pipe__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./user-define-pipe/course-catalog-filter.pipe */ "./src/app/pages/shared-module/user-define-pipe/course-catalog-filter.pipe.ts");











































































class SharedModuleModule {
}
SharedModuleModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: SharedModuleModule });
SharedModuleModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function SharedModuleModule_Factory(t) { return new (t || SharedModuleModule)(); }, providers: [ngx_image_compress__WEBPACK_IMPORTED_MODULE_38__["NgxImageCompressService"]], imports: [[
            _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
            _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_3__["MatProgressSpinnerModule"],
            ngx_image_cropper__WEBPACK_IMPORTED_MODULE_5__["ImageCropperModule"],
            _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__["MatSnackBarModule"],
            _angular_material_dialog__WEBPACK_IMPORTED_MODULE_7__["MatDialogModule"],
            _angular_material_button__WEBPACK_IMPORTED_MODULE_8__["MatButtonModule"],
            _angular_material_icon__WEBPACK_IMPORTED_MODULE_9__["MatIconModule"],
            _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_10__["IconModule"],
            _angular_material_card__WEBPACK_IMPORTED_MODULE_16__["MatCardModule"],
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_17__["TranslateModule"],
            _angular_material_form_field__WEBPACK_IMPORTED_MODULE_33__["MatFormFieldModule"],
            _angular_material_input__WEBPACK_IMPORTED_MODULE_34__["MatInputModule"],
            _angular_flex_layout__WEBPACK_IMPORTED_MODULE_36__["FlexLayoutModule"],
            _angular_forms__WEBPACK_IMPORTED_MODULE_37__["ReactiveFormsModule"],
            _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_35__["MatTooltipModule"],
            _angular_material_divider__WEBPACK_IMPORTED_MODULE_40__["MatDividerModule"],
            _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_60__["MatSlideToggleModule"],
            _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_61__["MatCheckboxModule"],
            _angular_forms__WEBPACK_IMPORTED_MODULE_37__["FormsModule"],
            _angular_material_radio__WEBPACK_IMPORTED_MODULE_55__["MatRadioModule"],
            _angular_material_select__WEBPACK_IMPORTED_MODULE_56__["MatSelectModule"],
            _angular_material_chips__WEBPACK_IMPORTED_MODULE_57__["MatChipsModule"],
            ngx_dropzone__WEBPACK_IMPORTED_MODULE_58__["NgxDropzoneModule"],
            _angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_63__["MatAutocompleteModule"],
            _angular_material_menu__WEBPACK_IMPORTED_MODULE_65__["MatMenuModule"],
            ngx_quill__WEBPACK_IMPORTED_MODULE_59__["QuillModule"].forRoot({
                modules: {
                    toolbar: [
                        ['bold', 'italic', 'underline', 'strike'],
                        ['blockquote', 'code-block'],
                        [{ header: 1 }, { header: 2 }],
                        [{ list: 'ordered' }, { list: 'bullet' }],
                        [{ script: 'sub' }, { script: 'super' }],
                        [{ indent: '-1' }, { indent: '+1' }],
                        [{ direction: 'rtl' }],
                        [{ size: ['small', false, 'large', 'huge'] }],
                        [{ header: [1, 2, 3, 4, 5, 6, false] }],
                        [{ color: [] }, { background: [] }],
                        [{ align: [] }],
                        ['clean'],
                        ['link', 'image', 'video'] // link and image, video
                    ]
                }
            })
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](SharedModuleModule, { declarations: [_mat_spinner_overlay_mat_spinner_overlay_component__WEBPACK_IMPORTED_MODULE_2__["MatSpinnerOverlayComponent"], _profile_image_profile_image_component__WEBPACK_IMPORTED_MODULE_4__["ProfileImageComponent"], _directives_phone_mask_directive__WEBPACK_IMPORTED_MODULE_11__["PhoneMaskDirective"], _user_define_pipe_emty_boolean_check_pipe__WEBPACK_IMPORTED_MODULE_12__["EmtyBooleanCheckPipe"], _user_define_pipe_emty_boolean_check_reverse_pipe__WEBPACK_IMPORTED_MODULE_19__["EmtyBooleanCheckReversePipe"],
        _user_define_pipe_emty_value_check_pipe__WEBPACK_IMPORTED_MODULE_13__["EmtyValueCheckPipe"], _user_define_pipe_emty_number_check_pipe__WEBPACK_IMPORTED_MODULE_14__["EmtyNumberCheckPipe"], _confirm_dialog_confirm_dialog_component__WEBPACK_IMPORTED_MODULE_15__["ConfirmDialogComponent"], _user_defined_directives_invalid_control_scroll_directive__WEBPACK_IMPORTED_MODULE_18__["InvalidControlScrollDirective"], _user_define_pipe_transform_datetime_pipe__WEBPACK_IMPORTED_MODULE_21__["TransformDateTimePipe"], _user_define_pipe_transfrom_time_pipe__WEBPACK_IMPORTED_MODULE_25__["TransformTimePipe"], _user_defined_directives_emailvalidator_directive__WEBPACK_IMPORTED_MODULE_22__["EmailvalidatorDirective"],
        _user_defined_directives_phonevalidator_directive__WEBPACK_IMPORTED_MODULE_23__["PhonevalidatorDirective"], _user_define_pipe_safeHtml_pipe__WEBPACK_IMPORTED_MODULE_20__["SafePipe"], _user_define_pipe_age_calculator_pipe__WEBPACK_IMPORTED_MODULE_24__["AgePipe"], _user_define_pipe_even_odd_pipe__WEBPACK_IMPORTED_MODULE_26__["EvenOddPipe"], _user_define_pipe_number_to_week_day_pipe__WEBPACK_IMPORTED_MODULE_27__["WeekDayPipe"], _user_define_pipe_course_section_ngFor_div_filter_pipe__WEBPACK_IMPORTED_MODULE_28__["NgForFilterPipe"], _user_define_pipe_transform_24to12_pipe__WEBPACK_IMPORTED_MODULE_29__["Transform24to12Pipe"], _user_define_pipe_course_ngFor_div_filter_pipe__WEBPACK_IMPORTED_MODULE_30__["CourseNgForFilterPipe"], _user_define_pipe_course_request_filter_pipe__WEBPACK_IMPORTED_MODULE_71__["CourseRequestFilterPipe"], _user_define_pipe_course_catalog_filter_pipe__WEBPACK_IMPORTED_MODULE_72__["CourseCatalogFilterPipe"], _user_define_pipe_system_category_check_pipe__WEBPACK_IMPORTED_MODULE_31__["SystemCategoryCheckPipe"], _reset_password_reset_password_component__WEBPACK_IMPORTED_MODULE_32__["ResetPasswordComponent"],
        _data_edit_info_data_edit_info_component__WEBPACK_IMPORTED_MODULE_39__["DataEditInfoComponent"],
        _user_defined_directives_youtube_link_validator_directive__WEBPACK_IMPORTED_MODULE_41__["youtubeLinkValidatorDirective"],
        _user_defined_directives_twitter_link_validator_directive__WEBPACK_IMPORTED_MODULE_42__["TwitterLinkValidatorDirective"],
        _user_defined_directives_website_link_validator_directive__WEBPACK_IMPORTED_MODULE_43__["WebsiteLinkValidatorDirective"],
        _user_defined_directives_linkedin_link_validator_directive__WEBPACK_IMPORTED_MODULE_44__["LinkedinLinkValidatorDirective"],
        _user_defined_directives_instagram_link_validator_directive__WEBPACK_IMPORTED_MODULE_45__["InstagramLinkValidatorDirective"],
        _user_defined_directives_facebook_link_validator_directive__WEBPACK_IMPORTED_MODULE_46__["FacebookLinkValidatorDirective"],
        _user_define_pipe_ssn_mask_pipe__WEBPACK_IMPORTED_MODULE_47__["SsnMaskPipe"],
        _user_define_pipe_input_effort_grades_ng_for_div_filter_pipe__WEBPACK_IMPORTED_MODULE_48__["InputEffortGradesNgForDivFilterPipe"],
        _user_defined_directives_custom_min_directive__WEBPACK_IMPORTED_MODULE_49__["CustomMinDirective"],
        _user_define_pipe_password_mask_pipe__WEBPACK_IMPORTED_MODULE_50__["PasswordMaskPipe"], _directives_animated_checkbox_directive__WEBPACK_IMPORTED_MODULE_51__["AnimatedCheckboxDirective"], _user_define_pipe_mental_health_filter_pipe__WEBPACK_IMPORTED_MODULE_52__["MentalHealthFilterPipe"], _compose_message_compose_message_component__WEBPACK_IMPORTED_MODULE_53__["ComposeMessageComponent"], _compose_message_search_details_search_details_component__WEBPACK_IMPORTED_MODULE_54__["SearchDetailsComponent"], _compose_message_student_parent_compose_message_student_parent_component__WEBPACK_IMPORTED_MODULE_62__["ComposeMessageStudentParentComponent"], _student_identification_student_identification_component__WEBPACK_IMPORTED_MODULE_64__["StudentIdentificationComponent"], _user_defined_directives_custom_max_length_directive__WEBPACK_IMPORTED_MODULE_66__["CustomMaxLengthDirective"], _activity_details_activity_details_component__WEBPACK_IMPORTED_MODULE_67__["ActivityDetailsComponent"], _user_define_pipe_empty_html_value_check_pipe__WEBPACK_IMPORTED_MODULE_68__["EmptyHtmlValueCheckPipe"], _user_define_pipe_user_name_format_pipe__WEBPACK_IMPORTED_MODULE_69__["UserNameFormatPipe"], _user_define_pipe_user_preferred_name_format_pipe__WEBPACK_IMPORTED_MODULE_70__["UserPreferredNameFormatPipe"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
        _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_3__["MatProgressSpinnerModule"],
        ngx_image_cropper__WEBPACK_IMPORTED_MODULE_5__["ImageCropperModule"],
        _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__["MatSnackBarModule"],
        _angular_material_dialog__WEBPACK_IMPORTED_MODULE_7__["MatDialogModule"],
        _angular_material_button__WEBPACK_IMPORTED_MODULE_8__["MatButtonModule"],
        _angular_material_icon__WEBPACK_IMPORTED_MODULE_9__["MatIconModule"],
        _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_10__["IconModule"],
        _angular_material_card__WEBPACK_IMPORTED_MODULE_16__["MatCardModule"],
        _ngx_translate_core__WEBPACK_IMPORTED_MODULE_17__["TranslateModule"],
        _angular_material_form_field__WEBPACK_IMPORTED_MODULE_33__["MatFormFieldModule"],
        _angular_material_input__WEBPACK_IMPORTED_MODULE_34__["MatInputModule"],
        _angular_flex_layout__WEBPACK_IMPORTED_MODULE_36__["FlexLayoutModule"],
        _angular_forms__WEBPACK_IMPORTED_MODULE_37__["ReactiveFormsModule"],
        _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_35__["MatTooltipModule"],
        _angular_material_divider__WEBPACK_IMPORTED_MODULE_40__["MatDividerModule"],
        _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_60__["MatSlideToggleModule"],
        _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_61__["MatCheckboxModule"],
        _angular_forms__WEBPACK_IMPORTED_MODULE_37__["FormsModule"],
        _angular_material_radio__WEBPACK_IMPORTED_MODULE_55__["MatRadioModule"],
        _angular_material_select__WEBPACK_IMPORTED_MODULE_56__["MatSelectModule"],
        _angular_material_chips__WEBPACK_IMPORTED_MODULE_57__["MatChipsModule"],
        ngx_dropzone__WEBPACK_IMPORTED_MODULE_58__["NgxDropzoneModule"],
        _angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_63__["MatAutocompleteModule"],
        _angular_material_menu__WEBPACK_IMPORTED_MODULE_65__["MatMenuModule"], ngx_quill__WEBPACK_IMPORTED_MODULE_59__["QuillModule"]], exports: [_mat_spinner_overlay_mat_spinner_overlay_component__WEBPACK_IMPORTED_MODULE_2__["MatSpinnerOverlayComponent"], _profile_image_profile_image_component__WEBPACK_IMPORTED_MODULE_4__["ProfileImageComponent"], _directives_phone_mask_directive__WEBPACK_IMPORTED_MODULE_11__["PhoneMaskDirective"], _user_define_pipe_emty_boolean_check_pipe__WEBPACK_IMPORTED_MODULE_12__["EmtyBooleanCheckPipe"], _user_define_pipe_emty_value_check_pipe__WEBPACK_IMPORTED_MODULE_13__["EmtyValueCheckPipe"], _user_define_pipe_emty_number_check_pipe__WEBPACK_IMPORTED_MODULE_14__["EmtyNumberCheckPipe"], _user_defined_directives_invalid_control_scroll_directive__WEBPACK_IMPORTED_MODULE_18__["InvalidControlScrollDirective"],
        _user_define_pipe_emty_boolean_check_reverse_pipe__WEBPACK_IMPORTED_MODULE_19__["EmtyBooleanCheckReversePipe"], _user_define_pipe_transform_datetime_pipe__WEBPACK_IMPORTED_MODULE_21__["TransformDateTimePipe"], _user_define_pipe_transfrom_time_pipe__WEBPACK_IMPORTED_MODULE_25__["TransformTimePipe"], _user_defined_directives_emailvalidator_directive__WEBPACK_IMPORTED_MODULE_22__["EmailvalidatorDirective"], _user_defined_directives_phonevalidator_directive__WEBPACK_IMPORTED_MODULE_23__["PhonevalidatorDirective"], _user_define_pipe_safeHtml_pipe__WEBPACK_IMPORTED_MODULE_20__["SafePipe"], _user_define_pipe_age_calculator_pipe__WEBPACK_IMPORTED_MODULE_24__["AgePipe"], _user_define_pipe_even_odd_pipe__WEBPACK_IMPORTED_MODULE_26__["EvenOddPipe"], _user_define_pipe_number_to_week_day_pipe__WEBPACK_IMPORTED_MODULE_27__["WeekDayPipe"], _user_define_pipe_course_section_ngFor_div_filter_pipe__WEBPACK_IMPORTED_MODULE_28__["NgForFilterPipe"], _user_define_pipe_transform_24to12_pipe__WEBPACK_IMPORTED_MODULE_29__["Transform24to12Pipe"], _user_define_pipe_course_ngFor_div_filter_pipe__WEBPACK_IMPORTED_MODULE_30__["CourseNgForFilterPipe"], _user_define_pipe_course_request_filter_pipe__WEBPACK_IMPORTED_MODULE_71__["CourseRequestFilterPipe"], _user_define_pipe_course_catalog_filter_pipe__WEBPACK_IMPORTED_MODULE_72__["CourseCatalogFilterPipe"], _user_define_pipe_system_category_check_pipe__WEBPACK_IMPORTED_MODULE_31__["SystemCategoryCheckPipe"],
        _user_defined_directives_youtube_link_validator_directive__WEBPACK_IMPORTED_MODULE_41__["youtubeLinkValidatorDirective"], _user_defined_directives_twitter_link_validator_directive__WEBPACK_IMPORTED_MODULE_42__["TwitterLinkValidatorDirective"], _user_defined_directives_website_link_validator_directive__WEBPACK_IMPORTED_MODULE_43__["WebsiteLinkValidatorDirective"], _user_defined_directives_linkedin_link_validator_directive__WEBPACK_IMPORTED_MODULE_44__["LinkedinLinkValidatorDirective"], _user_defined_directives_instagram_link_validator_directive__WEBPACK_IMPORTED_MODULE_45__["InstagramLinkValidatorDirective"], _user_defined_directives_facebook_link_validator_directive__WEBPACK_IMPORTED_MODULE_46__["FacebookLinkValidatorDirective"], _user_define_pipe_ssn_mask_pipe__WEBPACK_IMPORTED_MODULE_47__["SsnMaskPipe"], _user_define_pipe_input_effort_grades_ng_for_div_filter_pipe__WEBPACK_IMPORTED_MODULE_48__["InputEffortGradesNgForDivFilterPipe"], _user_defined_directives_custom_min_directive__WEBPACK_IMPORTED_MODULE_49__["CustomMinDirective"], _user_define_pipe_password_mask_pipe__WEBPACK_IMPORTED_MODULE_50__["PasswordMaskPipe"], _directives_animated_checkbox_directive__WEBPACK_IMPORTED_MODULE_51__["AnimatedCheckboxDirective"], _user_define_pipe_mental_health_filter_pipe__WEBPACK_IMPORTED_MODULE_52__["MentalHealthFilterPipe"], _compose_message_compose_message_component__WEBPACK_IMPORTED_MODULE_53__["ComposeMessageComponent"], _compose_message_student_parent_compose_message_student_parent_component__WEBPACK_IMPORTED_MODULE_62__["ComposeMessageStudentParentComponent"], _student_identification_student_identification_component__WEBPACK_IMPORTED_MODULE_64__["StudentIdentificationComponent"], _user_defined_directives_custom_max_length_directive__WEBPACK_IMPORTED_MODULE_66__["CustomMaxLengthDirective"], _user_define_pipe_empty_html_value_check_pipe__WEBPACK_IMPORTED_MODULE_68__["EmptyHtmlValueCheckPipe"], _user_define_pipe_user_name_format_pipe__WEBPACK_IMPORTED_MODULE_69__["UserNameFormatPipe"], _user_define_pipe_user_preferred_name_format_pipe__WEBPACK_IMPORTED_MODULE_70__["UserPreferredNameFormatPipe"]] }); })();
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SharedModuleModule, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
                declarations: [_mat_spinner_overlay_mat_spinner_overlay_component__WEBPACK_IMPORTED_MODULE_2__["MatSpinnerOverlayComponent"], _profile_image_profile_image_component__WEBPACK_IMPORTED_MODULE_4__["ProfileImageComponent"], _directives_phone_mask_directive__WEBPACK_IMPORTED_MODULE_11__["PhoneMaskDirective"], _user_define_pipe_emty_boolean_check_pipe__WEBPACK_IMPORTED_MODULE_12__["EmtyBooleanCheckPipe"], _user_define_pipe_emty_boolean_check_reverse_pipe__WEBPACK_IMPORTED_MODULE_19__["EmtyBooleanCheckReversePipe"],
                    _user_define_pipe_emty_value_check_pipe__WEBPACK_IMPORTED_MODULE_13__["EmtyValueCheckPipe"], _user_define_pipe_emty_number_check_pipe__WEBPACK_IMPORTED_MODULE_14__["EmtyNumberCheckPipe"], _confirm_dialog_confirm_dialog_component__WEBPACK_IMPORTED_MODULE_15__["ConfirmDialogComponent"], _user_defined_directives_invalid_control_scroll_directive__WEBPACK_IMPORTED_MODULE_18__["InvalidControlScrollDirective"], _user_define_pipe_transform_datetime_pipe__WEBPACK_IMPORTED_MODULE_21__["TransformDateTimePipe"], _user_define_pipe_transfrom_time_pipe__WEBPACK_IMPORTED_MODULE_25__["TransformTimePipe"], _user_defined_directives_emailvalidator_directive__WEBPACK_IMPORTED_MODULE_22__["EmailvalidatorDirective"],
                    _user_defined_directives_phonevalidator_directive__WEBPACK_IMPORTED_MODULE_23__["PhonevalidatorDirective"], _user_define_pipe_safeHtml_pipe__WEBPACK_IMPORTED_MODULE_20__["SafePipe"], _user_define_pipe_age_calculator_pipe__WEBPACK_IMPORTED_MODULE_24__["AgePipe"], _user_define_pipe_even_odd_pipe__WEBPACK_IMPORTED_MODULE_26__["EvenOddPipe"], _user_define_pipe_number_to_week_day_pipe__WEBPACK_IMPORTED_MODULE_27__["WeekDayPipe"], _user_define_pipe_course_section_ngFor_div_filter_pipe__WEBPACK_IMPORTED_MODULE_28__["NgForFilterPipe"], _user_define_pipe_transform_24to12_pipe__WEBPACK_IMPORTED_MODULE_29__["Transform24to12Pipe"], _user_define_pipe_course_ngFor_div_filter_pipe__WEBPACK_IMPORTED_MODULE_30__["CourseNgForFilterPipe"], _user_define_pipe_course_request_filter_pipe__WEBPACK_IMPORTED_MODULE_71__["CourseRequestFilterPipe"], _user_define_pipe_course_catalog_filter_pipe__WEBPACK_IMPORTED_MODULE_72__["CourseCatalogFilterPipe"], _user_define_pipe_system_category_check_pipe__WEBPACK_IMPORTED_MODULE_31__["SystemCategoryCheckPipe"], _reset_password_reset_password_component__WEBPACK_IMPORTED_MODULE_32__["ResetPasswordComponent"],
                    _data_edit_info_data_edit_info_component__WEBPACK_IMPORTED_MODULE_39__["DataEditInfoComponent"],
                    _user_defined_directives_youtube_link_validator_directive__WEBPACK_IMPORTED_MODULE_41__["youtubeLinkValidatorDirective"],
                    _user_defined_directives_twitter_link_validator_directive__WEBPACK_IMPORTED_MODULE_42__["TwitterLinkValidatorDirective"],
                    _user_defined_directives_website_link_validator_directive__WEBPACK_IMPORTED_MODULE_43__["WebsiteLinkValidatorDirective"],
                    _user_defined_directives_linkedin_link_validator_directive__WEBPACK_IMPORTED_MODULE_44__["LinkedinLinkValidatorDirective"],
                    _user_defined_directives_instagram_link_validator_directive__WEBPACK_IMPORTED_MODULE_45__["InstagramLinkValidatorDirective"],
                    _user_defined_directives_facebook_link_validator_directive__WEBPACK_IMPORTED_MODULE_46__["FacebookLinkValidatorDirective"],
                    _user_define_pipe_ssn_mask_pipe__WEBPACK_IMPORTED_MODULE_47__["SsnMaskPipe"],
                    _user_define_pipe_input_effort_grades_ng_for_div_filter_pipe__WEBPACK_IMPORTED_MODULE_48__["InputEffortGradesNgForDivFilterPipe"],
                    _user_defined_directives_custom_min_directive__WEBPACK_IMPORTED_MODULE_49__["CustomMinDirective"],
                    _user_define_pipe_password_mask_pipe__WEBPACK_IMPORTED_MODULE_50__["PasswordMaskPipe"], _directives_animated_checkbox_directive__WEBPACK_IMPORTED_MODULE_51__["AnimatedCheckboxDirective"], _user_define_pipe_mental_health_filter_pipe__WEBPACK_IMPORTED_MODULE_52__["MentalHealthFilterPipe"], _compose_message_compose_message_component__WEBPACK_IMPORTED_MODULE_53__["ComposeMessageComponent"], _compose_message_search_details_search_details_component__WEBPACK_IMPORTED_MODULE_54__["SearchDetailsComponent"], _compose_message_student_parent_compose_message_student_parent_component__WEBPACK_IMPORTED_MODULE_62__["ComposeMessageStudentParentComponent"], _student_identification_student_identification_component__WEBPACK_IMPORTED_MODULE_64__["StudentIdentificationComponent"], _user_defined_directives_custom_max_length_directive__WEBPACK_IMPORTED_MODULE_66__["CustomMaxLengthDirective"], _activity_details_activity_details_component__WEBPACK_IMPORTED_MODULE_67__["ActivityDetailsComponent"], _user_define_pipe_empty_html_value_check_pipe__WEBPACK_IMPORTED_MODULE_68__["EmptyHtmlValueCheckPipe"], _user_define_pipe_user_name_format_pipe__WEBPACK_IMPORTED_MODULE_69__["UserNameFormatPipe"], _user_define_pipe_user_preferred_name_format_pipe__WEBPACK_IMPORTED_MODULE_70__["UserPreferredNameFormatPipe"]],
                imports: [
                    _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                    _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_3__["MatProgressSpinnerModule"],
                    ngx_image_cropper__WEBPACK_IMPORTED_MODULE_5__["ImageCropperModule"],
                    _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__["MatSnackBarModule"],
                    _angular_material_dialog__WEBPACK_IMPORTED_MODULE_7__["MatDialogModule"],
                    _angular_material_button__WEBPACK_IMPORTED_MODULE_8__["MatButtonModule"],
                    _angular_material_icon__WEBPACK_IMPORTED_MODULE_9__["MatIconModule"],
                    _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_10__["IconModule"],
                    _angular_material_card__WEBPACK_IMPORTED_MODULE_16__["MatCardModule"],
                    _ngx_translate_core__WEBPACK_IMPORTED_MODULE_17__["TranslateModule"],
                    _angular_material_form_field__WEBPACK_IMPORTED_MODULE_33__["MatFormFieldModule"],
                    _angular_material_input__WEBPACK_IMPORTED_MODULE_34__["MatInputModule"],
                    _angular_flex_layout__WEBPACK_IMPORTED_MODULE_36__["FlexLayoutModule"],
                    _angular_forms__WEBPACK_IMPORTED_MODULE_37__["ReactiveFormsModule"],
                    _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_35__["MatTooltipModule"],
                    _angular_material_divider__WEBPACK_IMPORTED_MODULE_40__["MatDividerModule"],
                    _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_60__["MatSlideToggleModule"],
                    _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_61__["MatCheckboxModule"],
                    _angular_forms__WEBPACK_IMPORTED_MODULE_37__["FormsModule"],
                    _angular_material_radio__WEBPACK_IMPORTED_MODULE_55__["MatRadioModule"],
                    _angular_material_select__WEBPACK_IMPORTED_MODULE_56__["MatSelectModule"],
                    _angular_material_chips__WEBPACK_IMPORTED_MODULE_57__["MatChipsModule"],
                    ngx_dropzone__WEBPACK_IMPORTED_MODULE_58__["NgxDropzoneModule"],
                    _angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_63__["MatAutocompleteModule"],
                    _angular_material_menu__WEBPACK_IMPORTED_MODULE_65__["MatMenuModule"],
                    ngx_quill__WEBPACK_IMPORTED_MODULE_59__["QuillModule"].forRoot({
                        modules: {
                            toolbar: [
                                ['bold', 'italic', 'underline', 'strike'],
                                ['blockquote', 'code-block'],
                                [{ header: 1 }, { header: 2 }],
                                [{ list: 'ordered' }, { list: 'bullet' }],
                                [{ script: 'sub' }, { script: 'super' }],
                                [{ indent: '-1' }, { indent: '+1' }],
                                [{ direction: 'rtl' }],
                                [{ size: ['small', false, 'large', 'huge'] }],
                                [{ header: [1, 2, 3, 4, 5, 6, false] }],
                                [{ color: [] }, { background: [] }],
                                [{ align: [] }],
                                ['clean'],
                                ['link', 'image', 'video'] // link and image, video
                            ]
                        }
                    })
                ],
                exports: [_mat_spinner_overlay_mat_spinner_overlay_component__WEBPACK_IMPORTED_MODULE_2__["MatSpinnerOverlayComponent"], _profile_image_profile_image_component__WEBPACK_IMPORTED_MODULE_4__["ProfileImageComponent"], _directives_phone_mask_directive__WEBPACK_IMPORTED_MODULE_11__["PhoneMaskDirective"], _user_define_pipe_emty_boolean_check_pipe__WEBPACK_IMPORTED_MODULE_12__["EmtyBooleanCheckPipe"], _user_define_pipe_emty_value_check_pipe__WEBPACK_IMPORTED_MODULE_13__["EmtyValueCheckPipe"], _user_define_pipe_emty_number_check_pipe__WEBPACK_IMPORTED_MODULE_14__["EmtyNumberCheckPipe"], _user_defined_directives_invalid_control_scroll_directive__WEBPACK_IMPORTED_MODULE_18__["InvalidControlScrollDirective"],
                    _user_define_pipe_emty_boolean_check_reverse_pipe__WEBPACK_IMPORTED_MODULE_19__["EmtyBooleanCheckReversePipe"], _user_define_pipe_transform_datetime_pipe__WEBPACK_IMPORTED_MODULE_21__["TransformDateTimePipe"], _user_define_pipe_transfrom_time_pipe__WEBPACK_IMPORTED_MODULE_25__["TransformTimePipe"], _user_defined_directives_emailvalidator_directive__WEBPACK_IMPORTED_MODULE_22__["EmailvalidatorDirective"], _user_defined_directives_phonevalidator_directive__WEBPACK_IMPORTED_MODULE_23__["PhonevalidatorDirective"], _user_define_pipe_safeHtml_pipe__WEBPACK_IMPORTED_MODULE_20__["SafePipe"], _user_define_pipe_age_calculator_pipe__WEBPACK_IMPORTED_MODULE_24__["AgePipe"], _user_define_pipe_even_odd_pipe__WEBPACK_IMPORTED_MODULE_26__["EvenOddPipe"], _user_define_pipe_number_to_week_day_pipe__WEBPACK_IMPORTED_MODULE_27__["WeekDayPipe"], _user_define_pipe_course_section_ngFor_div_filter_pipe__WEBPACK_IMPORTED_MODULE_28__["NgForFilterPipe"], _user_define_pipe_transform_24to12_pipe__WEBPACK_IMPORTED_MODULE_29__["Transform24to12Pipe"], _user_define_pipe_course_ngFor_div_filter_pipe__WEBPACK_IMPORTED_MODULE_30__["CourseNgForFilterPipe"], _user_define_pipe_course_request_filter_pipe__WEBPACK_IMPORTED_MODULE_71__["CourseRequestFilterPipe"], _user_define_pipe_course_catalog_filter_pipe__WEBPACK_IMPORTED_MODULE_72__["CourseCatalogFilterPipe"], _user_define_pipe_system_category_check_pipe__WEBPACK_IMPORTED_MODULE_31__["SystemCategoryCheckPipe"],
                    _user_defined_directives_youtube_link_validator_directive__WEBPACK_IMPORTED_MODULE_41__["youtubeLinkValidatorDirective"], _user_defined_directives_twitter_link_validator_directive__WEBPACK_IMPORTED_MODULE_42__["TwitterLinkValidatorDirective"], _user_defined_directives_website_link_validator_directive__WEBPACK_IMPORTED_MODULE_43__["WebsiteLinkValidatorDirective"], _user_defined_directives_linkedin_link_validator_directive__WEBPACK_IMPORTED_MODULE_44__["LinkedinLinkValidatorDirective"], _user_defined_directives_instagram_link_validator_directive__WEBPACK_IMPORTED_MODULE_45__["InstagramLinkValidatorDirective"], _user_defined_directives_facebook_link_validator_directive__WEBPACK_IMPORTED_MODULE_46__["FacebookLinkValidatorDirective"], _user_define_pipe_ssn_mask_pipe__WEBPACK_IMPORTED_MODULE_47__["SsnMaskPipe"], _user_define_pipe_input_effort_grades_ng_for_div_filter_pipe__WEBPACK_IMPORTED_MODULE_48__["InputEffortGradesNgForDivFilterPipe"], _user_defined_directives_custom_min_directive__WEBPACK_IMPORTED_MODULE_49__["CustomMinDirective"], _user_define_pipe_password_mask_pipe__WEBPACK_IMPORTED_MODULE_50__["PasswordMaskPipe"], _directives_animated_checkbox_directive__WEBPACK_IMPORTED_MODULE_51__["AnimatedCheckboxDirective"], _user_define_pipe_mental_health_filter_pipe__WEBPACK_IMPORTED_MODULE_52__["MentalHealthFilterPipe"], _compose_message_compose_message_component__WEBPACK_IMPORTED_MODULE_53__["ComposeMessageComponent"], _compose_message_student_parent_compose_message_student_parent_component__WEBPACK_IMPORTED_MODULE_62__["ComposeMessageStudentParentComponent"], _student_identification_student_identification_component__WEBPACK_IMPORTED_MODULE_64__["StudentIdentificationComponent"], _user_defined_directives_custom_max_length_directive__WEBPACK_IMPORTED_MODULE_66__["CustomMaxLengthDirective"], _user_define_pipe_empty_html_value_check_pipe__WEBPACK_IMPORTED_MODULE_68__["EmptyHtmlValueCheckPipe"], _user_define_pipe_user_name_format_pipe__WEBPACK_IMPORTED_MODULE_69__["UserNameFormatPipe"], _user_define_pipe_user_preferred_name_format_pipe__WEBPACK_IMPORTED_MODULE_70__["UserPreferredNameFormatPipe"]],
                providers: [ngx_image_compress__WEBPACK_IMPORTED_MODULE_38__["NgxImageCompressService"]]
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/student-identification/student-identification.component.ts":
/*!************************************************************************************************!*\
  !*** ./src/app/pages/shared-module/student-identification/student-identification.component.ts ***!
  \************************************************************************************************/
/*! exports provided: StudentIdentificationComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentIdentificationComponent", function() { return StudentIdentificationComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @iconify/icons-ic/close */ "./node_modules/@iconify/icons-ic/close.js");
/* harmony import */ var _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var _models_roll_based_access_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../models/roll-based-access.model */ "./src/app/models/roll-based-access.model.ts");
/* harmony import */ var _enums_module_identifier_enum__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../enums/module-identifier.enum */ "./src/app/enums/module-identifier.enum.ts");
/* harmony import */ var _enums_school_create_enum__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../enums/school-create.enum */ "./src/app/enums/school-create.enum.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var src_app_services_student_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/app/services/student.service */ "./src/app/services/student.service.ts");
/* harmony import */ var _services_image_cropper_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../services/image-cropper.service */ "./src/app/services/image-cropper.service.ts");
/* harmony import */ var _common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../common/page-roles-permissions.service */ "./src/app/common/page-roles-permissions.service.ts");
/* harmony import */ var _services_roll_based_access_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../services/roll-based-access.service */ "./src/app/services/roll-based-access.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/material/tooltip */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/tooltip.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");




















class StudentIdentificationComponent {
    constructor(studentMasterData, dialogRef, router, translateService, defaultService, studentService, imageCropperService, pageRolePermissions, rollBasedAccessService, snackbar) {
        this.studentMasterData = studentMasterData;
        this.dialogRef = dialogRef;
        this.router = router;
        this.translateService = translateService;
        this.defaultService = defaultService;
        this.studentService = studentService;
        this.imageCropperService = imageCropperService;
        this.pageRolePermissions = pageRolePermissions;
        this.rollBasedAccessService = rollBasedAccessService;
        this.snackbar = snackbar;
        this.icClose = _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_1___default.a;
        this.studentInfo = {};
        this.hasProfileImg = false;
        this.moduleIdentifier = _enums_module_identifier_enum__WEBPACK_IMPORTED_MODULE_4__["ModuleIdentifier"];
        this.createMode = _enums_school_create_enum__WEBPACK_IMPORTED_MODULE_5__["SchoolCreate"];
        this.profileImg = 'assets/img/profilePic.jpg';
    }
    ngOnInit() {
        this.studentInfo = this.studentMasterData.studentData;
        if (this.studentMasterData.studentData.studentMaster.studentPhoto !== null) {
            this.hasProfileImg = true;
            this.studentService.setStudentCloneImage(this.studentMasterData.studentData.studentMaster.studentPhoto);
            this.profileImg = this.studentService.getStudentCloneImage();
        }
    }
    showStudentDetails(element) {
        this.imageCropperService.enableUpload({ module: this.moduleIdentifier.STUDENT, upload: true, mode: this.createMode.VIEW });
        this.studentService.setStudentId(element.studentMaster.studentId);
        this.defaultService.setSchoolID(element.studentMaster.schoolId, true);
        this.getPermissionForStudent();
    }
    getPermissionForStudent() {
        let rolePermissionListView = new _models_roll_based_access_model__WEBPACK_IMPORTED_MODULE_3__["RolePermissionListViewModel"]();
        this.rollBasedAccessService.getAllRolePermission(rolePermissionListView).subscribe((res) => {
            if (res._failure) {
            }
            else {
                let permittedDetails = this.pageRolePermissions.getPermittedSubCategories('/school/students', res);
                if (permittedDetails.length) {
                    this.studentService.setCategoryId(0);
                    this.studentService.setCategoryTitle(permittedDetails[0].title);
                    // this.router.navigate([permittedDetails[0].path], {state: {type: 2}});
                    this.router.navigate([permittedDetails[0].path], { state: { permissions: res, type: _enums_school_create_enum__WEBPACK_IMPORTED_MODULE_5__["SchoolCreate"].VIEW } });
                    this.dialogRef.close();
                }
                else {
                    this.defaultService.setSchoolID(undefined);
                    this.snackbar.open('Student did not have permission to view details.', '', {
                        duration: 10000
                    });
                }
            }
        });
    }
}
StudentIdentificationComponent.ɵfac = function StudentIdentificationComponent_Factory(t) { return new (t || StudentIdentificationComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MAT_DIALOG_DATA"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MatDialogRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_6__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_8__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_student_service__WEBPACK_IMPORTED_MODULE_9__["StudentService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_image_cropper_service__WEBPACK_IMPORTED_MODULE_10__["ImageCropperService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_11__["PageRolesPermission"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_roll_based_access_service__WEBPACK_IMPORTED_MODULE_12__["RollBasedAccessService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_13__["MatSnackBar"])); };
StudentIdentificationComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: StudentIdentificationComponent, selectors: [["vex-student-identification"]], decls: 58, vars: 40, consts: [["mat-dialog-title", "", 1, "flex", "flex-col", "-mx-6", "-mt-6", "mb-0", "text-white", "relative", "border-green", "border-b-8"], [1, "profile-pic"], [1, "rounded-full", "overflow-hidden", "border-4", "border-white"], ["alt", "Profile Photo", 1, "rounded-full", "w-full", 3, "src"], [1, "bg-primary", "profile-info-highlight", "rounded-tl", "rounded-tr"], [1, "flex", "justify-end", "items-center"], [1, "cursor-pointer", "mr-2", 3, "matTooltip", "click"], [1, "align-middle", "text-white", "opacity-75", "text-lg", "font-medium", "w-auto", "h-auto"], ["mat-dialog-close", "", "mat-icon-button", "", "type", "button", 1, "text-white", "opacity-75", 3, "matTooltip"], [3, "icIcon"], [1, "text-center", "pt-12"], [1, "text-2xl", "font-semibold"], [1, "bg-green", "rounded-full", "text-sm", "px-2", "inline-block", "font-medium", "leading-relaxed", "my-2"], [1, "text-sm", "pb-4"], [1, "student-idetification-details", "pt-6", "rounded-bl", "rounded-br"], [1, "flex", "justify-between", "mb-6"], [1, "text-gray", "text-base"], [1, "text-base"]], template: function StudentIdentificationComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "img", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function StudentIdentificationComponent_Template_div_click_6_listener() { return ctx.showStudentDetails(ctx.studentInfo); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "mat-icon", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9, "open_in_new ");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "button", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](11, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](12, "mat-icon", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "div", 10);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "h4", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "div", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](17);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](18, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](19, "p", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](20);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "mat-dialog-content", 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "div", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "label", 16);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](24);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](25, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](26, "p", 17);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](27);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](28, "div", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "label", 16);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](30);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](31, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](32, "p", 17);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](33);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](34, "div", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](35, "label", 16);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](36);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](37, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](38, "p", 17);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](39);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](40, "div", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](41, "label", 16);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](42);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](43, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](44, "p", 17);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](45);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](46, "div", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](47, "label", 16);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](48);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](49, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](50, "p", 17);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](51);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](52, "div", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](53, "label", 16);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](54);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](55, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](56, "p", 17);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](57);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", ctx.hasProfileImg ? "data:image/jpeg;base64," + ctx.profileImg : ctx.profileImg, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("matTooltip", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 22, "showStudentDetails"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("matTooltip", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](11, 24, "close"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icClose);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate3"]("", ctx.studentInfo.studentMaster.firstGivenName, "", ctx.studentInfo.studentMaster.middleName != null ? " " + ctx.studentInfo.studentMaster.middleName : "", "", " " + ctx.studentInfo.studentMaster.lastFamilyName, "");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](18, 26, "gradeLevel"), " : ", ctx.studentInfo == null ? null : ctx.studentInfo.currentGradeLevel, " ");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.studentInfo == null ? null : ctx.studentInfo.loginEmail);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](25, 28, "school"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.defaultService.getSchoolName());
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](31, 30, "studentId"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.studentInfo.studentMaster.studentId);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](37, 32, "alternateId"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.studentInfo.studentMaster.alternateId == null ? "" : ctx.studentInfo.studentMaster.alternateId);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](43, 34, "rollNumber"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.studentInfo.studentMaster.rollNumber == null ? "" : ctx.studentInfo.studentMaster.rollNumber);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](49, 36, "section"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.studentInfo.studentMaster.sections == null ? "" : ctx.studentInfo.studentMaster.sections.name);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](55, 38, "phone"));
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.studentInfo.studentMaster.homePhone == null ? "" : ctx.studentInfo.studentMaster.homePhone);
    } }, directives: [_angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MatDialogTitle"], _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_14__["MatTooltip"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_15__["MatIcon"], _angular_material_button__WEBPACK_IMPORTED_MODULE_16__["MatButton"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MatDialogClose"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_17__["IconDirective"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MatDialogContent"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslatePipe"]], styles: [".identity-wrapper .mat-dialog-container {\n  background: transparent;\n  box-shadow: none;\n}\n\n.identity-wrapper .mat-dialog-container .profile-pic {\n  height: 100px;\n}\n\n.identity-wrapper .mat-dialog-container .profile-pic div {\n  width: 150px;\n  height: 150px;\n  position: absolute;\n  left: calc(50% - 75px);\n  bottom: calc(68% - 75px);\n}\n\n.identity-wrapper .mat-dialog-container .profile-info-highlight {\n  background: rgb(var(--color-primary)) url('blue-bg.jpg') no-repeat;\n  background-size: cover;\n}\n\n.identity-wrapper .mat-dialog-container .mat-dialog-content.student-idetification-details {\n  background: #fff;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvc2hhcmVkLW1vZHVsZS9zdHVkZW50LWlkZW50aWZpY2F0aW9uL3N0dWRlbnQtaWRlbnRpZmljYXRpb24uY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSx1QkFBQTtFQUNBLGdCQUFBO0FBQ0Y7O0FBRUE7RUFDRSxhQUFBO0FBQ0Y7O0FBRUE7RUFDRSxZQUFBO0VBQ0EsYUFBQTtFQUNBLGtCQUFBO0VBQ0Esc0JBQUE7RUFDQSx3QkFBQTtBQUNGOztBQUVBO0VBQ0Usa0VBQUE7RUFDQSxzQkFBQTtBQUNGOztBQUVBO0VBQ0UsZ0JBQUE7QUFDRiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL3NoYXJlZC1tb2R1bGUvc3R1ZGVudC1pZGVudGlmaWNhdGlvbi9zdHVkZW50LWlkZW50aWZpY2F0aW9uLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmlkZW50aXR5LXdyYXBwZXIgLm1hdC1kaWFsb2ctY29udGFpbmVyIHtcbiAgYmFja2dyb3VuZDogdHJhbnNwYXJlbnQ7XG4gIGJveC1zaGFkb3c6IG5vbmU7XG59XG5cbi5pZGVudGl0eS13cmFwcGVyIC5tYXQtZGlhbG9nLWNvbnRhaW5lciAucHJvZmlsZS1waWMge1xuICBoZWlnaHQ6IDEwMHB4O1xufVxuXG4uaWRlbnRpdHktd3JhcHBlciAubWF0LWRpYWxvZy1jb250YWluZXIgLnByb2ZpbGUtcGljIGRpdiB7XG4gIHdpZHRoOiAxNTBweDtcbiAgaGVpZ2h0OiAxNTBweDtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICBsZWZ0OiBjYWxjKDUwJSAtIDc1cHgpO1xuICBib3R0b206IGNhbGMoNjglIC0gNzVweCk7XG59XG5cbi5pZGVudGl0eS13cmFwcGVyIC5tYXQtZGlhbG9nLWNvbnRhaW5lciAucHJvZmlsZS1pbmZvLWhpZ2hsaWdodCB7XG4gIGJhY2tncm91bmQ6IHJnYih2YXIoLS1jb2xvci1wcmltYXJ5KSkgdXJsKC4uLy4uLy4uLy4uL2Fzc2V0cy9pbWcvYmx1ZS1iZy5qcGcpIG5vLXJlcGVhdDtcbiAgYmFja2dyb3VuZC1zaXplOiBjb3Zlcjtcbn1cblxuLmlkZW50aXR5LXdyYXBwZXIgLm1hdC1kaWFsb2ctY29udGFpbmVyIC5tYXQtZGlhbG9nLWNvbnRlbnQuc3R1ZGVudC1pZGV0aWZpY2F0aW9uLWRldGFpbHMge1xuICBiYWNrZ3JvdW5kOiAjZmZmO1xufSJdfQ== */"], encapsulation: 2 });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](StudentIdentificationComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-student-identification',
                templateUrl: './student-identification.component.html',
                styleUrls: ['./student-identification.component.scss'],
                encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            }]
    }], function () { return [{ type: undefined, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
                args: [_angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MAT_DIALOG_DATA"]]
            }] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MatDialogRef"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_6__["Router"] }, { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateService"] }, { type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_8__["DefaultValuesService"] }, { type: src_app_services_student_service__WEBPACK_IMPORTED_MODULE_9__["StudentService"] }, { type: _services_image_cropper_service__WEBPACK_IMPORTED_MODULE_10__["ImageCropperService"] }, { type: _common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_11__["PageRolesPermission"] }, { type: _services_roll_based_access_service__WEBPACK_IMPORTED_MODULE_12__["RollBasedAccessService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_13__["MatSnackBar"] }]; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/age-calculator.pipe.ts":
/*!*****************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/age-calculator.pipe.ts ***!
  \*****************************************************************************/
/*! exports provided: AgePipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AgePipe", function() { return AgePipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__);



class AgePipe {
    transform(value) {
        if (value != null) {
            let dob = new Date(value);
            if (!dob)
                return dob;
            return moment__WEBPACK_IMPORTED_MODULE_1__().diff(dob, 'years') + " Years";
        }
        else {
            return "0 Years";
        }
    }
}
AgePipe.ɵfac = function AgePipe_Factory(t) { return new (t || AgePipe)(); };
AgePipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "age", type: AgePipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AgePipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'age'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/course-catalog-filter.pipe.ts":
/*!************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/course-catalog-filter.pipe.ts ***!
  \************************************************************************************/
/*! exports provided: CourseCatalogFilterPipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CourseCatalogFilterPipe", function() { return CourseCatalogFilterPipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class CourseCatalogFilterPipe {
    transform(value, searchTerm, filterFlag) {
        var _a;
        if ((value === null || value === void 0 ? void 0 : value.length) === 0) {
            return value;
        }
        if (searchTerm) {
            if (filterFlag) {
                return (_a = value === null || value === void 0 ? void 0 : value.map(item => {
                    var _a;
                    return Object.assign(Object.assign({}, item), { getCourseSectionForView: (_a = item === null || item === void 0 ? void 0 : item.getCourseSectionForView) === null || _a === void 0 ? void 0 : _a.filter(subItem => {
                            var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
                            return ((_c = (_b = (_a = subItem === null || subItem === void 0 ? void 0 : subItem.courseSection) === null || _a === void 0 ? void 0 : _a.courseSectionName) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === null || _c === void 0 ? void 0 : _c.includes(searchTerm.toLowerCase())) || ((_f = (_e = (_d = subItem === null || subItem === void 0 ? void 0 : subItem.courseFixedSchedule) === null || _d === void 0 ? void 0 : _d.blockPeriod) === null || _e === void 0 ? void 0 : _e.periodTitle) === null || _f === void 0 ? void 0 : _f.toLowerCase().includes(searchTerm.toLowerCase())) || ((_g = subItem === null || subItem === void 0 ? void 0 : subItem.courseCalendarSchedule) === null || _g === void 0 ? void 0 : _g.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.blockPeriod) === null || _a === void 0 ? void 0 : _a.periodTitle) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); })) || ((_h = subItem === null || subItem === void 0 ? void 0 : subItem.courseBlockSchedule) === null || _h === void 0 ? void 0 : _h.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.blockPeriod) === null || _a === void 0 ? void 0 : _a.periodTitle) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); })) || ((_j = subItem === null || subItem === void 0 ? void 0 : subItem.courseVariableSchedule) === null || _j === void 0 ? void 0 : _j.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.blockPeriod) === null || _a === void 0 ? void 0 : _a.periodTitle) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); })) || ((_m = (_l = (_k = subItem === null || subItem === void 0 ? void 0 : subItem.courseFixedSchedule) === null || _k === void 0 ? void 0 : _k.rooms) === null || _l === void 0 ? void 0 : _l.title) === null || _m === void 0 ? void 0 : _m.toLowerCase().includes(searchTerm.toLowerCase())) || ((_o = subItem === null || subItem === void 0 ? void 0 : subItem.courseCalendarSchedule) === null || _o === void 0 ? void 0 : _o.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.rooms) === null || _a === void 0 ? void 0 : _a.title) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); })) || ((_p = subItem === null || subItem === void 0 ? void 0 : subItem.courseBlockSchedule) === null || _p === void 0 ? void 0 : _p.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.rooms) === null || _a === void 0 ? void 0 : _a.title) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); })) || ((_q = subItem === null || subItem === void 0 ? void 0 : subItem.courseVariableSchedule) === null || _q === void 0 ? void 0 : _q.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.rooms) === null || _a === void 0 ? void 0 : _a.title) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); }));
                        }) });
                })) === null || _a === void 0 ? void 0 : _a.filter(item => {
                    var _a, _b, _c, _d;
                    return ((_a = item.courseTitle) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(searchTerm.toLowerCase())) || ((_b = item.courseSubject) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase())) || ((_c = item.courseProgram) === null || _c === void 0 ? void 0 : _c.toLowerCase().includes(searchTerm.toLowerCase())) ||
                        ((_d = item === null || item === void 0 ? void 0 : item.getCourseSectionForView) === null || _d === void 0 ? void 0 : _d.length) > 0;
                });
            }
            else {
                return value === null || value === void 0 ? void 0 : value.filter(subItem => {
                    var _a, _b, _c, _d, _e, _f, _g, _h;
                    return ((_b = (_a = subItem === null || subItem === void 0 ? void 0 : subItem.courseSection) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === null || _b === void 0 ? void 0 : _b.includes(searchTerm.toLowerCase())) || ((_d = (_c = subItem === null || subItem === void 0 ? void 0 : subItem.period) === null || _c === void 0 ? void 0 : _c.toLowerCase()) === null || _d === void 0 ? void 0 : _d.includes(searchTerm.toLowerCase())) || ((_f = (_e = subItem === null || subItem === void 0 ? void 0 : subItem.room) === null || _e === void 0 ? void 0 : _e.toLowerCase()) === null || _f === void 0 ? void 0 : _f.includes(searchTerm.toLowerCase())) || ((_g = subItem === null || subItem === void 0 ? void 0 : subItem.scheduleDetails) === null || _g === void 0 ? void 0 : _g.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.period) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === null || _b === void 0 ? void 0 : _b.includes(searchTerm.toLowerCase()); })) || ((_h = subItem === null || subItem === void 0 ? void 0 : subItem.scheduleDetails) === null || _h === void 0 ? void 0 : _h.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.room) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === null || _b === void 0 ? void 0 : _b.includes(searchTerm.toLowerCase()); }));
                });
            }
        }
        else {
            return value;
        }
    }
}
CourseCatalogFilterPipe.ɵfac = function CourseCatalogFilterPipe_Factory(t) { return new (t || CourseCatalogFilterPipe)(); };
CourseCatalogFilterPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "courseCatalogFilter", type: CourseCatalogFilterPipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CourseCatalogFilterPipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'courseCatalogFilter'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/course-ngFor-div-filter.pipe.ts":
/*!**************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/course-ngFor-div-filter.pipe.ts ***!
  \**************************************************************************************/
/*! exports provided: CourseNgForFilterPipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CourseNgForFilterPipe", function() { return CourseNgForFilterPipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class CourseNgForFilterPipe {
    transform(value, searchTerm, filterFlag) {
        if ((value === null || value === void 0 ? void 0 : value.length) === 0) {
            return value;
        }
        if (searchTerm) {
            return value.filter((term) => {
                var _a, _b, _c, _d, _e, _f;
                if (filterFlag) {
                    return ((_a = term.courseTitle) === null || _a === void 0 ? void 0 : _a.toLowerCase().indexOf(searchTerm.toLowerCase())) > -1
                        || ((_b = term.courseSubject) === null || _b === void 0 ? void 0 : _b.toLowerCase().indexOf(searchTerm.toLowerCase())) > -1
                        || ((_c = term.courseProgram) === null || _c === void 0 ? void 0 : _c.toLowerCase().indexOf(searchTerm.toLowerCase())) > -1;
                }
                else {
                    return ((_d = term.course.courseTitle) === null || _d === void 0 ? void 0 : _d.toLowerCase().indexOf(searchTerm.toLowerCase())) > -1
                        || ((_e = term.course.courseSubject) === null || _e === void 0 ? void 0 : _e.toLowerCase().indexOf(searchTerm.toLowerCase())) > -1
                        || ((_f = term.course.courseProgram) === null || _f === void 0 ? void 0 : _f.toLowerCase().indexOf(searchTerm.toLowerCase())) > -1;
                }
            });
        }
        else {
            return value;
        }
    }
}
CourseNgForFilterPipe.ɵfac = function CourseNgForFilterPipe_Factory(t) { return new (t || CourseNgForFilterPipe)(); };
CourseNgForFilterPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "courseFilter", type: CourseNgForFilterPipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CourseNgForFilterPipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'courseFilter'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/course-request-filter.pipe.ts":
/*!************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/course-request-filter.pipe.ts ***!
  \************************************************************************************/
/*! exports provided: CourseRequestFilterPipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CourseRequestFilterPipe", function() { return CourseRequestFilterPipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class CourseRequestFilterPipe {
    transform(value, searchTerm, filterFlag) {
        var _a;
        if ((value === null || value === void 0 ? void 0 : value.length) === 0) {
            return value;
        }
        if (searchTerm) {
            if (filterFlag) {
                return (_a = value === null || value === void 0 ? void 0 : value.map(item => {
                    var _a;
                    return Object.assign(Object.assign({}, item), { getCourseSectionForView: (_a = item === null || item === void 0 ? void 0 : item.getCourseSectionForView) === null || _a === void 0 ? void 0 : _a.filter(subItem => {
                            var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
                            return ((_c = (_b = (_a = subItem === null || subItem === void 0 ? void 0 : subItem.courseSection) === null || _a === void 0 ? void 0 : _a.courseSectionName) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === null || _c === void 0 ? void 0 : _c.includes(searchTerm.toLowerCase())) || ((_f = (_e = (_d = subItem === null || subItem === void 0 ? void 0 : subItem.courseFixedSchedule) === null || _d === void 0 ? void 0 : _d.blockPeriod) === null || _e === void 0 ? void 0 : _e.periodTitle) === null || _f === void 0 ? void 0 : _f.toLowerCase().includes(searchTerm.toLowerCase())) || ((_g = subItem === null || subItem === void 0 ? void 0 : subItem.courseCalendarSchedule) === null || _g === void 0 ? void 0 : _g.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.blockPeriod) === null || _a === void 0 ? void 0 : _a.periodTitle) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); })) || ((_h = subItem === null || subItem === void 0 ? void 0 : subItem.courseBlockSchedule) === null || _h === void 0 ? void 0 : _h.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.blockPeriod) === null || _a === void 0 ? void 0 : _a.periodTitle) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); })) || ((_j = subItem === null || subItem === void 0 ? void 0 : subItem.courseVariableSchedule) === null || _j === void 0 ? void 0 : _j.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.blockPeriod) === null || _a === void 0 ? void 0 : _a.periodTitle) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); })) || ((_m = (_l = (_k = subItem === null || subItem === void 0 ? void 0 : subItem.courseFixedSchedule) === null || _k === void 0 ? void 0 : _k.rooms) === null || _l === void 0 ? void 0 : _l.title) === null || _m === void 0 ? void 0 : _m.toLowerCase().includes(searchTerm.toLowerCase())) || ((_o = subItem === null || subItem === void 0 ? void 0 : subItem.courseCalendarSchedule) === null || _o === void 0 ? void 0 : _o.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.rooms) === null || _a === void 0 ? void 0 : _a.title) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); })) || ((_p = subItem === null || subItem === void 0 ? void 0 : subItem.courseBlockSchedule) === null || _p === void 0 ? void 0 : _p.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.rooms) === null || _a === void 0 ? void 0 : _a.title) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); })) || ((_q = subItem === null || subItem === void 0 ? void 0 : subItem.courseVariableSchedule) === null || _q === void 0 ? void 0 : _q.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.rooms) === null || _a === void 0 ? void 0 : _a.title) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); }));
                        }) });
                })) === null || _a === void 0 ? void 0 : _a.filter(item => {
                    var _a, _b, _c, _d, _e;
                    return ((_a = item.courseCategory) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(searchTerm.toLowerCase())) || ((_b = item.courseTitle) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase())) || ((_c = item.courseSubject) === null || _c === void 0 ? void 0 : _c.toLowerCase().includes(searchTerm.toLowerCase())) || ((_d = item.courseProgram) === null || _d === void 0 ? void 0 : _d.toLowerCase().includes(searchTerm.toLowerCase())) ||
                        ((_e = item === null || item === void 0 ? void 0 : item.getCourseSectionForView) === null || _e === void 0 ? void 0 : _e.length) > 0;
                });
            }
            else {
                return value === null || value === void 0 ? void 0 : value.filter(subItem => {
                    var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
                    return ((_c = (_b = (_a = subItem === null || subItem === void 0 ? void 0 : subItem.courseSection) === null || _a === void 0 ? void 0 : _a.courseSectionName) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === null || _c === void 0 ? void 0 : _c.includes(searchTerm.toLowerCase())) || ((_f = (_e = (_d = subItem === null || subItem === void 0 ? void 0 : subItem.courseFixedSchedule) === null || _d === void 0 ? void 0 : _d.blockPeriod) === null || _e === void 0 ? void 0 : _e.periodTitle) === null || _f === void 0 ? void 0 : _f.toLowerCase().includes(searchTerm.toLowerCase())) || ((_g = subItem === null || subItem === void 0 ? void 0 : subItem.courseCalendarSchedule) === null || _g === void 0 ? void 0 : _g.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.blockPeriod) === null || _a === void 0 ? void 0 : _a.periodTitle) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); })) || ((_h = subItem === null || subItem === void 0 ? void 0 : subItem.courseBlockSchedule) === null || _h === void 0 ? void 0 : _h.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.blockPeriod) === null || _a === void 0 ? void 0 : _a.periodTitle) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); })) || ((_j = subItem === null || subItem === void 0 ? void 0 : subItem.courseVariableSchedule) === null || _j === void 0 ? void 0 : _j.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.blockPeriod) === null || _a === void 0 ? void 0 : _a.periodTitle) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); })) || ((_m = (_l = (_k = subItem === null || subItem === void 0 ? void 0 : subItem.courseFixedSchedule) === null || _k === void 0 ? void 0 : _k.rooms) === null || _l === void 0 ? void 0 : _l.title) === null || _m === void 0 ? void 0 : _m.toLowerCase().includes(searchTerm.toLowerCase())) || ((_o = subItem === null || subItem === void 0 ? void 0 : subItem.courseCalendarSchedule) === null || _o === void 0 ? void 0 : _o.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.rooms) === null || _a === void 0 ? void 0 : _a.title) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); })) || ((_p = subItem === null || subItem === void 0 ? void 0 : subItem.courseBlockSchedule) === null || _p === void 0 ? void 0 : _p.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.rooms) === null || _a === void 0 ? void 0 : _a.title) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); })) || ((_q = subItem === null || subItem === void 0 ? void 0 : subItem.courseVariableSchedule) === null || _q === void 0 ? void 0 : _q.some(p => { var _a, _b; return (_b = (_a = p === null || p === void 0 ? void 0 : p.rooms) === null || _a === void 0 ? void 0 : _a.title) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(searchTerm.toLowerCase()); }));
                });
            }
        }
        else {
            return value;
        }
    }
}
CourseRequestFilterPipe.ɵfac = function CourseRequestFilterPipe_Factory(t) { return new (t || CourseRequestFilterPipe)(); };
CourseRequestFilterPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "courseRequestFilter", type: CourseRequestFilterPipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CourseRequestFilterPipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'courseRequestFilter'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/course-section-ngFor-div-filter.pipe.ts":
/*!**********************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/course-section-ngFor-div-filter.pipe.ts ***!
  \**********************************************************************************************/
/*! exports provided: NgForFilterPipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NgForFilterPipe", function() { return NgForFilterPipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class NgForFilterPipe {
    transform(value, searchTerm) {
        if ((value === null || value === void 0 ? void 0 : value.length) === 0) {
            return value;
        }
        if (searchTerm) {
            return value.filter((term) => {
                var _a, _b;
                return ((_a = term.courseSection.courseSectionName) === null || _a === void 0 ? void 0 : _a.toLowerCase().indexOf(searchTerm.toLowerCase())) > -1
                    || ((_b = term.courseSection.mpTitle) === null || _b === void 0 ? void 0 : _b.toLowerCase().indexOf(searchTerm.toLowerCase())) > -1
                    || term.courseSection.seats.toString().indexOf(searchTerm.toString()) > -1;
            });
        }
        else {
            return value;
        }
    }
}
NgForFilterPipe.ɵfac = function NgForFilterPipe_Factory(t) { return new (t || NgForFilterPipe)(); };
NgForFilterPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "filter", type: NgForFilterPipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgForFilterPipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'filter'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/empty-html-value-check.pipe.ts":
/*!*************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/empty-html-value-check.pipe.ts ***!
  \*************************************************************************************/
/*! exports provided: EmptyHtmlValueCheckPipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EmptyHtmlValueCheckPipe", function() { return EmptyHtmlValueCheckPipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class EmptyHtmlValueCheckPipe {
    transform(value, condition) {
        if (condition) {
            this.formattedValue = value ? value.replace(/(<([^>]+)>)/gi, '').replace(/\s/g, '') : '';
            return this.formattedValue === '' ? null : value;
        }
        this.formattedValue = value ? value.replace(/(<([^>]+)>)/gi, '').replace(/\s/g, '') : '';
        return this.formattedValue === '' ? '-' : value;
    }
}
EmptyHtmlValueCheckPipe.ɵfac = function EmptyHtmlValueCheckPipe_Factory(t) { return new (t || EmptyHtmlValueCheckPipe)(); };
EmptyHtmlValueCheckPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "emptyHtmlValueCheck", type: EmptyHtmlValueCheckPipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EmptyHtmlValueCheckPipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'emptyHtmlValueCheck'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/emty-boolean-check-pipe.ts":
/*!*********************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/emty-boolean-check-pipe.ts ***!
  \*********************************************************************************/
/*! exports provided: EmtyBooleanCheckPipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EmtyBooleanCheckPipe", function() { return EmtyBooleanCheckPipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class EmtyBooleanCheckPipe {
    transform(value, type) {
        if (type == "isActive") {
            if (value === false) {
                return "Inactive";
            }
            else if (value === true) {
                return "Active";
            }
            else if (value === null) {
                return "-";
            }
            else {
                return "-";
            }
        }
        else {
            if (value === false) {
                return "No";
            }
            else if (value === true) {
                return "Yes";
            }
            else if (value === null) {
                return "-";
            }
            else {
                return "-";
            }
        }
    }
}
EmtyBooleanCheckPipe.ɵfac = function EmtyBooleanCheckPipe_Factory(t) { return new (t || EmtyBooleanCheckPipe)(); };
EmtyBooleanCheckPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "EmtyBooleanCheckPipe", type: EmtyBooleanCheckPipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EmtyBooleanCheckPipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'EmtyBooleanCheckPipe'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/emty-boolean-check.reverse.pipe.ts":
/*!*****************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/emty-boolean-check.reverse.pipe.ts ***!
  \*****************************************************************************************/
/*! exports provided: EmtyBooleanCheckReversePipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EmtyBooleanCheckReversePipe", function() { return EmtyBooleanCheckReversePipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class EmtyBooleanCheckReversePipe {
    transform(value) {
        if (value === false) {
            return "Yes";
        }
        else if (value === true) {
            return "No";
        }
        else if (value === null) {
            return "-";
        }
        else {
            return "-";
        }
    }
}
EmtyBooleanCheckReversePipe.ɵfac = function EmtyBooleanCheckReversePipe_Factory(t) { return new (t || EmtyBooleanCheckReversePipe)(); };
EmtyBooleanCheckReversePipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "EmtyBooleanCheckReversePipe", type: EmtyBooleanCheckReversePipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EmtyBooleanCheckReversePipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'EmtyBooleanCheckReversePipe'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/emty-number-check.pipe.ts":
/*!********************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/emty-number-check.pipe.ts ***!
  \********************************************************************************/
/*! exports provided: EmtyNumberCheckPipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EmtyNumberCheckPipe", function() { return EmtyNumberCheckPipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class EmtyNumberCheckPipe {
    transform(value) {
        if (value) {
            return value.toString();
        }
        else {
            return '-';
        }
    }
}
EmtyNumberCheckPipe.ɵfac = function EmtyNumberCheckPipe_Factory(t) { return new (t || EmtyNumberCheckPipe)(); };
EmtyNumberCheckPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "EmtyNumberCheckPipe", type: EmtyNumberCheckPipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EmtyNumberCheckPipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'EmtyNumberCheckPipe'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/emty-value-check.pipe.ts":
/*!*******************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/emty-value-check.pipe.ts ***!
  \*******************************************************************************/
/*! exports provided: EmtyValueCheckPipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EmtyValueCheckPipe", function() { return EmtyValueCheckPipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class EmtyValueCheckPipe {
    transform(value, type) {
        if (type === "0.00") {
            if (value !== null && value !== undefined) {
                if (value.trim() !== "") {
                    return value.trim();
                }
                else {
                    return "0.00";
                }
            }
            else {
                return "0.00";
            }
        }
        else {
            if (value !== null && value !== undefined) {
                if (typeof value === 'number') {
                    if (value !== null && value !== undefined) {
                        return value.toString();
                    }
                    else {
                        return '-';
                    }
                }
                else {
                    if (value.trim() !== "") {
                        return value.trim();
                    }
                    else {
                        return "-";
                    }
                }
            }
            else {
                return "-";
            }
        }
    }
}
EmtyValueCheckPipe.ɵfac = function EmtyValueCheckPipe_Factory(t) { return new (t || EmtyValueCheckPipe)(); };
EmtyValueCheckPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "EmtyValueCheckPipe", type: EmtyValueCheckPipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EmtyValueCheckPipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'EmtyValueCheckPipe'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/even-odd.pipe.ts":
/*!***********************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/even-odd.pipe.ts ***!
  \***********************************************************************/
/*! exports provided: EvenOddPipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EvenOddPipe", function() { return EvenOddPipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class EvenOddPipe {
    transform(value, filter) {
        if (!value || (filter !== 'even' && filter !== 'odd')) {
            return value;
        }
        return value.filter((item, idx) => filter === 'even' ? idx % 2 === 1 : idx % 2 === 0);
    }
}
EvenOddPipe.ɵfac = function EvenOddPipe_Factory(t) { return new (t || EvenOddPipe)(); };
EvenOddPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "evenOddPipe", type: EvenOddPipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EvenOddPipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'evenOddPipe'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/input-effort-grades-ng-for-div-filter.pipe.ts":
/*!****************************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/input-effort-grades-ng-for-div-filter.pipe.ts ***!
  \****************************************************************************************************/
/*! exports provided: InputEffortGradesNgForDivFilterPipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InputEffortGradesNgForDivFilterPipe", function() { return InputEffortGradesNgForDivFilterPipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class InputEffortGradesNgForDivFilterPipe {
    transform(value, searchTerm) {
        if ((value === null || value === void 0 ? void 0 : value.length) === 0) {
            return value;
        }
        if (searchTerm) {
            return value === null || value === void 0 ? void 0 : value.filter((term) => {
                var _a, _b, _c, _d;
                if (((_a = term.firstGivenName) === null || _a === void 0 ? void 0 : _a.toLowerCase().indexOf(searchTerm === null || searchTerm === void 0 ? void 0 : searchTerm.toLowerCase())) > -1
                    || ((_b = term.lastFamilyName) === null || _b === void 0 ? void 0 : _b.toLowerCase().indexOf(searchTerm === null || searchTerm === void 0 ? void 0 : searchTerm.toLowerCase())) > -1
                    || ((_c = term.studentId) === null || _c === void 0 ? void 0 : _c.toString().indexOf(searchTerm === null || searchTerm === void 0 ? void 0 : searchTerm.toString())) > -1
                    || ((_d = term.gradeLevel) === null || _d === void 0 ? void 0 : _d.toLowerCase().indexOf(searchTerm === null || searchTerm === void 0 ? void 0 : searchTerm.toLowerCase())) > -1) {
                    term.isDisplay = true;
                    return term;
                }
                else {
                    term.isDisplay = false;
                    return term;
                }
            });
        }
        else {
            value === null || value === void 0 ? void 0 : value.map((term) => {
                term.isDisplay = true;
            });
            return value;
        }
    }
}
InputEffortGradesNgForDivFilterPipe.ɵfac = function InputEffortGradesNgForDivFilterPipe_Factory(t) { return new (t || InputEffortGradesNgForDivFilterPipe)(); };
InputEffortGradesNgForDivFilterPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "filterData", type: InputEffortGradesNgForDivFilterPipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](InputEffortGradesNgForDivFilterPipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'filterData'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/mental-health-filter.pipe.ts":
/*!***********************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/mental-health-filter.pipe.ts ***!
  \***********************************************************************************/
/*! exports provided: MentalHealthFilterPipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MentalHealthFilterPipe", function() { return MentalHealthFilterPipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class MentalHealthFilterPipe {
    transform(value, searchTerm) {
        if ((value === null || value === void 0 ? void 0 : value.length) === 0) {
            return value;
        }
        else {
            if (searchTerm && (value === null || value === void 0 ? void 0 : value.length)) {
                return value.filter((term) => {
                    var _a, _b, _c;
                    return ((_a = term.body) === null || _a === void 0 ? void 0 : _a.toLowerCase().indexOf(searchTerm.toLowerCase())) > -1
                        || ((_b = term.targetMembershipIds) === null || _b === void 0 ? void 0 : _b.toLowerCase().indexOf(searchTerm.toLowerCase())) > -1
                        || ((_c = term.title) === null || _c === void 0 ? void 0 : _c.toString().indexOf(searchTerm.toString())) > -1;
                });
            }
            else {
                return value;
            }
        }
    }
}
MentalHealthFilterPipe.ɵfac = function MentalHealthFilterPipe_Factory(t) { return new (t || MentalHealthFilterPipe)(); };
MentalHealthFilterPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "mentalHealthFilter", type: MentalHealthFilterPipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MentalHealthFilterPipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'mentalHealthFilter'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/number-to-week-day.pipe.ts":
/*!*********************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/number-to-week-day.pipe.ts ***!
  \*********************************************************************************/
/*! exports provided: WeekDayPipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WeekDayPipe", function() { return WeekDayPipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class WeekDayPipe {
    constructor() {
        this.weeks = [
            { name: 'SUN', altName: 'U', alias: 'SU', fullName: 'Sunday', id: 0 },
            { name: 'MON', altName: 'M', alias: 'MO', fullName: 'Monday', id: 1 },
            { name: 'TUE', altName: 'T', alias: 'TU', fullName: 'Tuesday', id: 2 },
            { name: 'WED', altName: 'W', alias: 'WE', fullName: 'Wednesday', id: 3 },
            { name: 'THU', altName: 'R', alias: 'TH', fullName: 'Thursday', id: 4 },
            { name: 'FRI', altName: 'F', alias: 'FR', fullName: 'Friday', id: 5 },
            { name: 'SAT', altName: 'S', alias: 'SA', fullName: 'Saturday', id: 6 }
        ];
    }
    transform(value, scheduling, toolTip, pdf) {
        if (value) {
            if (scheduling) {
                let altName;
                value = value.split('|').join('');
                for (let day of this.weeks) {
                    if (day.id == +value) {
                        altName = day.altName;
                        break;
                    }
                }
                return altName;
            }
            else if (toolTip) {
                let fullName;
                value = value.split('|').join('');
                for (let day of this.weeks) {
                    if (day.id == +value) {
                        fullName = day.fullName;
                        break;
                    }
                }
                return fullName;
            }
            else if (pdf) {
                let finalString = [];
                value = value.split('|');
                for (let j = 0; j < this.weeks.length; j++) {
                    for (let i = 0; i < value.length; i++) {
                        if (value[i].toLowerCase() == this.weeks[j].fullName.toLowerCase()) {
                            finalString.push(this.weeks[j].alias);
                        }
                    }
                }
                return finalString.join(' - ');
            }
            else {
                let finalString = [];
                value = value.split('|');
                for (let j = 0; j < this.weeks.length; j++) {
                    for (let i = 0; i < value.length; i++) {
                        if (value[i].toLowerCase() == this.weeks[j].fullName.toLowerCase()) {
                            finalString.push(this.weeks[j].name);
                        }
                    }
                }
                return finalString.join(' - ');
            }
        }
        else {
            return value;
        }
    }
}
WeekDayPipe.ɵfac = function WeekDayPipe_Factory(t) { return new (t || WeekDayPipe)(); };
WeekDayPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "weekDay", type: WeekDayPipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](WeekDayPipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'weekDay'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/password-mask.pipe.ts":
/*!****************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/password-mask.pipe.ts ***!
  \****************************************************************************/
/*! exports provided: PasswordMaskPipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PasswordMaskPipe", function() { return PasswordMaskPipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class PasswordMaskPipe {
    transform(value) {
        let mask = value.replace(/./g, "*");
        return mask;
    }
}
PasswordMaskPipe.ɵfac = function PasswordMaskPipe_Factory(t) { return new (t || PasswordMaskPipe)(); };
PasswordMaskPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "passwordMask", type: PasswordMaskPipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PasswordMaskPipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'passwordMask'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/safeHtml.pipe.ts":
/*!***********************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/safeHtml.pipe.ts ***!
  \***********************************************************************/
/*! exports provided: SafePipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SafePipe", function() { return SafePipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/__ivy_ngcc__/fesm2015/platform-browser.js");



class SafePipe {
    constructor(sanitizer) {
        this.sanitizer = sanitizer;
    }
    transform(value, type) {
        switch (type) {
            case 'html': return this.sanitizer.bypassSecurityTrustHtml(value);
            case 'style': return this.sanitizer.bypassSecurityTrustStyle(value);
            case 'script': return this.sanitizer.bypassSecurityTrustScript(value);
            case 'url': return this.sanitizer.bypassSecurityTrustUrl(value);
            case 'resourceUrl': return this.sanitizer.bypassSecurityTrustResourceUrl(value);
            default: throw new Error(`Invalid safe type specified: ${type}`);
        }
    }
}
SafePipe.ɵfac = function SafePipe_Factory(t) { return new (t || SafePipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__["DomSanitizer"])); };
SafePipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "safe", type: SafePipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SafePipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'safe'
            }]
    }], function () { return [{ type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__["DomSanitizer"] }]; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/ssn-mask.pipe.ts":
/*!***********************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/ssn-mask.pipe.ts ***!
  \***********************************************************************/
/*! exports provided: SsnMaskPipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SsnMaskPipe", function() { return SsnMaskPipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class SsnMaskPipe {
    transform(value) {
        let mask = value.replace(/\w(?=\w{4})/g, "*");
        return mask;
    }
}
SsnMaskPipe.ɵfac = function SsnMaskPipe_Factory(t) { return new (t || SsnMaskPipe)(); };
SsnMaskPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "ssnMask", type: SsnMaskPipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SsnMaskPipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'ssnMask'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/system-category-check.pipe.ts":
/*!************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/system-category-check.pipe.ts ***!
  \************************************************************************************/
/*! exports provided: SystemCategoryCheckPipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SystemCategoryCheckPipe", function() { return SystemCategoryCheckPipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class SystemCategoryCheckPipe {
    transform(items) {
        if (!items) {
            return items;
        }
        // filter items array, items which match and return true will be
        // kept, false will be filtered out
        return items.filter(item => !item.systemField);
    }
}
SystemCategoryCheckPipe.ɵfac = function SystemCategoryCheckPipe_Factory(t) { return new (t || SystemCategoryCheckPipe)(); };
SystemCategoryCheckPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "systemCategoryCheckPipe", type: SystemCategoryCheckPipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SystemCategoryCheckPipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'systemCategoryCheckPipe'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/transform-24to12.pipe.ts":
/*!*******************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/transform-24to12.pipe.ts ***!
  \*******************************************************************************/
/*! exports provided: Transform24to12Pipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Transform24to12Pipe", function() { return Transform24to12Pipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _shared_shared_function__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../shared/shared-function */ "./src/app/pages/shared/shared-function.ts");





const moment = moment__WEBPACK_IMPORTED_MODULE_1___default.a || moment__WEBPACK_IMPORTED_MODULE_1__;
class Transform24to12Pipe {
    constructor(commonfunction) {
        this.commonfunction = commonfunction;
    }
    transform(value) {
        if (value !== null && value !== undefined) {
            let time = value.toString().match(/^([01]\d|2[0-3])(:)([0-5]\d)(:[0-5]\d)?$/) || [value];
            if (time.length > 1) { // If time format correct
                time = time.slice(1); // Remove full string match value
                time[5] = +time[0] < 12 ? ' AM' : ' PM'; // Set AM/PM
                time[0] = +time[0] % 12 || 12; // Adjust hours
            }
            return time.join('');
        }
        else {
            return "-";
        }
    }
}
Transform24to12Pipe.ɵfac = function Transform24to12Pipe_Factory(t) { return new (t || Transform24to12Pipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_shared_function__WEBPACK_IMPORTED_MODULE_2__["SharedFunction"])); };
Transform24to12Pipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "transform24to12Pipe", type: Transform24to12Pipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](Transform24to12Pipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'transform24to12Pipe'
            }]
    }], function () { return [{ type: _shared_shared_function__WEBPACK_IMPORTED_MODULE_2__["SharedFunction"] }]; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/transform-datetime-pipe.ts":
/*!*********************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/transform-datetime-pipe.ts ***!
  \*********************************************************************************/
/*! exports provided: TransformDateTimePipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransformDateTimePipe", function() { return TransformDateTimePipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _shared_shared_function__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../shared/shared-function */ "./src/app/pages/shared/shared-function.ts");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");






const moment = moment__WEBPACK_IMPORTED_MODULE_1___default.a || moment__WEBPACK_IMPORTED_MODULE_1__;
class TransformDateTimePipe {
    constructor(commonfunction, defaultValuesService) {
        this.commonfunction = commonfunction;
        this.defaultValuesService = defaultValuesService;
    }
    transform(value) {
        if (value !== null && value !== undefined) {
            if (value.trim() !== "") {
                let getDateTime = this.commonfunction.serverToLocalDateAndTime(value);
                let schoolDateFormat = this.defaultValuesService.getSchoolDateFormat() === 'M/d/yy' ? 'M/D/YY' : this.defaultValuesService.getSchoolDateFormat() === 'MMM d, y' ? 'MMM D, Y' : this.defaultValuesService.getSchoolDateFormat() === 'MMMM d, y' ? 'MMMM D, Y' : 'MMMM D, Y';
                let formattedDateTime = moment(getDateTime, ["YYYY-MM-DD hh:mm:ss"]).format(schoolDateFormat + " | " + "h:mm A");
                return formattedDateTime;
            }
            else {
                return "-";
            }
        }
        else {
            return "-";
        }
    }
}
TransformDateTimePipe.ɵfac = function TransformDateTimePipe_Factory(t) { return new (t || TransformDateTimePipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_shared_function__WEBPACK_IMPORTED_MODULE_2__["SharedFunction"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_3__["DefaultValuesService"])); };
TransformDateTimePipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "transformDateTimePipe", type: TransformDateTimePipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TransformDateTimePipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'transformDateTimePipe'
            }]
    }], function () { return [{ type: _shared_shared_function__WEBPACK_IMPORTED_MODULE_2__["SharedFunction"] }, { type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_3__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/transfrom-time.pipe.ts":
/*!*****************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/transfrom-time.pipe.ts ***!
  \*****************************************************************************/
/*! exports provided: TransformTimePipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransformTimePipe", function() { return TransformTimePipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _shared_shared_function__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../shared/shared-function */ "./src/app/pages/shared/shared-function.ts");





const moment = moment__WEBPACK_IMPORTED_MODULE_1___default.a || moment__WEBPACK_IMPORTED_MODULE_1__;
class TransformTimePipe {
    constructor(commonfunction) {
        this.commonfunction = commonfunction;
    }
    transform(value) {
        if (value !== null && value !== undefined) {
            if (value.length === 5) {
                value = new Date("1900-01-01T" + value).toString();
                let getDateTime = this.commonfunction.formatDateSaveWithTime(value);
                let formattedDateTime = moment(getDateTime, ["YYYY-MM-DD hh:mm:ss"]).format("hh:mm A");
                return formattedDateTime;
            }
            else {
                let getDateTime = this.commonfunction.serverToLocalDateAndTime(value);
                let formattedDateTime = moment(getDateTime, ["YYYY-MM-DD hh:mm:ss"]).format("hh:mm A");
                return formattedDateTime;
            }
        }
        else {
            return "-";
        }
    }
}
TransformTimePipe.ɵfac = function TransformTimePipe_Factory(t) { return new (t || TransformTimePipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_shared_function__WEBPACK_IMPORTED_MODULE_2__["SharedFunction"])); };
TransformTimePipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "transformTimePipe", type: TransformTimePipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TransformTimePipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'transformTimePipe'
            }]
    }], function () { return [{ type: _shared_shared_function__WEBPACK_IMPORTED_MODULE_2__["SharedFunction"] }]; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/user-name-format.pipe.ts":
/*!*******************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/user-name-format.pipe.ts ***!
  \*******************************************************************************/
/*! exports provided: UserNameFormatPipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UserNameFormatPipe", function() { return UserNameFormatPipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class UserNameFormatPipe {
    transform(user) {
        let userName = '-';
        if (!!((user === null || user === void 0 ? void 0 : user.lastFamilyName) && (user === null || user === void 0 ? void 0 : user.firstGivenName))) {
            if (!!(user === null || user === void 0 ? void 0 : user.middleName)) {
                userName = (user === null || user === void 0 ? void 0 : user.lastFamilyName) + ' ' + (user === null || user === void 0 ? void 0 : user.middleName) + ', ' + (user === null || user === void 0 ? void 0 : user.firstGivenName);
            }
            else {
                userName = (user === null || user === void 0 ? void 0 : user.lastFamilyName) + ', ' + (user === null || user === void 0 ? void 0 : user.firstGivenName);
            }
        }
        else if (!!(user === null || user === void 0 ? void 0 : user.staffName)) {
            let splitName = user === null || user === void 0 ? void 0 : user.staffName.trim().split(" ");
            let lastName = splitName[splitName.length - 1];
            let firstName = splitName[0];
            let middleName = "";
            if (splitName.length > 2) {
                middleName = splitName[splitName.length - 2];
                userName = lastName + ' ' + middleName + ', ' + firstName;
            }
            else {
                userName = lastName + ', ' + firstName;
            }
        }
        else {
            if ((user === null || user === void 0 ? void 0 : user.staffLastFamilyName) || (user === null || user === void 0 ? void 0 : user.staffFirstGivenName)) {
                if (!!(user === null || user === void 0 ? void 0 : user.staffMiddleName)) {
                    userName = (user === null || user === void 0 ? void 0 : user.staffLastFamilyName) + ' ' + (user === null || user === void 0 ? void 0 : user.staffMiddleName) + ', ' + (user === null || user === void 0 ? void 0 : user.staffFirstGivenName);
                }
                else {
                    userName = (user === null || user === void 0 ? void 0 : user.staffLastFamilyName) + ', ' + (user === null || user === void 0 ? void 0 : user.staffFirstGivenName);
                }
            }
            else
                userName = "-";
        }
        return userName;
    }
}
UserNameFormatPipe.ɵfac = function UserNameFormatPipe_Factory(t) { return new (t || UserNameFormatPipe)(); };
UserNameFormatPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "UserNameFormatPipe", type: UserNameFormatPipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](UserNameFormatPipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'UserNameFormatPipe'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-define-pipe/user-preferred-name-format.pipe.ts":
/*!*****************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-define-pipe/user-preferred-name-format.pipe.ts ***!
  \*****************************************************************************************/
/*! exports provided: UserPreferredNameFormatPipe */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UserPreferredNameFormatPipe", function() { return UserPreferredNameFormatPipe; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class UserPreferredNameFormatPipe {
    transform(user) {
        let userName = '-';
        if (!!((user === null || user === void 0 ? void 0 : user.lastFamilyName) && (user === null || user === void 0 ? void 0 : user.firstGivenName))) {
            if (!!(user === null || user === void 0 ? void 0 : user.preferredName) || !!(user === null || user === void 0 ? void 0 : user.prefferedName)) {
                userName = ((user === null || user === void 0 ? void 0 : user.lastFamilyName) || '-') + ', ' + ((user === null || user === void 0 ? void 0 : user.preferredName) || (user === null || user === void 0 ? void 0 : user.prefferedName) || '-');
            }
            else {
                if (!!(user === null || user === void 0 ? void 0 : user.middleName)) {
                    userName = ((user === null || user === void 0 ? void 0 : user.lastFamilyName) || '-') + ' ' + ((user === null || user === void 0 ? void 0 : user.middleName) || '-') + ', ' + ((user === null || user === void 0 ? void 0 : user.firstGivenName) || '-');
                }
                else {
                    userName = ((user === null || user === void 0 ? void 0 : user.lastFamilyName) || '-') + ', ' + ((user === null || user === void 0 ? void 0 : user.firstGivenName) || '-');
                }
            }
        }
        else if (!!(user === null || user === void 0 ? void 0 : user.lastFamilyName) || !!(user === null || user === void 0 ? void 0 : user.firstGivenName)) {
            if (!!(user === null || user === void 0 ? void 0 : user.preferredName) || !!(user === null || user === void 0 ? void 0 : user.prefferedName)) {
                userName = ((user === null || user === void 0 ? void 0 : user.lastFamilyName) || '-') + ', ' + ((user === null || user === void 0 ? void 0 : user.preferredName) || (user === null || user === void 0 ? void 0 : user.prefferedName) || '-');
            }
            else {
                if (!!(user === null || user === void 0 ? void 0 : user.middleName)) {
                    userName = ((user === null || user === void 0 ? void 0 : user.lastFamilyName) || '-') + ' ' + ((user === null || user === void 0 ? void 0 : user.middleName) || '-') + ', ' + ((user === null || user === void 0 ? void 0 : user.firstGivenName) || '-');
                }
                else {
                    userName = ((user === null || user === void 0 ? void 0 : user.lastFamilyName) || '-') + ', ' + ((user === null || user === void 0 ? void 0 : user.firstGivenName) || '-');
                }
            }
        }
        else {
            let splitName = user === null || user === void 0 ? void 0 : user.studentName.split(" ");
            let lastName = splitName[splitName.length - 1];
            let firstName = splitName[0];
            let middleName = "";
            if (splitName.length > 2) {
                middleName = splitName[splitName.length - 2];
                userName = (lastName || '-') + ' ' + (middleName || '-') + ', ' + (firstName || '-');
            }
            if (!!(user === null || user === void 0 ? void 0 : user.studentPreferredName)) {
                userName = (lastName || '-') + ', ' + ((user === null || user === void 0 ? void 0 : user.studentPreferredName) || '-');
            }
            else {
                userName = (lastName || '-') + ', ' + (firstName || '-');
            }
        }
        return userName;
    }
}
UserPreferredNameFormatPipe.ɵfac = function UserPreferredNameFormatPipe_Factory(t) { return new (t || UserPreferredNameFormatPipe)(); };
UserPreferredNameFormatPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "UserPreferredNameFormatPipe", type: UserPreferredNameFormatPipe, pure: true });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](UserPreferredNameFormatPipe, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
        args: [{
                name: 'UserPreferredNameFormatPipe'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-defined-directives/custom-max-length.directive.ts":
/*!********************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-defined-directives/custom-max-length.directive.ts ***!
  \********************************************************************************************/
/*! exports provided: CustomMaxLengthDirective */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomMaxLengthDirective", function() { return CustomMaxLengthDirective; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");



class CustomMaxLengthDirective {
    constructor() { }
    validate(control) {
        let value = control.value;
        return ((value === null || value === void 0 ? void 0 : value.length) > this.customMaxLength) ? { customMaxLengthErr: true, requiredLength: this.customMaxLength, currentLength: value === null || value === void 0 ? void 0 : value.length } : null;
    }
}
CustomMaxLengthDirective.ɵfac = function CustomMaxLengthDirective_Factory(t) { return new (t || CustomMaxLengthDirective)(); };
CustomMaxLengthDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: CustomMaxLengthDirective, selectors: [["", "customMaxLength", ""]], inputs: { customMaxLength: "customMaxLength" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"], useExisting: CustomMaxLengthDirective, multi: true }])] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CustomMaxLengthDirective, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
        args: [{
                selector: '[customMaxLength]',
                providers: [{ provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"], useExisting: CustomMaxLengthDirective, multi: true }]
            }]
    }], function () { return []; }, { customMaxLength: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }] }); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-defined-directives/custom-min.directive.ts":
/*!*************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-defined-directives/custom-min.directive.ts ***!
  \*************************************************************************************/
/*! exports provided: CustomMinDirective */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomMinDirective", function() { return CustomMinDirective; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");



class CustomMinDirective {
    constructor() { }
    validate(c) {
        let v = c.value;
        return (v < this.customMin) ? { "customMin": true } : null;
    }
}
CustomMinDirective.ɵfac = function CustomMinDirective_Factory(t) { return new (t || CustomMinDirective)(); };
CustomMinDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: CustomMinDirective, selectors: [["", "customMin", ""]], inputs: { customMin: "customMin" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"], useExisting: CustomMinDirective, multi: true }])] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CustomMinDirective, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
        args: [{
                selector: '[customMin]',
                providers: [{ provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"], useExisting: CustomMinDirective, multi: true }]
            }]
    }], function () { return []; }, { customMin: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }] }); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-defined-directives/emailvalidator.directive.ts":
/*!*****************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-defined-directives/emailvalidator.directive.ts ***!
  \*****************************************************************************************/
/*! exports provided: EmailvalidatorDirective */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EmailvalidatorDirective", function() { return EmailvalidatorDirective; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");



class EmailvalidatorDirective {
    constructor() {
        this.validator = this.emailValidator();
    }
    validate(c) {
        return this.validator(c);
    }
    emailValidator() {
        return (control) => {
            if (control.value) {
                let isValid = /^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/.test(control.value);
                if (isValid) {
                    return null;
                }
                else {
                    return {
                        emailvalidator: { valid: false }
                    };
                }
            }
            else {
                return null;
            }
        };
    }
}
EmailvalidatorDirective.ɵfac = function EmailvalidatorDirective_Factory(t) { return new (t || EmailvalidatorDirective)(); };
EmailvalidatorDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: EmailvalidatorDirective, selectors: [["", "appEmailvalidator", ""]], features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([
            {
                provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"],
                useClass: EmailvalidatorDirective,
                multi: true
            }
        ])] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EmailvalidatorDirective, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
        args: [{
                selector: '[appEmailvalidator]',
                providers: [
                    {
                        provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"],
                        useClass: EmailvalidatorDirective,
                        multi: true
                    }
                ]
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-defined-directives/facebook-link-validator.directive.ts":
/*!**************************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-defined-directives/facebook-link-validator.directive.ts ***!
  \**************************************************************************************************/
/*! exports provided: FacebookLinkValidatorDirective */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FacebookLinkValidatorDirective", function() { return FacebookLinkValidatorDirective; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");



class FacebookLinkValidatorDirective {
    constructor() {
        this.validator = this.facebookValidator();
    }
    validate(c) {
        return this.validator(c);
    }
    facebookValidator() {
        return (control) => {
            if (control.value) {
                let isValid = /(?:(?:http|https):\/\/)?(?:www.)?facebook.com\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[?\w\-]*\/)?(?:profile.php\?id=(?=\d.*))?([\w\-]*)?/.test(control.value);
                if (isValid) {
                    return null;
                }
                else {
                    return {
                        facebookValidator: { valid: false }
                    };
                }
            }
            else {
                return null;
            }
        };
    }
}
FacebookLinkValidatorDirective.ɵfac = function FacebookLinkValidatorDirective_Factory(t) { return new (t || FacebookLinkValidatorDirective)(); };
FacebookLinkValidatorDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: FacebookLinkValidatorDirective, selectors: [["", "appFacebookLinkValidator", ""]], features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([
            {
                provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"],
                useClass: FacebookLinkValidatorDirective,
                multi: true
            }
        ])] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FacebookLinkValidatorDirective, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
        args: [{
                selector: '[appFacebookLinkValidator]',
                providers: [
                    {
                        provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"],
                        useClass: FacebookLinkValidatorDirective,
                        multi: true
                    }
                ]
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-defined-directives/instagram-link-validator.directive.ts":
/*!***************************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-defined-directives/instagram-link-validator.directive.ts ***!
  \***************************************************************************************************/
/*! exports provided: InstagramLinkValidatorDirective */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InstagramLinkValidatorDirective", function() { return InstagramLinkValidatorDirective; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");



class InstagramLinkValidatorDirective {
    constructor() {
        this.validator = this.instagramValidator();
    }
    validate(c) {
        return this.validator(c);
    }
    instagramValidator() {
        return (control) => {
            if (control.value) {
                let isValid = /(?:(?:http|https):\/\/)?(?:www\.)?(?:instagram\.com|instagr\.am)\/([A-Za-z0-9-_\.]+)/.test(control.value);
                if (isValid) {
                    return null;
                }
                else {
                    return {
                        instagramValidator: { valid: false }
                    };
                }
            }
            else {
                return null;
            }
        };
    }
}
InstagramLinkValidatorDirective.ɵfac = function InstagramLinkValidatorDirective_Factory(t) { return new (t || InstagramLinkValidatorDirective)(); };
InstagramLinkValidatorDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: InstagramLinkValidatorDirective, selectors: [["", "appInstagramLinkValidator", ""]], features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([
            {
                provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"],
                useClass: InstagramLinkValidatorDirective,
                multi: true
            }
        ])] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](InstagramLinkValidatorDirective, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
        args: [{
                selector: '[appInstagramLinkValidator]',
                providers: [
                    {
                        provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"],
                        useClass: InstagramLinkValidatorDirective,
                        multi: true
                    }
                ]
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-defined-directives/invalid-control-scroll.directive.ts":
/*!*************************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-defined-directives/invalid-control-scroll.directive.ts ***!
  \*************************************************************************************************/
/*! exports provided: InvalidControlScrollDirective */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InvalidControlScrollDirective", function() { return InvalidControlScrollDirective; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");



class InvalidControlScrollDirective {
    constructor(el, formGroupDir) {
        this.el = el;
        this.formGroupDir = formGroupDir;
    }
    onSubmit() {
        if (this.formGroupDir.control.invalid) {
            this.scrollToFirstInvalidControl();
        }
    }
    scrollToFirstInvalidControl() {
        const firstInvalidControl = this.el.nativeElement.querySelector('mat-select.ng-invalid, textarea.ng-invalid, input.ng-invalid .custom-scroll, input');
        firstInvalidControl.scrollIntoView({ behavior: 'smooth', block: 'center' });
    }
}
InvalidControlScrollDirective.ɵfac = function InvalidControlScrollDirective_Factory(t) { return new (t || InvalidControlScrollDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgForm"])); };
InvalidControlScrollDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: InvalidControlScrollDirective, selectors: [["", "appInvalidControlScroll", ""]], hostBindings: function InvalidControlScrollDirective_HostBindings(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngSubmit", function InvalidControlScrollDirective_ngSubmit_HostBindingHandler() { return ctx.onSubmit(); });
    } } });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](InvalidControlScrollDirective, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
        args: [{
                selector: "[appInvalidControlScroll]"
            }]
    }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"] }, { type: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgForm"] }]; }, { onSubmit: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
            args: ["ngSubmit"]
        }] }); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-defined-directives/linkedin-link-validator.directive.ts":
/*!**************************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-defined-directives/linkedin-link-validator.directive.ts ***!
  \**************************************************************************************************/
/*! exports provided: LinkedinLinkValidatorDirective */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LinkedinLinkValidatorDirective", function() { return LinkedinLinkValidatorDirective; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");



class LinkedinLinkValidatorDirective {
    constructor() {
        this.validator = this.linkedinValidator();
    }
    validate(c) {
        return this.validator(c);
    }
    linkedinValidator() {
        return (control) => {
            if (control.value) {
                let isValid = /^https:\/\/[a-z]{2,3}\.linkedin\.com\/.*$/.test(control.value);
                if (isValid) {
                    return null;
                }
                else {
                    return {
                        linkedinValidator: { valid: false }
                    };
                }
            }
            else {
                return null;
            }
        };
    }
}
LinkedinLinkValidatorDirective.ɵfac = function LinkedinLinkValidatorDirective_Factory(t) { return new (t || LinkedinLinkValidatorDirective)(); };
LinkedinLinkValidatorDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: LinkedinLinkValidatorDirective, selectors: [["", "appLinkedinLinkValidator", ""]], features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([
            {
                provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"],
                useClass: LinkedinLinkValidatorDirective,
                multi: true
            }
        ])] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LinkedinLinkValidatorDirective, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
        args: [{
                selector: '[appLinkedinLinkValidator]',
                providers: [
                    {
                        provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"],
                        useClass: LinkedinLinkValidatorDirective,
                        multi: true
                    }
                ]
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-defined-directives/phonevalidator.directive.ts":
/*!*****************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-defined-directives/phonevalidator.directive.ts ***!
  \*****************************************************************************************/
/*! exports provided: PhonevalidatorDirective */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PhonevalidatorDirective", function() { return PhonevalidatorDirective; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");



class PhonevalidatorDirective {
    constructor() {
        this.validator = this.phoneValidator();
    }
    validate(c) {
        return this.validator(c);
    }
    phoneValidator() {
        return (control) => {
            if (control.value) {
                let isValid = /^(\+\d{1,3}[- ]?)?\d{10}$/.test(control.value);
                if (isValid) {
                    return null;
                }
                else {
                    return {
                        phonevalidator: { valid: false }
                    };
                }
            }
            else {
                return null;
            }
        };
    }
}
PhonevalidatorDirective.ɵfac = function PhonevalidatorDirective_Factory(t) { return new (t || PhonevalidatorDirective)(); };
PhonevalidatorDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: PhonevalidatorDirective, selectors: [["", "appPhonevalidator", ""]], features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([
            {
                provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"],
                useClass: PhonevalidatorDirective,
                multi: true
            }
        ])] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PhonevalidatorDirective, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
        args: [{
                selector: '[appPhonevalidator]',
                providers: [
                    {
                        provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"],
                        useClass: PhonevalidatorDirective,
                        multi: true
                    }
                ]
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-defined-directives/twitter-link-validator.directive.ts":
/*!*************************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-defined-directives/twitter-link-validator.directive.ts ***!
  \*************************************************************************************************/
/*! exports provided: TwitterLinkValidatorDirective */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TwitterLinkValidatorDirective", function() { return TwitterLinkValidatorDirective; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");



class TwitterLinkValidatorDirective {
    constructor() {
        this.validator = this.twitterValidator();
    }
    validate(c) {
        return this.validator(c);
    }
    twitterValidator() {
        return (control) => {
            if (control.value) {
                let isValid = /(https:\/\/twitter.com\/(?![a-zA-Z0-9_]+\/)([a-zA-Z0-9_]+))/.test(control.value);
                if (isValid) {
                    return null;
                }
                else {
                    return {
                        twitterValidator: { valid: false }
                    };
                }
            }
            else {
                return null;
            }
        };
    }
}
TwitterLinkValidatorDirective.ɵfac = function TwitterLinkValidatorDirective_Factory(t) { return new (t || TwitterLinkValidatorDirective)(); };
TwitterLinkValidatorDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: TwitterLinkValidatorDirective, selectors: [["", "appTwitterLinkValidator", ""]], features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([
            {
                provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"],
                useClass: TwitterLinkValidatorDirective,
                multi: true
            }
        ])] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TwitterLinkValidatorDirective, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
        args: [{
                selector: '[appTwitterLinkValidator]',
                providers: [
                    {
                        provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"],
                        useClass: TwitterLinkValidatorDirective,
                        multi: true
                    }
                ]
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-defined-directives/website-link-validator.directive.ts":
/*!*************************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-defined-directives/website-link-validator.directive.ts ***!
  \*************************************************************************************************/
/*! exports provided: WebsiteLinkValidatorDirective */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WebsiteLinkValidatorDirective", function() { return WebsiteLinkValidatorDirective; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");



class WebsiteLinkValidatorDirective {
    constructor() {
        this.validator = this.websiteValidator();
    }
    validate(c) {
        return this.validator(c);
    }
    websiteValidator() {
        return (control) => {
            if (control.value) {
                let isValid = /^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/.test(control.value);
                if (isValid) {
                    return null;
                }
                else {
                    return {
                        websiteValidator: { valid: false }
                    };
                }
            }
            else {
                return null;
            }
        };
    }
}
WebsiteLinkValidatorDirective.ɵfac = function WebsiteLinkValidatorDirective_Factory(t) { return new (t || WebsiteLinkValidatorDirective)(); };
WebsiteLinkValidatorDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: WebsiteLinkValidatorDirective, selectors: [["", "appWebsiteLinkValidator", ""]], features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([
            {
                provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"],
                useClass: WebsiteLinkValidatorDirective,
                multi: true
            }
        ])] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](WebsiteLinkValidatorDirective, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
        args: [{
                selector: '[appWebsiteLinkValidator]',
                providers: [
                    {
                        provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"],
                        useClass: WebsiteLinkValidatorDirective,
                        multi: true
                    }
                ]
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared-module/user-defined-directives/youtube-link-validator.directive.ts":
/*!*************************************************************************************************!*\
  !*** ./src/app/pages/shared-module/user-defined-directives/youtube-link-validator.directive.ts ***!
  \*************************************************************************************************/
/*! exports provided: youtubeLinkValidatorDirective */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "youtubeLinkValidatorDirective", function() { return youtubeLinkValidatorDirective; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");



class youtubeLinkValidatorDirective {
    constructor() {
        this.validator = this.youtubeValidator();
    }
    validate(c) {
        return this.validator(c);
    }
    youtubeValidator() {
        return (control) => {
            if (control.value) {
                let isValid = /^((?:https?:)?\/\/)?((?:www|m)\.)?((?:youtube\.com|youtu.be))(\/(?:[\w\-]+\?v=|embed\/|v\/)?)([\w\-]+)(\S+)?$/.test(control.value);
                if (isValid) {
                    return null;
                }
                else {
                    return {
                        youtubeLinkvalidator: { valid: false }
                    };
                }
            }
            else {
                return null;
            }
        };
    }
}
youtubeLinkValidatorDirective.ɵfac = function youtubeLinkValidatorDirective_Factory(t) { return new (t || youtubeLinkValidatorDirective)(); };
youtubeLinkValidatorDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: youtubeLinkValidatorDirective, selectors: [["", "appYoutubeLinkValidator", ""]], features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([
            {
                provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"],
                useClass: youtubeLinkValidatorDirective,
                multi: true
            }
        ])] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](youtubeLinkValidatorDirective, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
        args: [{
                selector: '[appYoutubeLinkValidator]',
                providers: [
                    {
                        provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NG_VALIDATORS"],
                        useClass: youtubeLinkValidatorDirective,
                        multi: true
                    }
                ]
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/app/pages/shared/format-datepicker.ts":
/*!***************************************************!*\
  !*** ./src/app/pages/shared/format-datepicker.ts ***!
  \***************************************************/
/*! exports provided: MY_FORMATS */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MY_FORMATS", function() { return MY_FORMATS; });
let MY_FORMATS = {
    parse: {
        dateInput: JSON.parse(sessionStorage.getItem('schoolDateFormat')) == 'M/d/yy' ? 'MM/DD/YYYY' : JSON.parse(sessionStorage.getItem('schoolDateFormat')) == 'MMM d, y' ? 'MMM D, y' : JSON.parse(sessionStorage.getItem('schoolDateFormat')) == 'MMMM d, y' ? 'MMMM D, y' : 'DD/MM/YYYY',
    },
    display: {
        dateInput: JSON.parse(sessionStorage.getItem('schoolDateFormat')) == 'M/d/yy' ? 'MM/DD/YYYY' : JSON.parse(sessionStorage.getItem('schoolDateFormat')) == 'MMM d, y' ? 'MMM D, y' : JSON.parse(sessionStorage.getItem('schoolDateFormat')) == 'MMMM d, y' ? 'MMMM D, y' : 'DD/MM/YYYY',
        monthYearLabel: 'MMM YYYY',
        dateA11yLabel: 'LL',
        monthYearA11yLabel: 'MMMM YYYY',
    },
};


/***/ }),

/***/ "./src/app/pages/shared/shared-function.ts":
/*!*************************************************!*\
  !*** ./src/app/pages/shared/shared-function.ts ***!
  \*************************************************/
/*! exports provided: SharedFunction */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SharedFunction", function() { return SharedFunction; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__);




const moment = moment__WEBPACK_IMPORTED_MODULE_1___default.a || moment__WEBPACK_IMPORTED_MODULE_1__;
class SharedFunction {
    trimData(data) {
        if (data !== undefined && typeof (data) == "string") {
            if (data !== null) {
                return data.trim();
            }
            else {
                return data;
            }
        }
    }
    formatDateSaveWithoutTime(date) {
        if (date === undefined || date === null) {
            return undefined;
        }
        else {
            let dt = moment(date).format('YYYY-MM-DD');
            return dt;
        }
    }
    formatDateSaveWithTime(date) {
        if (date === undefined || date === null) {
            return undefined;
        }
        else {
            let dt = moment(date).format('YYYY-MM-DD hh:mm:ss tt');
            return dt;
        }
    }
    autoGeneratePassword() {
        const autoGenerateCharacterArray = ['ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz', '0123456789', '!@#$%^&*(){}[]=<>'];
        let result = '';
        for (let i = 0; i < 4; i++) {
            autoGenerateCharacterArray.map((item) => {
                result += item.charAt(Math.floor(Math.random() * item.length));
            });
        }
        let shuffledWord = '';
        const letterArray = result.split('');
        while (letterArray.length > 0) {
            shuffledWord += letterArray.splice(letterArray.length * Math.random() << 0, 1);
        }
        return shuffledWord;
    }
    formatDate(date) {
        if (date !== "" && date !== null && date !== undefined && date !== "-") {
            let formattedDate = date.split('T');
            let formattedDateAfterConversion = moment(formattedDate[0]).format('MMM D, YYYY');
            return formattedDateAfterConversion;
        }
        else {
            return "-";
        }
    }
    formatDateInEditMode(date) {
        if (date !== "" && date !== null && date != "-") {
            let formattedDate = new Date(date);
            return moment(formattedDate).format('YYYY-MM-DD');
        }
        else {
            return null;
        }
    }
    serverToLocalDateAndTime(utcDate) {
        if (utcDate !== "" && utcDate !== null && utcDate !== undefined && utcDate != "-") {
            let localTime = moment.utc(utcDate).local().format('YYYY-MM-DD HH:mm:ss');
            return localTime;
        }
        else {
            return utcDate;
        }
    }
    transformDateWithTime(value) {
        if (value !== null && value !== undefined) {
            if (value.trim() !== "") {
                let getDateTime = this.serverToLocalDateAndTime(value);
                let schoolDateFormat = JSON.parse(sessionStorage.getItem('schoolDateFormat'));
                schoolDateFormat = schoolDateFormat === 'M/d/yy' ? 'M/D/YY' : schoolDateFormat === 'MMM d, y' ? 'MMM D, Y' : schoolDateFormat === 'MMMM d, y' ? 'MMMM D, Y' : 'MMMM D, Y';
                let formattedDateTime = moment(getDateTime, ["YYYY-MM-DD hh:mm:ss"]).format(schoolDateFormat + " | " + "h:mm A");
                return formattedDateTime;
            }
            else {
                return "-";
            }
        }
        else {
            return "-";
        }
    }
    checkEmptyObject(data) {
        if (data && (Object.keys(data).length !== 0 || Object.keys(data).length > 0)) {
            return true;
        }
        else {
            return false;
        }
    }
    getAge(birthDate) {
        if (birthDate !== null && birthDate != undefined) {
            //extract and collect only date from date-time string  
            let mdate = birthDate.toString();
            let dobYear = parseInt(mdate.substring(0, 4), 10);
            let dobMonth = parseInt(mdate.substring(5, 7), 10);
            let dobDate = parseInt(mdate.substring(8, 10), 10);
            //get the current date from system  
            let today = new Date();
            //date string after broking  
            let birthday = new Date(dobYear, dobMonth - 1, dobDate);
            //calculate the difference of dates  
            let diffInMillisecond = today.valueOf() - birthday.valueOf();
            //convert the difference in milliseconds and store in day and year letiable          
            let yearAge = Math.floor(diffInMillisecond / 31536000000);
            let dayAge = Math.floor((diffInMillisecond % 31536000000) / 86400000);
            let monthAge = Math.floor(dayAge / 30);
            let dayAgedayAge = dayAge % 30;
            let tMnt = (monthAge + (yearAge * 12));
            let tDays = (tMnt * 30) + dayAge;
            let age = yearAge + " years " + monthAge + " months ";
            return age;
        }
    }
    formatDateYearAtLast(date) {
        if (date === undefined || date === null) {
            return undefined;
        }
        else {
            let dt = moment(date).format('DD-MMM-YYYY');
            return dt;
        }
    }
}
SharedFunction.ɵfac = function SharedFunction_Factory(t) { return new (t || SharedFunction)(); };
SharedFunction.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: SharedFunction, factory: SharedFunction.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SharedFunction, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/shared/validation.service.ts":
/*!****************************************************!*\
  !*** ./src/app/pages/shared/validation.service.ts ***!
  \****************************************************/
/*! exports provided: ValidationService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ValidationService", function() { return ValidationService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");


class ValidationService {
    static emailValidator(control) {
        if (control.dirty && control.value !== '') {
            if (control.value.match(/^[_a-z0-9]+(\.[_a-z0-9]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/)) {
                return null;
            }
            else {
                return { invalidEmailAddress: true };
            }
        }
    }
    // old emailValidator pattern: /[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/
    static phoneValidator(control) {
        if (control.value !== '') {
            if (control.value.match(
            ///^[0-9]{10}$/
            /^[0-9]{3}-[0-9]{3}-[0-9]{4}$/)) {
                return null;
            }
            else {
                return { invalidPhoneNumber: true };
            }
        }
    }
    static websiteValidator(control) {
        if (control.dirty && control.value !== '') {
            if (control.value.match(/(https?:\/\/)?(www\.)[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)|(https?:\/\/)?(www\.)?(?!ww)[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/)) {
                return null;
            }
            else {
                return { invalidWebsite: true };
            }
        }
    }
    static dateComparisonValidator(from, to) {
        return (group) => {
            let f = group.controls[from];
            let t = group.controls[to];
            if (f.value > t.value) {
                return { invalidDateComparison: true };
            }
            else {
                return null;
            }
        };
    }
    static compareValidation(firstValue, secondValue) {
        if (firstValue > secondValue) {
            return false;
        }
        else {
            return true;
        }
    }
    static defaultSelectionValidator(control) {
        if (control.dirty && control.value !== '') {
            if (control.value.match(/([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01]))/)) {
                return null;
            }
            else if (control.value.match(/(Yes)/)) {
                return null;
            }
            else if (control.value.match(/(No)/)) {
                return null;
            }
            else {
                return { invalidDefaultSelection: true };
            }
        }
    }
    static noWhitespaceValidator(control) {
        if (control.value) {
            if (control.value === 0) {
                return null;
            }
            else {
                const isWhitespace = (control.value || '').toString().trim().length === 0;
                const isValid = !isWhitespace;
                return isValid ? null : { 'whitespace': true };
            }
        }
        return null;
    }
    static cannotContainSpace(control) {
        if (control.value) {
            if (control.value.toString().indexOf(' ') >= 0) {
                return { cannotContainSpace: true };
            }
        }
        return null;
    }
    static noArrayValidator(control) {
        const isArray = Array.isArray(control.value);
        let errcode = false;
        if (isArray === true) {
            errcode = true;
        }
        else {
            errcode = false;
        }
        if (errcode) {
            return { array: true };
        }
        else {
            return null;
        }
    }
    static lowerCaseValidator(control) {
        let errcode = false;
        if (control.value === undefined) {
            errcode = false;
        }
        else {
            let ControlChar = Array.from(control.value);
            for (let value of ControlChar) {
                if (value === value.toUpperCase()) {
                    errcode = true;
                    break;
                }
                else {
                    errcode = false;
                }
            }
        }
        if (errcode) {
            return { lowerCase: true };
        }
        else {
            return null;
        }
    }
    static mustMatch(controlName, matchingControlName) {
        return (formGroup) => {
            const control = formGroup.controls[controlName];
            const matchingControl = formGroup.controls[matchingControlName];
            if (matchingControl.errors && !matchingControl.errors.mustMatch) {
                return;
            }
            if (control.value !== matchingControl.value) {
                matchingControl.setErrors({ mustMatch: true });
            }
            else {
                matchingControl.setErrors(null);
            }
        };
    }
    static comparisonValidator() {
        return (group) => {
            const password = group.controls['password'];
            const confirmPassword = group.controls['confirmPassword'];
            if (confirmPassword.errors && !confirmPassword.errors.valuesDoNotMatch)
                return;
            password.value !== confirmPassword.value ? confirmPassword.setErrors({ valuesDoNotMatch: true }) : confirmPassword.setErrors(null);
        };
    }
}
ValidationService.ɵfac = function ValidationService_Factory(t) { return new (t || ValidationService)(); };
ValidationService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: ValidationService, factory: ValidationService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ValidationService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], null, null); })();


/***/ }),

/***/ "./src/app/pages/static-page/static-page.component.ts":
/*!************************************************************!*\
  !*** ./src/app/pages/static-page/static-page.component.ts ***!
  \************************************************************/
/*! exports provided: StaticPageComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StaticPageComponent", function() { return StaticPageComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");



class StaticPageComponent {
    constructor(defaultValueService) {
        this.defaultValueService = defaultValueService;
    }
    ngOnInit() {
        this.websiteUrl = window.location.href.split('/')[0] + '//' + window.location.href.split('/')[2];
    }
}
StaticPageComponent.ɵfac = function StaticPageComponent_Factory(t) { return new (t || StaticPageComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_1__["DefaultValuesService"])); };
StaticPageComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: StaticPageComponent, selectors: [["vex-static-page"]], decls: 47, vars: 8, consts: [["HTTP-EQUIV", "content-type", "CONTENT", "text/html; charset=UTF-8"], ["id", "zohoSupportWebToCase", "align", "center", 1, "zoho-cancel-subscription-wrapper"], [1, "zoho-cancel-subscription-form", "shadow"], [1, "form-header"], ["src", "assets/img/opensis_logo.png"], [1, "form-body"], ["name", "zsWebToCase_748995000000441001", "id", "zsWebToCase_748995000000441001", "action", "https://help.opensis.com/support/WebToCase", "method", "POST", "onSubmit", "return zsValidateMandatoryFields()", "enctype", "multipart/form-data"], ["type", "hidden", "name", "xnQsjsdp", "value", "edbsnfe4ced82b749f6949c7d33dd5e621237"], ["type", "hidden", "name", "xmIwtLD", "value", "edbsn6ca0ae60cc716477bd68952b43864e1c3e55d2e23956d7a6061252ad7c2e43f4"], ["type", "hidden", "name", "xJdfEaS", "value", ""], ["type", "hidden", "name", "actionType", "value", "Q2FzZXM="], ["type", "hidden", "id", "property(module)", "value", "Cases"], ["type", "hidden", "id", "dependent_field_values_Cases", "value", "{\"JSON_VALUES\":{},\"JSON_SELECT_VALUES\":{},\"JSON_MAP_DEP_LABELS\":[]}"], ["type", "hidden", "name", "returnURL", "value", "https://opensis.com"], [1, "text-center", "font-bold", "text-green"], [1, "text-center", "mb-4"], [1, "mb-3"], [1, "font-bold", "text-blue"], [1, "mb-6"], ["type", "hidden", "maxlength", "120", "name", "First Name", 1, "manfieldbdr", 3, "value"], ["type", "hidden", "maxlength", "120", "name", "Contact Name", 1, "manfieldbdr", 3, "value"], ["type", "hidden", "maxlength", "120", "name", "Email", 1, "manfieldbdr", 3, "value"], ["type", "hidden", "maxlength", "120", "name", "openSIS URL", 1, "manfieldbdr", 3, "value"], [1, "text-left", "block", "mb-2", "font-bold"], ["type", "text", "maxlength", "255", "name", "Subject", "value", "", "required", "", 1, "manfieldbdr"], ["name", "Description", "maxlength", "3000", "width", "250", "height", "250", 1, "manfieldbdr"], [1, "text-center"], ["type", "submit", "id", "zsSubmitButton_748995000000441001", "value", "Submit", 1, "bg-red", "text-white", "px-6", "py-3", "rounded", "cursor-pointer"], ["type", "reset", "value", "Reset", "onclick", "zsResetWebForm('748995000000441001')", 1, "bg-white", "text-gray", "px-6", "py-3", "rounded", "border", "border-gray-light", "cursor-pointer"]], template: function StaticPageComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "html");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "head");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "META", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "body");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "img", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "div", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "form", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](10, "input", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](11, "input", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](12, "input", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](13, "input", 10);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](14, "input", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](15, "input", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](16, "input", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "h3", 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](18);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](19, "h1", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](20, "We're sad to see you go");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "p", 16);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](22, "All data related to the email address ");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "span", 17);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](24);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](25, " and the subdomain ");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](26, "span", 17);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](27);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](28, " will be permanently deleted when you cancel your subscription.");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "p", 18);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](30, "Would you mind sharing your feedback and the reason for your departure? It will help us make improvements to our system. I look forward to seeing you again in the future.");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](31, "input", 19);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](32, "input", 20);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](33, "input", 21);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](34, "input", 22);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](35, "div", 18);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](36, "label", 23);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](37, "Reason for Cancellation");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](38, "input", 24);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](39, "div", 18);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](40, "label", 23);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](41, "Comments");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](42, "textarea", 25);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](43, "div", 26);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](44, "input", 27);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](45, " \u00A0 \u00A0 ");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](46, "input", 28);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](18);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("Hello! ", ctx.defaultValueService.getTenantData().firstName, " ", ctx.defaultValueService.getTenantData().lastName, "");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.defaultValueService.getTenantData().workEmailId);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.websiteUrl);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", ctx.defaultValueService.getTenantData().firstName);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", ctx.defaultValueService.getTenantData().lastName);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", ctx.defaultValueService.getTenantData().workEmailId);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", ctx.websiteUrl);
    } }, styles: ["@import url(\"https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap\");\nbody[_ngcontent-%COMP%] {\n  background: #f5f5f8 url('zoho-bg.jpg') no-repeat;\n  background-size: cover;\n  font-family: \"Roboto\", sans-serif !important;\n}\n.zoho-cancel-subscription-wrapper[_ngcontent-%COMP%] {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  height: 100%;\n  width: 100%;\n}\n.zoho-cancel-subscription-form[_ngcontent-%COMP%] {\n  background: #fff;\n  border-radius: 10px;\n  width: 500px;\n}\n.zoho-cancel-subscription-form[_ngcontent-%COMP%]   .form-header[_ngcontent-%COMP%] {\n  padding: 20px 40px;\n  border-bottom: 1px solid rgba(0, 0, 0, 0.05);\n}\n.zoho-cancel-subscription-form[_ngcontent-%COMP%]   .form-body[_ngcontent-%COMP%] {\n  padding: 20px 40px 30px;\n}\n.field-label[_ngcontent-%COMP%] {\n  display: block;\n  margin-top: 10px;\n  margin-right: 20px;\n}\n#zohoSupportWebToCase[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%], #zohoSupportWebToCase[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%], #zohoSupportWebToCase[_ngcontent-%COMP%]   select[_ngcontent-%COMP%], .wb_common[_ngcontent-%COMP%] {\n  width: 280px;\n}\n#zohoSupportWebToCase[_ngcontent-%COMP%]   td[_ngcontent-%COMP%] {\n  padding: 11px 5px;\n}\n#zohoSupportWebToCase[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%], #zohoSupportWebToCase[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%], #zohoSupportWebToCase[_ngcontent-%COMP%]   select[_ngcontent-%COMP%] {\n  border: 1px solid #ddd;\n  padding: 10px 15px;\n  border-radius: 6px;\n  width: 100%;\n  box-sizing: border-box;\n}\n#zohoSupportWebToCase[_ngcontent-%COMP%]   select[_ngcontent-%COMP%] {\n  box-sizing: unset;\n}\n#zohoSupportWebToCase[_ngcontent-%COMP%]   .wb_selectDate[_ngcontent-%COMP%] {\n  width: auto;\n}\n#zohoSupportWebToCase[_ngcontent-%COMP%]   input.wb_cusInput[_ngcontent-%COMP%] {\n  width: 108px;\n}\n.wb_FtCon[_ngcontent-%COMP%] {\n  display: flex;\n  align-items: center;\n  justify-content: flex-end;\n  margin-top: 15px;\n  padding-left: 10px;\n}\n.wb_logoCon[_ngcontent-%COMP%] {\n  display: flex;\n  margin-left: 5px;\n}\n.wb_logo[_ngcontent-%COMP%] {\n  max-width: 16px;\n  max-height: 16px;\n}\n\n.manfieldbdr[_ngcontent-%COMP%] {\n  border-left: 4px solid #ff6448 !important;\n}\n.hleft[_ngcontent-%COMP%] {\n  text-align: left;\n}\ninput[type=file][_ngcontent-%COMP%]::-webkit-file-upload-button {\n  cursor: pointer;\n}\n.wtcsepcode[_ngcontent-%COMP%] {\n  margin: 0px 15px;\n  color: #aaa;\n  float: left;\n}\n.wtccloudattach[_ngcontent-%COMP%] {\n  float: left;\n  color: #00a3fe !important;\n  cursor: pointer;\n  text-decoration: none !important;\n}\n.wtccloudattach[_ngcontent-%COMP%]:hover {\n  text-decoration: none !important;\n}\n.wtcuploadinput[_ngcontent-%COMP%] {\n  cursor: pointer;\n  float: left;\n  width: 62px;\n  margin-top: -20px;\n  opacity: 0;\n  clear: both;\n}\n.wtcuploadfile[_ngcontent-%COMP%] {\n  float: left;\n  color: #00a3fe;\n}\n.filenamecls[_ngcontent-%COMP%] {\n  margin-right: 15px;\n  float: left;\n  margin-top: 5px;\n}\n.clboth[_ngcontent-%COMP%] {\n  clear: both;\n}\n#zsFileBrowseAttachments[_ngcontent-%COMP%] {\n  clear: both;\n  margin: 5px 0px 10px;\n}\n.zsFontClass[_ngcontent-%COMP%] {\n  vertical-align: top;\n}\n#tooltip-zc[_ngcontent-%COMP%] {\n  font: normal 12px Arial, Helvetica, sans-serif;\n  line-height: 18px;\n  position: absolute;\n  padding: 8px;\n  margin: 20px 0 0;\n  background: #fff;\n  border: 1px solid #528dd1;\n  border-radius: 5px;\n  color: #eee;\n  -webkit-box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);\n  -moz-box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);\n  z-index: 10000;\n  color: #777;\n}\n.wtcmanfield[_ngcontent-%COMP%] {\n  color: #f00;\n  font-size: 16px;\n  position: relative;\n  top: 2px;\n  left: 1px;\n}\n#zsCloudAttachmentIframe[_ngcontent-%COMP%] {\n  width: 100%;\n  height: 100%;\n  z-index: 99999 !important;\n  position: fixed;\n  left: 0px;\n  top: 0px;\n  border-style: none;\n  display: none;\n  background-color: #fff;\n}\n.wtchelpinfo[_ngcontent-%COMP%] {\n  background-position: -246px -485px;\n  width: 15px;\n  height: 15px;\n  display: inline-block;\n  position: relative;\n  top: 2px;\n  background-image: url(\"https://css.zohostatic.com/support/5312871/images/zs-mpro.png\");\n}\n.zsMaxSizeMessage[_ngcontent-%COMP%] {\n  font-size: 13px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvc3RhdGljLXBhZ2Uvc3RhdGljLXBhZ2UuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQVEsNEZBQUE7QUFFUjtFQUNFLGdEQUFBO0VBQ0Esc0JBQUE7RUFDQSw0Q0FBQTtBQUFGO0FBR0E7RUFDRSxhQUFBO0VBQ0EsbUJBQUE7RUFDQSx1QkFBQTtFQUNBLFlBQUE7RUFDQSxXQUFBO0FBQUY7QUFHQTtFQUNFLGdCQUFBO0VBQ0EsbUJBQUE7RUFDQSxZQUFBO0FBQUY7QUFHQTtFQUNFLGtCQUFBO0VBQ0EsNENBQUE7QUFBRjtBQUdBO0VBQ0UsdUJBQUE7QUFBRjtBQUdBO0VBQ0UsY0FBQTtFQUNBLGdCQUFBO0VBQ0Esa0JBQUE7QUFBRjtBQUdBOzs7O0VBSUUsWUFBQTtBQUFGO0FBR0E7RUFDRSxpQkFBQTtBQUFGO0FBR0E7OztFQUdFLHNCQUFBO0VBQ0Esa0JBQUE7RUFDQSxrQkFBQTtFQUNBLFdBQUE7RUFDQSxzQkFBQTtBQUFGO0FBR0E7RUFDRSxpQkFBQTtBQUFGO0FBR0E7RUFDRSxXQUFBO0FBQUY7QUFHQTtFQUNFLFlBQUE7QUFBRjtBQUdBO0VBQ0UsYUFBQTtFQUNBLG1CQUFBO0VBQ0EseUJBQUE7RUFDQSxnQkFBQTtFQUNBLGtCQUFBO0FBQUY7QUFHQTtFQUNFLGFBQUE7RUFDQSxnQkFBQTtBQUFGO0FBR0E7RUFDRSxlQUFBO0VBQ0EsZ0JBQUE7QUFBRjtBQUdBOzs7RUFBQTtBQUtBO0VBQ0UseUNBQUE7QUFERjtBQUlBO0VBQ0UsZ0JBQUE7QUFERjtBQUlBO0VBQ0UsZUFBQTtBQURGO0FBSUE7RUFDRSxnQkFBQTtFQUNBLFdBQUE7RUFDQSxXQUFBO0FBREY7QUFJQTtFQUNFLFdBQUE7RUFDQSx5QkFBQTtFQUNBLGVBQUE7RUFDQSxnQ0FBQTtBQURGO0FBSUE7RUFDRSxnQ0FBQTtBQURGO0FBSUE7RUFDRSxlQUFBO0VBQ0EsV0FBQTtFQUNBLFdBQUE7RUFDQSxpQkFBQTtFQUNBLFVBQUE7RUFDQSxXQUFBO0FBREY7QUFJQTtFQUNFLFdBQUE7RUFDQSxjQUFBO0FBREY7QUFJQTtFQUNFLGtCQUFBO0VBQ0EsV0FBQTtFQUNBLGVBQUE7QUFERjtBQUlBO0VBQ0UsV0FBQTtBQURGO0FBSUE7RUFDRSxXQUFBO0VBQ0Esb0JBQUE7QUFERjtBQUlBO0VBQ0UsbUJBQUE7QUFERjtBQUlBO0VBQ0UsOENBQUE7RUFDQSxpQkFBQTtFQUNBLGtCQUFBO0VBQ0EsWUFBQTtFQUNBLGdCQUFBO0VBQ0EsZ0JBQUE7RUFDQSx5QkFBQTtFQUdBLGtCQUFBO0VBQ0EsV0FBQTtFQUNBLG1EQUFBO0VBQ0EsZ0RBQUE7RUFDQSxjQUFBO0VBQ0EsV0FBQTtBQURGO0FBSUE7RUFDRSxXQUFBO0VBQ0EsZUFBQTtFQUNBLGtCQUFBO0VBQ0EsUUFBQTtFQUNBLFNBQUE7QUFERjtBQUlBO0VBQ0UsV0FBQTtFQUNBLFlBQUE7RUFDQSx5QkFBQTtFQUNBLGVBQUE7RUFDQSxTQUFBO0VBQ0EsUUFBQTtFQUNBLGtCQUFBO0VBQ0EsYUFBQTtFQUNBLHNCQUFBO0FBREY7QUFJQTtFQUNFLGtDQUFBO0VBQ0EsV0FBQTtFQUNBLFlBQUE7RUFDQSxxQkFBQTtFQUNBLGtCQUFBO0VBQ0EsUUFBQTtFQUNBLHNGQUFBO0FBREY7QUFJQTtFQUNFLGVBQUE7QUFERiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL3N0YXRpYy1wYWdlL3N0YXRpYy1wYWdlLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQGltcG9ydCB1cmwoXCJodHRwczovL2ZvbnRzLmdvb2dsZWFwaXMuY29tL2NzczI/ZmFtaWx5PVJvYm90bzp3Z2h0QDQwMDs1MDA7NzAwJmRpc3BsYXk9c3dhcFwiKTtcblxuYm9keSB7XG4gIGJhY2tncm91bmQ6ICNmNWY1ZjggdXJsKC4uLy4uLy4uL2Fzc2V0cy9pbWcvem9oby1iZy5qcGcpIG5vLXJlcGVhdDtcbiAgYmFja2dyb3VuZC1zaXplOiBjb3ZlcjtcbiAgZm9udC1mYW1pbHk6IFwiUm9ib3RvXCIsIHNhbnMtc2VyaWYgIWltcG9ydGFudDtcbn1cblxuLnpvaG8tY2FuY2VsLXN1YnNjcmlwdGlvbi13cmFwcGVyIHtcbiAgZGlzcGxheTogZmxleDtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gIGhlaWdodDogMTAwJTtcbiAgd2lkdGg6IDEwMCU7XG59XG5cbi56b2hvLWNhbmNlbC1zdWJzY3JpcHRpb24tZm9ybSB7XG4gIGJhY2tncm91bmQ6ICNmZmY7XG4gIGJvcmRlci1yYWRpdXM6IDEwcHg7XG4gIHdpZHRoOiA1MDBweDtcbn1cblxuLnpvaG8tY2FuY2VsLXN1YnNjcmlwdGlvbi1mb3JtIC5mb3JtLWhlYWRlciB7XG4gIHBhZGRpbmc6IDIwcHggNDBweDtcbiAgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkIHJnYmEoMCwgMCwgMCwgMC4wNSk7XG59XG5cbi56b2hvLWNhbmNlbC1zdWJzY3JpcHRpb24tZm9ybSAuZm9ybS1ib2R5IHtcbiAgcGFkZGluZzogMjBweCA0MHB4IDMwcHg7XG59XG5cbi5maWVsZC1sYWJlbCB7XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBtYXJnaW4tdG9wOiAxMHB4O1xuICBtYXJnaW4tcmlnaHQ6IDIwcHg7XG59XG5cbiN6b2hvU3VwcG9ydFdlYlRvQ2FzZSB0ZXh0YXJlYSxcbiN6b2hvU3VwcG9ydFdlYlRvQ2FzZSBpbnB1dFt0eXBlPXRleHRdLFxuI3pvaG9TdXBwb3J0V2ViVG9DYXNlIHNlbGVjdCxcbi53Yl9jb21tb24ge1xuICB3aWR0aDogMjgwcHg7XG59XG5cbiN6b2hvU3VwcG9ydFdlYlRvQ2FzZSB0ZCB7XG4gIHBhZGRpbmc6IDExcHggNXB4O1xufVxuXG4jem9ob1N1cHBvcnRXZWJUb0Nhc2UgdGV4dGFyZWEsXG4jem9ob1N1cHBvcnRXZWJUb0Nhc2UgaW5wdXRbdHlwZT10ZXh0XSxcbiN6b2hvU3VwcG9ydFdlYlRvQ2FzZSBzZWxlY3Qge1xuICBib3JkZXI6IDFweCBzb2xpZCAjZGRkO1xuICBwYWRkaW5nOiAxMHB4IDE1cHg7XG4gIGJvcmRlci1yYWRpdXM6IDZweDtcbiAgd2lkdGg6IDEwMCU7XG4gIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG59XG5cbiN6b2hvU3VwcG9ydFdlYlRvQ2FzZSBzZWxlY3Qge1xuICBib3gtc2l6aW5nOiB1bnNldDtcbn1cblxuI3pvaG9TdXBwb3J0V2ViVG9DYXNlIC53Yl9zZWxlY3REYXRlIHtcbiAgd2lkdGg6IGF1dG87XG59XG5cbiN6b2hvU3VwcG9ydFdlYlRvQ2FzZSBpbnB1dC53Yl9jdXNJbnB1dCB7XG4gIHdpZHRoOiAxMDhweDtcbn1cblxuLndiX0Z0Q29uIHtcbiAgZGlzcGxheTogZmxleDtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAganVzdGlmeS1jb250ZW50OiBmbGV4LWVuZDtcbiAgbWFyZ2luLXRvcDogMTVweDtcbiAgcGFkZGluZy1sZWZ0OiAxMHB4O1xufVxuXG4ud2JfbG9nb0NvbiB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIG1hcmdpbi1sZWZ0OiA1cHg7XG59XG5cbi53Yl9sb2dvIHtcbiAgbWF4LXdpZHRoOiAxNnB4O1xuICBtYXgtaGVpZ2h0OiAxNnB4O1xufVxuXG4vKi56c0Zvcm1DbGFzcyB7XG4gYmFja2dyb3VuZC1jb2xvcjogI2ZmZmZmZjtcbiB3aWR0aDogNjAwcHhcbn0qL1xuXG4ubWFuZmllbGRiZHIge1xuICBib3JkZXItbGVmdDogNHB4IHNvbGlkICNmZjY0NDggIWltcG9ydGFudDtcbn1cblxuLmhsZWZ0IHtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn1cblxuaW5wdXRbdHlwZT1maWxlXTo6LXdlYmtpdC1maWxlLXVwbG9hZC1idXR0b24ge1xuICBjdXJzb3I6IHBvaW50ZXI7XG59XG5cbi53dGNzZXBjb2RlIHtcbiAgbWFyZ2luOiAwcHggMTVweDtcbiAgY29sb3I6ICNhYWE7XG4gIGZsb2F0OiBsZWZ0O1xufVxuXG4ud3RjY2xvdWRhdHRhY2gge1xuICBmbG9hdDogbGVmdDtcbiAgY29sb3I6ICMwMGEzZmUgIWltcG9ydGFudDtcbiAgY3Vyc29yOiBwb2ludGVyO1xuICB0ZXh0LWRlY29yYXRpb246IG5vbmUgIWltcG9ydGFudDtcbn1cblxuLnd0Y2Nsb3VkYXR0YWNoOmhvdmVyIHtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lICFpbXBvcnRhbnQ7XG59XG5cbi53dGN1cGxvYWRpbnB1dCB7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgZmxvYXQ6IGxlZnQ7XG4gIHdpZHRoOiA2MnB4O1xuICBtYXJnaW4tdG9wOiAtMjBweDtcbiAgb3BhY2l0eTogMDtcbiAgY2xlYXI6IGJvdGg7XG59XG5cbi53dGN1cGxvYWRmaWxlIHtcbiAgZmxvYXQ6IGxlZnQ7XG4gIGNvbG9yOiAjMDBhM2ZlO1xufVxuXG4uZmlsZW5hbWVjbHMge1xuICBtYXJnaW4tcmlnaHQ6IDE1cHg7XG4gIGZsb2F0OiBsZWZ0O1xuICBtYXJnaW4tdG9wOiA1cHg7XG59XG5cbi5jbGJvdGgge1xuICBjbGVhcjogYm90aDtcbn1cblxuI3pzRmlsZUJyb3dzZUF0dGFjaG1lbnRzIHtcbiAgY2xlYXI6IGJvdGg7XG4gIG1hcmdpbjogNXB4IDBweCAxMHB4O1xufVxuXG4uenNGb250Q2xhc3Mge1xuICB2ZXJ0aWNhbC1hbGlnbjogdG9wO1xufVxuXG4jdG9vbHRpcC16YyB7XG4gIGZvbnQ6IG5vcm1hbCAxMnB4IEFyaWFsLCBIZWx2ZXRpY2EsIHNhbnMtc2VyaWY7XG4gIGxpbmUtaGVpZ2h0OiAxOHB4O1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHBhZGRpbmc6IDhweDtcbiAgbWFyZ2luOiAyMHB4IDAgMDtcbiAgYmFja2dyb3VuZDogI2ZmZjtcbiAgYm9yZGVyOiAxcHggc29saWQgIzUyOGRkMTtcbiAgLW1vei1ib3JkZXItcmFkaXVzOiA1cHg7XG4gIC13ZWJraXQtYm9yZGVyLXJhZGl1czogNXB4O1xuICBib3JkZXItcmFkaXVzOiA1cHg7XG4gIGNvbG9yOiAjZWVlO1xuICAtd2Via2l0LWJveC1zaGFkb3c6IDVweCA1cHggMjBweCByZ2JhKDAsIDAsIDAsIDAuMik7XG4gIC1tb3otYm94LXNoYWRvdzogNXB4IDVweCAyMHB4IHJnYmEoMCwgMCwgMCwgMC4yKTtcbiAgei1pbmRleDogMTAwMDA7XG4gIGNvbG9yOiAjNzc3O1xufVxuXG4ud3RjbWFuZmllbGQge1xuICBjb2xvcjogI2YwMDtcbiAgZm9udC1zaXplOiAxNnB4O1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gIHRvcDogMnB4O1xuICBsZWZ0OiAxcHg7XG59XG5cbiN6c0Nsb3VkQXR0YWNobWVudElmcmFtZSB7XG4gIHdpZHRoOiAxMDAlO1xuICBoZWlnaHQ6IDEwMCU7XG4gIHotaW5kZXg6IDk5OTk5ICFpbXBvcnRhbnQ7XG4gIHBvc2l0aW9uOiBmaXhlZDtcbiAgbGVmdDogMHB4O1xuICB0b3A6IDBweDtcbiAgYm9yZGVyLXN0eWxlOiBub25lO1xuICBkaXNwbGF5OiBub25lO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmO1xufVxuXG4ud3RjaGVscGluZm8ge1xuICBiYWNrZ3JvdW5kLXBvc2l0aW9uOiAtMjQ2cHggLTQ4NXB4O1xuICB3aWR0aDogMTVweDtcbiAgaGVpZ2h0OiAxNXB4O1xuICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgdG9wOiAycHg7XG4gIGJhY2tncm91bmQtaW1hZ2U6IHVybChcImh0dHBzOi8vY3NzLnpvaG9zdGF0aWMuY29tL3N1cHBvcnQvNTMxMjg3MS9pbWFnZXMvenMtbXByby5wbmdcIik7XG59XG5cbi56c01heFNpemVNZXNzYWdlIHtcbiAgZm9udC1zaXplOiAxM3B4O1xufSJdfQ== */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](StaticPageComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-static-page',
                templateUrl: './static-page.component.html',
                styleUrls: ['./static-page.component.scss']
            }]
    }], function () { return [{ type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_1__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/pages/student/add-activity/add-activity.component.ts":
/*!**********************************************************************!*\
  !*** ./src/app/pages/student/add-activity/add-activity.component.ts ***!
  \**********************************************************************/
/*! exports provided: AddActivityComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddActivityComponent", function() { return AddActivityComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
/* harmony import */ var _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @iconify/icons-ic/close */ "./node_modules/@iconify/icons-ic/close.js");
/* harmony import */ var _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _iconify_icons_ic_twotone_local_phone__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @iconify/icons-ic/twotone-local-phone */ "./node_modules/@iconify/icons-ic/twotone-local-phone.js");
/* harmony import */ var _iconify_icons_ic_twotone_local_phone__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_local_phone__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _iconify_icons_ic_twotone_groups__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @iconify/icons-ic/twotone-groups */ "./node_modules/@iconify/icons-ic/twotone-groups.js");
/* harmony import */ var _iconify_icons_ic_twotone_groups__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_groups__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _iconify_icons_ic_twotone_sticky_note_2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @iconify/icons-ic/twotone-sticky-note-2 */ "./node_modules/@iconify/icons-ic/twotone-sticky-note-2.js");
/* harmony import */ var _iconify_icons_ic_twotone_sticky_note_2__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_sticky_note_2__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _iconify_icons_ic_twotone_edit__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @iconify/icons-ic/twotone-edit */ "./node_modules/@iconify/icons-ic/twotone-edit.js");
/* harmony import */ var _iconify_icons_ic_twotone_edit__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_edit__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _iconify_icons_ic_twotone_cancel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @iconify/icons-ic/twotone-cancel */ "./node_modules/@iconify/icons-ic/twotone-cancel.js");
/* harmony import */ var _iconify_icons_ic_twotone_cancel__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_cancel__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @iconify/icons-ic/twotone-school */ "./node_modules/@iconify/icons-ic/twotone-school.js");
/* harmony import */ var _iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var _iconify_icons_ic_twotone_group__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @iconify/icons-ic/twotone-group */ "./node_modules/@iconify/icons-ic/twotone-group.js");
/* harmony import */ var _iconify_icons_ic_twotone_group__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_group__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var _iconify_icons_ic_twotone_person_outline__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @iconify/icons-ic/twotone-person-outline */ "./node_modules/@iconify/icons-ic/twotone-person-outline.js");
/* harmony import */ var _iconify_icons_ic_twotone_person_outline__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_person_outline__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var _iconify_icons_ic_twotone_escalator_warning__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @iconify/icons-ic/twotone-escalator-warning */ "./node_modules/@iconify/icons-ic/twotone-escalator-warning.js");
/* harmony import */ var _iconify_icons_ic_twotone_escalator_warning__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_escalator_warning__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var _iconify_icons_ic_twotone_restore__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @iconify/icons-ic/twotone-restore */ "./node_modules/@iconify/icons-ic/twotone-restore.js");
/* harmony import */ var _iconify_icons_ic_twotone_restore__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_twotone_restore__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var _iconify_icons_ic_round_info__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @iconify/icons-ic/round-info */ "./node_modules/@iconify/icons-ic/round-info.js");
/* harmony import */ var _iconify_icons_ic_round_info__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_iconify_icons_ic_round_info__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var src_app_common_static_data__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! src/app/common/static-data */ "./src/app/common/static-data.ts");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! src/app/models/communication.model */ "./src/app/models/communication.model.ts");
/* harmony import */ var src_app_models_course_manager_model__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! src/app/models/course-manager.model */ "./src/app/models/course-manager.model.ts");
/* harmony import */ var src_app_models_grade_level_model__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! src/app/models/grade-level.model */ "./src/app/models/grade-level.model.ts");
/* harmony import */ var _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @angular/cdk/keycodes */ "./node_modules/@angular/cdk/__ivy_ngcc__/fesm2015/keycodes.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _angular_material_moment_adapter__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @angular/material-moment-adapter */ "./node_modules/@angular/material-moment-adapter/__ivy_ngcc__/fesm2015/material-moment-adapter.js");
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @angular/material/core */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_24__);
/* harmony import */ var _shared_format_datepicker__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../shared/format-datepicker */ "./src/app/pages/shared/format-datepicker.ts");
/* harmony import */ var src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! src/app/enums/profiles.enum */ "./src/app/enums/profiles.enum.ts");
/* harmony import */ var _angular_material_table__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @angular/material/table */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/table.js");
/* harmony import */ var _angular_material_paginator__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @angular/material/paginator */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/paginator.js");
/* harmony import */ var _angular_material_sort__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @angular/material/sort */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/sort.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var src_app_services_communication_service__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! src/app/services/communication.service */ "./src/app/services/communication.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! src/app/common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _shared_shared_function__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../../shared/shared-function */ "./src/app/pages/shared/shared-function.ts");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! @angular/material/button */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/button.js");
/* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/icon.js");
/* harmony import */ var _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! @visurel/iconify-angular */ "./node_modules/@visurel/iconify-angular/__ivy_ngcc__/fesm2015/visurel-iconify-angular.js");
/* harmony import */ var _angular_material_divider__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! @angular/material/divider */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/divider.js");
/* harmony import */ var _shared_module_mat_spinner_overlay_mat_spinner_overlay_component__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../../shared-module/mat-spinner-overlay/mat-spinner-overlay.component */ "./src/app/pages/shared-module/mat-spinner-overlay/mat-spinner-overlay.component.ts");
/* harmony import */ var _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! @angular/material/slide-toggle */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/slide-toggle.js");
/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! @angular/material/form-field */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/form-field.js");
/* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! @angular/material/input */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/input.js");
/* harmony import */ var _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! @angular/material/datepicker */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/datepicker.js");
/* harmony import */ var ng_pick_datetime__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ng-pick-datetime */ "./node_modules/ng-pick-datetime/__ivy_ngcc__/picker.js");
/* harmony import */ var _angular_material_chips__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! @angular/material/chips */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/chips.js");
/* harmony import */ var _angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! @angular/material/autocomplete */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/autocomplete.js");
/* harmony import */ var _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! @angular/material/checkbox */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/checkbox.js");

























































const _c0 = ["toChipList"];
const _c1 = ["parentToChipList"];
function AddActivityComponent_vex_mat_spinner_overlay_0_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "vex-mat-spinner-overlay", 17);
} }
function AddActivityComponent_div_26_Template(rf, ctx) { if (rf & 1) {
    const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "mat-icon", 5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "mat-slide-toggle", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function AddActivityComponent_div_26_Template_mat_slide_toggle_ngModelChange_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6); const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r5.viewHistory = $event; })("change", function AddActivityComponent_div_26_Template_mat_slide_toggle_change_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6); const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r7.viewingHistory($event); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r1.icRestore);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", ctx_r1.viewHistory);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 3, "viewHistory"));
} }
function AddActivityComponent_div_28_div_1_mat_error_12_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "dateRequired"));
} }
function AddActivityComponent_div_28_div_1_mat_error_21_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "timeRequired"));
} }
function AddActivityComponent_div_28_div_1_mat_error_28_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "notesRequired"));
} }
function AddActivityComponent_div_28_div_1_mat_chip_38_Template(rf, ctx) { if (rf & 1) {
    const _r28 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-chip", 52);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("removed", function AddActivityComponent_div_28_div_1_mat_chip_38_Template_mat_chip_removed_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r28); const toRecipient_r26 = ctx.$implicit; const ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return ctx_r27.removeRecipientData(toRecipient_r26, "isTo"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "button", 53);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "mat-icon", 54);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "cancel");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const toRecipient_r26 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", toRecipient_r26.title, " ");
} }
function AddActivityComponent_div_28_div_1_mat_option_44_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 55);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const user_r29 = ctx.$implicit;
    const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", user_r29)("disabled", ctx_r20.userIsSelected(user_r29.id, "student"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate3"](" ", user_r29.firstGivenName, "", user_r29.middleName ? " " + user_r29.middleName + " " : " ", "", user_r29.lastFamilyName, " ");
} }
function AddActivityComponent_div_28_div_1_mat_chip_52_Template(rf, ctx) { if (rf & 1) {
    const _r32 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-chip", 52);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("removed", function AddActivityComponent_div_28_div_1_mat_chip_52_Template_mat_chip_removed_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r32); const oneParent_r30 = ctx.$implicit; const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return ctx_r31.removeParent(oneParent_r30); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "button", 53);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "mat-icon", 54);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "cancel");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const oneParent_r30 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", oneParent_r30.title, " ");
} }
function AddActivityComponent_div_28_div_1_mat_option_58_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 55);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const user_r33 = ctx.$implicit;
    const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", user_r33)("disabled", ctx_r25.userIsSelected(user_r33.id, "parent"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate3"]("", user_r33.firstGivenName, "", user_r33.middleName ? " " + user_r33.middleName + " " : " ", "", user_r33.lastFamilyName, "");
} }
function AddActivityComponent_div_28_div_1_Template(rf, ctx) { if (rf & 1) {
    const _r35 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 23);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "form", 24);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "ul", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "li");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "mat-form-field", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "input", 27);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](9, "mat-datepicker-toggle", 28);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](10, "mat-datepicker", null, 29);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](12, AddActivityComponent_div_28_div_1_mat_error_12_Template, 3, 3, "mat-error", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "li");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "mat-form-field", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](17, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](18, "input", 31);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](19, "owl-date-time", 32, 33);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](21, AddActivityComponent_div_28_div_1_mat_error_21_Template, 3, 3, "mat-error", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "mat-form-field", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](25);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](26, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](27, "textarea", 34);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](28, AddActivityComponent_div_28_div_1_mat_error_28_Template, 3, 3, "mat-error", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "div", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](30, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](31, "label", 36);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](32);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](33, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](34, "span", 37);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](35, "*");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](36, "mat-chip-list", 38, 39);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](38, AddActivityComponent_div_28_div_1_mat_chip_38_Template, 5, 1, "mat-chip", 40);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](39, "input", 41, 42);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](41, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](42, "mat-autocomplete", 43, 44);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("optionSelected", function AddActivityComponent_div_28_div_1_Template_mat_autocomplete_optionSelected_42_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r35); const ctx_r34 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r34.sendUserValue($event); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](44, AddActivityComponent_div_28_div_1_mat_option_44_Template, 2, 5, "mat-option", 45);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](45, "div", 46);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](46, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](47, "label", 36);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](48);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](49, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](50, "mat-chip-list", 47, 48);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](52, AddActivityComponent_div_28_div_1_mat_chip_52_Template, 5, 1, "mat-chip", 40);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](53, "input", 49, 50);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](55, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](56, "mat-autocomplete", 43, 51);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("optionSelected", function AddActivityComponent_div_28_div_1_Template_mat_autocomplete_optionSelected_56_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r35); const ctx_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r36.setParentToActivity($event); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](58, AddActivityComponent_div_28_div_1_mat_option_58_Template, 2, 5, "mat-option", 45);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const _r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](11);
    const _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](20);
    const _r16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](37);
    const _r19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](43);
    const _r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](51);
    const _r24 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](57);
    const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formGroup", ctx_r8.formNotes);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 30, "date"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matDatepicker", _r11);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("for", _r11);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r8.formNotes.controls.date == null ? null : ctx_r8.formNotes.controls.date.errors == null ? null : ctx_r8.formNotes.controls.date.errors.required);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](17, 32, "time"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("owlDateTimeTrigger", _r13)("owlDateTime", _r13);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pickerType", "timer")("hour12Timer", true);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r8.formNotes.controls.time == null ? null : ctx_r8.formNotes.controls.time.errors == null ? null : ctx_r8.formNotes.controls.time.errors.required);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](26, 34, "notes"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r8.formNotes.controls.notes == null ? null : ctx_r8.formNotes.controls.notes.errors == null ? null : ctx_r8.formNotes.controls.notes.errors.required);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](33, 36, "students"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r8.composeMessageDefaultData[0].recipientInfoViewModels);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](41, 38, "searchStudents"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formControl", ctx_r8.toSearchCtrl)("matAutocomplete", _r19)("matChipInputFor", _r16)("matChipInputSeparatorKeyCodes", ctx_r8.separatorKeysCodes);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r8.userList);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](49, 40, "parents"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r8.selectedParents);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](55, 42, "searchParentsOfTheTaggedStudents"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formControl", ctx_r8.parentSearchCtrl)("matAutocomplete", _r24)("matChipInputFor", _r21)("matChipInputSeparatorKeyCodes", ctx_r8.separatorKeysCodes)("disabled", !(ctx_r8.composeMessageDefaultData[0].recipientInfoViewModels == null ? null : ctx_r8.composeMessageDefaultData[0].recipientInfoViewModels.length));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r8.parentsList);
} }
function AddActivityComponent_div_28_div_2_mat_error_12_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "dateRequired"));
} }
function AddActivityComponent_div_28_div_2_mat_error_21_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "timeRequired"));
} }
function AddActivityComponent_div_28_div_2_mat_error_28_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "natureOfCallRequired"));
} }
function AddActivityComponent_div_28_div_2_mat_error_29_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r42 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r42.defaultValuesService.maxLengthValidationErrMsg(ctx_r42.formPhone.controls.natureOfCall == null ? null : ctx_r42.formPhone.controls.natureOfCall.errors == null ? null : ctx_r42.formPhone.controls.natureOfCall.errors.maxlength.requiredLength, ctx_r42.formPhone.controls.natureOfCall == null ? null : ctx_r42.formPhone.controls.natureOfCall.errors == null ? null : ctx_r42.formPhone.controls.natureOfCall.errors.maxlength.actualLength));
} }
function AddActivityComponent_div_28_div_2_mat_error_36_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "notesRequired"));
} }
function AddActivityComponent_div_28_div_2_mat_chip_46_Template(rf, ctx) { if (rf & 1) {
    const _r56 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-chip", 52);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("removed", function AddActivityComponent_div_28_div_2_mat_chip_46_Template_mat_chip_removed_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r56); const toRecipient_r54 = ctx.$implicit; const ctx_r55 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return ctx_r55.removeRecipientData(toRecipient_r54, "isTo"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "button", 53);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "mat-icon", 54);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "cancel");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const toRecipient_r54 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", toRecipient_r54.title, " ");
} }
function AddActivityComponent_div_28_div_2_mat_option_52_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 55);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const user_r57 = ctx.$implicit;
    const ctx_r48 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", user_r57)("disabled", ctx_r48.userIsSelected(user_r57.id, "student"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate3"](" ", user_r57.firstGivenName, "", user_r57.middleName ? " " + user_r57.middleName + " " : " ", "", user_r57.lastFamilyName, " ");
} }
function AddActivityComponent_div_28_div_2_mat_chip_60_Template(rf, ctx) { if (rf & 1) {
    const _r60 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-chip", 52);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("removed", function AddActivityComponent_div_28_div_2_mat_chip_60_Template_mat_chip_removed_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r60); const oneParent_r58 = ctx.$implicit; const ctx_r59 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return ctx_r59.removeParent(oneParent_r58); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "button", 53);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "mat-icon", 54);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "cancel");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const oneParent_r58 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", oneParent_r58.title, " ");
} }
function AddActivityComponent_div_28_div_2_mat_option_66_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 55);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const user_r61 = ctx.$implicit;
    const ctx_r53 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", user_r61)("disabled", ctx_r53.userIsSelected(user_r61.id, "parent"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate3"]("", user_r61.firstGivenName, "", user_r61.middleName ? " " + user_r61.middleName + " " : " ", "", user_r61.lastFamilyName, "");
} }
function AddActivityComponent_div_28_div_2_Template(rf, ctx) { if (rf & 1) {
    const _r63 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 23);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "form", 24);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "ul", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "li");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "mat-form-field", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "input", 27);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](9, "mat-datepicker-toggle", 28);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](10, "mat-datepicker", null, 29);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](12, AddActivityComponent_div_28_div_2_mat_error_12_Template, 3, 3, "mat-error", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "li");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "mat-form-field", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](17, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](18, "input", 31);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](19, "owl-date-time", 32, 33);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](21, AddActivityComponent_div_28_div_2_mat_error_21_Template, 3, 3, "mat-error", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "mat-form-field", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](25);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](26, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](27, "input", 56);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](28, AddActivityComponent_div_28_div_2_mat_error_28_Template, 3, 3, "mat-error", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](29, AddActivityComponent_div_28_div_2_mat_error_29_Template, 2, 1, "mat-error", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](30, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](31, "mat-form-field", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](32, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](33);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](34, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](35, "textarea", 34);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](36, AddActivityComponent_div_28_div_2_mat_error_36_Template, 3, 3, "mat-error", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](37, "div", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](38, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](39, "label", 36);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](40);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](41, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](42, "span", 37);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](43, "*");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](44, "mat-chip-list", 38, 39);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](46, AddActivityComponent_div_28_div_2_mat_chip_46_Template, 5, 1, "mat-chip", 40);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](47, "input", 41, 42);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](49, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](50, "mat-autocomplete", 43, 44);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("optionSelected", function AddActivityComponent_div_28_div_2_Template_mat_autocomplete_optionSelected_50_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r63); const ctx_r62 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r62.sendUserValue($event); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](52, AddActivityComponent_div_28_div_2_mat_option_52_Template, 2, 5, "mat-option", 45);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](53, "div", 46);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](54, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](55, "label", 36);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](56);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](57, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](58, "mat-chip-list", 47, 48);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](60, AddActivityComponent_div_28_div_2_mat_chip_60_Template, 5, 1, "mat-chip", 40);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](61, "input", 49, 50);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](63, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](64, "mat-autocomplete", 43, 51);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("optionSelected", function AddActivityComponent_div_28_div_2_Template_mat_autocomplete_optionSelected_64_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r63); const ctx_r64 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r64.setParentToActivity($event); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](66, AddActivityComponent_div_28_div_2_mat_option_66_Template, 2, 5, "mat-option", 45);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](67, "div", 57);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](68, "div", 58);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](69, "img", 59);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](70, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](71, "h4", 60);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](72);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](73, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](74, "p", 61);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](75);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](76, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](77, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](78, "mat-checkbox", 62);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function AddActivityComponent_div_28_div_2_Template_mat_checkbox_change_78_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r63); const ctx_r65 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r65.reminderCheck($event, "onThatDay"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](79);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](80, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](81, "mat-checkbox", 63);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function AddActivityComponent_div_28_div_2_Template_mat_checkbox_change_81_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r63); const ctx_r66 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r66.reminderCheck($event, "onPreviousDay"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](82);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](83, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const _r37 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](11);
    const _r39 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](20);
    const _r44 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](45);
    const _r47 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](51);
    const _r49 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](59);
    const _r52 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](65);
    const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formGroup", ctx_r9.formPhone);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 37, "date"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matDatepicker", _r37);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("for", _r37);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r9.formPhone.controls.date == null ? null : ctx_r9.formPhone.controls.date.errors == null ? null : ctx_r9.formPhone.controls.date.errors.required);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](17, 39, "time"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("owlDateTimeTrigger", _r39)("owlDateTime", _r39);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pickerType", "timer")("hour12Timer", true);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r9.formPhone.controls.time == null ? null : ctx_r9.formPhone.controls.time.errors == null ? null : ctx_r9.formPhone.controls.time.errors.required);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](26, 41, "natureOfCall"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r9.formPhone.controls.natureOfCall == null ? null : ctx_r9.formPhone.controls.natureOfCall.errors == null ? null : ctx_r9.formPhone.controls.natureOfCall.errors.required);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r9.formPhone.controls.natureOfCall == null ? null : ctx_r9.formPhone.controls.natureOfCall.errors == null ? null : ctx_r9.formPhone.controls.natureOfCall.errors.maxlength);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](34, 43, "notes"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r9.formPhone.controls.notes == null ? null : ctx_r9.formPhone.controls.notes.errors == null ? null : ctx_r9.formPhone.controls.notes.errors.required);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](41, 45, "students"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r9.composeMessageDefaultData[0].recipientInfoViewModels);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](49, 47, "searchStudents"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formControl", ctx_r9.toSearchCtrl)("matAutocomplete", _r47)("matChipInputFor", _r44)("matChipInputSeparatorKeyCodes", ctx_r9.separatorKeysCodes);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r9.userList);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](57, 49, "parents"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r9.selectedParents);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](63, 51, "searchParentsOfTheTaggedStudents"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formControl", ctx_r9.parentSearchCtrl)("matAutocomplete", _r52)("matChipInputFor", _r49)("matChipInputSeparatorKeyCodes", ctx_r9.separatorKeysCodes)("disabled", !(ctx_r9.composeMessageDefaultData[0].recipientInfoViewModels == null ? null : ctx_r9.composeMessageDefaultData[0].recipientInfoViewModels.length));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r9.parentsList);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](73, 53, "reminder"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](76, 55, "youCanSetReminderAboutYourFutureActivitiesThisReminderWillShowOnYourDashboard"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](80, 57, "onThatDay"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](83, 59, "onPreviousDay"));
} }
function AddActivityComponent_div_28_div_3_mat_error_12_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "dateRequired"));
} }
function AddActivityComponent_div_28_div_3_mat_error_21_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "timeRequired"));
} }
function AddActivityComponent_div_28_div_3_mat_error_28_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "purposeRequired"));
} }
function AddActivityComponent_div_28_div_3_mat_error_29_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r72 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r72.defaultValuesService.maxLengthValidationErrMsg(ctx_r72.formMeeting.controls.purpose == null ? null : ctx_r72.formMeeting.controls.purpose.errors == null ? null : ctx_r72.formMeeting.controls.purpose.errors.maxlength.requiredLength, ctx_r72.formMeeting.controls.purpose == null ? null : ctx_r72.formMeeting.controls.purpose.errors == null ? null : ctx_r72.formMeeting.controls.purpose.errors.maxlength.actualLength));
} }
function AddActivityComponent_div_28_div_3_mat_error_36_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-error");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "meetingAgendaRequired"));
} }
function AddActivityComponent_div_28_div_3_mat_chip_46_Template(rf, ctx) { if (rf & 1) {
    const _r86 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-chip", 52);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("removed", function AddActivityComponent_div_28_div_3_mat_chip_46_Template_mat_chip_removed_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r86); const toRecipient_r84 = ctx.$implicit; const ctx_r85 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return ctx_r85.removeRecipientData(toRecipient_r84, "isTo"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "button", 53);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "mat-icon", 54);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "cancel");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const toRecipient_r84 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", toRecipient_r84.title, " ");
} }
function AddActivityComponent_div_28_div_3_mat_option_52_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 55);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const user_r87 = ctx.$implicit;
    const ctx_r78 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", user_r87)("disabled", ctx_r78.userIsSelected(user_r87.id, "student"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate3"](" ", user_r87.firstGivenName, "", user_r87.middleName ? " " + user_r87.middleName + " " : " ", "", user_r87.lastFamilyName, " ");
} }
function AddActivityComponent_div_28_div_3_mat_chip_60_Template(rf, ctx) { if (rf & 1) {
    const _r90 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-chip", 52);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("removed", function AddActivityComponent_div_28_div_3_mat_chip_60_Template_mat_chip_removed_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r90); const oneParent_r88 = ctx.$implicit; const ctx_r89 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return ctx_r89.removeParent(oneParent_r88); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "button", 53);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "mat-icon", 54);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "cancel");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const oneParent_r88 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", oneParent_r88.title, " ");
} }
function AddActivityComponent_div_28_div_3_mat_option_66_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 55);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const user_r91 = ctx.$implicit;
    const ctx_r83 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", user_r91)("disabled", ctx_r83.userIsSelected(user_r91.id, "parent"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate3"]("", user_r91.firstGivenName, "", user_r91.middleName ? " " + user_r91.middleName + " " : " ", "", user_r91.lastFamilyName, "");
} }
function AddActivityComponent_div_28_div_3_Template(rf, ctx) { if (rf & 1) {
    const _r93 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 23);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "form", 24);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "ul", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "li");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "mat-form-field", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "input", 27);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](9, "mat-datepicker-toggle", 28);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](10, "mat-datepicker", null, 29);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](12, AddActivityComponent_div_28_div_3_mat_error_12_Template, 3, 3, "mat-error", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "li");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "mat-form-field", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](17, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](18, "input", 31);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](19, "owl-date-time", 32, 33);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](21, AddActivityComponent_div_28_div_3_mat_error_21_Template, 3, 3, "mat-error", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "mat-form-field", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](25);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](26, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](27, "input", 64);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](28, AddActivityComponent_div_28_div_3_mat_error_28_Template, 3, 3, "mat-error", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](29, AddActivityComponent_div_28_div_3_mat_error_29_Template, 2, 1, "mat-error", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](30, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](31, "mat-form-field", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](32, "mat-label");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](33);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](34, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](35, "textarea", 65);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](36, AddActivityComponent_div_28_div_3_mat_error_36_Template, 3, 3, "mat-error", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](37, "div", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](38, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](39, "label", 36);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](40);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](41, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](42, "span", 37);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](43, "*");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](44, "mat-chip-list", 38, 39);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](46, AddActivityComponent_div_28_div_3_mat_chip_46_Template, 5, 1, "mat-chip", 40);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](47, "input", 41, 42);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](49, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](50, "mat-autocomplete", 43, 44);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("optionSelected", function AddActivityComponent_div_28_div_3_Template_mat_autocomplete_optionSelected_50_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r93); const ctx_r92 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r92.sendUserValue($event); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](52, AddActivityComponent_div_28_div_3_mat_option_52_Template, 2, 5, "mat-option", 45);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](53, "div", 46);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](54, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](55, "label", 36);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](56);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](57, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](58, "mat-chip-list", 47, 48);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](60, AddActivityComponent_div_28_div_3_mat_chip_60_Template, 5, 1, "mat-chip", 40);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](61, "input", 49, 50);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](63, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](64, "mat-autocomplete", 43, 51);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("optionSelected", function AddActivityComponent_div_28_div_3_Template_mat_autocomplete_optionSelected_64_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r93); const ctx_r94 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r94.setParentToActivity($event); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](66, AddActivityComponent_div_28_div_3_mat_option_66_Template, 2, 5, "mat-option", 45);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](67, "div", 57);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](68, "div", 58);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](69, "img", 59);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](70, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](71, "h4", 60);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](72);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](73, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](74, "p", 61);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](75);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](76, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](77, "div");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](78, "mat-checkbox", 62);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function AddActivityComponent_div_28_div_3_Template_mat_checkbox_change_78_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r93); const ctx_r95 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r95.reminderCheck($event, "onThatDay"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](79);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](80, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](81, "mat-checkbox", 63);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function AddActivityComponent_div_28_div_3_Template_mat_checkbox_change_81_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r93); const ctx_r96 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r96.reminderCheck($event, "onPreviousDay"); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](82);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](83, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const _r67 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](11);
    const _r69 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](20);
    const _r74 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](45);
    const _r77 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](51);
    const _r79 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](59);
    const _r82 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](65);
    const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formGroup", ctx_r10.formMeeting);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 37, "date"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matDatepicker", _r67);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("for", _r67);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r10.formMeeting.controls.date == null ? null : ctx_r10.formMeeting.controls.date.errors == null ? null : ctx_r10.formMeeting.controls.date.errors.required);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](17, 39, "time"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("owlDateTimeTrigger", _r69)("owlDateTime", _r69);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pickerType", "timer")("hour12Timer", true);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r10.formMeeting.controls.time == null ? null : ctx_r10.formMeeting.controls.time.errors == null ? null : ctx_r10.formMeeting.controls.time.errors.required);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](26, 41, "purpose"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r10.formMeeting.controls.purpose == null ? null : ctx_r10.formMeeting.controls.purpose.errors == null ? null : ctx_r10.formMeeting.controls.purpose.errors.required);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r10.formMeeting.controls.purpose == null ? null : ctx_r10.formMeeting.controls.purpose.errors == null ? null : ctx_r10.formMeeting.controls.purpose.errors.maxlength);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](34, 43, "meetingAgenda"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r10.formMeeting.controls.meetingAgenda == null ? null : ctx_r10.formMeeting.controls.meetingAgenda.errors == null ? null : ctx_r10.formMeeting.controls.meetingAgenda.errors.required);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](41, 45, "students"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r10.composeMessageDefaultData[0].recipientInfoViewModels);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](49, 47, "searchStudents"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formControl", ctx_r10.toSearchCtrl)("matAutocomplete", _r77)("matChipInputFor", _r74)("matChipInputSeparatorKeyCodes", ctx_r10.separatorKeysCodes);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r10.userList);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](57, 49, "parents"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r10.selectedParents);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](63, 51, "searchParentsOfTheTaggedStudents"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formControl", ctx_r10.parentSearchCtrl)("matAutocomplete", _r82)("matChipInputFor", _r79)("matChipInputSeparatorKeyCodes", ctx_r10.separatorKeysCodes)("disabled", !(ctx_r10.composeMessageDefaultData[0].recipientInfoViewModels == null ? null : ctx_r10.composeMessageDefaultData[0].recipientInfoViewModels.length));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r10.parentsList);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](73, 53, "reminder"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](76, 55, "youCanSetReminderAboutYourFutureActivitiesThisReminderWillShowOnYourDashboard"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](80, 57, "onThatDay"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](83, 59, "onPreviousDay"));
} }
function AddActivityComponent_div_28_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 21);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, AddActivityComponent_div_28_div_1_Template, 59, 44, "div", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, AddActivityComponent_div_28_div_2_Template, 84, 61, "div", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, AddActivityComponent_div_28_div_3_Template, 84, 61, "div", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitch", ctx_r2.currentTab);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", "notes");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", "phoneCall");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", "meeting");
} }
function AddActivityComponent_div_29_th_11_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "th", 84);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "activities"));
} }
function AddActivityComponent_div_29_td_12_ng_container_4_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "slice");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const element_r105 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"]((element_r105 == null ? null : element_r105.notes == null ? null : element_r105.notes.length) > 100 ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](2, 1, element_r105 == null ? null : element_r105.notes, 0, 100) + "..." : element_r105 == null ? null : element_r105.notes);
} }
function AddActivityComponent_div_29_td_12_ng_container_5_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "slice");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "slice");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const element_r105 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](element_r105.callNature ? (element_r105 == null ? null : element_r105.callNature == null ? null : element_r105.callNature.length) > 100 ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](2, 1, element_r105 == null ? null : element_r105.callNature, 0, 100) + "..." : element_r105.callNature : (element_r105 == null ? null : element_r105.notes == null ? null : element_r105.notes.length) > 100 ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](3, 5, element_r105 == null ? null : element_r105.notes, 0, 100) + "..." : element_r105 == null ? null : element_r105.notes);
} }
function AddActivityComponent_div_29_td_12_ng_container_6_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "slice");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "slice");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
} if (rf & 2) {
    const element_r105 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](element_r105.meetingPurpose ? (element_r105 == null ? null : element_r105.meetingPurpose == null ? null : element_r105.meetingPurpose.length) > 100 ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](2, 1, element_r105 == null ? null : element_r105.meetingPurpose, 0, 100) + "..." : element_r105.meetingPurpose : (element_r105 == null ? null : element_r105.notes == null ? null : element_r105.notes.length) > 100 ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](3, 5, element_r105 == null ? null : element_r105.notes, 0, 100) + "..." : element_r105 == null ? null : element_r105.notes);
} }
function AddActivityComponent_div_29_td_12_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "td", 85);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 86);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "mat-icon", 87);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "p", 88);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, AddActivityComponent_div_29_td_12_ng_container_4_Template, 3, 5, "ng-container", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, AddActivityComponent_div_29_td_12_ng_container_5_Template, 4, 9, "ng-container", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, AddActivityComponent_div_29_td_12_ng_container_6_Template, 4, 9, "ng-container", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const element_r105 = ctx.$implicit;
    const ctx_r98 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", element_r105.activityType == "Notes" ? ctx_r98.icStickyNote : element_r105.activityType == "Phone" ? ctx_r98.icLocalPhone : ctx_r98.icGroups);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", element_r105.activityType == "Notes");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", element_r105.activityType == "Phone");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", element_r105.activityType == "Meeting");
} }
function AddActivityComponent_div_29_th_14_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "th", 89);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "dateAndTime"));
} }
function AddActivityComponent_div_29_td_15_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "td", 90);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "date");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const element_r112 = ctx.$implicit;
    const ctx_r100 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate3"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](2, 3, element_r112.activityDate, ctx_r100.defaultValuesService.getSchoolDateFormat()), "", " | ", "", element_r112.activityTime, " ");
} }
function AddActivityComponent_div_29_td_17_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "td", 91);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r101 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("colspan", ctx_r101.colspanLength);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r101.isLoading ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 2, "fetchingData") : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 4, "noData"), " ");
} }
function AddActivityComponent_div_29_tr_18_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "tr", 92);
} }
function AddActivityComponent_div_29_tr_19_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "tr", 93);
} }
function AddActivityComponent_div_29_tr_20_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "tr", 94);
} if (rf & 2) {
    const ctx_r104 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("hidden", ctx_r104.studentActivityData.data.length != 0 && ctx_r104.studentActivityData.data.length != null);
} }
const _c2 = function () { return ["noData"]; };
const _c3 = function () { return [10, 20]; };
function AddActivityComponent_div_29_Template(rf, ctx) { if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 6);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 66);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "mat-icon", 67);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "p", 68);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "span", 69);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "div", 70);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "table", 71);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](10, 72);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](11, AddActivityComponent_div_29_th_11_Template, 3, 3, "th", 73);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](12, AddActivityComponent_div_29_td_12_Template, 7, 4, "td", 74);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](13, 75);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](14, AddActivityComponent_div_29_th_14_Template, 3, 3, "th", 76);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](15, AddActivityComponent_div_29_td_15_Template, 3, 6, "td", 77);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](16, 78);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](17, AddActivityComponent_div_29_td_17_Template, 4, 6, "td", 79);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](18, AddActivityComponent_div_29_tr_18_Template, 1, 0, "tr", 80);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](19, AddActivityComponent_div_29_tr_19_Template, 1, 0, "tr", 81);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](20, AddActivityComponent_div_29_tr_20_Template, 1, 2, "tr", 82);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](21, "mat-paginator", 83);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx_r3.icInfo);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 12, "youreViewingTheActivityHistoryOfTheStudent"), ", ");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r3.studentFullName);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("dataSource", ctx_r3.studentActivityData);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](9);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matHeaderRowDef", ctx_r3.visibleCols);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matRowDefColumns", ctx_r3.visibleCols);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matFooterRowDef", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](14, _c2));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("hidden", ctx_r3.studentActivityData.data.length <= 0);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("length", ctx_r3.studentActivityData.data.length)("pageSize", ctx_r3.pageSize)("pageSizeOptions", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](15, _c3));
} }
function AddActivityComponent_mat_dialog_actions_30_Template(rf, ctx) { if (rf & 1) {
    const _r115 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-dialog-actions", 95);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "button", 96);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "button", 97);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function AddActivityComponent_mat_dialog_actions_30_Template_button_click_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r115); const ctx_r114 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r114.onSubmit(); });
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
} if (rf & 2) {
    const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "cancel"));
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r4.data.action == "add" || ctx_r4.data.action == "addOneActivityType" ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 4, "submit") : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 6, "update"));
} }
const moment = moment__WEBPACK_IMPORTED_MODULE_24___default.a || moment__WEBPACK_IMPORTED_MODULE_24__;
class AddActivityComponent {
    constructor(dialogRef, translateService, communicationService, snackbar, defaultValuesService, commonFunction, data) {
        this.dialogRef = dialogRef;
        this.translateService = translateService;
        this.communicationService = communicationService;
        this.snackbar = snackbar;
        this.defaultValuesService = defaultValuesService;
        this.commonFunction = commonFunction;
        this.data = data;
        this.icClose = _iconify_icons_ic_close__WEBPACK_IMPORTED_MODULE_2___default.a;
        this.icLocalPhone = _iconify_icons_ic_twotone_local_phone__WEBPACK_IMPORTED_MODULE_3___default.a;
        this.icGroups = _iconify_icons_ic_twotone_groups__WEBPACK_IMPORTED_MODULE_4___default.a;
        this.icStickyNote = _iconify_icons_ic_twotone_sticky_note_2__WEBPACK_IMPORTED_MODULE_5___default.a;
        this.icEdit = _iconify_icons_ic_twotone_edit__WEBPACK_IMPORTED_MODULE_6___default.a;
        this.icCancel = _iconify_icons_ic_twotone_cancel__WEBPACK_IMPORTED_MODULE_7___default.a;
        this.icSchool = _iconify_icons_ic_twotone_school__WEBPACK_IMPORTED_MODULE_8___default.a;
        this.icGroup = _iconify_icons_ic_twotone_group__WEBPACK_IMPORTED_MODULE_9___default.a;
        this.icPersonOutline = _iconify_icons_ic_twotone_person_outline__WEBPACK_IMPORTED_MODULE_10___default.a;
        this.icEscalatorWarning = _iconify_icons_ic_twotone_escalator_warning__WEBPACK_IMPORTED_MODULE_11___default.a;
        this.icRestore = _iconify_icons_ic_twotone_restore__WEBPACK_IMPORTED_MODULE_12___default.a;
        this.icInfo = _iconify_icons_ic_round_info__WEBPACK_IMPORTED_MODULE_13___default.a;
        this.currentTab = 'notes';
        this.participantList = true;
        this.showParticipant = false;
        this.serchDetails = false;
        this.addCommActivityModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_17__["AddCommActivityModel"]();
        this.allActivityListModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_17__["AllActivityListModel"]();
        this.editCommActivityModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_17__["EditCommActivityModel"]();
        this.deleteCommActivityModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_17__["DeleteCommActivityModel"]();
        this.gradeLevelList = [];
        this.courseList = [];
        this.toRecipientList = [];
        this.isAllUserSearched = false;
        this.userList = [];
        this.groupList = [];
        this.selectable = true;
        this.removable = true;
        this.separatorKeysCodes = [_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_20__["ENTER"], _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_20__["COMMA"]];
        this.getAllGradeLevelsModel = new src_app_models_grade_level_model__WEBPACK_IMPORTED_MODULE_19__["GetAllGradeLevelsModel"]();
        this.getAllCourseListModel = new src_app_models_course_manager_model__WEBPACK_IMPORTED_MODULE_18__["GetAllCourseListModel"]();
        this.addComposeMessageModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_17__["AddComposeMessageModel"]();
        this.allUsersFromSchoolModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_17__["AllUsersFromSchoolModel"]();
        this.composeMessageDefaultData = [
            {
                recipientInfoViewModels: this.toRecipientList,
                isTo: true
            },
        ];
        this.allUsersFromSchoolSubject$ = new rxjs__WEBPACK_IMPORTED_MODULE_21__["Subject"]();
        this.isLoading = false;
        this.historyViewable = false;
        this.viewHistory = false;
        this.studentActivityListFetched = false;
        this.profiles = src_app_enums_profiles_enum__WEBPACK_IMPORTED_MODULE_26__["ProfilesTypes"];
        this.studentActivityHistoryNotes = [];
        this.studentActivityHistoryPhoneCalls = [];
        this.studentActivityHistoryMeetings = [];
        this.pageSize = 10;
        this.displayedColumns = [
            { label: 'activities', property: 'activities', type: 'text', visible: true },
            { label: 'date', property: 'date', type: 'text', visible: true }
        ];
        this.cannotEdit = false;
        this.parentsList = [];
        this.selectedParents = [];
        this.searchingFor = "studentId";
        this.studentWithParentId = [];
    }
    ngOnInit() {
        var _a, _b, _c, _d, _e, _f, _g, _h;
        this.formInit();
        if (this.data.action == 'add') {
            this.modifyGroupListData();
            this.addParticipantList();
        }
        else if (this.data.action == 'edit') {
            this.currentTab = ((_a = this.data) === null || _a === void 0 ? void 0 : _a.selectedStudents.activityType) == 'Notes' ? 'notes' : ((_b = this.data) === null || _b === void 0 ? void 0 : _b.selectedStudents.activityType) == 'Phone' ? 'phoneCall' : 'meeting';
            this.patchStudentData();
            this.addParticipantForEdit();
            if (((_c = this.data) === null || _c === void 0 ? void 0 : _c.selectedStudents.initiatorId) != this.defaultValuesService.getUserId()) {
                this.cannotEdit = true;
            }
        }
        else if (this.data.action == 'addOneActivityType') {
            this.currentTab = ((_d = this.data) === null || _d === void 0 ? void 0 : _d.activityType) == 'notes' ? 'notes' : ((_e = this.data) === null || _e === void 0 ? void 0 : _e.activityType) == 'phone' ? 'phoneCall' : 'meeting';
            this.addParticipantForOneActivityType();
        }
        this.historyViewable = (_f = this.data) === null || _f === void 0 ? void 0 : _f.historyViewable;
        this.studentFullName = (_h = (_g = this.data) === null || _g === void 0 ? void 0 : _g.selectedStudents[0]) === null || _h === void 0 ? void 0 : _h.title;
        this.toSearchCtrl = new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"]();
        this.participantControl = new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"]();
        this.parentSearchCtrl = new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"]();
        this.studentActivityData = new _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatTableDataSource"]([]);
        if (this.cannotEdit === true) {
            this.makeFormFieldsDisabled();
        }
    }
    ngAfterViewInit() {
        // For searching
        this.toSearchCtrl.valueChanges.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__["debounceTime"])(500), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__["distinctUntilChanged"])()).subscribe((term) => {
            var _a, _b;
            if ((term === null || term === void 0 ? void 0 : term.trim().length) > 0) {
                this.searchingFor = "studentId";
                this.serchDetails = true;
                this.searchToInput = term;
                this.isAllUserSearched = ((_a = this.searchToInput) === null || _a === void 0 ? void 0 : _a.trim().length) >= 3 ? true : false;
                this.userList = [];
                if (((_b = this.searchToInput) === null || _b === void 0 ? void 0 : _b.trim().length) >= 3) {
                    let filterParams = [
                        {
                            columnName: "FirstGivenName",
                            filterOption: 1,
                            filterValue: this.searchToInput,
                            joinCondition: "and"
                        },
                        {
                            columnName: "profiletype",
                            filterOption: 11,
                            filterValue: "Student"
                        }
                    ];
                    Object.assign(this.allUsersFromSchoolModel, { filterParams: filterParams });
                    Object.assign(this.allUsersFromSchoolModel, { studentIds: [] });
                    this.allUsersFromSchoolSubject$.next();
                }
            }
            else {
                this.userList = [];
            }
        });
        this.parentSearchCtrl.valueChanges.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__["debounceTime"])(500), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__["distinctUntilChanged"])()).subscribe((term) => {
            if ((term === null || term === void 0 ? void 0 : term.trim().length) > 0) {
                this.searchingFor = "parentId";
                this.parentsList = [];
                if ((term === null || term === void 0 ? void 0 : term.trim().length) >= 3) {
                    let filterParams = [
                        {
                            columnName: "FirstGivenName",
                            filterOption: 1,
                            filterValue: term,
                            joinCondition: "and"
                        },
                        {
                            columnName: "profiletype",
                            filterOption: 11,
                            filterValue: "Parent"
                        }
                    ];
                    Object.assign(this.allUsersFromSchoolModel, { filterParams: filterParams });
                    let currentStudentIds = [];
                    this.composeMessageDefaultData[0].recipientInfoViewModels.forEach(oneStu => {
                        currentStudentIds.push(oneStu.participantStudentId);
                    });
                    Object.assign(this.allUsersFromSchoolModel, { studentIds: currentStudentIds });
                    this.allUsersFromSchoolSubject$.next();
                }
            }
            else {
                this.parentsList = [];
            }
        });
        this.allUsersFromSchool();
        this.studentActivityData.paginator = this.paginator;
    }
    formInit() {
        this.formNotes = new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormGroup"]({
            date: new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"](new Date(), _angular_forms__WEBPACK_IMPORTED_MODULE_15__["Validators"].required),
            time: new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"](new Date("1900-01-01T" + this.timeToUTC(this.getTimeNow())), _angular_forms__WEBPACK_IMPORTED_MODULE_15__["Validators"].required),
            notes: new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"]('', _angular_forms__WEBPACK_IMPORTED_MODULE_15__["Validators"].required),
        });
        this.formPhone = new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormGroup"]({
            date: new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"](new Date(), _angular_forms__WEBPACK_IMPORTED_MODULE_15__["Validators"].required),
            time: new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"](new Date("1900-01-01T" + this.timeToUTC(this.getTimeNow())), _angular_forms__WEBPACK_IMPORTED_MODULE_15__["Validators"].required),
            natureOfCall: new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"]('', [_angular_forms__WEBPACK_IMPORTED_MODULE_15__["Validators"].required, _angular_forms__WEBPACK_IMPORTED_MODULE_15__["Validators"].maxLength(150)]),
            notes: new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"]('', _angular_forms__WEBPACK_IMPORTED_MODULE_15__["Validators"].required),
            onThatDayCheck: new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"](false),
            onPreviousDayCheck: new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"](false)
            // participants: new FormControl('', Validators.required),
        });
        this.formMeeting = new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormGroup"]({
            date: new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"](new Date(), _angular_forms__WEBPACK_IMPORTED_MODULE_15__["Validators"].required),
            time: new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"](new Date("1900-01-01T" + this.timeToUTC(this.getTimeNow())), _angular_forms__WEBPACK_IMPORTED_MODULE_15__["Validators"].required),
            purpose: new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"]('', [_angular_forms__WEBPACK_IMPORTED_MODULE_15__["Validators"].required, _angular_forms__WEBPACK_IMPORTED_MODULE_15__["Validators"].maxLength(150)]),
            meetingAgenda: new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"]('', _angular_forms__WEBPACK_IMPORTED_MODULE_15__["Validators"].required),
            onThatDayCheck: new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"](false),
            onPreviousDayCheck: new _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControl"](false)
            // participants: new FormControl('', Validators.required),
        });
    }
    makeFormFieldsDisabled() {
        var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
        (_a = this.formNotes.get('date')) === null || _a === void 0 ? void 0 : _a.disable();
        (_b = this.formNotes.get('time')) === null || _b === void 0 ? void 0 : _b.disable();
        (_c = this.formNotes.get('notes')) === null || _c === void 0 ? void 0 : _c.disable();
        (_d = this.formPhone.get('date')) === null || _d === void 0 ? void 0 : _d.disable();
        (_e = this.formPhone.get('time')) === null || _e === void 0 ? void 0 : _e.disable();
        (_f = this.formPhone.get('natureOfCall')) === null || _f === void 0 ? void 0 : _f.disable();
        (_g = this.formPhone.get('notes')) === null || _g === void 0 ? void 0 : _g.disable();
        (_h = this.formPhone.get('onThatDayCheck')) === null || _h === void 0 ? void 0 : _h.disable();
        (_j = this.formPhone.get('onPreviousDayCheck')) === null || _j === void 0 ? void 0 : _j.disable();
        (_k = this.formMeeting.get('date')) === null || _k === void 0 ? void 0 : _k.disable();
        (_l = this.formMeeting.get('time')) === null || _l === void 0 ? void 0 : _l.disable();
        (_m = this.formMeeting.get('purpose')) === null || _m === void 0 ? void 0 : _m.disable();
        (_o = this.formMeeting.get('meetingAgenda')) === null || _o === void 0 ? void 0 : _o.disable();
        (_p = this.formMeeting.get('onThatDayCheck')) === null || _p === void 0 ? void 0 : _p.disable();
        (_q = this.formMeeting.get('onPreviousDayCheck')) === null || _q === void 0 ? void 0 : _q.disable();
    }
    getTimeNow() {
        let timeStr = '';
        let temptimeStr = new Date().toLocaleTimeString();
        if (temptimeStr.length == 10) {
            timeStr = temptimeStr.slice(0, 4) + temptimeStr.slice(7);
            return timeStr;
        }
        else {
            timeStr = temptimeStr.slice(0, 5) + temptimeStr.slice(8);
            return timeStr;
        }
    }
    modifyGroupListData() {
        this.groupList = this.data.groupList;
        if (this.groupList.length) {
            const lastIndex = this.groupList.length - 1;
            this.groupList.map((group, index) => {
                group.formattedName = index === lastIndex ? group.groupName : `${group.groupName},`;
                group.id = group.groupId;
                group.title = group.groupName;
                group.type = 'groupId';
            });
        }
    }
    addParticipantList() {
        var _a, _b;
        this.composeMessageDefaultData[0].recipientInfoViewModels = [];
        if (((_a = this.data) === null || _a === void 0 ? void 0 : _a.selectedStudents.length) > 0) {
            (_b = this.data) === null || _b === void 0 ? void 0 : _b.selectedStudents.map(item => {
                const middleName = item.middleName ? ' ' + item.middleName + ' ' : ' ';
                item.title = item.firstGivenName + middleName + item.lastFamilyName;
                this.composeMessageDefaultData[0].recipientInfoViewModels.push({
                    id: 0,
                    type: 'studentId',
                    participantStudentId: item.studentId,
                    title: item.title,
                    isStudent: true,
                    initiatorId: this.defaultValuesService.getUserId(),
                    createdBy: this.defaultValuesService.getUserGuidId()
                });
            });
        }
    }
    addParticipantForEdit() {
        var _a;
        this.composeMessageDefaultData[0].recipientInfoViewModels = [];
        (_a = this.data) === null || _a === void 0 ? void 0 : _a.selectedStudents.commActivityParticipants.map(item => {
            if (item.participantStudentId) {
                this.composeMessageDefaultData[0].recipientInfoViewModels.push({
                    id: item.id,
                    type: 'studentId',
                    participantStudentId: item.participantStudentId,
                    title: item.participantName,
                    isStudent: true,
                    initiatorId: item.initiatorId,
                    createdBy: item.createdBy
                });
            }
            else if (item.participantParentId) {
                this.selectedParents.push({
                    id: item.id,
                    type: 'parentId',
                    participantParentId: item.participantParentId,
                    title: item.participantName,
                    initiatorId: item.initiatorId,
                    createdBy: item.createdBy
                });
            }
        });
    }
    addParticipantForOneActivityType() {
        var _a, _b, _c, _d, _e, _f, _g, _h, _j;
        this.composeMessageDefaultData[0].recipientInfoViewModels = [];
        const middleName = ((_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a.selectedStudents) === null || _b === void 0 ? void 0 : _b.middleName) ? ' ' + ((_d = (_c = this.data) === null || _c === void 0 ? void 0 : _c.selectedStudents) === null || _d === void 0 ? void 0 : _d.middleName) + ' ' : ' ';
        // const middleName = this.data?.selectedStudents?.middleName !== null ? ' ' + this.data?.selectedStudents?.middleName + ' ' : ' ';
        let studentName = ((_f = (_e = this.data) === null || _e === void 0 ? void 0 : _e.selectedStudents) === null || _f === void 0 ? void 0 : _f.firstGivenName) + middleName + ((_h = (_g = this.data) === null || _g === void 0 ? void 0 : _g.selectedStudents) === null || _h === void 0 ? void 0 : _h.lastFamilyName);
        studentName = studentName.replace('null ', '');
        this.composeMessageDefaultData[0].recipientInfoViewModels.push({
            id: 0,
            type: 'studentId',
            participantStudentId: (_j = this.data) === null || _j === void 0 ? void 0 : _j.studentId,
            title: studentName,
            isStudent: true,
            initiatorId: this.defaultValuesService.getUserId(),
            createdBy: this.defaultValuesService.getUserGuidId()
        });
    }
    patchStudentData() {
        var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13;
        if (((_a = this.data) === null || _a === void 0 ? void 0 : _a.selectedStudents.activityType) == 'Notes') {
            this.formNotes.patchValue({
                date: (_b = this.data) === null || _b === void 0 ? void 0 : _b.selectedStudents.activityDate,
                time: new Date("1900-01-01T" + this.timeToUTC((_c = this.data) === null || _c === void 0 ? void 0 : _c.selectedStudents.activityTime)),
                notes: (_d = this.data) === null || _d === void 0 ? void 0 : _d.selectedStudents.notes,
            });
            this.currentTab = 'notes';
        }
        else if (((_e = this.data) === null || _e === void 0 ? void 0 : _e.selectedStudents.activityType) == 'Phone') {
            this.formPhone.patchValue({
                date: (_f = this.data) === null || _f === void 0 ? void 0 : _f.selectedStudents.activityDate,
                time: new Date("1900-01-01T" + this.timeToUTC((_g = this.data) === null || _g === void 0 ? void 0 : _g.selectedStudents.activityTime)),
                natureOfCall: (_h = this.data) === null || _h === void 0 ? void 0 : _h.selectedStudents.callNature,
                notes: (_j = this.data) === null || _j === void 0 ? void 0 : _j.selectedStudents.notes,
                onThatDayCheck: ((_l = (_k = this.data) === null || _k === void 0 ? void 0 : _k.selectedStudents) === null || _l === void 0 ? void 0 : _l.reminderDate) ? this.commonFunction.formatDateSaveWithoutTime((_o = (_m = this.data) === null || _m === void 0 ? void 0 : _m.selectedStudents) === null || _o === void 0 ? void 0 : _o.activityDate) === this.commonFunction.formatDateSaveWithoutTime((_q = (_p = this.data) === null || _p === void 0 ? void 0 : _p.selectedStudents) === null || _q === void 0 ? void 0 : _q.reminderDate) : false,
                onPreviousDayCheck: ((_s = (_r = this.data) === null || _r === void 0 ? void 0 : _r.selectedStudents) === null || _s === void 0 ? void 0 : _s.reminderDate) ? this.commonFunction.formatDateSaveWithoutTime((_u = (_t = this.data) === null || _t === void 0 ? void 0 : _t.selectedStudents) === null || _u === void 0 ? void 0 : _u.activityDate) > this.commonFunction.formatDateSaveWithoutTime((_w = (_v = this.data) === null || _v === void 0 ? void 0 : _v.selectedStudents) === null || _w === void 0 ? void 0 : _w.reminderDate) : false
            });
            this.currentTab = 'phoneCall';
        }
        else if (((_x = this.data) === null || _x === void 0 ? void 0 : _x.selectedStudents.activityType) == 'Meeting') {
            this.formMeeting.patchValue({
                date: (_y = this.data) === null || _y === void 0 ? void 0 : _y.selectedStudents.activityDate,
                time: new Date("1900-01-01T" + this.timeToUTC((_z = this.data) === null || _z === void 0 ? void 0 : _z.selectedStudents.activityTime)),
                purpose: (_0 = this.data) === null || _0 === void 0 ? void 0 : _0.selectedStudents.meetingPurpose,
                meetingAgenda: (_1 = this.data) === null || _1 === void 0 ? void 0 : _1.selectedStudents.notes,
                onThatDayCheck: ((_3 = (_2 = this.data) === null || _2 === void 0 ? void 0 : _2.selectedStudents) === null || _3 === void 0 ? void 0 : _3.reminderDate) ? this.commonFunction.formatDateSaveWithoutTime((_5 = (_4 = this.data) === null || _4 === void 0 ? void 0 : _4.selectedStudents) === null || _5 === void 0 ? void 0 : _5.activityDate) === this.commonFunction.formatDateSaveWithoutTime((_7 = (_6 = this.data) === null || _6 === void 0 ? void 0 : _6.selectedStudents) === null || _7 === void 0 ? void 0 : _7.reminderDate) : false,
                onPreviousDayCheck: ((_9 = (_8 = this.data) === null || _8 === void 0 ? void 0 : _8.selectedStudents) === null || _9 === void 0 ? void 0 : _9.reminderDate) ? this.commonFunction.formatDateSaveWithoutTime((_11 = (_10 = this.data) === null || _10 === void 0 ? void 0 : _10.selectedStudents) === null || _11 === void 0 ? void 0 : _11.activityDate) > this.commonFunction.formatDateSaveWithoutTime((_13 = (_12 = this.data) === null || _12 === void 0 ? void 0 : _12.selectedStudents) === null || _13 === void 0 ? void 0 : _13.reminderDate) : false
            });
            this.currentTab = 'meeting';
        }
    }
    timeToUTC(hourMin) {
        let timeStr = '';
        let amPm = hourMin.split(" ");
        let hhMMstr = amPm[0].split(":");
        if (amPm[1] == 'AM' || amPm[1] == 'am') {
            timeStr = (hhMMstr[0] == 12 ? '00:' + hhMMstr[1] : hourMin.slice(0, -3)) + ':00';
        }
        else {
            let temp = +hhMMstr[0] + 12;
            timeStr = temp.toString() + ':' + hhMMstr[1] + ':00';
        }
        return timeStr;
    }
    changeTab(status) {
        var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13;
        this.currentTab = status;
        this.formNotes.reset();
        this.formPhone.reset();
        this.formMeeting.reset();
        if (this.data.action == 'add' || this.data.action == 'addOneActivityType') {
            if (this.currentTab == 'notes') {
                this.formNotes.patchValue({
                    date: new Date(),
                    time: new Date("1900-01-01T" + this.timeToUTC(this.getTimeNow()))
                });
            }
            else if (this.currentTab == 'phoneCall') {
                this.formPhone.patchValue({
                    date: new Date(),
                    time: new Date("1900-01-01T" + this.timeToUTC(this.getTimeNow()))
                });
            }
            else if (this.currentTab == 'meeting') {
                this.formMeeting.patchValue({
                    date: new Date(),
                    time: new Date("1900-01-01T" + this.timeToUTC(this.getTimeNow()))
                });
            }
        }
        else if (this.data.action == 'edit') {
            if (((_a = this.data) === null || _a === void 0 ? void 0 : _a.selectedStudents.activityType) == 'Notes') {
                this.formNotes.patchValue({
                    date: (_b = this.data) === null || _b === void 0 ? void 0 : _b.selectedStudents.activityDate,
                    time: new Date("1900-01-01T" + this.timeToUTC((_c = this.data) === null || _c === void 0 ? void 0 : _c.selectedStudents.activityTime)),
                    notes: (_d = this.data) === null || _d === void 0 ? void 0 : _d.selectedStudents.notes,
                });
                this.formPhone.patchValue({
                    date: new Date(),
                    time: new Date("1900-01-01T" + this.timeToUTC(this.getTimeNow()))
                });
                this.formMeeting.patchValue({
                    date: new Date(),
                    time: new Date("1900-01-01T" + this.timeToUTC(this.getTimeNow()))
                });
            }
            if (((_e = this.data) === null || _e === void 0 ? void 0 : _e.selectedStudents.activityType) == 'Phone') {
                this.formNotes.patchValue({
                    date: new Date(),
                    time: new Date("1900-01-01T" + this.timeToUTC(this.getTimeNow()))
                });
                this.formPhone.patchValue({
                    date: (_f = this.data) === null || _f === void 0 ? void 0 : _f.selectedStudents.activityDate,
                    time: new Date("1900-01-01T" + this.timeToUTC((_g = this.data) === null || _g === void 0 ? void 0 : _g.selectedStudents.activityTime)),
                    natureOfCall: (_h = this.data) === null || _h === void 0 ? void 0 : _h.selectedStudents.callNature,
                    notes: (_j = this.data) === null || _j === void 0 ? void 0 : _j.selectedStudents.notes,
                    onThatDayCheck: ((_l = (_k = this.data) === null || _k === void 0 ? void 0 : _k.selectedStudents) === null || _l === void 0 ? void 0 : _l.reminderDate) ? this.commonFunction.formatDateSaveWithoutTime((_o = (_m = this.data) === null || _m === void 0 ? void 0 : _m.selectedStudents) === null || _o === void 0 ? void 0 : _o.activityDate) === this.commonFunction.formatDateSaveWithoutTime((_q = (_p = this.data) === null || _p === void 0 ? void 0 : _p.selectedStudents) === null || _q === void 0 ? void 0 : _q.reminderDate) : false,
                    onPreviousDayCheck: ((_s = (_r = this.data) === null || _r === void 0 ? void 0 : _r.selectedStudents) === null || _s === void 0 ? void 0 : _s.reminderDate) ? this.commonFunction.formatDateSaveWithoutTime((_u = (_t = this.data) === null || _t === void 0 ? void 0 : _t.selectedStudents) === null || _u === void 0 ? void 0 : _u.activityDate) > this.commonFunction.formatDateSaveWithoutTime((_w = (_v = this.data) === null || _v === void 0 ? void 0 : _v.selectedStudents) === null || _w === void 0 ? void 0 : _w.reminderDate) : false
                });
                this.formMeeting.patchValue({
                    date: new Date(),
                    time: new Date("1900-01-01T" + this.timeToUTC(this.getTimeNow()))
                });
            }
            if (((_x = this.data) === null || _x === void 0 ? void 0 : _x.selectedStudents.activityType) == 'Meeting') {
                this.formNotes.patchValue({
                    date: new Date(),
                    time: new Date("1900-01-01T" + this.timeToUTC(this.getTimeNow()))
                });
                this.formPhone.patchValue({
                    date: new Date(),
                    time: new Date("1900-01-01T" + this.timeToUTC(this.getTimeNow()))
                });
                this.formMeeting.patchValue({
                    date: (_y = this.data) === null || _y === void 0 ? void 0 : _y.selectedStudents.activityDate,
                    time: new Date("1900-01-01T" + this.timeToUTC((_z = this.data) === null || _z === void 0 ? void 0 : _z.selectedStudents.activityTime)),
                    purpose: (_0 = this.data) === null || _0 === void 0 ? void 0 : _0.selectedStudents.meetingPurpose,
                    meetingAgenda: (_1 = this.data) === null || _1 === void 0 ? void 0 : _1.selectedStudents.notes,
                    onThatDayCheck: ((_3 = (_2 = this.data) === null || _2 === void 0 ? void 0 : _2.selectedStudents) === null || _3 === void 0 ? void 0 : _3.reminderDate) ? this.commonFunction.formatDateSaveWithoutTime((_5 = (_4 = this.data) === null || _4 === void 0 ? void 0 : _4.selectedStudents) === null || _5 === void 0 ? void 0 : _5.activityDate) === this.commonFunction.formatDateSaveWithoutTime((_7 = (_6 = this.data) === null || _6 === void 0 ? void 0 : _6.selectedStudents) === null || _7 === void 0 ? void 0 : _7.reminderDate) : false,
                    onPreviousDayCheck: ((_9 = (_8 = this.data) === null || _8 === void 0 ? void 0 : _8.selectedStudents) === null || _9 === void 0 ? void 0 : _9.reminderDate) ? this.commonFunction.formatDateSaveWithoutTime((_11 = (_10 = this.data) === null || _10 === void 0 ? void 0 : _10.selectedStudents) === null || _11 === void 0 ? void 0 : _11.activityDate) > this.commonFunction.formatDateSaveWithoutTime((_13 = (_12 = this.data) === null || _12 === void 0 ? void 0 : _12.selectedStudents) === null || _13 === void 0 ? void 0 : _13.reminderDate) : false
                });
            }
        }
        // For Viewing History
        if (this.viewHistory) {
            this.setHistoryForCurrentTab();
        }
    }
    onSearchRecipient() {
        this.serchDetails = !this.serchDetails;
    }
    addParticipants() {
        this.participantList = false;
        this.showParticipant = true;
    }
    addRecipientData(data, source, sourceType) {
        const sourceTypeIndex = this.composeMessageDefaultData.findIndex(item => item[sourceType]);
        if (this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => (item.participantStudentId === data.id && item.type === data.type)) === -1) {
            this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.push({
                type: data.type,
                id: 0,
                participantStudentId: data.id,
                title: data.title,
                initiatorId: this.defaultValuesService.getUserId(),
                createdBy: this.defaultValuesService.getUserGuidId()
            });
            sourceTypeIndex === 0 ? this.toSearchCtrl.setValue('') : '';
            sourceTypeIndex === 0 ? this.serchDetails = false : '';
        }
    }
    removeRecipientData(data, sourceType) {
        const sourceTypeIndex = this.composeMessageDefaultData.findIndex(item => item[sourceType]);
        const index = this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.findIndex(item => (item.participantStudentId === data.participantStudentId && item.type === data.type));
        if (index !== -1) {
            this.composeMessageDefaultData[sourceTypeIndex].recipientInfoViewModels.splice(index, 1);
        }
        this.toChipList.nativeElement.value = '';
        this.toSearchCtrl.setValue(null);
        this.userList = [];
        // Removing parents of the student who is getting removed
        let stuIdx = this.studentWithParentId.findIndex(item => item.studentId == data.participantStudentId);
        if (stuIdx !== -1) {
            let parentsOfThisStudent = this.studentWithParentId[stuIdx].parentIds;
            if (parentsOfThisStudent) {
                parentsOfThisStudent.forEach(parentId => {
                    const parentIdx = this.selectedParents.findIndex(item => (item.participantParentId === parentId));
                    if (parentIdx !== -1) {
                        this.selectedParents.splice(parentIdx, 1);
                    }
                });
            }
        }
    }
    removeParent(data) {
        const index = this.selectedParents.findIndex(item => (item.participantParentId === data.id));
        if (index !== -1) {
            this.selectedParents.splice(index, 1);
        }
        this.parentToChipList.nativeElement.value = '';
        this.parentSearchCtrl.setValue(null);
        this.parentsList = [];
    }
    allUsersFromSchool() {
        this.allUsersFromSchoolSubject$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__["switchMap"])(() => this.communicationService.allUsersFromSchool(this.allUsersFromSchoolModel))).subscribe(res => {
            if (res) {
                if (res._failure) {
                    this.userList = [];
                    this.parentsList = [];
                    if (res.allUserViewList === null) {
                        this.snackbar.open(res._message, '', {
                            duration: 10000
                        });
                    }
                }
                else {
                    res.allUserViewList.map((item) => {
                        item.firstNameChar = item.firstGivenName.trim().charAt(0).toUpperCase();
                        item.bgColor = src_app_common_static_data__WEBPACK_IMPORTED_MODULE_14__["uniqueColors"][Math.floor(Math.random() * 9)].backgroundColor;
                        item.id = item.userId;
                        const middleName = item.middleName ? ' ' + item.middleName + ' ' : ' ';
                        item.title = item.firstGivenName + middleName + item.lastFamilyName;
                        item.type = this.searchingFor; // 'studentId';
                    });
                    if (this.searchingFor == 'studentId') {
                        this.userList = res.allUserViewList;
                    }
                    else if (this.searchingFor == 'parentId') {
                        this.parentsList = res.allUserViewList;
                        this.studentWithParentId = res.studentWithParentId;
                    }
                }
            }
            else {
                this.snackbar.open(this.defaultValuesService.getHttpError(), '', {
                    duration: 10000
                });
            }
        });
    }
    getAllSelectedTitle() {
        let titleStr = '';
        this.composeMessageDefaultData[0].recipientInfoViewModels.map(item => {
            titleStr += item.title + ', ';
        });
        titleStr = titleStr.substring(0, titleStr.length - 2);
        return titleStr;
    }
    reminderCheck(event, source) {
        if (this.currentTab === 'phoneCall') {
            if (event.checked) {
                if (source === 'onThatDay') {
                    this.formPhone.controls.onThatDayCheck.patchValue(true);
                    this.formPhone.controls.onPreviousDayCheck.patchValue(false);
                }
                else {
                    this.formPhone.controls.onPreviousDayCheck.patchValue(true);
                    this.formPhone.controls.onThatDayCheck.patchValue(false);
                }
            }
            else {
                this.formPhone.controls.onThatDayCheck.patchValue(false);
                this.formPhone.controls.onPreviousDayCheck.patchValue(false);
            }
        }
        else if (this.currentTab === 'meeting') {
            if (event.checked) {
                if (source === 'onThatDay') {
                    this.formMeeting.controls.onThatDayCheck.patchValue(true);
                    this.formMeeting.controls.onPreviousDayCheck.patchValue(false);
                }
                else {
                    this.formMeeting.controls.onPreviousDayCheck.patchValue(true);
                    this.formMeeting.controls.onThatDayCheck.patchValue(false);
                }
            }
            else {
                this.formMeeting.controls.onThatDayCheck.patchValue(false);
                this.formMeeting.controls.onPreviousDayCheck.patchValue(false);
            }
        }
    }
    onSubmit() {
        if (this.composeMessageDefaultData[0].recipientInfoViewModels.length < 1) {
            this.snackbar.open(this.defaultValuesService.translateKey('addParticipants'), '', {
                duration: 5000
            });
        }
        else {
            // Add Activity   
            if (this.data.action == 'add' || this.data.action == 'addOneActivityType') {
                if (this.formNotes.valid && this.composeMessageDefaultData[0].recipientInfoViewModels.length > 0) {
                    this.addCommActivityModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_17__["AddCommActivityModel"]();
                    this.addCommActivityModel.commActivity.activityId = 0;
                    this.addCommActivityModel.commActivity.activityType = "Notes";
                    this.addCommActivityModel.commActivity.isScheduled = true;
                    this.addCommActivityModel.commActivity.callNature = null;
                    this.addCommActivityModel.commActivity.meetingPurpose = null;
                    this.addCommActivityModel.commActivity.reminderDate = null;
                    this.addCommActivityModel.commActivity.activityDate = this.commonFunction.formatDateSaveWithoutTime(this.formNotes.value.date);
                    this.addCommActivityModel.commActivity.activityTime = moment(this.formNotes.value.time).format('LT').toString();
                    this.addCommActivityModel.commActivity.notes = this.formNotes.value.notes;
                    let tempArr = [];
                    // for Students
                    this.composeMessageDefaultData[0].recipientInfoViewModels.map(studentData => {
                        tempArr.push({
                            tenantId: this.defaultValuesService.getTenantID(),
                            schoolId: this.defaultValuesService.getSchoolID(),
                            activityId: 0,
                            initiatorId: this.defaultValuesService.getUserId(),
                            id: 0,
                            participantStudentId: studentData.participantStudentId,
                            participantName: studentData.title,
                            participantParentId: null,
                            participantStaffId: null,
                            participantGroupId: null,
                            createdBy: this.defaultValuesService.getUserGuidId()
                        });
                    });
                    // for Parents
                    this.selectedParents.map(parentData => {
                        tempArr.push({
                            tenantId: this.defaultValuesService.getTenantID(),
                            schoolId: this.defaultValuesService.getSchoolID(),
                            activityId: 0,
                            initiatorId: this.defaultValuesService.getUserId(),
                            id: 0,
                            participantStudentId: null,
                            participantName: parentData.title,
                            participantParentId: parentData.participantParentId,
                            participantStaffId: null,
                            participantGroupId: null,
                            createdBy: this.defaultValuesService.getUserGuidId()
                        });
                    });
                    this.addCommActivityModel.commActivity.commActivityParticipants = tempArr;
                    this.isLoading = true;
                    this.communicationService.addCommActivity(this.addCommActivityModel).subscribe(res => {
                        this.isLoading = false;
                        if (res) {
                            if (res._failure) {
                                this.snackbar.open(res._message, '', {
                                    duration: 5000
                                });
                            }
                            else {
                                this.snackbar.open(res._message, '', {
                                    duration: 5000
                                });
                                this.dialogRef.close('submited');
                            }
                        }
                        else {
                            this.snackbar.open(res._message, '', {
                                duration: 5000
                            });
                        }
                    });
                }
                else if (this.formPhone.valid && this.composeMessageDefaultData[0].recipientInfoViewModels.length > 0) {
                    this.addCommActivityModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_17__["AddCommActivityModel"]();
                    this.addCommActivityModel.commActivity.activityId = 0;
                    this.addCommActivityModel.commActivity.activityType = "Phone";
                    this.addCommActivityModel.commActivity.isScheduled = true;
                    this.addCommActivityModel.commActivity.callNature = this.formPhone.value.natureOfCall;
                    this.addCommActivityModel.reminderOnThatDay = this.formPhone.value.onThatDayCheck;
                    this.addCommActivityModel.reminderOnPreviousDay = this.formPhone.value.onPreviousDayCheck;
                    this.addCommActivityModel.commActivity.meetingPurpose = null;
                    this.addCommActivityModel.commActivity.reminderDate = null;
                    this.addCommActivityModel.commActivity.activityDate = this.commonFunction.formatDateSaveWithoutTime(this.formPhone.value.date);
                    this.addCommActivityModel.commActivity.activityTime = moment(this.formPhone.value.time).format('LT').toString();
                    this.addCommActivityModel.commActivity.notes = this.formPhone.value.notes;
                    let tempArr = [];
                    // for Students
                    this.composeMessageDefaultData[0].recipientInfoViewModels.map(studentData => {
                        tempArr.push({
                            tenantId: this.defaultValuesService.getTenantID(),
                            schoolId: this.defaultValuesService.getSchoolID(),
                            activityId: 0,
                            initiatorId: this.defaultValuesService.getUserId(),
                            id: 0,
                            participantStudentId: studentData.participantStudentId,
                            participantName: studentData.title,
                            participantParentId: null,
                            participantStaffId: null,
                            participantGroupId: null,
                            createdBy: this.defaultValuesService.getUserGuidId()
                        });
                    });
                    // for Parents
                    this.selectedParents.map(parentData => {
                        tempArr.push({
                            tenantId: this.defaultValuesService.getTenantID(),
                            schoolId: this.defaultValuesService.getSchoolID(),
                            activityId: 0,
                            initiatorId: this.defaultValuesService.getUserId(),
                            id: 0,
                            participantStudentId: null,
                            participantName: parentData.title,
                            participantParentId: parentData.participantParentId,
                            participantStaffId: null,
                            participantGroupId: null,
                            createdBy: this.defaultValuesService.getUserGuidId()
                        });
                    });
                    this.addCommActivityModel.commActivity.commActivityParticipants = tempArr;
                    this.isLoading = true;
                    this.communicationService.addCommActivity(this.addCommActivityModel).subscribe(res => {
                        this.isLoading = false;
                        if (res) {
                            if (res._failure) {
                                this.snackbar.open(res._message, '', {
                                    duration: 5000
                                });
                            }
                            else {
                                this.snackbar.open(res._message, '', {
                                    duration: 5000
                                });
                                this.dialogRef.close('submited');
                            }
                        }
                        else {
                            this.snackbar.open(res._message, '', {
                                duration: 5000
                            });
                        }
                    });
                }
                else if (this.formMeeting.valid && this.composeMessageDefaultData[0].recipientInfoViewModels.length > 0) {
                    this.addCommActivityModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_17__["AddCommActivityModel"]();
                    this.addCommActivityModel.commActivity.activityId = 0;
                    this.addCommActivityModel.commActivity.activityType = "Meeting";
                    this.addCommActivityModel.commActivity.isScheduled = true;
                    this.addCommActivityModel.commActivity.callNature = null;
                    this.addCommActivityModel.commActivity.meetingPurpose = this.formMeeting.value.purpose;
                    this.addCommActivityModel.reminderOnThatDay = this.formMeeting.value.onThatDayCheck;
                    this.addCommActivityModel.reminderOnPreviousDay = this.formMeeting.value.onPreviousDayCheck;
                    this.addCommActivityModel.commActivity.reminderDate = null;
                    this.addCommActivityModel.commActivity.activityDate = this.commonFunction.formatDateSaveWithoutTime(this.formMeeting.value.date);
                    this.addCommActivityModel.commActivity.activityTime = moment(this.formMeeting.value.time).format('LT').toString();
                    this.addCommActivityModel.commActivity.notes = this.formMeeting.value.meetingAgenda;
                    let tempArr = [];
                    // for Students
                    this.composeMessageDefaultData[0].recipientInfoViewModels.map(studentData => {
                        tempArr.push({
                            tenantId: this.defaultValuesService.getTenantID(),
                            schoolId: this.defaultValuesService.getSchoolID(),
                            activityId: 0,
                            initiatorId: this.defaultValuesService.getUserId(),
                            id: 0,
                            participantStudentId: studentData.participantStudentId,
                            participantName: studentData.title,
                            participantParentId: null,
                            participantStaffId: null,
                            participantGroupId: null,
                            createdBy: this.defaultValuesService.getUserGuidId()
                        });
                    });
                    // for Parents
                    this.selectedParents.map(parentData => {
                        tempArr.push({
                            tenantId: this.defaultValuesService.getTenantID(),
                            schoolId: this.defaultValuesService.getSchoolID(),
                            activityId: 0,
                            initiatorId: this.defaultValuesService.getUserId(),
                            id: 0,
                            participantStudentId: null,
                            participantName: parentData.title,
                            participantParentId: parentData.participantParentId,
                            participantStaffId: null,
                            participantGroupId: null,
                            createdBy: this.defaultValuesService.getUserGuidId()
                        });
                    });
                    this.addCommActivityModel.commActivity.commActivityParticipants = tempArr;
                    this.isLoading = true;
                    this.communicationService.addCommActivity(this.addCommActivityModel).subscribe(res => {
                        this.isLoading = false;
                        if (res) {
                            if (res._failure) {
                                this.snackbar.open(res._message, '', {
                                    duration: 5000
                                });
                            }
                            else {
                                this.snackbar.open(res._message, '', {
                                    duration: 5000
                                });
                                this.dialogRef.close('submited');
                            }
                        }
                        else {
                            this.snackbar.open(res._message, '', {
                                duration: 5000
                            });
                        }
                    });
                }
                else {
                    this.formNotes.markAllAsTouched();
                    this.formPhone.markAllAsTouched();
                    this.formMeeting.markAllAsTouched();
                }
                // Edit & Update Activity Data
            }
            else if (this.data.action == 'edit') {
                if (this.currentTab == 'notes' && (this.formNotes.valid || this.formNotes.disabled) && this.composeMessageDefaultData[0].recipientInfoViewModels.length > 0) {
                    this.editCommActivityModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_17__["EditCommActivityModel"]();
                    this.editCommActivityModel.commActivity.activityId = this.data.selectedStudents.activityId;
                    this.editCommActivityModel.commActivity.activityType = "Notes";
                    this.editCommActivityModel.commActivity.isScheduled = false;
                    this.editCommActivityModel.commActivity.callNature = null;
                    this.editCommActivityModel.commActivity.meetingPurpose = null;
                    this.editCommActivityModel.commActivity.reminderDate = null;
                    this.editCommActivityModel.commActivity.activityDate = this.commonFunction.formatDateSaveWithoutTime(this.formNotes.value.date);
                    this.editCommActivityModel.commActivity.activityTime = moment(this.formNotes.value.time).format('LT').toString();
                    this.editCommActivityModel.commActivity.notes = this.formNotes.value.notes;
                    let tempArr = [];
                    // for Students
                    this.composeMessageDefaultData[0].recipientInfoViewModels.map(studentData => {
                        tempArr.push({
                            tenantId: this.defaultValuesService.getTenantID(),
                            schoolId: this.defaultValuesService.getSchoolID(),
                            activityId: this.data.selectedStudents.activityId,
                            initiatorId: studentData.initiatorId,
                            id: studentData.id,
                            participantStudentId: studentData.participantStudentId,
                            participantParentId: null,
                            participantStaffId: null,
                            participantGroupId: null,
                            createdBy: studentData === null || studentData === void 0 ? void 0 : studentData.createdBy,
                            updatedBy: this.defaultValuesService.getUserGuidId()
                        });
                    });
                    // for Parents
                    this.selectedParents.map(parentData => {
                        tempArr.push({
                            tenantId: this.defaultValuesService.getTenantID(),
                            schoolId: this.defaultValuesService.getSchoolID(),
                            activityId: this.data.selectedStudents.activityId,
                            initiatorId: parentData.initiatorId,
                            id: parentData.id,
                            participantStudentId: null,
                            participantName: parentData.title,
                            participantParentId: parentData.participantParentId,
                            participantStaffId: null,
                            participantGroupId: null,
                            createdBy: parentData === null || parentData === void 0 ? void 0 : parentData.createdBy,
                            updatedBy: this.defaultValuesService.getUserGuidId()
                        });
                    });
                    // if (this.composeMessageDefaultData[0].recipientInfoViewModels.length == 1) {
                    //   this.editCommActivityModel.commActivity.commActivityParticipants = [];
                    // } else if (this.composeMessageDefaultData[0].recipientInfoViewModels.length > 1) {
                    this.editCommActivityModel.commActivity.commActivityParticipants = tempArr;
                    // }
                    this.isLoading = true;
                    this.communicationService.editCommActivity(this.editCommActivityModel).subscribe(res => {
                        this.isLoading = false;
                        if (res) {
                            if (res._failure) {
                                this.snackbar.open(res._message, '', {
                                    duration: 5000
                                });
                            }
                            else {
                                this.snackbar.open(res._message, '', {
                                    duration: 5000
                                });
                                this.dialogRef.close('submited');
                            }
                        }
                        else {
                            this.snackbar.open(res._message, '', {
                                duration: 5000
                            });
                        }
                    });
                }
                else if (this.currentTab == 'phoneCall' && (this.formPhone.valid || this.formPhone.disabled) && this.composeMessageDefaultData[0].recipientInfoViewModels.length > 0) {
                    this.editCommActivityModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_17__["EditCommActivityModel"]();
                    this.editCommActivityModel.commActivity.activityId = this.data.selectedStudents.activityId;
                    this.editCommActivityModel.commActivity.activityType = "Phone";
                    this.editCommActivityModel.commActivity.isScheduled = false;
                    this.editCommActivityModel.commActivity.callNature = this.formPhone.value.natureOfCall;
                    this.editCommActivityModel.reminderOnThatDay = this.formPhone.value.onThatDayCheck;
                    this.editCommActivityModel.reminderOnPreviousDay = this.formPhone.value.onPreviousDayCheck;
                    this.editCommActivityModel.commActivity.meetingPurpose = null;
                    this.editCommActivityModel.commActivity.reminderDate = null;
                    this.editCommActivityModel.commActivity.activityDate = this.commonFunction.formatDateSaveWithoutTime(this.formPhone.value.date);
                    this.editCommActivityModel.commActivity.activityTime = moment(this.formPhone.value.time).format('LT').toString();
                    this.editCommActivityModel.commActivity.notes = this.formPhone.value.notes;
                    let tempArr = [];
                    // for Students
                    this.composeMessageDefaultData[0].recipientInfoViewModels.map(studentData => {
                        tempArr.push({
                            tenantId: this.defaultValuesService.getTenantID(),
                            schoolId: this.defaultValuesService.getSchoolID(),
                            activityId: this.data.selectedStudents.activityId,
                            initiatorId: studentData.initiatorId,
                            id: studentData.id,
                            participantStudentId: studentData.participantStudentId,
                            participantParentId: null,
                            participantStaffId: null,
                            participantGroupId: null,
                            createdBy: studentData === null || studentData === void 0 ? void 0 : studentData.createdBy,
                            updatedBy: this.defaultValuesService.getUserGuidId()
                        });
                    });
                    // for Parents
                    this.selectedParents.map(parentData => {
                        tempArr.push({
                            tenantId: this.defaultValuesService.getTenantID(),
                            schoolId: this.defaultValuesService.getSchoolID(),
                            activityId: this.data.selectedStudents.activityId,
                            initiatorId: parentData.initiatorId,
                            id: parentData.id,
                            participantStudentId: null,
                            participantName: parentData.title,
                            participantParentId: parentData.participantParentId,
                            participantStaffId: null,
                            participantGroupId: null,
                            createdBy: parentData === null || parentData === void 0 ? void 0 : parentData.createdBy,
                            updatedBy: this.defaultValuesService.getUserGuidId()
                        });
                    });
                    // if (this.composeMessageDefaultData[0].recipientInfoViewModels.length == 1) {
                    //   this.editCommActivityModel.commActivity.commActivityParticipants = [];
                    // } else if (this.composeMessageDefaultData[0].recipientInfoViewModels.length > 1) {
                    this.editCommActivityModel.commActivity.commActivityParticipants = tempArr;
                    // }
                    this.isLoading = true;
                    this.communicationService.editCommActivity(this.editCommActivityModel).subscribe(res => {
                        this.isLoading = false;
                        if (res) {
                            if (res._failure) {
                                this.snackbar.open(res._message, '', {
                                    duration: 5000
                                });
                            }
                            else {
                                this.snackbar.open(res._message, '', {
                                    duration: 5000
                                });
                                this.dialogRef.close('submited');
                            }
                        }
                        else {
                            this.snackbar.open(res._message, '', {
                                duration: 5000
                            });
                        }
                    });
                }
                else if (this.currentTab == 'meeting' && (this.formMeeting.valid || this.formMeeting.disabled) && this.composeMessageDefaultData[0].recipientInfoViewModels.length > 0) {
                    this.editCommActivityModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_17__["EditCommActivityModel"]();
                    this.editCommActivityModel.commActivity.activityId = this.data.selectedStudents.activityId;
                    this.editCommActivityModel.commActivity.activityType = "Meeting";
                    this.editCommActivityModel.commActivity.isScheduled = false;
                    this.editCommActivityModel.commActivity.callNature = null;
                    this.editCommActivityModel.commActivity.meetingPurpose = this.formMeeting.value.purpose;
                    this.editCommActivityModel.reminderOnThatDay = this.formMeeting.value.onThatDayCheck;
                    this.editCommActivityModel.reminderOnPreviousDay = this.formMeeting.value.onPreviousDayCheck;
                    this.editCommActivityModel.commActivity.reminderDate = null;
                    this.editCommActivityModel.commActivity.activityDate = this.commonFunction.formatDateSaveWithoutTime(this.formMeeting.value.date);
                    this.editCommActivityModel.commActivity.activityTime = moment(this.formMeeting.value.time).format('LT').toString();
                    this.editCommActivityModel.commActivity.notes = this.formMeeting.value.meetingAgenda;
                    let tempArr = [];
                    // for Students
                    this.composeMessageDefaultData[0].recipientInfoViewModels.map(studentData => {
                        tempArr.push({
                            tenantId: this.defaultValuesService.getTenantID(),
                            schoolId: this.defaultValuesService.getSchoolID(),
                            activityId: this.data.selectedStudents.activityId,
                            initiatorId: studentData.initiatorId,
                            id: studentData.id,
                            participantStudentId: studentData.participantStudentId,
                            participantParentId: null,
                            participantStaffId: null,
                            participantGroupId: null,
                            createdBy: studentData === null || studentData === void 0 ? void 0 : studentData.createdBy,
                            updatedBy: this.defaultValuesService.getUserGuidId()
                        });
                    });
                    // for Parents
                    this.selectedParents.map(parentData => {
                        tempArr.push({
                            tenantId: this.defaultValuesService.getTenantID(),
                            schoolId: this.defaultValuesService.getSchoolID(),
                            activityId: this.data.selectedStudents.activityId,
                            initiatorId: parentData.initiatorId,
                            id: parentData.id,
                            participantStudentId: null,
                            participantName: parentData.title,
                            participantParentId: parentData.participantParentId,
                            participantStaffId: null,
                            participantGroupId: null,
                            createdBy: parentData === null || parentData === void 0 ? void 0 : parentData.createdBy,
                            updatedBy: this.defaultValuesService.getUserGuidId()
                        });
                    });
                    // if (this.composeMessageDefaultData[0].recipientInfoViewModels.length == 1) {
                    //   this.editCommActivityModel.commActivity.commActivityParticipants = [];
                    // } else if (this.composeMessageDefaultData[0].recipientInfoViewModels.length > 1) {
                    this.editCommActivityModel.commActivity.commActivityParticipants = tempArr;
                    // }
                    this.isLoading = true;
                    this.communicationService.editCommActivity(this.editCommActivityModel).subscribe(res => {
                        this.isLoading = false;
                        if (res) {
                            if (res._failure) {
                                this.snackbar.open(res._message, '', {
                                    duration: 5000
                                });
                            }
                            else {
                                this.snackbar.open(res._message, '', {
                                    duration: 5000
                                });
                                this.dialogRef.close('submited');
                            }
                        }
                        else {
                            this.snackbar.open(res._message, '', {
                                duration: 5000
                            });
                        }
                    });
                }
                else {
                    this.formNotes.markAllAsTouched();
                    this.formPhone.markAllAsTouched();
                    this.formMeeting.markAllAsTouched();
                }
            }
        }
    }
    userIsSelected(userId, userType) {
        if (userType == 'student') {
            let foundUser = this.composeMessageDefaultData[0].recipientInfoViewModels.find(studentData => {
                return studentData.participantStudentId == userId;
            });
            return (foundUser ? true : false);
        }
        else if (userType == 'parent') {
            let foundUser = this.selectedParents.find(parentData => {
                return parentData.participantParentId == userId;
            });
            return (foundUser ? true : false);
        }
    }
    sendUserValue(event) {
        this.addRecipientData(event.option.value, 'userList', 'isTo');
        this.toChipList.nativeElement.value = '';
        this.toSearchCtrl.setValue(null);
        this.userList = [];
    }
    setParentToActivity(event) {
        let data = event.option.value;
        this.selectedParents.push({
            type: data.type,
            id: 0,
            participantParentId: data.id,
            title: data.title,
            initiatorId: this.defaultValuesService.getUserId(),
            createdBy: this.defaultValuesService.getUserGuidId()
        });
        this.parentToChipList.nativeElement.value = '';
        this.parentSearchCtrl.setValue(null);
        this.parentsList = [];
    }
    viewingHistory(event) {
        if (event.checked) {
            if (!this.studentActivityListFetched) {
                this.getAllActivityList();
            }
            else {
                this.setHistoryForCurrentTab();
            }
        }
    }
    getAllActivityList() {
        var _a;
        this.allActivityListModel = new src_app_models_communication_model__WEBPACK_IMPORTED_MODULE_17__["AllActivityListModel"]();
        if ((this.defaultValuesService.getUserMembershipType() === this.profiles.SuperAdmin) ||
            (this.defaultValuesService.getUserMembershipType() === this.profiles.Parent) ||
            (this.defaultValuesService.getUserMembershipType() === this.profiles.Student)) {
            this.allActivityListModel.initiatorId = null;
        }
        else {
            this.allActivityListModel.initiatorId = this.defaultValuesService.getUserId();
        }
        this.allActivityListModel.studentId = (_a = this.data) === null || _a === void 0 ? void 0 : _a.selectedStudents[0].studentId;
        this.isLoading = true;
        this.communicationService.getAllActivityList(this.allActivityListModel).subscribe((data) => {
            this.isLoading = false;
            if (data) {
                if (data._failure) {
                    this.snackbar.open(data._message, '', {
                        duration: 5000
                    });
                    this.studentActivityData = new _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatTableDataSource"]([]);
                }
                else {
                    this.studentActivityListFetched = true;
                    data === null || data === void 0 ? void 0 : data.commActivities.sort((a, b) => {
                        // Compare dates
                        const dateA = new Date(a.activityDate);
                        const dateB = new Date(b.activityDate);
                        if (dateA < dateB) {
                            return 1;
                        }
                        else if (dateA > dateB) {
                            return -1;
                        }
                        else {
                            // If dates are equal,   
                            // compare times in reverse chronological order
                            const timeA = new Date(`1970-01-01 ${a.activityTime}`);
                            const timeB = new Date(`1970-01-01 ${b.activityTime}`);
                            return timeB - timeA;
                        }
                    });
                    data === null || data === void 0 ? void 0 : data.commActivities.map(oneActivity => {
                        oneActivity.meetingPurpose = (oneActivity.meetingPurpose ? oneActivity.meetingPurpose.trim() : oneActivity.meetingPurpose),
                            oneActivity.callNature = (oneActivity.callNature ? oneActivity.callNature.trim() : oneActivity.callNature);
                    });
                    data === null || data === void 0 ? void 0 : data.commActivities.forEach(oneActivity => {
                        switch (oneActivity.activityType) {
                            case "Notes":
                                this.studentActivityHistoryNotes.push(oneActivity);
                                break;
                            case "Phone":
                                this.studentActivityHistoryPhoneCalls.push(oneActivity);
                                break;
                            case "Meeting":
                                this.studentActivityHistoryMeetings.push(oneActivity);
                                break;
                        }
                    });
                    this.setHistoryForCurrentTab();
                }
            }
            else {
                this.snackbar.open(data._message, '', {
                    duration: 5000
                });
                this.studentActivityData = new _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatTableDataSource"]([]);
            }
        });
    }
    get colspanLength() {
        return this.displayedColumns.filter(column => column.visible).length;
    }
    get visibleCols() {
        return this.displayedColumns.filter(column => column.visible).map(column => column.property);
    }
    setHistoryForCurrentTab() {
        let currentTabData = [];
        switch (this.currentTab) {
            case "notes":
                currentTabData = this.studentActivityHistoryNotes;
                break;
            case "phoneCall":
                currentTabData = this.studentActivityHistoryPhoneCalls;
                break;
            case "meeting":
                currentTabData = this.studentActivityHistoryMeetings;
                break;
        }
        this.studentActivityData = new _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatTableDataSource"](currentTabData);
    }
    ngOnDestroy() {
        this.allUsersFromSchoolSubject$.unsubscribe();
    }
}
AddActivityComponent.ɵfac = function AddActivityComponent_Factory(t) { return new (t || AddActivityComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_30__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_communication_service__WEBPACK_IMPORTED_MODULE_31__["CommunicationService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_32__["MatSnackBar"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_33__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shared_shared_function__WEBPACK_IMPORTED_MODULE_34__["SharedFunction"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MAT_DIALOG_DATA"])); };
AddActivityComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: AddActivityComponent, selectors: [["vex-add-activity"]], viewQuery: function AddActivityComponent_Query(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, true);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c1, true);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_angular_material_paginator__WEBPACK_IMPORTED_MODULE_28__["MatPaginator"], true);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstaticViewQuery"](_angular_material_sort__WEBPACK_IMPORTED_MODULE_29__["MatSort"], true);
    } if (rf & 2) {
        var _t;
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.toChipList = _t.first);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.parentToChipList = _t.first);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.paginator = _t.first);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.sort = _t.first);
    } }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([
            {
                provide: _angular_material_core__WEBPACK_IMPORTED_MODULE_23__["DateAdapter"],
                useClass: _angular_material_moment_adapter__WEBPACK_IMPORTED_MODULE_22__["MomentDateAdapter"],
                deps: [_angular_material_core__WEBPACK_IMPORTED_MODULE_23__["MAT_DATE_LOCALE"], _angular_material_moment_adapter__WEBPACK_IMPORTED_MODULE_22__["MAT_MOMENT_DATE_ADAPTER_OPTIONS"]],
            },
            { provide: _angular_material_core__WEBPACK_IMPORTED_MODULE_23__["MAT_DATE_FORMATS"], useValue: _shared_format_datepicker__WEBPACK_IMPORTED_MODULE_25__["MY_FORMATS"] },
        ])], decls: 31, vars: 32, consts: [["color", "accent", 4, "ngIf"], ["mat-dialog-title", "", 1, "flex", "justify-between", "items-center", "mb-3"], [1, "md:flex", "justify-between", "items-start", "flex-auto"], [1, "font-normal", "text-xl", "m-0"], ["mat-dialog-close", "", "mat-icon-button", "", "type", "button", 1, "text-secondary"], [3, "icIcon"], [1, "-mx-6"], [1, "mb-1"], [1, "flex", "justify-between"], [1, "custom-tab", "-mx-6"], [1, "flex", "flex-row"], [1, "px-6", "py-2", "cursor-pointer", 3, "ngClass", "click"], [1, "align-middle", "mr-1", 3, "icIcon"], ["class", "flex items-center", 4, "ngIf"], [3, "ngSwitch", 4, "ngIf"], ["class", "-mx-6", 4, "ngIf"], ["class", "py-4 flex justify-end", 4, "ngIf"], ["color", "accent"], [1, "flex", "items-center"], ["color", "primary", "labelPosition", "before", 3, "ngModel", "ngModelChange", "change"], [1, "ml-2"], [3, "ngSwitch"], ["class", "pt-6", 4, "ngSwitchCase"], [1, "pt-6"], [3, "formGroup"], [1, "grid", "grid-cols-2", "row-gap-2", "col-gap-2"], ["appearance", "outline", "color", "primary", 1, "w-full"], ["formControlName", "date", "matInput", "", "required", "", 3, "matDatepicker"], ["matSuffix", "", 3, "for"], ["date", ""], [4, "ngIf"], ["formControlName", "time", "onkeydown", "return false", "name", "time", "matInput", "", "required", "", 3, "owlDateTimeTrigger", "owlDateTime"], [3, "pickerType", "hour12Timer"], ["time", ""], ["formControlName", "notes", "matInput", "", "required", "", 1, "min-h-full", "h-40"], [1, "border", "border-normal", "rounded", "px-3", "py-1", "relative"], [1, "text-gray", "w-full"], [1, "ml-1"], ["aria-label", "participant selection"], ["chipList", ""], [3, "removed", 4, "ngFor", "ngForOf"], [3, "placeholder", "formControl", "matAutocomplete", "matChipInputFor", "matChipInputSeparatorKeyCodes"], ["toChipList", ""], [3, "optionSelected"], ["auto", "matAutocomplete"], [3, "value", "disabled", 4, "ngFor", "ngForOf"], [1, "border", "border-normal", "rounded", "px-3", "py-1", "mt-4", "relative"], ["aria-label", "parent selection"], ["parentChipList", ""], [3, "placeholder", "formControl", "matAutocomplete", "matChipInputFor", "matChipInputSeparatorKeyCodes", "disabled"], ["parentToChipList", ""], ["parentAuto", "matAutocomplete"], [3, "removed"], ["matChipRemove", ""], [1, "text-lg"], [3, "value", "disabled"], ["formControlName", "natureOfCall", "matInput", "", "required", ""], [1, "flex", "border", "border-normal", "rounded", "bg-skyblue-light", "p-4", "mt-4", "items-center"], [1, "flex-shrink-0", "mr-4"], ["src", "assets/img/alarm.svg", "alt", "Reminder Clock"], [1, "text-primary", "font-semibold", "text-lg"], [1, "mb-2"], ["color", "primary", "formControlName", "onThatDayCheck", 1, "mr-6", "mb-2", 3, "change"], ["color", "primary", "formControlName", "onPreviousDayCheck", 1, "mr-6", "mb-2", 3, "change"], ["formControlName", "purpose", "matInput", "", "required", ""], ["formControlName", "meetingAgenda", "matInput", "", "required", "", 1, "min-h-full", "h-40"], [1, "flex", "items-center", "px-4", "py-2", "alert-data-wrapper", "rounded", "my-4", "mx-6", "mb-0"], [1, "mr-2", 3, "icIcon"], [1, "text-sm"], [1, "font-semibold"], [1, "overflow-x-auto", "overflow-y-hidden"], ["mat-table", "", "matSort", "", 1, "mat-elevation-z8", 3, "dataSource"], ["matColumnDef", "activities"], ["mat-header-cell", "", 4, "matHeaderCellDef"], ["mat-cell", "", "class", "w-4/6", 4, "matCellDef"], ["matColumnDef", "date"], ["mat-header-cell", "", "class", "text-right", 4, "matHeaderCellDef"], ["mat-cell", "", "class", "text-right text-gray", 4, "matCellDef"], ["matColumnDef", "noData"], ["mat-footer-cell", "", 4, "matFooterCellDef"], ["mat-header-row", "", 4, "matHeaderRowDef"], ["mat-row", "", 4, "matRowDef", "matRowDefColumns"], ["mat-footer-row", "", 3, "hidden", 4, "matFooterRowDef"], ["showFirstLastButtons", "", 3, "length", "pageSize", "pageSizeOptions"], ["mat-header-cell", ""], ["mat-cell", "", 1, "w-4/6"], [1, "flex", "items-center", "truncate"], [1, "mr-4", 3, "icIcon"], [1, "truncate", "white-space-normal", "py-2"], ["mat-header-cell", "", 1, "text-right"], ["mat-cell", "", 1, "text-right", "text-gray"], ["mat-footer-cell", ""], ["mat-header-row", ""], ["mat-row", ""], ["mat-footer-row", ""], [1, "py-4", "flex", "justify-end"], ["mat-dialog-close", "", "mat-flat-button", ""], ["color", "primary", "mat-flat-button", "", "type", "submit", 1, "text-white", "ml-2", 3, "click"]], template: function AddActivityComponent_Template(rf, ctx) { if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, AddActivityComponent_vex_mat_spinner_overlay_0_Template, 1, 0, "vex-mat-spinner-overlay", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "h4", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "button", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "mat-icon", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](9, "mat-divider", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "mat-dialog-content", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "div", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "div", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "ul", 10);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "li", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function AddActivityComponent_Template_li_click_14_listener() { return !ctx.cannotEdit && ctx.changeTab("notes"); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](15, "mat-icon", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](17, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "li", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function AddActivityComponent_Template_li_click_18_listener() { return !ctx.cannotEdit && ctx.changeTab("phoneCall"); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](19, "mat-icon", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](20);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](21, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "li", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function AddActivityComponent_Template_li_click_22_listener() { return !ctx.cannotEdit && ctx.changeTab("meeting"); });
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](23, "mat-icon", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](24);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](25, "translate");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](26, AddActivityComponent_div_26_Template, 6, 5, "div", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](27, "mat-divider", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](28, AddActivityComponent_div_28_Template, 4, 4, "div", 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](29, AddActivityComponent_div_29_Template, 22, 16, "div", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](30, AddActivityComponent_mat_dialog_actions_30_Template, 8, 8, "mat-dialog-actions", 16);
    } if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.isLoading);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.data.action == "add" || ctx.data.action == "addOneActivityType" ? _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 22, "addActivity") : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 24, "updateActivity"), " ");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icClose);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("active", ctx.currentTab === "notes");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", ctx.currentTab === "notes" ? "text-primary border-b-2 border-primary" : "");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icStickyNote);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](17, 26, "notes"), " ");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("active", ctx.currentTab === "phoneCall");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", ctx.currentTab === "phoneCall" ? "text-primary border-b-2 border-primary" : "");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icLocalPhone);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](21, 28, "phoneCall"), " ");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("active", ctx.currentTab === "meeting");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", ctx.currentTab === "meeting" ? "text-primary border-b-2 border-primary" : "");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icIcon", ctx.icGroups);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](25, 30, "meeting"), " ");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.historyViewable);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.viewHistory);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.viewHistory);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.viewHistory);
    } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_35__["NgIf"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogTitle"], _angular_material_button__WEBPACK_IMPORTED_MODULE_36__["MatButton"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogClose"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_37__["MatIcon"], _visurel_iconify_angular__WEBPACK_IMPORTED_MODULE_38__["IconDirective"], _angular_material_divider__WEBPACK_IMPORTED_MODULE_39__["MatDivider"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogContent"], _angular_common__WEBPACK_IMPORTED_MODULE_35__["NgClass"], _shared_module_mat_spinner_overlay_mat_spinner_overlay_component__WEBPACK_IMPORTED_MODULE_40__["MatSpinnerOverlayComponent"], _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_41__["MatSlideToggle"], _angular_forms__WEBPACK_IMPORTED_MODULE_15__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_15__["NgModel"], _angular_common__WEBPACK_IMPORTED_MODULE_35__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_35__["NgSwitchCase"], _angular_forms__WEBPACK_IMPORTED_MODULE_15__["ɵangular_packages_forms_forms_y"], _angular_forms__WEBPACK_IMPORTED_MODULE_15__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormGroupDirective"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_42__["MatFormField"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_42__["MatLabel"], _angular_forms__WEBPACK_IMPORTED_MODULE_15__["DefaultValueAccessor"], _angular_material_input__WEBPACK_IMPORTED_MODULE_43__["MatInput"], _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_44__["MatDatepickerInput"], _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControlName"], _angular_forms__WEBPACK_IMPORTED_MODULE_15__["RequiredValidator"], _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_44__["MatDatepickerToggle"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_42__["MatSuffix"], _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_44__["MatDatepicker"], ng_pick_datetime__WEBPACK_IMPORTED_MODULE_45__["OwlDateTimeInputDirective"], ng_pick_datetime__WEBPACK_IMPORTED_MODULE_45__["OwlDateTimeTriggerDirective"], ng_pick_datetime__WEBPACK_IMPORTED_MODULE_45__["OwlDateTimeComponent"], _angular_material_chips__WEBPACK_IMPORTED_MODULE_46__["MatChipList"], _angular_common__WEBPACK_IMPORTED_MODULE_35__["NgForOf"], _angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_47__["MatAutocompleteTrigger"], _angular_material_chips__WEBPACK_IMPORTED_MODULE_46__["MatChipInput"], _angular_forms__WEBPACK_IMPORTED_MODULE_15__["FormControlDirective"], _angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_47__["MatAutocomplete"], _angular_material_form_field__WEBPACK_IMPORTED_MODULE_42__["MatError"], _angular_material_chips__WEBPACK_IMPORTED_MODULE_46__["MatChip"], _angular_material_chips__WEBPACK_IMPORTED_MODULE_46__["MatChipRemove"], _angular_material_core__WEBPACK_IMPORTED_MODULE_23__["MatOption"], _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_48__["MatCheckbox"], _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatTable"], _angular_material_sort__WEBPACK_IMPORTED_MODULE_29__["MatSort"], _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatColumnDef"], _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatHeaderCellDef"], _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatCellDef"], _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatFooterCellDef"], _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatHeaderRowDef"], _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatRowDef"], _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatFooterRowDef"], _angular_material_paginator__WEBPACK_IMPORTED_MODULE_28__["MatPaginator"], _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatHeaderCell"], _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatCell"], _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatFooterCell"], _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatHeaderRow"], _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatRow"], _angular_material_table__WEBPACK_IMPORTED_MODULE_27__["MatFooterRow"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogActions"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_30__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_35__["SlicePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_35__["DatePipe"]], styles: [".custom-tab[_ngcontent-%COMP%] {\n  overflow-x: auto;\n  overflow-y: hidden;\n  white-space: nowrap;\n  -ms-overflow-style: none;\n  \n  scrollbar-width: none;\n  \n}\n\n.search-wrapper[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] {\n  width: 150px;\n  flex: 1 0 150px;\n}\n\n.search-wrapper[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus {\n  outline: none;\n}\n\n.alert-data-wrapper[_ngcontent-%COMP%] {\n  background: #f5edc7;\n  color: #9E8A2E;\n  border: 2px solid #E1D390;\n}\n\n.white-space-normal[_ngcontent-%COMP%] {\n  white-space: normal;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvc3R1ZGVudC9hZGQtYWN0aXZpdHkvYWRkLWFjdGl2aXR5LmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsZ0JBQUE7RUFDQSxrQkFBQTtFQUNBLG1CQUFBO0VBQ0Esd0JBQUE7RUFDQSxnQkFBQTtFQUNBLHFCQUFBO0VBQ0EsWUFBQTtBQUNGOztBQUVBO0VBQ0UsWUFBQTtFQUNBLGVBQUE7QUFDRjs7QUFFQTtFQUNFLGFBQUE7QUFDRjs7QUFFQTtFQUNFLG1CQUFBO0VBQ0EsY0FBQTtFQUNBLHlCQUFBO0FBQ0Y7O0FBRUE7RUFDRSxtQkFBQTtBQUNGIiwiZmlsZSI6InNyYy9hcHAvcGFnZXMvc3R1ZGVudC9hZGQtYWN0aXZpdHkvYWRkLWFjdGl2aXR5LmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmN1c3RvbS10YWIge1xuICBvdmVyZmxvdy14OiBhdXRvO1xuICBvdmVyZmxvdy15OiBoaWRkZW47XG4gIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gIC1tcy1vdmVyZmxvdy1zdHlsZTogbm9uZTtcbiAgLyogSUUgYW5kIEVkZ2UgKi9cbiAgc2Nyb2xsYmFyLXdpZHRoOiBub25lO1xuICAvKiBGaXJlZm94ICovXG59XG5cbi5zZWFyY2gtd3JhcHBlciBpbnB1dCB7XG4gIHdpZHRoOiAxNTBweDtcbiAgZmxleDogMSAwIDE1MHB4O1xufVxuXG4uc2VhcmNoLXdyYXBwZXIgaW5wdXQ6Zm9jdXMge1xuICBvdXRsaW5lOiBub25lO1xufVxuXG4uYWxlcnQtZGF0YS13cmFwcGVyIHtcbiAgYmFja2dyb3VuZDogI2Y1ZWRjNztcbiAgY29sb3I6ICM5RThBMkU7XG4gIGJvcmRlcjogMnB4IHNvbGlkICNFMUQzOTA7XG59XG5cbi53aGl0ZS1zcGFjZS1ub3JtYWwge1xuICB3aGl0ZS1zcGFjZTogbm9ybWFsO1xufSJdfQ== */"] });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AddActivityComponent, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
                selector: 'vex-add-activity',
                templateUrl: './add-activity.component.html',
                styleUrls: ['./add-activity.component.scss'],
                providers: [
                    {
                        provide: _angular_material_core__WEBPACK_IMPORTED_MODULE_23__["DateAdapter"],
                        useClass: _angular_material_moment_adapter__WEBPACK_IMPORTED_MODULE_22__["MomentDateAdapter"],
                        deps: [_angular_material_core__WEBPACK_IMPORTED_MODULE_23__["MAT_DATE_LOCALE"], _angular_material_moment_adapter__WEBPACK_IMPORTED_MODULE_22__["MAT_MOMENT_DATE_ADAPTER_OPTIONS"]],
                    },
                    { provide: _angular_material_core__WEBPACK_IMPORTED_MODULE_23__["MAT_DATE_FORMATS"], useValue: _shared_format_datepicker__WEBPACK_IMPORTED_MODULE_25__["MY_FORMATS"] },
                ]
            }]
    }], function () { return [{ type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MatDialogRef"] }, { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_30__["TranslateService"] }, { type: src_app_services_communication_service__WEBPACK_IMPORTED_MODULE_31__["CommunicationService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_32__["MatSnackBar"] }, { type: src_app_common_default_values_service__WEBPACK_IMPORTED_MODULE_33__["DefaultValuesService"] }, { type: _shared_shared_function__WEBPACK_IMPORTED_MODULE_34__["SharedFunction"] }, { type: undefined, decorators: [{
                type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
                args: [_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__["MAT_DIALOG_DATA"]]
            }] }]; }, { toChipList: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['toChipList']
        }], parentToChipList: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['parentToChipList']
        }], paginator: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: [_angular_material_paginator__WEBPACK_IMPORTED_MODULE_28__["MatPaginator"], { static: false }]
        }], sort: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: [_angular_material_sort__WEBPACK_IMPORTED_MODULE_29__["MatSort"], { static: true }]
        }] }); })();


/***/ }),

/***/ "./src/app/services/Crypto.service.ts":
/*!********************************************!*\
  !*** ./src/app/services/Crypto.service.ts ***!
  \********************************************/
/*! exports provided: CryptoService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CryptoService", function() { return CryptoService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var crypto_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! crypto-js */ "./node_modules/crypto-js/index.js");
/* harmony import */ var crypto_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(crypto_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var src_app_enums_security_enum__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/enums/security.enum */ "./src/app/enums/security.enum.ts");




class CryptoService {
    constructor() {
        this.encryptionTokens = src_app_enums_security_enum__WEBPACK_IMPORTED_MODULE_2__["EncryptionTokens"];
    }
    zohoCrypto() {
        return crypto_js__WEBPACK_IMPORTED_MODULE_1__["enc"].Base64.stringify(crypto_js__WEBPACK_IMPORTED_MODULE_1__["lib"].WordArray.random(16));
    }
    //The set method is use for encrypt the value.
    encrypt(value) {
        const keySize = 256;
        const keys = this.encryptionTokens.encryptionKey;
        const salt = crypto_js__WEBPACK_IMPORTED_MODULE_1__["lib"].WordArray.random(16);
        const key = crypto_js__WEBPACK_IMPORTED_MODULE_1__["PBKDF2"](keys, salt, {
            keySize: keySize / 32,
            iterations: 100
        });
        const iv = crypto_js__WEBPACK_IMPORTED_MODULE_1__["lib"].WordArray.random(128 / 8);
        let encrypted = crypto_js__WEBPACK_IMPORTED_MODULE_1__["AES"].encrypt(value, key, {
            iv: iv,
            padding: crypto_js__WEBPACK_IMPORTED_MODULE_1__["pad"].Pkcs7,
            mode: crypto_js__WEBPACK_IMPORTED_MODULE_1__["mode"].CBC
        });
        const result = crypto_js__WEBPACK_IMPORTED_MODULE_1__["enc"].Base64.stringify(salt.concat(iv).concat(encrypted.ciphertext));
        return result;
    }
    decrypt(cipherText) {
        const transitmessage = crypto_js__WEBPACK_IMPORTED_MODULE_1__["enc"].Base64.parse(cipherText);
        const keySize = 256;
        const keys = this.encryptionTokens.encryptionKey;
        var salt = crypto_js__WEBPACK_IMPORTED_MODULE_1__["enc"].Hex.parse(transitmessage.slice(0, 32));
        var iv = crypto_js__WEBPACK_IMPORTED_MODULE_1__["enc"].Hex.parse(transitmessage.slice(32, 64));
        var encrypted = transitmessage.slice(64);
        var key = crypto_js__WEBPACK_IMPORTED_MODULE_1__["PBKDF2"](keys, salt, {
            keySize: keySize / 32,
            iterations: 100
        });
        var decrypted = crypto_js__WEBPACK_IMPORTED_MODULE_1__["AES"].decrypt(encrypted, key, {
            iv: iv,
            padding: crypto_js__WEBPACK_IMPORTED_MODULE_1__["pad"].Pkcs7,
            mode: crypto_js__WEBPACK_IMPORTED_MODULE_1__["mode"].CBC
        });
        // return decrypted.toString(CryptoJS.enc.Utf8);
    }
    // function encrypt (msg, pass) {
    //   var salt = CryptoJS.lib.WordArray.random(128/8);
    //   var key = CryptoJS.PBKDF2(pass, salt, {
    //       keySize: keySize/32,
    //       iterations: iterations
    //     });
    //   var iv = CryptoJS.lib.WordArray.random(128/8);
    //   var encrypted = CryptoJS.AES.encrypt(msg, key, { 
    //     iv: iv, 
    //     padding: CryptoJS.pad.Pkcs7,
    //     mode: CryptoJS.mode.CBC
    //   });
    //   // salt, iv will be hex 32 in length
    //   // append them to the ciphertext for use  in decryption
    //   var transitmessage = salt.toString()+ iv.toString() + encrypted.toString();
    //   return transitmessage;
    // }
    //The get method is use for decrypt the value.
    // decrypt(value){
    //   // const keys = environment.encryptionKey;
    //   // const iv= environment.encryptioniv;
    //   // const bytes  = CryptoJS.AES.decrypt(value.toString(), keys);
    //   // const decryptedData = JSON.parse(bytes.toString(CryptoJS.enc.Utf8));
    //   // return decryptedData;
    //   let _key = environment.encryptionKey
    //   let _iv = CryptoJS.enc.Utf8.parse(value)
    //   var decrpted = CryptoJS.AES.decrypt(value, _key, {
    //     iv: _iv,
    //     mode: CryptoJS.mode.CBC,
    //     padding: CryptoJS.pad.Pkcs7,
    //   })
    //   return decrpted
    // }
    dataEncrypt(value) {
        const key = crypto_js__WEBPACK_IMPORTED_MODULE_1__["enc"].Utf8.parse(this.encryptionTokens.dataEncryptionKey);
        const iv = crypto_js__WEBPACK_IMPORTED_MODULE_1__["enc"].Utf8.parse(this.encryptionTokens.dataEncryptionKey);
        const encrypted = crypto_js__WEBPACK_IMPORTED_MODULE_1__["AES"].encrypt(crypto_js__WEBPACK_IMPORTED_MODULE_1__["enc"].Utf8.parse(value), key, {
            keySize: 128 / 8,
            iv: iv,
            mode: crypto_js__WEBPACK_IMPORTED_MODULE_1__["mode"].CBC,
            padding: crypto_js__WEBPACK_IMPORTED_MODULE_1__["pad"].Pkcs7
        });
        return encrypted.toString();
    }
    dataDecrypt(value) {
        if (value) {
            const key = crypto_js__WEBPACK_IMPORTED_MODULE_1__["enc"].Utf8.parse(this.encryptionTokens.dataEncryptionKey);
            const iv = crypto_js__WEBPACK_IMPORTED_MODULE_1__["enc"].Utf8.parse(this.encryptionTokens.dataEncryptionKey);
            const decrypted = crypto_js__WEBPACK_IMPORTED_MODULE_1__["AES"].decrypt(value === null || value === void 0 ? void 0 : value.toString(), key, {
                keySize: 128 / 8,
                iv: iv,
                mode: crypto_js__WEBPACK_IMPORTED_MODULE_1__["mode"].CBC,
                padding: crypto_js__WEBPACK_IMPORTED_MODULE_1__["pad"].Pkcs7
            });
            return decrypted.toString(crypto_js__WEBPACK_IMPORTED_MODULE_1__["enc"].Utf8);
        }
    }
    jsonEncrypt(ciphertext) {
        if (ciphertext) {
            const key = crypto_js__WEBPACK_IMPORTED_MODULE_1__["enc"].Utf8.parse(this.encryptionTokens.jsonEncryptionKey);
            const iv = crypto_js__WEBPACK_IMPORTED_MODULE_1__["enc"].Utf8.parse(this.encryptionTokens.jsonEncryptionKey);
            const encrypted = crypto_js__WEBPACK_IMPORTED_MODULE_1__["AES"].encrypt(crypto_js__WEBPACK_IMPORTED_MODULE_1__["enc"].Utf8.parse(ciphertext), key, {
                keySize: 128 / 8,
                iv: iv,
                mode: crypto_js__WEBPACK_IMPORTED_MODULE_1__["mode"].CBC,
                padding: crypto_js__WEBPACK_IMPORTED_MODULE_1__["pad"].Pkcs7
            });
            return encrypted;
        }
    }
    jsonDecrypt(ciphertext) {
        if (ciphertext) {
            var key = crypto_js__WEBPACK_IMPORTED_MODULE_1__["enc"].Utf8.parse(this.encryptionTokens.jsonEncryptionKey); // Convert into WordArray (using Utf8)
            var iv = crypto_js__WEBPACK_IMPORTED_MODULE_1__["lib"].WordArray.create([0x00, 0x00, 0x00, 0x00]); // Use zero vector as IV
            var decrypted = crypto_js__WEBPACK_IMPORTED_MODULE_1__["AES"].decrypt(ciphertext, key, { iv: iv }); // By default: CBC, PKCS7 
            return decrypted.toString(crypto_js__WEBPACK_IMPORTED_MODULE_1__["enc"].Utf8);
        }
    }
}
CryptoService.ɵfac = function CryptoService_Factory(t) { return new (t || CryptoService)(); };
CryptoService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: CryptoService, factory: CryptoService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CryptoService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/app/services/applicant.service.ts":
/*!***********************************************!*\
  !*** ./src/app/services/applicant.service.ts ***!
  \***********************************************/
/*! exports provided: ApplicantService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ApplicantService", function() { return ApplicantService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");



class ApplicantService {
    constructor(defaultValuesService) {
        this.defaultValuesService = defaultValuesService;
    }
    setApplicantDetails(applicantInfo) {
        this.applicantDetails = applicantInfo;
    }
    getApplicantDetails() {
        return this.applicantDetails;
    }
    setApplicantImage(imageInBase64) {
        this.applicantImage = imageInBase64;
    }
    getApplicantImage() {
        return this.applicantImage;
    }
    setApplicantThumbnailImage(imageInBase64) {
        this.applicantThumbnailImage = imageInBase64;
    }
    getApplicantThumbnailImage() {
        return this.applicantThumbnailImage;
    }
    setApplicantCloneImage(image) {
        this.cloneApplicantImage = image;
    }
    getApplicantCloneImage() {
        return this.cloneApplicantImage;
    }
    setDashboardSearchControl(status) {
        this.dashboardSearchControl = status;
    }
    getDashboardSearchControl() {
        return this.dashboardSearchControl;
    }
    setApplicantSearchParams(filterInfo) {
        this.applicantSearchParams = filterInfo;
    }
    getApplicantSearchParams() {
        return this.applicantSearchParams;
    }
}
ApplicantService.ɵfac = function ApplicantService_Factory(t) { return new (t || ApplicantService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_1__["DefaultValuesService"])); };
ApplicantService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: ApplicantService, factory: ApplicantService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ApplicantService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_1__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/common.service.ts":
/*!********************************************!*\
  !*** ./src/app/services/common.service.ts ***!
  \********************************************/
/*! exports provided: CommonService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommonService", function() { return CommonService; });
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _enums_profiles_enum__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../enums/profiles.enum */ "./src/app/enums/profiles.enum.ts");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _Crypto_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Crypto.service */ "./src/app/services/Crypto.service.ts");
/* harmony import */ var _login_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./login.service */ "./src/app/services/login.service.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _user_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./user.service */ "./src/app/services/user.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js");
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/dialog.js");
















class CommonService {
    constructor(http, defaultValuesService, cryptoService, loginService, router, userService, snackbar, defaultValueService, translate, dialog) {
        this.http = http;
        this.defaultValuesService = defaultValuesService;
        this.cryptoService = cryptoService;
        this.loginService = loginService;
        this.router = router;
        this.userService = userService;
        this.snackbar = snackbar;
        this.defaultValueService = defaultValueService;
        this.translate = translate;
        this.dialog = dialog;
        this.apiUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL;
        this.changeLanguage = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](false);
        this.changedLanguage = this.changeLanguage.asObservable();
        this.userLoginError = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](false);
        this.userLoginErrorTriggered = this.userLoginError.asObservable();
        this.triggerUserActivity = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](false);
        this.triggeredUserActivity = this.triggerUserActivity.asObservable();
        this.profiles = _enums_profiles_enum__WEBPACK_IMPORTED_MODULE_5__["ProfilesTypes"];
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
        this.httpOptionsForBackup = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpHeaders"]({
                //"Content-type": "application/json",
                observe: 'events',
                responseType: 'blob'
            }),
        };
    }
    // GetAllCountry(obj: CountryModel) {
    //   obj = this.defaultValuesService.getAllMandatoryVariable(obj);
    //   let apiurl = this.apiUrl + obj._tenantName + "/Common/getAllCountries";
    //   return this.http.post<CountryModel>(apiurl, obj,this.httpOptions)
    // }
    GetAllCountry() {
        // obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        // let apiurl = this.apiUrl + obj._tenantName + "/Common/getAllCountries";
        // return this.http.post<CountryModel>(apiurl, obj,this.httpOptions);
        let apiurl = "allCountries.json";
        return this.http.get('./assets/' + apiurl);
    }
    LOVGetAllCountry() {
        // obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        // let apiurl = this.apiUrl + obj._tenantName + "/Common/getAllCountries";
        // return this.http.post<LOVCountryModel>(apiurl, obj, this.httpOptions);
        let apiurl = "allCountries.json";
        return this.http.get('./assets/' + apiurl);
    }
    AddCountry(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.country.createdBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/Common/addCountry";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    UpdateCountry(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.country.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/Common/updateCountry";
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    DeleteCountry(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/deleteCountry";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    GetAllState(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getAllStatesByCountry";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    GetAllCity(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getAllCitiesByState";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    GetAllLanguage(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getAllLanguage";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    LOVGetAllLanguage(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getAllLanguage";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    AddLanguage(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.language.createdBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/Common/addLanguage";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    UpdateLanguage(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.language.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/Common/updateLanguage";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    DeleteLanguage(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/deleteLanguage";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllDropdownValues(obj, setSchoolIdNull) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolId = setSchoolIdNull ? null : obj.schoolId;
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getAllDropdownValues";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllDropdownValueList(obj, setSchoolIdNull) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolId = setSchoolIdNull ? null : obj.schoolId;
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getAllDropdownValuesforAddScreen";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addDropdownValue(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.dropdownValue.schoolId = this.defaultValuesService.getSchoolID();
        obj.dropdownValue.tenantId = this.defaultValuesService.getTenantID();
        obj.dropdownValue.createdBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/Common/addDropdownValue";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateDropdownValue(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.dropdownValue.schoolId = this.defaultValuesService.getSchoolID();
        obj.dropdownValue.tenantId = this.defaultValuesService.getTenantID();
        obj.dropdownValue.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/Common/updateDropdownValue";
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    deleteDropdownValue(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.dropdownValue.updatedBy = this.defaultValuesService.getUserGuidId();
        obj.updatedBy = this.defaultValuesService.getUserGuidId();
        obj.dropdownValue.updatedBy = this.defaultValuesService.getUserGuidId();
        obj.dropdownValue.tenantId = this.defaultValuesService.getTenantID();
        obj.dropdownValue.schoolId = this.defaultValuesService.getSchoolID();
        let apiurl = this.apiUrl + obj._tenantName + "/Common/deleteDropdownValue";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getReleaseNumber(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getReleaseNumber";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addSearchFilter(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.searchFilter.createdBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/Common/addSearchFilter";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateSearchFilter(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.searchFilter.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/Common/updateSearchFilter";
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    deleteSearchFilter(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/deleteSearchFilter";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllSearchFilter(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getAllSearchFilter";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllGradeAgeRange(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getAllGradeAgeRange";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllGradeEducationalStage(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getAllGradeEducationalStage";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    resetPassword(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.userMaster.tenantId = this.defaultValuesService.getTenantID();
        obj.userMaster.schoolId = this.defaultValuesService.getSchoolID();
        obj.userMaster.updatedBy = this.defaultValuesService.getUserGuidId();
        obj.userMaster.passwordHash = this.cryptoService.encrypt(obj.userMaster.passwordHash);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/resetPassword";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    activeDeactiveUser(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/activeDeactiveUser";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllFieldList(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getAllFieldList";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    changePassword(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.userId = this.defaultValueService.getUserId();
        obj.emailAddress = this.defaultValuesService.getEmailId();
        obj.newPasswordHash = this.cryptoService.encrypt(obj.newPasswordHash);
        obj.currentPasswordHash = this.cryptoService.encrypt(obj.currentPasswordHash);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/changePassword";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    createDatabaseBackup(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/DBBackup/databaseBackup";
        return this.http.post(apiurl, obj, {
            reportProgress: true,
            observe: 'events',
            responseType: 'blob',
        });
    }
    download(obj) {
        const params = new _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpParams"]()
            .set('sort', "description")
            .set('page', "2");
        const headers = new _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpHeaders"]()
            .set('Content-Type', 'application/json');
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/DBBackup/download1";
        return this.http.get(apiurl, { 'params': params, 'headers': headers });
        /*return this.http.get(`${this.url}/download?fileName=${fileName}`, {
          reportProgress: true,
          observe: 'events',
          responseType: 'blob',
        });*/
    }
    getIpAddress() {
        return this.http.get('https://api64.ipify.org/?format=json');
    }
    setSearchResult(result) {
        this.searchResult = result;
    }
    getSearchResult() {
        return this.searchResult;
    }
    setModuleName(moduleName) {
        this.moduleName = moduleName;
    }
    getModuleName() {
        return this.moduleName;
    }
    triggerLanguageChange(data) {
        this.changeLanguage.next(data);
    }
    setUserActivity(data) {
        this.triggerUserActivity.next(data);
    }
    setUserLoginError(data) {
        this.userLoginError.next(data);
    }
    checkAndRoute() {
        if (this.loginService.isAuthenticated()) {
            if (this.defaultValuesService.getUserMembershipType() === this.profiles.Teacher || this.defaultValuesService.getUserMembershipType() === this.profiles.HomeroomTeacher) {
                this.router.navigate(['/school', 'teacher', 'dashboards']);
            }
            else if (this.defaultValuesService.getUserMembershipType() === this.profiles.Student) {
                this.router.navigate(['/school', 'student', 'dashboards']);
            }
            else if (this.defaultValuesService.getUserMembershipType() === this.profiles.Parent) {
                this.router.navigate(['/school', 'parent', 'dashboards']);
            }
            else {
                this.router.navigate(['/school', 'dashboards']);
            }
        }
        else {
            this.router.navigate(['/']);
        }
    }
    checkAndRouteTo404() {
        if (this.defaultValueService.getIsForImpersonate()) {
            this.router.navigate(['/error', 'impersonation-error']);
        }
        else {
            if (this.loginService.isAuthenticated()) {
                this.router.navigate(['/school', 'error', '404']);
            }
            else {
                this.router.navigate(['/error', '404']);
            }
        }
    }
    logoutUser() {
        this.router.navigateByUrl('/logout');
    }
    checkTokenValidOrNot(message) {
        if (message && (message).toLowerCase() === 'token not valid') {
            // this.snackbar.open('Another login with the same credentials was detected. Therefore, you have been logged out of the system.', '', {
            //   duration: 10000
            // });
            if (this.defaultValueService.getSourceName()) {
                window.close();
                return;
            }
            this.setUserLoginError(true);
            this.clearStorage();
            this.router.navigateByUrl('/');
            return true;
        }
    }
    clearStorage() {
        let schoolId = this.defaultValueService.getSchoolID();
        const tenantData = this.defaultValuesService.getTenantData();
        sessionStorage.clear();
        // localStorage.removeItem('clientId');
        // localStorage.removeItem('authority');
        // localStorage.removeItem('redirectUri');
        localStorage.removeItem(this.defaultValueService.permissionListKeyName);
        if (schoolId) {
            this.defaultValueService.setSchoolID();
        }
        this.setUserActivity(true);
        this.defaultValueService.setDefaultTenant();
        this.defaultValuesService.setTenantData(tenantData);
        this.translate.addLangs(['en', 'fr']);
        this.translate.setDefaultLang('en');
    }
    isOnline() {
        return Object(rxjs__WEBPACK_IMPORTED_MODULE_3__["merge"])(Object(rxjs__WEBPACK_IMPORTED_MODULE_3__["fromEvent"])(window, 'offline').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(() => false)), Object(rxjs__WEBPACK_IMPORTED_MODULE_3__["fromEvent"])(window, 'online').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(() => true)), new rxjs__WEBPACK_IMPORTED_MODULE_3__["Observable"]((sub) => {
            sub.next(navigator.onLine);
            sub.complete();
        }));
        // return new Observable((sub: Observer<boolean>) => {
        //   sub.next(navigator.onLine);
        //   sub.complete();
        // });
    }
    checkAndModifyPermissionData(dataSet) {
        if (this.defaultValuesService.getUserMembershipType() === this.profiles.Student || this.defaultValuesService.getUserMembershipType() === this.profiles.Parent) {
            dataSet.map((item) => {
                if (item.permissionGroup.permissionGroupName === 'Grades' && (this.defaultValuesService.getUserMembershipType() === this.profiles.Student || this.defaultValuesService.getUserMembershipType() === this.profiles.Parent)) {
                    item.permissionGroup.permissionCategory.map((subItem) => {
                        if (subItem.permissionCategoryName === 'Report Cards') {
                            subItem.path = '/school/grades/student-report-card';
                        }
                        else if (subItem.permissionCategoryName === 'Transcripts') {
                            subItem.path = '/school/grades/student-transcript';
                            subItem.title = 'Transcript';
                        }
                    });
                }
                else if (item.permissionGroup.permissionGroupName === 'Scheduling' && this.defaultValuesService.getUserMembershipType() === this.profiles.Parent) {
                    item.permissionGroup.permissionCategory.map((subItem) => {
                        if (subItem.permissionCategoryName === 'My Schedule') {
                            subItem.title = 'Course Schedule';
                        }
                        else if (subItem.permissionCategoryName === 'My Requests') {
                            subItem.title = 'Course Requests';
                        }
                    });
                }
                else if (item.permissionGroup.permissionGroupName === 'Dashboard' && this.defaultValuesService.getUserMembershipType() === this.profiles.Parent) {
                    item.permissionGroup.path = '/school/parent/dashboards';
                }
                else if (item.permissionGroup.permissionGroupName === 'My Info' && this.defaultValuesService.getUserMembershipType() === this.profiles.Parent) {
                    item.permissionGroup.title = 'Student Info';
                }
                else if (item.permissionGroup.permissionGroupName === 'Behavior' && (this.defaultValuesService.getUserMembershipType() === this.profiles.Student || this.defaultValuesService.getUserMembershipType() === this.profiles.Parent)) {
                    item.permissionGroup.path = '/school/student-behavior';
                }
                // else if(item.permissionGroup.permissionGroupName === 'Billing and Fees' && (this.defaultValuesService.getUserMembershipType() === this.profiles.Parent ||  this.defaultValuesService.getUserMembershipType() === this.profiles.Student)) {
                //  item.permissionGroup.title = 'Fees and Charges';
                // }
                // else if (item.permissionGroup.permissionGroupName === 'Communication' && (this.defaultValuesService.getUserMembershipType() === this.profiles.Student || this.defaultValuesService.getUserMembershipType() === this.profiles.Parent)) {
                //   if (this.defaultValueService.getTenantData().zohoPlanId === 'core01') {
                //     item.permissionGroup.rolePermission[0].canView = false;
                //   }
                // }
            });
            return dataSet;
        }
        else {
            return dataSet;
        }
    }
    getProfileCompletionDetails(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/common/getProfileCompletionDetails";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getSchoolDateAndTimezone(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolDateTimeSettings.tenantId = this.defaultValuesService.getTenantID();
        obj.schoolDateTimeSettings.schoolId = this.defaultValuesService.getSchoolID();
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getSchoolDateTimeSettings";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addSchoolDateTimeSettings(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolDateTimeSettings.tenantId = this.defaultValuesService.getTenantID();
        obj.schoolDateTimeSettings.schoolId = this.defaultValuesService.getSchoolID();
        obj.schoolDateTimeSettings.createdBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/Common/addUpdateSchoolDateTimeSettings";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateSchoolDateTimeSettings(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolDateTimeSettings.tenantId = this.defaultValuesService.getTenantID();
        obj.schoolDateTimeSettings.schoolId = this.defaultValuesService.getSchoolID();
        obj.schoolDateTimeSettings.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/Common/addUpdateSchoolDateTimeSettings";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAuditHistory(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tenantId = this.defaultValuesService.getTenantID();
        obj.schoolId = this.defaultValuesService.getSchoolID();
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getAuditHistory";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateDropdownValueSortOrder(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tenantId = this.defaultValuesService.getTenantID();
        obj.schoolId = this.defaultValuesService.getSchoolID();
        let apiurl = this.apiUrl + obj._tenantName + "/Common/updateDropdownValueSortOrder";
        return this.http.put(apiurl, obj, this.httpOptions);
    }
}
CommonService.ɵfac = function CommonService_Factory(t) { return new (t || CommonService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_6__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_Crypto_service__WEBPACK_IMPORTED_MODULE_7__["CryptoService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_9__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_user_service__WEBPACK_IMPORTED_MODULE_10__["UserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__["MatSnackBar"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_6__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_13__["MatDialog"])); };
CommonService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: CommonService, factory: CommonService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](CommonService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_6__["DefaultValuesService"] }, { type: _Crypto_service__WEBPACK_IMPORTED_MODULE_7__["CryptoService"] }, { type: _login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_9__["Router"] }, { type: _user_service__WEBPACK_IMPORTED_MODULE_10__["UserService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__["MatSnackBar"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_6__["DefaultValuesService"] }, { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__["TranslateService"] }, { type: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_13__["MatDialog"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/communication.service.ts":
/*!***************************************************!*\
  !*** ./src/app/services/communication.service.ts ***!
  \***************************************************/
/*! exports provided: CommunicationService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommunicationService", function() { return CommunicationService; });
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _Crypto_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Crypto.service */ "./src/app/services/Crypto.service.ts");








class CommunicationService {
    constructor(defaultValuesService, http, cryptoService) {
        this.defaultValuesService = defaultValuesService;
        this.http = http;
        this.cryptoService = cryptoService;
        this.apiUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL;
        this.unreadMessageCount = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](0);
        this.unreadMessageCount$ = this.unreadMessageCount.asObservable();
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
    }
    addCommGroup(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.commGroupMaster.tenantId = this.defaultValuesService.getTenantID();
        obj.commGroupMaster.schoolId = this.defaultValuesService.getSchoolID();
        obj.commGroupMaster.createdBy = this.defaultValuesService.getUserGuidId();
        obj.commGroupMaster.isActive = true;
        let apiurl = this.apiUrl + obj._tenantName + "/Communication/addCommGroup";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateCommGroup(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.commGroupMaster.tenantId = this.defaultValuesService.getTenantID();
        obj.commGroupMaster.schoolId = this.defaultValuesService.getSchoolID();
        obj.commGroupMaster.updatedBy = this.defaultValuesService.getUserGuidId();
        obj.commGroupMaster.isActive = true;
        let apiurl = this.apiUrl + obj._tenantName + "/Communication/updateCommGroup";
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    deleteCommGroup(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.commGroupMaster.tenantId = this.defaultValuesService.getTenantID();
        obj.commGroupMaster.schoolId = this.defaultValuesService.getSchoolID();
        obj.commGroupMaster.createdBy = this.defaultValuesService.getUserGuidId();
        obj.commGroupMaster.isActive = true;
        let apiurl = this.apiUrl + obj._tenantName + "/Communication/deleteCommGroup";
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    addUserInGroup(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Communication/addUserInGroup";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getCommMenu(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Communication/getCommMenu";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    allUsersFromGroup(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Communication/allUsersFromGroup";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    removeUserFromGroup(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Communication/removeUserFromGroup";
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    allUsersFromSchool(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Communication/allUsersFromSchool";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addComposeMessage(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.commMessage.tenantId = this.defaultValuesService.getTenantID();
        obj.commMessage.schoolId = this.defaultValuesService.getSchoolID();
        obj.commMessage.creatorId = +this.defaultValuesService.getUserId();
        obj.commMessage.profileType = this.defaultValuesService.getUserMembershipType();
        obj.commMessage.createdBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/Communication/addComposeMessage";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getMessagingInbox(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        // obj.userId = +this.defaultValuesService.getUserId();
        // obj.profileType = this.defaultValuesService.getUserMembershipType();
        let apiurl = this.apiUrl + obj._tenantName + "/Communication/getMessagingInbox";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getSentMessaging(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        // obj.userId = +this.defaultValuesService.getUserId();
        // obj.profileType = this.defaultValuesService.getUserMembershipType();
        let apiurl = this.apiUrl + obj._tenantName + "/Communication/getSentMessaging";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    viewInboxMessage(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.userId = +this.defaultValuesService.getUserId();
        obj.profileType = this.defaultValuesService.getUserMembershipType();
        let apiurl = this.apiUrl + obj._tenantName + "/Communication/viewInboxMessage";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    //==================================>
    addCommunicationSettings(obj) {
        obj._tenantName = this.defaultValuesService.getDefaultTenant();
        obj._userName = this.defaultValuesService.getUserName();
        obj._token = this.defaultValuesService.getToken();
        obj.commSchoolSettingEmail.password = obj.commSchoolSettingEmail.password ? this.cryptoService.encrypt(obj.commSchoolSettingEmail.password) : null;
        obj.commSchoolSettingEmail.schoolId = this.defaultValuesService.getSchoolID();
        obj.commSchoolSettingEmail.tenantId = this.defaultValuesService.getTenantID();
        obj.commSchoolSettingEmail.createdBy = this.defaultValuesService.getUserGuidId();
        // obj.commSchoolSettingEmail.updatedBy = this.defaultValuesService.getUserGuidId();
        if (this.defaultValuesService.getUserMembershipType() === "School Administrator" || this.defaultValuesService.getUserMembershipType() === "Admin Assistant" || this.defaultValuesService.getUserMembershipType() === "Teacher" || this.defaultValuesService.getUserMembershipType() === "Homeroom Teacher") {
            obj.commSchoolSettingEmail.staffId = this.defaultValuesService.getUserId();
        }
        let apiurl = this.apiUrl + obj._tenantName + '/Communication/addCommSettingEmail';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    viewCommunicationSettings(obj) {
        obj._tenantName = this.defaultValuesService.getDefaultTenant();
        obj._userName = this.defaultValuesService.getUserName();
        obj._token = this.defaultValuesService.getToken();
        obj.commSchoolSettingEmail.schoolId = this.defaultValuesService.getSchoolID();
        obj.commSchoolSettingEmail.tenantId = this.defaultValuesService.getTenantID();
        if (this.defaultValuesService.getUserMembershipType() === "School Administrator" || this.defaultValuesService.getUserMembershipType() === "Admin Assistant" || this.defaultValuesService.getUserMembershipType() === "Teacher" || this.defaultValuesService.getUserMembershipType() === "Homeroom Teacher") {
            obj.commSchoolSettingEmail.staffId = this.defaultValuesService.getUserId();
        }
        let apiurl = this.apiUrl + obj._tenantName + '/Communication/viewCommSettingEmail';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    editCommunicationSettings(obj) {
        obj._tenantName = this.defaultValuesService.getDefaultTenant();
        obj._userName = this.defaultValuesService.getUserName();
        obj._token = this.defaultValuesService.getToken();
        obj.commSchoolSettingEmail.password = obj.commSchoolSettingEmail.password ? this.cryptoService.encrypt(obj.commSchoolSettingEmail.password) : null;
        obj.commSchoolSettingEmail.schoolId = this.defaultValuesService.getSchoolID();
        obj.commSchoolSettingEmail.tenantId = this.defaultValuesService.getTenantID();
        obj.commSchoolSettingEmail.updatedBy = this.defaultValuesService.getUserGuidId();
        if (this.defaultValuesService.getUserMembershipType() === "School Administrator" || this.defaultValuesService.getUserMembershipType() === "Admin Assistant" || this.defaultValuesService.getUserMembershipType() === "Teacher" || this.defaultValuesService.getUserMembershipType() === "Homeroom Teacher") {
            obj.commSchoolSettingEmail.staffId = this.defaultValuesService.getUserId();
        }
        let apiurl = this.apiUrl + obj._tenantName + '/Communication/editCommSettingEmail';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    // Activity
    addCommActivity(obj) {
        // obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj._tenantName = this.defaultValuesService.getDefaultTenant();
        obj._userName = this.defaultValuesService.getUserName();
        obj._token = this.defaultValuesService.getToken();
        obj.commActivity.schoolId = this.defaultValuesService.getSchoolID();
        obj.commActivity.tenantId = this.defaultValuesService.getTenantID();
        obj.commActivity.createdBy = this.defaultValuesService.getUserGuidId();
        obj.commActivity.initiatorId = this.defaultValuesService.getUserId();
        obj.commActivity.profileType = this.defaultValuesService.getUserMembershipType();
        let apiurl = this.apiUrl + obj._tenantName + '/Communication/addCommActivity';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllActivityList(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + '/Communication/allActivityList';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    editCommActivity(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.commActivity.schoolId = this.defaultValuesService.getSchoolID();
        obj.commActivity.tenantId = this.defaultValuesService.getTenantID();
        obj.commActivity.updatedBy = this.defaultValuesService.getUserGuidId();
        obj.commActivity.initiatorId = this.defaultValuesService.getUserId();
        obj.commActivity.profileType = this.defaultValuesService.getUserMembershipType();
        let apiurl = this.apiUrl + obj._tenantName + '/Communication/editCommActivity';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    deleteCommActivity(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.commActivity.schoolId = this.defaultValuesService.getSchoolID();
        obj.commActivity.tenantId = this.defaultValuesService.getTenantID();
        obj.commActivity.createdBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + '/Communication/deleteCommActivity';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getUnreadMessageCount(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.userId = this.defaultValuesService.getUserId();
        obj.profileType = this.defaultValuesService.getUserMembershipType();
        let apiurl = this.apiUrl + obj._tenantName + '/Communication/getUnreadMessageCount';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    sendUnreadMsgCount(data) {
        this.unreadMessageCount.next(data);
    }
}
CommunicationService.ɵfac = function CommunicationService_Factory(t) { return new (t || CommunicationService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_Crypto_service__WEBPACK_IMPORTED_MODULE_5__["CryptoService"])); };
CommunicationService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: CommunicationService, factory: CommunicationService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](CommunicationService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"] }, { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }, { type: _Crypto_service__WEBPACK_IMPORTED_MODULE_5__["CryptoService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/course-manager.service.ts":
/*!****************************************************!*\
  !*** ./src/app/services/course-manager.service.ts ***!
  \****************************************************/
/*! exports provided: CourseManagerService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CourseManagerService", function() { return CourseManagerService; });
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _Crypto_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Crypto.service */ "./src/app/services/Crypto.service.ts");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");







class CourseManagerService {
    constructor(http, cryptoService, defaultValuesService) {
        this.http = http;
        this.cryptoService = cryptoService;
        this.defaultValuesService = defaultValuesService;
        this.apiUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL;
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
    }
    GetAllSubjectList(courseManager) {
        courseManager = this.defaultValuesService.getAllMandatoryVariable(courseManager);
        courseManager.academicYear = this.defaultValuesService.getAcademicYear();
        let apiurl = this.apiUrl + courseManager._tenantName + "/CourseManager/getAllSubjectList";
        return this.http.post(apiurl, courseManager, this.httpOptions);
    }
    AddEditSubject(courseManager) {
        courseManager = this.defaultValuesService.getAllMandatoryVariable(courseManager);
        let apiurl = this.apiUrl + courseManager._tenantName + "/CourseManager/addEditSubject";
        return this.http.put(apiurl, courseManager, this.httpOptions);
    }
    DeleteSubject(courseManager) {
        courseManager = this.defaultValuesService.getAllMandatoryVariable(courseManager);
        courseManager.subject.tenantId = this.defaultValuesService.getTenantID();
        courseManager.subject.schoolId = this.defaultValuesService.getSchoolID();
        courseManager.subject.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + courseManager._tenantName + "/CourseManager/deleteSubject";
        return this.http.post(apiurl, courseManager, this.httpOptions);
    }
    GetAllProgramsList(courseManager) {
        courseManager = this.defaultValuesService.getAllMandatoryVariable(courseManager);
        let apiurl = this.apiUrl + courseManager._tenantName + "/CourseManager/getAllProgram";
        return this.http.post(apiurl, courseManager, this.httpOptions);
    }
    AddEditPrograms(courseManager) {
        courseManager = this.defaultValuesService.getAllMandatoryVariable(courseManager);
        let apiurl = this.apiUrl + courseManager._tenantName + "/CourseManager/addEditProgram";
        return this.http.put(apiurl, courseManager, this.httpOptions);
    }
    DeletePrograms(courseManager) {
        courseManager = this.defaultValuesService.getAllMandatoryVariable(courseManager);
        courseManager.programs.schoolId = this.defaultValuesService.getSchoolID();
        courseManager.programs.tenantId = this.defaultValuesService.getTenantID();
        courseManager.programs.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + courseManager._tenantName + "/CourseManager/deleteProgram";
        return this.http.post(apiurl, courseManager, this.httpOptions);
    }
    GetAllCourseList(courseManager) {
        courseManager = this.defaultValuesService.getAllMandatoryVariable(courseManager);
        courseManager.academicYear = this.defaultValuesService.getAcademicYear();
        // courseManager.markingPeriodStartDate = this.defaultValuesService.getMarkingPeriodStartDate();
        // courseManager.markingPeriodEndDate = this.defaultValuesService.getMarkingPeriodEndDate();
        let apiurl = this.apiUrl + courseManager._tenantName + "/CourseManager/getAllCourseList";
        return this.http.post(apiurl, courseManager, this.httpOptions);
    }
    AddCourse(courseManager) {
        courseManager = this.defaultValuesService.getAllMandatoryVariable(courseManager);
        courseManager.course.schoolId = this.defaultValuesService.getSchoolID();
        courseManager.course.tenantId = this.defaultValuesService.getTenantID();
        courseManager.course.createdBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + courseManager._tenantName + "/CourseManager/addCourse";
        return this.http.post(apiurl, courseManager, this.httpOptions);
    }
    UpdateCourse(courseManager) {
        courseManager = this.defaultValuesService.getAllMandatoryVariable(courseManager);
        courseManager.course.schoolId = this.defaultValuesService.getSchoolID();
        courseManager.course.tenantId = this.defaultValuesService.getTenantID();
        courseManager.course.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + courseManager._tenantName + "/CourseManager/updateCourse";
        return this.http.put(apiurl, courseManager, this.httpOptions);
    }
    DeleteCourse(courseManager) {
        courseManager = this.defaultValuesService.getAllMandatoryVariable(courseManager);
        courseManager.course.schoolId = this.defaultValuesService.getSchoolID();
        courseManager.course.tenantId = this.defaultValuesService.getTenantID();
        courseManager.course.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + courseManager._tenantName + "/CourseManager/deleteCourse";
        return this.http.post(apiurl, courseManager, this.httpOptions);
    }
    searchCourseForSchedule(searchParams) {
        searchParams = this.defaultValuesService.getAllMandatoryVariable(searchParams);
        searchParams.academicYear = this.defaultValuesService.getAcademicYear();
        let apiurl = this.apiUrl + searchParams._tenantName + "/CourseManager/searchCourseForSchedule";
        return this.http.post(apiurl, searchParams, this.httpOptions);
    }
    getAllCourseStandardForCourse(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/CourseManager/getAllCourseStandardForCourse";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addEditBellSchedule(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        // obj.bellSchedule.academicYear = this.defaultValuesService.getAcademicYear();
        obj.bellSchedule.createdBy = this.defaultValuesService.getUserGuidId();
        obj.bellSchedule.tenantId = this.defaultValuesService.getTenantID();
        obj.bellSchedule.schoolId = this.defaultValuesService.getSchoolID();
        let apiurl = this.apiUrl + obj._tenantName + "/CourseManager/addEditBellSchedule";
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    getAllBellSchedule(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.academicYear = this.defaultValuesService.getAcademicYear();
        let apiurl = this.apiUrl + obj._tenantName + "/CourseManager/getAllBellSchedule";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getCourseCatelog(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.academicYear = obj.academicYear ? obj.academicYear : this.defaultValuesService.getAcademicYear();
        let apiurl = this.apiUrl + obj._tenantName + "/CourseManager/getCourseCatelog";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getCourseSectionByStaff(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.academicYear = this.defaultValuesService.getAcademicYear();
        let apiurl = this.apiUrl + obj._tenantName + "/CourseManager/getCourseSectionByStaff";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    GetAllCourseSubjectWise(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.academicYear = this.defaultValuesService.getAcademicYear();
        let apiurl = this.apiUrl + obj._tenantName + "/StaffLessonPlan/GetAllCourseSubjectWise";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getCourseSectionAssignmentByStaff(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.academicYear = this.defaultValuesService.getAcademicYear();
        obj.staffId = +this.defaultValuesService.getUserId();
        let apiurl = this.apiUrl + obj._tenantName + "/CourseManager/getCourseSectionAssignmentByStaff";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    viewCourseSection(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/CourseManager/viewCourseSection";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    searchCourseCourseSection(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/CourseManager/searchCourseCourseSection";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    GetAllProgramsListBySchool(courseManager) {
        courseManager._tenantName = this.defaultValuesService.getDefaultTenant();
        courseManager._userName = this.defaultValuesService.getUserName();
        courseManager._token = this.defaultValuesService.getToken();
        courseManager.tenantId = this.defaultValuesService.getTenantID();
        let apiurl = this.apiUrl + courseManager._tenantName + "/CourseManager/getAllProgram";
        return this.http.post(apiurl, courseManager, this.httpOptions);
    }
    getCourseCatelogForGraduationRequirements(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.academicYear = this.defaultValuesService.getAcademicYear();
        let apiurl = this.apiUrl + obj._tenantName + "/CourseManager/getCourseCatelogForGraduationRequirements";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getPeriodListByCourseSection(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/CourseManager/getPeriodListByCourseSection";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
}
CourseManagerService.ɵfac = function CourseManagerService_Factory(t) { return new (t || CourseManagerService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_Crypto_service__WEBPACK_IMPORTED_MODULE_3__["CryptoService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"])); };
CourseManagerService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: CourseManagerService, factory: CourseManagerService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](CourseManagerService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }, { type: _Crypto_service__WEBPACK_IMPORTED_MODULE_3__["CryptoService"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/dasboard.service.ts":
/*!**********************************************!*\
  !*** ./src/app/services/dasboard.service.ts ***!
  \**********************************************/
/*! exports provided: DasboardService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DasboardService", function() { return DasboardService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");







class DasboardService {
    constructor(http, defaultValuesService) {
        this.http = http;
        this.defaultValuesService = defaultValuesService;
        this.apiUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].apiURL;
        this.dashboardSubject = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](false);
        this.courseSectionDetails = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](null);
        this.selectedCourseSectionDetails = this.courseSectionDetails.asObservable();
        this.markingPeriodTriggerData = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"]({ markingPeriodLoaded: false, markingPeriodChanged: false });
        this.markingPeriodTriggeredData = this.markingPeriodTriggerData.asObservable();
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
    }
    getDashboardView(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.academicYear = this.defaultValuesService.getAcademicYear();
        obj.membershipId = +this.defaultValuesService.getuserMembershipID();
        obj.userId = +this.defaultValuesService.getUserId();
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getDashboardView";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getDashboardViewForCalendarView(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.academicYear = this.defaultValuesService.getAcademicYear();
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getDashboardViewForCalendarView";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getDashboardViewForStaff(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.markingPeriodStartDate = this.defaultValuesService.getMarkingPeriodStartDate();
        obj.markingPeriodEndDate = this.defaultValuesService.getMarkingPeriodEndDate();
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getDashboardViewForStaff";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getDashboardViewForStudent(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.markingPeriodStartDate = this.defaultValuesService.getMarkingPeriodStartDate();
        obj.markingPeriodEndDate = this.defaultValuesService.getMarkingPeriodEndDate();
        let apiurl = this.apiUrl + obj._tenantName + "/StudentPortal/getStudentDashboard";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    sendPageLoadEvent(event) {
        this.dashboardSubject.next(event);
    }
    getPageLoadEvent() {
        return this.dashboardSubject.asObservable();
    }
    getMissingAttendanceCountForDashboardView(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getMissingAttendanceCountForDashboardView";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    selectedCourseSection(details) {
        this.courseSectionDetails.next(details);
    }
    changeMarkingPeriodStatus(message) {
        this.markingPeriodTriggerData.next(message);
    }
}
DasboardService.ɵfac = function DasboardService_Factory(t) { return new (t || DasboardService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"])); };
DasboardService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: DasboardService, factory: DasboardService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](DasboardService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/error.interceptor.ts":
/*!***********************************************!*\
  !*** ./src/app/services/error.interceptor.ts ***!
  \***********************************************/
/*! exports provided: ErrorIntercept */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ErrorIntercept", function() { return ErrorIntercept; });
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js");
/* harmony import */ var _response_message_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./response-message.service */ "./src/app/services/response-message.service.ts");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");







class ErrorIntercept {
    constructor(injector, defaultValuesService) {
        this.injector = injector;
        this.defaultValuesService = defaultValuesService;
        this.requests = [];
        this.apiUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].apiURL;
        this.tenant = this.defaultValuesService.getDefaultTenant();
    }
    intercept(request, next) {
        return next.handle(request)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["retry"])(1), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["catchError"])((error) => {
            const notifier = this.injector.get(_response_message_service__WEBPACK_IMPORTED_MODULE_2__["ResponseMessageService"]);
            let errorMessage = '';
            if (error.error instanceof ErrorEvent) {
                // client-side error
                errorMessage = `Error: ${error.error.message}`;
                notifier.showError(errorMessage);
            }
            else {
                // server-side error
                errorMessage = `Error Status: ${error.status}\nMessage: ${error.message}`;
                notifier.showError(errorMessage);
            }
            this.defaultValuesService.setErrorMessage(errorMessage);
            return Object(rxjs__WEBPACK_IMPORTED_MODULE_0__["throwError"])(errorMessage);
        }));
    }
}
ErrorIntercept.ɵfac = function ErrorIntercept_Factory(t) { return new (t || ErrorIntercept)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_3__["Injector"]), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_5__["DefaultValuesService"])); };
ErrorIntercept.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjectable"]({ token: ErrorIntercept, factory: ErrorIntercept.ɵfac });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵsetClassMetadata"](ErrorIntercept, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["Injectable"]
    }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["Injector"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_5__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/grade-level.service.ts":
/*!*************************************************!*\
  !*** ./src/app/services/grade-level.service.ts ***!
  \*************************************************/
/*! exports provided: GradeLevelService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GradeLevelService", function() { return GradeLevelService; });
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");






class GradeLevelService {
    constructor(http, defaultValuesService) {
        this.http = http;
        this.defaultValuesService = defaultValuesService;
        this.apiUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL;
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
    }
    getAllGradeLevels(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Gradelevel/getAllGradeLevels";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addGradelevel(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tblGradelevel.schoolId = this.defaultValuesService.getSchoolID();
        obj.tblGradelevel.tenantId = this.defaultValuesService.getTenantID();
        obj.tblGradelevel.createdBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/Gradelevel/addGradelevel";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateGradelevel(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tblGradelevel.schoolId = this.defaultValuesService.getSchoolID();
        obj.tblGradelevel.tenantId = this.defaultValuesService.getTenantID();
        obj.tblGradelevel.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/Gradelevel/updateGradelevel";
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    deleteGradelevel(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tblGradelevel.schoolId = this.defaultValuesService.getSchoolID();
        obj.tblGradelevel.tenantId = this.defaultValuesService.getTenantID();
        obj.tblGradelevel.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/Gradelevel/deleteGradelevel";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllGradeEquivalency(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Gradelevel/getAllGradeEquivalency";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getCreditCategoryForStudent(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/GraduateProgram/getCreditCategoryForStudent";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
}
GradeLevelService.ɵfac = function GradeLevelService_Factory(t) { return new (t || GradeLevelService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_3__["DefaultValuesService"])); };
GradeLevelService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: GradeLevelService, factory: GradeLevelService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](GradeLevelService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_3__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/image-cropper.service.ts":
/*!***************************************************!*\
  !*** ./src/app/services/image-cropper.service.ts ***!
  \***************************************************/
/*! exports provided: ImageCropperService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImageCropperService", function() { return ImageCropperService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _models_image_cropper_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../models/image-cropper.model */ "./src/app/models/image-cropper.model.ts");




class ImageCropperService {
    constructor() {
        this.imageStat = new _models_image_cropper_model__WEBPACK_IMPORTED_MODULE_2__["ImageModel"]();
        this.cropEventSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
        this.cropEventSubjectForThumbnail = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
        this.unCropEventSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
        this.message = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](this.imageStat);
        this.sharedMessage = this.message.asObservable();
        this.imageStatus = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](null);
        this.shareImageStatus = this.imageStatus.asObservable();
    }
    sendCroppedEvent(event) {
        this.cropEventSubject.next(event);
    }
    getCroppedEvent() {
        return this.cropEventSubject.asObservable();
    }
    sendCroppedEventForThumbnail(event) {
        this.cropEventSubjectForThumbnail.next(event);
    }
    getCroppedEventForThumbnail() {
        return this.cropEventSubjectForThumbnail.asObservable();
    }
    sendUncroppedEvent(event) {
        this.unCropEventSubject.next(event);
    }
    getUncroppedEvent() {
        return this.unCropEventSubject.asObservable();
    }
    enableUpload(message) {
        this.message.next(message);
    }
    cancelImage(imageStatus) {
        this.imageStatus.next(imageStatus);
    }
}
ImageCropperService.ɵfac = function ImageCropperService_Factory(t) { return new (t || ImageCropperService)(); };
ImageCropperService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: ImageCropperService, factory: ImageCropperService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ImageCropperService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/app/services/impersonate.service.ts":
/*!*************************************************!*\
  !*** ./src/app/services/impersonate.service.ts ***!
  \*************************************************/
/*! exports provided: ImpersonateServices */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImpersonateServices", function() { return ImpersonateServices; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _enums_profiles_enum__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../enums/profiles.enum */ "./src/app/enums/profiles.enum.ts");
/* harmony import */ var _models_roll_based_access_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/roll-based-access.model */ "./src/app/models/roll-based-access.model.ts");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _roll_based_access_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./roll-based-access.service */ "./src/app/services/roll-based-access.service.ts");
/* harmony import */ var _school_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./school.service */ "./src/app/services/school.service.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _common_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./common.service */ "./src/app/services/common.service.ts");
/* harmony import */ var _subscription_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./subscription.service */ "./src/app/services/subscription.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");












class ImpersonateServices {
    constructor(defaultValuesService, rollBasedAccessService, schoolService, router, commonService, subscriptionService, snackbar) {
        this.defaultValuesService = defaultValuesService;
        this.rollBasedAccessService = rollBasedAccessService;
        this.schoolService = schoolService;
        this.router = router;
        this.commonService = commonService;
        this.subscriptionService = subscriptionService;
        this.snackbar = snackbar;
        this.permissionListViewModel = new _models_roll_based_access_model__WEBPACK_IMPORTED_MODULE_3__["RolePermissionListViewModel"]();
        this.profiles = _enums_profiles_enum__WEBPACK_IMPORTED_MODULE_2__["ProfilesTypes"];
        this.impersonateSubjectForSelectBar = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](false);
        this.impersonateSubjectForToolBar = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](false);
    }
    impersonateStoreData() {
        let impersonateCread = {
            userGuiId: this.defaultValuesService.getUserGuidId(),
            userPhoto: this.defaultValuesService.getuserPhoto(),
            userId: this.defaultValuesService.getUserId(),
            userMembershipId: this.defaultValuesService.getuserMembershipID(),
            userMembershipType: this.defaultValuesService.getUserMembershipType(),
            userFullUserName: this.defaultValuesService.getFullUserName(),
            userName: this.defaultValuesService.getUserName(),
            userEmail: this.defaultValuesService.getEmailId(),
            userMembershipName: this.defaultValuesService.getuserMembershipName(),
            userSchoolId: this.defaultValuesService.getSchoolID()
        };
        if (this.defaultValuesService.getUserMembershipType() === "Super Administrator")
            this.setSuperAdminCredentials(impersonateCread);
        else
            this.setAdminStaffCredentials(impersonateCread);
        this.defaultValuesService.setImpersonateButton(true);
    }
    backToSuperAdmin() {
        let value = this.getAdminStaffCredentials() ? this.getAdminStaffCredentials() : this.getSuperAdminCredentials();
        this.defaultValuesService.setFullUserName(value.userFullUserName);
        this.defaultValuesService.setUserMembershipType(value.userMembershipType);
        this.defaultValuesService.setEmailId(value.userEmail);
        this.defaultValuesService.setUserGuidId(value.userGuiId);
        this.defaultValuesService.setUserName(value.userName);
        this.defaultValuesService.setUserId(value.userId);
        this.defaultValuesService.setUserPhoto(value.userPhoto);
        this.defaultValuesService.setUserMembershipID(value.userMembershipId);
        this.defaultValuesService.setuserMembershipName(value.userMembershipName);
        this.defaultValuesService.setSchoolID(value.userSchoolId);
        sessionStorage.removeItem(this.defaultValuesService.getUserMembershipType() === "Super Administrator" ? 'superAdminCredentials' : 'adminProfileCredentials');
        if (this.defaultValuesService.getUserMembershipType() === "Super Administrator" ||
            ((this.defaultValuesService.getUserMembershipType() === "School Administrator" || this.defaultValuesService.getUserMembershipType() === "Admin Assistant") && !this.getSuperAdminCredentials()))
            sessionStorage.removeItem('impersonateButton');
    }
    setSuperAdminCredentials(superAdminCredentials) {
        sessionStorage.setItem("superAdminCredentials", JSON.stringify(superAdminCredentials));
    }
    getSuperAdminCredentials() {
        return JSON.parse(sessionStorage.getItem("superAdminCredentials"));
    }
    setAdminStaffCredentials(adminProfileCredentials) {
        sessionStorage.setItem("adminProfileCredentials", JSON.stringify(adminProfileCredentials));
    }
    getAdminStaffCredentials() {
        return JSON.parse(sessionStorage.getItem("adminProfileCredentials"));
    }
    callRolePermissions(impersonate) {
        let rolePermissionListView = new _models_roll_based_access_model__WEBPACK_IMPORTED_MODULE_3__["RolePermissionListViewModel"]();
        rolePermissionListView.permissionList = [];
        this.rollBasedAccessService.getAllRolePermission(rolePermissionListView).subscribe((res) => {
            if (res) {
                if (!res._failure) {
                    if (this.defaultValuesService.getIsForImpersonate())
                        sessionStorage.removeItem('isForImpersonate'); // For manager impersonate
                    res.permissionList = this.commonService.checkAndModifyPermissionData(res.permissionList);
                    this.defaultValuesService.setPermissionList(res);
                    if (impersonate !== 'payment') { // payment = for just set latest permission value
                        this.schoolService.changeSchoolListStatus({ schoolLoaded: false, schoolChanged: false, dataFromUserLogin: true, academicYearChanged: false, academicYearLoaded: false });
                        if (this.defaultValuesService.getUserMembershipType() === this.profiles.HomeroomTeacher || this.defaultValuesService.getUserMembershipType() === this.profiles.Teacher) {
                            this.router.navigateByUrl("/school/teacher/dashboards").then(() => {
                                this.commonService.setUserActivity(true);
                            });
                        }
                        else if (this.defaultValuesService.getUserMembershipType() === this.profiles.Student) {
                            this.router.navigateByUrl("/school/student/dashboards").then(() => {
                                this.commonService.setUserActivity(true);
                            });
                        }
                        else if (this.defaultValuesService.getUserMembershipType() === this.profiles.Parent) {
                            this.router.navigateByUrl("/school/parent/dashboards").then(() => {
                                this.commonService.setUserActivity(true);
                            });
                        }
                        else {
                            this.getUserCountForTenant().then(() => {
                                this.router.navigateByUrl("/school/dashboards", { state: { state: true } }).then(() => {
                                    this.commonService.setUserActivity(true);
                                });
                            });
                        }
                    }
                }
                else {
                    if (this.defaultValuesService.getIsForImpersonate())
                        this.router.navigateByUrl('/error/impersonation-error?error=api-failure'); // For manager impersonate
                }
            }
            else {
                if (this.defaultValuesService.getIsForImpersonate())
                    this.router.navigateByUrl('/error/impersonation-error?error=api-failure'); // For manager impersonate
            }
            if (impersonate === true) { // impersonate === true = for impersonate service
                this.impersonateSubjectForToolBar.next(true);
                this.impersonateSubjectForSelectBar.next(true);
            }
        });
    }
    getUserCountForTenant() {
        return new Promise((resolve, reject) => {
            this.subscriptionService.getUSerCount().toPromise().then((data) => {
                if (data._failure) {
                    this.snackbar.open('' + data.message, '', {
                        duration: 10000
                    });
                }
                else {
                    this.defaultValuesService.setStudentCount(data.studentCount);
                    this.defaultValuesService.setStaffCount(data.staffCount);
                }
                resolve('');
            });
        });
    }
}
ImpersonateServices.ɵfac = function ImpersonateServices_Factory(t) { return new (t || ImpersonateServices)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_roll_based_access_service__WEBPACK_IMPORTED_MODULE_5__["RollBasedAccessService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_school_service__WEBPACK_IMPORTED_MODULE_6__["SchoolService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_7__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_common_service__WEBPACK_IMPORTED_MODULE_8__["CommonService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_subscription_service__WEBPACK_IMPORTED_MODULE_9__["SubscriptionService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_10__["MatSnackBar"])); };
ImpersonateServices.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: ImpersonateServices, factory: ImpersonateServices.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ImpersonateServices, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"] }, { type: _roll_based_access_service__WEBPACK_IMPORTED_MODULE_5__["RollBasedAccessService"] }, { type: _school_service__WEBPACK_IMPORTED_MODULE_6__["SchoolService"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_7__["Router"] }, { type: _common_service__WEBPACK_IMPORTED_MODULE_8__["CommonService"] }, { type: _subscription_service__WEBPACK_IMPORTED_MODULE_9__["SubscriptionService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_10__["MatSnackBar"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/loader.interceptor.ts":
/*!************************************************!*\
  !*** ./src/app/services/loader.interceptor.ts ***!
  \************************************************/
/*! exports provided: LoaderInterceptor */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LoaderInterceptor", function() { return LoaderInterceptor; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _loader_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./loader.service */ "./src/app/services/loader.service.ts");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _common_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./common.service */ "./src/app/services/common.service.ts");








class LoaderInterceptor {
    constructor(loaderService, defaultValuesService, commonService) {
        this.loaderService = loaderService;
        this.defaultValuesService = defaultValuesService;
        this.commonService = commonService;
        this.requests = [];
        this.apiUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL;
        this.tenant = this.defaultValuesService.getDefaultTenant();
    }
    removeRequest(req) {
        const i = this.requests.indexOf(req);
        if (i >= 0) {
            this.requests.splice(i, 1);
        }
        this.loaderService.isLoading.next(this.requests.length > 0);
    }
    intercept(req, next) {
        if (req.url !== this.apiUrl + this.tenant + "/User/checkUserLoginEmail" && req.url !== this.apiUrl + this.tenant + "/Student/checkStudentInternalId" && req.url !== this.apiUrl + this.tenant + "/Staff/checkStaffInternalId"
            && req.url !== this.apiUrl + this.tenant + "/School/checkSchoolInternalId" && req.url !== this.apiUrl + this.tenant + "/User/RefreshToken" && req.url !== this.apiUrl + this.tenant + "/Grade/checkStandardRefNo") {
            this.requests.push(req);
            this.loaderService.isLoading.next(true);
            return this.returnRequest(req, next);
        }
        else {
            this.loaderService.isLoading.next(false);
            return this.returnRequest(req, next);
        }
    }
    returnRequest(req, next) {
        return rxjs__WEBPACK_IMPORTED_MODULE_2__["Observable"].create(observer => {
            const subscription = next.handle(req)
                .subscribe(event => {
                var _a, _b;
                if (event instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpResponse"]) {
                    this.removeRequest(req);
                    if ((_a = event.body) === null || _a === void 0 ? void 0 : _a._failure) {
                        if (!this.commonService.checkTokenValidOrNot((_b = event.body) === null || _b === void 0 ? void 0 : _b._message))
                            observer.next(event);
                    }
                    else {
                        observer.next(event);
                    }
                }
            }, err => {
                this.removeRequest(req);
                observer.error(err);
            }, () => {
                this.removeRequest(req);
                observer.complete();
            });
            // remove request from queue when cancelled
            return () => {
                this.removeRequest(req);
                subscription.unsubscribe();
            };
        });
    }
}
LoaderInterceptor.ɵfac = function LoaderInterceptor_Factory(t) { return new (t || LoaderInterceptor)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_loader_service__WEBPACK_IMPORTED_MODULE_4__["LoaderService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_5__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_common_service__WEBPACK_IMPORTED_MODULE_6__["CommonService"])); };
LoaderInterceptor.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: LoaderInterceptor, factory: LoaderInterceptor.ɵfac });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LoaderInterceptor, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"]
    }], function () { return [{ type: _loader_service__WEBPACK_IMPORTED_MODULE_4__["LoaderService"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_5__["DefaultValuesService"] }, { type: _common_service__WEBPACK_IMPORTED_MODULE_6__["CommonService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/loader.service.ts":
/*!********************************************!*\
  !*** ./src/app/services/loader.service.ts ***!
  \********************************************/
/*! exports provided: LoaderService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LoaderService", function() { return LoaderService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");



class LoaderService {
    constructor() {
        // progressRef: NgProgressRef;
        this.isLoading = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](false);
    }
}
LoaderService.ɵfac = function LoaderService_Factory(t) { return new (t || LoaderService)(); };
LoaderService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: LoaderService, factory: LoaderService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LoaderService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return []; }, null); })();


/***/ }),

/***/ "./src/app/services/login.service.ts":
/*!*******************************************!*\
  !*** ./src/app/services/login.service.ts ***!
  \*******************************************/
/*! exports provided: LoginService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LoginService", function() { return LoginService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var _auth0_angular_jwt__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @auth0/angular-jwt */ "./node_modules/@auth0/angular-jwt/__ivy_ngcc__/fesm2015/auth0-angular-jwt.js");
/* harmony import */ var _services_Crypto_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../services/Crypto.service */ "./src/app/services/Crypto.service.ts");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");








class LoginService {
    constructor(http, jwtHelper, cryptoService, defaultValuesService) {
        this.http = http;
        this.jwtHelper = jwtHelper;
        this.cryptoService = cryptoService;
        this.defaultValuesService = defaultValuesService;
        this.apiUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].apiURL;
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
    }
    getAllLanguage(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getAllLanguage";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllLanguageForLogin(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getAllLanguageForLogin";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    ValidateLogin(obj) {
        obj.schoolId = this.defaultValuesService.getSchoolID() === 0 ? null : this.defaultValuesService.getSchoolID();
        obj._tenantName = this.defaultValuesService.getTenent();
        obj._userName = this.defaultValuesService.getUserName();
        obj._token = this.defaultValuesService.getToken();
        obj.password = (this.defaultValuesService.getSSOenabledonLoginBtn()) ? null : this.cryptoService.encrypt(obj.password);
        obj.tenantId = JSON.parse(sessionStorage.tenantData).tenantId;
        obj.userAccessLog.Emailaddress = obj.email;
        // obj.userAccessLog={"ipaddress":this.ipAdd.ip};
        let apiurl = this.apiUrl + obj._tenantName + "/User/ValidateLogin";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    userImpersonation(obj) {
        let apiurl = this.apiUrl + obj._tenantName + "/User/userImpersonation";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    isAuthenticated() {
        const token = this.defaultValuesService.getToken();
        if (this.defaultValuesService.getToken()) {
            return !this.jwtHelper.isTokenExpired(token);
        }
        else {
            return false;
        }
    }
    checkUserLoginEmail(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/User/checkUserLoginEmail";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllUserAccessLog(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/User/getAllUserAccessLog";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    sendMailForResetPassword(obj) {
        let apiurl = this.apiUrl + obj._tenantName + "/Password/sendMailForResetPassword";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    resetPassword(obj) {
        let apiurl = this.apiUrl + obj._tenantName + "/Password/resetPassword";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
}
LoginService.ɵfac = function LoginService_Factory(t) { return new (t || LoginService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_auth0_angular_jwt__WEBPACK_IMPORTED_MODULE_3__["JwtHelperService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_services_Crypto_service__WEBPACK_IMPORTED_MODULE_4__["CryptoService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_5__["DefaultValuesService"])); };
LoginService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: LoginService, factory: LoginService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LoginService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"] }, { type: _auth0_angular_jwt__WEBPACK_IMPORTED_MODULE_3__["JwtHelperService"] }, { type: _services_Crypto_service__WEBPACK_IMPORTED_MODULE_4__["CryptoService"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_5__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/marking-period.service.ts":
/*!****************************************************!*\
  !*** ./src/app/services/marking-period.service.ts ***!
  \****************************************************/
/*! exports provided: MarkingPeriodService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MarkingPeriodService", function() { return MarkingPeriodService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");







class MarkingPeriodService {
    constructor(http, defaultValuesService) {
        this.http = http;
        this.defaultValuesService = defaultValuesService;
        this.apiUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].apiURL;
        this.currentYear = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](false);
        this.academyYearSubject = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](null);
        this.currentY = this.currentYear.asObservable();
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
    }
    GetMarkingPeriod(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + '/MarkingPeriod/getMarkingPeriod';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    AddSchoolYear(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tableSchoolYears.schoolId = this.defaultValuesService.getSchoolID();
        obj.tableSchoolYears.tenantId = this.defaultValuesService.getTenantID();
        obj.tableSchoolYears.createdBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + '/MarkingPeriod/addSchoolYear';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    UpdateSchoolYear(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tableSchoolYears.schoolId = this.defaultValuesService.getSchoolID();
        obj.tableSchoolYears.tenantId = this.defaultValuesService.getTenantID();
        obj.tableSchoolYears.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + '/MarkingPeriod/updateSchoolYear';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    DeleteSchoolYear(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tableSchoolYears.schoolId = this.defaultValuesService.getSchoolID();
        obj.tableSchoolYears.tenantId = this.defaultValuesService.getTenantID();
        obj.tableSchoolYears.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + '/MarkingPeriod/deleteSchoolYear';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    AddSemester(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tableSemesters.schoolId = this.defaultValuesService.getSchoolID();
        obj.tableSemesters.tenantId = this.defaultValuesService.getTenantID();
        obj.tableSemesters.createdBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + '/MarkingPeriod/addSemester';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    UpdateSemester(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tableSemesters.schoolId = this.defaultValuesService.getSchoolID();
        obj.tableSemesters.tenantId = this.defaultValuesService.getTenantID();
        obj.tableSemesters.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + '/MarkingPeriod/updateSemester';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    DeleteSemester(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tableSemesters.schoolId = this.defaultValuesService.getSchoolID();
        obj.tableSemesters.tenantId = this.defaultValuesService.getTenantID();
        obj.tableSemesters.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + '/MarkingPeriod/deleteSemester';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    AddQuarter(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tableQuarter.schoolId = this.defaultValuesService.getSchoolID();
        obj.tableQuarter.tenantId = this.defaultValuesService.getTenantID();
        obj.tableQuarter.createdBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + '/MarkingPeriod/addQuarter';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    UpdateQuarter(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tableQuarter.schoolId = this.defaultValuesService.getSchoolID();
        obj.tableQuarter.tenantId = this.defaultValuesService.getTenantID();
        obj.tableQuarter.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + '/MarkingPeriod/updateQuarter';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    DeleteQuarter(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tableQuarter.schoolId = this.defaultValuesService.getSchoolID();
        obj.tableQuarter.tenantId = this.defaultValuesService.getTenantID();
        obj.tableQuarter.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + '/MarkingPeriod/deleteQuarter';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    AddProgressPeriod(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tableProgressPeriods.schoolId = this.defaultValuesService.getSchoolID();
        obj.tableProgressPeriods.tenantId = this.defaultValuesService.getTenantID();
        obj.tableProgressPeriods.createdBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + '/MarkingPeriod/addProgressPeriod';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    UpdateProgressPeriod(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tableProgressPeriods.schoolId = this.defaultValuesService.getSchoolID();
        obj.tableProgressPeriods.tenantId = this.defaultValuesService.getTenantID();
        obj.tableProgressPeriods.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + '/MarkingPeriod/updateProgressPeriod';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    DeleteProgressPeriod(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tableProgressPeriods.schoolId = this.defaultValuesService.getSchoolID();
        obj.tableProgressPeriods.tenantId = this.defaultValuesService.getTenantID();
        obj.tableProgressPeriods.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + '/MarkingPeriod/deleteProgressPeriod';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    // getAcademicYearList and getMarkingPeriodTitleList
    //  is for Select Dropdown Bar for selecting academic year and period
    // which is in right upper corner of opensisv2 site.
    getAcademicYearList(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + '/MarkingPeriod/getAcademicYearList';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getMarkingPeriodTitleList(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + '/MarkingPeriod/getMarkingPeriodTitleList';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getCurrentYear(message) {
        this.currentYear.next(message);
    }
    getAllMarkingPeriodList(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + '/MarkingPeriod/getAllMarkingPeriodList';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getMarkingPeriodsByCourseSection(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolId = this.defaultValuesService.getSchoolID();
        // obj.academicYear = this.defaultValuesService.getAcademicYear();
        obj.markingPeriodStartDate = this.defaultValuesService.getMarkingPeriodStartDate();
        obj.markingPeriodEndDate = this.defaultValuesService.getMarkingPeriodEndDate();
        let apiurl = this.apiUrl + obj._tenantName + '/MarkingPeriod/getMarkingPeriodsByCourseSection';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    setUpdatedAcademicYearsList(academicYearsList) {
        academicYearsList.map((year, index) => {
            if ((index === academicYearsList.length - 1) ||
                (new Date(this.defaultValuesService.getFullYearEndDate()) >= new Date() &&
                    new Date(this.defaultValuesService.getFullYearStartDate()) <= new Date())) {
                year.canModify = true;
                //setting canModify true to the last object, if multiple academic years exist that means rollover has happened
            }
            else {
                year.canModify = false;
                //setting canModify false to the all previous objects, if multiple academic years exist that means rollover has happened
                //so that for all previous year add/edit report card grade setting can be turned off
            }
        });
        this.academyYearSubject.next(academicYearsList);
    }
    getUpdatedAcademicYearsList() {
        return this.academyYearSubject.asObservable();
    }
}
MarkingPeriodService.ɵfac = function MarkingPeriodService_Factory(t) { return new (t || MarkingPeriodService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"])); };
MarkingPeriodService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: MarkingPeriodService, factory: MarkingPeriodService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MarkingPeriodService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/moodle.service.ts":
/*!********************************************!*\
  !*** ./src/app/services/moodle.service.ts ***!
  \********************************************/
/*! exports provided: MoodleService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MoodleService", function() { return MoodleService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");






class MoodleService {
    constructor(http, defaultValuesService) {
        this.http = http;
        this.defaultValuesService = defaultValuesService;
        this.apiUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].apiURL;
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
    }
    getMoodleVersionInfo(modleURL, obj) {
        let apiurl = modleURL + "/webservice/rest/server.php";
        let apiurlExtended = apiurl + "?wstoken=" + obj.wsToken + "&moodlewsrestformat=" + obj.moodlewsrestformat + "&wsfunction=" + obj.wsfunction;
        return this.http.post(apiurlExtended, null);
    }
    getMoodleConfigurations(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Moodle/getMoodleConfig";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    modifyMoodleConfigurations(obj, eventType) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/Moodle/" + (eventType == 'add' ? "addMoodleConfig" : "updateMoodleConfig");
        if (eventType == 'add')
            return this.http.post(apiurl, obj, this.httpOptions);
        else
            return this.http.put(apiurl, obj, this.httpOptions);
    }
    addUserInMoodle(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Moodle/addUserInMoodle";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addCourseInMoodle(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Moodle/addCourseInMoodle";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getUsersMoodleCourses(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Moodle/getUsersMoodleCourses";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getEnrolledUsersMoodleCourses(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolId = this.defaultValuesService.getSchoolID();
        obj.tenantId = this.defaultValuesService.getTenantID();
        let apiurl = this.apiUrl + obj._tenantName + "/Moodle/getEnrolledUsersMoodleCourses";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getMoodleFinalGrades(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Moodle/getMoodleFinalGrades";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    MoodleSSO(modleURL, obj) {
        let apiurl = modleURL + "/webservice/rest/server.php";
        let apiurlExtended = apiurl + "?wstoken=" + obj.ssoToken + "&moodlewsrestformat=" + obj.moodlewsrestformat + "&wsfunction=" + obj.wsfunction + "&user[email]=" + obj.user;
        return this.http.post(apiurlExtended, null);
    }
    addMoodleAssignments(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Moodle/addMoodleAssignments";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getMoodlUserGradeReport(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Moodle/getMoodlUserGradeReport";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getMoodleUsersRole(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolId = this.defaultValuesService.getSchoolID();
        obj.tenantId = this.defaultValuesService.getTenantID();
        let apiurl = this.apiUrl + obj._tenantName + "/Moodle/getMoodleUsersRole";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getMoodleUsersInfo(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolId = this.defaultValuesService.getSchoolID();
        obj.tenantId = this.defaultValuesService.getTenantID();
        let apiurl = this.apiUrl + obj._tenantName + "/Moodle/getMoodleUsersInfo";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getMoodleCourseInfo(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolId = this.defaultValuesService.getSchoolID();
        obj.tenantId = this.defaultValuesService.getTenantID();
        let apiurl = this.apiUrl + obj._tenantName + "/Moodle/getMoodleCourseInfo";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getMoodleUserScheduling(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolId = this.defaultValuesService.getSchoolID();
        obj.tenantId = this.defaultValuesService.getTenantID();
        let apiurl = this.apiUrl + obj._tenantName + "/Moodle/getMoodleUserScheduling";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getMoodleHistrocialCoureseGrades(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolId = this.defaultValuesService.getSchoolID();
        obj.tenantId = this.defaultValuesService.getTenantID();
        let apiurl = this.apiUrl + obj._tenantName + "/Moodle/getMoodleHistrocialCoureseGrades";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getopenSISAndMoodleCustomFields(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolId = this.defaultValuesService.getSchoolID();
        obj.tenantId = this.defaultValuesService.getTenantID();
        let apiurl = this.apiUrl + obj._tenantName + "/Moodle/getUserCategoriesAndFields";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    editCustomFieldMoodleMapping(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolId = this.defaultValuesService.getSchoolID();
        obj.tenantId = this.defaultValuesService.getTenantID();
        let apiurl = this.apiUrl + obj._tenantName + "/Moodle/editCustomFieldMoodleMapping";
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    getMoodlePageUrl(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolId = this.defaultValuesService.getSchoolID();
        obj.tenantId = this.defaultValuesService.getTenantID();
        let apiurl = this.apiUrl + obj._tenantName + "/Moodle/getMoodlePageUrl";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
}
MoodleService.ɵfac = function MoodleService_Factory(t) { return new (t || MoodleService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_3__["DefaultValuesService"])); };
MoodleService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: MoodleService, factory: MoodleService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MoodleService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_3__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/notification.service.ts":
/*!**************************************************!*\
  !*** ./src/app/services/notification.service.ts ***!
  \**************************************************/
/*! exports provided: NotificationService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotificationService", function() { return NotificationService; });
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");







class NotificationService {
    constructor(http, defaultValuesService) {
        this.http = http;
        this.defaultValuesService = defaultValuesService;
        this.showNotificationsPanel = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"]();
        this.apiUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL;
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
    }
    GetAllNotifications(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Common/getAllReleasedFeature";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllGeneralNotifications(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Notification/getAllNotification";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateNotification(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Notification/updateNotification";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    connectUserInSignalR(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/User/connectUserInSignalR";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
}
NotificationService.ɵfac = function NotificationService_Factory(t) { return new (t || NotificationService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"])); };
NotificationService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: NotificationService, factory: NotificationService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](NotificationService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/parent-info.service.ts":
/*!*************************************************!*\
  !*** ./src/app/services/parent-info.service.ts ***!
  \*************************************************/
/*! exports provided: ParentInfoService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParentInfoService", function() { return ParentInfoService; });
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _models_parent_info_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/parent-info.model */ "./src/app/models/parent-info.model.ts");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _enums_school_create_enum__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../enums/school-create.enum */ "./src/app/enums/school-create.enum.ts");
/* harmony import */ var _Crypto_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Crypto.service */ "./src/app/services/Crypto.service.ts");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");










class ParentInfoService {
    constructor(http, cryptoService, defaultValuesService) {
        this.http = http;
        this.cryptoService = cryptoService;
        this.defaultValuesService = defaultValuesService;
        this.parentCreate = _enums_school_create_enum__WEBPACK_IMPORTED_MODULE_5__["SchoolCreate"];
        this.apiUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL;
        this.advanceSearchParams = null;
        this.userName = this.defaultValuesService.getUserName();
        this.parentCreateMode = new rxjs__WEBPACK_IMPORTED_MODULE_4__["BehaviorSubject"](this.parentCreate.VIEW);
        this.parentCreatedMode = this.parentCreateMode.asObservable();
        this.custodianParent = new rxjs__WEBPACK_IMPORTED_MODULE_4__["BehaviorSubject"](false);
        this.custodianParentData = this.custodianParent.asObservable();
        this.selectedStudentPhotoForParent = new rxjs__WEBPACK_IMPORTED_MODULE_4__["BehaviorSubject"](false);
        this.studentPhotoForParentData = this.selectedStudentPhotoForParent.asObservable();
        this.parentDetailsForViewAndEdit = new rxjs__WEBPACK_IMPORTED_MODULE_4__["BehaviorSubject"](null);
        this.parentDetailsForViewedAndEdited = this.parentDetailsForViewAndEdit.asObservable();
        // Update Mode in Parent
        this.pageMode = new rxjs__WEBPACK_IMPORTED_MODULE_4__["Subject"];
        this.modeToUpdate = this.pageMode.asObservable();
        // to Update staff details in General for first time.
        this.parentDetailsForGeneralInfo = new rxjs__WEBPACK_IMPORTED_MODULE_4__["Subject"];
        this.getParentDetailsForGeneral = this.parentDetailsForGeneralInfo.asObservable();
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
    }
    setParentId(id) {
        sessionStorage.setItem('ParentID', JSON.stringify(id));
    }
    getParentId() {
        return JSON.parse(sessionStorage.getItem('ParentID'));
    }
    setParentDetails(data) {
        this.parentDetails = data;
    }
    getParentDetails() {
        return this.parentDetails;
    }
    changePageMode(mode) {
        this.pageMode.next(mode);
    }
    ViewParentListForStudent(parentInfo) {
        parentInfo = this.defaultValuesService.getAllMandatoryVariable(parentInfo);
        let apiurl = this.apiUrl + parentInfo._tenantName + "/ParentInfo/ViewParentListForStudent";
        return this.http.post(apiurl, parentInfo, this.httpOptions);
    }
    viewParentInfo(parentInfo) {
        parentInfo = this.defaultValuesService.getAllMandatoryVariable(parentInfo);
        parentInfo.parentInfo.schoolId = this.defaultValuesService.getSchoolID();
        parentInfo.parentInfo.tenantId = this.defaultValuesService.getTenantID();
        let apiurl = this.apiUrl + parentInfo._tenantName + "/ParentInfo/viewParentInfo";
        return this.http.post(apiurl, parentInfo, this.httpOptions);
    }
    updateParentInfo(parentInfo) {
        parentInfo = this.defaultValuesService.getAllMandatoryVariable(parentInfo);
        parentInfo.passwordHash = (parentInfo.passwordHash && parentInfo.passwordHash !== '') ? this.cryptoService.encrypt(parentInfo.passwordHash) : null;
        parentInfo.parentInfo.schoolId = this.defaultValuesService.getSchoolID();
        parentInfo.parentInfo.tenantId = this.defaultValuesService.getTenantID();
        parentInfo.parentInfo.updatedBy = this.defaultValuesService.getUserGuidId();
        parentInfo.parentInfo.parentPhoto = this.parentImage;
        parentInfo.parentInfo.parentAddress[0].parentId = parentInfo.parentInfo.parentId;
        parentInfo.parentInfo.parentAddress[0].tenantId = this.defaultValuesService.getTenantID();
        parentInfo.parentInfo.parentAddress[0].schoolId = this.defaultValuesService.getSchoolID();
        let apiurl = this.apiUrl + parentInfo._tenantName + "/ParentInfo/updateParentInfo";
        return this.http.put(apiurl, parentInfo, this.httpOptions);
    }
    getAllParentInfo(Obj) {
        Obj = this.defaultValuesService.getAllMandatoryVariable(Obj);
        let apiurl = this.apiUrl + Obj._tenantName + "/ParentInfo/getAllParentInfo";
        return this.http.post(apiurl, Obj, this.httpOptions);
    }
    addParentForStudent(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.parentInfo.schoolId = this.defaultValuesService.getSchoolID();
        obj.parentInfo.tenantId = this.defaultValuesService.getTenantID();
        obj.parentInfo.createdBy = this.defaultValuesService.getUserGuidId();
        obj.parentAssociationship.tenantId = this.defaultValuesService.getTenantID();
        obj.passwordHash = (obj.passwordHash && obj.passwordHash !== '') ? this.cryptoService.encrypt(obj.passwordHash) : null;
        obj.parentInfo.parentPhoto = this.parentImage;
        let apiurl = this.apiUrl + obj._tenantName + "/ParentInfo/addParentForStudent";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    deleteParentInfo(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.parentInfo.schoolId = this.defaultValuesService.getSchoolID();
        obj.parentInfo.tenantId = this.defaultValuesService.getTenantID();
        let apiurl = this.apiUrl + obj._tenantName + "/ParentInfo/deleteParentInfo";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    searchParentInfoForStudent(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/ParentInfo/searchParentInfoForStudent";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    viewParentListForStudent(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/ParentInfo/viewParentListForStudent";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    removeAssociatedParent(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.parentInfo.schoolId = this.defaultValuesService.getSchoolID();
        obj.parentInfo.parentAddress[0].tenantId = this.defaultValuesService.getTenantID();
        obj.parentInfo.tenantId = this.defaultValuesService.getTenantID();
        let apiurl = this.apiUrl + obj._tenantName + "/ParentInfo/removeAssociatedParent";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addUpdateParentPhoto(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.parentInfo.schoolId = this.defaultValuesService.getSchoolID();
        obj.parentInfo.tenantId = this.defaultValuesService.getTenantID();
        obj.parentInfo.updatedBy = this.defaultValuesService.getUserGuidId();
        obj.parentInfo.parentId = this.getParentId();
        obj.parentInfo.parentPhoto = this.parentImage;
        obj.parentInfo.parentThumbnailPhoto = this.parentThumbnailImage;
        let apiurl = this.apiUrl + obj._tenantName + "/ParentInfo/addUpdateParentPhoto";
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    sendDetails(parentDetailsForGeneralInfo) {
        this.parentDetailsForGeneralInfo.next(parentDetailsForGeneralInfo);
    }
    setParentImage(imageInBase64) {
        this.parentImage = imageInBase64;
    }
    setParentThumbnailImage(imageInBase64) {
        this.parentThumbnailImage = imageInBase64;
    }
    setParentCreateMode(data) {
        this.parentCreateMode.next(data);
    }
    setParentDetailsForViewAndEdit(data) {
        this.parentDetailsForViewAndEdit.next(data);
    }
    setAdvanceSearchParams(params) {
        this.advanceSearchParams = params;
    }
    getAdvanceSearchParams() {
        if (this.advanceSearchParams) {
            let parentSearchModel = new _models_parent_info_model__WEBPACK_IMPORTED_MODULE_3__["ParentAdvanceSearchModel"]();
            for (let param of this.advanceSearchParams) {
                parentSearchModel[param.columnName] = param.filterValue;
            }
            return parentSearchModel;
        }
        else {
            return null;
        }
    }
    custodianParentCheck(data) {
        this.custodianParent.next(data);
    }
    studentPhotoForParent(data) {
        this.selectedStudentPhotoForParent.next(data);
    }
}
ParentInfoService.ɵfac = function ParentInfoService_Factory(t) { return new (t || ParentInfoService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_Crypto_service__WEBPACK_IMPORTED_MODULE_6__["CryptoService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_7__["DefaultValuesService"])); };
ParentInfoService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: ParentInfoService, factory: ParentInfoService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ParentInfoService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }, { type: _Crypto_service__WEBPACK_IMPORTED_MODULE_6__["CryptoService"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_7__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/parent-portal.service.ts":
/*!***************************************************!*\
  !*** ./src/app/services/parent-portal.service.ts ***!
  \***************************************************/
/*! exports provided: ParentPortalService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParentPortalService", function() { return ParentPortalService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");






class ParentPortalService {
    constructor(defaultValuesService, http) {
        this.defaultValuesService = defaultValuesService;
        this.http = http;
        this.apiUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL;
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
    }
    getStudentListForParent(parentInfo) {
        parentInfo = this.defaultValuesService.getAllMandatoryVariable(parentInfo);
        parentInfo.parentInfo.schoolId = this.defaultValuesService.getSchoolID();
        parentInfo.parentInfo.tenantId = this.defaultValuesService.getTenantID();
        let apiurl = this.apiUrl + parentInfo._tenantName + "/ParentPortal/getStudentListForParent";
        return this.http.post(apiurl, parentInfo, this.httpOptions);
    }
    getAllSchoolsByStudentId(schoolList) {
        schoolList = this.defaultValuesService.getAllMandatoryVariable(schoolList);
        let apiurl = this.apiUrl + schoolList._tenantName + "/ParentPortal/getAllSchoolsByStudentId";
        return this.http.post(apiurl, schoolList, this.httpOptions);
    }
}
ParentPortalService.ɵfac = function ParentPortalService_Factory(t) { return new (t || ParentPortalService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_3__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"])); };
ParentPortalService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: ParentPortalService, factory: ParentPortalService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ParentPortalService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_3__["DefaultValuesService"] }, { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/response-message.service.ts":
/*!******************************************************!*\
  !*** ./src/app/services/response-message.service.ts ***!
  \******************************************************/
/*! exports provided: ResponseMessageService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ResponseMessageService", function() { return ResponseMessageService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");



class ResponseMessageService {
    constructor(snackBar) {
        this.snackBar = snackBar;
    }
    showSuccess(message) {
        this.snackBar.open(message);
    }
    showError(message) {
        // The second parameter is the text in the button. 
        // In the third, we send the css class, duration for the snack bar.
        // this.snackBar.open(message, 'X', { duration: 8000});
    }
}
ResponseMessageService.ɵfac = function ResponseMessageService_Factory(t) { return new (t || ResponseMessageService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_1__["MatSnackBar"])); };
ResponseMessageService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: ResponseMessageService, factory: ResponseMessageService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ResponseMessageService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_1__["MatSnackBar"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/roll-based-access.service.ts":
/*!*******************************************************!*\
  !*** ./src/app/services/roll-based-access.service.ts ***!
  \*******************************************************/
/*! exports provided: RollBasedAccessService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RollBasedAccessService", function() { return RollBasedAccessService; });
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _Crypto_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Crypto.service */ "./src/app/services/Crypto.service.ts");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");








class RollBasedAccessService {
    constructor(http, cryptoService, defaultValuesService) {
        this.http = http;
        this.cryptoService = cryptoService;
        this.defaultValuesService = defaultValuesService;
        this.permissionList = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"]([]);
        this.currentpermissionList = this.permissionList.asObservable();
        this.obj = { "memberId": 0, "memberTitle": "", "memberType": "", "memberDescription": "" };
        this.member = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](this.obj);
        this.selectedMember = this.member.asObservable();
        this.apiUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL;
        this.accessControlStatus = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](false);
        this.permissionsChanged = this.accessControlStatus.asObservable();
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
    }
    getAllPermissionGroup(permission) {
        permission = this.defaultValuesService.getAllMandatoryVariable(permission);
        let apiurl = this.apiUrl + permission._tenantName + "/RoleBasedAccess/getAllPermissionGroup";
        return this.http.post(apiurl, permission, this.httpOptions);
    }
    getAllRolePermission(permission) {
        permission = this.defaultValuesService.getAllMandatoryVariable(permission);
        let apiurl = this.apiUrl + permission._tenantName + "/RoleBasedAccess/getAllRolePermission";
        return this.http.post(apiurl, permission, this.httpOptions);
    }
    getPermission() {
        return this.defaultValuesService.getPermissionList();
    }
    // setPermission() {
    //     this.permission = JSON.parse(this.cryptoService.dataDecrypt(localStorage.getItem('permissions')))
    // }
    updateRolePermission(permission) {
        permission = this.defaultValuesService.getAllMandatoryVariable(permission);
        let apiurl = this.apiUrl + permission._tenantName + "/RoleBasedAccess/updateRolePermission";
        return this.http.put(apiurl, permission, this.httpOptions);
    }
    send(message) {
        this.permissionList.next(message);
    }
    sendSelectedMember(member) {
        this.member.next(member);
    }
    changeAccessControl(message) {
        this.accessControlStatus.next(message);
    }
}
RollBasedAccessService.ɵfac = function RollBasedAccessService_Factory(t) { return new (t || RollBasedAccessService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_Crypto_service__WEBPACK_IMPORTED_MODULE_4__["CryptoService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_5__["DefaultValuesService"])); };
RollBasedAccessService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: RollBasedAccessService, factory: RollBasedAccessService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](RollBasedAccessService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }, { type: _Crypto_service__WEBPACK_IMPORTED_MODULE_4__["CryptoService"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_5__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/school.service.ts":
/*!********************************************!*\
  !*** ./src/app/services/school.service.ts ***!
  \********************************************/
/*! exports provided: SchoolService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SchoolService", function() { return SchoolService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _enums_school_create_enum__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../enums/school-create.enum */ "./src/app/enums/school-create.enum.ts");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");








class SchoolService {
    constructor(http, defaultValuesService) {
        this.http = http;
        this.defaultValuesService = defaultValuesService;
        this.schoolCreate = _enums_school_create_enum__WEBPACK_IMPORTED_MODULE_4__["SchoolCreate"];
        this.navigationState = false;
        this.categoryTitle = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](null);
        this.selectedCategoryTitle = this.categoryTitle.asObservable();
        this.messageSource = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](false);
        this.currentMessage = this.messageSource.asObservable();
        this.apiUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].apiURL;
        this.schoolCreateMode = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](this.schoolCreate.ADD);
        this.schoolCreatedMode = this.schoolCreateMode.asObservable();
        this.schoolDetailsForViewAndEdit = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](null);
        this.schoolDetailsForViewedAndEdited = this.schoolDetailsForViewAndEdit.asObservable();
        this.categoryDetails = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](0);
        this.categoryDetailsSelected = this.categoryDetails.asObservable();
        this.currentSchoolName = new rxjs__WEBPACK_IMPORTED_MODULE_3__["Subject"]();
        this.updatedSchoolName = this.currentSchoolName.asObservable();
        this.schoolMultiselectValue = [];
        this.pageSetupSubject = new rxjs__WEBPACK_IMPORTED_MODULE_3__["Subject"]();
        this.congratulateSubject = new rxjs__WEBPACK_IMPORTED_MODULE_3__["Subject"]();
        // Change Category in School
        this.category = new rxjs__WEBPACK_IMPORTED_MODULE_3__["Subject"];
        this.categoryToSend = this.category.asObservable();
        // Update Mode in School
        this.pageMode = new rxjs__WEBPACK_IMPORTED_MODULE_3__["Subject"];
        this.modeToUpdate = this.pageMode.asObservable();
        // to Update school details in General Info in first view mode.
        this.schoolDetailsForGeneral = new rxjs__WEBPACK_IMPORTED_MODULE_3__["Subject"]();
        this.getSchoolDetailsForGeneral = this.schoolDetailsForGeneral.asObservable();
        this.changeStatusTo = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"]({ schoolChanged: false, schoolLoaded: false, dataFromUserLogin: false, academicYearChanged: false, academicYearLoaded: false });
        this.schoolListCalled = this.changeStatusTo.asObservable();
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
    }
    GetAllSchoolList(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/School/getAllSchoolList";
        return this.http.post(apiurl, obj, { headers: this.httpOptions.headers });
    }
    GetAllSchools(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/School/getAllSchools";
        return this.http.post(apiurl, obj, { headers: this.httpOptions.headers });
    }
    ViewSchool(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolMaster.schoolId = this.defaultValuesService.getSchoolID();
        obj.schoolMaster.schoolDetail[0].schoolId = this.defaultValuesService.getSchoolID();
        obj.schoolMaster.tenantId = this.defaultValuesService.getTenantID();
        let apiurl = this.apiUrl + obj._tenantName + "/School/viewSchool";
        return this.http.post(apiurl, obj, { headers: this.httpOptions.headers });
    }
    AddSchool(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.EmailAddress = this.defaultValuesService.getEmailId();
        obj.schoolMaster.tenantId = this.defaultValuesService.getTenantID();
        obj.schoolMaster.createdBy = this.defaultValuesService.getUserGuidId();
        obj.schoolMaster.schoolDetail[0].schoolLogo = this.schoolImage;
        obj.schoolMaster.schoolDetail[0].createdBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/School/addSchool";
        return this.http.post(apiurl, obj, { headers: this.httpOptions.headers });
    }
    UpdateSchool(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.EmailAddress = this.defaultValuesService.getEmailId();
        obj.schoolMaster.tenantId = this.defaultValuesService.getTenantID();
        obj.schoolMaster.updatedBy = this.defaultValuesService.getUserGuidId();
        obj.schoolMaster.createdBy = null;
        obj.schoolMaster.schoolDetail[0].schoolLogo = this.schoolImage;
        obj.schoolMaster.schoolDetail[0].createdBy = null;
        obj.schoolMaster.schoolDetail[0].updatedBy = this.defaultValuesService.getUserGuidId();
        let apiurl = this.apiUrl + obj._tenantName + "/School/updateSchool";
        return this.http.put(apiurl, obj, { headers: this.httpOptions.headers });
    }
    copySchool(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.fromSchoolId = this.defaultValuesService.getSchoolID();
        obj.schoolMaster.tenantId = this.defaultValuesService.getTenantID();
        let apiurl = this.apiUrl + obj._tenantName + "/School/copySchool";
        return this.http.post(apiurl, obj, { headers: this.httpOptions.headers });
    }
    checkSchoolInternalId(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/School/checkSchoolInternalId";
        return this.http.post(apiurl, obj, { headers: this.httpOptions.headers });
    }
    setSchoolImage(imageInBase64) {
        this.schoolImage = imageInBase64;
    }
    setSchoolCloneImage(image) {
        this.cloneSchoolImage = image;
    }
    getSchoolCloneImage() {
        return this.cloneSchoolImage;
    }
    setnavigationState(state) {
        this.navigationState = state;
    }
    getnavigationState() {
        return this.navigationState;
    }
    setSchoolId(id) {
        this.schoolId = id;
    }
    getSchoolId() {
        return this.schoolId;
    }
    resetSchoolMultiselectValue() {
        this.schoolMultiselectValue = [];
    }
    setSchoolMultiselectValue(value, fieldId, categoryId) {
        if (this.schoolMultiselectValue.length) {
            if (this.schoolMultiselectValue[0].categoryId !== categoryId)
                this.schoolMultiselectValue = [];
        }
        if (!this.schoolMultiselectValue.length) {
            this.schoolMultiselectValue.push({ value, fieldId, categoryId });
        }
        else {
            const index = this.schoolMultiselectValue.findIndex(item => item.fieldId === fieldId);
            if (index !== -1) {
                this.schoolMultiselectValue[index] = { value, fieldId, categoryId };
            }
            else {
                this.schoolMultiselectValue.push({ value, fieldId, categoryId });
            }
        }
    }
    getSchoolMultiselectValue() {
        return this.schoolMultiselectValue;
    }
    setSchoolDetails(data) {
        this.schoolDetails = data;
    }
    getSchoolDetails() {
        return this.schoolDetails;
    }
    changeMessage(message) {
        this.messageSource.next(message);
    }
    changeCategory(category) {
        this.category.next(category);
    }
    changePageMode(mode) {
        this.pageMode.next(mode);
    }
    sendDetails(schoolDetailsForGeneral) {
        this.schoolDetailsForGeneral.next(schoolDetailsForGeneral);
    }
    addUpdateSchoolLogo(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolMaster.schoolId = this.defaultValuesService.getSchoolID();
        obj.schoolMaster.tenantId = this.defaultValuesService.getTenantID();
        obj.schoolMaster.updatedBy = this.defaultValuesService.getUserGuidId();
        // obj.schoolMaster.schoolDetail[0].id = this.getSchoolId();
        // obj.schoolMaster.schoolDetail[0].schoolLogo = this.schoolImage;
        let apiurl = this.apiUrl + obj._tenantName + "/School/addUpdateSchoolLogo";
        return this.http.put(apiurl, obj, { headers: this.httpOptions.headers });
    }
    changeSchoolListStatus(message) {
        this.changeStatusTo.next(message);
    }
    setSchoolCreateMode(data) {
        this.schoolCreateMode.next(data);
    }
    setSchoolDetailsForViewAndEdit(data) {
        this.schoolDetailsForViewAndEdit.next(data);
    }
    setCategoryDetails(data) {
        this.categoryDetails.next(data);
    }
    setCategoryTitle(title) {
        this.categoryTitle.next(title);
    }
    updateSchoolName(schoolName) {
        this.currentSchoolName.next(schoolName);
    }
    updateLastUsedSchoolId(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.EmailAddress = this.defaultValuesService.getEmailId();
        obj.updatedBy = this.defaultValuesService.getEmailId();
        let apiurl = this.apiUrl + obj._tenantName + "/School/updateLastUsedSchoolId";
        return this.http.put(apiurl, obj, { headers: this.httpOptions.headers });
    }
    setData(val) {
        // this.pageSetupSubject.next(val)
    }
}
SchoolService.ɵfac = function SchoolService_Factory(t) { return new (t || SchoolService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_5__["DefaultValuesService"])); };
SchoolService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: SchoolService, factory: SchoolService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SchoolService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_5__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/staff.service.ts":
/*!*******************************************!*\
  !*** ./src/app/services/staff.service.ts ***!
  \*******************************************/
/*! exports provided: StaffService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StaffService", function() { return StaffService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _enums_school_create_enum__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../enums/school-create.enum */ "./src/app/enums/school-create.enum.ts");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../common/page-roles-permissions.service */ "./src/app/common/page-roles-permissions.service.ts");
/* harmony import */ var _Crypto_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Crypto.service */ "./src/app/services/Crypto.service.ts");












class StaffService {
    constructor(http, defaultValuesService, snackbar, router, pageRolePermission, cryptoService) {
        this.http = http;
        this.defaultValuesService = defaultValuesService;
        this.snackbar = snackbar;
        this.router = router;
        this.pageRolePermission = pageRolePermission;
        this.cryptoService = cryptoService;
        this.staffCreate = _enums_school_create_enum__WEBPACK_IMPORTED_MODULE_4__["SchoolCreate"];
        this.apiUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].apiURL;
        this.currentYear = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](false);
        this.currentY = this.currentYear.asObservable();
        this.userName = this.defaultValuesService.getUserName();
        this.isFirstView = true;
        this.staffMultiselectValue = [];
        this.category = new rxjs__WEBPACK_IMPORTED_MODULE_3__["Subject"]();
        this.categoryToSend = this.category.asObservable();
        // Update Mode in Staff
        this.pageMode = new rxjs__WEBPACK_IMPORTED_MODULE_3__["Subject"]();
        this.modeToUpdate = this.pageMode.asObservable();
        // to Update staff details in General for first time.
        this.staffDetailsForGeneralInfo = new rxjs__WEBPACK_IMPORTED_MODULE_3__["Subject"]();
        this.getStaffDetailsForGeneral = this.staffDetailsForGeneralInfo.asObservable();
        this.staffCreateMode = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](this.staffCreate.ADD);
        this.staffCreatedMode = this.staffCreateMode.asObservable();
        this.staffDetailsForViewAndEdit = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](null);
        this.staffDetailsForViewedAndEdited = this.staffDetailsForViewAndEdit.asObservable();
        this.categoryId = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](0);
        this.categoryIdSelected = this.categoryId.asObservable();
        this.dataAfterSavingGeneralInfo = new rxjs__WEBPACK_IMPORTED_MODULE_3__["Subject"]();
        this.dataAfterSavedGeneralInfo = this.dataAfterSavingGeneralInfo.asObservable();
        this.checkUpdatedProfileName = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](null);
        this.checkedUpdatedProfileName = this.checkUpdatedProfileName.asObservable();
        this.categoryTitle = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](null);
        this.selectedCategoryTitle = this.categoryTitle.asObservable();
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
    }
    setStaffImage(imageInBase64) {
        this.staffImage = imageInBase64;
    }
    setStaffThumbnailImage(imageInBase64) {
        this.staffThumbnailImage = imageInBase64;
    }
    setStaffId(id) {
        this.staffId = id;
    }
    getStaffId() {
        return this.staffId;
    }
    setStaffGuid(id) {
        this.staffGuid = id;
    }
    getStaffGuid() {
        return this.staffGuid;
    }
    resetStaffMultiselectValue() {
        this.staffMultiselectValue = [];
    }
    setStaffMultiselectValue(value, fieldId, categoryId) {
        if (this.staffMultiselectValue.length) {
            if (this.staffMultiselectValue[0].categoryId !== categoryId)
                this.staffMultiselectValue = [];
        }
        if (!this.staffMultiselectValue.length) {
            this.staffMultiselectValue.push({ value, fieldId, categoryId });
        }
        else {
            const index = this.staffMultiselectValue.findIndex(item => item.fieldId === fieldId);
            if (index !== -1) {
                this.staffMultiselectValue[index] = { value, fieldId, categoryId };
            }
            else {
                this.staffMultiselectValue.push({ value, fieldId, categoryId });
            }
        }
    }
    getStaffMultiselectValue() {
        return this.staffMultiselectValue;
    }
    changeCategory(category) {
        this.category.next(category);
    }
    setStaffDetails(data) {
        this.staffDetails = data;
    }
    getStaffDetails() {
        return this.staffDetails;
    }
    checkExternalSchoolId(model, categoryId) {
        return new Promise((resolve, reject) => {
            var _a, _b;
            let isReadOnly = false;
            if (((_a = model === null || model === void 0 ? void 0 : model.externalSchoolIds) === null || _a === void 0 ? void 0 : _a.length) > 0) {
                const index = model.externalSchoolIds.findIndex(x => x === this.defaultValuesService.getSchoolID());
                if (this.defaultValuesService.getSchoolID() !== model.staffMaster.schoolId && index >= 0) {
                    if (((_b = model === null || model === void 0 ? void 0 : model.fieldsCategoryList[categoryId]) === null || _b === void 0 ? void 0 : _b.customFields.filter(x => !x.systemField && !x.hide).length) === 0) {
                        this.snackbar.open(`This staff is associated to ${model.defaultSchoolName}. Please go to ${model.defaultSchoolName} for edit`, '', { duration: 10000 });
                        reject({});
                    }
                    else {
                        isReadOnly = true;
                        resolve({ isReadOnly });
                    }
                }
                else if (this.defaultValuesService.getSchoolID() !== model.staffMaster.schoolId && index === -1) {
                    this.snackbar.open(`This staff is associated to ${model.defaultSchoolName}. Please go to ${model.defaultSchoolName} for edit`, '', { duration: 10000 });
                    reject();
                }
                else if (this.defaultValuesService.getSchoolID() === model.staffMaster.schoolId) {
                    resolve({ isReadOnly });
                }
            }
            else {
                resolve({ isReadOnly });
            }
        });
    }
    redirectToStaffList() {
        this.router.navigate(['/school', 'staff']);
        this.snackbar.open(`Didn't have any permisssion to add staff in selected academic year.`, '', {
            duration: 30000
        });
    }
    checkStaffInternalId(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/checkStaffInternalId';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    changePageMode(mode) {
        this.pageMode.next(mode);
    }
    sendDetails(staffDetailsForGeneralInfo) {
        this.staffDetailsForGeneralInfo.next(staffDetailsForGeneralInfo);
    }
    setStaffCloneImage(image) {
        this.cloneStaffImage = image;
    }
    getStaffCloneImage() {
        return this.cloneStaffImage;
    }
    addStaff(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.passwordHash = (obj.passwordHash && obj.passwordHash !== '') ? this.cryptoService.encrypt(obj.passwordHash) : null;
        obj.staffMaster.staffPhoto = this.staffImage;
        obj.staffMaster.schoolId = this.defaultValuesService.getSchoolID();
        obj.staffMaster.tenantId = this.defaultValuesService.getTenantID();
        obj.staffMaster.createdBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/addStaff';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateStaff(obj) {
        obj.passwordHash = (obj.passwordHash && obj.passwordHash !== '') ? this.cryptoService.encrypt(obj.passwordHash) : null;
        obj.staffMaster.staffPhoto = this.staffImage;
        obj.staffMaster.schoolId = this.defaultValuesService.getSchoolID();
        obj.staffMaster.tenantId = this.defaultValuesService.getTenantID();
        obj.staffMaster.updatedBy = this.defaultValuesService.getUserGuidId();
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/updateStaff';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    viewStaff(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.staffMaster.schoolId = this.defaultValuesService.getSchoolID();
        obj.ExternalSchoolId = this.defaultValuesService.getSchoolID();
        obj.staffMaster.tenantId = this.defaultValuesService.getTenantID();
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/viewStaff';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    deleteStaff(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolId = this.defaultValuesService.getSchoolID();
        obj.tenantId = this.defaultValuesService.getTenantID();
        obj.updatedBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/deleteStaff';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllStaffList(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        this.getAllStaffAndInactive();
        obj.searchAllSchool = this.searchAllSchool;
        obj.includeInactive = this.includeInactive;
        obj.emailAddress = this.defaultValuesService.getEmailId();
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/getAllStaffList';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllStaffListByDateRange(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        this.getAllStaffAndInactive();
        obj.searchAllSchool = this.searchAllSchool;
        obj.includeInactive = this.includeInactive;
        obj.emailAddress = this.defaultValuesService.getEmailId();
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/getAllStaffListByDateRange';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllStaffAndInactive() {
        this.defaultValuesService.sendAllSchoolFlagSubject.subscribe(data => {
            this.searchAllSchool = data;
        });
        this.defaultValuesService.sendIncludeFlagSubject.subscribe(data => {
            this.includeInactive = data;
        });
    }
    // Staff Certificate Services
    getAllStaffCertificateInfo(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.externalSchoolId = this.defaultValuesService.getSchoolID();
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/getAllStaffCertificateInfo';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addStaffCertificateInfo(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.staffCertificateInfo.schoolId = this.defaultValuesService.getSchoolID();
        obj.staffCertificateInfo.tenantId = this.defaultValuesService.getTenantID();
        obj.staffCertificateInfo.createdBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/addStaffCertificateInfo';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    deleteStaffCertificateInfo(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.staffCertificateInfo.schoolId = this.defaultValuesService.getSchoolID();
        obj.staffCertificateInfo.tenantId = this.defaultValuesService.getTenantID();
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/deleteStaffCertificateInfo';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateStaffCertificateInfo(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.staffCertificateInfo.schoolId = this.defaultValuesService.getSchoolID();
        obj.staffCertificateInfo.tenantId = this.defaultValuesService.getTenantID();
        obj.staffCertificateInfo.updatedBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/updateStaffCertificateInfo';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    addStaffSchoolInfo(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/addStaffSchoolInfo';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    viewStaffSchoolInfo(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/viewStaffSchoolInfo';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateStaffSchoolInfo(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/updateStaffSchoolInfo';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    addUpdateStaffPhoto(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.staffMaster.staffId = this.getStaffId();
        obj.staffMaster.staffPhoto = this.staffImage;
        obj.staffMaster.staffThumbnailPhoto = this.staffThumbnailImage;
        obj.staffMaster.tenantId = this.defaultValuesService.getTenantID();
        obj.staffMaster.updatedBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/addUpdateStaffPhoto';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    addStaffList(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.createdBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/addStaffList';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    setStaffFirstView(status) {
        this.isFirstView = status;
    }
    getStaffFirstView() {
        return this.isFirstView;
    }
    setStaffCreateMode(data) {
        this.staffCreateMode.next(data);
    }
    setStaffDetailsForViewAndEdit(data) {
        this.staffDetailsForViewAndEdit.next(data);
    }
    setCategoryId(data) {
        this.categoryId.next(data);
    }
    setDataAfterSavingGeneralInfo(data) {
        this.dataAfterSavingGeneralInfo.next(data);
    }
    setCheckUpdatedProfileName(data) {
        this.checkUpdatedProfileName.next(data);
    }
    setCategoryTitle(title) {
        this.categoryTitle.next(title);
    }
    getScheduledCourseSectionsForStaff(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.academicYear = this.defaultValuesService.getAcademicYear();
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/getScheduledCourseSectionsForStaff';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    redirectToGeneralInfo() {
        let permission = this.pageRolePermission.checkPageRolePermission('/school/staff/staff-generalinfo', null, true);
        if (!permission.add) {
            this.router.navigate(['/school', 'staff']);
            this.snackbar.open('You did not have permission to add staff details.', '', {
                duration: 10000
            });
        }
        else {
            this.router.navigate(['/school', 'staff', 'staff-generalinfo']);
        }
    }
    getStaffJobTitle(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj._academicYear = this.defaultValuesService.getAcademicYear();
        const apiurl = this.apiUrl + obj._tenantName + '/Staff/getStaffJobTitle';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
}
StaffService.ɵfac = function StaffService_Factory(t) { return new (t || StaffService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_5__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__["MatSnackBar"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_7__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_8__["PageRolesPermission"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_Crypto_service__WEBPACK_IMPORTED_MODULE_9__["CryptoService"])); };
StaffService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: StaffService, factory: StaffService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](StaffService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_5__["DefaultValuesService"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__["MatSnackBar"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_7__["Router"] }, { type: _common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_8__["PageRolesPermission"] }, { type: _Crypto_service__WEBPACK_IMPORTED_MODULE_9__["CryptoService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/student.service.ts":
/*!*********************************************!*\
  !*** ./src/app/services/student.service.ts ***!
  \*********************************************/
/*! exports provided: StudentService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StudentService", function() { return StudentService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js");
/* harmony import */ var _enums_school_create_enum__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../enums/school-create.enum */ "./src/app/enums/school-create.enum.ts");
/* harmony import */ var _Crypto_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Crypto.service */ "./src/app/services/Crypto.service.ts");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");
/* harmony import */ var _common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../common/page-roles-permissions.service */ "./src/app/common/page-roles-permissions.service.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/snack-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm2015/snack-bar.js");












class StudentService {
    constructor(http, cryptoService, defaultValuesService, pageRolePermission, router, snackbar) {
        this.http = http;
        this.cryptoService = cryptoService;
        this.defaultValuesService = defaultValuesService;
        this.pageRolePermission = pageRolePermission;
        this.router = router;
        this.snackbar = snackbar;
        this.studentCreate = _enums_school_create_enum__WEBPACK_IMPORTED_MODULE_4__["SchoolCreate"];
        this.apiUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].apiURL;
        this.currentYear = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](false);
        this.currentY = this.currentYear.asObservable();
        this.studentCreateMode = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](this.studentCreate.ADD);
        this.studentCreatedMode = this.studentCreateMode.asObservable();
        this.studentDetailsForViewAndEdit = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](null);
        this.studentDetailsForViewedAndEdited = this.studentDetailsForViewAndEdit.asObservable();
        this.categoryId = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](null);
        this.categoryIdSelected = this.categoryId.asObservable();
        this.categoryTitle = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](null);
        this.selectedCatgoryTitle = this.categoryTitle.asObservable();
        this.dataAfterSavingGeneralInfo = new rxjs__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](0);
        this.dataAfterSavingGeneralInfoChanged = this.dataAfterSavingGeneralInfo.asObservable();
        this.criticalAlertInMedicalInfo = new rxjs__WEBPACK_IMPORTED_MODULE_3__["Subject"]();
        this.criticalAlertStatus = this.criticalAlertInMedicalInfo.asObservable();
        this.studentMultiselectValue = [];
        this.isFirstView = true;
        this.category = new rxjs__WEBPACK_IMPORTED_MODULE_3__["Subject"];
        this.categoryToSend = this.category.asObservable();
        // Update Mode in Student
        this.pageMode = new rxjs__WEBPACK_IMPORTED_MODULE_3__["Subject"];
        this.modeToUpdate = this.pageMode.asObservable();
        // to Update student details in General for first time.
        this.studentDetailsForGeneralInfo = new rxjs__WEBPACK_IMPORTED_MODULE_3__["Subject"]();
        this.getStudentDetailsForGeneral = this.studentDetailsForGeneralInfo.asObservable();
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
    }
    redirectToGeneralInfo(customPermission) {
        let permission = this.pageRolePermission.checkPageRolePermission('/school/students/student-generalinfo', customPermission, true);
        if (!permission.add) {
            this.router.navigate(['/school', 'students']);
            this.snackbar.open('You did not have permission to add student details.', '', {
                duration: 10000
            });
        }
        else {
            this.router.navigate(['/school', 'students', 'student-generalinfo']);
        }
    }
    redirectToStudentList() {
        this.router.navigate(['/school', 'students']);
        this.snackbar.open(`Didn't have any permisssion to add student in selected academic year.`, '', {
            duration: 30000
        });
    }
    AddStudent(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMaster.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMaster.schoolId = this.defaultValuesService.getSchoolID();
        obj.studentMaster.createdBy = this.defaultValuesService.getUserGuidId();
        obj.passwordHash = (obj.passwordHash && obj.passwordHash !== '') ? this.cryptoService.encrypt(obj.passwordHash) : null;
        const apiurl = this.apiUrl + obj._tenantName + '/Student/addStudent';
        obj.studentMaster.studentPhoto = this.studentImage;
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    AddStudentForGroupAssign(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMedicalProvider = this.defaultValuesService.getAllMandatoryVariable(obj.studentMedicalProvider);
        obj.studentMaster.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMaster.schoolId = this.defaultValuesService.getSchoolID();
        obj.studentMaster.createdBy = this.defaultValuesService.getUserGuidId();
        obj.updatedBy = this.defaultValuesService.getUserGuidId();
        obj.passwordHash = this.cryptoService.encrypt(obj.passwordHash);
        const apiurl = this.apiUrl + obj._tenantName + '/Student/assignInfoForStudents';
        obj.studentMaster.studentPhoto = this.studentImage;
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    viewStudent(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMaster.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMaster.schoolId = this.defaultValuesService.getSchoolID();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/viewStudent';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    UpdateStudent(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMaster.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMaster.schoolId = this.defaultValuesService.getSchoolID();
        obj.studentMaster.updatedBy = this.defaultValuesService.getUserGuidId();
        obj.passwordHash = (obj.passwordHash && obj.passwordHash !== '') ? this.cryptoService.encrypt(obj.passwordHash) : null;
        const apiurl = this.apiUrl + obj._tenantName + '/Student/updateStudent';
        obj.studentMaster.studentPhoto = this.studentImage;
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    DeleteStudent(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.tenantId = this.defaultValuesService.getTenantID();
        obj.schoolId = this.defaultValuesService.getSchoolID();
        obj.updatedBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/deleteStudent';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    GetAllStudentList(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.emailAddress = this.defaultValuesService.getEmailId();
        this.getAllSchoolAndInactive();
        obj.searchAllSchool = this.searchAllSchool;
        // obj.includeInactive=this.includeInactive;
        const apiurl = this.apiUrl + obj._tenantName + '/Student/getAllStudentList';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllStudentListByDateRange(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.academicYear = this.defaultValuesService.getAcademicYear();
        obj.EmailAddress = this.defaultValuesService.getEmailId();
        obj.markingPeriodStartDate = this.defaultValuesService.getMarkingPeriodStartDate();
        obj.markingPeriodEndDate = this.defaultValuesService.getMarkingPeriodEndDate();
        this.getAllSchoolAndInactive();
        obj.searchAllSchool = this.searchAllSchool;
        obj.includeInactive = this.includeInactive;
        const apiurl = this.apiUrl + obj._tenantName + '/Student/getAllStudentListByDateRange';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllStudentListByDateRangeForAttendanceCommentReport(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.academicYear = this.defaultValuesService.getAcademicYear();
        obj.EmailAddress = this.defaultValuesService.getEmailId();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/getAllStudentListByDateRange';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    checkStudentInternalId(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Student/checkStudentInternalId';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllSchoolAndInactive() {
        this.defaultValuesService.sendAllSchoolFlagSubject.subscribe(data => {
            this.searchAllSchool = data;
        });
        this.defaultValuesService.sendIncludeFlagSubject.subscribe(data => {
            this.includeInactive = data;
        });
    }
    changeCategory(category) {
        this.category.next(category);
    }
    setStudentDetails(data) {
        this.studentDetails = data;
    }
    getStudentDetails() {
        return this.studentDetails;
    }
    setStudentId(id) {
        this.studentId = id;
    }
    getStudentId() {
        return this.studentId;
    }
    setStudentGuid(id) {
        this.studentGuid = id;
    }
    getStudentGuid() {
        return this.studentGuid;
    }
    setStudentApplicantId(id) {
        this.studentApplicantId = id;
    }
    getStudentApplicantId() {
        return this.studentApplicantId;
    }
    setStudentApplicationId(id) {
        this.studentApplicationId = id;
    }
    getStudentApplicationId() {
        return this.studentApplicationId;
    }
    resetStudentMultiselectValue() {
        this.studentMultiselectValue = [];
    }
    setStudentMultiselectValue(value, fieldId, categoryId) {
        if (this.studentMultiselectValue.length) {
            if (this.studentMultiselectValue[0].categoryId !== categoryId)
                this.studentMultiselectValue = [];
        }
        if (!this.studentMultiselectValue.length) {
            this.studentMultiselectValue.push({ value, fieldId, categoryId });
        }
        else {
            const index = this.studentMultiselectValue.findIndex(item => item.fieldId === fieldId);
            if (index !== -1) {
                this.studentMultiselectValue[index] = { value, fieldId, categoryId };
            }
            else {
                this.studentMultiselectValue.push({ value, fieldId, categoryId });
            }
        }
    }
    getStudentMultiselectValue() {
        return this.studentMultiselectValue;
    }
    setStudentImage(imageInBase64) {
        this.studentImage = imageInBase64;
    }
    setStudentThumbnailImage(imageInBase64) {
        this.studentThumbnailImage = imageInBase64;
    }
    changePageMode(mode) {
        this.pageMode.next(mode);
    }
    setStudentCloneImage(image) {
        this.cloneStudentImage = image;
    }
    getStudentCloneImage() {
        return this.cloneStudentImage;
    }
    // Set Student Enrollment Info
    setStudentEnrollmentInfo(studentEnrollment) {
        this.studentEnrollment = studentEnrollment;
    }
    getStudentEnrollmentInfo() {
        return this.studentEnrollment;
    }
    // Student comment
    addStudentComment(obj) {
        obj.studentComments.tenantId = this.defaultValuesService.getTenantID();
        obj.studentComments.schoolId = this.defaultValuesService.getSchoolID();
        obj.studentComments.createdBy = this.defaultValuesService.getUserGuidId();
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Student/addStudentComment';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateStudentComment(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentComments.tenantId = this.defaultValuesService.getTenantID();
        obj.studentComments.schoolId = this.defaultValuesService.getSchoolID();
        obj.studentComments.updatedBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/updateStudentComment';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    deleteStudentComment(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentComments.tenantId = this.defaultValuesService.getTenantID();
        obj.studentComments.schoolId = this.defaultValuesService.getSchoolID();
        obj.studentComments.updatedBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/deleteStudentComment';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllStudentCommentsList(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Student/getAllStudentCommentsList';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addStudentCommentForGroupAssign(obj) {
        // obj.studentComments.tenantId = this.defaultValuesService.getTenantID();
        // obj.studentComments.schoolId = this.defaultValuesService.getSchoolID();
        // obj.studentComments.updatedBy = this.defaultValuesService.getUserName();
        // obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        // const apiurl = this.apiUrl + obj._tenantName + '/Student/assignCommentForStudents';
        // return this.http.post<StudentCommentsAddForGroupAssign>(apiurl, obj,this.httpOptions);
    }
    sendDetails(studentDetailsForGeneralInfo) {
        this.studentDetailsForGeneralInfo.next(studentDetailsForGeneralInfo);
    }
    GetAllStudentDocumentsList(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Student/getAllStudentDocumentsList';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    AddStudentDocument(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Student/addStudentDocument';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateStudentDocument(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Student/updateStudentDocument';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    viewStudentDocument(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Student/viewStudentDocument';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    DeleteStudentDocument(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Student/deleteStudentDocument';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    AddStudentDocumentForGroupAssign(obj) {
        // obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        // const apiurl = this.apiUrl + obj._tenantName + '/Student/assignDocumentForStudents';
        // return this.http.post<StudentDocumentAddForGroupAssignModel>(apiurl, obj,this.httpOptions);
    }
    // Student Sibling
    siblingSearch(searchDetails, schoolId) {
        searchDetails = this.defaultValuesService.getAllMandatoryVariable(searchDetails);
        searchDetails.schoolId = schoolId;
        const apiurl = this.apiUrl + searchDetails._tenantName + '/Student/siblingSearch';
        return this.http.post(apiurl, searchDetails, this.httpOptions);
    }
    associationSibling(studentDetails) {
        studentDetails = this.defaultValuesService.getAllMandatoryVariable(studentDetails);
        studentDetails.studentMaster.tenantId = this.defaultValuesService.getTenantID();
        const apiurl = this.apiUrl + studentDetails._tenantName + '/Student/associationSibling';
        return this.http.post(apiurl, studentDetails, this.httpOptions);
    }
    viewSibling(studentDetails) {
        studentDetails = this.defaultValuesService.getAllMandatoryVariable(studentDetails);
        studentDetails.studentMaster = [];
        const apiurl = this.apiUrl + studentDetails._tenantName + '/Student/viewSibling';
        return this.http.post(apiurl, studentDetails, this.httpOptions);
    }
    removeSibling(studentDetails) {
        studentDetails = this.defaultValuesService.getAllMandatoryVariable(studentDetails);
        studentDetails.studentMaster.tenantId = this.defaultValuesService.getTenantID();
        const apiurl = this.apiUrl + studentDetails._tenantName + '/Student/removeSibling';
        return this.http.post(apiurl, studentDetails, this.httpOptions);
    }
    // Student Enrollment
    updateStudentEnrollment(studentDetails) {
        studentDetails = this.defaultValuesService.getAllMandatoryVariable(studentDetails);
        const apiurl = this.apiUrl + studentDetails._tenantName + '/Student/updateStudentEnrollment';
        return this.http.put(apiurl, studentDetails, this.httpOptions);
    }
    // studentEnrollmentForGroupAssign(studentDetails: StudentEnrollmentForGroupAssignModel) {
    //   // studentDetails = this.defaultValuesService.getAllMandatoryVariable(studentDetails);
    //   // const apiurl = this.apiUrl + studentDetails._tenantName + '/Student/AssignEnrollmentInfoForStudents';
    //   // return this.http.post<StudentEnrollmentForGroupAssignModel>(apiurl, studentDetails,this.httpOptions);
    // }
    getAllStudentEnrollment(studentDetails) {
        studentDetails = this.defaultValuesService.getAllMandatoryVariable(studentDetails);
        const apiurl = this.apiUrl + studentDetails._tenantName + '/Student/getAllStudentEnrollment';
        return this.http.post(apiurl, studentDetails, this.httpOptions);
    }
    studentEnrollmentSchoolList(schoolDetails) {
        schoolDetails = this.defaultValuesService.getAllMandatoryVariable(schoolDetails);
        const apiurl = this.apiUrl + schoolDetails._tenantName + '/School/studentEnrollmentSchoolList';
        return this.http.post(apiurl, schoolDetails, this.httpOptions);
    }
    addUpdateStudentPhoto(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMaster.studentId = this.getStudentId();
        obj.studentMaster.schoolId = this.defaultValuesService.getSchoolID();
        obj.studentMaster.updatedBy = this.defaultValuesService.getUserGuidId();
        obj.studentMaster.studentPhoto = this.studentImage;
        obj.studentMaster.studentThumbnailPhoto = this.studentThumbnailImage;
        const apiurl = this.apiUrl + obj._tenantName + '/Student/addUpdateStudentPhoto';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    searchStudentListForReenroll(obj, schoolId) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolId = +schoolId;
        const apiurl = this.apiUrl + obj._tenantName + '/Student/searchStudentListForReenroll';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    reenrollmentForStudent(obj) {
        const schoolId = this.selectedSchoolId;
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.schoolId = schoolId;
        obj.updatedBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/reenrollmentForStudent';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addStudentList(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.createdBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/addStudentList';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateStudentList(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.createdBy = this.defaultValuesService.getUserGuidId();
        obj.updatedBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/updateStudentList';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addStudentMedicalAlert(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMedicalAlert.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMedicalAlert.schoolId = this.defaultValuesService.getSchoolID();
        obj.studentMedicalAlert.createdBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/addStudentMedicalAlert';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateStudentMedicalAlert(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMedicalAlert.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMedicalAlert.schoolId = this.defaultValuesService.getSchoolID();
        obj.studentMedicalAlert.updatedBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/updateStudentMedicalAlert';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    deleteStudentMedicalAlert(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMedicalAlert.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMedicalAlert.schoolId = this.defaultValuesService.getSchoolID();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/deleteStudentMedicalAlert';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addStudentMedicalNote(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMedicalNote.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMedicalNote.schoolId = this.defaultValuesService.getSchoolID();
        obj.studentMedicalNote.createdBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/addStudentMedicalNote';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateStudentMedicalNote(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMedicalNote.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMedicalNote.schoolId = this.defaultValuesService.getSchoolID();
        obj.studentMedicalNote.updatedBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/updateStudentMedicalNote';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    deleteStudentMedicalNote(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMedicalNote.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMedicalNote.schoolId = this.defaultValuesService.getSchoolID();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/deleteStudentMedicalNote';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addStudentMedicalImmunization(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMedicalImmunization.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMedicalImmunization.schoolId = this.defaultValuesService.getSchoolID();
        obj.studentMedicalImmunization.createdBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/addStudentMedicalImmunization';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateStudentMedicalImmunization(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMedicalImmunization.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMedicalImmunization.schoolId = this.defaultValuesService.getSchoolID();
        obj.studentMedicalImmunization.updatedBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/updateStudentMedicalImmunization';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    deleteStudentMedicalImmunization(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMedicalImmunization.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMedicalImmunization.schoolId = this.defaultValuesService.getSchoolID();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/deleteStudentMedicalImmunization';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addStudentMedicalNurseVisit(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMedicalNurseVisit.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMedicalNurseVisit.schoolId = this.defaultValuesService.getSchoolID();
        obj.studentMedicalNurseVisit.createdBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/addStudentMedicalNurseVisit';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateStudentMedicalNurseVisit(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMedicalNurseVisit.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMedicalNurseVisit.schoolId = this.defaultValuesService.getSchoolID();
        obj.studentMedicalNurseVisit.updatedBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/updateStudentMedicalNurseVisit';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    deleteStudentMedicalNurseVisit(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMedicalNurseVisit.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMedicalNurseVisit.schoolId = this.defaultValuesService.getSchoolID();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/deleteStudentMedicalNurseVisit';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addStudentMedicalProvider(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMedicalProvider.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMedicalProvider.schoolId = this.defaultValuesService.getSchoolID();
        obj.studentMedicalProvider.createdBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/addStudentMedicalProvider';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addStudentMedicalProviderForGroupAssign(obj) {
        // obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        // obj.studentMedicalProvider.tenantId = this.defaultValuesService.getTenantID();
        // obj.studentMedicalProvider.schoolId = this.defaultValuesService.getSchoolID();
        // const apiurl = this.apiUrl + obj._tenantName + '/Student/AssignMedicalInfoForStudents';
        // return this.http.post<AddEditStudentMedicalProviderForGroupAssignModel>(apiurl, obj,this.httpOptions);
    }
    updateStudentMedicalProvider(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMedicalProvider.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMedicalProvider.schoolId = this.defaultValuesService.getSchoolID();
        obj.studentMedicalProvider.updatedBy = this.defaultValuesService.getUserGuidId();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/updateStudentMedicalProvider';
        return this.http.put(apiurl, obj, this.httpOptions);
    }
    deleteStudentMedicalProvider(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.studentMedicalProvider.tenantId = this.defaultValuesService.getTenantID();
        obj.studentMedicalProvider.schoolId = this.defaultValuesService.getSchoolID();
        const apiurl = this.apiUrl + obj._tenantName + '/Student/deleteStudentMedicalProvider';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllStudentMedicalInfo(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Student/getAllStudentMedicalInfo';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    setStudentName(studentName) {
        this.studentName = {
            firstGivenName: studentName.split('|')[0],
            middleName: studentName.split('|')[1],
            lastFamilyName: studentName.split('|')[2]
        };
    }
    getStudentName() {
        return this.studentName;
    }
    setCommGroupList(groupList) {
        this.groupList = groupList;
    }
    getCommGroupList() {
        return this.groupList;
    }
    setStudentFirstView(status) {
        this.isFirstView = status;
    }
    getStudentFirstView() {
        return this.isFirstView;
    }
    setSelectedSchoolId(data) {
        this.selectedSchoolId = data;
    }
    setStudentCreateMode(data) {
        this.studentCreateMode.next(data);
    }
    setStudentDetailsForViewAndEdit(data) {
        this.studentDetailsForViewAndEdit.next(data);
    }
    setCategoryId(data) {
        this.categoryId.next(data);
    }
    setCategoryTitle(title) {
        this.categoryTitle.next(title);
    }
    setDataAfterSavingGeneralInfo(data) {
        this.dataAfterSavingGeneralInfo.next(data);
    }
    setStudentCriticalInfo(data) {
        this.criticalAlertInMedicalInfo.next(data);
    }
}
StudentService.ɵfac = function StudentService_Factory(t) { return new (t || StudentService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_Crypto_service__WEBPACK_IMPORTED_MODULE_5__["CryptoService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_6__["DefaultValuesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_7__["PageRolesPermission"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_8__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__["MatSnackBar"])); };
StudentService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: StudentService, factory: StudentService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](StudentService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"] }, { type: _Crypto_service__WEBPACK_IMPORTED_MODULE_5__["CryptoService"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_6__["DefaultValuesService"] }, { type: _common_page_roles_permissions_service__WEBPACK_IMPORTED_MODULE_7__["PageRolesPermission"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_8__["Router"] }, { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__["MatSnackBar"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/subscription.service.ts":
/*!**************************************************!*\
  !*** ./src/app/services/subscription.service.ts ***!
  \**************************************************/
/*! exports provided: SubscriptionService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SubscriptionService", function() { return SubscriptionService; });
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _models_common_field_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/common-field.model */ "./src/app/models/common-field.model.ts");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");







class SubscriptionService {
    constructor(http, defaultValuesService) {
        this.http = http;
        this.defaultValuesService = defaultValuesService;
        this.apiUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL;
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
    }
    getCustomerDetails(customerDetailsModel) {
        customerDetailsModel = this.defaultValuesService.getAllMandatoryVariable(customerDetailsModel);
        let apiurl = this.apiUrl + customerDetailsModel._tenantName + "/Zoho/getCustomerDetails";
        return this.http.post(apiurl, customerDetailsModel, this.httpOptions);
    }
    updateClientProfile(updateClientProfileModel) {
        updateClientProfileModel = this.defaultValuesService.getAllMandatoryVariable(updateClientProfileModel);
        let apiurl = this.apiUrl + updateClientProfileModel._tenantName + "/Zoho/updateClientProfile";
        return this.http.post(apiurl, updateClientProfileModel, this.httpOptions);
    }
    updateZohoSubscription(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Zoho/updateSubscription';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getAllPlanList() {
        const obj = this.defaultValuesService.getAllMandatoryVariable(new _models_common_field_model__WEBPACK_IMPORTED_MODULE_3__["CommonField"]());
        const apiurl = this.apiUrl + obj._tenantName + '/Zoho/getPlanList';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateSubscritonDataInDatabase(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Zoho/updateSubscritonDataInDatabase';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    downgradeSubscription(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Zoho/downgradeSubscription';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getUSerCount() {
        const obj = this.defaultValuesService.getAllMandatoryVariable(new _models_common_field_model__WEBPACK_IMPORTED_MODULE_3__["CommonField"]());
        const apiurl = this.apiUrl + obj._tenantName + '/Zoho/getUSerCount';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getInvoiceList(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.customerId = this.defaultValuesService.getTenantData().zohoClientId;
        let apiurl = this.apiUrl + obj._tenantName + "/Zoho/getInvoiceList";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getInvoiceDetails(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Zoho/getInvoiceDetails";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getCardList(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.customerId = this.defaultValuesService.getTenantData().zohoClientId;
        let apiurl = this.apiUrl + obj._tenantName + "/Zoho/getCardList";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateCard(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.subscriptionId = this.defaultValuesService.getTenantData().zohoSubscriptionId;
        let apiurl = this.apiUrl + obj._tenantName + "/Zoho/updateCard";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updatePaymentMode(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        let apiurl = this.apiUrl + obj._tenantName + "/Zoho/updatePaymentMode";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getSubscriptionDetails(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.subscriptionId = this.defaultValuesService.getTenantData().zohoSubscriptionId;
        let apiurl = this.apiUrl + obj._tenantName + "/Zoho/getSubscriptionDetails";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    getProratedAmount(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.subscriptionId = this.defaultValuesService.getTenantData().zohoSubscriptionId;
        obj.customerId = this.defaultValuesService.getTenantData().zohoClientId;
        const apiurl = this.apiUrl + obj._tenantName + '/Zoho/getProratedAmount';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    achPayment(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.subscriptionId = this.defaultValuesService.getTenantData().zohoSubscriptionId;
        const apiurl = this.apiUrl + obj._tenantName + '/Zoho/achPayment';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    achPaymentStatus(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        const apiurl = this.apiUrl + obj._tenantName + '/Zoho/ACHPaymentStatus';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    updateStripeACHPaymentInZoho(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.subscriptionId = this.defaultValuesService.getTenantData().zohoSubscriptionId;
        const apiurl = this.apiUrl + obj._tenantName + '/Zoho/updateStripeACHPaymentInZoho';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    addOfflinePayment(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        // obj.subscriptionId = this.defaultValuesService.getTenantData().zohoSubscriptionId;
        obj.offlinePaymentDetail.tenantId = this.defaultValuesService.getTenantID();
        let apiurl = this.apiUrl + obj._tenantName + "/Zoho/addOfflinePayment";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
    cancelSubscription(obj) {
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.subscriptionId = this.defaultValuesService.getTenantData().zohoSubscriptionId;
        const apiurl = this.apiUrl + obj._tenantName + '/Zoho/CancelSubscription';
        return this.http.post(apiurl, obj, this.httpOptions);
    }
}
SubscriptionService.ɵfac = function SubscriptionService_Factory(t) { return new (t || SubscriptionService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"])); };
SubscriptionService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: SubscriptionService, factory: SubscriptionService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](SubscriptionService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/app/services/user.service.ts":
/*!******************************************!*\
  !*** ./src/app/services/user.service.ts ***!
  \******************************************/
/*! exports provided: UserService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UserService", function() { return UserService; });
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _models_user_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/user.model */ "./src/app/models/user.model.ts");
/* harmony import */ var _common_default_values_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../common/default-values.service */ "./src/app/common/default-values.service.ts");







class UserService {
    constructor(http, defaultValuesService) {
        this.http = http;
        this.defaultValuesService = defaultValuesService;
        this.apiUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL;
        this.httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpHeaders"]({
                'Cache-Control': 'no-cache',
                'Pragma': 'no-cache',
            })
        };
    }
    userLogout() {
        let obj = new _models_user_model__WEBPACK_IMPORTED_MODULE_3__["UserLogoutModel"]();
        obj = this.defaultValuesService.getAllMandatoryVariable(obj);
        obj.email = this.defaultValuesService.getEmailId();
        obj.userMasterId = this.defaultValuesService.getUserMasterId();
        let apiurl = this.apiUrl + obj._tenantName + "/User/logOutForUser";
        return this.http.post(apiurl, obj, this.httpOptions);
    }
}
UserService.ɵfac = function UserService_Factory(t) { return new (t || UserService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"])); };
UserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: UserService, factory: UserService.ɵfac, providedIn: 'root' });
/*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](UserService, [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"],
        args: [{
                providedIn: 'root'
            }]
    }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }, { type: _common_default_values_service__WEBPACK_IMPORTED_MODULE_4__["DefaultValuesService"] }]; }, null); })();


/***/ }),

/***/ "./src/environments/environment.ts":
/*!*****************************************!*\
  !*** ./src/environments/environment.ts ***!
  \*****************************************/
/*! exports provided: environment */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "environment", function() { return environment; });
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
// export const environment = {
//   production: false
// };
/*
 * For easier debugging in development mode, you can import the following file
 * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
 *
 * This import should be commented out in production mode because it will have a negative impact
 * on performance if an error is thrown.
 */
// import 'zone.js/dist/zone-error';  // Included with Angular CLI.
var env = loadJSON('assets/config.json');
env.production = false;
const environment = env;
function loadJSON(filePath) {
    const json = loadTextFileAjaxSync(filePath, "application/json");
    return JSON.parse(json);
}
function loadTextFileAjaxSync(filePath, mimeType) {
    const xmlhttp = new XMLHttpRequest();
    xmlhttp.open("GET", filePath, false);
    if (mimeType != null) {
        if (xmlhttp.overrideMimeType) {
            xmlhttp.overrideMimeType(mimeType);
        }
    }
    xmlhttp.send();
    if (xmlhttp.status == 200) {
        return xmlhttp.responseText;
    }
    else {
        return null;
    }
}


/***/ }),

/***/ "./src/main.ts":
/*!*********************!*\
  !*** ./src/main.ts ***!
  \*********************/
/*! no exports provided */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _app_app_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./app/app.module */ "./src/app/app.module.ts");
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/__ivy_ngcc__/fesm2015/platform-browser.js");




if (_environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].production) {
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["enableProdMode"])();
}
_angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__["platformBrowser"]().bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_2__["AppModule"])
    .catch(err => console.error(err));


/***/ }),

/***/ 0:
/*!***************************!*\
  !*** multi ./src/main.ts ***!
  \***************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

module.exports = __webpack_require__(/*! C:\Development\openSIS2.0\Project\opensis2_Angular_development\opensis-ui\src\main.ts */"./src/main.ts");


/***/ }),

/***/ 1:
/*!**********************!*\
  !*** util (ignored) ***!
  \**********************/
/*! no static exports found */
/***/ (function(module, exports) {

/* (ignored) */

/***/ }),

/***/ 2:
/*!**********************!*\
  !*** util (ignored) ***!
  \**********************/
/*! no static exports found */
/***/ (function(module, exports) {

/* (ignored) */

/***/ }),

/***/ 3:
/*!**********************!*\
  !*** util (ignored) ***!
  \**********************/
/*! no static exports found */
/***/ (function(module, exports) {

/* (ignored) */

/***/ }),

/***/ 4:
/*!**********************!*\
  !*** util (ignored) ***!
  \**********************/
/*! no static exports found */
/***/ (function(module, exports) {

/* (ignored) */

/***/ }),

/***/ 5:
/*!************************!*\
  !*** buffer (ignored) ***!
  \************************/
/*! no static exports found */
/***/ (function(module, exports) {

/* (ignored) */

/***/ }),

/***/ 6:
/*!************************!*\
  !*** crypto (ignored) ***!
  \************************/
/*! no static exports found */
/***/ (function(module, exports) {

/* (ignored) */

/***/ }),

/***/ 7:
/*!************************!*\
  !*** buffer (ignored) ***!
  \************************/
/*! no static exports found */
/***/ (function(module, exports) {

/* (ignored) */

/***/ })

},[[0,"runtime","vendor"]]]);
//# sourceMappingURL=main-es2015.js.map