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

/***/ "./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.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-SG": "./node_modules/moment/locale/en-SG.js",
	"./en-SG.js": "./node_modules/moment/locale/en-SG.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-nz": "./node_modules/moment/locale/en-nz.js",
	"./en-nz.js": "./node_modules/moment/locale/en-nz.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-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",
	"./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-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",
	"./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",
	"./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-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) {
	var id = map[req];
	if(!(id + 1)) { // check for number or string
		var e = new Error("Cannot find module '" + req + "'");
		e.code = 'MODULE_NOT_FOUND';
		throw e;
	}
	return id;
}
webpackContext.keys = function webpackContextKeys() {
	return Object.keys(map);
};
webpackContext.resolve = webpackContextResolve;
module.exports = webpackContext;
webpackContext.id = "./node_modules/moment/locale sync recursive ^\\.\\/.*$";

/***/ }),

/***/ "./src/$$_lazy_route_resource lazy recursive":
/*!**********************************************************!*\
  !*** ./src/$$_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 = "./src/$$_lazy_route_resource lazy recursive";

/***/ }),

/***/ "./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/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _miniplan_miniplan_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./miniplan/miniplan.component */ "./src/app/miniplan/miniplan.component.ts");
/* harmony import */ var _impressum_impressum_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./impressum/impressum.component */ "./src/app/impressum/impressum.component.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};




var routes = [
    {
        path: 'impressum',
        component: _impressum_impressum_component__WEBPACK_IMPORTED_MODULE_3__["ImpressumComponent"]
    },
    {
        path: '',
        redirectTo: '/-1',
        pathMatch: "full"
    },
    {
        path: ':id',
        component: _miniplan_miniplan_component__WEBPACK_IMPORTED_MODULE_2__["MiniplanComponent"]
    }
];
var AppRoutingModule = /** @class */ (function () {
    function AppRoutingModule() {
    }
    AppRoutingModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forRoot(routes, { useHash: true })],
            exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]]
        })
    ], AppRoutingModule);
    return AppRoutingModule;
}());



/***/ }),

/***/ "./src/app/app.component.html":
/*!************************************!*\
  !*** ./src/app/app.component.html ***!
  \************************************/
/*! no static exports found */
/***/ (function(module, exports) {

module.exports = "<!--The content below is only a placeholder and can be replaced.-->\n\n\n<router-outlet></router-outlet>\n\n<div class=\"footer\">\n    <div class=\"third\">\n\n    </div>\n    <div class=\"third\">\n\n    </div>\n    <div class=\"links third\">\n        <a routerLink=\"impressum\">Impressum</a>\n    </div>\n</div>"

/***/ }),

/***/ "./src/app/app.component.less":
/*!************************************!*\
  !*** ./src/app/app.component.less ***!
  \************************************/
/*! no static exports found */
/***/ (function(module, exports) {

module.exports = ":host {\n  display: block;\n  position: relative;\n  min-height: 100%;\n}\n.footer {\n  display: -webkit-box;\n  display: flex;\n  width: calc(100% - 50px);\n  padding: 0 25px;\n  height: 26px;\n  position: absolute;\n  bottom: 0;\n  left: 0;\n  background-color: #f5f5f5;\n  border-top: 1px solid #e2e2e2;\n  font-size: 14px;\n}\n.third {\n  width: 33.33333333%;\n  height: 100%;\n}\n.links {\n  display: -webkit-box;\n  display: flex;\n  -webkit-box-pack: end;\n          justify-content: flex-end;\n  align-content: center;\n  -webkit-box-align: center;\n          align-items: center;\n}\n.links a {\n  text-decoration: none;\n  color: #aaaaaa;\n}\n.links a:hover {\n  color: #797979;\n}\n\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9idWlsZHMvam9uaW9nZXJnL21pbmlzLWNsaWVudC9zcmMvYXBwL2FwcC5jb21wb25lbnQubGVzcyIsInNyYy9hcHAvYXBwLmNvbXBvbmVudC5sZXNzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksY0FBQTtFQUNBLGtCQUFBO0VBQ0EsZ0JBQUE7QUNDSjtBREVBO0VBQ0ksb0JBQUE7RUFBQSxhQUFBO0VBQ0Esd0JBQUE7RUFDQSxlQUFBO0VBQ0EsWUFBQTtFQUNBLGtCQUFBO0VBQ0EsU0FBQTtFQUNBLE9BQUE7RUFFQSx5QkFBQTtFQUNBLDZCQUFBO0VBRUEsZUFBQTtBQ0ZKO0FES0E7RUFDSSxtQkFBQTtFQUNBLFlBQUE7QUNISjtBRE1BO0VBQ0ksb0JBQUE7RUFBQSxhQUFBO0VBQ0EscUJBQUE7VUFBQSx5QkFBQTtFQUNBLHFCQUFBO0VBQ0EseUJBQUE7VUFBQSxtQkFBQTtBQ0pKO0FEQUE7RUFPUSxxQkFBQTtFQUNBLGNBQUE7QUNKUjtBRE1RO0VBQ0ksY0FBQTtBQ0paIiwiZmlsZSI6InNyYy9hcHAvYXBwLmNvbXBvbmVudC5sZXNzIiwic291cmNlc0NvbnRlbnQiOlsiOmhvc3R7XG4gICAgZGlzcGxheTogYmxvY2s7XG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgIG1pbi1oZWlnaHQ6IDEwMCU7XG59XG5cbi5mb290ZXJ7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICB3aWR0aDogY2FsYygxMDAlIC0gNTBweCk7XG4gICAgcGFkZGluZzogMCAyNXB4O1xuICAgIGhlaWdodDogMjZweDtcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgYm90dG9tOiAwO1xuICAgIGxlZnQ6IDA7XG5cbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZjVmNWY1O1xuICAgIGJvcmRlci10b3A6IDFweCBzb2xpZCAjZTJlMmUyO1xuXG4gICAgZm9udC1zaXplOiAxNHB4O1xufVxuXG4udGhpcmR7XG4gICAgd2lkdGg6IDEwMCUgLyAzO1xuICAgIGhlaWdodDogMTAwJTtcbn1cblxuLmxpbmtze1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAganVzdGlmeS1jb250ZW50OiBmbGV4LWVuZDtcbiAgICBhbGlnbi1jb250ZW50OiBjZW50ZXI7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcblxuICAgIGF7XG4gICAgICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbiAgICAgICAgY29sb3I6ICNhYWFhYWE7XG5cbiAgICAgICAgJjpob3ZlcntcbiAgICAgICAgICAgIGNvbG9yOiAjNzk3OTc5O1xuICAgICAgICB9XG4gICAgfVxufSIsIjpob3N0IHtcbiAgZGlzcGxheTogYmxvY2s7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgbWluLWhlaWdodDogMTAwJTtcbn1cbi5mb290ZXIge1xuICBkaXNwbGF5OiBmbGV4O1xuICB3aWR0aDogY2FsYygxMDAlIC0gNTBweCk7XG4gIHBhZGRpbmc6IDAgMjVweDtcbiAgaGVpZ2h0OiAyNnB4O1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIGJvdHRvbTogMDtcbiAgbGVmdDogMDtcbiAgYmFja2dyb3VuZC1jb2xvcjogI2Y1ZjVmNTtcbiAgYm9yZGVyLXRvcDogMXB4IHNvbGlkICNlMmUyZTI7XG4gIGZvbnQtc2l6ZTogMTRweDtcbn1cbi50aGlyZCB7XG4gIHdpZHRoOiAzMy4zMzMzMzMzMyU7XG4gIGhlaWdodDogMTAwJTtcbn1cbi5saW5rcyB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogZmxleC1lbmQ7XG4gIGFsaWduLWNvbnRlbnQ6IGNlbnRlcjtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbn1cbi5saW5rcyBhIHtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICBjb2xvcjogI2FhYWFhYTtcbn1cbi5saW5rcyBhOmhvdmVyIHtcbiAgY29sb3I6ICM3OTc5Nzk7XG59XG4iXX0= */"

/***/ }),

/***/ "./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/fesm5/core.js");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};

var AppComponent = /** @class */ (function () {
    function AppComponent() {
        this.title = 'mini';
    }
    AppComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'mini-root',
            template: __webpack_require__(/*! ./app.component.html */ "./src/app/app.component.html"),
            styles: [__webpack_require__(/*! ./app.component.less */ "./src/app/app.component.less")]
        })
    ], AppComponent);
    return AppComponent;
}());



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* 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/fesm5/platform-browser.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/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 _index_index_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./index/index.component */ "./src/app/index/index.component.ts");
/* harmony import */ var _login_login_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./login/login.component */ "./src/app/login/login.component.ts");
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/fesm5/forms.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/platform-browser/animations */ "./node_modules/@angular/platform-browser/fesm5/animations.js");
/* harmony import */ var angular2_moment__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! angular2-moment */ "./node_modules/angular2-moment/index.js");
/* harmony import */ var angular2_moment__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(angular2_moment__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js");
/* harmony import */ var _miniplan_miniplan_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./miniplan/miniplan.component */ "./src/app/miniplan/miniplan.component.ts");
/* harmony import */ var _new_modal_new_modal_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./new-modal/new-modal.component */ "./src/app/new-modal/new-modal.component.ts");
/* harmony import */ var _impressum_impressum_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./impressum/impressum.component */ "./src/app/impressum/impressum.component.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};














var AppModule = /** @class */ (function () {
    function AppModule() {
    }
    AppModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
            declarations: [
                _app_component__WEBPACK_IMPORTED_MODULE_3__["AppComponent"],
                _index_index_component__WEBPACK_IMPORTED_MODULE_4__["IndexComponent"],
                _login_login_component__WEBPACK_IMPORTED_MODULE_5__["LoginComponent"],
                _miniplan_miniplan_component__WEBPACK_IMPORTED_MODULE_11__["MiniplanComponent"],
                _new_modal_new_modal_component__WEBPACK_IMPORTED_MODULE_12__["NewModalComponent"],
                _impressum_impressum_component__WEBPACK_IMPORTED_MODULE_13__["ImpressumComponent"]
            ],
            imports: [
                _angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"],
                _app_routing_module__WEBPACK_IMPORTED_MODULE_2__["AppRoutingModule"],
                _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_8__["BrowserAnimationsModule"],
                _angular_material__WEBPACK_IMPORTED_MODULE_10__["MatToolbarModule"],
                _angular_material__WEBPACK_IMPORTED_MODULE_10__["MatFormFieldModule"],
                _angular_material__WEBPACK_IMPORTED_MODULE_10__["MatInputModule"],
                _angular_material__WEBPACK_IMPORTED_MODULE_10__["MatButtonModule"],
                _angular_material__WEBPACK_IMPORTED_MODULE_10__["MatIconModule"],
                _angular_material__WEBPACK_IMPORTED_MODULE_10__["MatSelectModule"],
                _angular_material__WEBPACK_IMPORTED_MODULE_10__["MatProgressSpinnerModule"],
                _angular_material__WEBPACK_IMPORTED_MODULE_10__["MatSnackBarModule"],
                _angular_material__WEBPACK_IMPORTED_MODULE_10__["MatDialogModule"],
                _angular_material__WEBPACK_IMPORTED_MODULE_10__["MatTabsModule"],
                _angular_material__WEBPACK_IMPORTED_MODULE_10__["MatCheckboxModule"],
                _angular_forms__WEBPACK_IMPORTED_MODULE_6__["FormsModule"],
                _angular_common_http__WEBPACK_IMPORTED_MODULE_7__["HttpClientModule"],
                angular2_moment__WEBPACK_IMPORTED_MODULE_9__["MomentModule"]
            ],
            providers: [],
            bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_3__["AppComponent"]],
            entryComponents: [
                _new_modal_new_modal_component__WEBPACK_IMPORTED_MODULE_12__["NewModalComponent"]
            ]
        })
    ], AppModule);
    return AppModule;
}());



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GottesdiensteService", function() { return GottesdiensteService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _login_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./login.service */ "./src/app/login.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};




var GottesdiensteService = /** @class */ (function () {
    function GottesdiensteService(http, loginService) {
        this.http = http;
        this.loginService = loginService;
    }
    GottesdiensteService.prototype.getGds = function (id) {
        if (id > -1) {
            return this.http.get(Object(_environments_environment__WEBPACK_IMPORTED_MODULE_2__["getApiURL"])() + "/gottesdienste/" + id);
        }
        return this.http.get(Object(_environments_environment__WEBPACK_IMPORTED_MODULE_2__["getApiURL"])() + "/gottesdienste");
    };
    GottesdiensteService.prototype.delete = function (id) {
        return this.http.post(Object(_environments_environment__WEBPACK_IMPORTED_MODULE_2__["getApiURL"])() + "/remove/gottesdienst", { credentials: this.loginService.requestCredentials, id: id }).toPromise();
    };
    GottesdiensteService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])(),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"], _login_service__WEBPACK_IMPORTED_MODULE_3__["LoginService"]])
    ], GottesdiensteService);
    return GottesdiensteService;
}());



/***/ }),

/***/ "./src/app/gruppen.service.ts":
/*!************************************!*\
  !*** ./src/app/gruppen.service.ts ***!
  \************************************/
/*! exports provided: _currentGroup, GruppenService, GruppeModel */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_currentGroup", function() { return _currentGroup; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GruppenService", function() { return GruppenService; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GruppeModel", function() { return GruppeModel; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var luxon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! luxon */ "./node_modules/luxon/build/cjs-browser/luxon.js");
/* harmony import */ var luxon__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(luxon__WEBPACK_IMPORTED_MODULE_3__);
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};




var _currentGroup = -1;
var GruppenService = /** @class */ (function () {
    function GruppenService(http) {
        this.http = http;
    }
    GruppenService.prototype.getGroups = function () {
        return this.http.get(Object(_environments_environment__WEBPACK_IMPORTED_MODULE_2__["getApiURL"])() + "/groups");
    };
    Object.defineProperty(GruppenService.prototype, "currentGroup", {
        get: function () {
            return _currentGroup;
        },
        set: function (value) {
            _currentGroup = value;
        },
        enumerable: true,
        configurable: true
    });
    GruppenService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])(),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], GruppenService);
    return GruppenService;
}());

var GruppeModel = /** @class */ (function () {
    function GruppeModel(START, END, ID) {
        this.START = START;
        this.END = END;
        this.ID = ID;
    }
    GruppeModel.prototype.startDate = function () {
        return luxon__WEBPACK_IMPORTED_MODULE_3__["DateTime"].fromISO(this.START);
    };
    GruppeModel.prototype.endDate = function () {
        return luxon__WEBPACK_IMPORTED_MODULE_3__["DateTime"].fromISO(this.END);
    };
    GruppeModel.prototype.name = function () {
        return this.startDate().day + "." + this.startDate().month + " - " + this.endDate().day + "." + this.endDate().month + ".";
    };
    return GruppeModel;
}());



/***/ }),

/***/ "./src/app/impressum/impressum.component.html":
/*!****************************************************!*\
  !*** ./src/app/impressum/impressum.component.html ***!
  \****************************************************/
/*! no static exports found */
/***/ (function(module, exports) {

module.exports = "<mat-toolbar color=\"white\"> \n  <mat-icon (click)=\"router.navigateByUrl('-1')\">arrow_back</mat-icon>\n    <span>Miniportal Hl. Familie</span> \n    <div class=\"spacer\"></div>\n  </mat-toolbar>\n  <div id=\"one\" class=\"section\">\n      <div class=\"container\">\n          <div class=\"container\">\n                  <h1>Impressum</h1><br>\n              Angaben gemäß § 5 TMG:<br>\n              J. Gerg<br>\n              <br>\n              Kontakt:<br>\n              E-Mail: kontakt@walamana.de<br>\n              <br><br>\n               \n              \n              Verantwortlich für den Inhalt nach § 55 Abs. 2 RStV:<br>\n              J. Gerg<br>\n              <br><br><br>\n              <h3>Inhalt:</h3><br>\n              <h5>Disclaimer – rechtliche Hinweise</h5>\n              <ul>\n                      <li><a href=\"#p-1\">§ 1 Warnhinweis zu Inhalten</a></li>\n                      <li><a href=\"#p-2\">§ 2 Externe Links</a></li>\n                      <li><a href=\"#p-3\">§ 3 Urheber- und Leistungsschutzrechte</a></li>\n                      <li><a href=\"#p-4\">§ 4 Besondere Nutzungsbedingungen</a></li>\n              </ul>\n              <h5>Datenschutzerklärung</h5>\n              <ul>\n                      <li><a href=\"#d-1\">Datenschutz</a></li>\n                      <li><a href=\"#d-2\">Personenbezogene Daten</a></li>\n                      <li><a href=\"#d-3\">Datenschutzerklärung für den Webanalysedienst Google Analytics</a></li>\n                      <li><a href=\"#d-4\">Auskunftsrecht</a></li>\n              </ul>\n              <h5>Cookies</h5>\n              <ul>\n                      <li><a href=\"#c-1\">Cookies</a></li>\n                      <li><a href=\"#c-2\">Google Analytics</a></li>\n              </ul>\n\n              <br><br><br><br><br>\n              <h2>Disclaimer – rechtliche Hinweise</h2><br>\n              <br>\n\n              \n              <h3 id=\"p-1\">§ 1 Warnhinweis zu Inhalten</h3><br>\n              \n              Die kostenlosen und frei zugänglichen Inhalte dieser Webseite wurden mit größtmöglicher Sorgfalt erstellt. Der Anbieter dieser Webseite übernimmt jedoch keine Gewähr für die Richtigkeit und Aktualität der bereitgestellten kostenlosen und frei zugänglichen journalistischen Ratgeber und Nachrichten. Namentlich gekennzeichnete Beiträge geben die Meinung des jeweiligen Autors und nicht immer die Meinung des Anbieters wieder. Allein durch den Aufruf der kostenlosen und frei zugänglichen Inhalte kommt keinerlei Vertragsverhältnis zwischen dem Nutzer und dem Anbieter zustande, insoweit fehlt es am Rechtsbindungswillen des Anbieters.\n              <br>\n               \n              \n              <h3 id=\"p-2\">§ 2 Externe Links</h3><br>\n              Diese Website enthält Verknüpfungen zu Websites Dritter (\"externe Links\"). Diese Websites unterliegen der Haftung der jeweiligen Betreiber. Der Anbieter hat bei der erstmaligen Verknüpfung der externen Links die fremden Inhalte daraufhin überprüft, ob etwaige Rechtsverstöße bestehen. Zu dem Zeitpunkt waren keine Rechtsverstöße ersichtlich. Der Anbieter hat keinerlei Einfluss auf die aktuelle und zukünftige Gestaltung und auf die Inhalte der verknüpften Seiten. Das Setzen von externen Links bedeutet nicht, dass sich der Anbieter die hinter dem Verweis oder Link liegenden Inhalte zu Eigen macht. Eine ständige Kontrolle der externen Links ist für den Anbieter ohne konkrete Hinweise auf Rechtsverstöße nicht zumutbar. Bei Kenntnis von Rechtsverstößen werden jedoch derartige externe Links unverzüglich gelöscht.\n              <br>\n               \n              \n              <h3 id=\"p-3\">§ 3 Urheber- und Leistungsschutzrechte</h3><br>\n              \n              Die auf dieser Website veröffentlichten Inhalte unterliegen dem deutschen Urheber- und Leistungsschutzrecht. Jede vom deutschen Urheber- und Leistungsschutzrecht nicht zugelassene Verwertung bedarf der vorherigen schriftlichen Zustimmung des Anbieters oder jeweiligen Rechteinhabers. Dies gilt insbesondere für Vervielfältigung, Bearbeitung, Übersetzung, Einspeicherung, Verarbeitung bzw. Wiedergabe von Inhalten in Datenbanken oder anderen elektronischen Medien und Systemen. Inhalte und Rechte Dritter sind dabei als solche gekennzeichnet. Die unerlaubte Vervielfältigung oder Weitergabe einzelner Inhalte oder kompletter Seiten ist nicht gestattet und strafbar. Lediglich die Herstellung von Kopien und Downloads für den persönlichen, privaten und nicht kommerziellen Gebrauch ist erlaubt.\n              <br>\n               \n              \n              Die Darstellung dieser Website in fremden Frames ist nur mit schriftlicher Erlaubnis zulässig.\n              <br>\n               \n              \n              <h3 id=\"p-4\">§ 4 Besondere Nutzungsbedingungen</h3><br>\n              \n              Soweit besondere Bedingungen für einzelne Nutzungen dieser Website von den vorgenannten Paragraphen abweichen, wird an entsprechender Stelle ausdrücklich darauf hingewiesen. In diesem Falle gelten im jeweiligen Einzelfall die besonderen Nutzungsbedingungen.\n              <br>\n              <h2>Datenschutzerklärung:</h2><br>\n              <br>\n              \n              <h3 id=\"d-1\">Datenschutz</h3><br>\n              \n              Nachfolgend möchten wir Sie über unsere Datenschutzerklärung informieren. Sie finden hier Informationen über die Erhebung und Verwendung persönlicher Daten bei der Nutzung unserer Webseite. Wir beachten dabei das für Deutschland geltende Datenschutzrecht. Sie können diese Erklärung jederzeit auf unserer Webseite abrufen.\n              <br>\n               \n              \n              Wir weisen ausdrücklich darauf hin, dass die Datenübertragung im Internet (z.B. bei der Kommunikation per E-Mail) Sicherheitslücken aufweisen und nicht lückenlos vor dem Zugriff durch Dritte geschützt werden kann.\n              \n              <br>\n              \n              Die Verwendung der Kontaktdaten unseres Impressums zur gewerblichen Werbung ist ausdrücklich nicht erwünscht, es sei denn wir hatten zuvor unsere schriftliche Einwilligung erteilt oder es besteht bereits eine Geschäftsbeziehung. Der Anbieter und alle auf dieser Website genannten Personen widersprechen hiermit jeder kommerziellen Verwendung und Weitergabe ihrer Daten.\n              \n              <br>\n              \n              <h3 id=\"d-2\">Personenbezogene Daten</h3><br>\n              \n              Sie können unsere Webseite ohne Angabe personenbezogener Daten besuchen. Soweit auf unseren Seiten personenbezogene Daten (wie Name, Anschrift oder E-Mail Adresse) erhoben werden, erfolgt dies, soweit möglich, auf freiwilliger Basis. Diese Daten werden ohne Ihre ausdrückliche Zustimmung nicht an Dritte weitergegeben. Sofern zwischen Ihnen und uns ein Vertragsverhältnis begründet, inhaltlich ausgestaltet oder geändert werden soll oder Sie an uns eine Anfrage stellen, erheben und verwenden wir personenbezogene Daten von Ihnen, soweit dies zu diesen Zwecken erforderlich ist (Bestandsdaten). Wir erheben, verarbeiten und nutzen personenbezogene Daten soweit dies erforderlich ist, um Ihnen die Inanspruchnahme des Webangebots zu ermöglichen (Nutzungsdaten). Sämtliche personenbezogenen Daten werden nur solange gespeichert wie dies für den genannten Zweck (Bearbeitung Ihrer Anfrage oder Abwicklung eines Vertrags) erforderlich ist. Hierbei werden steuer- und handelsrechtliche Aufbewahrungsfristen berücksichtigt. Auf Anordnung der zuständigen Stellen dürfen wir im Einzelfall Auskunft über diese Daten (Bestandsdaten) erteilen, soweit dies für Zwecke der Strafverfolgung, zur Gefahrenabwehr, zur Erfüllung der gesetzlichen Aufgaben der Verfassungsschutzbehörden oder des Militärischen Abschirmdienstes oder zur Durchsetzung der Rechte am geistigen Eigentum erforderlich ist.\n              \n               \n              <br>\n              <h3 id=\"d-3\">Datenschutzerklärung für den Webanalysedienst Google Analytics</h3><br>\n              \n              Diese Website benutzt Google Analytics, einen Webanalysedienst der Google Inc. (\"Google\"). Google Analytics verwendet sog. \"Cookies\", Textdateien, die auf Ihrem Computer gespeichert werden und die eine Analyse der Benutzung der Website durch Sie ermöglichen. Die durch den Cookie erzeugten Informationen über Ihre Benutzung dieser Website werden in der Regel an einen Server von Google in den USA übertragen und dort gespeichert. Wir haben die IP-Anonymisierung aktiviert. Auf dieser Webseite wird Ihre IP-Adresse von Google daher innerhalb von Mitgliedstaaten der Europäischen Union oder in anderen Vertragsstaaten des Abkommens über den Europäischen Wirtschaftsraum zuvor gekürzt. Nur in Ausnahmefällen wird die volle IP-Adresse an einen Server von Google in den USA übertragen und dort gekürzt. Im Auftrag des Betreibers dieser Website wird Google diese Informationen benutzen, um Ihre Nutzung der Website auszuwerten, um Reports über die Websiteaktivitäten zusammenzustellen und um weitere mit der Websitenutzung und der Internetnutzung verbundene Dienstleistungen gegenüber dem Websitebetreiber zu erbringen. Die im Rahmen von Google Analytics von Ihrem Browser übermittelte IP-Adresse wird nicht mit anderen Daten von Google zusammengeführt. Sie können die Speicherung der Cookies durch eine entsprechende Einstellung Ihrer Browser-Software verhindern; wir weisen Sie jedoch darauf hin, dass Sie in diesem Fall gegebenenfalls nicht sämtliche Funktionen dieser Website vollumfänglich werden nutzen können. Sie können darüber hinaus die Erfassung der durch das Cookie erzeugten und auf Ihre Nutzung der Website bezogenen Daten (inkl. Ihrer IP-Adresse) an Google sowie die Verarbeitung dieser Daten durch Google verhindern, indem sie das unter dem folgenden Link verfügbare Browser-Plugin <a href=\"http://tools.google.com/dlpage/gaoptout?hl=de\">über diesen Link</a> herunterladen und installieren: \n               \n              <br>\n              <h3 id=\"d-4\">Auskunftsrecht</h3><br>\n              \n              Sie haben das jederzeitige Recht, sich unentgeltlich und unverzüglich über die zu Ihrer Person erhobenen Daten zu erkundigen. Sie haben das jederzeitige Recht, Ihre Zustimmung zur Verwendung Ihrer angegeben persönlichen Daten mit Wirkung für die Zukunft zu widerrufen. Zur Auskunftserteilung wenden Sie sich bitte an den Anbieter unter den Kontaktdaten im Impressum.\n\n\n              <br><br><br><br><br>\n\n\n              <h2 id=\"c-1\">Cookies</h2><br>\n\n              Cookies sind Textdateien, die automatisch bei dem Aufruf einer Webseite lokal im Browser des Besuchers abgelegt werden. Diese Website setzt Cookies ein, um das Angebot nutzerfreundlich und funktionaler zu gestalten. Dank dieser Dateien ist es beispielsweise möglich, auf individuelle Interessen abgestimmte Informationen auf einer Seite anzuzeigen. Auch Sicherheitsrelevante Funktionen zum Schutz Ihrer Privatsphäre werden durch den Einsatz von Cookies ermöglicht. Der ausschließliche Zweck besteht also darin, unser Angebot Ihren Kundenwünschen bestmöglich anzupassen und die Seiten-Nutzung so komfortabel wie möglich zu gestalten. Mit Anwendung der DSGVO 2018 sind Webmaster dazu verpflichtet, der unter https://eu-datenschutz.org/ veröffentlichten Grundverordnung Folge zu leisten und seine Nutzer entsprechend über die Erfassung und Auswertung von Daten in Kenntnis zu setzen. Die Rechtmäßigkeit der Verarbeitung ist in Kapitel 2, Artikel 6 der DSGVO begründet.\n              <br>\n              <h3 id=\"c-2\">Google Analytics</h3><br>\n\n              Dieses Angebot nutzt ebenfalls den Webanalysedienst Google Analytics, ein Programm der Google Inc. („Google, USA“). Die durch das Tracking erfassten Informationen zu Ihrer Nutzung dieser Website werden auf einem Server von Google in den USA gespeichert. Durch eine sogenannte IP-Anonymisierung wird Ihre IP-Adresse von Google innerhalb von Mitgliedstaaten der Europäischen Union oder in anderen Vertragsstaaten des Abkommens über den Europäischen Wirtschaftsraum zuvor gekürzt. Somit ist der Standort Ihres Browsers lediglich regional zuortbar, nicht aber ihrer Person. Google kann Besucherverhalten auswerten, um Reports über die Websiteaktivitäten zusammenzustellen. Auch weitere mit der Websitenutzung und der Internetnutzung verbundene Dienstleistungen können so gegenüber dem Websitebetreiber erbracht werden.\n         \n          </div>\n      </div>\n  </div>\n"

/***/ }),

/***/ "./src/app/impressum/impressum.component.less":
/*!****************************************************!*\
  !*** ./src/app/impressum/impressum.component.less ***!
  \****************************************************/
/*! no static exports found */
/***/ (function(module, exports) {

module.exports = "mat-toolbar {\n  min-height: 50px;\n  height: 50px;\n  font-size: 16px;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n  overflow-x: auto;\n  overflow-y: hidden;\n  -webkit-box-align: center;\n          align-items: center;\n}\nmat-toolbar mat-icon {\n  padding: 0 10px;\n  font-size: 22px;\n}\n@-webkit-keyframes focus {\n  0% {\n    background-color: rgba(251, 255, 0, 0.705);\n  }\n  100% {\n    background-color: transparent;\n  }\n}\n@keyframes focus {\n  0% {\n    background-color: rgba(251, 255, 0, 0.705);\n  }\n  100% {\n    background-color: transparent;\n  }\n}\n.section {\n  padding: 5%;\n  width: 90%;\n}\n*:target {\n  -webkit-animation: focus 2s cubic-bezier(0.895, 0.03, 0.685, 0.22);\n          animation: focus 2s cubic-bezier(0.895, 0.03, 0.685, 0.22);\n}\nh1,\nh2,\nh3,\nh4,\nh5 {\n  display: inline-block;\n}\n\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9idWlsZHMvam9uaW9nZXJnL21pbmlzLWNsaWVudC9zcmMvYXBwL2ltcHJlc3N1bS9pbXByZXNzdW0uY29tcG9uZW50Lmxlc3MiLCJzcmMvYXBwL2ltcHJlc3N1bS9pbXByZXNzdW0uY29tcG9uZW50Lmxlc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxnQkFBQTtFQUNBLFlBQUE7RUFFQSxlQUFBO0VBQ0Esd0VBQUE7RUFFQSxnQkFBQTtFQUNBLGtCQUFBO0VBRUEseUJBQUE7VUFBQSxtQkFBQTtBQ0ZKO0FEUkE7RUFZUSxlQUFBO0VBQ0EsZUFBQTtBQ0RSO0FESUE7RUFDSTtJQUNRLDBDQUFBO0VDRlY7RURJRTtJQUNRLDZCQUFBO0VDRlY7QUFDRjtBREpBO0VBQ0k7SUFDUSwwQ0FBQTtFQ0ZWO0VESUU7SUFDUSw2QkFBQTtFQ0ZWO0FBQ0Y7QURLQTtFQUNJLFdBQUE7RUFDQSxVQUFBO0FDSEo7QURNQTtFQUNJLGtFQUFBO1VBQUEsMERBQUE7QUNKSjtBRE9BOzs7OztFQUNJLHFCQUFBO0FDREoiLCJmaWxlIjoic3JjL2FwcC9pbXByZXNzdW0vaW1wcmVzc3VtLmNvbXBvbmVudC5sZXNzIiwic291cmNlc0NvbnRlbnQiOlsibWF0LXRvb2xiYXJ7XG4gICAgbWluLWhlaWdodDogNTBweDtcbiAgICBoZWlnaHQ6IDUwcHg7XG5cbiAgICBmb250LXNpemU6IDE2cHg7XG4gICAgYm94LXNoYWRvdzogMCAxcHggM3B4IHJnYmEoMCwwLDAsMC4xMiksIDAgMXB4IDJweCByZ2JhKDAsMCwwLDAuMjQpO1xuXG4gICAgb3ZlcmZsb3cteDogYXV0bztcbiAgICBvdmVyZmxvdy15OiBoaWRkZW47XG5cbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgIG1hdC1pY29ue1xuICAgICAgICBwYWRkaW5nOiAwIDEwcHg7XG4gICAgICAgIGZvbnQtc2l6ZTogMjJweDtcbiAgICB9XG59XG5Aa2V5ZnJhbWVzIGZvY3Vze1xuICAgIDAle1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgyNTEsIDI1NSwgMCwgMC43MDUpO1xuICAgIH1cbiAgICAxMDAle1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gICAgfVxufVxuXG4uc2VjdGlvbntcbiAgICBwYWRkaW5nOiA1JTtcbiAgICB3aWR0aDogOTAlXG59XG5cbio6dGFyZ2V0e1xuICAgIGFuaW1hdGlvbjogZm9jdXMgMnMgY3ViaWMtYmV6aWVyKDAuODk1LCAwLjAzLCAwLjY4NSwgMC4yMik7O1xufVxuXG5oMSwgaDIsIGgzLCBoNCwgaDV7XG4gICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xufVxuIiwibWF0LXRvb2xiYXIge1xuICBtaW4taGVpZ2h0OiA1MHB4O1xuICBoZWlnaHQ6IDUwcHg7XG4gIGZvbnQtc2l6ZTogMTZweDtcbiAgYm94LXNoYWRvdzogMCAxcHggM3B4IHJnYmEoMCwgMCwgMCwgMC4xMiksIDAgMXB4IDJweCByZ2JhKDAsIDAsIDAsIDAuMjQpO1xuICBvdmVyZmxvdy14OiBhdXRvO1xuICBvdmVyZmxvdy15OiBoaWRkZW47XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG59XG5tYXQtdG9vbGJhciBtYXQtaWNvbiB7XG4gIHBhZGRpbmc6IDAgMTBweDtcbiAgZm9udC1zaXplOiAyMnB4O1xufVxuQGtleWZyYW1lcyBmb2N1cyB7XG4gIDAlIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiByZ2JhKDI1MSwgMjU1LCAwLCAwLjcwNSk7XG4gIH1cbiAgMTAwJSB7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gIH1cbn1cbi5zZWN0aW9uIHtcbiAgcGFkZGluZzogNSU7XG4gIHdpZHRoOiA5MCU7XG59XG4qOnRhcmdldCB7XG4gIGFuaW1hdGlvbjogZm9jdXMgMnMgY3ViaWMtYmV6aWVyKDAuODk1LCAwLjAzLCAwLjY4NSwgMC4yMik7XG59XG5oMSxcbmgyLFxuaDMsXG5oNCxcbmg1IHtcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xufVxuIl19 */"

/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImpressumComponent", function() { return ImpressumComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};


var ImpressumComponent = /** @class */ (function () {
    function ImpressumComponent(route, router) {
        this.route = route;
        this.router = router;
    }
    ImpressumComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.route.fragment.subscribe(function (fragment) { _this.fragment = fragment; });
    };
    ImpressumComponent.prototype.ngAfterViewInit = function () {
        try {
            document.querySelector('#' + this.fragment).scrollIntoView();
        }
        catch (e) { }
    };
    ImpressumComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-impressum',
            template: __webpack_require__(/*! ./impressum.component.html */ "./src/app/impressum/impressum.component.html"),
            styles: [__webpack_require__(/*! ./impressum.component.less */ "./src/app/impressum/impressum.component.less")]
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"], _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]])
    ], ImpressumComponent);
    return ImpressumComponent;
}());



/***/ }),

/***/ "./src/app/index/index.component.html":
/*!********************************************!*\
  !*** ./src/app/index/index.component.html ***!
  \********************************************/
/*! no static exports found */
/***/ (function(module, exports) {

module.exports = "<mat-toolbar color=\"primary\"> <span>Miniportal Hl. Familie</span> </mat-toolbar>\n\n<mini-login></mini-login>\n\n<button mat-raised-button color=\"accent\" routerLink=\"/miniplan\">Zum Miniplan</button>"

/***/ }),

/***/ "./src/app/index/index.component.less":
/*!********************************************!*\
  !*** ./src/app/index/index.component.less ***!
  \********************************************/
/*! no static exports found */
/***/ (function(module, exports) {

module.exports = "\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2luZGV4L2luZGV4LmNvbXBvbmVudC5sZXNzIn0= */"

/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IndexComponent", function() { return IndexComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};

var IndexComponent = /** @class */ (function () {
    function IndexComponent() {
    }
    IndexComponent.prototype.ngOnInit = function () {
    };
    IndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'mini-index',
            template: __webpack_require__(/*! ./index.component.html */ "./src/app/index/index.component.html"),
            styles: [__webpack_require__(/*! ./index.component.less */ "./src/app/index/index.component.less")]
        }),
        __metadata("design:paramtypes", [])
    ], IndexComponent);
    return IndexComponent;
}());



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "defaultOptions", function() { return defaultOptions; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "loggedIn", function() { return loggedIn; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LoginService", function() { return LoginService; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LoggedInRequest", function() { return LoggedInRequest; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LoginBase", function() { return LoginBase; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../environments/environment */ "./src/environments/environment.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};



var defaultOptions = { withCredentials: true };
var loggedIn = false;
var LoginService = /** @class */ (function () {
    function LoginService(http) {
        this.http = http;
    }
    LoginService.prototype.login = function (loginBase) {
        var _this = this;
        return new Promise(function (resolve, reject) {
            var observable = _this.http.get(Object(_environments_environment__WEBPACK_IMPORTED_MODULE_2__["getApiURL"])() + "/login?id=" + loginBase.username + "&password=" + loginBase.password, { withCredentials: true });
            observable.subscribe(function (response) {
                _this.username = loginBase.username;
                console.log(_this.username);
                _this.token = response.token;
                loggedIn = true;
                resolve(response);
            });
        });
    };
    LoginService.prototype.logout = function () {
        this.http.post(Object(_environments_environment__WEBPACK_IMPORTED_MODULE_2__["getApiURL"])() + "/logout", { credentials: this.requestCredentials }, { withCredentials: false }).subscribe(function (result) {
            console.log(result);
            loggedIn = false;
            window.location.reload();
        });
    };
    LoginService.prototype.checkLogin = function () {
        var _this = this;
        return new Promise(function (resolve, reject) {
            var request = _this.http.post(Object(_environments_environment__WEBPACK_IMPORTED_MODULE_2__["getApiURL"])() + "/loggedIn", { credentials: _this.requestCredentials }, { withCredentials: false }).subscribe(function (data) {
                console.log(data);
                var resp = data;
                console.log(resp);
                if (!resp.success) {
                    reject(resp.error);
                    loggedIn = false;
                    return;
                }
                loggedIn = resp.loggedIn;
                resolve(resp);
                request.unsubscribe();
            });
        });
    };
    Object.defineProperty(LoginService.prototype, "loggedIn", {
        get: function () { return loggedIn; },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(LoginService.prototype, "username", {
        get: function () {
            return window.sessionStorage.getItem("username");
        },
        set: function (username) {
            window.sessionStorage.setItem("username", username);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(LoginService.prototype, "token", {
        get: function () {
            return window.sessionStorage.getItem("token");
        },
        set: function (token) {
            window.sessionStorage.setItem("token", token);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(LoginService.prototype, "requestCredentials", {
        get: function () {
            return { username: this.username, token: this.token };
        },
        enumerable: true,
        configurable: true
    });
    LoginService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])(),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], LoginService);
    return LoginService;
}());

var LoggedInRequest = /** @class */ (function () {
    function LoggedInRequest(success, loggedIn, user, error) {
        if (success === void 0) { success = false; }
        if (loggedIn === void 0) { loggedIn = false; }
        if (user === void 0) { user = ""; }
        if (error === void 0) { error = ""; }
        this.success = success;
        this.loggedIn = loggedIn;
        this.user = user;
        this.error = error;
    }
    return LoggedInRequest;
}());

var LoginBase = /** @class */ (function () {
    function LoginBase() {
    }
    return LoginBase;
}());



/***/ }),

/***/ "./src/app/login/login.component.html":
/*!********************************************!*\
  !*** ./src/app/login/login.component.html ***!
  \********************************************/
/*! no static exports found */
/***/ (function(module, exports) {

module.exports = "<form class=\"login-form\" (ngSubmit)=\"onSubmit()\" #loginForm=\"ngForm\"> \n\n  <p>In den privaten Ministrantenbereich einloggen:</p>\n\n  <mat-form-field>\n    <input matInput placeholder=\"Benutzername\" required [(ngModel)]=\"model.username\" name=\"username\">\n  </mat-form-field>\n\n  <mat-form-field>\n    <input matInput placeholder=\"Passwort\" type=\"password\" required [(ngModel)]=\"model.password\" name=\"password\">\n  </mat-form-field>\n\n  <button mat-raised-button color=\"accent\" type=\"submit\">Login</button>\n\n  <div class=\"login-error dialog\" [hidden]=\"loginSuccess\">\n    <p>Login fehlgeschlagen!</p>\n    <span>Überprüfen sie ihren Benutzernamen oder ihr Passwort</span>\n  </div>\n</form>\n"

/***/ }),

/***/ "./src/app/login/login.component.less":
/*!********************************************!*\
  !*** ./src/app/login/login.component.less ***!
  \********************************************/
/*! no static exports found */
/***/ (function(module, exports) {

module.exports = ".login-form {\n  padding: 20px;\n  margin: 20px auto;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n  display: -webkit-box;\n  display: flex;\n  flex-wrap: wrap;\n}\n.login-form > * {\n  width: 100%;\n}\n.login-form [type=\"submit\"] {\n  width: auto;\n}\n\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9idWlsZHMvam9uaW9nZXJnL21pbmlzLWNsaWVudC9zcmMvYXBwL2xvZ2luL2xvZ2luLmNvbXBvbmVudC5sZXNzIiwic3JjL2FwcC9sb2dpbi9sb2dpbi5jb21wb25lbnQubGVzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUVJLGFBQUE7RUFDQSxpQkFBQTtFQUNBLHdFQUFBO0VBQ0Esb0JBQUE7RUFBQSxhQUFBO0VBQ0EsZUFBQTtBQ0FKO0FERUk7RUFDSSxXQUFBO0FDQVI7QURUQTtFQWFRLFdBQUE7QUNEUiIsImZpbGUiOiJzcmMvYXBwL2xvZ2luL2xvZ2luLmNvbXBvbmVudC5sZXNzIiwic291cmNlc0NvbnRlbnQiOlsiLmxvZ2luLWZvcm17XG4gICAgLy8gd2lkdGg6IDIwJTtcbiAgICBwYWRkaW5nOiAyMHB4O1xuICAgIG1hcmdpbjogMjBweCBhdXRvO1xuICAgIGJveC1zaGFkb3c6IDAgMXB4IDNweCByZ2JhKDAsMCwwLDAuMTIpLCAwIDFweCAycHggcmdiYSgwLDAsMCwwLjI0KTtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGZsZXgtd3JhcDogd3JhcDtcblxuICAgICYgPiAqe1xuICAgICAgICB3aWR0aDogMTAwJTtcbiAgICB9XG5cbiAgICBbdHlwZT1cInN1Ym1pdFwiXXtcbiAgICAgICAgd2lkdGg6IGF1dG87XG4gICAgfVxuXG4gICAgLmxvZ2luLWVycm9ye1xuICAgIH1cbn0iLCIubG9naW4tZm9ybSB7XG4gIHBhZGRpbmc6IDIwcHg7XG4gIG1hcmdpbjogMjBweCBhdXRvO1xuICBib3gtc2hhZG93OiAwIDFweCAzcHggcmdiYSgwLCAwLCAwLCAwLjEyKSwgMCAxcHggMnB4IHJnYmEoMCwgMCwgMCwgMC4yNCk7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZsZXgtd3JhcDogd3JhcDtcbn1cbi5sb2dpbi1mb3JtID4gKiB7XG4gIHdpZHRoOiAxMDAlO1xufVxuLmxvZ2luLWZvcm0gW3R5cGU9XCJzdWJtaXRcIl0ge1xuICB3aWR0aDogYXV0bztcbn1cbiJdfQ== */"

/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LoginComponent", function() { return LoginComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _login_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../login.service */ "./src/app/login.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};



var LoginComponent = /** @class */ (function () {
    function LoginComponent(loginService, router) {
        this.loginService = loginService;
        this.router = router;
        this.model = new _login_service__WEBPACK_IMPORTED_MODULE_2__["LoginBase"]();
        this.loggingIn = false;
        this.loginSuccess = true;
    }
    LoginComponent.prototype.onSubmit = function () {
        var _this = this;
        if (this.loggingIn == true)
            return;
        console.log("Logging in");
        this.loggingIn = true;
        this.loginService.login(this.model).then(function (data) {
            console.log(data);
            _this.loggingIn = false;
            if (data.success) {
                _this.loginSuccess = true;
                window.location.reload();
            }
            else {
                _this.loginSuccess = false;
            }
        });
    };
    LoginComponent.prototype.isLoggedIn = function () {
        return true;
    };
    LoginComponent.prototype.ngOnInit = function () {
    };
    Object.defineProperty(LoginComponent.prototype, "diagnostic", {
        get: function () { return JSON.stringify(this.model); },
        enumerable: true,
        configurable: true
    });
    LoginComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'mini-login',
            template: __webpack_require__(/*! ./login.component.html */ "./src/app/login/login.component.html"),
            providers: [_login_service__WEBPACK_IMPORTED_MODULE_2__["LoginService"]],
            styles: [__webpack_require__(/*! ./login.component.less */ "./src/app/login/login.component.less")]
        }),
        __metadata("design:paramtypes", [_login_service__WEBPACK_IMPORTED_MODULE_2__["LoginService"], _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]])
    ], LoginComponent);
    return LoginComponent;
}());



/***/ }),

/***/ "./src/app/miniplan/miniplan.component.html":
/*!**************************************************!*\
  !*** ./src/app/miniplan/miniplan.component.html ***!
  \**************************************************/
/*! no static exports found */
/***/ (function(module, exports) {

module.exports = "<!-- <div class=\"saving\" [class.shown]=\"this.saving\">\n  <span>Miniplan wird gespeichert...</span>\n  <span class=\"small\">Bitte warte einen Moment...</span>\n  <mat-spinner [diameter]=\"48\" [strokeWidth]=\"5\"></mat-spinner>\n</div> -->\n\n\n<mat-toolbar color=\"white\"> \n  <span>Miniportal Hl. Familie</span> \n  <div class=\"spacer\"></div>\n  <mat-form-field color=\"white\"> \n    <mat-select placeholder=\"Miniplan auswählen\" [(ngModel)]=\"currentGroup\"  [(value)]=\"currentGroup\" (change)=\"loadData($event.value)\">\n      <mat-option *ngFor=\"let group of groups\" [value]=\"group.ID\" (select)=\"loadData($event.value)\">{{group.name()}}</mat-option>\n    </mat-select>\n  </mat-form-field> \n  <mat-icon (click)=\"print()\">print</mat-icon>\n  <mat-icon (click)=\"logout()\">exit_to_app</mat-icon>\n\n  <input type=\"checkbox\" (change)=\"this.showChanges = !this.showChanges\" [value]=\"this.showChanges\" [hidden]=\"!this.loginS.loggedIn\">\n  <span [hidden]=\"!this.loginS.loggedIn\">Änderungen anzeigen</span>\n\n\n  <input type=\"checkbox\" (change)=\"this.highlight = !this.highlight\" [checked]=\"this.highlight\" [hidden]=\"!this.loginS.loggedIn\">\n  <span [hidden]=\"!this.loginS.loggedIn\">Farblich hervorheben</span>\n</mat-toolbar>\n\n\n<div class=\"scrollX\">\n\n  <table class=\".browser-default\" id=\"print-section\" *ngIf=\"!mobile || !loggedIn\">\n    <thead>\n\n      <tr id=\"gdDetele\" *ngIf=\"loggedIn == 'admin'\">\n\n      <!--                     Delete-Button -->\n\n        <td></td>\n        <td *ngFor=\"let gd of gds\">\n          <mat-icon (click)=\"deleteGd(gd)\" class=\"delete\">delete</mat-icon>\n        </td>\n      </tr>\n\n      <tr id=\"gdFixed\" *ngIf=\"loggedIn == 'admin'\">\n\n      <!--                     Fixed-Checkbox -->\n\n        <td>Festgelegt?</td>\n        <td *ngFor=\"let gd of gds\">\n          <mat-checkbox (change)=\"fixGd(gd, $event.checked)\" [checked]=\"gd.FESTGESETZT == 1\"></mat-checkbox>\n        </td>\n      </tr>\n\n      <tr id=\"gottesdienste\">\n\n      <!--                     Gottesdienst-Namen -->\n\n        <td></td>\n        <td *ngFor=\"let gd of gds\">\n          {{ gd.NAME}}\n        </td>\n      </tr>\n      <tr id=\"date\">\n\n      <!--                     Gottesdienst-Datum -->\n\n        <td>\n            <strong>Datum</strong>\n        </td>\n        \n        <td *ngFor=\"let gd of gds\">\n          {{ (gd.DATUM) | amDateFormat:'DD.MM'}}\n        </td>\n      </tr>\n\n      <tr id=\"time\">\n\n      <!--                     Gottesdienst-Uhrzeit -->\n\n        <td>\n        Uhrzeit\n        </td>\n        <td *ngFor=\"let gd of gds\">\n\n            {{ (gd.DATUM) | amDateFormat:'HH:mm'}}\n          <!-- {{gd.UHRZEIT.substring(0, gd.UHRZEIT.length - 3)}} -->\n        </td>\n      </tr>\n\n      <tr id=\"presence\">\n\n      <!--                     Gottesdienst-Anwesenheit -->\n\n        <td>\n            Anwesenheit\n        </td>\n        <td *ngFor=\"let gd of gds\">\n          {{gd.ANWESENHEIT.substring(0, gd.ANWESENHEIT.length - 3)}}\n        </td>\n      </tr>\n\n      <tr id=\"dotw\">\n\n      <!--                     Gottesdienst-Wochentag -->\n\n        <td>\n            Wochentag\n        </td>\n        <td *ngFor=\"let gd of gds\">\n            {{ (gd.DATUM | amFromUtc) | amDateFormat:'dd'}}\n        </td>\n      </tr>\n\n    </thead>\n    <tbody id=\"gottesdienstBody\">\n      <tr *ngFor=\"let mini of minis\" id=\"{{mini.username}}\">\n        <td> {{mini.lastname}} {{mini.firstname}} </td>\n        <td *ngFor=\"let gd of gds\" >\n          <div class=\"changedIcon hidePrint\" \n            [class.changed]=\"this.showChanges && this.changes[mini.username] != undefined && this.changes[mini.username].registered[gd.ID] != undefined && !(this.changes[mini.username].registered[gd.ID] == 0 && mini.registered[gd.ID] == undefined)\">\n\n          </div>\n          <span [class.hidden]=\"(loggedIn == 'admin' || (loggedIn == mini.username && gd.FESTGESETZT == 0)) && !this.isPrinting\"> {{mini.registered[gd.ID] ? (mini.registered[gd.ID] == 1 ? \"x\" : \"-\") : \"\"}} </span>\n          <span *ngIf=\"(loggedIn == mini.username && gd.FESTGESETZT == 0) || ( loggedIn == 'admin')\" class=\"radioGroup hidePrint\">\n            <div class=\"inputGroup\">\n              <input type=\"radio\" [name]=\"gd.ID + '-' + mini.username\" [checked]=\"mini.registered[gd.ID] && mini.registered[gd.ID] == 1\" (change)=\"change(mini, gd.ID, 1)\"> \n              <label [class.original]=\"this.showChanges && mini.registered[gd.ID] == 1\">x</label>\n            </div>\n            <div class=\"inputGroup\">\n              <input type=\"radio\" [name]=\"gd.ID + '-' + mini.username\" [checked]=\"!mini.registered[gd.ID]\" (change)=\"change(mini, gd.ID, 0)\">\n              <label [class.original]=\"this.showChanges && mini.registered[gd.ID] == undefined\"></label>\n            </div>\n            <div class=\"inputGroup\">\n              <input type=\"radio\" [name]=\"gd.ID + '-' + mini.username\" [checked]=\"mini.registered[gd.ID] && mini.registered[gd.ID] == -1\" (change)=\"change(mini, gd.ID, -1)\"> \n              <label [class.original]=\"this.showChanges && mini.registered[gd.ID] == -1\">-</label>\n            </div>\n          </span>\n\n\n          <div class=\"highlight hidePrint\" *ngIf=\"!this.isPrinting && (loggedIn == mini.username || loggedIn == 'admin') && this.highlight\" \n          [class.green]=\"mini.registered[gd.ID] == 1 || (changes[mini.username] && changes[mini.username].registered[gd.ID] == 1)\"\n          [class.yellow]=\"mini.registered[gd.ID] == undefined || changes[mini.username] == undefined\"\n          [class.red]=\"mini.registered[gd.ID] == -1 || (changes[mini.username] && changes[mini.username].registered[gd.ID] == -1)\">\n          </div>\n        </td> \n      </tr>\n    </tbody>\n\n  </table> \n\n\n\n  <table class=\".browser-default\" id=\"print-section\" *ngIf=\"mobile && getLoggedIn\">\n    <thead>\n      <tr>\n        <td>Gottesdienst</td>\n        <td></td>\n      </tr>\n    </thead>\n    <tbody>\n      <tr *ngFor=\"let gd of gds\">\n        <td class=\"details\">\n          <span>{{gd.NAME || \"Gottesdienst\"}}</span>\n          <span class=\"time\">am {{gd.DATUM | amDateFormat: \"DD.MM\"}} um {{ (gd.DATUM) | amSubtract: 2 : 'hours'  | amDateFormat : 'HH:mm'}} </span>\n          <span class=\"presence\">Anwesenheit: {{ gd.ANWESENHEIT.substring(0, gd.ANWESENHEIT.length - 3) }} </span>\n        </td>\n        <td>\n          <span *ngIf=\"(gd.FESTGESETZT == 0) || ( loggedIn == 'admin')\" class=\"radioGroup hidePrint\">\n            <div class=\"inputGroup\">\n              <input type=\"radio\" [name]=\"gd.ID + '-' + getLoggedIn.username\" [checked]=\"getLoggedIn.registered[gd.ID] && getLoggedIn.registered[gd.ID] == 1\" (change)=\"change(getLoggedIn, gd.ID, 1)\"> \n              <label [class.original]=\"this.showChanges && getLoggedIn.registered[gd.ID] == 1\">x</label>\n            </div>\n            <div class=\"inputGroup\">\n              <input type=\"radio\" [name]=\"gd.ID + '-' + getLoggedIn.username\" [checked]=\"!getLoggedIn.registered[gd.ID]\" (change)=\"change(getLoggedIn, gd.ID, 0)\">\n              <label [class.original]=\"this.showChanges && getLoggedIn.registered[gd.ID] == undefined\"></label>\n            </div>\n            <div class=\"inputGroup\">\n              <input type=\"radio\" [name]=\"gd.ID + '-' + getLoggedIn.username\" [checked]=\"getLoggedIn.registered[gd.ID] && getLoggedIn.registered[gd.ID] == -1\" (change)=\"change(getLoggedIn, gd.ID, -1)\"> \n              <label [class.original]=\"this.showChanges && getLoggedIn.registered[gd.ID] == -1\">-</label>\n            </div>\n          </span>\n\n\n          <div class=\"highlight hidePrint\" *ngIf=\"!this.isPrinting && this.highlight\" \n          [class.green]=\"getLoggedIn.registered[gd.ID] == 1 || (changes[getLoggedIn.username] && changes[getLoggedIn.username].registered[gd.ID] == 1)\"\n          [class.yellow]=\"getLoggedIn.registered[gd.ID] == undefined || changes[getLoggedIn.username] == undefined\"\n          [class.red]=\"getLoggedIn.registered[gd.ID] == -1 || (changes[getLoggedIn.username] && changes[getLoggedIn.username].registered[gd.ID] == -1)\">\n          </div>\n        </td>\n      </tr>\n    </tbody>\n  </table>\n\n\n\n  <div class=\"side\">\n\n\n    <mini-login class=\"hidePrint\" [hidden]=\"this.loggedIn\"></mini-login>\n  \n\n    <button mat-raised-button color=\"accent\" type=\"submit\" class=\"hidePrint\" class=\"btn\" (click)=\"print()\">Drucken</button>\n    <button mat-raised-button color=\"accent\" type=\"submit\" class=\"hidePrint\" class=\"btn\" (click)=\"logout()\" [hidden]=\"!this.loggedIn\">Ausloggen</button>\n  \n    <button mat-raised-button color=\"accent\" type=\"submit\" class=\"hidePrint\" class=\"btn\" (click)=\"help = true\"><mat-icon class=\"btn-icon\">help</mat-icon>Hilfe</button>\n  </div>\n  \n</div>\n\n<a *ngIf=\"mobile\" [routerLink]='\"/\" + currentGroup' [queryParams]=\"{'forceDesktop': true}\">Desktopansicht</a>\n\n<div id=\"fab-cont\"  [class.showAdd]=\"this.hasChanges\">\n\n  <button mat-fab (click)=\"add()\" *ngIf=\"this.loggedIn == 'admin'\">\n        <mat-icon>add</mat-icon>\n  </button>\n\n\n\n  <div>\n      <span style=\"color: #686868; margin-right: 20px;\">Änderungen speichern</span>\n      <button mat-fab (click)=\"save()\">\n        <mat-icon>save</mat-icon>\n      </button>\n  </div>\n\n</div>\n"

/***/ }),

/***/ "./src/app/miniplan/miniplan.component.less":
/*!**************************************************!*\
  !*** ./src/app/miniplan/miniplan.component.less ***!
  \**************************************************/
/*! no static exports found */
/***/ (function(module, exports) {

module.exports = "mat-toolbar {\n  min-height: 50px;\n  height: 50px;\n  font-size: 16px;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n  overflow-x: auto;\n  overflow-y: hidden;\n  -webkit-box-align: center;\n          align-items: center;\n}\nmat-toolbar mat-icon {\n  padding: 0 10px;\n  font-size: 22px;\n}\n.saving {\n  position: fixed;\n  top: 0;\n  left: 0;\n  height: 100%;\n  width: 100%;\n  display: none;\n  flex-wrap: wrap;\n  -webkit-box-pack: center;\n          justify-content: center;\n  align-content: center;\n  background-color: #fff;\n  z-index: 100000;\n}\n.saving mat-spinner {\n  margin-top: 20px;\n}\n.saving span {\n  font-size: 24px;\n  text-align: center;\n  width: 100%;\n  margin-bottom: 10px;\n}\n.saving span.small {\n  font-size: 18px;\n}\n.saving.shown {\n  display: -webkit-box;\n  display: flex;\n}\n.spacer {\n  -webkit-box-flex: 1;\n          flex: 1 1 auto;\n}\n:host {\n  display: block;\n  padding-bottom: 26px;\n}\n.print {\n  display: none;\n}\n@media print {\n  mat-toolbar {\n    display: none;\n  }\n  .print {\n    display: inline-block;\n  }\n  .hidePrint {\n    display: none !important;\n  }\n}\ntr#gottesdienste td {\n  padding: 20px;\n}\ntr#date,\ntr#presence {\n  font-weight: 700;\n}\nthead tr:last-child td {\n  border-bottom: 2px solid #2e2e2e;\n}\ntbody tr:nth-child(5n) td {\n  border-bottom: 2px solid #2e2e2e;\n}\ntd {\n  padding: 7px 8px;\n  margin: 0;\n  font-size: 15px;\n  min-width: 30px;\n  border-right: 1px solid #444444;\n  border-bottom: 1px solid #444444;\n  text-align: center;\n  position: relative;\n}\ntd:nth-child(2n) {\n  background-color: #64dd17;\n}\ntd:first-child {\n  text-align: left;\n  padding-right: 75px;\n  border-right: 2px solid #2e2e2e;\n}\ntd.changed {\n  background-color: #faf4a2;\n}\ntd .changedIcon {\n  position: absolute;\n  top: 4px;\n  right: 4px;\n  border-radius: 100%;\n  height: 10px;\n  width: 10px;\n  -webkit-transition: 100ms background-color, 100ms box-shadow;\n  transition: 100ms background-color, 100ms box-shadow;\n}\ntd .changedIcon.changed {\n  background-color: #fdf471;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n}\ntd > * {\n  position: relative;\n  z-index: 1;\n}\ntd .highlight {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n  top: 0;\n  left: 0;\n  z-index: 0;\n}\ntd .highlight.green {\n  background-color: #8eff80;\n}\ntd .highlight.red {\n  background-color: #ff9191;\n}\nmat-form-field {\n  height: 80%;\n}\n.original {\n  color: #f00;\n}\n.radioGroup {\n  display: -webkit-box;\n  display: flex;\n  -webkit-box-pack: start;\n          justify-content: flex-start;\n}\n.radioGroup .inputGroup {\n  width: 100%;\n  text-align: center;\n}\ntable {\n  border-spacing: 0px;\n}\n@media (max-width: 700px) {\n  table {\n    width: 100%;\n  }\n}\nthead {\n  text-align: center;\n}\ntd span {\n  font-weight: 700;\n}\n.scrollX {\n  overflow-x: auto;\n  overflow-y: auto;\n  display: -webkit-box;\n  display: flex;\n}\n@media (max-width: 700px) {\n  .scrollX {\n    flex-wrap: wrap;\n  }\n}\n.btn {\n  margin: 4px;\n}\n.delete {\n  color: #e53935;\n  font-size: 20px;\n  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.041), 0 1px rgba(0, 0, 0, 0.11);\n  cursor: pointer;\n}\n#fab-cont {\n  position: fixed;\n  bottom: -64px;\n  right: 16px;\n  display: -webkit-box;\n  display: flex;\n  -webkit-box-orient: vertical;\n  -webkit-box-direction: normal;\n          flex-direction: column;\n  -webkit-box-pack: end;\n          justify-content: flex-end;\n  -webkit-box-align: end;\n          align-items: flex-end;\n  -webkit-transition: 200ms bottom cubic-bezier(0.175, 0.885, 0.32, 1.275);\n  transition: 200ms bottom cubic-bezier(0.175, 0.885, 0.32, 1.275);\n}\n#fab-cont button {\n  margin: 8px;\n}\n#fab-cont.showAdd {\n  bottom: 16px;\n}\n.details {\n  display: block;\n}\n.details span {\n  display: block;\n}\n.details span.time,\n.details span.presence {\n  font-weight: 300;\n  color: #686868;\n  font-size: 13px;\n}\n.details span.time {\n  font-weight: 600;\n}\nlabel {\n  display: block;\n}\n[hidden] {\n  display: none;\n}\n\n/*# sourceMappingURL=data:application/json;base64,  */"

/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MiniplanComponent", function() { return MiniplanComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js");
/* harmony import */ var _gruppen_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../gruppen.service */ "./src/app/gruppen.service.ts");
/* harmony import */ var _gottesdienste_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../gottesdienste.service */ "./src/app/gottesdienste.service.ts");
/* harmony import */ var _ministranten_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../ministranten.service */ "./src/app/ministranten.service.ts");
/* harmony import */ var _utils_utility__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/utility */ "./src/app/utils/utility.ts");
/* harmony import */ var _login_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../login.service */ "./src/app/login.service.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _new_modal_new_modal_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../new-modal/new-modal.component */ "./src/app/new-modal/new-modal.component.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};









var MiniplanComponent = /** @class */ (function () {
    function MiniplanComponent(gdService, miniService, gruppenService, loginS, snackBar, router, route, dialog) {
        this.gdService = gdService;
        this.miniService = miniService;
        this.gruppenService = gruppenService;
        this.loginS = loginS;
        this.snackBar = snackBar;
        this.router = router;
        this.route = route;
        this.dialog = dialog;
        this.mobile = window.innerWidth < 700;
        this.groupModel = new _gruppen_service__WEBPACK_IMPORTED_MODULE_2__["GruppeModel"]("", "", "");
        this.groups = [];
        this._currentGroup = -1;
        this.gds = [];
        this.minis = [];
        this.loggedIn = "";
        this.saving = false;
        this.isPrinting = false;
        this.changes = {};
        this.help = false;
        this.showChanges = false;
        this.highlight = true;
    }
    Object.defineProperty(MiniplanComponent.prototype, "currentGroup", {
        get: function () { return this._currentGroup; },
        set: function (num) { this._currentGroup = num; this.loadData(this.currentGroup); },
        enumerable: true,
        configurable: true
    });
    MiniplanComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.route.params.subscribe(function (params) {
            _this.currentGroup = params["id"];
        });
        this.route.queryParams.subscribe(function (params) {
            if (params["forceDesktop"]) {
                _this.mobile = false;
            }
            console.log("Website is " + (!_this.mobile ? "not " : "") + "in mobile mode");
        });
        this.loginS.checkLogin().then(function (data) {
            if (data.loggedIn) {
                _this.loggedIn = data.user;
            }
        });
    };
    MiniplanComponent.prototype.loadData = function (id) {
        var _this = this;
        console.log("Load miniplan: " + id);
        this.gdService.getGds(id).subscribe(function (data) {
            _this.gds = data;
            console.log(_this.gds);
        });
        this.miniService.getMinis().subscribe(function (data) {
            _this.minis = data;
            console.log("Minis", _this.minis.filter(function (m) { return m.registered; }));
        });
        this.gruppenService.currentGroup = id;
        if (id == -1) {
            this.gruppenService.getGroups().subscribe(function (data) {
                var tmp = [];
                for (var _i = 0, data_1 = data; _i < data_1.length; _i++) {
                    var group = data_1[_i];
                    tmp.push(new _gruppen_service__WEBPACK_IMPORTED_MODULE_2__["GruppeModel"](group.START, group.END, group.ID));
                }
                _this.groups = tmp;
                if (_this.groups.length >= 1) {
                    _this.currentGroup = _this.groups[0].ID;
                    _this.gruppenService.currentGroup = _this.currentGroup;
                }
            });
        }
    };
    MiniplanComponent.prototype.getBezeichnung = function (str) {
        if (str != "Gottesdienst") {
            return str;
        }
        return "";
    };
    MiniplanComponent.prototype.getFormat = function (gd, mini) {
        //gdm = gottesdienst ministrant
        var gdm = _utils_utility__WEBPACK_IMPORTED_MODULE_5__["ArrayUtils"].includesGD(gd.ID, mini.registered);
        if (gdm != null || gdm != undefined) {
            if (gdm.value == 1) {
                return "x";
            }
            else {
                return "-";
            }
        }
        return "";
    };
    MiniplanComponent.prototype.change = function (mini, gdID, value) {
        if (this.changes[mini.username] == undefined) {
            this.changes[mini.username] = {
                registered: {}
            };
        }
        // if(getRegistered(mini, gdID) == value){
        if (value == mini.registered[gdID]) {
            delete this.changes[mini.username].registered[gdID];
        }
        else {
            this.changes[mini.username].registered[gdID] = value;
        }
        console.log(this.changes);
    };
    Object.defineProperty(MiniplanComponent.prototype, "hasChanges", {
        get: function () {
            return Object.keys(this.changes).length > 0;
        },
        enumerable: true,
        configurable: true
    });
    MiniplanComponent.prototype.fixGd = function (gd, checked) {
        if (!this.changes.gds) {
            this.changes.gds = {};
        }
        console.log((gd.FESTGESETZT == 1));
        if (checked == (gd.FESTGESETZT == 1)) {
            delete this.changes.gds[gd.ID];
        }
        else {
            this.changes.gds[gd.ID] = checked;
        }
        console.log(this.changes);
    };
    MiniplanComponent.prototype.getRegistered = function (mini, gdID) { return Object(_utils_utility__WEBPACK_IMPORTED_MODULE_5__["getRegistered"])(mini, gdID); };
    Object.defineProperty(MiniplanComponent.prototype, "getLoggedIn", {
        get: function () {
            // console.log(this.minis)
            if (this.loggedInUser != null) {
                return this.loggedInUser;
            }
            else {
                // console.log(this.loggedIn)
                for (var _i = 0, _a = this.minis; _i < _a.length; _i++) {
                    var m = _a[_i];
                    // console.log(m.username, this.loggedIn)
                    if (m.username == this.loggedIn) {
                        this.loggedInUser = m;
                    }
                }
                return this.loggedInUser;
            }
        },
        enumerable: true,
        configurable: true
    });
    MiniplanComponent.prototype.print = function () {
        var _this = this;
        this.isPrinting = true;
        setTimeout(function () {
            window.print();
            _this.isPrinting = false;
        }, 100);
    };
    MiniplanComponent.prototype.logout = function () {
        this.loginS.logout();
        this.router.navigateByUrl("/");
    };
    MiniplanComponent.prototype.save = function () {
        var _this = this;
        this.saving = true;
        this.miniService.update(this.changes).then(function (suc) {
            _this.snackBar.open("Miniplan gespeichert!", "Schließen", {
                duration: 2000
            });
            _this.saving = false;
            _this.changes = {};
        });
    };
    MiniplanComponent.prototype.add = function () {
        var _this = this;
        var dialogRef = this.dialog.open(_new_modal_new_modal_component__WEBPACK_IMPORTED_MODULE_8__["NewModalComponent"], {
            panelClass: "dialogNewEntries",
            width: "50%"
        });
        dialogRef.afterClosed().subscribe(function (response) {
            if (response.type == "plan") {
                _this.loadData(response.id);
            }
            else if (response.type == "gd") {
                console.log(response);
                var data = response.data;
                _this.gds.push({
                    ID: data.id,
                    ANWESENHEIT: data.model.presence + ":00",
                    DATUM: data.model.date + "T" + data.model.time + ":00.000Z",
                    FESTGESETZT: 0,
                    NAME: data.model.name,
                    ORT: data.model.location,
                    PROBE: data.model.trial,
                    gruppe_ID: _this.currentGroup
                });
                _this.snackBar.open("Es wird empfohlen die Seite neu zu laden!", "Verstanden", { duration: 4000 });
                console.log(_this.gds);
            }
        });
    };
    MiniplanComponent.prototype.deleteGd = function (gd) {
        var _this = this;
        this.gdService.delete(gd.ID).then(function (success) {
            _this.snackBar.open(success ? "Gottesdienst entfernt!" : "Gottesdienst konnte nicht entfernt werden!", "Okey", { duration: 3000 });
            _this.gds = _this.gds.filter(function (g) { return g.ID != gd.ID; });
        });
    };
    MiniplanComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'mini-miniplan',
            template: __webpack_require__(/*! ./miniplan.component.html */ "./src/app/miniplan/miniplan.component.html"),
            providers: [_gottesdienste_service__WEBPACK_IMPORTED_MODULE_3__["GottesdiensteService"], _ministranten_service__WEBPACK_IMPORTED_MODULE_4__["MinistrantenService"], _gruppen_service__WEBPACK_IMPORTED_MODULE_2__["GruppenService"], _login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"]],
            styles: [__webpack_require__(/*! ./miniplan.component.less */ "./src/app/miniplan/miniplan.component.less")]
        }),
        __metadata("design:paramtypes", [_gottesdienste_service__WEBPACK_IMPORTED_MODULE_3__["GottesdiensteService"],
            _ministranten_service__WEBPACK_IMPORTED_MODULE_4__["MinistrantenService"],
            _gruppen_service__WEBPACK_IMPORTED_MODULE_2__["GruppenService"],
            _login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"],
            _angular_material__WEBPACK_IMPORTED_MODULE_1__["MatSnackBar"],
            _angular_router__WEBPACK_IMPORTED_MODULE_7__["Router"],
            _angular_router__WEBPACK_IMPORTED_MODULE_7__["ActivatedRoute"],
            _angular_material__WEBPACK_IMPORTED_MODULE_1__["MatDialog"]])
    ], MiniplanComponent);
    return MiniplanComponent;
}());



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MinistrantenService", function() { return MinistrantenService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _login_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./login.service */ "./src/app/login.service.ts");
/* harmony import */ var _gruppen_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./gruppen.service */ "./src/app/gruppen.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};





var MinistrantenService = /** @class */ (function () {
    function MinistrantenService(http, loginS, groupS) {
        this.http = http;
        this.loginS = loginS;
        this.groupS = groupS;
        this.options = { credentials: this.loginS.requestCredentials };
        this.operationsInQueue = 0;
        this.occuredErrors = [];
        this.requestSubscribtions = [];
    }
    MinistrantenService.prototype.getMinis = function () {
        console.log(this.groupS.currentGroup);
        return this.http.post(Object(_environments_environment__WEBPACK_IMPORTED_MODULE_2__["getApiURL"])() + "/ministranten?group=" + this.groupS.currentGroup, this.options, { withCredentials: false });
    };
    MinistrantenService.prototype.update = function (data) {
        var _this = this;
        console.log("STARING UPDATE");
        return new Promise(function (resolve, reject) {
            _this.loginS.checkLogin().then(function (resp) {
                _this.operationsInQueue = Object.keys(data).length;
                for (var i = 0; i < Object.keys(data).length; i++) {
                    var user = Object.keys(data)[i];
                    if (user == "gds") {
                        continue;
                    }
                    var req = _this.http.post(Object(_environments_environment__WEBPACK_IMPORTED_MODULE_2__["getApiURL"])() + "/" + user + "/update?changes=" + JSON.stringify(data[user].registered), _this.options).subscribe(function (httpResponse) {
                        var result = httpResponse;
                        if (!result.success) {
                            _this.occuredErrors.push(result.error);
                        }
                        _this.operationsInQueue--;
                        if (_this.operationsInQueue <= 0) {
                            for (var i = 0; i < _this.requestSubscribtions.length; i++) {
                                _this.requestSubscribtions[i].unsubscribe();
                            }
                            resolve(true);
                        }
                    });
                    _this.requestSubscribtions.push(req);
                }
                for (var _i = 0, _a = Object.keys(data.gds); _i < _a.length; _i++) {
                    var gd = _a[_i];
                    var credentials = _this.loginS.requestCredentials;
                    _this.http.post(Object(_environments_environment__WEBPACK_IMPORTED_MODULE_2__["getApiURL"])() + "/gd/" + gd + "/update?fixed=" + data.gds[gd], { credentials: credentials }).toPromise().then(function (response) {
                        _this.operationsInQueue--;
                        if (_this.operationsInQueue <= 0) {
                            resolve(true);
                        }
                    });
                }
            });
        });
    };
    MinistrantenService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])(),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"], _login_service__WEBPACK_IMPORTED_MODULE_3__["LoginService"], _gruppen_service__WEBPACK_IMPORTED_MODULE_4__["GruppenService"]])
    ], MinistrantenService);
    return MinistrantenService;
}());



/***/ }),

/***/ "./src/app/new-entries.service.ts":
/*!****************************************!*\
  !*** ./src/app/new-entries.service.ts ***!
  \****************************************/
/*! exports provided: NewEntriesService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NewEntriesService", function() { return NewEntriesService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../environments/environment */ "./src/environments/environment.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};



var NewEntriesService = /** @class */ (function () {
    function NewEntriesService(http) {
        this.http = http;
    }
    NewEntriesService.prototype.newPlan = function (start, end, loginService) {
        var _this = this;
        return new Promise(function (resolve, reject) {
            var credentials = loginService.requestCredentials;
            _this.http.post(Object(_environments_environment__WEBPACK_IMPORTED_MODULE_2__["getApiURL"])() + "/add/group", { credentials: credentials, start: start, end: end }).subscribe(function (response) {
                resolve(response);
            });
        });
    };
    NewEntriesService.prototype.newGd = function (data, loginService) {
        var _this = this;
        return new Promise(function (resolve, reject) {
            var credentials = loginService.requestCredentials;
            _this.http.post(Object(_environments_environment__WEBPACK_IMPORTED_MODULE_2__["getApiURL"])() + "/add/gottesdienst", { credentials: credentials, data: data }).subscribe(function (response) {
                resolve(response);
            });
        });
    };
    NewEntriesService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])(),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], NewEntriesService);
    return NewEntriesService;
}());



/***/ }),

/***/ "./src/app/new-modal/new-modal.component.html":
/*!****************************************************!*\
  !*** ./src/app/new-modal/new-modal.component.html ***!
  \****************************************************/
/*! no static exports found */
/***/ (function(module, exports) {

module.exports = "<mat-tab-group mat-stretch-tabs  [selectedIndex]=\"(this.groupService.currentGroup == -1) ? 1 : 0\"> \n  <mat-tab label=\"Gottesdienst\" [disabled]=\"this.groupService.currentGroup == -1\">\n    <form class=\"form\" (ngSubmit)=\"newGd()\" #gdForm=\"ngForm\"> \n\n      <mat-form-field>\n        <input matInput placeholder=\"Bezeichnung\" [(ngModel)]=\"newGdModel.name\" name=\"name\">\n      </mat-form-field>\n    \n      <mat-form-field>\n        <input matInput placeholder=\"Datum\" type=\"date\" required [(ngModel)]=\"newGdModel.date\" name=\"date\">\n      </mat-form-field>\n    \n      <mat-form-field>\n        <input matInput placeholder=\"Uhrzeit\" type=\"time\" required [(ngModel)]=\"newGdModel.time\" name=\"time\">\n      </mat-form-field>\n\n      <mat-form-field>\n        <input matInput placeholder=\"Anwesenheit\" type=\"time\" required [(ngModel)]=\"newGdModel.presence\" name=\"presence\">\n      </mat-form-field>\n\n      <mat-form-field>\n        <input matInput placeholder=\"Ort\" [(ngModel)]=\"newGdModel.location\" name=\"location\">\n      </mat-form-field>\n\n      <mat-form-field>\n        <input matInput placeholder=\"Probe\" type=\"datetime\" [(ngModel)]=\"newGdModel.trial\" name=\"trial\">\n      </mat-form-field>\n\n      <button mat-raised-button color=\"accent\" type=\"submit\">Hinzufügen</button>\n\n    </form>\n  </mat-tab>\n  <mat-tab label=\"Plan\" >\n    <form class=\"form\" (ngSubmit)=\"newPlan()\" #gdForm=\"ngForm\"> \n\n    \n      <mat-form-field>\n        <input matInput placeholder=\"Von\" type=\"date\" required [(ngModel)]=\"newPlanModel.start\" name=\"start\">\n      </mat-form-field>\n    \n      <mat-form-field>\n        <input matInput placeholder=\"Bis\" type=\"date\" required [(ngModel)]=\"newPlanModel.end\" name=\"end\">\n      </mat-form-field>\n\n      <button mat-raised-button color=\"accent\" type=\"submit\">Neuer Miniplan</button>\n\n    </form>\n  </mat-tab>\n</mat-tab-group>"

/***/ }),

/***/ "./src/app/new-modal/new-modal.component.less":
/*!****************************************************!*\
  !*** ./src/app/new-modal/new-modal.component.less ***!
  \****************************************************/
/*! no static exports found */
/***/ (function(module, exports) {

module.exports = ".form {\n  width: calc(100% - 80px);\n  padding: 20px;\n  margin: 20px auto;\n  display: -webkit-box;\n  display: flex;\n  flex-wrap: wrap;\n}\n.form > * {\n  width: 100%;\n}\n.form [type=\"submit\"] {\n  width: auto;\n}\n\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9idWlsZHMvam9uaW9nZXJnL21pbmlzLWNsaWVudC9zcmMvYXBwL25ldy1tb2RhbC9uZXctbW9kYWwuY29tcG9uZW50Lmxlc3MiLCJzcmMvYXBwL25ldy1tb2RhbC9uZXctbW9kYWwuY29tcG9uZW50Lmxlc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSx3QkFBQTtFQUNBLGFBQUE7RUFDQSxpQkFBQTtFQUNBLG9CQUFBO0VBQUEsYUFBQTtFQUNBLGVBQUE7QUNDSjtBRENJO0VBQ0ksV0FBQTtBQ0NSO0FEVEE7RUFZUSxXQUFBO0FDQVIiLCJmaWxlIjoic3JjL2FwcC9uZXctbW9kYWwvbmV3LW1vZGFsLmNvbXBvbmVudC5sZXNzIiwic291cmNlc0NvbnRlbnQiOlsiLmZvcm17XG4gICAgd2lkdGg6IH5cImNhbGMoMTAwJSAtIDgwcHgpXCI7XG4gICAgcGFkZGluZzogMjBweDtcbiAgICBtYXJnaW46IDIwcHggYXV0bztcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGZsZXgtd3JhcDogd3JhcDtcblxuICAgICYgPiAqe1xuICAgICAgICB3aWR0aDogMTAwJTtcbiAgICB9XG5cbiAgICBbdHlwZT1cInN1Ym1pdFwiXXtcbiAgICAgICAgd2lkdGg6IGF1dG87XG4gICAgfVxuXG4gICAgLmZvcm0tZXJyb3J7XG4gICAgfVxufSIsIi5mb3JtIHtcbiAgd2lkdGg6IGNhbGMoMTAwJSAtIDgwcHgpO1xuICBwYWRkaW5nOiAyMHB4O1xuICBtYXJnaW46IDIwcHggYXV0bztcbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC13cmFwOiB3cmFwO1xufVxuLmZvcm0gPiAqIHtcbiAgd2lkdGg6IDEwMCU7XG59XG4uZm9ybSBbdHlwZT1cInN1Ym1pdFwiXSB7XG4gIHdpZHRoOiBhdXRvO1xufVxuIl19 */"

/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NewModalComponent", function() { return NewModalComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js");
/* harmony import */ var _new_entries_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../new-entries.service */ "./src/app/new-entries.service.ts");
/* harmony import */ var _login_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../login.service */ "./src/app/login.service.ts");
/* harmony import */ var _gruppen_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../gruppen.service */ "./src/app/gruppen.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};





var NewModalComponent = /** @class */ (function () {
    function NewModalComponent(dialogRef, newEntriesService, loginService, groupService) {
        this.dialogRef = dialogRef;
        this.newEntriesService = newEntriesService;
        this.loginService = loginService;
        this.groupService = groupService;
        this.newGdModel = {};
        this.newPlanModel = {};
    }
    NewModalComponent.prototype.ngOnInit = function () {
    };
    NewModalComponent.prototype.newPlan = function () {
        var _this = this;
        this.newEntriesService.newPlan(this.newPlanModel.start, this.newPlanModel.end, this.loginService).then(function (response) {
            _this.dialogRef.close({ type: "plan", id: response.id });
        });
    };
    NewModalComponent.prototype.newGd = function () {
        var _this = this;
        this.newGdModel.group = this.groupService.currentGroup;
        console.log(this.newGdModel);
        this.newEntriesService.newGd(this.newGdModel, this.loginService).then(function (response) {
            _this.dialogRef.close({ type: "gd", data: { model: _this.newGdModel, id: response.id }, });
        });
    };
    NewModalComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'mini-new-modal',
            template: __webpack_require__(/*! ./new-modal.component.html */ "./src/app/new-modal/new-modal.component.html"),
            providers: [_new_entries_service__WEBPACK_IMPORTED_MODULE_2__["NewEntriesService"], _login_service__WEBPACK_IMPORTED_MODULE_3__["LoginService"], _gruppen_service__WEBPACK_IMPORTED_MODULE_4__["GruppenService"]],
            styles: [__webpack_require__(/*! ./new-modal.component.less */ "./src/app/new-modal/new-modal.component.less")]
        }),
        __metadata("design:paramtypes", [_angular_material__WEBPACK_IMPORTED_MODULE_1__["MatDialogRef"], _new_entries_service__WEBPACK_IMPORTED_MODULE_2__["NewEntriesService"], _login_service__WEBPACK_IMPORTED_MODULE_3__["LoginService"], _gruppen_service__WEBPACK_IMPORTED_MODULE_4__["GruppenService"]])
    ], NewModalComponent);
    return NewModalComponent;
}());



/***/ }),

/***/ "./src/app/utils/utility.ts":
/*!**********************************!*\
  !*** ./src/app/utils/utility.ts ***!
  \**********************************/
/*! exports provided: ArrayUtils, getRegistered, getRegisteredIndex */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ArrayUtils", function() { return ArrayUtils; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getRegistered", function() { return getRegistered; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getRegisteredIndex", function() { return getRegisteredIndex; });
var ArrayUtils = /** @class */ (function () {
    function ArrayUtils() {
    }
    ArrayUtils.includesGD = function (id, array) {
        for (var i = 0; i < array.length - 1; i++) {
            if (array[i].id == id) {
                return array[i];
            }
        }
        return null;
    };
    ArrayUtils.getGottesdienst = function (gds, id) {
        for (var i = 0; i < gds.length; i++) {
            if (gds[i].id == id) {
                return gds[i];
            }
        }
        return null;
    };
    return ArrayUtils;
}());

function getRegistered(mini, gdID) {
    for (var i = 0; i < mini.registered.length; i++) {
        if (mini.registered[i].id == gdID) {
            return mini.registered[i].value == 0 ? -1 : 1;
        }
    }
    return 0;
}
function getRegisteredIndex(mini, gdID) {
    for (var i = 0; i < mini.registered.length; i++) {
        if (mini.registered[i].id == gdID) {
            return i;
        }
    }
    return -1;
}


/***/ }),

/***/ "./src/environments/environment.ts":
/*!*****************************************!*\
  !*** ./src/environments/environment.ts ***!
  \*****************************************/
/*! exports provided: environment, API_URL, getApiURL */
/***/ (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; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "API_URL", function() { return API_URL; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getApiURL", function() { return getApiURL; });
// The file contents for the current environment will overwrite these during build.
// The build system defaults to the dev environment which uses `environment.ts`, but if you do
// `ng build --env=prod` then `environment.prod.ts` will be used instead.
// The list of which env maps to which file can be found in `.angular-cli.json`.
var environment = {
    production: false
};
var API_URL = "https://minis.walamana.de/api";
function getApiURL() {
    return API_URL;
}


/***/ }),

/***/ "./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/fesm5/core.js");
/* harmony import */ var _angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser-dynamic */ "./node_modules/@angular/platform-browser-dynamic/fesm5/platform-browser-dynamic.js");
/* harmony import */ var _app_app_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./app/app.module */ "./src/app/app.module.ts");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var hammerjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! hammerjs */ "./node_modules/hammerjs/hammer.js");
/* harmony import */ var hammerjs__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(hammerjs__WEBPACK_IMPORTED_MODULE_4__);





if (_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].production) {
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["enableProdMode"])();
}
Object(_angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_1__["platformBrowserDynamic"])().bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_2__["AppModule"]);


/***/ }),

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

module.exports = __webpack_require__(/*! /builds/joniogerg/minis-client/src/main.ts */"./src/main.ts");


/***/ })

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